files.com 1.1.767 → 1.1.769
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +47 -7
- data/_VERSION +1 -1
- data/docs/event_record.md +2 -2
- data/docs/event_subscription.md +8 -8
- data/docs/file.md +37 -0
- data/docs/public_key.md +1 -1
- data/lib/files.com/api.rb +9 -4
- data/lib/files.com/api_client.rb +181 -55
- data/lib/files.com/list.rb +98 -66
- data/lib/files.com/models/action_log.rb +2 -2
- data/lib/files.com/models/action_notification_export.rb +3 -3
- data/lib/files.com/models/action_notification_export_result.rb +2 -2
- data/lib/files.com/models/ai_assistant_personality.rb +10 -8
- data/lib/files.com/models/ai_task.rb +10 -8
- data/lib/files.com/models/api_key.rb +12 -10
- data/lib/files.com/models/api_request_log.rb +2 -2
- data/lib/files.com/models/app.rb +2 -2
- data/lib/files.com/models/as2_incoming_message.rb +2 -2
- data/lib/files.com/models/as2_outgoing_message.rb +2 -2
- data/lib/files.com/models/as2_partner.rb +10 -8
- data/lib/files.com/models/as2_station.rb +10 -8
- data/lib/files.com/models/automation.rb +12 -10
- data/lib/files.com/models/automation_log.rb +2 -2
- data/lib/files.com/models/automation_run.rb +6 -6
- data/lib/files.com/models/bandwidth_snapshot.rb +2 -2
- data/lib/files.com/models/behavior.rb +12 -10
- data/lib/files.com/models/bundle.rb +10 -8
- data/lib/files.com/models/bundle_action.rb +2 -2
- data/lib/files.com/models/bundle_download.rb +2 -2
- data/lib/files.com/models/bundle_notification.rb +10 -8
- data/lib/files.com/models/bundle_recipient.rb +4 -4
- data/lib/files.com/models/bundle_registration.rb +2 -2
- data/lib/files.com/models/chat_session.rb +3 -3
- data/lib/files.com/models/child_site_management_policy.rb +10 -8
- data/lib/files.com/models/clickwrap.rb +10 -8
- data/lib/files.com/models/custom_domain.rb +11 -9
- data/lib/files.com/models/desktop_configuration_profile.rb +10 -8
- data/lib/files.com/models/dns_record.rb +2 -2
- data/lib/files.com/models/email_incoming_message.rb +2 -2
- data/lib/files.com/models/email_log.rb +2 -2
- data/lib/files.com/models/event_channel.rb +10 -8
- data/lib/files.com/models/event_delivery_attempt.rb +3 -3
- data/lib/files.com/models/event_record.rb +4 -4
- data/lib/files.com/models/event_subscription.rb +14 -12
- data/lib/files.com/models/event_target.rb +10 -8
- data/lib/files.com/models/exavault_api_request_log.rb +2 -2
- data/lib/files.com/models/expectation.rb +11 -9
- data/lib/files.com/models/expectation_evaluation.rb +3 -3
- data/lib/files.com/models/expectation_incident.rb +6 -6
- data/lib/files.com/models/external_event.rb +5 -5
- data/lib/files.com/models/file.rb +23 -15
- data/lib/files.com/models/file_comment.rb +9 -7
- data/lib/files.com/models/file_comment_reaction.rb +2 -2
- data/lib/files.com/models/file_migration.rb +1 -1
- data/lib/files.com/models/file_migration_log.rb +2 -2
- data/lib/files.com/models/folder.rb +3 -3
- data/lib/files.com/models/form_field_set.rb +10 -8
- data/lib/files.com/models/ftp_action_log.rb +2 -2
- data/lib/files.com/models/gpg_key.rb +10 -8
- data/lib/files.com/models/group.rb +10 -8
- data/lib/files.com/models/group_user.rb +9 -7
- data/lib/files.com/models/history.rb +10 -10
- data/lib/files.com/models/history_export.rb +3 -3
- data/lib/files.com/models/history_export_result.rb +2 -2
- data/lib/files.com/models/holiday_calendar.rb +10 -8
- data/lib/files.com/models/holiday_region.rb +2 -2
- data/lib/files.com/models/inbound_s3_log.rb +2 -2
- data/lib/files.com/models/inbox_recipient.rb +4 -4
- data/lib/files.com/models/inbox_registration.rb +2 -2
- data/lib/files.com/models/inbox_upload.rb +2 -2
- data/lib/files.com/models/integration_centric_profile.rb +10 -8
- data/lib/files.com/models/invoice.rb +3 -3
- data/lib/files.com/models/ip_address.rb +8 -8
- data/lib/files.com/models/key_lifecycle_rule.rb +10 -8
- data/lib/files.com/models/lock.rb +3 -3
- data/lib/files.com/models/metadata_category.rb +12 -10
- data/lib/files.com/models/notification.rb +10 -8
- data/lib/files.com/models/outbound_connection_log.rb +2 -2
- data/lib/files.com/models/partner.rb +10 -8
- data/lib/files.com/models/partner_channel.rb +10 -8
- data/lib/files.com/models/partner_channel_template.rb +10 -8
- data/lib/files.com/models/partner_site_request.rb +4 -4
- data/lib/files.com/models/payment.rb +3 -3
- data/lib/files.com/models/pending_work_event.rb +3 -3
- data/lib/files.com/models/permission.rb +4 -4
- data/lib/files.com/models/public_hosting_request_log.rb +2 -2
- data/lib/files.com/models/public_key.rb +11 -9
- data/lib/files.com/models/remote_bandwidth_snapshot.rb +2 -2
- data/lib/files.com/models/remote_mount_backend.rb +10 -8
- data/lib/files.com/models/remote_server.rb +13 -11
- data/lib/files.com/models/remote_server_credential.rb +10 -8
- data/lib/files.com/models/request.rb +6 -6
- data/lib/files.com/models/restore.rb +4 -4
- data/lib/files.com/models/schedule.rb +10 -8
- data/lib/files.com/models/scheduled_export.rb +10 -8
- data/lib/files.com/models/scim_log.rb +3 -3
- data/lib/files.com/models/secret.rb +10 -8
- data/lib/files.com/models/session.rb +2 -2
- data/lib/files.com/models/settings_change.rb +2 -2
- data/lib/files.com/models/sftp_action_log.rb +2 -2
- data/lib/files.com/models/sftp_host_key.rb +10 -8
- data/lib/files.com/models/share_group.rb +10 -8
- data/lib/files.com/models/siem_http_destination.rb +10 -8
- data/lib/files.com/models/siem_http_destination_event.rb +3 -3
- data/lib/files.com/models/site.rb +3 -3
- data/lib/files.com/models/site_subdomain_redirect.rb +3 -3
- data/lib/files.com/models/snapshot.rb +10 -8
- data/lib/files.com/models/sso_event.rb +3 -3
- data/lib/files.com/models/sso_strategy.rb +3 -3
- data/lib/files.com/models/style.rb +6 -5
- data/lib/files.com/models/sync.rb +10 -8
- data/lib/files.com/models/sync_log.rb +2 -2
- data/lib/files.com/models/sync_run.rb +3 -3
- data/lib/files.com/models/usage_daily_snapshot.rb +2 -2
- data/lib/files.com/models/usage_snapshot.rb +2 -2
- data/lib/files.com/models/user.rb +10 -8
- data/lib/files.com/models/user_additional_email_recipient.rb +10 -8
- data/lib/files.com/models/user_cipher_use.rb +2 -2
- data/lib/files.com/models/user_lifecycle_rule.rb +10 -8
- data/lib/files.com/models/user_request.rb +5 -5
- data/lib/files.com/models/user_security_event.rb +3 -3
- data/lib/files.com/models/user_sftp_client_use.rb +2 -2
- data/lib/files.com/models/web_dav_action_log.rb +2 -2
- data/lib/files.com/models/webhook_test.rb +2 -2
- data/lib/files.com/models/workspace.rb +10 -8
- data/lib/files.com/response.rb +24 -0
- data/lib/files.com/sizable_io.rb +65 -4
- data/lib/files.com/version.rb +1 -1
- data/lib/files.com.rb +23 -1
- data/spec/language_spec.rb +20 -10
- data/spec/lib/api_client_spec.rb +173 -18
- data/spec/list_spec.rb +203 -187
- data/spec/models/file_transfer_spec.rb +346 -0
- data/spec/models/persistence_spec.rb +167 -0
- data/spec/spec_helper.rb +122 -6
- data/spec/support/stubbed_api.rb +14 -0
- data/spec/support/transfer_server.rb +60 -0
- metadata +5 -1
|
@@ -233,7 +233,9 @@ module Files
|
|
|
233
233
|
raise InvalidParameterError.new("Bad parameter: holiday_region must be an String") if params[:holiday_region] and !params[:holiday_region].is_a?(String)
|
|
234
234
|
raise MissingParameterError.new("Parameter missing: id") unless params[:id]
|
|
235
235
|
|
|
236
|
-
Api.send_request("/scheduled_exports/#{@attributes[:id]}", :patch, params, @options)
|
|
236
|
+
response, options = Api.send_request("/scheduled_exports/#{@attributes[:id]}", :patch, params, @options) { |reply| reply.require_object("ScheduledExport") }
|
|
237
|
+
@attributes = response.data
|
|
238
|
+
[ response, options ]
|
|
237
239
|
end
|
|
238
240
|
|
|
239
241
|
def delete(params = {})
|
|
@@ -253,12 +255,12 @@ module Files
|
|
|
253
255
|
|
|
254
256
|
def save
|
|
255
257
|
if @attributes[:id]
|
|
256
|
-
|
|
258
|
+
update(@attributes)
|
|
257
259
|
else
|
|
258
260
|
new_obj = ScheduledExport.create(@attributes, @options)
|
|
261
|
+
@attributes = new_obj.attributes
|
|
259
262
|
end
|
|
260
263
|
|
|
261
|
-
@attributes = new_obj.attributes
|
|
262
264
|
true
|
|
263
265
|
end
|
|
264
266
|
|
|
@@ -275,8 +277,8 @@ module Files
|
|
|
275
277
|
raise InvalidParameterError.new("Bad parameter: filter must be an Hash") if params[:filter] and !params[:filter].is_a?(Hash)
|
|
276
278
|
raise InvalidParameterError.new("Bad parameter: filter_prefix must be an Hash") if params[:filter_prefix] and !params[:filter_prefix].is_a?(Hash)
|
|
277
279
|
|
|
278
|
-
List.new(ScheduledExport, params) do
|
|
279
|
-
Api.send_request("/scheduled_exports", :get,
|
|
280
|
+
List.new(ScheduledExport, params) do |page_params, &check_page|
|
|
281
|
+
Api.send_request("/scheduled_exports", :get, page_params, options, &check_page)
|
|
280
282
|
end
|
|
281
283
|
end
|
|
282
284
|
|
|
@@ -292,7 +294,7 @@ module Files
|
|
|
292
294
|
raise InvalidParameterError.new("Bad parameter: id must be an Integer") if params[:id] and !params[:id].is_a?(Integer)
|
|
293
295
|
raise MissingParameterError.new("Parameter missing: id") unless params[:id]
|
|
294
296
|
|
|
295
|
-
response, options = Api.send_request("/scheduled_exports/#{params[:id]}", :get, params, options)
|
|
297
|
+
response, options = Api.send_request("/scheduled_exports/#{params[:id]}", :get, params, options) { |reply| reply.require_object("ScheduledExport") }
|
|
296
298
|
ScheduledExport.new(response.data, options)
|
|
297
299
|
end
|
|
298
300
|
|
|
@@ -332,7 +334,7 @@ module Files
|
|
|
332
334
|
raise MissingParameterError.new("Parameter missing: name") unless params[:name]
|
|
333
335
|
raise MissingParameterError.new("Parameter missing: export_type") unless params[:export_type]
|
|
334
336
|
|
|
335
|
-
response, options = Api.send_request("/scheduled_exports", :post, params, options)
|
|
337
|
+
response, options = Api.send_request("/scheduled_exports", :post, params, options) { |reply| reply.require_object("ScheduledExport") }
|
|
336
338
|
ScheduledExport.new(response.data, options)
|
|
337
339
|
end
|
|
338
340
|
|
|
@@ -370,7 +372,7 @@ module Files
|
|
|
370
372
|
raise InvalidParameterError.new("Bad parameter: holiday_region must be an String") if params[:holiday_region] and !params[:holiday_region].is_a?(String)
|
|
371
373
|
raise MissingParameterError.new("Parameter missing: id") unless params[:id]
|
|
372
374
|
|
|
373
|
-
response, options = Api.send_request("/scheduled_exports/#{params[:id]}", :patch, params, options)
|
|
375
|
+
response, options = Api.send_request("/scheduled_exports/#{params[:id]}", :patch, params, options) { |reply| reply.require_object("ScheduledExport") }
|
|
374
376
|
ScheduledExport.new(response.data, options)
|
|
375
377
|
end
|
|
376
378
|
|
|
@@ -58,8 +58,8 @@ module Files
|
|
|
58
58
|
raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
|
|
59
59
|
raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
|
|
60
60
|
|
|
61
|
-
List.new(ScimLog, params) do
|
|
62
|
-
Api.send_request("/scim_logs", :get,
|
|
61
|
+
List.new(ScimLog, params) do |page_params, &check_page|
|
|
62
|
+
Api.send_request("/scim_logs", :get, page_params, options, &check_page)
|
|
63
63
|
end
|
|
64
64
|
end
|
|
65
65
|
|
|
@@ -75,7 +75,7 @@ module Files
|
|
|
75
75
|
raise InvalidParameterError.new("Bad parameter: id must be an Integer") if params[:id] and !params[:id].is_a?(Integer)
|
|
76
76
|
raise MissingParameterError.new("Parameter missing: id") unless params[:id]
|
|
77
77
|
|
|
78
|
-
response, options = Api.send_request("/scim_logs/#{params[:id]}", :get, params, options)
|
|
78
|
+
response, options = Api.send_request("/scim_logs/#{params[:id]}", :get, params, options) { |reply| reply.require_object("ScimLog") }
|
|
79
79
|
ScimLog.new(response.data, options)
|
|
80
80
|
end
|
|
81
81
|
|
|
@@ -97,7 +97,9 @@ module Files
|
|
|
97
97
|
raise InvalidParameterError.new("Bad parameter: secret_type must be an String") if params[:secret_type] and !params[:secret_type].is_a?(String)
|
|
98
98
|
raise MissingParameterError.new("Parameter missing: id") unless params[:id]
|
|
99
99
|
|
|
100
|
-
Api.send_request("/secrets/#{@attributes[:id]}", :patch, params, @options)
|
|
100
|
+
response, options = Api.send_request("/secrets/#{@attributes[:id]}", :patch, params, @options) { |reply| reply.require_object("Secret") }
|
|
101
|
+
@attributes = response.data
|
|
102
|
+
[ response, options ]
|
|
101
103
|
end
|
|
102
104
|
|
|
103
105
|
def delete(params = {})
|
|
@@ -117,12 +119,12 @@ module Files
|
|
|
117
119
|
|
|
118
120
|
def save
|
|
119
121
|
if @attributes[:id]
|
|
120
|
-
|
|
122
|
+
update(@attributes)
|
|
121
123
|
else
|
|
122
124
|
new_obj = Secret.create(@attributes, @options)
|
|
125
|
+
@attributes = new_obj.attributes
|
|
123
126
|
end
|
|
124
127
|
|
|
125
|
-
@attributes = new_obj.attributes
|
|
126
128
|
true
|
|
127
129
|
end
|
|
128
130
|
|
|
@@ -139,8 +141,8 @@ module Files
|
|
|
139
141
|
raise InvalidParameterError.new("Bad parameter: filter must be an Hash") if params[:filter] and !params[:filter].is_a?(Hash)
|
|
140
142
|
raise InvalidParameterError.new("Bad parameter: filter_prefix must be an Hash") if params[:filter_prefix] and !params[:filter_prefix].is_a?(Hash)
|
|
141
143
|
|
|
142
|
-
List.new(Secret, params) do
|
|
143
|
-
Api.send_request("/secrets", :get,
|
|
144
|
+
List.new(Secret, params) do |page_params, &check_page|
|
|
145
|
+
Api.send_request("/secrets", :get, page_params, options, &check_page)
|
|
144
146
|
end
|
|
145
147
|
end
|
|
146
148
|
|
|
@@ -156,7 +158,7 @@ module Files
|
|
|
156
158
|
raise InvalidParameterError.new("Bad parameter: id must be an Integer") if params[:id] and !params[:id].is_a?(Integer)
|
|
157
159
|
raise MissingParameterError.new("Parameter missing: id") unless params[:id]
|
|
158
160
|
|
|
159
|
-
response, options = Api.send_request("/secrets/#{params[:id]}", :get, params, options)
|
|
161
|
+
response, options = Api.send_request("/secrets/#{params[:id]}", :get, params, options) { |reply| reply.require_object("Secret") }
|
|
160
162
|
Secret.new(response.data, options)
|
|
161
163
|
end
|
|
162
164
|
|
|
@@ -179,7 +181,7 @@ module Files
|
|
|
179
181
|
raise MissingParameterError.new("Parameter missing: name") unless params[:name]
|
|
180
182
|
raise MissingParameterError.new("Parameter missing: secret_type") unless params[:secret_type]
|
|
181
183
|
|
|
182
|
-
response, options = Api.send_request("/secrets", :post, params, options)
|
|
184
|
+
response, options = Api.send_request("/secrets", :post, params, options) { |reply| reply.require_object("Secret") }
|
|
183
185
|
Secret.new(response.data, options)
|
|
184
186
|
end
|
|
185
187
|
|
|
@@ -198,7 +200,7 @@ module Files
|
|
|
198
200
|
raise InvalidParameterError.new("Bad parameter: metadata must be an Hash") if params[:metadata] and !params[:metadata].is_a?(Hash)
|
|
199
201
|
raise MissingParameterError.new("Parameter missing: id") unless params[:id]
|
|
200
202
|
|
|
201
|
-
response, options = Api.send_request("/secrets/#{params[:id]}", :patch, params, options)
|
|
203
|
+
response, options = Api.send_request("/secrets/#{params[:id]}", :patch, params, options) { |reply| reply.require_object("Secret") }
|
|
202
204
|
Secret.new(response.data, options)
|
|
203
205
|
end
|
|
204
206
|
|
|
@@ -90,9 +90,9 @@ module Files
|
|
|
90
90
|
raise NotImplementedError.new("The Session object doesn't support updates.")
|
|
91
91
|
else
|
|
92
92
|
new_obj = Session.create(@attributes, @options)
|
|
93
|
+
@attributes = new_obj.attributes
|
|
93
94
|
end
|
|
94
95
|
|
|
95
|
-
@attributes = new_obj.attributes
|
|
96
96
|
true
|
|
97
97
|
end
|
|
98
98
|
|
|
@@ -107,7 +107,7 @@ module Files
|
|
|
107
107
|
raise InvalidParameterError.new("Bad parameter: otp must be an String") if params[:otp] and !params[:otp].is_a?(String)
|
|
108
108
|
raise InvalidParameterError.new("Bad parameter: partial_session_id must be an String") if params[:partial_session_id] and !params[:partial_session_id].is_a?(String)
|
|
109
109
|
|
|
110
|
-
response, options = Api.send_request("/sessions", :post, params, options)
|
|
110
|
+
response, options = Api.send_request("/sessions", :post, params, options) { |reply| reply.require_object("Session") }
|
|
111
111
|
Session.new(response.data, options)
|
|
112
112
|
end
|
|
113
113
|
|
|
@@ -55,8 +55,8 @@ module Files
|
|
|
55
55
|
raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
|
|
56
56
|
raise InvalidParameterError.new("Bad parameter: filter must be an Hash") if params[:filter] and !params[:filter].is_a?(Hash)
|
|
57
57
|
|
|
58
|
-
List.new(SettingsChange, params) do
|
|
59
|
-
Api.send_request("/settings_changes", :get,
|
|
58
|
+
List.new(SettingsChange, params) do |page_params, &check_page|
|
|
59
|
+
Api.send_request("/settings_changes", :get, page_params, options, &check_page)
|
|
60
60
|
end
|
|
61
61
|
end
|
|
62
62
|
|
|
@@ -148,8 +148,8 @@ module Files
|
|
|
148
148
|
raise InvalidParameterError.new("Bad parameter: filter_lt must be an Hash") if params[:filter_lt] and !params[:filter_lt].is_a?(Hash)
|
|
149
149
|
raise InvalidParameterError.new("Bad parameter: filter_lteq must be an Hash") if params[:filter_lteq] and !params[:filter_lteq].is_a?(Hash)
|
|
150
150
|
|
|
151
|
-
List.new(SftpActionLog, params) do
|
|
152
|
-
Api.send_request("/sftp_action_logs", :get,
|
|
151
|
+
List.new(SftpActionLog, params) do |page_params, &check_page|
|
|
152
|
+
Api.send_request("/sftp_action_logs", :get, page_params, options, &check_page)
|
|
153
153
|
end
|
|
154
154
|
end
|
|
155
155
|
|
|
@@ -96,7 +96,9 @@ module Files
|
|
|
96
96
|
raise InvalidParameterError.new("Bad parameter: private_key must be an String") if params[:private_key] and !params[:private_key].is_a?(String)
|
|
97
97
|
raise MissingParameterError.new("Parameter missing: id") unless params[:id]
|
|
98
98
|
|
|
99
|
-
Api.send_request("/sftp_host_keys/#{@attributes[:id]}", :patch, params, @options)
|
|
99
|
+
response, options = Api.send_request("/sftp_host_keys/#{@attributes[:id]}", :patch, params, @options) { |reply| reply.require_object("SftpHostKey") }
|
|
100
|
+
@attributes = response.data
|
|
101
|
+
[ response, options ]
|
|
100
102
|
end
|
|
101
103
|
|
|
102
104
|
def delete(params = {})
|
|
@@ -116,12 +118,12 @@ module Files
|
|
|
116
118
|
|
|
117
119
|
def save
|
|
118
120
|
if @attributes[:id]
|
|
119
|
-
|
|
121
|
+
update(@attributes)
|
|
120
122
|
else
|
|
121
123
|
new_obj = SftpHostKey.create(@attributes, @options)
|
|
124
|
+
@attributes = new_obj.attributes
|
|
122
125
|
end
|
|
123
126
|
|
|
124
|
-
@attributes = new_obj.attributes
|
|
125
127
|
true
|
|
126
128
|
end
|
|
127
129
|
|
|
@@ -132,8 +134,8 @@ module Files
|
|
|
132
134
|
raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
|
|
133
135
|
raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
|
|
134
136
|
|
|
135
|
-
List.new(SftpHostKey, params) do
|
|
136
|
-
Api.send_request("/sftp_host_keys", :get,
|
|
137
|
+
List.new(SftpHostKey, params) do |page_params, &check_page|
|
|
138
|
+
Api.send_request("/sftp_host_keys", :get, page_params, options, &check_page)
|
|
137
139
|
end
|
|
138
140
|
end
|
|
139
141
|
|
|
@@ -149,7 +151,7 @@ module Files
|
|
|
149
151
|
raise InvalidParameterError.new("Bad parameter: id must be an Integer") if params[:id] and !params[:id].is_a?(Integer)
|
|
150
152
|
raise MissingParameterError.new("Parameter missing: id") unless params[:id]
|
|
151
153
|
|
|
152
|
-
response, options = Api.send_request("/sftp_host_keys/#{params[:id]}", :get, params, options)
|
|
154
|
+
response, options = Api.send_request("/sftp_host_keys/#{params[:id]}", :get, params, options) { |reply| reply.require_object("SftpHostKey") }
|
|
153
155
|
SftpHostKey.new(response.data, options)
|
|
154
156
|
end
|
|
155
157
|
|
|
@@ -167,7 +169,7 @@ module Files
|
|
|
167
169
|
raise InvalidParameterError.new("Bad parameter: name must be an String") if params[:name] and !params[:name].is_a?(String)
|
|
168
170
|
raise InvalidParameterError.new("Bad parameter: private_key must be an String") if params[:private_key] and !params[:private_key].is_a?(String)
|
|
169
171
|
|
|
170
|
-
response, options = Api.send_request("/sftp_host_keys", :post, params, options)
|
|
172
|
+
response, options = Api.send_request("/sftp_host_keys", :post, params, options) { |reply| reply.require_object("SftpHostKey") }
|
|
171
173
|
SftpHostKey.new(response.data, options)
|
|
172
174
|
end
|
|
173
175
|
|
|
@@ -185,7 +187,7 @@ module Files
|
|
|
185
187
|
raise InvalidParameterError.new("Bad parameter: private_key must be an String") if params[:private_key] and !params[:private_key].is_a?(String)
|
|
186
188
|
raise MissingParameterError.new("Parameter missing: id") unless params[:id]
|
|
187
189
|
|
|
188
|
-
response, options = Api.send_request("/sftp_host_keys/#{params[:id]}", :patch, params, options)
|
|
190
|
+
response, options = Api.send_request("/sftp_host_keys/#{params[:id]}", :patch, params, options) { |reply| reply.require_object("SftpHostKey") }
|
|
189
191
|
SftpHostKey.new(response.data, options)
|
|
190
192
|
end
|
|
191
193
|
|
|
@@ -68,7 +68,9 @@ module Files
|
|
|
68
68
|
raise InvalidParameterError.new("Bad parameter: members must be an Array") if params[:members] and !params[:members].is_a?(Array)
|
|
69
69
|
raise MissingParameterError.new("Parameter missing: id") unless params[:id]
|
|
70
70
|
|
|
71
|
-
Api.send_request("/share_groups/#{@attributes[:id]}", :patch, params, @options)
|
|
71
|
+
response, options = Api.send_request("/share_groups/#{@attributes[:id]}", :patch, params, @options) { |reply| reply.require_object("ShareGroup") }
|
|
72
|
+
@attributes = response.data
|
|
73
|
+
[ response, options ]
|
|
72
74
|
end
|
|
73
75
|
|
|
74
76
|
def delete(params = {})
|
|
@@ -88,12 +90,12 @@ module Files
|
|
|
88
90
|
|
|
89
91
|
def save
|
|
90
92
|
if @attributes[:id]
|
|
91
|
-
|
|
93
|
+
update(@attributes)
|
|
92
94
|
else
|
|
93
95
|
new_obj = ShareGroup.create(@attributes, @options)
|
|
96
|
+
@attributes = new_obj.attributes
|
|
94
97
|
end
|
|
95
98
|
|
|
96
|
-
@attributes = new_obj.attributes
|
|
97
99
|
true
|
|
98
100
|
end
|
|
99
101
|
|
|
@@ -106,8 +108,8 @@ module Files
|
|
|
106
108
|
raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
|
|
107
109
|
raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
|
|
108
110
|
|
|
109
|
-
List.new(ShareGroup, params) do
|
|
110
|
-
Api.send_request("/share_groups", :get,
|
|
111
|
+
List.new(ShareGroup, params) do |page_params, &check_page|
|
|
112
|
+
Api.send_request("/share_groups", :get, page_params, options, &check_page)
|
|
111
113
|
end
|
|
112
114
|
end
|
|
113
115
|
|
|
@@ -123,7 +125,7 @@ module Files
|
|
|
123
125
|
raise InvalidParameterError.new("Bad parameter: id must be an Integer") if params[:id] and !params[:id].is_a?(Integer)
|
|
124
126
|
raise MissingParameterError.new("Parameter missing: id") unless params[:id]
|
|
125
127
|
|
|
126
|
-
response, options = Api.send_request("/share_groups/#{params[:id]}", :get, params, options)
|
|
128
|
+
response, options = Api.send_request("/share_groups/#{params[:id]}", :get, params, options) { |reply| reply.require_object("ShareGroup") }
|
|
127
129
|
ShareGroup.new(response.data, options)
|
|
128
130
|
end
|
|
129
131
|
|
|
@@ -144,7 +146,7 @@ module Files
|
|
|
144
146
|
raise MissingParameterError.new("Parameter missing: name") unless params[:name]
|
|
145
147
|
raise MissingParameterError.new("Parameter missing: members") unless params[:members]
|
|
146
148
|
|
|
147
|
-
response, options = Api.send_request("/share_groups", :post, params, options)
|
|
149
|
+
response, options = Api.send_request("/share_groups", :post, params, options) { |reply| reply.require_object("ShareGroup") }
|
|
148
150
|
ShareGroup.new(response.data, options)
|
|
149
151
|
end
|
|
150
152
|
|
|
@@ -161,7 +163,7 @@ module Files
|
|
|
161
163
|
raise InvalidParameterError.new("Bad parameter: members must be an Array") if params[:members] and !params[:members].is_a?(Array)
|
|
162
164
|
raise MissingParameterError.new("Parameter missing: id") unless params[:id]
|
|
163
165
|
|
|
164
|
-
response, options = Api.send_request("/share_groups/#{params[:id]}", :patch, params, options)
|
|
166
|
+
response, options = Api.send_request("/share_groups/#{params[:id]}", :patch, params, options) { |reply| reply.require_object("ShareGroup") }
|
|
165
167
|
ShareGroup.new(response.data, options)
|
|
166
168
|
end
|
|
167
169
|
|
|
@@ -627,7 +627,9 @@ module Files
|
|
|
627
627
|
raise InvalidParameterError.new("Bad parameter: destination_url must be an String") if params[:destination_url] and !params[:destination_url].is_a?(String)
|
|
628
628
|
raise MissingParameterError.new("Parameter missing: id") unless params[:id]
|
|
629
629
|
|
|
630
|
-
Api.send_request("/siem_http_destinations/#{@attributes[:id]}", :patch, params, @options)
|
|
630
|
+
response, options = Api.send_request("/siem_http_destinations/#{@attributes[:id]}", :patch, params, @options) { |reply| reply.require_object("SiemHttpDestination") }
|
|
631
|
+
@attributes = response.data
|
|
632
|
+
[ response, options ]
|
|
631
633
|
end
|
|
632
634
|
|
|
633
635
|
def delete(params = {})
|
|
@@ -647,12 +649,12 @@ module Files
|
|
|
647
649
|
|
|
648
650
|
def save
|
|
649
651
|
if @attributes[:id]
|
|
650
|
-
|
|
652
|
+
update(@attributes)
|
|
651
653
|
else
|
|
652
654
|
new_obj = SiemHttpDestination.create(@attributes, @options)
|
|
655
|
+
@attributes = new_obj.attributes
|
|
653
656
|
end
|
|
654
657
|
|
|
655
|
-
@attributes = new_obj.attributes
|
|
656
658
|
true
|
|
657
659
|
end
|
|
658
660
|
|
|
@@ -663,8 +665,8 @@ module Files
|
|
|
663
665
|
raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
|
|
664
666
|
raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
|
|
665
667
|
|
|
666
|
-
List.new(SiemHttpDestination, params) do
|
|
667
|
-
Api.send_request("/siem_http_destinations", :get,
|
|
668
|
+
List.new(SiemHttpDestination, params) do |page_params, &check_page|
|
|
669
|
+
Api.send_request("/siem_http_destinations", :get, page_params, options, &check_page)
|
|
668
670
|
end
|
|
669
671
|
end
|
|
670
672
|
|
|
@@ -680,7 +682,7 @@ module Files
|
|
|
680
682
|
raise InvalidParameterError.new("Bad parameter: id must be an Integer") if params[:id] and !params[:id].is_a?(Integer)
|
|
681
683
|
raise MissingParameterError.new("Parameter missing: id") unless params[:id]
|
|
682
684
|
|
|
683
|
-
response, options = Api.send_request("/siem_http_destinations/#{params[:id]}", :get, params, options)
|
|
685
|
+
response, options = Api.send_request("/siem_http_destinations/#{params[:id]}", :get, params, options) { |reply| reply.require_object("SiemHttpDestination") }
|
|
684
686
|
SiemHttpDestination.new(response.data, options)
|
|
685
687
|
end
|
|
686
688
|
|
|
@@ -745,7 +747,7 @@ module Files
|
|
|
745
747
|
raise InvalidParameterError.new("Bad parameter: destination_url must be an String") if params[:destination_url] and !params[:destination_url].is_a?(String)
|
|
746
748
|
raise MissingParameterError.new("Parameter missing: destination_type") unless params[:destination_type]
|
|
747
749
|
|
|
748
|
-
response, options = Api.send_request("/siem_http_destinations", :post, params, options)
|
|
750
|
+
response, options = Api.send_request("/siem_http_destinations", :post, params, options) { |reply| reply.require_object("SiemHttpDestination") }
|
|
749
751
|
SiemHttpDestination.new(response.data, options)
|
|
750
752
|
end
|
|
751
753
|
|
|
@@ -871,7 +873,7 @@ module Files
|
|
|
871
873
|
raise InvalidParameterError.new("Bad parameter: destination_url must be an String") if params[:destination_url] and !params[:destination_url].is_a?(String)
|
|
872
874
|
raise MissingParameterError.new("Parameter missing: id") unless params[:id]
|
|
873
875
|
|
|
874
|
-
response, options = Api.send_request("/siem_http_destinations/#{params[:id]}", :patch, params, options)
|
|
876
|
+
response, options = Api.send_request("/siem_http_destinations/#{params[:id]}", :patch, params, options) { |reply| reply.require_object("SiemHttpDestination") }
|
|
875
877
|
SiemHttpDestination.new(response.data, options)
|
|
876
878
|
end
|
|
877
879
|
|
|
@@ -68,8 +68,8 @@ module Files
|
|
|
68
68
|
raise InvalidParameterError.new("Bad parameter: filter_lt must be an Hash") if params[:filter_lt] and !params[:filter_lt].is_a?(Hash)
|
|
69
69
|
raise InvalidParameterError.new("Bad parameter: filter_lteq must be an Hash") if params[:filter_lteq] and !params[:filter_lteq].is_a?(Hash)
|
|
70
70
|
|
|
71
|
-
List.new(SiemHttpDestinationEvent, params) do
|
|
72
|
-
Api.send_request("/siem_http_destination_events", :get,
|
|
71
|
+
List.new(SiemHttpDestinationEvent, params) do |page_params, &check_page|
|
|
72
|
+
Api.send_request("/siem_http_destination_events", :get, page_params, options, &check_page)
|
|
73
73
|
end
|
|
74
74
|
end
|
|
75
75
|
|
|
@@ -85,7 +85,7 @@ module Files
|
|
|
85
85
|
raise InvalidParameterError.new("Bad parameter: id must be an Integer") if params[:id] and !params[:id].is_a?(Integer)
|
|
86
86
|
raise MissingParameterError.new("Parameter missing: id") unless params[:id]
|
|
87
87
|
|
|
88
|
-
response, options = Api.send_request("/siem_http_destination_events/#{params[:id]}", :get, params, options)
|
|
88
|
+
response, options = Api.send_request("/siem_http_destination_events/#{params[:id]}", :get, params, options) { |reply| reply.require_object("SiemHttpDestinationEvent") }
|
|
89
89
|
SiemHttpDestinationEvent.new(response.data, options)
|
|
90
90
|
end
|
|
91
91
|
|
|
@@ -1010,12 +1010,12 @@ module Files
|
|
|
1010
1010
|
end
|
|
1011
1011
|
|
|
1012
1012
|
def self.get(params = {}, options = {})
|
|
1013
|
-
response, options = Api.send_request("/site", :get, params, options)
|
|
1013
|
+
response, options = Api.send_request("/site", :get, params, options) { |reply| reply.require_object("Site") }
|
|
1014
1014
|
Site.new(response.data, options)
|
|
1015
1015
|
end
|
|
1016
1016
|
|
|
1017
1017
|
def self.get_usage(params = {}, options = {})
|
|
1018
|
-
response, options = Api.send_request("/site/usage", :get, params, options)
|
|
1018
|
+
response, options = Api.send_request("/site/usage", :get, params, options) { |reply| reply.require_object("UsageSnapshot") }
|
|
1019
1019
|
UsageSnapshot.new(response.data, options)
|
|
1020
1020
|
end
|
|
1021
1021
|
|
|
@@ -1293,7 +1293,7 @@ module Files
|
|
|
1293
1293
|
raise InvalidParameterError.new("Bad parameter: ldap_password_change_confirmation must be an String") if params[:ldap_password_change_confirmation] and !params[:ldap_password_change_confirmation].is_a?(String)
|
|
1294
1294
|
raise InvalidParameterError.new("Bad parameter: smtp_password must be an String") if params[:smtp_password] and !params[:smtp_password].is_a?(String)
|
|
1295
1295
|
|
|
1296
|
-
response, options = Api.send_request("/site", :patch, params, options)
|
|
1296
|
+
response, options = Api.send_request("/site", :patch, params, options) { |reply| reply.require_object("Site") }
|
|
1297
1297
|
Site.new(response.data, options)
|
|
1298
1298
|
end
|
|
1299
1299
|
end
|
|
@@ -53,8 +53,8 @@ module Files
|
|
|
53
53
|
raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
|
|
54
54
|
raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
|
|
55
55
|
|
|
56
|
-
List.new(SiteSubdomainRedirect, params) do
|
|
57
|
-
Api.send_request("/site_subdomain_redirects", :get,
|
|
56
|
+
List.new(SiteSubdomainRedirect, params) do |page_params, &check_page|
|
|
57
|
+
Api.send_request("/site_subdomain_redirects", :get, page_params, options, &check_page)
|
|
58
58
|
end
|
|
59
59
|
end
|
|
60
60
|
|
|
@@ -70,7 +70,7 @@ module Files
|
|
|
70
70
|
raise InvalidParameterError.new("Bad parameter: id must be an Integer") if params[:id] and !params[:id].is_a?(Integer)
|
|
71
71
|
raise MissingParameterError.new("Parameter missing: id") unless params[:id]
|
|
72
72
|
|
|
73
|
-
response, options = Api.send_request("/site_subdomain_redirects/#{params[:id]}", :get, params, options)
|
|
73
|
+
response, options = Api.send_request("/site_subdomain_redirects/#{params[:id]}", :get, params, options) { |reply| reply.require_object("SiteSubdomainRedirect") }
|
|
74
74
|
SiteSubdomainRedirect.new(response.data, options)
|
|
75
75
|
end
|
|
76
76
|
|
|
@@ -106,7 +106,9 @@ module Files
|
|
|
106
106
|
raise InvalidParameterError.new("Bad parameter: paths must be an Array") if params[:paths] and !params[:paths].is_a?(Array)
|
|
107
107
|
raise MissingParameterError.new("Parameter missing: id") unless params[:id]
|
|
108
108
|
|
|
109
|
-
Api.send_request("/snapshots/#{@attributes[:id]}", :patch, params, @options)
|
|
109
|
+
response, options = Api.send_request("/snapshots/#{@attributes[:id]}", :patch, params, @options) { |reply| reply.require_object("Snapshot") }
|
|
110
|
+
@attributes = response.data
|
|
111
|
+
[ response, options ]
|
|
110
112
|
end
|
|
111
113
|
|
|
112
114
|
def delete(params = {})
|
|
@@ -126,12 +128,12 @@ module Files
|
|
|
126
128
|
|
|
127
129
|
def save
|
|
128
130
|
if @attributes[:id]
|
|
129
|
-
|
|
131
|
+
update(@attributes)
|
|
130
132
|
else
|
|
131
133
|
new_obj = Snapshot.create(@attributes, @options)
|
|
134
|
+
@attributes = new_obj.attributes
|
|
132
135
|
end
|
|
133
136
|
|
|
134
|
-
@attributes = new_obj.attributes
|
|
135
137
|
true
|
|
136
138
|
end
|
|
137
139
|
|
|
@@ -142,8 +144,8 @@ module Files
|
|
|
142
144
|
raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
|
|
143
145
|
raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
|
|
144
146
|
|
|
145
|
-
List.new(Snapshot, params) do
|
|
146
|
-
Api.send_request("/snapshots", :get,
|
|
147
|
+
List.new(Snapshot, params) do |page_params, &check_page|
|
|
148
|
+
Api.send_request("/snapshots", :get, page_params, options, &check_page)
|
|
147
149
|
end
|
|
148
150
|
end
|
|
149
151
|
|
|
@@ -159,7 +161,7 @@ module Files
|
|
|
159
161
|
raise InvalidParameterError.new("Bad parameter: id must be an Integer") if params[:id] and !params[:id].is_a?(Integer)
|
|
160
162
|
raise MissingParameterError.new("Parameter missing: id") unless params[:id]
|
|
161
163
|
|
|
162
|
-
response, options = Api.send_request("/snapshots/#{params[:id]}", :get, params, options)
|
|
164
|
+
response, options = Api.send_request("/snapshots/#{params[:id]}", :get, params, options) { |reply| reply.require_object("Snapshot") }
|
|
163
165
|
Snapshot.new(response.data, options)
|
|
164
166
|
end
|
|
165
167
|
|
|
@@ -178,7 +180,7 @@ module Files
|
|
|
178
180
|
raise InvalidParameterError.new("Bad parameter: paths must be an Array") if params[:paths] and !params[:paths].is_a?(Array)
|
|
179
181
|
raise InvalidParameterError.new("Bad parameter: workspace_id must be an Integer") if params[:workspace_id] and !params[:workspace_id].is_a?(Integer)
|
|
180
182
|
|
|
181
|
-
response, options = Api.send_request("/snapshots", :post, params, options)
|
|
183
|
+
response, options = Api.send_request("/snapshots", :post, params, options) { |reply| reply.require_object("Snapshot") }
|
|
182
184
|
Snapshot.new(response.data, options)
|
|
183
185
|
end
|
|
184
186
|
|
|
@@ -206,7 +208,7 @@ module Files
|
|
|
206
208
|
raise InvalidParameterError.new("Bad parameter: paths must be an Array") if params[:paths] and !params[:paths].is_a?(Array)
|
|
207
209
|
raise MissingParameterError.new("Parameter missing: id") unless params[:id]
|
|
208
210
|
|
|
209
|
-
response, options = Api.send_request("/snapshots/#{params[:id]}", :patch, params, options)
|
|
211
|
+
response, options = Api.send_request("/snapshots/#{params[:id]}", :patch, params, options) { |reply| reply.require_object("Snapshot") }
|
|
210
212
|
Snapshot.new(response.data, options)
|
|
211
213
|
end
|
|
212
214
|
|
|
@@ -100,8 +100,8 @@ module Files
|
|
|
100
100
|
raise InvalidParameterError.new("Bad parameter: filter_lt must be an Hash") if params[:filter_lt] and !params[:filter_lt].is_a?(Hash)
|
|
101
101
|
raise InvalidParameterError.new("Bad parameter: filter_lteq must be an Hash") if params[:filter_lteq] and !params[:filter_lteq].is_a?(Hash)
|
|
102
102
|
|
|
103
|
-
List.new(SsoEvent, params) do
|
|
104
|
-
Api.send_request("/sso_events", :get,
|
|
103
|
+
List.new(SsoEvent, params) do |page_params, &check_page|
|
|
104
|
+
Api.send_request("/sso_events", :get, page_params, options, &check_page)
|
|
105
105
|
end
|
|
106
106
|
end
|
|
107
107
|
|
|
@@ -117,7 +117,7 @@ module Files
|
|
|
117
117
|
raise InvalidParameterError.new("Bad parameter: id must be an Integer") if params[:id] and !params[:id].is_a?(Integer)
|
|
118
118
|
raise MissingParameterError.new("Parameter missing: id") unless params[:id]
|
|
119
119
|
|
|
120
|
-
response, options = Api.send_request("/sso_events/#{params[:id]}", :get, params, options)
|
|
120
|
+
response, options = Api.send_request("/sso_events/#{params[:id]}", :get, params, options) { |reply| reply.require_object("SsoEvent") }
|
|
121
121
|
SsoEvent.new(response.data, options)
|
|
122
122
|
end
|
|
123
123
|
|
|
@@ -294,8 +294,8 @@ module Files
|
|
|
294
294
|
raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
|
|
295
295
|
raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
|
|
296
296
|
|
|
297
|
-
List.new(SsoStrategy, params) do
|
|
298
|
-
Api.send_request("/sso_strategies", :get,
|
|
297
|
+
List.new(SsoStrategy, params) do |page_params, &check_page|
|
|
298
|
+
Api.send_request("/sso_strategies", :get, page_params, options, &check_page)
|
|
299
299
|
end
|
|
300
300
|
end
|
|
301
301
|
|
|
@@ -311,7 +311,7 @@ module Files
|
|
|
311
311
|
raise InvalidParameterError.new("Bad parameter: id must be an Integer") if params[:id] and !params[:id].is_a?(Integer)
|
|
312
312
|
raise MissingParameterError.new("Parameter missing: id") unless params[:id]
|
|
313
313
|
|
|
314
|
-
response, options = Api.send_request("/sso_strategies/#{params[:id]}", :get, params, options)
|
|
314
|
+
response, options = Api.send_request("/sso_strategies/#{params[:id]}", :get, params, options) { |reply| reply.require_object("SsoStrategy") }
|
|
315
315
|
SsoStrategy.new(response.data, options)
|
|
316
316
|
end
|
|
317
317
|
|
|
@@ -74,7 +74,9 @@ module Files
|
|
|
74
74
|
raise InvalidParameterError.new("Bad parameter: logo_click_href must be an String") if params[:logo_click_href] and !params[:logo_click_href].is_a?(String)
|
|
75
75
|
raise MissingParameterError.new("Parameter missing: path") unless params[:path]
|
|
76
76
|
|
|
77
|
-
Api.send_request("/styles/#{@attributes[:path]}", :patch, params, @options)
|
|
77
|
+
response, options = Api.send_request("/styles/#{@attributes[:path]}", :patch, params, @options) { |reply| reply.require_object("Style") }
|
|
78
|
+
@attributes = response.data
|
|
79
|
+
[ response, options ]
|
|
78
80
|
end
|
|
79
81
|
|
|
80
82
|
def delete(params = {})
|
|
@@ -93,8 +95,7 @@ module Files
|
|
|
93
95
|
end
|
|
94
96
|
|
|
95
97
|
def save
|
|
96
|
-
|
|
97
|
-
@attributes = new_obj.attributes
|
|
98
|
+
update(@attributes)
|
|
98
99
|
true
|
|
99
100
|
end
|
|
100
101
|
|
|
@@ -106,7 +107,7 @@ module Files
|
|
|
106
107
|
raise InvalidParameterError.new("Bad parameter: path must be an String") if params[:path] and !params[:path].is_a?(String)
|
|
107
108
|
raise MissingParameterError.new("Parameter missing: path") unless params[:path]
|
|
108
109
|
|
|
109
|
-
response, options = Api.send_request("/styles/#{params[:path]}", :get, params, options)
|
|
110
|
+
response, options = Api.send_request("/styles/#{params[:path]}", :get, params, options) { |reply| reply.require_object("Style") }
|
|
110
111
|
Style.new(response.data, options)
|
|
111
112
|
end
|
|
112
113
|
|
|
@@ -124,7 +125,7 @@ module Files
|
|
|
124
125
|
raise InvalidParameterError.new("Bad parameter: logo_click_href must be an String") if params[:logo_click_href] and !params[:logo_click_href].is_a?(String)
|
|
125
126
|
raise MissingParameterError.new("Parameter missing: path") unless params[:path]
|
|
126
127
|
|
|
127
|
-
response, options = Api.send_request("/styles/#{params[:path]}", :patch, params, options)
|
|
128
|
+
response, options = Api.send_request("/styles/#{params[:path]}", :patch, params, options) { |reply| reply.require_object("Style") }
|
|
128
129
|
Style.new(response.data, options)
|
|
129
130
|
end
|
|
130
131
|
|