Class: Amocrm::Models::WidgetBotContinueContinueParams::ExecuteHandler

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

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(handler: nil, params: nil) ⇒ ExecuteHandler

Returns a new instance of ExecuteHandler.

Parameters:

  • handler (String) (defaults to: nil)
  • params (Object) (defaults to: nil)
  • handler: (String) (defaults to: nil)
  • params: (top) (defaults to: nil)


# File 'lib/amocrm/models/widget_bot_continue_continue_params.rb', line 65

Instance Attribute Details

#handler ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


58
# File 'lib/amocrm/models/widget_bot_continue_continue_params.rb', line 58

optional :handler, String

#params ⇒ Object?

Parameters:

  • (top)

Returns:

  • (Object, nil)


63
# File 'lib/amocrm/models/widget_bot_continue_continue_params.rb', line 63

optional :params, Amocrm::Internal::Type::Unknown

Instance Method Details

#to_hash ⇒ { handler: String, params: top }

Returns:

  • ({ handler: String, params: top })


75
# File 'sig/amocrm/models/widget_bot_continue_continue_params.rbs', line 75

def to_hash: -> { handler: String, params: top }