Class: Amocrm::Models::SalesbotRunParams::Body

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/amocrm/models/salesbot_run_params.rb

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(bot_id:, entity_id:, entity_type:) ⇒ Object

Parameters:

  • bot_id (Integer)
  • entity_id (Integer)
  • entity_type (Integer)


19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# File 'lib/amocrm/models/salesbot_run_params.rb', line 19

class Body < Amocrm::Internal::Type::BaseModel
  # @!attribute bot_id
  #
  #   @return [Integer]
  required :bot_id, Integer

  # @!attribute entity_id
  #
  #   @return [Integer]
  required :entity_id, Integer

  # @!attribute entity_type
  #
  #   @return [Integer]
  required :entity_type, Integer

  # @!method initialize(bot_id:, entity_id:, entity_type:)
  #   @param bot_id [Integer]
  #   @param entity_id [Integer]
  #   @param entity_type [Integer]
end

Instance Attribute Details

#bot_idInteger

Returns:

  • (Integer)


23
# File 'lib/amocrm/models/salesbot_run_params.rb', line 23

required :bot_id, Integer

#entity_idInteger

Returns:

  • (Integer)


28
# File 'lib/amocrm/models/salesbot_run_params.rb', line 28

required :entity_id, Integer

#entity_typeInteger

Returns:

  • (Integer)


33
# File 'lib/amocrm/models/salesbot_run_params.rb', line 33

required :entity_type, Integer