Class: Amocrm::Models::CatalogElementUpdateParams::Body::CustomFieldsValue::Value
Instance Attribute Summary collapse
Instance Method Summary
collapse
==, #==, #[], 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
#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(value:, enum_code: nil, enum_id: nil) ⇒ Object
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
|
# File 'lib/amocrm/models/catalog_element_update_params.rb', line 87
class Value < Amocrm::Internal::Type::BaseModel
required :value, Amocrm::Internal::Type::Unknown
optional :enum_code, String
optional :enum_id, Integer
end
|
Instance Attribute Details
#enum_code ⇒ String?
96
|
# File 'lib/amocrm/models/catalog_element_update_params.rb', line 96
optional :enum_code, String
|
#enum_id ⇒ Integer?
101
|
# File 'lib/amocrm/models/catalog_element_update_params.rb', line 101
optional :enum_id, Integer
|
#value ⇒ Object
91
|
# File 'lib/amocrm/models/catalog_element_update_params.rb', line 91
required :value, Amocrm::Internal::Type::Unknown
|
Instance Method Details
#to_hash ⇒ { value: top, enum_code: String, enum_id: Integer }
132
|
# File 'sig/amocrm/models/catalog_element_update_params.rbs', line 132
def to_hash: -> { value: top, enum_code: String, enum_id: Integer }
|