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

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: , brand: nil, data: nil, profile: nil, recipient: nil, template: nil) ⇒ Object

Parameters:



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


Instance Attribute Details

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



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

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

#brandString?

Returns:

  • (String, nil)


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

optional :brand, String, nil?: true

#dataHash{Symbol=>Object}?

Returns:

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


131
132
133
# File 'lib/trycourier/models/automations/invoke_invoke_ad_hoc_params.rb', line 131

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

#profileHash{Symbol=>Object}?

Returns:

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


138
139
140
# File 'lib/trycourier/models/automations/invoke_invoke_ad_hoc_params.rb', line 138

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

#recipientString?

Returns:

  • (String, nil)


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

optional :recipient, String, nil?: true

#templateString?

Returns:

  • (String, nil)


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

optional :template, String, nil?: true