Class: Telnyx::Models::WirelessRetrieveRegionsResponse::Data
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::WirelessRetrieveRegionsResponse::Data
- Defined in:
- lib/telnyx/models/wireless_retrieve_regions_response.rb
Instance Attribute Summary collapse
-
#code ⇒ String
The unique code of the region.
-
#inserted_at ⇒ Time?
Timestamp when the region was inserted.
-
#name ⇒ String
The name of the region.
-
#updated_at ⇒ Time?
Timestamp when the region was last updated.
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:, name:, inserted_at: nil, updated_at: nil) ⇒ Object
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 |
# File 'lib/telnyx/models/wireless_retrieve_regions_response.rb', line 16 class Data < Telnyx::Internal::Type::BaseModel # @!attribute code # The unique code of the region. # # @return [String] required :code, String # @!attribute name # The name of the region. # # @return [String] required :name, String # @!attribute inserted_at # Timestamp when the region was inserted. # # @return [Time, nil] optional :inserted_at, Time # @!attribute updated_at # Timestamp when the region was last updated. # # @return [Time, nil] optional :updated_at, Time # @!method initialize(code:, name:, inserted_at: nil, updated_at: nil) # @param code [String] The unique code of the region. # # @param name [String] The name of the region. # # @param inserted_at [Time] Timestamp when the region was inserted. # # @param updated_at [Time] Timestamp when the region was last updated. end |
Instance Attribute Details
#code ⇒ String
The unique code of the region.
21 |
# File 'lib/telnyx/models/wireless_retrieve_regions_response.rb', line 21 required :code, String |
#inserted_at ⇒ Time?
Timestamp when the region was inserted.
33 |
# File 'lib/telnyx/models/wireless_retrieve_regions_response.rb', line 33 optional :inserted_at, Time |
#name ⇒ String
The name of the region.
27 |
# File 'lib/telnyx/models/wireless_retrieve_regions_response.rb', line 27 required :name, String |
#updated_at ⇒ Time?
Timestamp when the region was last updated.
39 |
# File 'lib/telnyx/models/wireless_retrieve_regions_response.rb', line 39 optional :updated_at, Time |