Class: Amocrm::Models::CompanyGetByIDResponse::Company::Embedded

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

Overview

See Also:

Defined Under Namespace

Classes: CatalogElement, Contact, Customer, Lead, 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/company_get_by_id_response.rb', line 146

Instance Attribute Details

#catalog_elementsArray<Amocrm::Models::CompanyGetByIDResponse::Company::Embedded::CatalogElement>?



101
102
# File 'lib/amocrm/models/company_get_by_id_response.rb', line 101

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

#contactsArray<Amocrm::Models::CompanyGetByIDResponse::Company::Embedded::Contact>?



107
108
# File 'lib/amocrm/models/company_get_by_id_response.rb', line 107

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

#customersArray<Amocrm::Models::CompanyGetByIDResponse::Company::Embedded::Customer>?



113
114
# File 'lib/amocrm/models/company_get_by_id_response.rb', line 113

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

#leadsArray<Amocrm::Models::CompanyGetByIDResponse::Company::Embedded::Lead>?



119
120
# File 'lib/amocrm/models/company_get_by_id_response.rb', line 119

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

#tagsArray<Amocrm::Models::CompanyGetByIDResponse::Company::Embedded::Tag>?



125
126
# File 'lib/amocrm/models/company_get_by_id_response.rb', line 125

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