Class: Amocrm::Models::CatalogElementGetByIDResponse::CatalogElement::CustomFieldsValue::Value

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/amocrm/models/catalog_element_get_by_id_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(values:, field_code: nil, field_id: nil, field_name: nil, field_type: nil) ⇒ Object

Parameters:



154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
# File 'lib/amocrm/models/catalog_element_get_by_id_response.rb', line 154

class Value < Amocrm::Internal::Type::BaseModel
  # @!attribute value
  #
  #   @return [Object]
  required :value, Amocrm::Internal::Type::Unknown

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

  # @!attribute enum_id
  #
  #   @return [Integer, nil]
  optional :enum_id, Integer

  # @!method initialize(value:, enum_code: nil, enum_id: nil)
  #   @param value [Object]
  #   @param enum_code [String]
  #   @param enum_id [Integer]
end

Instance Attribute Details

#enum_codeString?

Returns:

  • (String, nil)


163
# File 'lib/amocrm/models/catalog_element_get_by_id_response.rb', line 163

optional :enum_code, String

#enum_idInteger?

Returns:

  • (Integer, nil)


168
# File 'lib/amocrm/models/catalog_element_get_by_id_response.rb', line 168

optional :enum_id, Integer

#valueObject

Returns:

  • (Object)


158
# File 'lib/amocrm/models/catalog_element_get_by_id_response.rb', line 158

required :value, Amocrm::Internal::Type::Unknown