Class: Amocrm::Models::CustomFieldUpdateParams::Body
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Amocrm::Models::CustomFieldUpdateParams::Body
- Defined in:
- lib/amocrm/models/custom_field_update_params.rb
Instance Attribute Summary collapse
- #code ⇒ String?
- #enums ⇒ Array<Object>?
- #group_id ⇒ Integer?
-
#id ⇒ Integer
Custom field id.
- #is_deletable ⇒ Boolean?
- #is_multiple ⇒ Boolean?
- #is_required ⇒ Boolean?
- #is_visible ⇒ Boolean?
- #name ⇒ String?
- #settings ⇒ Object?
- #sort ⇒ Integer?
- #type ⇒ String?
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:, 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) ⇒ Object
25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 |
# File 'lib/amocrm/models/custom_field_update_params.rb', line 25 class Body < Amocrm::Internal::Type::BaseModel # @!attribute id # Custom field id # # @return [Integer] required :id, Integer # @!attribute code # # @return [String, nil] optional :code, String # @!attribute enums # # @return [Array<Object>, nil] optional :enums, Amocrm::Internal::Type::ArrayOf[Amocrm::Internal::Type::Unknown] # @!attribute group_id # # @return [Integer, nil] optional :group_id, Integer # @!attribute is_deletable # # @return [Boolean, nil] optional :is_deletable, Amocrm::Internal::Type::Boolean # @!attribute is_multiple # # @return [Boolean, nil] optional :is_multiple, Amocrm::Internal::Type::Boolean # @!attribute is_required # # @return [Boolean, nil] optional :is_required, Amocrm::Internal::Type::Boolean # @!attribute is_visible # # @return [Boolean, nil] optional :is_visible, Amocrm::Internal::Type::Boolean # @!attribute name # # @return [String, nil] optional :name, String # @!attribute settings # # @return [Object, nil] optional :settings, Amocrm::Internal::Type::Unknown # @!attribute sort # # @return [Integer, nil] optional :sort, Integer # @!attribute type # # @return [String, nil] optional :type, String # @!method initialize(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) # @param id [Integer] Custom field id # # @param code [String] # # @param enums [Array<Object>] # # @param group_id [Integer] # # @param is_deletable [Boolean] # # @param is_multiple [Boolean] # # @param is_required [Boolean] # # @param is_visible [Boolean] # # @param name [String] # # @param settings [Object] # # @param sort [Integer] # # @param type [String] end |
Instance Attribute Details
#code ⇒ String?
35 |
# File 'lib/amocrm/models/custom_field_update_params.rb', line 35 optional :code, String |
#enums ⇒ Array<Object>?
40 |
# File 'lib/amocrm/models/custom_field_update_params.rb', line 40 optional :enums, Amocrm::Internal::Type::ArrayOf[Amocrm::Internal::Type::Unknown] |
#group_id ⇒ Integer?
45 |
# File 'lib/amocrm/models/custom_field_update_params.rb', line 45 optional :group_id, Integer |
#id ⇒ Integer
Custom field id
30 |
# File 'lib/amocrm/models/custom_field_update_params.rb', line 30 required :id, Integer |
#is_deletable ⇒ Boolean?
50 |
# File 'lib/amocrm/models/custom_field_update_params.rb', line 50 optional :is_deletable, Amocrm::Internal::Type::Boolean |
#is_multiple ⇒ Boolean?
55 |
# File 'lib/amocrm/models/custom_field_update_params.rb', line 55 optional :is_multiple, Amocrm::Internal::Type::Boolean |
#is_required ⇒ Boolean?
60 |
# File 'lib/amocrm/models/custom_field_update_params.rb', line 60 optional :is_required, Amocrm::Internal::Type::Boolean |
#is_visible ⇒ Boolean?
65 |
# File 'lib/amocrm/models/custom_field_update_params.rb', line 65 optional :is_visible, Amocrm::Internal::Type::Boolean |
#name ⇒ String?
70 |
# File 'lib/amocrm/models/custom_field_update_params.rb', line 70 optional :name, String |
#settings ⇒ Object?
75 |
# File 'lib/amocrm/models/custom_field_update_params.rb', line 75 optional :settings, Amocrm::Internal::Type::Unknown |
#sort ⇒ Integer?
80 |
# File 'lib/amocrm/models/custom_field_update_params.rb', line 80 optional :sort, Integer |
#type ⇒ String?
85 |
# File 'lib/amocrm/models/custom_field_update_params.rb', line 85 optional :type, String |