Class: Revox::Models::CampaignLaunchResponse::Session
Overview
Defined Under Namespace
Modules: CreatedAt, EndedAt, OutcomeFilter, Status
Classes: InFlightCall
Instance Attribute Summary collapse
Class Method Summary
collapse
Instance Method Summary
collapse
-
#initialize(id:, campaign_id:, connected_count:, created_at:, current_call_id:, dialed_count:, ended_at:, in_flight_calls:, outcome_filter:, status:, total_targets:) ⇒ Object
constructor
-
#to_hash ⇒ {
==, #==, #[], 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
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(id:, campaign_id:, connected_count:, created_at:, current_call_id:, dialed_count:, ended_at:, in_flight_calls:, outcome_filter:, status:, total_targets:) ⇒ Object
|
# File 'lib/revox/models/campaign_launch_response.rb', line 109
|
Instance Attribute Details
#campaign_id ⇒ String
60
|
# File 'lib/revox/models/campaign_launch_response.rb', line 60
required :campaign_id, String
|
#connected_count ⇒ Float
65
|
# File 'lib/revox/models/campaign_launch_response.rb', line 65
required :connected_count, Float
|
#created_at ⇒ Time, Object
70
|
# File 'lib/revox/models/campaign_launch_response.rb', line 70
required :created_at, union: -> { Revox::Models::CampaignLaunchResponse::Session::CreatedAt }
|
#current_call_id ⇒ String?
75
|
# File 'lib/revox/models/campaign_launch_response.rb', line 75
required :current_call_id, String, nil?: true
|
#dialed_count ⇒ Float
80
|
# File 'lib/revox/models/campaign_launch_response.rb', line 80
required :dialed_count, Float
|
#ended_at ⇒ Time, ...
85
|
# File 'lib/revox/models/campaign_launch_response.rb', line 85
required :ended_at, union: -> { Revox::Models::CampaignLaunchResponse::Session::EndedAt }, nil?: true
|
#id ⇒ String
55
|
# File 'lib/revox/models/campaign_launch_response.rb', line 55
required :id, String
|
90
91
|
# File 'lib/revox/models/campaign_launch_response.rb', line 90
required :in_flight_calls,
-> { Revox::Internal::Type::ArrayOf[Revox::Models::CampaignLaunchResponse::Session::InFlightCall] }
|
96
97
|
# File 'lib/revox/models/campaign_launch_response.rb', line 96
required :outcome_filter,
-> { Revox::Internal::Type::ArrayOf[enum: Revox::Models::CampaignLaunchResponse::Session::OutcomeFilter] }
|
102
|
# File 'lib/revox/models/campaign_launch_response.rb', line 102
required :status, enum: -> { Revox::Models::CampaignLaunchResponse::Session::Status }
|
#total_targets ⇒ Float
107
|
# File 'lib/revox/models/campaign_launch_response.rb', line 107
required :total_targets, Float
|
Class Method Details
.values ⇒ Array<Symbol>
|
# File 'lib/revox/models/campaign_launch_response.rb', line 3870
|
.variants ⇒ Array(Time, Object)
|
# File 'lib/revox/models/campaign_launch_response.rb', line 130
|
Instance Method Details
#to_hash ⇒ {
108
|
# File 'sig/revox/models/campaign_launch_response.rbs', line 108
def to_hash: -> {
|