Class: Telnyx::Models::ReservedPhoneNumber
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::ReservedPhoneNumber
- Defined in:
- lib/telnyx/models/reserved_phone_number.rb,
sig/telnyx/models/reserved_phone_number.rbs
Defined Under Namespace
Modules: Status
Instance Attribute Summary collapse
-
#created_at ⇒ Time?
readonly
Returns the value of attribute created_at.
-
#errors ⇒ String?
readonly
Returns the value of attribute errors.
-
#expired_at ⇒ Time?
readonly
Returns the value of attribute expired_at.
-
#id ⇒ String?
readonly
Returns the value of attribute id.
- #phone_number ⇒ String?
-
#record_type ⇒ String?
readonly
Returns the value of attribute record_type.
-
#status ⇒ Telnyx::Models::ReservedPhoneNumber::status?
readonly
Returns the value of attribute status.
-
#updated_at ⇒ Time?
readonly
Returns the value of attribute updated_at.
Instance Method Summary collapse
- #created_at ⇒ Time readonly
- #errors ⇒ String readonly
- #expired_at ⇒ Time readonly
- #id ⇒ String readonly
-
#initialize(id: nil, created_at: nil, errors: nil, expired_at: nil, phone_number: nil, record_type: nil, status: nil, updated_at: nil) ⇒ Object
constructor
Some parameter documentations has been truncated, see ReservedPhoneNumber for more details.
- #record_type ⇒ String readonly
- #status ⇒ Object readonly
- #to_hash ⇒ {
- #updated_at ⇒ Time readonly
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: nil, created_at: nil, errors: nil, expired_at: nil, phone_number: nil, record_type: nil, status: nil, updated_at: nil) ⇒ Object
Some parameter documentations has been truncated, see Telnyx::Models::ReservedPhoneNumber for more details.
|
|
# File 'lib/telnyx/models/reserved_phone_number.rb', line 56
|
Instance Attribute Details
#created_at ⇒ Time? (readonly)
Returns the value of attribute created_at.
24 25 26 |
# File 'sig/telnyx/models/reserved_phone_number.rbs', line 24 def created_at @created_at end |
#errors ⇒ String? (readonly)
Returns the value of attribute errors.
28 29 30 |
# File 'sig/telnyx/models/reserved_phone_number.rbs', line 28 def errors @errors end |
#expired_at ⇒ Time? (readonly)
Returns the value of attribute expired_at.
32 33 34 |
# File 'sig/telnyx/models/reserved_phone_number.rbs', line 32 def expired_at @expired_at end |
#id ⇒ String? (readonly)
Returns the value of attribute id.
20 21 22 |
# File 'sig/telnyx/models/reserved_phone_number.rbs', line 20 def id @id end |
#phone_number ⇒ String?
9 |
# File 'lib/telnyx/models/reserved_phone_number.rb', line 9 optional :phone_number, String |
#record_type ⇒ String? (readonly)
Returns the value of attribute record_type.
36 37 38 |
# File 'sig/telnyx/models/reserved_phone_number.rbs', line 36 def record_type @record_type end |
#status ⇒ Telnyx::Models::ReservedPhoneNumber::status? (readonly)
Returns the value of attribute status.
40 41 42 |
# File 'sig/telnyx/models/reserved_phone_number.rbs', line 40 def status @status end |
#updated_at ⇒ Time? (readonly)
Returns the value of attribute updated_at.
46 47 48 |
# File 'sig/telnyx/models/reserved_phone_number.rbs', line 46 def updated_at @updated_at end |
Instance Method Details
#created_at= ⇒ Time (readonly)
26 |
# File 'sig/telnyx/models/reserved_phone_number.rbs', line 26
def created_at=: (Time) -> Time
|
#errors= ⇒ String (readonly)
30 |
# File 'sig/telnyx/models/reserved_phone_number.rbs', line 30
def errors=: (String) -> String
|
#expired_at= ⇒ Time (readonly)
34 |
# File 'sig/telnyx/models/reserved_phone_number.rbs', line 34
def expired_at=: (Time) -> Time
|
#id= ⇒ String (readonly)
22 |
# File 'sig/telnyx/models/reserved_phone_number.rbs', line 22
def id=: (String) -> String
|
#record_type= ⇒ String (readonly)
38 |
# File 'sig/telnyx/models/reserved_phone_number.rbs', line 38
def record_type=: (String) -> String
|
#status= ⇒ Object (readonly)
42 |
# File 'sig/telnyx/models/reserved_phone_number.rbs', line 42
def status=: (
|
#to_hash ⇒ {
61 |
# File 'sig/telnyx/models/reserved_phone_number.rbs', line 61
def to_hash: -> {
|
#updated_at= ⇒ Time (readonly)
48 |
# File 'sig/telnyx/models/reserved_phone_number.rbs', line 48
def updated_at=: (Time) -> Time
|