Class: Amocrm::Models::LeadGetByIDResponse::Lead::Embedded::CatalogElement
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Amocrm::Models::LeadGetByIDResponse::Lead::Embedded::CatalogElement
- Defined in:
- lib/amocrm/models/lead_get_by_id_response.rb,
sig/amocrm/models/lead_get_by_id_response.rbs
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(catalog_elements: nil, companies: nil, contacts: nil, loss_reason: nil, source: nil, tags: nil) ⇒ CatalogElement
constructor
A new instance of CatalogElement.
- #to_hash ⇒ { id: Integer, metadata: 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, loss_reason: nil, source: nil, tags: nil) ⇒ CatalogElement
Returns a new instance of CatalogElement.
206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 |
# File 'lib/amocrm/models/lead_get_by_id_response.rb', line 206 class CatalogElement < Amocrm::Internal::Type::BaseModel # @!attribute id # # @return [Integer, nil] optional :id, Integer # @!attribute metadata # # @return [Object, nil] optional :metadata, Amocrm::Internal::Type::Unknown # @!method initialize(id: nil, metadata: nil) # @param id [Integer] # @param metadata [Object] end |
Instance Attribute Details
#id ⇒ Integer?
210 |
# File 'lib/amocrm/models/lead_get_by_id_response.rb', line 210 optional :id, Integer |
#metadata ⇒ Object?
215 |
# File 'lib/amocrm/models/lead_get_by_id_response.rb', line 215 optional :metadata, Amocrm::Internal::Type::Unknown |
Instance Method Details
#to_hash ⇒ { id: Integer, metadata: top }
265 |
# File 'sig/amocrm/models/lead_get_by_id_response.rbs', line 265
def to_hash: -> { id: Integer, metadata: top }
|