Class: Revox::Models::CampaignRetrieveResponse::Campaign::Assistant::CallRetryConfig

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

Overview

See Also:

  • Revox::Models::CampaignRetrieveResponse::Campaign::Assistant#call_retry_config

Defined Under Namespace

Modules: AllowedDay Classes: CallingWindow

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

#initializeObject



526
# File 'sig/revox/models/campaign_retrieve_response.rbs', line 526

def initialize: (

Instance Attribute Details

#allowed_daysArray<Symbol, Revox::Models::CampaignRetrieveResponse::Campaign::Assistant::CallRetryConfig::AllowedDay>

Days of the week when calls are allowed, in the recipient's timezone. Default: Monday through Friday.

Parameters:

  • value (::Array[Revox::Models::CampaignRetrieveResponse::Campaign::Assistant::CallRetryConfig::allowed_day])

Returns:



717
718
# File 'lib/revox/models/campaign_retrieve_response.rb', line 717

required :allowed_days,
-> { Revox::Internal::Type::ArrayOf[enum: Revox::Models::CampaignRetrieveResponse::Campaign::Assistant::CallRetryConfig::AllowedDay] }

#call_twice_in_a_rowBoolean

If true and max_retry_attempts >= 2, attempt #2 fires immediately (skipping retry_delay_seconds) when attempt #1 didn't reach a human. Calling-window/allowed-days checks still apply. Only affects the 1→2 transition. Default: false.

Parameters:

  • value (Boolean)

Returns:

  • (Boolean)


727
# File 'lib/revox/models/campaign_retrieve_response.rb', line 727

required :call_twice_in_a_row, Revox::Internal::Type::Boolean

#calling_windowsArray<Revox::Models::CampaignRetrieveResponse::Campaign::Assistant::CallRetryConfig::CallingWindow>



732
733
# File 'lib/revox/models/campaign_retrieve_response.rb', line 732

required :calling_windows,
-> { Revox::Internal::Type::ArrayOf[Revox::Models::CampaignRetrieveResponse::Campaign::Assistant::CallRetryConfig::CallingWindow] }

#max_retry_attemptsInteger

Maximum number of call retry attempts. Default: 3.

Parameters:

  • value (Integer)

Returns:

  • (Integer)


739
# File 'lib/revox/models/campaign_retrieve_response.rb', line 739

required :max_retry_attempts, Integer

#timezoneString?

Optional IANA timezone identifier to override the automatic timezone detection from phone number. If not provided, timezone is determined from the recipient's phone number country code. Examples: 'America/New_York', 'Europe/Paris'.

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


747
# File 'lib/revox/models/campaign_retrieve_response.rb', line 747

optional :timezone, String, nil?: true

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/revox/models/campaign_retrieve_response.rb', line 778

Instance Method Details

#to_hash{

Returns:

  • ({)


534
# File 'sig/revox/models/campaign_retrieve_response.rbs', line 534

def to_hash: -> {