Class: Telnyx::Models::BundlePricing::BillingBundleRetrieveResponse::Data::BundleLimit
Defined Under Namespace
Modules: Direction
Instance Attribute Summary collapse
Instance Method Summary
collapse
-
#initialize(id:, created_at:, metric:, service:, updated_at:, billing_service: nil, country: nil, country_code: nil, country_iso: nil, direction: nil, limit: nil, rate: nil, types: nil) ⇒ Object
constructor
==, #==, #[], 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:, created_at:, metric:, service:, updated_at:, billing_service: nil, country: nil, country_code: nil, country_iso: nil, direction: nil, limit: nil, rate: nil, types: nil) ⇒ Object
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
|
# File 'lib/telnyx/models/bundle_pricing/billing_bundle_retrieve_response.rb', line 83
class BundleLimit < Telnyx::Internal::Type::BaseModel
required :id, String
required :created_at, Date
required :metric, String
required :service, String
required :updated_at, Date
optional :billing_service, String
optional :country, String
optional :country_code, Integer
optional :country_iso, String
optional :direction,
enum: -> { Telnyx::Models::BundlePricing::BillingBundleRetrieveResponse::Data::BundleLimit::Direction }
optional :limit, Integer
optional :rate, String
optional :types, Telnyx::Internal::Type::ArrayOf[String]
module Direction
extend Telnyx::Internal::Type::Enum
INBOUND = :inbound
OUTBOUND = :outbound
end
end
|
Instance Attribute Details
#billing_service ⇒ String?
112
|
# File 'lib/telnyx/models/bundle_pricing/billing_bundle_retrieve_response.rb', line 112
optional :billing_service, String
|
#country ⇒ String?
120
|
# File 'lib/telnyx/models/bundle_pricing/billing_bundle_retrieve_response.rb', line 120
optional :country, String
|
#country_code ⇒ Integer?
125
|
# File 'lib/telnyx/models/bundle_pricing/billing_bundle_retrieve_response.rb', line 125
optional :country_code, Integer
|
#country_iso ⇒ String?
130
|
# File 'lib/telnyx/models/bundle_pricing/billing_bundle_retrieve_response.rb', line 130
optional :country_iso, String
|
#created_at ⇒ Date
92
|
# File 'lib/telnyx/models/bundle_pricing/billing_bundle_retrieve_response.rb', line 92
required :created_at, Date
|
#id ⇒ String
87
|
# File 'lib/telnyx/models/bundle_pricing/billing_bundle_retrieve_response.rb', line 87
required :id, String
|
#limit ⇒ Integer?
142
|
# File 'lib/telnyx/models/bundle_pricing/billing_bundle_retrieve_response.rb', line 142
optional :limit, Integer
|
#metric ⇒ String
97
|
# File 'lib/telnyx/models/bundle_pricing/billing_bundle_retrieve_response.rb', line 97
required :metric, String
|
#rate ⇒ String?
147
|
# File 'lib/telnyx/models/bundle_pricing/billing_bundle_retrieve_response.rb', line 147
optional :rate, String
|
#service ⇒ String
102
|
# File 'lib/telnyx/models/bundle_pricing/billing_bundle_retrieve_response.rb', line 102
required :service, String
|
#types ⇒ Array<String>?
152
|
# File 'lib/telnyx/models/bundle_pricing/billing_bundle_retrieve_response.rb', line 152
optional :types, Telnyx::Internal::Type::ArrayOf[String]
|
#updated_at ⇒ Date
107
|
# File 'lib/telnyx/models/bundle_pricing/billing_bundle_retrieve_response.rb', line 107
required :updated_at, Date
|