Class: Amocrm::Models::CatalogElementCreateParams::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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
|
# File 'lib/amocrm/models/catalog_element_create_params.rb', line 81
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?
90
|
# File 'lib/amocrm/models/catalog_element_create_params.rb', line 90
optional :enum_code, String
|
#enum_id ⇒ Integer?
95
|
# File 'lib/amocrm/models/catalog_element_create_params.rb', line 95
optional :enum_id, Integer
|
#value ⇒ Object
85
|
# File 'lib/amocrm/models/catalog_element_create_params.rb', line 85
required :value, Amocrm::Internal::Type::Unknown
|
Instance Method Details
#to_hash ⇒ { value: top, enum_code: String, enum_id: Integer }
125
|
# File 'sig/amocrm/models/catalog_element_create_params.rbs', line 125
def to_hash: -> { value: top, enum_code: String, enum_id: Integer }
|