Class: Revox::Models::CampaignLaunchParams::Selection::Filters

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

Overview

See Also:

  • Revox::Models::CampaignLaunchParams::Selection#filters

Defined Under Namespace

Modules: Direction, Outcome, Result, Status

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



99
# File 'sig/revox/models/campaign_launch_params.rbs', line 99

def initialize: (

Instance Attribute Details

#assignee_idsArray<String>

Parameters:

  • value (::Array[String])

Returns:

  • (Array<String>)


76
# File 'lib/revox/models/campaign_launch_params.rb', line 76

required :assignee_ids, Revox::Internal::Type::ArrayOf[String]

#directionsArray<Symbol, Revox::Models::CampaignLaunchParams::Selection::Filters::Direction>

Parameters:

  • value (::Array[Revox::Models::CampaignLaunchParams::Selection::Filters::direction])

Returns:



81
82
# File 'lib/revox/models/campaign_launch_params.rb', line 81

required :directions,
-> { Revox::Internal::Type::ArrayOf[enum: Revox::CampaignLaunchParams::Selection::Filters::Direction] }

#outcomesArray<Symbol, Revox::Models::CampaignLaunchParams::Selection::Filters::Outcome>

Parameters:

  • value (::Array[Revox::Models::CampaignLaunchParams::Selection::Filters::outcome])

Returns:



87
88
# File 'lib/revox/models/campaign_launch_params.rb', line 87

required :outcomes,
-> { Revox::Internal::Type::ArrayOf[enum: Revox::CampaignLaunchParams::Selection::Filters::Outcome] }

#queryString?

Parameters:

  • (String)

Returns:

  • (String, nil)


105
# File 'lib/revox/models/campaign_launch_params.rb', line 105

optional :query, String

#resultsArray<Symbol, Revox::Models::CampaignLaunchParams::Selection::Filters::Result>

Parameters:

  • value (::Array[Revox::Models::CampaignLaunchParams::Selection::Filters::result])

Returns:



93
94
# File 'lib/revox/models/campaign_launch_params.rb', line 93

required :results,
-> { Revox::Internal::Type::ArrayOf[enum: Revox::CampaignLaunchParams::Selection::Filters::Result] }

#statusesArray<Symbol, Revox::Models::CampaignLaunchParams::Selection::Filters::Status>

Parameters:

  • value (::Array[Revox::Models::CampaignLaunchParams::Selection::Filters::status])

Returns:



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

required :statuses,
-> { Revox::Internal::Type::ArrayOf[enum: Revox::CampaignLaunchParams::Selection::Filters::Status] }

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/revox/models/campaign_launch_params.rb', line 121

Instance Method Details

#to_hash{

Returns:

  • ({)


108
# File 'sig/revox/models/campaign_launch_params.rbs', line 108

def to_hash: -> {