Class: Amocrm::Models::CatalogElementUpdateByIDParams::CustomFieldsValue
- 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
Defined Under Namespace
Classes: 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(catalog_id:, id:, custom_fields_values: nil, name: nil, request_id: nil, request_options: {}) ⇒ Object
44
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
|
# File 'lib/amocrm/models/catalog_element_update_by_id_params.rb', line 44
class CustomFieldsValue < Amocrm::Internal::Type::BaseModel
required :values,
-> { Amocrm::Internal::Type::ArrayOf[Amocrm::CatalogElementUpdateByIDParams::CustomFieldsValue::Value] }
optional :field_code, String
optional :field_id, Integer
optional :field_name, String
optional :field_type, String
class Value < Amocrm::Internal::Type::BaseModel
required :value, Amocrm::Internal::Type::Unknown
optional :enum_code, String
optional :enum_id, Integer
end
end
|
Instance Attribute Details
#field_code ⇒ String?
54
|
# File 'lib/amocrm/models/catalog_element_update_by_id_params.rb', line 54
optional :field_code, String
|
#field_id ⇒ Integer?
59
|
# File 'lib/amocrm/models/catalog_element_update_by_id_params.rb', line 59
optional :field_id, Integer
|
#field_name ⇒ String?
64
|
# File 'lib/amocrm/models/catalog_element_update_by_id_params.rb', line 64
optional :field_name, String
|
#field_type ⇒ String?
69
|
# File 'lib/amocrm/models/catalog_element_update_by_id_params.rb', line 69
optional :field_type, String
|
48
49
|
# File 'lib/amocrm/models/catalog_element_update_by_id_params.rb', line 48
required :values,
-> { Amocrm::Internal::Type::ArrayOf[Amocrm::CatalogElementUpdateByIDParams::CustomFieldsValue::Value] }
|
Instance Method Details
#to_hash ⇒ {
89
|
# File 'sig/amocrm/models/catalog_element_update_by_id_params.rbs', line 89
def to_hash: -> {
|