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

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

Defined Under Namespace

Classes: Filters, Rows

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(filters:, rows:) ⇒ Object



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

Instance Attribute Details

#filtersRevox::Models::CampaignLaunchParams::Selection::Filters

Parameters:

  • value (Revox::CampaignLaunchParams::Selection::Filters)

Returns:



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

required :filters, -> { Revox::CampaignLaunchParams::Selection::Filters }

#rowsRevox::Models::CampaignLaunchParams::Selection::Rows

Parameters:

  • value (Revox::CampaignLaunchParams::Selection::Rows)

Returns:



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

required :rows, -> { Revox::CampaignLaunchParams::Selection::Rows }

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


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

Instance Method Details

#to_hash{

Returns:

  • ({)


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

def to_hash: -> {