Class: Amocrm::Models::CustomerGetByIDResponse::Customer::Embedded::CatalogElement
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Amocrm::Models::CustomerGetByIDResponse::Customer::Embedded::CatalogElement
- Defined in:
- lib/amocrm/models/customer_get_by_id_response.rb,
sig/amocrm/models/customer_get_by_id_response.rbs
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(catalog_elements: nil, companies: nil, contacts: nil, segments: nil, tags: nil) ⇒ CatalogElement
constructor
A new instance of CatalogElement.
- #to_hash ⇒ { id: Integer, _links: top }
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) ⇒ CatalogElement
Returns a new instance of CatalogElement.
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
#_links ⇒ Object?
198 |
# File 'lib/amocrm/models/customer_get_by_id_response.rb', line 198 optional :_links, Amocrm::Internal::Type::Unknown |
#id ⇒ Integer?
193 |
# File 'lib/amocrm/models/customer_get_by_id_response.rb', line 193 optional :id, Integer |
Instance Method Details
#to_hash ⇒ { id: Integer, _links: top }
244 |
# File 'sig/amocrm/models/customer_get_by_id_response.rbs', line 244
def to_hash: -> { id: Integer, _links: top }
|