Class: Amocrm::Models::CustomFieldListResponse::CustomFieldListResponse::Embedded::CustomField

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/amocrm/models/custom_field_list_response.rb

Instance Attribute Summary collapse

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(custom_fields: nil) ⇒ Object



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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
# File 'lib/amocrm/models/custom_field_list_response.rb', line 45

class CustomField < Amocrm::Internal::Type::BaseModel
  # @!attribute id
  #
  #   @return [Integer, nil]
  optional :id, Integer

  # @!attribute code
  #
  #   @return [String, nil]
  optional :code, String

  # @!attribute entity_type
  #
  #   @return [String, nil]
  optional :entity_type, 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: nil, code: nil, entity_type: 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]
  #   @param code [String]
  #   @param entity_type [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

#codeString?

Returns:

  • (String, nil)


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

optional :code, String

#entity_typeString?

Returns:

  • (String, nil)


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

optional :entity_type, String

#enumsArray<Object>?

Returns:

  • (Array<Object>, nil)


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

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

#group_idInteger?

Returns:

  • (Integer, nil)


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

optional :group_id, Integer

#idInteger?

Returns:

  • (Integer, nil)


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

optional :id, Integer

#is_deletableBoolean?

Returns:

  • (Boolean, nil)


74
# File 'lib/amocrm/models/custom_field_list_response.rb', line 74

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

#is_multipleBoolean?

Returns:

  • (Boolean, nil)


79
# File 'lib/amocrm/models/custom_field_list_response.rb', line 79

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

#is_requiredBoolean?

Returns:

  • (Boolean, nil)


84
# File 'lib/amocrm/models/custom_field_list_response.rb', line 84

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

#is_visibleBoolean?

Returns:

  • (Boolean, nil)


89
# File 'lib/amocrm/models/custom_field_list_response.rb', line 89

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

#nameString?

Returns:

  • (String, nil)


94
# File 'lib/amocrm/models/custom_field_list_response.rb', line 94

optional :name, String

#settingsObject?

Returns:

  • (Object, nil)


99
# File 'lib/amocrm/models/custom_field_list_response.rb', line 99

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

#sortInteger?

Returns:

  • (Integer, nil)


104
# File 'lib/amocrm/models/custom_field_list_response.rb', line 104

optional :sort, Integer

#typeString?

Returns:

  • (String, nil)


109
# File 'lib/amocrm/models/custom_field_list_response.rb', line 109

optional :type, String