Class: Amocrm::Models::CustomerGetByIDResponse::Customer::Embedded::CatalogElement

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



189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
# File 'lib/amocrm/models/customer_get_by_id_response.rb', line 189

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

  # @!attribute _links
  #
  #   @return [Object, nil]
  optional :_links, Amocrm::Internal::Type::Unknown

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

Instance Attribute Details

Returns:

  • (Object, nil)


198
# File 'lib/amocrm/models/customer_get_by_id_response.rb', line 198

optional :_links, Amocrm::Internal::Type::Unknown

#idInteger?

Returns:

  • (Integer, nil)


193
# File 'lib/amocrm/models/customer_get_by_id_response.rb', line 193

optional :id, Integer