Class: Telnyx::Models::NumbersSubNumberOrder
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::NumbersSubNumberOrder
- Defined in:
- lib/telnyx/models/numbers_sub_number_order.rb,
sig/telnyx/models/numbers_sub_number_order.rbs
Defined Under Namespace
Modules: PhoneNumberType, Status Classes: PhoneNumber
Instance Attribute Summary collapse
-
#country_code ⇒ String?
readonly
Returns the value of attribute country_code.
-
#created_at ⇒ Time?
readonly
Returns the value of attribute created_at.
-
#customer_reference ⇒ String?
A customer reference string for customer look ups.
-
#id ⇒ String?
readonly
Returns the value of attribute id.
-
#is_block_sub_number_order ⇒ Boolean?
readonly
Returns the value of attribute is_block_sub_number_order.
-
#order_request_id ⇒ String?
readonly
Returns the value of attribute order_request_id.
- #phone_number_type ⇒ Symbol, ...
-
#phone_numbers ⇒ ::Array[Telnyx::NumbersSubNumberOrder::PhoneNumber]?
readonly
Returns the value of attribute phone_numbers.
-
#phone_numbers_count ⇒ Integer?
readonly
Returns the value of attribute phone_numbers_count.
-
#record_type ⇒ String?
readonly
Returns the value of attribute record_type.
- #regulatory_requirements ⇒ Array<Telnyx::Models::SubNumberOrderRegulatoryRequirement>?
-
#requirements_met ⇒ Boolean?
readonly
Returns the value of attribute requirements_met.
-
#status ⇒ Telnyx::Models::NumbersSubNumberOrder::status?
readonly
Returns the value of attribute status.
-
#updated_at ⇒ Time?
readonly
Returns the value of attribute updated_at.
- #user_id ⇒ String?
Class Method Summary collapse
Instance Method Summary collapse
- #country_code ⇒ String readonly
- #created_at ⇒ Time readonly
- #id ⇒ String readonly
-
#initialize(id: nil, country_code: nil, created_at: nil, customer_reference: nil, is_block_sub_number_order: nil, order_request_id: nil, phone_number_type: nil, phone_numbers: nil, phone_numbers_count: nil, record_type: nil, regulatory_requirements: nil, requirements_met: nil, status: nil, updated_at: nil, user_id: nil) ⇒ Object
constructor
Some parameter documentations has been truncated, see NumbersSubNumberOrder for more details.
- #is_block_sub_number_order ⇒ Boolean readonly
- #order_request_id ⇒ String readonly
- #phone_numbers ⇒ Object readonly
- #phone_numbers_count ⇒ Integer readonly
- #record_type ⇒ String readonly
- #requirements_met ⇒ Boolean readonly
- #status ⇒ Object readonly
- #to_hash ⇒ {
- #updated_at ⇒ Time readonly
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
#initialize(id: nil, country_code: nil, created_at: nil, customer_reference: nil, is_block_sub_number_order: nil, order_request_id: nil, phone_number_type: nil, phone_numbers: nil, phone_numbers_count: nil, record_type: nil, regulatory_requirements: nil, requirements_met: nil, status: nil, updated_at: nil, user_id: nil) ⇒ Object
Some parameter documentations has been truncated, see Telnyx::Models::NumbersSubNumberOrder for more details.
|
|
# File 'lib/telnyx/models/numbers_sub_number_order.rb', line 95
|
Instance Attribute Details
#country_code ⇒ String? (readonly)
Returns the value of attribute country_code.
47 48 49 |
# File 'sig/telnyx/models/numbers_sub_number_order.rbs', line 47 def country_code @country_code end |
#created_at ⇒ Time? (readonly)
Returns the value of attribute created_at.
51 52 53 |
# File 'sig/telnyx/models/numbers_sub_number_order.rbs', line 51 def created_at @created_at end |
#customer_reference ⇒ String?
A customer reference string for customer look ups.
10 |
# File 'lib/telnyx/models/numbers_sub_number_order.rb', line 10 optional :customer_reference, String |
#id ⇒ String? (readonly)
Returns the value of attribute id.
43 44 45 |
# File 'sig/telnyx/models/numbers_sub_number_order.rbs', line 43 def id @id end |
#is_block_sub_number_order ⇒ Boolean? (readonly)
Returns the value of attribute is_block_sub_number_order.
55 56 57 |
# File 'sig/telnyx/models/numbers_sub_number_order.rbs', line 55 def is_block_sub_number_order @is_block_sub_number_order end |
#order_request_id ⇒ String? (readonly)
Returns the value of attribute order_request_id.
59 60 61 |
# File 'sig/telnyx/models/numbers_sub_number_order.rbs', line 59 def order_request_id @order_request_id end |
#phone_number_type ⇒ Symbol, ...
15 |
# File 'lib/telnyx/models/numbers_sub_number_order.rb', line 15 optional :phone_number_type, enum: -> { Telnyx::NumbersSubNumberOrder::PhoneNumberType } |
#phone_numbers ⇒ ::Array[Telnyx::NumbersSubNumberOrder::PhoneNumber]? (readonly)
Returns the value of attribute phone_numbers.
63 64 65 |
# File 'sig/telnyx/models/numbers_sub_number_order.rbs', line 63 def phone_numbers @phone_numbers end |
#phone_numbers_count ⇒ Integer? (readonly)
Returns the value of attribute phone_numbers_count.
69 70 71 |
# File 'sig/telnyx/models/numbers_sub_number_order.rbs', line 69 def phone_numbers_count @phone_numbers_count end |
#record_type ⇒ String? (readonly)
Returns the value of attribute record_type.
73 74 75 |
# File 'sig/telnyx/models/numbers_sub_number_order.rbs', line 73 def record_type @record_type end |
#regulatory_requirements ⇒ Array<Telnyx::Models::SubNumberOrderRegulatoryRequirement>?
20 21 |
# File 'lib/telnyx/models/numbers_sub_number_order.rb', line 20 optional :regulatory_requirements, -> { Telnyx::Internal::Type::ArrayOf[Telnyx::SubNumberOrderRegulatoryRequirement] } |
#requirements_met ⇒ Boolean? (readonly)
Returns the value of attribute requirements_met.
77 78 79 |
# File 'sig/telnyx/models/numbers_sub_number_order.rbs', line 77 def requirements_met @requirements_met end |
#status ⇒ Telnyx::Models::NumbersSubNumberOrder::status? (readonly)
Returns the value of attribute status.
81 82 83 |
# File 'sig/telnyx/models/numbers_sub_number_order.rbs', line 81 def status @status end |
#updated_at ⇒ Time? (readonly)
Returns the value of attribute updated_at.
87 88 89 |
# File 'sig/telnyx/models/numbers_sub_number_order.rbs', line 87 def updated_at @updated_at end |
#user_id ⇒ String?
26 |
# File 'lib/telnyx/models/numbers_sub_number_order.rb', line 26 optional :user_id, String |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/telnyx/models/numbers_sub_number_order.rb', line 140
|
Instance Method Details
#country_code= ⇒ String (readonly)
49 |
# File 'sig/telnyx/models/numbers_sub_number_order.rbs', line 49
def country_code=: (String) -> String
|
#created_at= ⇒ Time (readonly)
53 |
# File 'sig/telnyx/models/numbers_sub_number_order.rbs', line 53
def created_at=: (Time) -> Time
|
#id= ⇒ String (readonly)
45 |
# File 'sig/telnyx/models/numbers_sub_number_order.rbs', line 45
def id=: (String) -> String
|
#is_block_sub_number_order= ⇒ Boolean (readonly)
57 |
# File 'sig/telnyx/models/numbers_sub_number_order.rbs', line 57
def is_block_sub_number_order=: (bool) -> bool
|
#order_request_id= ⇒ String (readonly)
61 |
# File 'sig/telnyx/models/numbers_sub_number_order.rbs', line 61
def order_request_id=: (String) -> String
|
#phone_numbers= ⇒ Object (readonly)
65 |
# File 'sig/telnyx/models/numbers_sub_number_order.rbs', line 65
def phone_numbers=: (
|
#phone_numbers_count= ⇒ Integer (readonly)
71 |
# File 'sig/telnyx/models/numbers_sub_number_order.rbs', line 71
def phone_numbers_count=: (Integer) -> Integer
|
#record_type= ⇒ String (readonly)
75 |
# File 'sig/telnyx/models/numbers_sub_number_order.rbs', line 75
def record_type=: (String) -> String
|
#requirements_met= ⇒ Boolean (readonly)
79 |
# File 'sig/telnyx/models/numbers_sub_number_order.rbs', line 79
def requirements_met=: (bool) -> bool
|
#status= ⇒ Object (readonly)
83 |
# File 'sig/telnyx/models/numbers_sub_number_order.rbs', line 83
def status=: (
|
#to_hash ⇒ {
109 |
# File 'sig/telnyx/models/numbers_sub_number_order.rbs', line 109
def to_hash: -> {
|
#updated_at= ⇒ Time (readonly)
89 |
# File 'sig/telnyx/models/numbers_sub_number_order.rbs', line 89
def updated_at=: (Time) -> Time
|