Class: Amocrm::Models::CustomerUpdateByIDParams

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

Instance Attribute Details

#_embeddedAmocrm::Models::CustomerUpdateByIDParams::Embedded?



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

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

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



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

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

#idInteger

Returns:

  • (Integer)


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

required :id, Integer

#main_user_idInteger?

Returns:

  • (Integer, nil)


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

optional :main_user_id, Integer

#nameString?

Returns:

  • (String, nil)


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

optional :name, String

#next_dateInteger?

Returns:

  • (Integer, nil)


39
# File 'lib/amocrm/models/customer_update_by_id_params.rb', line 39

optional :next_date, Integer

#next_priceInteger?

Returns:

  • (Integer, nil)


44
# File 'lib/amocrm/models/customer_update_by_id_params.rb', line 44

optional :next_price, Integer

#periodicityInteger?

Returns:

  • (Integer, nil)


49
# File 'lib/amocrm/models/customer_update_by_id_params.rb', line 49

optional :periodicity, Integer

#responsible_user_idInteger?

Returns:

  • (Integer, nil)


54
# File 'lib/amocrm/models/customer_update_by_id_params.rb', line 54

optional :responsible_user_id, Integer

#status_idInteger?

Returns:

  • (Integer, nil)


59
# File 'lib/amocrm/models/customer_update_by_id_params.rb', line 59

optional :status_id, Integer

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



64
# File 'lib/amocrm/models/customer_update_by_id_params.rb', line 64

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

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



69
70
# File 'lib/amocrm/models/customer_update_by_id_params.rb', line 69

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

#updated_atInteger?

Returns:

  • (Integer, nil)


75
# File 'lib/amocrm/models/customer_update_by_id_params.rb', line 75

optional :updated_at, Integer

#updated_byInteger?

Returns:

  • (Integer, nil)


80
# File 'lib/amocrm/models/customer_update_by_id_params.rb', line 80

optional :updated_by, Integer

Class Method Details

.variantsArray(String, Integer, Boolean)

Returns:

  • (Array(String, Integer, Boolean))


# File 'lib/amocrm/models/customer_update_by_id_params.rb', line 219