Class: Revox::Models::CampaignCreateResponse::Campaign
Overview
Defined Under Namespace
Modules: Status, StructuredOutputExtraction
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:, not_launched:, pending:, retry_:, skipped:, total:) ⇒ Object
|
# File 'lib/revox/models/campaign_create_response.rb', line 114
|
Instance Attribute Details
60
|
# File 'lib/revox/models/campaign_create_response.rb', line 60
optional :assistant, -> { Revox::Models::CampaignCreateResponse::Campaign::Assistant }
|
#assistant_id ⇒ String
25
|
# File 'lib/revox/models/campaign_create_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.
67
68
69
|
# File 'lib/revox/models/campaign_create_response.rb', line 67
optional :call_retry_config,
-> { Revox::Models::CampaignCreateResponse::Campaign::CallRetryConfig },
nil?: true
|
#created_at ⇒ Object
30
|
# File 'lib/revox/models/campaign_create_response.rb', line 30
required :created_at, Revox::Internal::Type::Unknown
|
A member of the current organization.
75
|
# File 'lib/revox/models/campaign_create_response.rb', line 75
optional :created_by, -> { Revox::Models::CampaignCreateResponse::Campaign::CreatedBy }, nil?: true
|
#from_phone_number ⇒ String?
80
|
# File 'lib/revox/models/campaign_create_response.rb', line 80
optional :from_phone_number, String, nil?: true
|
85
|
# File 'lib/revox/models/campaign_create_response.rb', line 85
optional :funnel_stats, -> { Revox::Models::CampaignCreateResponse::Campaign::FunnelStats }
|
#id ⇒ String
20
|
# File 'lib/revox/models/campaign_create_response.rb', line 20
required :id, String
|
#is_cancelled ⇒ Boolean
35
|
# File 'lib/revox/models/campaign_create_response.rb', line 35
required :is_cancelled, Revox::Internal::Type::Boolean
|
#max_concurrent_calls ⇒ Float?
90
|
# File 'lib/revox/models/campaign_create_response.rb', line 90
optional :max_concurrent_calls, Float, nil?: true
|
95
|
# File 'lib/revox/models/campaign_create_response.rb', line 95
optional :metadata_keys, Revox::Internal::Type::ArrayOf[String]
|
#name ⇒ String
40
|
# File 'lib/revox/models/campaign_create_response.rb', line 40
required :name, String
|
#organization_id ⇒ String
45
|
# File 'lib/revox/models/campaign_create_response.rb', line 45
required :organization_id, String
|
100
|
# File 'lib/revox/models/campaign_create_response.rb', line 100
optional :row_stats, -> { Revox::Models::CampaignCreateResponse::Campaign::RowStats }
|
#scheduled_at ⇒ Object?
105
|
# File 'lib/revox/models/campaign_create_response.rb', line 105
optional :scheduled_at, Revox::Internal::Type::Unknown
|
50
|
# File 'lib/revox/models/campaign_create_response.rb', line 50
required :status, enum: -> { Revox::Models::CampaignCreateResponse::Campaign::Status }
|
The status of the structured output extraction.
111
112
|
# File 'lib/revox/models/campaign_create_response.rb', line 111
optional :structured_output_extraction,
enum: -> { Revox::Models::CampaignCreateResponse::Campaign::StructuredOutputExtraction }
|
#updated_at ⇒ Object
55
|
# File 'lib/revox/models/campaign_create_response.rb', line 55
required :updated_at, Revox::Internal::Type::Unknown
|
Class Method Details
.values ⇒ Array<Symbol>
|
# File 'lib/revox/models/campaign_create_response.rb', line 162
|
Instance Method Details
#to_hash ⇒ {
117
|
# File 'sig/revox/models/campaign_create_response.rbs', line 117
def to_hash: -> {
|