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

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

Overview

See Also:

Defined Under Namespace

Classes: CatalogElement, Company, Contact, Segment, Tag

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

Parameters:

  • id (Integer) (defaults to: nil)
  • _links (Object) (defaults to: nil)


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

Instance Attribute Details

#catalog_elementsArray<Amocrm::Models::CustomerGetByIDResponse::Customer::Embedded::CatalogElement>?



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

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

#companiesArray<Amocrm::Models::CustomerGetByIDResponse::Customer::Embedded::Company>?



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

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

#contactsArray<Amocrm::Models::CustomerGetByIDResponse::Customer::Embedded::Contact>?



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

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

#segmentsArray<Amocrm::Models::CustomerGetByIDResponse::Customer::Embedded::Segment>?



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

optional :segments,
-> { Amocrm::Internal::Type::ArrayOf[Amocrm::Models::CustomerGetByIDResponse::Customer::Embedded::Segment] }

#tagsArray<Amocrm::Models::CustomerGetByIDResponse::Customer::Embedded::Tag>?



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

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