Class: Telnyx::Models::PortingOrders::PortingVerificationCode
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::PortingOrders::PortingVerificationCode
- Defined in:
- lib/telnyx/models/porting_orders/porting_verification_code.rb,
sig/telnyx/models/porting_orders/porting_verification_code.rbs
Overview
Instance Attribute Summary collapse
-
#created_at ⇒ Time?
ISO 8601 formatted date indicating when the resource was created.
-
#id ⇒ String?
Uniquely identifies this porting verification code.
-
#phone_number ⇒ String?
E164 formatted phone number.
-
#porting_order_id ⇒ String?
Identifies the associated porting order.
-
#record_type ⇒ String?
readonly
Returns the value of attribute record_type.
-
#updated_at ⇒ Time?
ISO 8601 formatted date indicating when the resource was updated.
-
#verified ⇒ Boolean?
Indicates whether the verification code has been verified.
Instance Method Summary collapse
- #initialize(id: nil, created_at: nil, phone_number: nil, porting_order_id: nil, record_type: nil, updated_at: nil, verified: nil) ⇒ Object constructor
- #record_type ⇒ String readonly
- #to_hash ⇒ {
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, phone_number: nil, porting_order_id: nil, record_type: nil, updated_at: nil, verified: nil) ⇒ Object
|
|
# File 'lib/telnyx/models/porting_orders/porting_verification_code.rb', line 52
|
Instance Attribute Details
#created_at ⇒ Time?
ISO 8601 formatted date indicating when the resource was created.
18 |
# File 'lib/telnyx/models/porting_orders/porting_verification_code.rb', line 18 optional :created_at, Time |
#id ⇒ String?
Uniquely identifies this porting verification code
12 |
# File 'lib/telnyx/models/porting_orders/porting_verification_code.rb', line 12 optional :id, String |
#phone_number ⇒ String?
E164 formatted phone number
24 |
# File 'lib/telnyx/models/porting_orders/porting_verification_code.rb', line 24 optional :phone_number, String |
#porting_order_id ⇒ String?
Identifies the associated porting order
30 |
# File 'lib/telnyx/models/porting_orders/porting_verification_code.rb', line 30 optional :porting_order_id, String |
#record_type ⇒ String? (readonly)
Returns the value of attribute record_type.
40 41 42 |
# File 'sig/telnyx/models/porting_orders/porting_verification_code.rbs', line 40 def record_type @record_type end |
#updated_at ⇒ Time?
ISO 8601 formatted date indicating when the resource was updated.
36 |
# File 'lib/telnyx/models/porting_orders/porting_verification_code.rb', line 36 optional :updated_at, Time |
#verified ⇒ Boolean?
Indicates whether the verification code has been verified
42 |
# File 'lib/telnyx/models/porting_orders/porting_verification_code.rb', line 42 optional :verified, Telnyx::Internal::Type::Boolean |
Instance Method Details
#record_type= ⇒ String (readonly)
42 |
# File 'sig/telnyx/models/porting_orders/porting_verification_code.rbs', line 42
def record_type=: (String) -> String
|
#to_hash ⇒ {
54 |
# File 'sig/telnyx/models/porting_orders/porting_verification_code.rbs', line 54
def to_hash: -> {
|