Class: Amocrm::Models::ContactUpdateByIDParams

Inherits:
Internal::Type::BaseModel show all
Extended by:
Internal::Type::RequestParameters::Converter
Includes:
Internal::Type::RequestParameters
Defined in:
lib/amocrm/models/contact_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/contact_update_by_id_params.rb', line 136

Instance Attribute Details

#_embeddedAmocrm::Models::ContactUpdateByIDParams::Embedded?



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

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

#created_atInteger?

Returns:

  • (Integer, nil)


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

optional :created_at, Integer

#created_byInteger?

Returns:

  • (Integer, nil)


28
# File 'lib/amocrm/models/contact_update_by_id_params.rb', line 28

optional :created_by, Integer

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

Custom fields payload



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

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

#first_nameString?

Returns:

  • (String, nil)


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

optional :first_name, String

#idInteger

Returns:

  • (Integer)


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

required :id, Integer

#last_nameString?

Returns:

  • (String, nil)


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

optional :last_name, String

#nameString?

Returns:

  • (String, nil)


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

optional :name, String

#responsible_user_idInteger?

Returns:

  • (Integer, nil)


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

optional :responsible_user_id, Integer

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

Tags to attach



61
# File 'lib/amocrm/models/contact_update_by_id_params.rb', line 61

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

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

Tags to delete



67
68
# File 'lib/amocrm/models/contact_update_by_id_params.rb', line 67

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

#updated_atInteger?

Returns:

  • (Integer, nil)


73
# File 'lib/amocrm/models/contact_update_by_id_params.rb', line 73

optional :updated_at, Integer

#updated_byInteger?

Returns:

  • (Integer, nil)


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

optional :updated_by, Integer

Class Method Details

.variantsArray(String, Integer, Boolean)

Returns:

  • (Array(String, Integer, Boolean))


# File 'lib/amocrm/models/contact_update_by_id_params.rb', line 205