Class: Telnyx::Models::Porting::LoaConfigurationPreview0Params::Address
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::Porting::LoaConfigurationPreview0Params::Address
- Defined in:
- lib/telnyx/models/porting/loa_configuration_preview_0_params.rb
Instance Attribute Summary collapse
-
#city ⇒ String
The locality of the company.
-
#country_code ⇒ String
The country code of the company.
-
#extended_address ⇒ String?
The extended address of the company.
-
#state ⇒ String
The administrative area of the company.
-
#street_address ⇒ String
The street address of the company.
-
#zip_code ⇒ String
The postal code of the company.
Instance Method Summary collapse
- #initialize(address:, company_name:, contact:, logo:, name:, request_options: {}) ⇒ Object constructor
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(address:, company_name:, contact:, logo:, name:, request_options: {}) ⇒ Object
54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 |
# File 'lib/telnyx/models/porting/loa_configuration_preview_0_params.rb', line 54 class Address < Telnyx::Internal::Type::BaseModel # @!attribute city # The locality of the company # # @return [String] required :city, String # @!attribute country_code # The country code of the company # # @return [String] required :country_code, String # @!attribute state # The administrative area of the company # # @return [String] required :state, String # @!attribute street_address # The street address of the company # # @return [String] required :street_address, String # @!attribute zip_code # The postal code of the company # # @return [String] required :zip_code, String # @!attribute extended_address # The extended address of the company # # @return [String, nil] optional :extended_address, String # @!method initialize(city:, country_code:, state:, street_address:, zip_code:, extended_address: nil) # The address of the company. # # @param city [String] The locality of the company # # @param country_code [String] The country code of the company # # @param state [String] The administrative area of the company # # @param street_address [String] The street address of the company # # @param zip_code [String] The postal code of the company # # @param extended_address [String] The extended address of the company end |
Instance Attribute Details
#city ⇒ String
The locality of the company
59 |
# File 'lib/telnyx/models/porting/loa_configuration_preview_0_params.rb', line 59 required :city, String |
#country_code ⇒ String
The country code of the company
65 |
# File 'lib/telnyx/models/porting/loa_configuration_preview_0_params.rb', line 65 required :country_code, String |
#extended_address ⇒ String?
The extended address of the company
89 |
# File 'lib/telnyx/models/porting/loa_configuration_preview_0_params.rb', line 89 optional :extended_address, String |
#state ⇒ String
The administrative area of the company
71 |
# File 'lib/telnyx/models/porting/loa_configuration_preview_0_params.rb', line 71 required :state, String |
#street_address ⇒ String
The street address of the company
77 |
# File 'lib/telnyx/models/porting/loa_configuration_preview_0_params.rb', line 77 required :street_address, String |
#zip_code ⇒ String
The postal code of the company
83 |
# File 'lib/telnyx/models/porting/loa_configuration_preview_0_params.rb', line 83 required :zip_code, String |