Class: Telnyx::Models::RegionListResponse::Data
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::RegionListResponse::Data
- Defined in:
- lib/telnyx/models/region_list_response.rb
Instance Attribute Summary collapse
-
#code ⇒ String?
A code for the region.
-
#name ⇒ String?
A name for the region.
-
#supported_interfaces ⇒ Array<String>?
List of interface types supported in this region.
Instance Method Summary collapse
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(code: nil, created_at: nil, name: nil, record_type: nil, supported_interfaces: nil, updated_at: nil) ⇒ Object
15 16 17 18 19 20 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 65 66 |
# File 'lib/telnyx/models/region_list_response.rb', line 15 class Data < Telnyx::Internal::Type::BaseModel # @!attribute code # A code for the region. # # @return [String, nil] optional :code, String # @!attribute name # A name for the region. # # @return [String, nil] optional :name, String # @!attribute supported_interfaces # List of interface types supported in this region. # # @return [Array<String>, nil] optional :supported_interfaces, Telnyx::Internal::Type::ArrayOf[String] response_only do # @!attribute created_at # ISO 8601 formatted date-time indicating when the resource was created. # # @return [String, nil] optional :created_at, String # @!attribute record_type # Identifies the type of the resource. # # @return [String, nil] optional :record_type, String # @!attribute updated_at # ISO 8601 formatted date-time indicating when the resource was updated. # # @return [String, nil] optional :updated_at, String end # @!method initialize(code: nil, created_at: nil, name: nil, record_type: nil, supported_interfaces: nil, updated_at: nil) # @param code [String] A code for the region. # # @param created_at [String] ISO 8601 formatted date-time indicating when the resource was created. # # @param name [String] A name for the region. # # @param record_type [String] Identifies the type of the resource. # # @param supported_interfaces [Array<String>] List of interface types supported in this region. # # @param updated_at [String] ISO 8601 formatted date-time indicating when the resource was updated. end |
Instance Attribute Details
#code ⇒ String?
A code for the region.
20 |
# File 'lib/telnyx/models/region_list_response.rb', line 20 optional :code, String |
#name ⇒ String?
A name for the region.
26 |
# File 'lib/telnyx/models/region_list_response.rb', line 26 optional :name, String |