Class: Telnyx::Models::DynamicEmergencyAddress
Overview
Defined Under Namespace
Modules: CountryCode, Status
Instance Attribute Summary collapse
Class Method Summary
collapse
Instance Method Summary
collapse
-
#created_at ⇒ String
readonly
-
#id ⇒ String
readonly
-
#initialize(administrative_area:, country_code:, house_number:, locality:, postal_code:, street_name:, id: nil, created_at: nil, extended_address: nil, house_suffix: nil, record_type: nil, sip_geolocation_id: nil, status: nil, street_post_directional: nil, street_pre_directional: nil, street_suffix: nil, updated_at: nil) ⇒ Object
constructor
-
#record_type ⇒ String
readonly
-
#sip_geolocation_id ⇒ String
readonly
-
#status ⇒ Object
readonly
-
#to_hash ⇒ {
-
#updated_at ⇒ String
readonly
==, #==, #[], 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:, country_code:, house_number:, locality:, postal_code:, street_name:, id: nil, created_at: nil, extended_address: nil, house_suffix: nil, record_type: nil, sip_geolocation_id: nil, status: nil, street_post_directional: nil, street_pre_directional: nil, street_suffix: nil, updated_at: nil) ⇒ Object
|
# File 'lib/telnyx/models/dynamic_emergency_address.rb', line 100
|
Instance Attribute Details
#administrative_area ⇒ String
10
|
# File 'lib/telnyx/models/dynamic_emergency_address.rb', line 10
required :administrative_area, String
|
15
|
# File 'lib/telnyx/models/dynamic_emergency_address.rb', line 15
required :country_code, enum: -> { Telnyx::DynamicEmergencyAddress::CountryCode }
|
#created_at ⇒ String?
Returns the value of attribute created_at.
61
62
63
|
# File 'sig/telnyx/models/dynamic_emergency_address.rbs', line 61
def created_at
@created_at
end
|
#extended_address ⇒ String?
40
|
# File 'lib/telnyx/models/dynamic_emergency_address.rb', line 40
optional :extended_address, String
|
#house_number ⇒ String
20
|
# File 'lib/telnyx/models/dynamic_emergency_address.rb', line 20
required :house_number, String
|
#house_suffix ⇒ String?
45
|
# File 'lib/telnyx/models/dynamic_emergency_address.rb', line 45
optional :house_suffix, String
|
#id ⇒ String?
Returns the value of attribute id.
57
58
59
|
# File 'sig/telnyx/models/dynamic_emergency_address.rbs', line 57
def id
@id
end
|
#locality ⇒ String
25
|
# File 'lib/telnyx/models/dynamic_emergency_address.rb', line 25
required :locality, String
|
#postal_code ⇒ String
30
|
# File 'lib/telnyx/models/dynamic_emergency_address.rb', line 30
required :postal_code, String
|
#record_type ⇒ String?
Returns the value of attribute record_type.
65
66
67
|
# File 'sig/telnyx/models/dynamic_emergency_address.rbs', line 65
def record_type
@record_type
end
|
#sip_geolocation_id ⇒ String?
Returns the value of attribute sip_geolocation_id.
69
70
71
|
# File 'sig/telnyx/models/dynamic_emergency_address.rbs', line 69
def sip_geolocation_id
@sip_geolocation_id
end
|
#status ⇒ Telnyx::Models::DynamicEmergencyAddress::status?
Returns the value of attribute status.
73
74
75
|
# File 'sig/telnyx/models/dynamic_emergency_address.rbs', line 73
def status
@status
end
|
#street_name ⇒ String
35
|
# File 'lib/telnyx/models/dynamic_emergency_address.rb', line 35
required :street_name, String
|
#street_post_directional ⇒ String?
50
|
# File 'lib/telnyx/models/dynamic_emergency_address.rb', line 50
optional :street_post_directional, String
|
#street_pre_directional ⇒ String?
55
|
# File 'lib/telnyx/models/dynamic_emergency_address.rb', line 55
optional :street_pre_directional, String
|
#street_suffix ⇒ String?
60
|
# File 'lib/telnyx/models/dynamic_emergency_address.rb', line 60
optional :street_suffix, String
|
#updated_at ⇒ String?
Returns the value of attribute updated_at.
79
80
81
|
# File 'sig/telnyx/models/dynamic_emergency_address.rbs', line 79
def updated_at
@updated_at
end
|
Class Method Details
.values ⇒ Array<Symbol>
|
# File 'lib/telnyx/models/dynamic_emergency_address.rb', line 146
|
Instance Method Details
#created_at= ⇒ String
63
|
# File 'sig/telnyx/models/dynamic_emergency_address.rbs', line 63
def created_at=: (String) -> String
|
#id= ⇒ String
59
|
# File 'sig/telnyx/models/dynamic_emergency_address.rbs', line 59
def id=: (String) -> String
|
#record_type= ⇒ String
67
|
# File 'sig/telnyx/models/dynamic_emergency_address.rbs', line 67
def record_type=: (String) -> String
|
#sip_geolocation_id= ⇒ String
71
|
# File 'sig/telnyx/models/dynamic_emergency_address.rbs', line 71
def sip_geolocation_id=: (String) -> String
|
#status= ⇒ Object
75
|
# File 'sig/telnyx/models/dynamic_emergency_address.rbs', line 75
def status=: (
|
#to_hash ⇒ {
103
|
# File 'sig/telnyx/models/dynamic_emergency_address.rbs', line 103
def to_hash: -> {
|
#updated_at= ⇒ String
81
|
# File 'sig/telnyx/models/dynamic_emergency_address.rbs', line 81
def updated_at=: (String) -> String
|