Class: Amocrm::Models::CatalogUpdateByIDResponse::CatalogUpdateResponse::Embedded::Catalog
Defined Under Namespace
Modules: SDKWidgetCode, Type
Instance Attribute Summary collapse
Class Method Summary
collapse
Instance Method Summary
collapse
-
#initialize(id: nil, _links: nil, account_id: nil, can_add_elements: nil, can_be_deleted: nil, can_link_multiple: nil, can_show_in_cards: nil, created_at: nil, created_by: nil, name: nil, request_id: nil, sdk_widget_code: nil, sort: nil, type: nil, updated_at: nil, updated_by: nil) ⇒ Object
constructor
==, #==, #[], 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(id: nil, _links: nil, account_id: nil, can_add_elements: nil, can_be_deleted: nil, can_link_multiple: nil, can_show_in_cards: nil, created_at: nil, created_by: nil, name: nil, request_id: nil, sdk_widget_code: nil, sort: nil, type: nil, updated_at: nil, updated_by: nil) ⇒ Object
39
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
|
# File 'lib/amocrm/models/catalog_update_by_id_response.rb', line 39
class Catalog < Amocrm::Internal::Type::BaseModel
optional :id, Integer
optional :_links, Amocrm::Internal::Type::Unknown
optional :account_id, Integer
optional :can_add_elements, Amocrm::Internal::Type::Boolean
optional :can_be_deleted, Amocrm::Internal::Type::Boolean
optional :can_link_multiple, Amocrm::Internal::Type::Boolean
optional :can_show_in_cards, Amocrm::Internal::Type::Boolean
optional :created_at, Integer
optional :created_by, Integer
optional :name, String
optional :request_id, String
optional :sdk_widget_code,
union: -> { Amocrm::Models::CatalogUpdateByIDResponse::CatalogUpdateResponse::Embedded::Catalog::SDKWidgetCode },
nil?: true
optional :sort, Integer
optional :type,
union: -> { Amocrm::Models::CatalogUpdateByIDResponse::CatalogUpdateResponse::Embedded::Catalog::Type }
optional :updated_at, Integer
optional :updated_by, Integer
module SDKWidgetCode
extend Amocrm::Internal::Type::Union
variant String
variant Integer
end
module Type
extend Amocrm::Internal::Type::Union
variant const: -> { Amocrm::Models::CatalogUpdateByIDResponse::CatalogUpdateResponse::Embedded::Catalog::Type::REGULAR }
variant const: -> { Amocrm::Models::CatalogUpdateByIDResponse::CatalogUpdateResponse::Embedded::Catalog::Type::INVOICES }
variant const: -> { Amocrm::Models::CatalogUpdateByIDResponse::CatalogUpdateResponse::Embedded::Catalog::Type::PRODUCTS }
variant String
define_sorbet_constant!(:Variants) do
T.type_alias do
T.any(
Amocrm::Models::CatalogUpdateByIDResponse::CatalogUpdateResponse::Embedded::Catalog::Type::TaggedSymbol,
String
)
end
end
REGULAR = :regular
INVOICES = :invoices
PRODUCTS = :products
end
end
|
Instance Attribute Details
#account_id ⇒ Integer?
53
|
# File 'lib/amocrm/models/catalog_update_by_id_response.rb', line 53
optional :account_id, Integer
|
#can_add_elements ⇒ Boolean?
58
|
# File 'lib/amocrm/models/catalog_update_by_id_response.rb', line 58
optional :can_add_elements, Amocrm::Internal::Type::Boolean
|
#can_be_deleted ⇒ Boolean?
63
|
# File 'lib/amocrm/models/catalog_update_by_id_response.rb', line 63
optional :can_be_deleted, Amocrm::Internal::Type::Boolean
|
#can_link_multiple ⇒ Boolean?
68
|
# File 'lib/amocrm/models/catalog_update_by_id_response.rb', line 68
optional :can_link_multiple, Amocrm::Internal::Type::Boolean
|
#can_show_in_cards ⇒ Boolean?
73
|
# File 'lib/amocrm/models/catalog_update_by_id_response.rb', line 73
optional :can_show_in_cards, Amocrm::Internal::Type::Boolean
|
#created_at ⇒ Integer?
78
|
# File 'lib/amocrm/models/catalog_update_by_id_response.rb', line 78
optional :created_at, Integer
|
#created_by ⇒ Integer?
83
|
# File 'lib/amocrm/models/catalog_update_by_id_response.rb', line 83
optional :created_by, Integer
|
#id ⇒ Integer?
43
|
# File 'lib/amocrm/models/catalog_update_by_id_response.rb', line 43
optional :id, Integer
|
#name ⇒ String?
88
|
# File 'lib/amocrm/models/catalog_update_by_id_response.rb', line 88
optional :name, String
|
#request_id ⇒ String?
93
|
# File 'lib/amocrm/models/catalog_update_by_id_response.rb', line 93
optional :request_id, String
|
#sort ⇒ Integer?
105
|
# File 'lib/amocrm/models/catalog_update_by_id_response.rb', line 105
optional :sort, Integer
|
#updated_at ⇒ Integer?
116
|
# File 'lib/amocrm/models/catalog_update_by_id_response.rb', line 116
optional :updated_at, Integer
|
#updated_by ⇒ Integer?
121
|
# File 'lib/amocrm/models/catalog_update_by_id_response.rb', line 121
optional :updated_by, Integer
|
Class Method Details
.variants ⇒ Array(String, Integer)
|
# File 'lib/amocrm/models/catalog_update_by_id_response.rb', line 149
|