Class: Telnyx::Models::WirelessBlocklistValueListResponse::Data::Country
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::WirelessBlocklistValueListResponse::Data::Country
- Defined in:
- lib/telnyx/models/wireless_blocklist_value_list_response.rb,
sig/telnyx/models/wireless_blocklist_value_list_response.rbs
Instance Attribute Summary collapse
-
#country_code ⇒ String
ISO 3166-1 Alpha-2 Country Code.
Instance Method Summary collapse
-
#initialize ⇒ Country
constructor
A new instance of Country.
- #to_hash ⇒ { country_code: String }
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 ⇒ Country
Returns a new instance of Country.
30 |
# File 'sig/telnyx/models/wireless_blocklist_value_list_response.rbs', line 30
def initialize: (country_code: String) -> void
|
Instance Attribute Details
#country_code ⇒ String
ISO 3166-1 Alpha-2 Country Code.
30 |
# File 'lib/telnyx/models/wireless_blocklist_value_list_response.rb', line 30 required :country_code, String |
Instance Method Details
#to_hash ⇒ { country_code: String }
32 |
# File 'sig/telnyx/models/wireless_blocklist_value_list_response.rbs', line 32
def to_hash: -> { country_code: String }
|