Class: Amocrm::Models::LeadCreateParams::Body::Embedded
Overview
Defined Under Namespace
Classes: Company, Contact, Metadata, Source, Tag
Instance Attribute Summary collapse
Class Method Summary
collapse
Instance Method Summary
collapse
==, #==, #[], 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
#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(id: nil, name: nil) ⇒ Object
|
# File 'lib/amocrm/models/lead_create_params.rb', line 195
|
Instance Attribute Details
151
152
|
# File 'lib/amocrm/models/lead_create_params.rb', line 151
optional :companies,
-> { Amocrm::Internal::Type::ArrayOf[Amocrm::LeadCreateParams::Body::Embedded::Company] }
|
157
158
|
# File 'lib/amocrm/models/lead_create_params.rb', line 157
optional :contacts,
-> { Amocrm::Internal::Type::ArrayOf[Amocrm::LeadCreateParams::Body::Embedded::Contact] }
|
163
|
# File 'lib/amocrm/models/lead_create_params.rb', line 163
optional :metadata, -> { Amocrm::LeadCreateParams::Body::Embedded::Metadata }
|
168
|
# File 'lib/amocrm/models/lead_create_params.rb', line 168
optional :source, -> { Amocrm::LeadCreateParams::Body::Embedded::Source }
|
173
|
# File 'lib/amocrm/models/lead_create_params.rb', line 173
optional :tags, -> { Amocrm::Internal::Type::ArrayOf[Amocrm::LeadCreateParams::Body::Embedded::Tag] }
|
Class Method Details
.variants ⇒ Array(String, Integer, Boolean)
|
# File 'lib/amocrm/models/lead_create_params.rb', line 302
|
Instance Method Details
#to_hash ⇒ {
207
|
# File 'sig/amocrm/models/lead_create_params.rbs', line 207
def to_hash: -> {
|