Class: Telnyx::Models::Porting::PortingLoaConfiguration::Address

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/telnyx/models/porting/porting_loa_configuration.rb,
sig/telnyx/models/porting/porting_loa_configuration.rbs

Overview

See Also:

  • Telnyx::Models::Porting::PortingLoaConfiguration#address

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

#initializeObject



128
# File 'sig/telnyx/models/porting/porting_loa_configuration.rbs', line 128

def initialize: (

Instance Attribute Details

#cityString?

The locality of the company

Parameters:

  • (String)

Returns:

  • (String, nil)


97
# File 'lib/telnyx/models/porting/porting_loa_configuration.rb', line 97

optional :city, String

#country_codeString?

The country code of the company

Parameters:

  • (String)

Returns:

  • (String, nil)


103
# File 'lib/telnyx/models/porting/porting_loa_configuration.rb', line 103

optional :country_code, String

#extended_addressString?

The extended address of the company

Parameters:

  • (String)

Returns:

  • (String, nil)


109
# File 'lib/telnyx/models/porting/porting_loa_configuration.rb', line 109

optional :extended_address, String

#stateString?

The administrative area of the company

Parameters:

  • (String)

Returns:

  • (String, nil)


115
# File 'lib/telnyx/models/porting/porting_loa_configuration.rb', line 115

optional :state, String

#street_addressString?

The street address of the company

Parameters:

  • (String)

Returns:

  • (String, nil)


121
# File 'lib/telnyx/models/porting/porting_loa_configuration.rb', line 121

optional :street_address, String

#zip_codeString?

The postal code of the company

Parameters:

  • (String)

Returns:

  • (String, nil)


127
# File 'lib/telnyx/models/porting/porting_loa_configuration.rb', line 127

optional :zip_code, String

Instance Method Details

#to_hash{

Returns:

  • ({)


137
# File 'sig/telnyx/models/porting/porting_loa_configuration.rbs', line 137

def to_hash: -> {