Class: Telnyx::Models::ListRetrieveByZoneResponse::Data
Defined Under Namespace
Classes: Number
Instance Attribute Summary collapse
Instance Method Summary
collapse
==, #==, #[], 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(data: nil, meta: nil) ⇒ Object
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
|
# File 'lib/telnyx/models/list_retrieve_by_zone_response.rb', line 21
class Data < Telnyx::Internal::Type::BaseModel
optional :number_of_channels, Integer
optional :numbers,
-> { Telnyx::Internal::Type::ArrayOf[Telnyx::Models::ListRetrieveByZoneResponse::Data::Number] }
optional :zone_id, String
optional :zone_name, String
class Number < Telnyx::Internal::Type::BaseModel
optional :country, String
optional :number, String
end
end
|
Instance Attribute Details
#number_of_channels ⇒ Integer?
25
|
# File 'lib/telnyx/models/list_retrieve_by_zone_response.rb', line 25
optional :number_of_channels, Integer
|
30
31
|
# File 'lib/telnyx/models/list_retrieve_by_zone_response.rb', line 30
optional :numbers,
-> { Telnyx::Internal::Type::ArrayOf[Telnyx::Models::ListRetrieveByZoneResponse::Data::Number] }
|
#zone_id ⇒ String?
36
|
# File 'lib/telnyx/models/list_retrieve_by_zone_response.rb', line 36
optional :zone_id, String
|
#zone_name ⇒ String?
41
|
# File 'lib/telnyx/models/list_retrieve_by_zone_response.rb', line 41
optional :zone_name, String
|
Instance Method Details
#to_hash ⇒ {
64
|
# File 'sig/telnyx/models/list_retrieve_by_zone_response.rbs', line 64
def to_hash: -> {
|