Class: Telnyx::Models::Porting::LoaConfigurationUpdateParams::Address

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/telnyx/models/porting/loa_configuration_update_params.rb

Instance Attribute Summary collapse

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(id:, address:, company_name:, contact:, logo:, name:, request_options: {}) ⇒ Object

Parameters:



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
106
107
108
109
110
111
112
# File 'lib/telnyx/models/porting/loa_configuration_update_params.rb', line 61

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

#cityString

The locality of the company

Returns:

  • (String)


66
# File 'lib/telnyx/models/porting/loa_configuration_update_params.rb', line 66

required :city, String

#country_codeString

The country code of the company

Returns:

  • (String)


72
# File 'lib/telnyx/models/porting/loa_configuration_update_params.rb', line 72

required :country_code, String

#extended_addressString?

The extended address of the company

Returns:

  • (String, nil)


96
# File 'lib/telnyx/models/porting/loa_configuration_update_params.rb', line 96

optional :extended_address, String

#stateString

The administrative area of the company

Returns:

  • (String)


78
# File 'lib/telnyx/models/porting/loa_configuration_update_params.rb', line 78

required :state, String

#street_addressString

The street address of the company

Returns:

  • (String)


84
# File 'lib/telnyx/models/porting/loa_configuration_update_params.rb', line 84

required :street_address, String

#zip_codeString

The postal code of the company

Returns:

  • (String)


90
# File 'lib/telnyx/models/porting/loa_configuration_update_params.rb', line 90

required :zip_code, String