Class: Amocrm::Models::CatalogElementUpdateResponse::CatalogElementUpdateResponse::Embedded::Element
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Amocrm::Models::CatalogElementUpdateResponse::CatalogElementUpdateResponse::Embedded::Element
show all
- Defined in:
- lib/amocrm/models/catalog_element_update_response.rb,
sig/amocrm/models/catalog_element_update_response.rbs
Defined Under Namespace
Classes: CustomFieldsValue, Embedded
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(message: nil) ⇒ Object
40
41
42
43
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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
|
# File 'lib/amocrm/models/catalog_element_update_response.rb', line 40
class Element < Amocrm::Internal::Type::BaseModel
optional :id, Integer
optional :_embedded,
-> { Amocrm::Models::CatalogElementUpdateResponse::CatalogElementUpdateResponse::Embedded::Element::Embedded }
optional :_links, Amocrm::Internal::Type::Unknown
optional :account_id, Integer
optional :catalog_id, Integer
optional :created_at, Integer
optional :created_by, Integer
optional :custom_fields_values,
-> do
Amocrm::Internal::Type::ArrayOf[
Amocrm::Models::CatalogElementUpdateResponse::CatalogElementUpdateResponse::Embedded::Element::CustomFieldsValue
]
end,
nil?: true
optional :invoice_link, String, nil?: true
optional :is_deleted, Amocrm::Internal::Type::Boolean
optional :name, String
optional :request_id, String
optional :updated_at, Integer
optional :updated_by, Integer
class Embedded < Amocrm::Internal::Type::BaseModel
optional :warning,
-> { Amocrm::Models::CatalogElementUpdateResponse::CatalogElementUpdateResponse::Embedded::Element::Embedded::Warning },
nil?: true
class Warning < Amocrm::Internal::Type::BaseModel
optional :message, String, nil?: true
end
end
class CustomFieldsValue < Amocrm::Internal::Type::BaseModel
required :values,
-> do
Amocrm::Internal::Type::ArrayOf[
Amocrm::Models::CatalogElementUpdateResponse::CatalogElementUpdateResponse::Embedded::Element::CustomFieldsValue::Value
]
end
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
end
|
Instance Attribute Details
49
50
|
# File 'lib/amocrm/models/catalog_element_update_response.rb', line 49
optional :_embedded,
-> { Amocrm::Models::CatalogElementUpdateResponse::CatalogElementUpdateResponse::Embedded::Element::Embedded }
|
#_links ⇒ Object?
55
|
# File 'lib/amocrm/models/catalog_element_update_response.rb', line 55
optional :_links, Amocrm::Internal::Type::Unknown
|
#account_id ⇒ Integer?
60
|
# File 'lib/amocrm/models/catalog_element_update_response.rb', line 60
optional :account_id, Integer
|
#catalog_id ⇒ Integer?
65
|
# File 'lib/amocrm/models/catalog_element_update_response.rb', line 65
optional :catalog_id, Integer
|
#created_at ⇒ Integer?
70
|
# File 'lib/amocrm/models/catalog_element_update_response.rb', line 70
optional :created_at, Integer
|
#created_by ⇒ Integer?
75
|
# File 'lib/amocrm/models/catalog_element_update_response.rb', line 75
optional :created_by, Integer
|
80
81
82
83
84
85
86
|
# File 'lib/amocrm/models/catalog_element_update_response.rb', line 80
optional :custom_fields_values,
-> do
Amocrm::Internal::Type::ArrayOf[
Amocrm::Models::CatalogElementUpdateResponse::CatalogElementUpdateResponse::Embedded::Element::CustomFieldsValue
]
end,
nil?: true
|
#id ⇒ Integer?
44
|
# File 'lib/amocrm/models/catalog_element_update_response.rb', line 44
optional :id, Integer
|
#invoice_link ⇒ String?
91
|
# File 'lib/amocrm/models/catalog_element_update_response.rb', line 91
optional :invoice_link, String, nil?: true
|
#is_deleted ⇒ Boolean?
96
|
# File 'lib/amocrm/models/catalog_element_update_response.rb', line 96
optional :is_deleted, Amocrm::Internal::Type::Boolean
|
#name ⇒ String?
101
|
# File 'lib/amocrm/models/catalog_element_update_response.rb', line 101
optional :name, String
|
#request_id ⇒ String?
106
|
# File 'lib/amocrm/models/catalog_element_update_response.rb', line 106
optional :request_id, String
|
#updated_at ⇒ Integer?
111
|
# File 'lib/amocrm/models/catalog_element_update_response.rb', line 111
optional :updated_at, Integer
|
#updated_by ⇒ Integer?
116
|
# File 'lib/amocrm/models/catalog_element_update_response.rb', line 116
optional :updated_by, Integer
|
Instance Method Details
#to_hash ⇒ {
147
|
# File 'sig/amocrm/models/catalog_element_update_response.rbs', line 147
def to_hash: -> {
|