Class: Trycourier::Models::Automations::InvokeInvokeAdHocParams::Automation::Step::AutomationSendListStep

Inherits:
Internal::Type::BaseModel
  • Object
show all
Defined in:
lib/trycourier/models/automations/invoke_invoke_ad_hoc_params.rb

Defined Under Namespace

Modules: Action

Instance Attribute 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(action: , list: , brand: nil, data: nil) ⇒ Object

Parameters:



# File 'lib/trycourier/models/automations/invoke_invoke_ad_hoc_params.rb', line 195


Instance Attribute Details

#actionSymbol, Trycourier::Models::Automations::InvokeInvokeAdHocParams::Automation::Step::AutomationSendListStep::Action



175
176
# File 'lib/trycourier/models/automations/invoke_invoke_ad_hoc_params.rb', line 175

required :action,
enum: -> { Trycourier::Automations::InvokeInvokeAdHocParams::Automation::Step::AutomationSendListStep::Action }

#brandString?

Returns:

  • (String, nil)


186
# File 'lib/trycourier/models/automations/invoke_invoke_ad_hoc_params.rb', line 186

optional :brand, String, nil?: true

#dataHash{Symbol=>Object}?

Returns:

  • (Hash{Symbol=>Object}, nil)


191
192
193
# File 'lib/trycourier/models/automations/invoke_invoke_ad_hoc_params.rb', line 191

optional :data,
Trycourier::Internal::Type::HashOf[Trycourier::Internal::Type::Unknown],
nil?: true

#listString

Returns:

  • (String)


181
# File 'lib/trycourier/models/automations/invoke_invoke_ad_hoc_params.rb', line 181

required :list, String