Class: Amocrm::Models::LeadUpdateByIDParams

Inherits:
Internal::Type::BaseModel show all
Extended by:
Internal::Type::RequestParameters::Converter
Includes:
Internal::Type::RequestParameters
Defined in:
lib/amocrm/models/lead_update_by_id_params.rb

Overview

Defined Under Namespace

Classes: CustomFieldsValue, Embedded, TagsToAdd, TagsToDelete

Instance Attribute Summary collapse

Attributes included from Internal::Type::RequestParameters

#request_options

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Internal::Type::RequestParameters::Converter

dump_request

Methods included from Internal::Type::RequestParameters

included

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/lead_update_by_id_params.rb', line 433

Instance Attribute Details

#_embeddedAmocrm::Models::LeadUpdateByIDParams::Embedded?



18
# File 'lib/amocrm/models/lead_update_by_id_params.rb', line 18

optional :_embedded, -> { Amocrm::LeadUpdateByIDParams::Embedded }

#closed_atInteger?

Returns:

  • (Integer, nil)


23
# File 'lib/amocrm/models/lead_update_by_id_params.rb', line 23

optional :closed_at, Integer

#custom_fields_valuesArray<Amocrm::Models::LeadUpdateByIDParams::CustomFieldsValue>?

Custom fields payload



29
30
# File 'lib/amocrm/models/lead_update_by_id_params.rb', line 29

optional :custom_fields_values,
-> { Amocrm::Internal::Type::ArrayOf[Amocrm::LeadUpdateByIDParams::CustomFieldsValue] }

#group_idInteger?

Returns:

  • (Integer, nil)


35
# File 'lib/amocrm/models/lead_update_by_id_params.rb', line 35

optional :group_id, Integer

#idInteger

Returns:

  • (Integer)


13
# File 'lib/amocrm/models/lead_update_by_id_params.rb', line 13

required :id, Integer

#loss_reason_idInteger?

Returns:

  • (Integer, nil)


40
# File 'lib/amocrm/models/lead_update_by_id_params.rb', line 40

optional :loss_reason_id, Integer

#nameString?

Returns:

  • (String, nil)


45
# File 'lib/amocrm/models/lead_update_by_id_params.rb', line 45

optional :name, String

#pipeline_idInteger?

Returns:

  • (Integer, nil)


50
# File 'lib/amocrm/models/lead_update_by_id_params.rb', line 50

optional :pipeline_id, Integer

#priceInteger?

Returns:

  • (Integer, nil)


55
# File 'lib/amocrm/models/lead_update_by_id_params.rb', line 55

optional :price, Integer

#responsible_user_idInteger?

Returns:

  • (Integer, nil)


60
# File 'lib/amocrm/models/lead_update_by_id_params.rb', line 60

optional :responsible_user_id, Integer

#status_idInteger?

Returns:

  • (Integer, nil)


65
# File 'lib/amocrm/models/lead_update_by_id_params.rb', line 65

optional :status_id, Integer

#tags_to_addArray<Amocrm::Models::LeadUpdateByIDParams::TagsToAdd>?

Tags to attach



71
# File 'lib/amocrm/models/lead_update_by_id_params.rb', line 71

optional :tags_to_add, -> { Amocrm::Internal::Type::ArrayOf[Amocrm::LeadUpdateByIDParams::TagsToAdd] }

#tags_to_deleteArray<Amocrm::Models::LeadUpdateByIDParams::TagsToDelete>?

Tags to delete



77
78
# File 'lib/amocrm/models/lead_update_by_id_params.rb', line 77

optional :tags_to_delete,
-> { Amocrm::Internal::Type::ArrayOf[Amocrm::LeadUpdateByIDParams::TagsToDelete] }

#updated_atInteger?

Returns:

  • (Integer, nil)


83
# File 'lib/amocrm/models/lead_update_by_id_params.rb', line 83

optional :updated_at, Integer

Class Method Details

.variantsArray(String, Integer, Boolean)

Returns:

  • (Array(String, Integer, Boolean))


# File 'lib/amocrm/models/lead_update_by_id_params.rb', line 502