Class: Amocrm::Models::CustomFieldUpdateByIDParams

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

Overview

Instance Attribute Summary collapse

Attributes included from Internal::Type::RequestParameters

#request_options

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(entity_type:, id:, code: nil, enums: nil, group_id: nil, is_deletable: nil, is_multiple: nil, is_required: nil, is_visible: nil, name: nil, settings: nil, sort: nil, type: nil, request_options: {}) ⇒ Object

Parameters:

  • entity_type (String)
  • id (Integer)
  • code (String) (defaults to: nil)
  • enums (Array<Object>) (defaults to: nil)
  • group_id (Integer) (defaults to: nil)
  • is_deletable (Boolean) (defaults to: nil)
  • is_multiple (Boolean) (defaults to: nil)
  • is_required (Boolean) (defaults to: nil)
  • is_visible (Boolean) (defaults to: nil)
  • name (String) (defaults to: nil)
  • settings (Object) (defaults to: nil)
  • sort (Integer) (defaults to: nil)
  • type (String) (defaults to: nil)
  • request_options (Amocrm::RequestOptions, Hash{Symbol=>Object}) (defaults to: {})


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

Instance Attribute Details

#codeString?

Returns:

  • (String, nil)


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

optional :code, String

#entity_typeString

Returns:

  • (String)


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

required :entity_type, String

#enumsArray<Object>?

Returns:

  • (Array<Object>, nil)


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

optional :enums, Amocrm::Internal::Type::ArrayOf[Amocrm::Internal::Type::Unknown]

#group_idInteger?

Returns:

  • (Integer, nil)


33
# File 'lib/amocrm/models/custom_field_update_by_id_params.rb', line 33

optional :group_id, Integer

#idInteger

Returns:

  • (Integer)


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

required :id, Integer

#is_deletableBoolean?

Returns:

  • (Boolean, nil)


38
# File 'lib/amocrm/models/custom_field_update_by_id_params.rb', line 38

optional :is_deletable, Amocrm::Internal::Type::Boolean

#is_multipleBoolean?

Returns:

  • (Boolean, nil)


43
# File 'lib/amocrm/models/custom_field_update_by_id_params.rb', line 43

optional :is_multiple, Amocrm::Internal::Type::Boolean

#is_requiredBoolean?

Returns:

  • (Boolean, nil)


48
# File 'lib/amocrm/models/custom_field_update_by_id_params.rb', line 48

optional :is_required, Amocrm::Internal::Type::Boolean

#is_visibleBoolean?

Returns:

  • (Boolean, nil)


53
# File 'lib/amocrm/models/custom_field_update_by_id_params.rb', line 53

optional :is_visible, Amocrm::Internal::Type::Boolean

#nameString?

Returns:

  • (String, nil)


58
# File 'lib/amocrm/models/custom_field_update_by_id_params.rb', line 58

optional :name, String

#settingsObject?

Returns:

  • (Object, nil)


63
# File 'lib/amocrm/models/custom_field_update_by_id_params.rb', line 63

optional :settings, Amocrm::Internal::Type::Unknown

#sortInteger?

Returns:

  • (Integer, nil)


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

optional :sort, Integer

#typeString?

Returns:

  • (String, nil)


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

optional :type, String