Class: Amocrm::Models::UnsortedLeadCreateFormsParams::Body::Embedded

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

Overview

See Also:

Defined Under Namespace

Classes: Company, Contact, Lead

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/unsorted_lead_create_forms_params.rb', line 205

Instance Attribute Details

#companiesArray<Amocrm::Models::UnsortedLeadCreateFormsParams::Body::Embedded::Company>?



169
170
# File 'lib/amocrm/models/unsorted_lead_create_forms_params.rb', line 169

optional :companies,
-> { Amocrm::Internal::Type::ArrayOf[Amocrm::UnsortedLeadCreateFormsParams::Body::Embedded::Company] }

#contactsArray<Amocrm::Models::UnsortedLeadCreateFormsParams::Body::Embedded::Contact>?



175
176
# File 'lib/amocrm/models/unsorted_lead_create_forms_params.rb', line 175

optional :contacts,
-> { Amocrm::Internal::Type::ArrayOf[Amocrm::UnsortedLeadCreateFormsParams::Body::Embedded::Contact] }

#leadsArray<Amocrm::Models::UnsortedLeadCreateFormsParams::Body::Embedded::Lead>?

Create related entities together with unsorted (lead/contact/company)



182
183
# File 'lib/amocrm/models/unsorted_lead_create_forms_params.rb', line 182

optional :leads,
-> { Amocrm::Internal::Type::ArrayOf[Amocrm::UnsortedLeadCreateFormsParams::Body::Embedded::Lead] }

Class Method Details

.variantsArray(String, Integer, Boolean)

Returns:

  • (Array(String, Integer, Boolean))


# File 'lib/amocrm/models/unsorted_lead_create_forms_params.rb', line 312