Class: Telnyx::Models::SubNumberOrder
Defined Under Namespace
Modules: PhoneNumberType, Status
Instance Attribute Summary collapse
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_count: nil, record_type: nil, regulatory_requirements: nil, requirements_met: nil, status: nil, updated_at: nil, user_id: nil) ⇒ Object
constructor
-
#is_block_sub_number_order ⇒ Boolean
readonly
-
#order_request_id ⇒ String
readonly
-
#phone_numbers_count ⇒ Integer
readonly
-
#record_type ⇒ String
readonly
-
#requirements_met ⇒ Boolean
readonly
-
#status ⇒ Object
readonly
-
#to_hash ⇒ {
-
#updated_at ⇒ Time
readonly
==, #==, #[], 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
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
#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_count: nil, record_type: nil, regulatory_requirements: nil, requirements_met: nil, status: nil, updated_at: nil, user_id: nil) ⇒ Object
|
# File 'lib/telnyx/models/sub_number_order.rb', line 86
|
Instance Attribute Details
#country_code ⇒ String?
Returns the value of attribute country_code.
46
47
48
|
# File 'sig/telnyx/models/sub_number_order.rbs', line 46
def country_code
@country_code
end
|
#created_at ⇒ Time?
Returns the value of attribute created_at.
50
51
52
|
# File 'sig/telnyx/models/sub_number_order.rbs', line 50
def created_at
@created_at
end
|
#customer_reference ⇒ String?
A customer reference string for customer look ups.
10
|
# File 'lib/telnyx/models/sub_number_order.rb', line 10
optional :customer_reference, String
|
#id ⇒ String?
Returns the value of attribute id.
42
43
44
|
# File 'sig/telnyx/models/sub_number_order.rbs', line 42
def id
@id
end
|
#is_block_sub_number_order ⇒ Boolean?
Returns the value of attribute is_block_sub_number_order.
54
55
56
|
# File 'sig/telnyx/models/sub_number_order.rbs', line 54
def is_block_sub_number_order
@is_block_sub_number_order
end
|
#order_request_id ⇒ String?
Returns the value of attribute order_request_id.
58
59
60
|
# File 'sig/telnyx/models/sub_number_order.rbs', line 58
def order_request_id
@order_request_id
end
|
#phone_number_type ⇒ Symbol, ...
15
|
# File 'lib/telnyx/models/sub_number_order.rb', line 15
optional :phone_number_type, enum: -> { Telnyx::SubNumberOrder::PhoneNumberType }
|
#phone_numbers_count ⇒ Integer?
Returns the value of attribute phone_numbers_count.
62
63
64
|
# File 'sig/telnyx/models/sub_number_order.rbs', line 62
def phone_numbers_count
@phone_numbers_count
end
|
#record_type ⇒ String?
Returns the value of attribute record_type.
66
67
68
|
# File 'sig/telnyx/models/sub_number_order.rbs', line 66
def record_type
@record_type
end
|
20
21
|
# File 'lib/telnyx/models/sub_number_order.rb', line 20
optional :regulatory_requirements,
-> { Telnyx::Internal::Type::ArrayOf[Telnyx::SubNumberOrderRegulatoryRequirement] }
|
#requirements_met ⇒ Boolean?
Returns the value of attribute requirements_met.
70
71
72
|
# File 'sig/telnyx/models/sub_number_order.rbs', line 70
def requirements_met
@requirements_met
end
|
#status ⇒ Telnyx::Models::SubNumberOrder::status?
Returns the value of attribute status.
74
75
76
|
# File 'sig/telnyx/models/sub_number_order.rbs', line 74
def status
@status
end
|
#updated_at ⇒ Time?
Returns the value of attribute updated_at.
80
81
82
|
# File 'sig/telnyx/models/sub_number_order.rbs', line 80
def updated_at
@updated_at
end
|
#user_id ⇒ String?
26
|
# File 'lib/telnyx/models/sub_number_order.rb', line 26
optional :user_id, String
|
Class Method Details
.values ⇒ Array<Symbol>
|
# File 'lib/telnyx/models/sub_number_order.rb', line 126
|
Instance Method Details
#country_code= ⇒ String
48
|
# File 'sig/telnyx/models/sub_number_order.rbs', line 48
def country_code=: (String) -> String
|
#created_at= ⇒ Time
52
|
# File 'sig/telnyx/models/sub_number_order.rbs', line 52
def created_at=: (Time) -> Time
|
#id= ⇒ String
44
|
# File 'sig/telnyx/models/sub_number_order.rbs', line 44
def id=: (String) -> String
|
#is_block_sub_number_order= ⇒ Boolean
56
|
# File 'sig/telnyx/models/sub_number_order.rbs', line 56
def is_block_sub_number_order=: (bool) -> bool
|
#order_request_id= ⇒ String
60
|
# File 'sig/telnyx/models/sub_number_order.rbs', line 60
def order_request_id=: (String) -> String
|
#phone_numbers_count= ⇒ Integer
64
|
# File 'sig/telnyx/models/sub_number_order.rbs', line 64
def phone_numbers_count=: (Integer) -> Integer
|
#record_type= ⇒ String
68
|
# File 'sig/telnyx/models/sub_number_order.rbs', line 68
def record_type=: (String) -> String
|
#requirements_met= ⇒ Boolean
72
|
# File 'sig/telnyx/models/sub_number_order.rbs', line 72
def requirements_met=: (bool) -> bool
|
#status= ⇒ Object
76
|
# File 'sig/telnyx/models/sub_number_order.rbs', line 76
def status=: (
|
#to_hash ⇒ {
101
|
# File 'sig/telnyx/models/sub_number_order.rbs', line 101
def to_hash: -> {
|
#updated_at= ⇒ Time
82
|
# File 'sig/telnyx/models/sub_number_order.rbs', line 82
def updated_at=: (Time) -> Time
|