Class: Amocrm::Models::CatalogElementUpdateByIDParams::CustomFieldsValue::Value
- Inherits:
-
Internal::Type::BaseModel
show all
- Defined in:
- lib/amocrm/models/catalog_element_update_by_id_params.rb,
sig/amocrm/models/catalog_element_update_by_id_params.rbs
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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
|
# File 'lib/amocrm/models/catalog_element_update_by_id_params.rb', line 78
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?
87
|
# File 'lib/amocrm/models/catalog_element_update_by_id_params.rb', line 87
optional :enum_code, String
|
#enum_id ⇒ Integer?
92
|
# File 'lib/amocrm/models/catalog_element_update_by_id_params.rb', line 92
optional :enum_id, Integer
|
#value ⇒ Object
82
|
# File 'lib/amocrm/models/catalog_element_update_by_id_params.rb', line 82
required :value, Amocrm::Internal::Type::Unknown
|
Instance Method Details
#to_hash ⇒ { value: top, enum_code: String, enum_id: Integer }
116
|
# File 'sig/amocrm/models/catalog_element_update_by_id_params.rbs', line 116
def to_hash: -> { value: top, enum_code: String, enum_id: Integer }
|