Class: Amocrm::Models::LeadGetByIDResponse::Lead::Embedded

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

Overview

See Also:

Defined Under Namespace

Classes: CatalogElement, Company, Contact, LossReason, Source, Tag

Instance Attribute Summary collapse

Class Method 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(id: nil, name: nil) ⇒ Object

Parameters:

  • id (Integer) (defaults to: nil)
  • name (String) (defaults to: nil)


# File 'lib/amocrm/models/lead_get_by_id_response.rb', line 217

Instance Attribute Details

#catalog_elementsArray<Amocrm::Models::LeadGetByIDResponse::Lead::Embedded::CatalogElement>?



167
168
# File 'lib/amocrm/models/lead_get_by_id_response.rb', line 167

optional :catalog_elements,
-> { Amocrm::Internal::Type::ArrayOf[Amocrm::Models::LeadGetByIDResponse::Lead::Embedded::CatalogElement] }

#companiesArray<Amocrm::Models::LeadGetByIDResponse::Lead::Embedded::Company>?



173
174
# File 'lib/amocrm/models/lead_get_by_id_response.rb', line 173

optional :companies,
-> { Amocrm::Internal::Type::ArrayOf[Amocrm::Models::LeadGetByIDResponse::Lead::Embedded::Company] }

#contactsArray<Amocrm::Models::LeadGetByIDResponse::Lead::Embedded::Contact>?



179
180
# File 'lib/amocrm/models/lead_get_by_id_response.rb', line 179

optional :contacts,
-> { Amocrm::Internal::Type::ArrayOf[Amocrm::Models::LeadGetByIDResponse::Lead::Embedded::Contact] }

#loss_reasonAmocrm::Models::LeadGetByIDResponse::Lead::Embedded::LossReason?



185
# File 'lib/amocrm/models/lead_get_by_id_response.rb', line 185

optional :loss_reason, -> { Amocrm::Models::LeadGetByIDResponse::Lead::Embedded::LossReason }

#sourceAmocrm::Models::LeadGetByIDResponse::Lead::Embedded::Source?



190
# File 'lib/amocrm/models/lead_get_by_id_response.rb', line 190

optional :source, -> { Amocrm::Models::LeadGetByIDResponse::Lead::Embedded::Source }

#tagsArray<Amocrm::Models::LeadGetByIDResponse::Lead::Embedded::Tag>?



195
196
# File 'lib/amocrm/models/lead_get_by_id_response.rb', line 195

optional :tags,
-> { Amocrm::Internal::Type::ArrayOf[Amocrm::Models::LeadGetByIDResponse::Lead::Embedded::Tag] }

Class Method Details

.variantsArray(String, Integer, Boolean)

Returns:

  • (Array(String, Integer, Boolean))


# File 'lib/amocrm/models/lead_get_by_id_response.rb', line 297