Class: Telnyx::Models::Messaging10dlc::PhoneNumberAssignmentByProfileRetrieveStatusResponse

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/telnyx/models/messaging_10dlc/phone_number_assignment_by_profile_retrieve_status_response.rb

Overview

Defined Under Namespace

Modules: Status

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(status:, task_id:, created_at: nil, updated_at: nil) ⇒ Object

Parameters:



# File 'lib/telnyx/models/messaging_10dlc/phone_number_assignment_by_profile_retrieve_status_response.rb', line 30

Instance Attribute Details

#created_atTime?

Returns:

  • (Time, nil)


23
# File 'lib/telnyx/models/messaging_10dlc/phone_number_assignment_by_profile_retrieve_status_response.rb', line 23

optional :created_at, Time, api_name: :createdAt

#statusSymbol, Telnyx::Models::Messaging10dlc::PhoneNumberAssignmentByProfileRetrieveStatusResponse::Status

An enumeration.



12
13
# File 'lib/telnyx/models/messaging_10dlc/phone_number_assignment_by_profile_retrieve_status_response.rb', line 12

required :status,
enum: -> { Telnyx::Models::Messaging10dlc::PhoneNumberAssignmentByProfileRetrieveStatusResponse::Status }

#task_idString

Returns:

  • (String)


18
# File 'lib/telnyx/models/messaging_10dlc/phone_number_assignment_by_profile_retrieve_status_response.rb', line 18

required :task_id, String, api_name: :taskId

#updated_atTime?

Returns:

  • (Time, nil)


28
# File 'lib/telnyx/models/messaging_10dlc/phone_number_assignment_by_profile_retrieve_status_response.rb', line 28

optional :updated_at, Time, api_name: :updatedAt