Class: Amocrm::Models::LeadUpdateByIDParams::Embedded::Company

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/amocrm/models/lead_update_by_id_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(companies: nil, contacts: nil, metadata: nil, source: nil, tags: nil) ⇒ Object

Parameters:



151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
# File 'lib/amocrm/models/lead_update_by_id_params.rb', line 151

class Company < Amocrm::Internal::Type::BaseModel
  # @!attribute id
  #
  #   @return [Integer, nil]
  optional :id, Integer

  # @!attribute name
  #
  #   @return [String, nil]
  optional :name, String

  # @!method initialize(id: nil, name: nil)
  #   @param id [Integer]
  #   @param name [String]
end

Instance Attribute Details

#idInteger?

Returns:

  • (Integer, nil)


155
# File 'lib/amocrm/models/lead_update_by_id_params.rb', line 155

optional :id, Integer

#nameString?

Returns:

  • (String, nil)


160
# File 'lib/amocrm/models/lead_update_by_id_params.rb', line 160

optional :name, String