Class: Amocrm::Models::TalkGetByIDResponse::Talk::Embedded

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

Overview

See Also:

Defined Under Namespace

Classes: Contact, Customer, Lead

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/talk_get_by_id_response.rb', line 142

Instance Attribute Details

#contactsArray<Amocrm::Models::TalkGetByIDResponse::Talk::Embedded::Contact>?



111
112
# File 'lib/amocrm/models/talk_get_by_id_response.rb', line 111

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

#customersArray<Amocrm::Models::TalkGetByIDResponse::Talk::Embedded::Customer>?



117
118
# File 'lib/amocrm/models/talk_get_by_id_response.rb', line 117

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

#leadsArray<Amocrm::Models::TalkGetByIDResponse::Talk::Embedded::Lead>?



123
124
# File 'lib/amocrm/models/talk_get_by_id_response.rb', line 123

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