Class: Revox::Models::CampaignLaunchResponse::Session::InFlightCall::LastCallAttempt::SMSLog

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/revox/models/campaign_launch_response.rb,
sig/revox/models/campaign_launch_response.rbs

Defined Under Namespace

Modules: Provider, Type

Instance Attribute Summary collapse

Class Method 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:, created_at:, message_body:, provider:, provider_message_id:, to_phone_number:, type:) ⇒ Object

Parameters:



# File 'lib/revox/models/campaign_launch_response.rb', line 3453

Instance Attribute Details

#created_atObject

When the SMS was sent.

Parameters:

  • value (top)

Returns:

  • (Object)


3424
# File 'lib/revox/models/campaign_launch_response.rb', line 3424

required :created_at, Revox::Internal::Type::Unknown

#idString

Parameters:

  • value (String)

Returns:

  • (String)


3418
# File 'lib/revox/models/campaign_launch_response.rb', line 3418

required :id, String

#message_bodyString

Parameters:

  • value (String)

Returns:

  • (String)


3429
# File 'lib/revox/models/campaign_launch_response.rb', line 3429

required :message_body, String

#providerSymbol, Revox::Models::CampaignLaunchResponse::Session::InFlightCall::LastCallAttempt::SMSLog::Provider

Parameters:

  • value (Revox::Models::CampaignLaunchResponse::Session::InFlightCall::LastCallAttempt::SMSLog::provider)

Returns:



3434
3435
# File 'lib/revox/models/campaign_launch_response.rb', line 3434

required :provider,
enum: -> { Revox::Models::CampaignLaunchResponse::Session::InFlightCall::LastCallAttempt::SMSLog::Provider }

#provider_message_idString?

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


3440
# File 'lib/revox/models/campaign_launch_response.rb', line 3440

required :provider_message_id, String, nil?: true

#to_phone_numberString

Parameters:

  • value (String)

Returns:

  • (String)


3445
# File 'lib/revox/models/campaign_launch_response.rb', line 3445

required :to_phone_number, String

#typeSymbol, Revox::Models::CampaignLaunchResponse::Session::InFlightCall::LastCallAttempt::SMSLog::Type

Parameters:

  • value (Revox::Models::CampaignLaunchResponse::Session::InFlightCall::LastCallAttempt::SMSLog::type_)

Returns:



3450
3451
# File 'lib/revox/models/campaign_launch_response.rb', line 3450

required :type,
enum: -> { Revox::Models::CampaignLaunchResponse::Session::InFlightCall::LastCallAttempt::SMSLog::Type }

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/revox/models/campaign_launch_response.rb', line 3475

Instance Method Details

#to_hash{

Returns:

  • ({)


2777
# File 'sig/revox/models/campaign_launch_response.rbs', line 2777

def to_hash: -> {