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

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

Defined Under Namespace

Modules: Action, MergeStrategy Classes: Webhook

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(action: , webhook: , merge_strategy: nil) ⇒ Object



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


Instance Attribute Details

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



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

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

#merge_strategySymbol, ...



311
312
313
314
315
# File 'lib/trycourier/models/automations/invoke_invoke_ad_hoc_params.rb', line 311

optional :merge_strategy,
enum: -> {
  Trycourier::Automations::InvokeInvokeAdHocParams::Automation::Step::AutomationFetchDataStep::MergeStrategy
},
nil?: true

#webhookTrycourier::Models::Automations::InvokeInvokeAdHocParams::Automation::Step::AutomationFetchDataStep::Webhook



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

required :webhook,
-> { Trycourier::Automations::InvokeInvokeAdHocParams::Automation::Step::AutomationFetchDataStep::Webhook }

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


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