Class: Revox::Models::CampaignRetrieveResponse::Campaign
Overview
Defined Under Namespace
Modules: PausedReason, Status, StructuredOutputExtraction, Type
Classes: Assistant, CallRetryConfig, CreatedBy, FunnelStats, RowStats
Instance Attribute Summary collapse
Class Method Summary
collapse
Instance Method Summary
collapse
==, #==, #[], 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(calling:, completed:, failed:, pending:, retry_:, total:) ⇒ Object
|
# File 'lib/revox/models/campaign_retrieve_response.rb', line 131
|
Instance Attribute Details
#active_takeover_call_id ⇒ String?
65
|
# File 'lib/revox/models/campaign_retrieve_response.rb', line 65
optional :active_takeover_call_id, String, nil?: true
|
70
|
# File 'lib/revox/models/campaign_retrieve_response.rb', line 70
optional :assistant, -> { Revox::Models::CampaignRetrieveResponse::Campaign::Assistant }
|
#assistant_id ⇒ String
25
|
# File 'lib/revox/models/campaign_retrieve_response.rb', line 25
required :assistant_id, String
|
Configuration for call retry behavior including time windows, delays, and max
iterations. If not provided, defaults will be used.
77
78
79
|
# File 'lib/revox/models/campaign_retrieve_response.rb', line 77
optional :call_retry_config,
-> { Revox::Models::CampaignRetrieveResponse::Campaign::CallRetryConfig },
nil?: true
|
#created_at ⇒ Object
30
|
# File 'lib/revox/models/campaign_retrieve_response.rb', line 30
required :created_at, Revox::Internal::Type::Unknown
|
A member of the current organization.
85
|
# File 'lib/revox/models/campaign_retrieve_response.rb', line 85
optional :created_by, -> { Revox::Models::CampaignRetrieveResponse::Campaign::CreatedBy }, nil?: true
|
#from_phone_number ⇒ String?
90
|
# File 'lib/revox/models/campaign_retrieve_response.rb', line 90
optional :from_phone_number, String, nil?: true
|
95
|
# File 'lib/revox/models/campaign_retrieve_response.rb', line 95
optional :funnel_stats, -> { Revox::Models::CampaignRetrieveResponse::Campaign::FunnelStats }
|
#id ⇒ String
20
|
# File 'lib/revox/models/campaign_retrieve_response.rb', line 20
required :id, String
|
#is_cancelled ⇒ Boolean
35
|
# File 'lib/revox/models/campaign_retrieve_response.rb', line 35
required :is_cancelled, Revox::Internal::Type::Boolean
|
#max_concurrent_calls ⇒ Float?
100
|
# File 'lib/revox/models/campaign_retrieve_response.rb', line 100
optional :max_concurrent_calls, Float, nil?: true
|
#name ⇒ String
40
|
# File 'lib/revox/models/campaign_retrieve_response.rb', line 40
required :name, String
|
#organization_id ⇒ String
45
|
# File 'lib/revox/models/campaign_retrieve_response.rb', line 45
required :organization_id, String
|
#paused_reason ⇒ Symbol, ...
105
106
107
|
# File 'lib/revox/models/campaign_retrieve_response.rb', line 105
optional :paused_reason,
enum: -> { Revox::Models::CampaignRetrieveResponse::Campaign::PausedReason },
nil?: true
|
#present_count ⇒ Float?
112
|
# File 'lib/revox/models/campaign_retrieve_response.rb', line 112
optional :present_count, Float
|
117
|
# File 'lib/revox/models/campaign_retrieve_response.rb', line 117
optional :row_stats, -> { Revox::Models::CampaignRetrieveResponse::Campaign::RowStats }
|
#scheduled_at ⇒ Object?
122
|
# File 'lib/revox/models/campaign_retrieve_response.rb', line 122
optional :scheduled_at, Revox::Internal::Type::Unknown
|
50
|
# File 'lib/revox/models/campaign_retrieve_response.rb', line 50
required :status, enum: -> { Revox::Models::CampaignRetrieveResponse::Campaign::Status }
|
The status of the structured output extraction.
128
129
|
# File 'lib/revox/models/campaign_retrieve_response.rb', line 128
optional :structured_output_extraction,
enum: -> { Revox::Models::CampaignRetrieveResponse::Campaign::StructuredOutputExtraction }
|
55
|
# File 'lib/revox/models/campaign_retrieve_response.rb', line 55
required :type, enum: -> { Revox::Models::CampaignRetrieveResponse::Campaign::Type }
|
#updated_at ⇒ Object
60
|
# File 'lib/revox/models/campaign_retrieve_response.rb', line 60
required :updated_at, Revox::Internal::Type::Unknown
|
Class Method Details
.values ⇒ Array<Symbol>
|
# File 'lib/revox/models/campaign_retrieve_response.rb', line 186
|
Instance Method Details
#to_hash ⇒ {
129
|
# File 'sig/revox/models/campaign_retrieve_response.rbs', line 129
def to_hash: -> {
|