Class: Telnyx::Models::PhysicalAddress
Instance Attribute Summary collapse
Instance Method Summary
collapse
==, #==, #[], 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
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(administrative_area:, city:, country:, postal_code:, street_address:, extended_address: nil) ⇒ Object
|
# File 'lib/telnyx/models/physical_address.rb', line 38
|
Instance Attribute Details
#administrative_area ⇒ String
State or province code (e.g. IL, ON).
10
|
# File 'lib/telnyx/models/physical_address.rb', line 10
required :administrative_area, String
|
#city ⇒ String
15
|
# File 'lib/telnyx/models/physical_address.rb', line 15
required :city, String
|
#country ⇒ String
ISO 3166-1 alpha-2 code (currently US or CA).
21
|
# File 'lib/telnyx/models/physical_address.rb', line 21
required :country, String
|
#extended_address ⇒ String?
36
|
# File 'lib/telnyx/models/physical_address.rb', line 36
optional :extended_address, String, nil?: true
|
#postal_code ⇒ String
26
|
# File 'lib/telnyx/models/physical_address.rb', line 26
required :postal_code, String
|
#street_address ⇒ String
31
|
# File 'lib/telnyx/models/physical_address.rb', line 31
required :street_address, String
|
Instance Method Details
#to_hash ⇒ {
35
|
# File 'sig/telnyx/models/physical_address.rbs', line 35
def to_hash: -> {
|