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

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

Defined Under Namespace

Classes: CustomFieldsValue, Embedded, TagsToAdd

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, color: nil, name: nil) ⇒ Object

Parameters:

  • id (Integer) (defaults to: nil)
  • color (String) (defaults to: nil)
  • name (String) (defaults to: nil)


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

Instance Attribute Details

#_embeddedAmocrm::Models::UnsortedLeadCreateFormsParams::Body::Embedded::Lead::Embedded?

Embedded entities (lead/contact/company/source)



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

optional :_embedded, -> { Amocrm::UnsortedLeadCreateFormsParams::Body::Embedded::Lead::Embedded }

#closed_atInteger?

Returns:

  • (Integer, nil)


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

optional :closed_at, Integer

#created_atInteger?

Returns:

  • (Integer, nil)


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

optional :created_at, Integer

#created_byInteger?

Returns:

  • (Integer, nil)


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

optional :created_by, Integer

#custom_fields_valuesArray<Amocrm::Models::UnsortedLeadCreateFormsParams::Body::Embedded::Lead::CustomFieldsValue>?

Custom fields payload



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

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

#group_idInteger?

Returns:

  • (Integer, nil)


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

optional :group_id, Integer

#loss_reason_idInteger?

Returns:

  • (Integer, nil)


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

optional :loss_reason_id, Integer

#nameString?

Returns:

  • (String, nil)


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

optional :name, String

#pipeline_idInteger?

Returns:

  • (Integer, nil)


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

optional :pipeline_id, Integer

#priceInteger?

Returns:

  • (Integer, nil)


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

optional :price, Integer

#request_idString?

Client-side request id

Returns:

  • (String, nil)


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

optional :request_id, String

#responsible_user_idInteger?

Returns:

  • (Integer, nil)


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

optional :responsible_user_id, Integer

#status_idInteger?

Returns:

  • (Integer, nil)


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

optional :status_id, Integer

#tags_to_addArray<Amocrm::Models::UnsortedLeadCreateFormsParams::Body::Embedded::Lead::TagsToAdd>?

Tags to attach



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

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

#updated_atInteger?

Returns:

  • (Integer, nil)


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

optional :updated_at, Integer

#updated_byInteger?

Returns:

  • (Integer, nil)


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

optional :updated_by, Integer

#visitor_uidString?

Website visitor uid from tracking; links this lead to a site visit

Returns:

  • (String, nil)


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

optional :visitor_uid, String

Class Method Details

.variantsArray(String, Integer, Boolean)

Returns:

  • (Array(String, Integer, Boolean))


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