Class: Telnyx::Models::PhoneNumberBlocks::Job::SuccessfulOperation

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/telnyx/models/phone_number_blocks/job.rb,
sig/telnyx/models/phone_number_blocks/job.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

#initializeSuccessfulOperation



145
# File 'sig/telnyx/models/phone_number_blocks/job.rbs', line 145

def initialize: (?id: String, ?phone_number: String) -> void

Instance Attribute Details

#idString?

The phone number's ID



133
# File 'lib/telnyx/models/phone_number_blocks/job.rb', line 133

optional :id, String

#phone_numberString?

The phone number in e164 format.



139
# File 'lib/telnyx/models/phone_number_blocks/job.rb', line 139

optional :phone_number, String

Instance Method Details

#to_hash{ id: String, phone_number: String }



147
# File 'sig/telnyx/models/phone_number_blocks/job.rbs', line 147

def to_hash: -> { id: String, phone_number: String }