Class: Revox::Models::CampaignLaunchResponse::Campaign

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::Models::CampaignLaunchResponse#campaign

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

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(calling:, completed:, failed:, pending:, retry_:, total:) ⇒ Object

Parameters:

  • calling (Float)
  • completed (Float)
  • failed (Float)
  • pending (Float)
  • retry_ (Float)
  • total (Float)


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

Instance Attribute Details

#active_takeover_call_idString?

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


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

optional :active_takeover_call_id, String, nil?: true

#assistantRevox::Models::CampaignLaunchResponse::Campaign::Assistant?



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

optional :assistant, -> { Revox::Models::CampaignLaunchResponse::Campaign::Assistant }

#assistant_idString

Parameters:

  • value (String)

Returns:

  • (String)


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

required :assistant_id, String

#call_retry_configRevox::Models::CampaignLaunchResponse::Campaign::CallRetryConfig?

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_launch_response.rb', line 77

optional :call_retry_config,
-> { Revox::Models::CampaignLaunchResponse::Campaign::CallRetryConfig },
nil?: true

#created_atObject

Parameters:

  • value (top)

Returns:

  • (Object)


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

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

#created_byRevox::Models::CampaignLaunchResponse::Campaign::CreatedBy?

A member of the current organization.



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

optional :created_by, -> { Revox::Models::CampaignLaunchResponse::Campaign::CreatedBy }, nil?: true

#from_phone_numberString?

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


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

optional :from_phone_number, String, nil?: true

#funnel_statsRevox::Models::CampaignLaunchResponse::Campaign::FunnelStats?



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

optional :funnel_stats, -> { Revox::Models::CampaignLaunchResponse::Campaign::FunnelStats }

#idString

Parameters:

  • value (String)

Returns:

  • (String)


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

required :id, String

#is_cancelledBoolean

Parameters:

  • value (Boolean)

Returns:

  • (Boolean)


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

required :is_cancelled, Revox::Internal::Type::Boolean

#max_concurrent_callsFloat?

Parameters:

  • value (Float, nil)

Returns:

  • (Float, nil)


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

optional :max_concurrent_calls, Float, nil?: true

#nameString

Parameters:

  • value (String)

Returns:

  • (String)


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

required :name, String

#organization_idString

Parameters:

  • value (String)

Returns:

  • (String)


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

required :organization_id, String

#paused_reasonSymbol, ...

Parameters:

  • value (Revox::Models::CampaignLaunchResponse::Campaign::paused_reason, nil)

Returns:



105
106
107
# File 'lib/revox/models/campaign_launch_response.rb', line 105

optional :paused_reason,
enum: -> { Revox::Models::CampaignLaunchResponse::Campaign::PausedReason },
nil?: true

#present_countFloat?

Parameters:

  • (Float)

Returns:

  • (Float, nil)


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

optional :present_count, Float

#row_statsRevox::Models::CampaignLaunchResponse::Campaign::RowStats?



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

optional :row_stats, -> { Revox::Models::CampaignLaunchResponse::Campaign::RowStats }

#scheduled_atObject?

Parameters:

  • (top)

Returns:

  • (Object, nil)


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

optional :scheduled_at, Revox::Internal::Type::Unknown

#statusSymbol, Revox::Models::CampaignLaunchResponse::Campaign::Status

Parameters:

  • value (Revox::Models::CampaignLaunchResponse::Campaign::status)

Returns:



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

required :status, enum: -> { Revox::Models::CampaignLaunchResponse::Campaign::Status }

#structured_output_extractionSymbol, ...

The status of the structured output extraction.



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

optional :structured_output_extraction,
enum: -> { Revox::Models::CampaignLaunchResponse::Campaign::StructuredOutputExtraction }

#typeSymbol, Revox::Models::CampaignLaunchResponse::Campaign::Type

Parameters:

  • value (Revox::Models::CampaignLaunchResponse::Campaign::type_)

Returns:



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

required :type, enum: -> { Revox::Models::CampaignLaunchResponse::Campaign::Type }

#updated_atObject

Parameters:

  • value (top)

Returns:

  • (Object)


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

required :updated_at, Revox::Internal::Type::Unknown

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


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

Instance Method Details

#to_hash{

Returns:

  • ({)


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

def to_hash: -> {