Class: Telnyx::Models::Rcs::Agents::TestDeviceResponse

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/telnyx/models/rcs/agents/test_device_response.rb,
sig/telnyx/models/rcs/agents/test_device_response.rbs

Overview

See Also:

  • Telnyx::Resources::Rcs::Agents::TestDevices#create

Defined Under Namespace

Modules: InviteStatus

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(invite_status:, phone_number:, test_device_id:) ⇒ Object

Parameters:



# File 'lib/telnyx/models/rcs/agents/test_device_response.rb', line 24

Instance Attribute Details

#invite_statusSymbol, Telnyx::Models::Rcs::Agents::TestDeviceResponse::InviteStatus

Parameters:

  • value (Telnyx::Models::Rcs::Agents::TestDeviceResponse::invite_status)

Returns:



12
# File 'lib/telnyx/models/rcs/agents/test_device_response.rb', line 12

required :invite_status, enum: -> { Telnyx::Rcs::Agents::TestDeviceResponse::InviteStatus }

#phone_numberString

Parameters:

  • value (String)

Returns:

  • (String)


17
# File 'lib/telnyx/models/rcs/agents/test_device_response.rb', line 17

required :phone_number, String

#test_device_idString

Parameters:

  • value (String)

Returns:

  • (String)


22
# File 'lib/telnyx/models/rcs/agents/test_device_response.rb', line 22

required :test_device_id, String

Instance Method Details

#to_hash{

Returns:

  • ({)


25
# File 'sig/telnyx/models/rcs/agents/test_device_response.rbs', line 25

def to_hash: -> {