Class: Telnyx::Models::PortingOrders::VerificationCodeListResponse

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/telnyx/models/porting_orders/verification_code_list_response.rb

Overview

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

#initialize(id: nil, created_at: nil, phone_number: nil, porting_order_id: nil, record_type: nil, updated_at: nil, verified: nil) ⇒ Object

Parameters:

  • id (String) (defaults to: nil)

    Uniquely identifies this porting verification code

  • created_at (Time) (defaults to: nil)

    ISO 8601 formatted date indicating when the resource was created.

  • phone_number (String) (defaults to: nil)

    E164 formatted phone number

  • porting_order_id (String) (defaults to: nil)

    Identifies the associated porting order

  • record_type (String) (defaults to: nil)

    Identifies the type of the resource.

  • updated_at (Time) (defaults to: nil)

    ISO 8601 formatted date indicating when the resource was updated.

  • verified (Boolean) (defaults to: nil)

    Indicates whether the verification code has been verified



# File 'lib/telnyx/models/porting_orders/verification_code_list_response.rb', line 52

Instance Attribute Details

#created_atTime?

ISO 8601 formatted date indicating when the resource was created.

Returns:

  • (Time, nil)


18
# File 'lib/telnyx/models/porting_orders/verification_code_list_response.rb', line 18

optional :created_at, Time

#idString?

Uniquely identifies this porting verification code

Returns:

  • (String, nil)


12
# File 'lib/telnyx/models/porting_orders/verification_code_list_response.rb', line 12

optional :id, String

#phone_numberString?

E164 formatted phone number

Returns:

  • (String, nil)


24
# File 'lib/telnyx/models/porting_orders/verification_code_list_response.rb', line 24

optional :phone_number, String

#porting_order_idString?

Identifies the associated porting order

Returns:

  • (String, nil)


30
# File 'lib/telnyx/models/porting_orders/verification_code_list_response.rb', line 30

optional :porting_order_id, String

#updated_atTime?

ISO 8601 formatted date indicating when the resource was updated.

Returns:

  • (Time, nil)


36
# File 'lib/telnyx/models/porting_orders/verification_code_list_response.rb', line 36

optional :updated_at, Time

#verifiedBoolean?

Indicates whether the verification code has been verified

Returns:

  • (Boolean, nil)


42
# File 'lib/telnyx/models/porting_orders/verification_code_list_response.rb', line 42

optional :verified, Telnyx::Internal::Type::Boolean