Class: Revox::Models::CampaignLaunchResponse

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

Overview

See Also:

  • Revox::Resources::Campaigns#launch

Defined Under Namespace

Classes: Session, Skipped

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(active:, attempts_exhausted:, cancelled:) ⇒ Object

Parameters:

  • active (Float)
  • attempts_exhausted (Float)
  • cancelled (Float)


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

Instance Attribute Details

#launchedFloat

Parameters:

  • value (Float)

Returns:

  • (Float)


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

required :launched, Float

#sessionRevox::Models::CampaignLaunchResponse::Session?



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

optional :session, -> { Revox::Models::CampaignLaunchResponse::Session }

#skippedRevox::Models::CampaignLaunchResponse::Skipped



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

required :skipped, -> { Revox::Models::CampaignLaunchResponse::Skipped }

Instance Method Details

#to_hash{

Returns:

  • ({)


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

def to_hash: -> {