rustici_software_cloud_v2 1.0.2 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -4
- data/lib/rustici_software_cloud_v2.rb +1 -0
- data/lib/rustici_software_cloud_v2/api/about_api.rb +5 -5
- data/lib/rustici_software_cloud_v2/api/application_management_api.rb +77 -79
- data/lib/rustici_software_cloud_v2/api/authentication_api.rb +12 -10
- data/lib/rustici_software_cloud_v2/api/course_api.rb +197 -140
- data/lib/rustici_software_cloud_v2/api/dispatch_api.rb +247 -195
- data/lib/rustici_software_cloud_v2/api/invitations_api.rb +104 -85
- data/lib/rustici_software_cloud_v2/api/learner_api.rb +50 -35
- data/lib/rustici_software_cloud_v2/api/ping_api.rb +5 -7
- data/lib/rustici_software_cloud_v2/api/registration_api.rb +262 -150
- data/lib/rustici_software_cloud_v2/api/reporting_api.rb +21 -17
- data/lib/rustici_software_cloud_v2/api/xapi_api.rb +62 -51
- data/lib/rustici_software_cloud_v2/api/zoomi_api.rb +53 -42
- data/lib/rustici_software_cloud_v2/api_client.rb +1 -0
- data/lib/rustici_software_cloud_v2/api_error.rb +1 -0
- data/lib/rustici_software_cloud_v2/configuration.rb +1 -0
- data/lib/rustici_software_cloud_v2/models/about_schema.rb +7 -11
- data/lib/rustici_software_cloud_v2/models/activity_result_schema.rb +13 -16
- data/lib/rustici_software_cloud_v2/models/application_list_schema.rb +7 -11
- data/lib/rustici_software_cloud_v2/models/application_schema.rb +7 -11
- data/lib/rustici_software_cloud_v2/models/application_token.rb +7 -11
- data/lib/rustici_software_cloud_v2/models/batch_tags_schema.rb +9 -13
- data/lib/rustici_software_cloud_v2/models/comment_schema.rb +7 -11
- data/lib/rustici_software_cloud_v2/models/completion_amount_schema.rb +7 -11
- data/lib/rustici_software_cloud_v2/models/course_activity_schema.rb +10 -13
- data/lib/rustici_software_cloud_v2/models/course_list_non_paged_schema.rb +7 -11
- data/lib/rustici_software_cloud_v2/models/course_list_schema.rb +7 -11
- data/lib/rustici_software_cloud_v2/models/course_reference_schema.rb +7 -10
- data/lib/rustici_software_cloud_v2/models/course_schema.rb +10 -13
- data/lib/rustici_software_cloud_v2/models/create_dispatch_id_schema.rb +12 -16
- data/lib/rustici_software_cloud_v2/models/create_dispatch_list_schema.rb +7 -11
- data/lib/rustici_software_cloud_v2/models/create_dispatch_schema.rb +9 -13
- data/lib/rustici_software_cloud_v2/models/create_private_invitation_schema.rb +10 -14
- data/lib/rustici_software_cloud_v2/models/create_public_invitation_schema.rb +9 -13
- data/lib/rustici_software_cloud_v2/models/create_registration_schema.rb +10 -14
- data/lib/rustici_software_cloud_v2/models/credential_created_schema.rb +7 -11
- data/lib/rustici_software_cloud_v2/models/credential_list_schema.rb +7 -11
- data/lib/rustici_software_cloud_v2/models/credential_request_schema.rb +7 -11
- data/lib/rustici_software_cloud_v2/models/credential_schema.rb +7 -11
- data/lib/rustici_software_cloud_v2/models/destination_id_schema.rb +7 -11
- data/lib/rustici_software_cloud_v2/models/destination_list_schema.rb +7 -11
- data/lib/rustici_software_cloud_v2/models/destination_schema.rb +7 -11
- data/lib/rustici_software_cloud_v2/models/dispatch_id_schema.rb +7 -11
- data/lib/rustici_software_cloud_v2/models/dispatch_list_schema.rb +7 -11
- data/lib/rustici_software_cloud_v2/models/dispatch_registration_count_schema.rb +7 -11
- data/lib/rustici_software_cloud_v2/models/dispatch_schema.rb +7 -11
- data/lib/rustici_software_cloud_v2/models/enabled_schema.rb +7 -11
- data/lib/rustici_software_cloud_v2/models/import_fetch_request_schema.rb +8 -11
- data/lib/rustici_software_cloud_v2/models/import_job_result_schema.rb +10 -13
- data/lib/rustici_software_cloud_v2/models/import_result_schema.rb +7 -11
- data/lib/rustici_software_cloud_v2/models/integer_result_schema.rb +8 -12
- data/lib/rustici_software_cloud_v2/models/invitation_email_schema.rb +8 -11
- data/lib/rustici_software_cloud_v2/models/invitation_job_status_schema.rb +10 -13
- data/lib/rustici_software_cloud_v2/models/invitation_summary_list.rb +7 -11
- data/lib/rustici_software_cloud_v2/models/invitation_summary_schema.rb +7 -11
- data/lib/rustici_software_cloud_v2/models/item_value_pair_schema.rb +7 -11
- data/lib/rustici_software_cloud_v2/models/launch_auth_options_schema.rb +7 -11
- data/lib/rustici_software_cloud_v2/models/launch_auth_schema.rb +11 -14
- data/lib/rustici_software_cloud_v2/models/launch_history_list_schema.rb +7 -11
- data/lib/rustici_software_cloud_v2/models/launch_history_schema.rb +15 -18
- data/lib/rustici_software_cloud_v2/models/launch_link_request_schema.rb +8 -12
- data/lib/rustici_software_cloud_v2/models/launch_link_schema.rb +8 -12
- data/lib/rustici_software_cloud_v2/models/learner_preference_schema.rb +7 -11
- data/lib/rustici_software_cloud_v2/models/learner_schema.rb +8 -12
- data/lib/rustici_software_cloud_v2/models/message_schema.rb +8 -12
- data/lib/rustici_software_cloud_v2/models/metadata_schema.rb +7 -11
- data/lib/rustici_software_cloud_v2/models/objective_schema.rb +19 -22
- data/lib/rustici_software_cloud_v2/models/permissions_schema.rb +7 -11
- data/lib/rustici_software_cloud_v2/models/ping_schema.rb +7 -11
- data/lib/rustici_software_cloud_v2/models/post_back_schema.rb +15 -18
- data/lib/rustici_software_cloud_v2/models/private_invitation_list.rb +7 -11
- data/lib/rustici_software_cloud_v2/models/private_invitation_schema.rb +7 -11
- data/lib/rustici_software_cloud_v2/models/public_invitation_list.rb +7 -11
- data/lib/rustici_software_cloud_v2/models/public_invitation_schema.rb +7 -11
- data/lib/rustici_software_cloud_v2/models/registration_completion.rb +13 -4
- data/lib/rustici_software_cloud_v2/models/registration_list_schema.rb +8 -12
- data/lib/rustici_software_cloud_v2/models/registration_schema.rb +7 -11
- data/lib/rustici_software_cloud_v2/models/registration_success.rb +13 -4
- data/lib/rustici_software_cloud_v2/models/reportage_account_info_schema.rb +7 -11
- data/lib/rustici_software_cloud_v2/models/reportage_account_info_usage_schema.rb +7 -11
- data/lib/rustici_software_cloud_v2/models/reportage_auth_token_schema.rb +7 -11
- data/lib/rustici_software_cloud_v2/models/reportage_link_schema.rb +7 -11
- data/lib/rustici_software_cloud_v2/models/response_error.rb +8 -12
- data/lib/rustici_software_cloud_v2/models/runtime_interaction_schema.rb +10 -13
- data/lib/rustici_software_cloud_v2/models/runtime_objective_schema.rb +15 -18
- data/lib/rustici_software_cloud_v2/models/runtime_schema.rb +11 -14
- data/lib/rustici_software_cloud_v2/models/score_schema.rb +7 -11
- data/lib/rustici_software_cloud_v2/models/setting_item.rb +10 -13
- data/lib/rustici_software_cloud_v2/models/setting_list_schema.rb +8 -12
- data/lib/rustici_software_cloud_v2/models/setting_metadata.rb +11 -14
- data/lib/rustici_software_cloud_v2/models/setting_valid_value.rb +7 -11
- data/lib/rustici_software_cloud_v2/models/settings_individual_schema.rb +7 -11
- data/lib/rustici_software_cloud_v2/models/settings_post_schema.rb +7 -11
- data/lib/rustici_software_cloud_v2/models/shared_data_entry_schema.rb +7 -11
- data/lib/rustici_software_cloud_v2/models/static_properties_schema.rb +7 -11
- data/lib/rustici_software_cloud_v2/models/string_result_schema.rb +8 -12
- data/lib/rustici_software_cloud_v2/models/tag_list_schema.rb +7 -11
- data/lib/rustici_software_cloud_v2/models/title_schema.rb +7 -11
- data/lib/rustici_software_cloud_v2/models/token_request_schema.rb +9 -13
- data/lib/rustici_software_cloud_v2/models/update_dispatch_schema.rb +7 -11
- data/lib/rustici_software_cloud_v2/models/user_invitation_list.rb +7 -11
- data/lib/rustici_software_cloud_v2/models/user_invitation_schema.rb +7 -11
- data/lib/rustici_software_cloud_v2/models/user_invitation_schema_registration_report.rb +7 -10
- data/lib/rustici_software_cloud_v2/models/xapi_account.rb +9 -12
- data/lib/rustici_software_cloud_v2/models/xapi_activity.rb +9 -12
- data/lib/rustici_software_cloud_v2/models/xapi_activity_definition.rb +10 -13
- data/lib/rustici_software_cloud_v2/models/xapi_agent_group.rb +11 -13
- data/lib/rustici_software_cloud_v2/models/xapi_attachment.rb +14 -17
- data/lib/rustici_software_cloud_v2/models/xapi_context.rb +8 -11
- data/lib/rustici_software_cloud_v2/models/xapi_context_activity.rb +7 -10
- data/lib/rustici_software_cloud_v2/models/xapi_credential_auth_type_schema.rb +10 -13
- data/lib/rustici_software_cloud_v2/models/xapi_credential_permissions_level_schema.rb +10 -13
- data/lib/rustici_software_cloud_v2/models/xapi_credential_post_schema.rb +12 -16
- data/lib/rustici_software_cloud_v2/models/xapi_credential_put_schema.rb +7 -11
- data/lib/rustici_software_cloud_v2/models/xapi_credential_schema.rb +12 -16
- data/lib/rustici_software_cloud_v2/models/xapi_credentials_list_schema.rb +8 -12
- data/lib/rustici_software_cloud_v2/models/xapi_endpoint_schema.rb +7 -11
- data/lib/rustici_software_cloud_v2/models/xapi_interaction_component.rb +9 -12
- data/lib/rustici_software_cloud_v2/models/xapi_result.rb +8 -11
- data/lib/rustici_software_cloud_v2/models/xapi_score.rb +7 -10
- data/lib/rustici_software_cloud_v2/models/xapi_statement.rb +7 -10
- data/lib/rustici_software_cloud_v2/models/xapi_statement_pipe_list_schema.rb +8 -12
- data/lib/rustici_software_cloud_v2/models/xapi_statement_pipe_post_schema.rb +8 -12
- data/lib/rustici_software_cloud_v2/models/xapi_statement_pipe_put_schema.rb +7 -11
- data/lib/rustici_software_cloud_v2/models/xapi_statement_pipe_schema.rb +7 -11
- data/lib/rustici_software_cloud_v2/models/xapi_statement_reference.rb +10 -13
- data/lib/rustici_software_cloud_v2/models/xapi_statement_result.rb +8 -11
- data/lib/rustici_software_cloud_v2/models/xapi_verb.rb +9 -12
- data/lib/rustici_software_cloud_v2/models/zoomi_company_id.rb +7 -11
- data/lib/rustici_software_cloud_v2/models/zoomi_course_options_schema.rb +7 -11
- data/lib/rustici_software_cloud_v2/version.rb +2 -1
- data/rustici_software_cloud_v2.gemspec +8 -7
- data/spec/api_client_spec.rb +35 -34
- data/spec/configuration_spec.rb +9 -8
- data/spec/spec_helper.rb +1 -0
- metadata +16 -16
@@ -6,10 +6,11 @@
|
|
6
6
|
OpenAPI spec version: 2.0
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.12
|
9
10
|
|
10
11
|
=end
|
11
12
|
|
12
|
-
require
|
13
|
+
require 'uri'
|
13
14
|
|
14
15
|
module RusticiSoftwareCloudV2
|
15
16
|
class DispatchApi
|
@@ -18,7 +19,6 @@ module RusticiSoftwareCloudV2
|
|
18
19
|
def initialize(api_client = ApiClient.default)
|
19
20
|
@api_client = api_client
|
20
21
|
end
|
21
|
-
|
22
22
|
# DestinationsByTenant
|
23
23
|
# Create multiple destinations.
|
24
24
|
# @param destinations_list
|
@@ -26,7 +26,7 @@ module RusticiSoftwareCloudV2
|
|
26
26
|
# @return [nil]
|
27
27
|
def create_destinations(destinations_list, opts = {})
|
28
28
|
create_destinations_with_http_info(destinations_list, opts)
|
29
|
-
|
29
|
+
nil
|
30
30
|
end
|
31
31
|
|
32
32
|
# DestinationsByTenant
|
@@ -36,12 +36,14 @@ module RusticiSoftwareCloudV2
|
|
36
36
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
37
37
|
def create_destinations_with_http_info(destinations_list, opts = {})
|
38
38
|
if @api_client.config.debugging
|
39
|
-
@api_client.config.logger.debug
|
39
|
+
@api_client.config.logger.debug 'Calling API: DispatchApi.create_destinations ...'
|
40
40
|
end
|
41
41
|
# verify the required parameter 'destinations_list' is set
|
42
|
-
|
42
|
+
if @api_client.config.client_side_validation && destinations_list.nil?
|
43
|
+
fail ArgumentError, "Missing the required parameter 'destinations_list' when calling DispatchApi.create_destinations"
|
44
|
+
end
|
43
45
|
# resource path
|
44
|
-
local_var_path =
|
46
|
+
local_var_path = '/dispatch/destinations'
|
45
47
|
|
46
48
|
# query parameters
|
47
49
|
query_params = {}
|
@@ -70,7 +72,6 @@ module RusticiSoftwareCloudV2
|
|
70
72
|
end
|
71
73
|
return data, status_code, headers
|
72
74
|
end
|
73
|
-
|
74
75
|
# Create dispatches.
|
75
76
|
# Create multiple dispatches at once.
|
76
77
|
# @param dispatch_list
|
@@ -78,7 +79,7 @@ module RusticiSoftwareCloudV2
|
|
78
79
|
# @return [nil]
|
79
80
|
def create_dispatches(dispatch_list, opts = {})
|
80
81
|
create_dispatches_with_http_info(dispatch_list, opts)
|
81
|
-
|
82
|
+
nil
|
82
83
|
end
|
83
84
|
|
84
85
|
# Create dispatches.
|
@@ -88,12 +89,14 @@ module RusticiSoftwareCloudV2
|
|
88
89
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
89
90
|
def create_dispatches_with_http_info(dispatch_list, opts = {})
|
90
91
|
if @api_client.config.debugging
|
91
|
-
@api_client.config.logger.debug
|
92
|
+
@api_client.config.logger.debug 'Calling API: DispatchApi.create_dispatches ...'
|
92
93
|
end
|
93
94
|
# verify the required parameter 'dispatch_list' is set
|
94
|
-
|
95
|
+
if @api_client.config.client_side_validation && dispatch_list.nil?
|
96
|
+
fail ArgumentError, "Missing the required parameter 'dispatch_list' when calling DispatchApi.create_dispatches"
|
97
|
+
end
|
95
98
|
# resource path
|
96
|
-
local_var_path =
|
99
|
+
local_var_path = '/dispatch/dispatches'
|
97
100
|
|
98
101
|
# query parameters
|
99
102
|
query_params = {}
|
@@ -122,7 +125,6 @@ module RusticiSoftwareCloudV2
|
|
122
125
|
end
|
123
126
|
return data, status_code, headers
|
124
127
|
end
|
125
|
-
|
126
128
|
# Delete destination
|
127
129
|
# Delete the destination with `destinationId`
|
128
130
|
# @param destination_id Identifier for the destination
|
@@ -130,7 +132,7 @@ module RusticiSoftwareCloudV2
|
|
130
132
|
# @return [nil]
|
131
133
|
def delete_destination(destination_id, opts = {})
|
132
134
|
delete_destination_with_http_info(destination_id, opts)
|
133
|
-
|
135
|
+
nil
|
134
136
|
end
|
135
137
|
|
136
138
|
# Delete destination
|
@@ -140,12 +142,14 @@ module RusticiSoftwareCloudV2
|
|
140
142
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
141
143
|
def delete_destination_with_http_info(destination_id, opts = {})
|
142
144
|
if @api_client.config.debugging
|
143
|
-
@api_client.config.logger.debug
|
145
|
+
@api_client.config.logger.debug 'Calling API: DispatchApi.delete_destination ...'
|
144
146
|
end
|
145
147
|
# verify the required parameter 'destination_id' is set
|
146
|
-
|
148
|
+
if @api_client.config.client_side_validation && destination_id.nil?
|
149
|
+
fail ArgumentError, "Missing the required parameter 'destination_id' when calling DispatchApi.delete_destination"
|
150
|
+
end
|
147
151
|
# resource path
|
148
|
-
local_var_path =
|
152
|
+
local_var_path = '/dispatch/destinations/{destinationId}'.sub('{' + 'destinationId' + '}', destination_id.to_s)
|
149
153
|
|
150
154
|
# query parameters
|
151
155
|
query_params = {}
|
@@ -174,7 +178,6 @@ module RusticiSoftwareCloudV2
|
|
174
178
|
end
|
175
179
|
return data, status_code, headers
|
176
180
|
end
|
177
|
-
|
178
181
|
# Delete dispatches in destination
|
179
182
|
# Delete the dispatches in a destination
|
180
183
|
# @param destination_id Identifier for the destination
|
@@ -182,7 +185,7 @@ module RusticiSoftwareCloudV2
|
|
182
185
|
# @return [nil]
|
183
186
|
def delete_destination_dispatches(destination_id, opts = {})
|
184
187
|
delete_destination_dispatches_with_http_info(destination_id, opts)
|
185
|
-
|
188
|
+
nil
|
186
189
|
end
|
187
190
|
|
188
191
|
# Delete dispatches in destination
|
@@ -192,12 +195,14 @@ module RusticiSoftwareCloudV2
|
|
192
195
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
193
196
|
def delete_destination_dispatches_with_http_info(destination_id, opts = {})
|
194
197
|
if @api_client.config.debugging
|
195
|
-
@api_client.config.logger.debug
|
198
|
+
@api_client.config.logger.debug 'Calling API: DispatchApi.delete_destination_dispatches ...'
|
196
199
|
end
|
197
200
|
# verify the required parameter 'destination_id' is set
|
198
|
-
|
201
|
+
if @api_client.config.client_side_validation && destination_id.nil?
|
202
|
+
fail ArgumentError, "Missing the required parameter 'destination_id' when calling DispatchApi.delete_destination_dispatches"
|
203
|
+
end
|
199
204
|
# resource path
|
200
|
-
local_var_path =
|
205
|
+
local_var_path = '/dispatch/destinations/{destinationId}/dispatches'.sub('{' + 'destinationId' + '}', destination_id.to_s)
|
201
206
|
|
202
207
|
# query parameters
|
203
208
|
query_params = {}
|
@@ -226,7 +231,6 @@ module RusticiSoftwareCloudV2
|
|
226
231
|
end
|
227
232
|
return data, status_code, headers
|
228
233
|
end
|
229
|
-
|
230
234
|
# Delete the tags for this destination
|
231
235
|
# Delete the tags for this destination
|
232
236
|
# @param destination_id Identifier for the destination
|
@@ -235,7 +239,7 @@ module RusticiSoftwareCloudV2
|
|
235
239
|
# @return [nil]
|
236
240
|
def delete_destination_tags(destination_id, tags, opts = {})
|
237
241
|
delete_destination_tags_with_http_info(destination_id, tags, opts)
|
238
|
-
|
242
|
+
nil
|
239
243
|
end
|
240
244
|
|
241
245
|
# Delete the tags for this destination
|
@@ -246,14 +250,18 @@ module RusticiSoftwareCloudV2
|
|
246
250
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
247
251
|
def delete_destination_tags_with_http_info(destination_id, tags, opts = {})
|
248
252
|
if @api_client.config.debugging
|
249
|
-
@api_client.config.logger.debug
|
253
|
+
@api_client.config.logger.debug 'Calling API: DispatchApi.delete_destination_tags ...'
|
250
254
|
end
|
251
255
|
# verify the required parameter 'destination_id' is set
|
252
|
-
|
256
|
+
if @api_client.config.client_side_validation && destination_id.nil?
|
257
|
+
fail ArgumentError, "Missing the required parameter 'destination_id' when calling DispatchApi.delete_destination_tags"
|
258
|
+
end
|
253
259
|
# verify the required parameter 'tags' is set
|
254
|
-
|
260
|
+
if @api_client.config.client_side_validation && tags.nil?
|
261
|
+
fail ArgumentError, "Missing the required parameter 'tags' when calling DispatchApi.delete_destination_tags"
|
262
|
+
end
|
255
263
|
# resource path
|
256
|
-
local_var_path =
|
264
|
+
local_var_path = '/dispatch/destinations/{destinationId}/tags'.sub('{' + 'destinationId' + '}', destination_id.to_s)
|
257
265
|
|
258
266
|
# query parameters
|
259
267
|
query_params = {}
|
@@ -282,7 +290,6 @@ module RusticiSoftwareCloudV2
|
|
282
290
|
end
|
283
291
|
return data, status_code, headers
|
284
292
|
end
|
285
|
-
|
286
293
|
# Delete the dispatch with `dispatchId`.
|
287
294
|
# Delete the dispatch with `dispatchId`.
|
288
295
|
# @param dispatch_id Identifier for the dispatch
|
@@ -290,7 +297,7 @@ module RusticiSoftwareCloudV2
|
|
290
297
|
# @return [nil]
|
291
298
|
def delete_dispatch(dispatch_id, opts = {})
|
292
299
|
delete_dispatch_with_http_info(dispatch_id, opts)
|
293
|
-
|
300
|
+
nil
|
294
301
|
end
|
295
302
|
|
296
303
|
# Delete the dispatch with `dispatchId`.
|
@@ -300,12 +307,14 @@ module RusticiSoftwareCloudV2
|
|
300
307
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
301
308
|
def delete_dispatch_with_http_info(dispatch_id, opts = {})
|
302
309
|
if @api_client.config.debugging
|
303
|
-
@api_client.config.logger.debug
|
310
|
+
@api_client.config.logger.debug 'Calling API: DispatchApi.delete_dispatch ...'
|
304
311
|
end
|
305
312
|
# verify the required parameter 'dispatch_id' is set
|
306
|
-
|
313
|
+
if @api_client.config.client_side_validation && dispatch_id.nil?
|
314
|
+
fail ArgumentError, "Missing the required parameter 'dispatch_id' when calling DispatchApi.delete_dispatch"
|
315
|
+
end
|
307
316
|
# resource path
|
308
|
-
local_var_path =
|
317
|
+
local_var_path = '/dispatch/dispatches/{dispatchId}'.sub('{' + 'dispatchId' + '}', dispatch_id.to_s)
|
309
318
|
|
310
319
|
# query parameters
|
311
320
|
query_params = {}
|
@@ -334,7 +343,6 @@ module RusticiSoftwareCloudV2
|
|
334
343
|
end
|
335
344
|
return data, status_code, headers
|
336
345
|
end
|
337
|
-
|
338
346
|
# DispatchesByTenantAndDispatchId
|
339
347
|
# Delete the postback info dispatch with 'dispatchId'.
|
340
348
|
# @param dispatch_id Identifier for the dispatch
|
@@ -342,7 +350,7 @@ module RusticiSoftwareCloudV2
|
|
342
350
|
# @return [nil]
|
343
351
|
def delete_dispatch_postback_info(dispatch_id, opts = {})
|
344
352
|
delete_dispatch_postback_info_with_http_info(dispatch_id, opts)
|
345
|
-
|
353
|
+
nil
|
346
354
|
end
|
347
355
|
|
348
356
|
# DispatchesByTenantAndDispatchId
|
@@ -352,12 +360,14 @@ module RusticiSoftwareCloudV2
|
|
352
360
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
353
361
|
def delete_dispatch_postback_info_with_http_info(dispatch_id, opts = {})
|
354
362
|
if @api_client.config.debugging
|
355
|
-
@api_client.config.logger.debug
|
363
|
+
@api_client.config.logger.debug 'Calling API: DispatchApi.delete_dispatch_postback_info ...'
|
356
364
|
end
|
357
365
|
# verify the required parameter 'dispatch_id' is set
|
358
|
-
|
366
|
+
if @api_client.config.client_side_validation && dispatch_id.nil?
|
367
|
+
fail ArgumentError, "Missing the required parameter 'dispatch_id' when calling DispatchApi.delete_dispatch_postback_info"
|
368
|
+
end
|
359
369
|
# resource path
|
360
|
-
local_var_path =
|
370
|
+
local_var_path = '/dispatch/dispatches/{dispatchId}/postback'.sub('{' + 'dispatchId' + '}', dispatch_id.to_s)
|
361
371
|
|
362
372
|
# query parameters
|
363
373
|
query_params = {}
|
@@ -386,7 +396,6 @@ module RusticiSoftwareCloudV2
|
|
386
396
|
end
|
387
397
|
return data, status_code, headers
|
388
398
|
end
|
389
|
-
|
390
399
|
# Delete the tags for this dispatch.
|
391
400
|
# Delete the tags for this dispatch.
|
392
401
|
# @param dispatch_id Identifier for the dispatch
|
@@ -395,7 +404,7 @@ module RusticiSoftwareCloudV2
|
|
395
404
|
# @return [nil]
|
396
405
|
def delete_dispatch_tags(dispatch_id, tags, opts = {})
|
397
406
|
delete_dispatch_tags_with_http_info(dispatch_id, tags, opts)
|
398
|
-
|
407
|
+
nil
|
399
408
|
end
|
400
409
|
|
401
410
|
# Delete the tags for this dispatch.
|
@@ -406,14 +415,18 @@ module RusticiSoftwareCloudV2
|
|
406
415
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
407
416
|
def delete_dispatch_tags_with_http_info(dispatch_id, tags, opts = {})
|
408
417
|
if @api_client.config.debugging
|
409
|
-
@api_client.config.logger.debug
|
418
|
+
@api_client.config.logger.debug 'Calling API: DispatchApi.delete_dispatch_tags ...'
|
410
419
|
end
|
411
420
|
# verify the required parameter 'dispatch_id' is set
|
412
|
-
|
421
|
+
if @api_client.config.client_side_validation && dispatch_id.nil?
|
422
|
+
fail ArgumentError, "Missing the required parameter 'dispatch_id' when calling DispatchApi.delete_dispatch_tags"
|
423
|
+
end
|
413
424
|
# verify the required parameter 'tags' is set
|
414
|
-
|
425
|
+
if @api_client.config.client_side_validation && tags.nil?
|
426
|
+
fail ArgumentError, "Missing the required parameter 'tags' when calling DispatchApi.delete_dispatch_tags"
|
427
|
+
end
|
415
428
|
# resource path
|
416
|
-
local_var_path =
|
429
|
+
local_var_path = '/dispatch/dispatches/{dispatchId}/tags'.sub('{' + 'dispatchId' + '}', dispatch_id.to_s)
|
417
430
|
|
418
431
|
# query parameters
|
419
432
|
query_params = {}
|
@@ -442,7 +455,6 @@ module RusticiSoftwareCloudV2
|
|
442
455
|
end
|
443
456
|
return data, status_code, headers
|
444
457
|
end
|
445
|
-
|
446
458
|
# DestinationsDispatchesRegistrationInstancing
|
447
459
|
# Enable or disable registration instancing.
|
448
460
|
# @param destination_id Identifier for the destination
|
@@ -451,7 +463,7 @@ module RusticiSoftwareCloudV2
|
|
451
463
|
# @return [nil]
|
452
464
|
def enable_registration_instancing(destination_id, enabled, opts = {})
|
453
465
|
enable_registration_instancing_with_http_info(destination_id, enabled, opts)
|
454
|
-
|
466
|
+
nil
|
455
467
|
end
|
456
468
|
|
457
469
|
# DestinationsDispatchesRegistrationInstancing
|
@@ -462,14 +474,18 @@ module RusticiSoftwareCloudV2
|
|
462
474
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
463
475
|
def enable_registration_instancing_with_http_info(destination_id, enabled, opts = {})
|
464
476
|
if @api_client.config.debugging
|
465
|
-
@api_client.config.logger.debug
|
477
|
+
@api_client.config.logger.debug 'Calling API: DispatchApi.enable_registration_instancing ...'
|
466
478
|
end
|
467
479
|
# verify the required parameter 'destination_id' is set
|
468
|
-
|
480
|
+
if @api_client.config.client_side_validation && destination_id.nil?
|
481
|
+
fail ArgumentError, "Missing the required parameter 'destination_id' when calling DispatchApi.enable_registration_instancing"
|
482
|
+
end
|
469
483
|
# verify the required parameter 'enabled' is set
|
470
|
-
|
484
|
+
if @api_client.config.client_side_validation && enabled.nil?
|
485
|
+
fail ArgumentError, "Missing the required parameter 'enabled' when calling DispatchApi.enable_registration_instancing"
|
486
|
+
end
|
471
487
|
# resource path
|
472
|
-
local_var_path =
|
488
|
+
local_var_path = '/dispatch/destinations/{destinationId}/dispatches/registrationInstancing'.sub('{' + 'destinationId' + '}', destination_id.to_s)
|
473
489
|
|
474
490
|
# query parameters
|
475
491
|
query_params = {}
|
@@ -498,7 +514,6 @@ module RusticiSoftwareCloudV2
|
|
498
514
|
end
|
499
515
|
return data, status_code, headers
|
500
516
|
end
|
501
|
-
|
502
517
|
# Get destination information by destinationId.
|
503
518
|
# Gets detailed information about a destination belonging to a destinationId.
|
504
519
|
# @param destination_id Identifier for the destination
|
@@ -506,7 +521,7 @@ module RusticiSoftwareCloudV2
|
|
506
521
|
# @return [DestinationSchema]
|
507
522
|
def get_destination(destination_id, opts = {})
|
508
523
|
data, _status_code, _headers = get_destination_with_http_info(destination_id, opts)
|
509
|
-
|
524
|
+
data
|
510
525
|
end
|
511
526
|
|
512
527
|
# Get destination information by destinationId.
|
@@ -516,12 +531,14 @@ module RusticiSoftwareCloudV2
|
|
516
531
|
# @return [Array<(DestinationSchema, Fixnum, Hash)>] DestinationSchema data, response status code and response headers
|
517
532
|
def get_destination_with_http_info(destination_id, opts = {})
|
518
533
|
if @api_client.config.debugging
|
519
|
-
@api_client.config.logger.debug
|
534
|
+
@api_client.config.logger.debug 'Calling API: DispatchApi.get_destination ...'
|
520
535
|
end
|
521
536
|
# verify the required parameter 'destination_id' is set
|
522
|
-
|
537
|
+
if @api_client.config.client_side_validation && destination_id.nil?
|
538
|
+
fail ArgumentError, "Missing the required parameter 'destination_id' when calling DispatchApi.get_destination"
|
539
|
+
end
|
523
540
|
# resource path
|
524
|
-
local_var_path =
|
541
|
+
local_var_path = '/dispatch/destinations/{destinationId}'.sub('{' + 'destinationId' + '}', destination_id.to_s)
|
525
542
|
|
526
543
|
# query parameters
|
527
544
|
query_params = {}
|
@@ -551,7 +568,6 @@ module RusticiSoftwareCloudV2
|
|
551
568
|
end
|
552
569
|
return data, status_code, headers
|
553
570
|
end
|
554
|
-
|
555
571
|
# DestinationsDispatchesRegistrationCount
|
556
572
|
# Get an aggregate count of all related dispatch registrations.
|
557
573
|
# @param destination_id Identifier for the destination
|
@@ -559,7 +575,7 @@ module RusticiSoftwareCloudV2
|
|
559
575
|
# @return [IntegerResultSchema]
|
560
576
|
def get_destination_dispatch_registration_count(destination_id, opts = {})
|
561
577
|
data, _status_code, _headers = get_destination_dispatch_registration_count_with_http_info(destination_id, opts)
|
562
|
-
|
578
|
+
data
|
563
579
|
end
|
564
580
|
|
565
581
|
# DestinationsDispatchesRegistrationCount
|
@@ -569,12 +585,14 @@ module RusticiSoftwareCloudV2
|
|
569
585
|
# @return [Array<(IntegerResultSchema, Fixnum, Hash)>] IntegerResultSchema data, response status code and response headers
|
570
586
|
def get_destination_dispatch_registration_count_with_http_info(destination_id, opts = {})
|
571
587
|
if @api_client.config.debugging
|
572
|
-
@api_client.config.logger.debug
|
588
|
+
@api_client.config.logger.debug 'Calling API: DispatchApi.get_destination_dispatch_registration_count ...'
|
573
589
|
end
|
574
590
|
# verify the required parameter 'destination_id' is set
|
575
|
-
|
591
|
+
if @api_client.config.client_side_validation && destination_id.nil?
|
592
|
+
fail ArgumentError, "Missing the required parameter 'destination_id' when calling DispatchApi.get_destination_dispatch_registration_count"
|
593
|
+
end
|
576
594
|
# resource path
|
577
|
-
local_var_path =
|
595
|
+
local_var_path = '/dispatch/destinations/{destinationId}/dispatches/registrationCount'.sub('{' + 'destinationId' + '}', destination_id.to_s)
|
578
596
|
|
579
597
|
# query parameters
|
580
598
|
query_params = {}
|
@@ -604,7 +622,6 @@ module RusticiSoftwareCloudV2
|
|
604
622
|
end
|
605
623
|
return data, status_code, headers
|
606
624
|
end
|
607
|
-
|
608
625
|
# Get a ZIP of related dispatches.
|
609
626
|
# Returns a zip file containing all of the dispatch packages for a destination.
|
610
627
|
# @param destination_id Identifier for the destination
|
@@ -615,7 +632,7 @@ module RusticiSoftwareCloudV2
|
|
615
632
|
# @return [File]
|
616
633
|
def get_destination_dispatch_zip(destination_id, opts = {})
|
617
634
|
data, _status_code, _headers = get_destination_dispatch_zip_with_http_info(destination_id, opts)
|
618
|
-
|
635
|
+
data
|
619
636
|
end
|
620
637
|
|
621
638
|
# Get a ZIP of related dispatches.
|
@@ -628,15 +645,17 @@ module RusticiSoftwareCloudV2
|
|
628
645
|
# @return [Array<(File, Fixnum, Hash)>] File data, response status code and response headers
|
629
646
|
def get_destination_dispatch_zip_with_http_info(destination_id, opts = {})
|
630
647
|
if @api_client.config.debugging
|
631
|
-
@api_client.config.logger.debug
|
648
|
+
@api_client.config.logger.debug 'Calling API: DispatchApi.get_destination_dispatch_zip ...'
|
632
649
|
end
|
633
650
|
# verify the required parameter 'destination_id' is set
|
634
|
-
|
635
|
-
|
651
|
+
if @api_client.config.client_side_validation && destination_id.nil?
|
652
|
+
fail ArgumentError, "Missing the required parameter 'destination_id' when calling DispatchApi.get_destination_dispatch_zip"
|
653
|
+
end
|
654
|
+
if @api_client.config.client_side_validation && opts[:'type'] && !['SCORM12'].include?(opts[:'type'])
|
636
655
|
fail ArgumentError, 'invalid value for "type", must be one of SCORM12'
|
637
656
|
end
|
638
657
|
# resource path
|
639
|
-
local_var_path =
|
658
|
+
local_var_path = '/dispatch/destinations/{destinationId}/dispatches/zip'.sub('{' + 'destinationId' + '}', destination_id.to_s)
|
640
659
|
|
641
660
|
# query parameters
|
642
661
|
query_params = {}
|
@@ -669,7 +688,6 @@ module RusticiSoftwareCloudV2
|
|
669
688
|
end
|
670
689
|
return data, status_code, headers
|
671
690
|
end
|
672
|
-
|
673
691
|
# Get a list of dispatches in this destination
|
674
692
|
# Get a list of related dispatches.
|
675
693
|
# @param destination_id Identifier for the destination
|
@@ -684,7 +702,7 @@ module RusticiSoftwareCloudV2
|
|
684
702
|
# @return [DispatchListSchema]
|
685
703
|
def get_destination_dispatches(destination_id, opts = {})
|
686
704
|
data, _status_code, _headers = get_destination_dispatches_with_http_info(destination_id, opts)
|
687
|
-
|
705
|
+
data
|
688
706
|
end
|
689
707
|
|
690
708
|
# Get a list of dispatches in this destination
|
@@ -701,18 +719,20 @@ module RusticiSoftwareCloudV2
|
|
701
719
|
# @return [Array<(DispatchListSchema, Fixnum, Hash)>] DispatchListSchema data, response status code and response headers
|
702
720
|
def get_destination_dispatches_with_http_info(destination_id, opts = {})
|
703
721
|
if @api_client.config.debugging
|
704
|
-
@api_client.config.logger.debug
|
722
|
+
@api_client.config.logger.debug 'Calling API: DispatchApi.get_destination_dispatches ...'
|
705
723
|
end
|
706
724
|
# verify the required parameter 'destination_id' is set
|
707
|
-
|
708
|
-
|
725
|
+
if @api_client.config.client_side_validation && destination_id.nil?
|
726
|
+
fail ArgumentError, "Missing the required parameter 'destination_id' when calling DispatchApi.get_destination_dispatches"
|
727
|
+
end
|
728
|
+
if @api_client.config.client_side_validation && opts[:'datetime_filter'] && !['created', 'updated'].include?(opts[:'datetime_filter'])
|
709
729
|
fail ArgumentError, 'invalid value for "datetime_filter", must be one of created, updated'
|
710
730
|
end
|
711
|
-
if opts[:'order_by'] && !['updated_asc', 'updated_desc', 'created_asc', 'created_desc'].include?(opts[:'order_by'])
|
731
|
+
if @api_client.config.client_side_validation && opts[:'order_by'] && !['updated_asc', 'updated_desc', 'created_asc', 'created_desc'].include?(opts[:'order_by'])
|
712
732
|
fail ArgumentError, 'invalid value for "order_by", must be one of updated_asc, updated_desc, created_asc, created_desc'
|
713
733
|
end
|
714
734
|
# resource path
|
715
|
-
local_var_path =
|
735
|
+
local_var_path = '/dispatch/destinations/{destinationId}/dispatches'.sub('{' + 'destinationId' + '}', destination_id.to_s)
|
716
736
|
|
717
737
|
# query parameters
|
718
738
|
query_params = {}
|
@@ -749,7 +769,6 @@ module RusticiSoftwareCloudV2
|
|
749
769
|
end
|
750
770
|
return data, status_code, headers
|
751
771
|
end
|
752
|
-
|
753
772
|
# True if the destination is set to hash user info, or false if it is disabled.
|
754
773
|
# True if the destination is set to hash user info, or false if it is disabled.
|
755
774
|
# @param destination_id Identifier for the destination
|
@@ -757,7 +776,7 @@ module RusticiSoftwareCloudV2
|
|
757
776
|
# @return [EnabledSchema]
|
758
777
|
def get_destination_hash_user_info(destination_id, opts = {})
|
759
778
|
data, _status_code, _headers = get_destination_hash_user_info_with_http_info(destination_id, opts)
|
760
|
-
|
779
|
+
data
|
761
780
|
end
|
762
781
|
|
763
782
|
# True if the destination is set to hash user info, or false if it is disabled.
|
@@ -767,12 +786,14 @@ module RusticiSoftwareCloudV2
|
|
767
786
|
# @return [Array<(EnabledSchema, Fixnum, Hash)>] EnabledSchema data, response status code and response headers
|
768
787
|
def get_destination_hash_user_info_with_http_info(destination_id, opts = {})
|
769
788
|
if @api_client.config.debugging
|
770
|
-
@api_client.config.logger.debug
|
789
|
+
@api_client.config.logger.debug 'Calling API: DispatchApi.get_destination_hash_user_info ...'
|
771
790
|
end
|
772
791
|
# verify the required parameter 'destination_id' is set
|
773
|
-
|
792
|
+
if @api_client.config.client_side_validation && destination_id.nil?
|
793
|
+
fail ArgumentError, "Missing the required parameter 'destination_id' when calling DispatchApi.get_destination_hash_user_info"
|
794
|
+
end
|
774
795
|
# resource path
|
775
|
-
local_var_path =
|
796
|
+
local_var_path = '/dispatch/destinations/{destinationId}/dispatches/hashUserInfo'.sub('{' + 'destinationId' + '}', destination_id.to_s)
|
776
797
|
|
777
798
|
# query parameters
|
778
799
|
query_params = {}
|
@@ -802,7 +823,6 @@ module RusticiSoftwareCloudV2
|
|
802
823
|
end
|
803
824
|
return data, status_code, headers
|
804
825
|
end
|
805
|
-
|
806
826
|
# Get the tags for this destination
|
807
827
|
# Get the tags for this destination
|
808
828
|
# @param destination_id Identifier for the destination
|
@@ -810,7 +830,7 @@ module RusticiSoftwareCloudV2
|
|
810
830
|
# @return [TagListSchema]
|
811
831
|
def get_destination_tags(destination_id, opts = {})
|
812
832
|
data, _status_code, _headers = get_destination_tags_with_http_info(destination_id, opts)
|
813
|
-
|
833
|
+
data
|
814
834
|
end
|
815
835
|
|
816
836
|
# Get the tags for this destination
|
@@ -820,12 +840,14 @@ module RusticiSoftwareCloudV2
|
|
820
840
|
# @return [Array<(TagListSchema, Fixnum, Hash)>] TagListSchema data, response status code and response headers
|
821
841
|
def get_destination_tags_with_http_info(destination_id, opts = {})
|
822
842
|
if @api_client.config.debugging
|
823
|
-
@api_client.config.logger.debug
|
843
|
+
@api_client.config.logger.debug 'Calling API: DispatchApi.get_destination_tags ...'
|
824
844
|
end
|
825
845
|
# verify the required parameter 'destination_id' is set
|
826
|
-
|
846
|
+
if @api_client.config.client_side_validation && destination_id.nil?
|
847
|
+
fail ArgumentError, "Missing the required parameter 'destination_id' when calling DispatchApi.get_destination_tags"
|
848
|
+
end
|
827
849
|
# resource path
|
828
|
-
local_var_path =
|
850
|
+
local_var_path = '/dispatch/destinations/{destinationId}/tags'.sub('{' + 'destinationId' + '}', destination_id.to_s)
|
829
851
|
|
830
852
|
# query parameters
|
831
853
|
query_params = {}
|
@@ -855,7 +877,6 @@ module RusticiSoftwareCloudV2
|
|
855
877
|
end
|
856
878
|
return data, status_code, headers
|
857
879
|
end
|
858
|
-
|
859
880
|
# getAllDestinations
|
860
881
|
# Get a list of destinations.
|
861
882
|
# @param [Hash] opts the optional parameters
|
@@ -869,7 +890,7 @@ module RusticiSoftwareCloudV2
|
|
869
890
|
# @return [DestinationListSchema]
|
870
891
|
def get_destinations(opts = {})
|
871
892
|
data, _status_code, _headers = get_destinations_with_http_info(opts)
|
872
|
-
|
893
|
+
data
|
873
894
|
end
|
874
895
|
|
875
896
|
# getAllDestinations
|
@@ -885,16 +906,16 @@ module RusticiSoftwareCloudV2
|
|
885
906
|
# @return [Array<(DestinationListSchema, Fixnum, Hash)>] DestinationListSchema data, response status code and response headers
|
886
907
|
def get_destinations_with_http_info(opts = {})
|
887
908
|
if @api_client.config.debugging
|
888
|
-
@api_client.config.logger.debug
|
909
|
+
@api_client.config.logger.debug 'Calling API: DispatchApi.get_destinations ...'
|
889
910
|
end
|
890
|
-
if opts[:'datetime_filter'] && !['created', 'updated'].include?(opts[:'datetime_filter'])
|
911
|
+
if @api_client.config.client_side_validation && opts[:'datetime_filter'] && !['created', 'updated'].include?(opts[:'datetime_filter'])
|
891
912
|
fail ArgumentError, 'invalid value for "datetime_filter", must be one of created, updated'
|
892
913
|
end
|
893
|
-
if opts[:'order_by'] && !['updated_asc', 'updated_desc', 'created_asc', 'created_desc'].include?(opts[:'order_by'])
|
914
|
+
if @api_client.config.client_side_validation && opts[:'order_by'] && !['updated_asc', 'updated_desc', 'created_asc', 'created_desc'].include?(opts[:'order_by'])
|
894
915
|
fail ArgumentError, 'invalid value for "order_by", must be one of updated_asc, updated_desc, created_asc, created_desc'
|
895
916
|
end
|
896
917
|
# resource path
|
897
|
-
local_var_path =
|
918
|
+
local_var_path = '/dispatch/destinations'
|
898
919
|
|
899
920
|
# query parameters
|
900
921
|
query_params = {}
|
@@ -931,7 +952,6 @@ module RusticiSoftwareCloudV2
|
|
931
952
|
end
|
932
953
|
return data, status_code, headers
|
933
954
|
end
|
934
|
-
|
935
955
|
# Get dispatch by id.
|
936
956
|
# Get the dispatch with `dispatchId`.
|
937
957
|
# @param dispatch_id Identifier for the dispatch
|
@@ -939,7 +959,7 @@ module RusticiSoftwareCloudV2
|
|
939
959
|
# @return [DispatchSchema]
|
940
960
|
def get_dispatch(dispatch_id, opts = {})
|
941
961
|
data, _status_code, _headers = get_dispatch_with_http_info(dispatch_id, opts)
|
942
|
-
|
962
|
+
data
|
943
963
|
end
|
944
964
|
|
945
965
|
# Get dispatch by id.
|
@@ -949,12 +969,14 @@ module RusticiSoftwareCloudV2
|
|
949
969
|
# @return [Array<(DispatchSchema, Fixnum, Hash)>] DispatchSchema data, response status code and response headers
|
950
970
|
def get_dispatch_with_http_info(dispatch_id, opts = {})
|
951
971
|
if @api_client.config.debugging
|
952
|
-
@api_client.config.logger.debug
|
972
|
+
@api_client.config.logger.debug 'Calling API: DispatchApi.get_dispatch ...'
|
953
973
|
end
|
954
974
|
# verify the required parameter 'dispatch_id' is set
|
955
|
-
|
975
|
+
if @api_client.config.client_side_validation && dispatch_id.nil?
|
976
|
+
fail ArgumentError, "Missing the required parameter 'dispatch_id' when calling DispatchApi.get_dispatch"
|
977
|
+
end
|
956
978
|
# resource path
|
957
|
-
local_var_path =
|
979
|
+
local_var_path = '/dispatch/dispatches/{dispatchId}'.sub('{' + 'dispatchId' + '}', dispatch_id.to_s)
|
958
980
|
|
959
981
|
# query parameters
|
960
982
|
query_params = {}
|
@@ -984,7 +1006,6 @@ module RusticiSoftwareCloudV2
|
|
984
1006
|
end
|
985
1007
|
return data, status_code, headers
|
986
1008
|
end
|
987
|
-
|
988
1009
|
# Get the `enabled` status for `dispatchId`.
|
989
1010
|
# Get the `enabled` status for `dispatchId`. True if the dispatch is enabled, or false if it is disabled.
|
990
1011
|
# @param dispatch_id Identifier for the dispatch
|
@@ -992,7 +1013,7 @@ module RusticiSoftwareCloudV2
|
|
992
1013
|
# @return [EnabledSchema]
|
993
1014
|
def get_dispatch_enabled(dispatch_id, opts = {})
|
994
1015
|
data, _status_code, _headers = get_dispatch_enabled_with_http_info(dispatch_id, opts)
|
995
|
-
|
1016
|
+
data
|
996
1017
|
end
|
997
1018
|
|
998
1019
|
# Get the `enabled` status for `dispatchId`.
|
@@ -1002,12 +1023,14 @@ module RusticiSoftwareCloudV2
|
|
1002
1023
|
# @return [Array<(EnabledSchema, Fixnum, Hash)>] EnabledSchema data, response status code and response headers
|
1003
1024
|
def get_dispatch_enabled_with_http_info(dispatch_id, opts = {})
|
1004
1025
|
if @api_client.config.debugging
|
1005
|
-
@api_client.config.logger.debug
|
1026
|
+
@api_client.config.logger.debug 'Calling API: DispatchApi.get_dispatch_enabled ...'
|
1006
1027
|
end
|
1007
1028
|
# verify the required parameter 'dispatch_id' is set
|
1008
|
-
|
1029
|
+
if @api_client.config.client_side_validation && dispatch_id.nil?
|
1030
|
+
fail ArgumentError, "Missing the required parameter 'dispatch_id' when calling DispatchApi.get_dispatch_enabled"
|
1031
|
+
end
|
1009
1032
|
# resource path
|
1010
|
-
local_var_path =
|
1033
|
+
local_var_path = '/dispatch/dispatches/{dispatchId}/enabled'.sub('{' + 'dispatchId' + '}', dispatch_id.to_s)
|
1011
1034
|
|
1012
1035
|
# query parameters
|
1013
1036
|
query_params = {}
|
@@ -1037,7 +1060,6 @@ module RusticiSoftwareCloudV2
|
|
1037
1060
|
end
|
1038
1061
|
return data, status_code, headers
|
1039
1062
|
end
|
1040
|
-
|
1041
1063
|
# Get if this dispatch has PII hashing enabled.
|
1042
1064
|
# Get if this dispatch has PII hashing enabled. True if the dispatch is set to hash user info, or false if it is disabled.
|
1043
1065
|
# @param dispatch_id Identifier for the dispatch
|
@@ -1045,7 +1067,7 @@ module RusticiSoftwareCloudV2
|
|
1045
1067
|
# @return [EnabledSchema]
|
1046
1068
|
def get_dispatch_hash_user_info(dispatch_id, opts = {})
|
1047
1069
|
data, _status_code, _headers = get_dispatch_hash_user_info_with_http_info(dispatch_id, opts)
|
1048
|
-
|
1070
|
+
data
|
1049
1071
|
end
|
1050
1072
|
|
1051
1073
|
# Get if this dispatch has PII hashing enabled.
|
@@ -1055,12 +1077,14 @@ module RusticiSoftwareCloudV2
|
|
1055
1077
|
# @return [Array<(EnabledSchema, Fixnum, Hash)>] EnabledSchema data, response status code and response headers
|
1056
1078
|
def get_dispatch_hash_user_info_with_http_info(dispatch_id, opts = {})
|
1057
1079
|
if @api_client.config.debugging
|
1058
|
-
@api_client.config.logger.debug
|
1080
|
+
@api_client.config.logger.debug 'Calling API: DispatchApi.get_dispatch_hash_user_info ...'
|
1059
1081
|
end
|
1060
1082
|
# verify the required parameter 'dispatch_id' is set
|
1061
|
-
|
1083
|
+
if @api_client.config.client_side_validation && dispatch_id.nil?
|
1084
|
+
fail ArgumentError, "Missing the required parameter 'dispatch_id' when calling DispatchApi.get_dispatch_hash_user_info"
|
1085
|
+
end
|
1062
1086
|
# resource path
|
1063
|
-
local_var_path =
|
1087
|
+
local_var_path = '/dispatch/dispatches/{dispatchId}/hashUserInfo'.sub('{' + 'dispatchId' + '}', dispatch_id.to_s)
|
1064
1088
|
|
1065
1089
|
# query parameters
|
1066
1090
|
query_params = {}
|
@@ -1090,7 +1114,6 @@ module RusticiSoftwareCloudV2
|
|
1090
1114
|
end
|
1091
1115
|
return data, status_code, headers
|
1092
1116
|
end
|
1093
|
-
|
1094
1117
|
# Get the registration count for `dispatchId`.
|
1095
1118
|
# Get the registration count for this dispatch, and the date and time of the last count reset, if any.
|
1096
1119
|
# @param dispatch_id Identifier for the dispatch
|
@@ -1098,7 +1121,7 @@ module RusticiSoftwareCloudV2
|
|
1098
1121
|
# @return [DispatchRegistrationCountSchema]
|
1099
1122
|
def get_dispatch_registration_count(dispatch_id, opts = {})
|
1100
1123
|
data, _status_code, _headers = get_dispatch_registration_count_with_http_info(dispatch_id, opts)
|
1101
|
-
|
1124
|
+
data
|
1102
1125
|
end
|
1103
1126
|
|
1104
1127
|
# Get the registration count for `dispatchId`.
|
@@ -1108,12 +1131,14 @@ module RusticiSoftwareCloudV2
|
|
1108
1131
|
# @return [Array<(DispatchRegistrationCountSchema, Fixnum, Hash)>] DispatchRegistrationCountSchema data, response status code and response headers
|
1109
1132
|
def get_dispatch_registration_count_with_http_info(dispatch_id, opts = {})
|
1110
1133
|
if @api_client.config.debugging
|
1111
|
-
@api_client.config.logger.debug
|
1134
|
+
@api_client.config.logger.debug 'Calling API: DispatchApi.get_dispatch_registration_count ...'
|
1112
1135
|
end
|
1113
1136
|
# verify the required parameter 'dispatch_id' is set
|
1114
|
-
|
1137
|
+
if @api_client.config.client_side_validation && dispatch_id.nil?
|
1138
|
+
fail ArgumentError, "Missing the required parameter 'dispatch_id' when calling DispatchApi.get_dispatch_registration_count"
|
1139
|
+
end
|
1115
1140
|
# resource path
|
1116
|
-
local_var_path =
|
1141
|
+
local_var_path = '/dispatch/dispatches/{dispatchId}/registrationCount'.sub('{' + 'dispatchId' + '}', dispatch_id.to_s)
|
1117
1142
|
|
1118
1143
|
# query parameters
|
1119
1144
|
query_params = {}
|
@@ -1143,7 +1168,6 @@ module RusticiSoftwareCloudV2
|
|
1143
1168
|
end
|
1144
1169
|
return data, status_code, headers
|
1145
1170
|
end
|
1146
|
-
|
1147
1171
|
# Get the tags for this dispatch.
|
1148
1172
|
# Get the tags for this dispatch.
|
1149
1173
|
# @param dispatch_id Identifier for the dispatch
|
@@ -1151,7 +1175,7 @@ module RusticiSoftwareCloudV2
|
|
1151
1175
|
# @return [TagListSchema]
|
1152
1176
|
def get_dispatch_tags(dispatch_id, opts = {})
|
1153
1177
|
data, _status_code, _headers = get_dispatch_tags_with_http_info(dispatch_id, opts)
|
1154
|
-
|
1178
|
+
data
|
1155
1179
|
end
|
1156
1180
|
|
1157
1181
|
# Get the tags for this dispatch.
|
@@ -1161,12 +1185,14 @@ module RusticiSoftwareCloudV2
|
|
1161
1185
|
# @return [Array<(TagListSchema, Fixnum, Hash)>] TagListSchema data, response status code and response headers
|
1162
1186
|
def get_dispatch_tags_with_http_info(dispatch_id, opts = {})
|
1163
1187
|
if @api_client.config.debugging
|
1164
|
-
@api_client.config.logger.debug
|
1188
|
+
@api_client.config.logger.debug 'Calling API: DispatchApi.get_dispatch_tags ...'
|
1165
1189
|
end
|
1166
1190
|
# verify the required parameter 'dispatch_id' is set
|
1167
|
-
|
1191
|
+
if @api_client.config.client_side_validation && dispatch_id.nil?
|
1192
|
+
fail ArgumentError, "Missing the required parameter 'dispatch_id' when calling DispatchApi.get_dispatch_tags"
|
1193
|
+
end
|
1168
1194
|
# resource path
|
1169
|
-
local_var_path =
|
1195
|
+
local_var_path = '/dispatch/dispatches/{dispatchId}/tags'.sub('{' + 'dispatchId' + '}', dispatch_id.to_s)
|
1170
1196
|
|
1171
1197
|
# query parameters
|
1172
1198
|
query_params = {}
|
@@ -1196,7 +1222,6 @@ module RusticiSoftwareCloudV2
|
|
1196
1222
|
end
|
1197
1223
|
return data, status_code, headers
|
1198
1224
|
end
|
1199
|
-
|
1200
1225
|
# Get the ZIP for the dispatchId.
|
1201
1226
|
# Get the ZIP for the dispatch with `dispatchId`
|
1202
1227
|
# @param dispatch_id Identifier for the dispatch
|
@@ -1206,7 +1231,7 @@ module RusticiSoftwareCloudV2
|
|
1206
1231
|
# @return [File]
|
1207
1232
|
def get_dispatch_zip(dispatch_id, opts = {})
|
1208
1233
|
data, _status_code, _headers = get_dispatch_zip_with_http_info(dispatch_id, opts)
|
1209
|
-
|
1234
|
+
data
|
1210
1235
|
end
|
1211
1236
|
|
1212
1237
|
# Get the ZIP for the dispatchId.
|
@@ -1218,15 +1243,17 @@ module RusticiSoftwareCloudV2
|
|
1218
1243
|
# @return [Array<(File, Fixnum, Hash)>] File data, response status code and response headers
|
1219
1244
|
def get_dispatch_zip_with_http_info(dispatch_id, opts = {})
|
1220
1245
|
if @api_client.config.debugging
|
1221
|
-
@api_client.config.logger.debug
|
1246
|
+
@api_client.config.logger.debug 'Calling API: DispatchApi.get_dispatch_zip ...'
|
1222
1247
|
end
|
1223
1248
|
# verify the required parameter 'dispatch_id' is set
|
1224
|
-
|
1225
|
-
|
1249
|
+
if @api_client.config.client_side_validation && dispatch_id.nil?
|
1250
|
+
fail ArgumentError, "Missing the required parameter 'dispatch_id' when calling DispatchApi.get_dispatch_zip"
|
1251
|
+
end
|
1252
|
+
if @api_client.config.client_side_validation && opts[:'type'] && !['SCORM12'].include?(opts[:'type'])
|
1226
1253
|
fail ArgumentError, 'invalid value for "type", must be one of SCORM12'
|
1227
1254
|
end
|
1228
1255
|
# resource path
|
1229
|
-
local_var_path =
|
1256
|
+
local_var_path = '/dispatch/dispatches/{dispatchId}/zip'.sub('{' + 'dispatchId' + '}', dispatch_id.to_s)
|
1230
1257
|
|
1231
1258
|
# query parameters
|
1232
1259
|
query_params = {}
|
@@ -1258,7 +1285,6 @@ module RusticiSoftwareCloudV2
|
|
1258
1285
|
end
|
1259
1286
|
return data, status_code, headers
|
1260
1287
|
end
|
1261
|
-
|
1262
1288
|
# All Dispatches in the system for an AppId
|
1263
1289
|
# Get a list of dispatches.
|
1264
1290
|
# @param [Hash] opts the optional parameters
|
@@ -1272,7 +1298,7 @@ module RusticiSoftwareCloudV2
|
|
1272
1298
|
# @return [DispatchListSchema]
|
1273
1299
|
def get_dispatches(opts = {})
|
1274
1300
|
data, _status_code, _headers = get_dispatches_with_http_info(opts)
|
1275
|
-
|
1301
|
+
data
|
1276
1302
|
end
|
1277
1303
|
|
1278
1304
|
# All Dispatches in the system for an AppId
|
@@ -1288,16 +1314,16 @@ module RusticiSoftwareCloudV2
|
|
1288
1314
|
# @return [Array<(DispatchListSchema, Fixnum, Hash)>] DispatchListSchema data, response status code and response headers
|
1289
1315
|
def get_dispatches_with_http_info(opts = {})
|
1290
1316
|
if @api_client.config.debugging
|
1291
|
-
@api_client.config.logger.debug
|
1317
|
+
@api_client.config.logger.debug 'Calling API: DispatchApi.get_dispatches ...'
|
1292
1318
|
end
|
1293
|
-
if opts[:'datetime_filter'] && !['created', 'updated'].include?(opts[:'datetime_filter'])
|
1319
|
+
if @api_client.config.client_side_validation && opts[:'datetime_filter'] && !['created', 'updated'].include?(opts[:'datetime_filter'])
|
1294
1320
|
fail ArgumentError, 'invalid value for "datetime_filter", must be one of created, updated'
|
1295
1321
|
end
|
1296
|
-
if opts[:'order_by'] && !['updated_asc', 'updated_desc', 'created_asc', 'created_desc'].include?(opts[:'order_by'])
|
1322
|
+
if @api_client.config.client_side_validation && opts[:'order_by'] && !['updated_asc', 'updated_desc', 'created_asc', 'created_desc'].include?(opts[:'order_by'])
|
1297
1323
|
fail ArgumentError, 'invalid value for "order_by", must be one of updated_asc, updated_desc, created_asc, created_desc'
|
1298
1324
|
end
|
1299
1325
|
# resource path
|
1300
|
-
local_var_path =
|
1326
|
+
local_var_path = '/dispatch/dispatches'
|
1301
1327
|
|
1302
1328
|
# query parameters
|
1303
1329
|
query_params = {}
|
@@ -1334,7 +1360,6 @@ module RusticiSoftwareCloudV2
|
|
1334
1360
|
end
|
1335
1361
|
return data, status_code, headers
|
1336
1362
|
end
|
1337
|
-
|
1338
1363
|
# Set the tags for this destination
|
1339
1364
|
# Set the tags for this destination
|
1340
1365
|
# @param destination_id Identifier for the destination
|
@@ -1343,7 +1368,7 @@ module RusticiSoftwareCloudV2
|
|
1343
1368
|
# @return [nil]
|
1344
1369
|
def put_destination_tags(destination_id, tags, opts = {})
|
1345
1370
|
put_destination_tags_with_http_info(destination_id, tags, opts)
|
1346
|
-
|
1371
|
+
nil
|
1347
1372
|
end
|
1348
1373
|
|
1349
1374
|
# Set the tags for this destination
|
@@ -1354,14 +1379,18 @@ module RusticiSoftwareCloudV2
|
|
1354
1379
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
1355
1380
|
def put_destination_tags_with_http_info(destination_id, tags, opts = {})
|
1356
1381
|
if @api_client.config.debugging
|
1357
|
-
@api_client.config.logger.debug
|
1382
|
+
@api_client.config.logger.debug 'Calling API: DispatchApi.put_destination_tags ...'
|
1358
1383
|
end
|
1359
1384
|
# verify the required parameter 'destination_id' is set
|
1360
|
-
|
1385
|
+
if @api_client.config.client_side_validation && destination_id.nil?
|
1386
|
+
fail ArgumentError, "Missing the required parameter 'destination_id' when calling DispatchApi.put_destination_tags"
|
1387
|
+
end
|
1361
1388
|
# verify the required parameter 'tags' is set
|
1362
|
-
|
1389
|
+
if @api_client.config.client_side_validation && tags.nil?
|
1390
|
+
fail ArgumentError, "Missing the required parameter 'tags' when calling DispatchApi.put_destination_tags"
|
1391
|
+
end
|
1363
1392
|
# resource path
|
1364
|
-
local_var_path =
|
1393
|
+
local_var_path = '/dispatch/destinations/{destinationId}/tags'.sub('{' + 'destinationId' + '}', destination_id.to_s)
|
1365
1394
|
|
1366
1395
|
# query parameters
|
1367
1396
|
query_params = {}
|
@@ -1390,7 +1419,6 @@ module RusticiSoftwareCloudV2
|
|
1390
1419
|
end
|
1391
1420
|
return data, status_code, headers
|
1392
1421
|
end
|
1393
|
-
|
1394
1422
|
# Sets all of the provided tags on all of the provided destinations
|
1395
1423
|
# Sets all of the provided tags on all of the provided destinations
|
1396
1424
|
# @param batch Object representing an array of ids to apply an array of tags to.
|
@@ -1398,7 +1426,7 @@ module RusticiSoftwareCloudV2
|
|
1398
1426
|
# @return [nil]
|
1399
1427
|
def put_destination_tags_batch(batch, opts = {})
|
1400
1428
|
put_destination_tags_batch_with_http_info(batch, opts)
|
1401
|
-
|
1429
|
+
nil
|
1402
1430
|
end
|
1403
1431
|
|
1404
1432
|
# Sets all of the provided tags on all of the provided destinations
|
@@ -1408,12 +1436,14 @@ module RusticiSoftwareCloudV2
|
|
1408
1436
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
1409
1437
|
def put_destination_tags_batch_with_http_info(batch, opts = {})
|
1410
1438
|
if @api_client.config.debugging
|
1411
|
-
@api_client.config.logger.debug
|
1439
|
+
@api_client.config.logger.debug 'Calling API: DispatchApi.put_destination_tags_batch ...'
|
1412
1440
|
end
|
1413
1441
|
# verify the required parameter 'batch' is set
|
1414
|
-
|
1442
|
+
if @api_client.config.client_side_validation && batch.nil?
|
1443
|
+
fail ArgumentError, "Missing the required parameter 'batch' when calling DispatchApi.put_destination_tags_batch"
|
1444
|
+
end
|
1415
1445
|
# resource path
|
1416
|
-
local_var_path =
|
1446
|
+
local_var_path = '/dispatch/destinations/tags'
|
1417
1447
|
|
1418
1448
|
# query parameters
|
1419
1449
|
query_params = {}
|
@@ -1442,7 +1472,6 @@ module RusticiSoftwareCloudV2
|
|
1442
1472
|
end
|
1443
1473
|
return data, status_code, headers
|
1444
1474
|
end
|
1445
|
-
|
1446
1475
|
# Set the tags for this dispatch.
|
1447
1476
|
# Set the tags for this dispatch.
|
1448
1477
|
# @param dispatch_id Identifier for the dispatch
|
@@ -1451,7 +1480,7 @@ module RusticiSoftwareCloudV2
|
|
1451
1480
|
# @return [nil]
|
1452
1481
|
def put_dispatch_tags(dispatch_id, tags, opts = {})
|
1453
1482
|
put_dispatch_tags_with_http_info(dispatch_id, tags, opts)
|
1454
|
-
|
1483
|
+
nil
|
1455
1484
|
end
|
1456
1485
|
|
1457
1486
|
# Set the tags for this dispatch.
|
@@ -1462,14 +1491,18 @@ module RusticiSoftwareCloudV2
|
|
1462
1491
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
1463
1492
|
def put_dispatch_tags_with_http_info(dispatch_id, tags, opts = {})
|
1464
1493
|
if @api_client.config.debugging
|
1465
|
-
@api_client.config.logger.debug
|
1494
|
+
@api_client.config.logger.debug 'Calling API: DispatchApi.put_dispatch_tags ...'
|
1466
1495
|
end
|
1467
1496
|
# verify the required parameter 'dispatch_id' is set
|
1468
|
-
|
1497
|
+
if @api_client.config.client_side_validation && dispatch_id.nil?
|
1498
|
+
fail ArgumentError, "Missing the required parameter 'dispatch_id' when calling DispatchApi.put_dispatch_tags"
|
1499
|
+
end
|
1469
1500
|
# verify the required parameter 'tags' is set
|
1470
|
-
|
1501
|
+
if @api_client.config.client_side_validation && tags.nil?
|
1502
|
+
fail ArgumentError, "Missing the required parameter 'tags' when calling DispatchApi.put_dispatch_tags"
|
1503
|
+
end
|
1471
1504
|
# resource path
|
1472
|
-
local_var_path =
|
1505
|
+
local_var_path = '/dispatch/dispatches/{dispatchId}/tags'.sub('{' + 'dispatchId' + '}', dispatch_id.to_s)
|
1473
1506
|
|
1474
1507
|
# query parameters
|
1475
1508
|
query_params = {}
|
@@ -1498,7 +1531,6 @@ module RusticiSoftwareCloudV2
|
|
1498
1531
|
end
|
1499
1532
|
return data, status_code, headers
|
1500
1533
|
end
|
1501
|
-
|
1502
1534
|
# Sets all of the provided tags on all of the provided dispatches
|
1503
1535
|
# Sets all of the provided tags on all of the provided dispatches
|
1504
1536
|
# @param batch Object representing an array of ids to apply an array of tags to.
|
@@ -1506,7 +1538,7 @@ module RusticiSoftwareCloudV2
|
|
1506
1538
|
# @return [nil]
|
1507
1539
|
def put_dispatch_tags_batch(batch, opts = {})
|
1508
1540
|
put_dispatch_tags_batch_with_http_info(batch, opts)
|
1509
|
-
|
1541
|
+
nil
|
1510
1542
|
end
|
1511
1543
|
|
1512
1544
|
# Sets all of the provided tags on all of the provided dispatches
|
@@ -1516,12 +1548,14 @@ module RusticiSoftwareCloudV2
|
|
1516
1548
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
1517
1549
|
def put_dispatch_tags_batch_with_http_info(batch, opts = {})
|
1518
1550
|
if @api_client.config.debugging
|
1519
|
-
@api_client.config.logger.debug
|
1551
|
+
@api_client.config.logger.debug 'Calling API: DispatchApi.put_dispatch_tags_batch ...'
|
1520
1552
|
end
|
1521
1553
|
# verify the required parameter 'batch' is set
|
1522
|
-
|
1554
|
+
if @api_client.config.client_side_validation && batch.nil?
|
1555
|
+
fail ArgumentError, "Missing the required parameter 'batch' when calling DispatchApi.put_dispatch_tags_batch"
|
1556
|
+
end
|
1523
1557
|
# resource path
|
1524
|
-
local_var_path =
|
1558
|
+
local_var_path = '/dispatch/dispatches/tags'
|
1525
1559
|
|
1526
1560
|
# query parameters
|
1527
1561
|
query_params = {}
|
@@ -1550,7 +1584,6 @@ module RusticiSoftwareCloudV2
|
|
1550
1584
|
end
|
1551
1585
|
return data, status_code, headers
|
1552
1586
|
end
|
1553
|
-
|
1554
1587
|
# DestinationsDispatchesRegistrationCount
|
1555
1588
|
# Reset registration counts for all related dispatches.
|
1556
1589
|
# @param destination_id Identifier for the destination
|
@@ -1558,7 +1591,7 @@ module RusticiSoftwareCloudV2
|
|
1558
1591
|
# @return [nil]
|
1559
1592
|
def reset_destination_dispatch_registration_count(destination_id, opts = {})
|
1560
1593
|
reset_destination_dispatch_registration_count_with_http_info(destination_id, opts)
|
1561
|
-
|
1594
|
+
nil
|
1562
1595
|
end
|
1563
1596
|
|
1564
1597
|
# DestinationsDispatchesRegistrationCount
|
@@ -1568,12 +1601,14 @@ module RusticiSoftwareCloudV2
|
|
1568
1601
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
1569
1602
|
def reset_destination_dispatch_registration_count_with_http_info(destination_id, opts = {})
|
1570
1603
|
if @api_client.config.debugging
|
1571
|
-
@api_client.config.logger.debug
|
1604
|
+
@api_client.config.logger.debug 'Calling API: DispatchApi.reset_destination_dispatch_registration_count ...'
|
1572
1605
|
end
|
1573
1606
|
# verify the required parameter 'destination_id' is set
|
1574
|
-
|
1607
|
+
if @api_client.config.client_side_validation && destination_id.nil?
|
1608
|
+
fail ArgumentError, "Missing the required parameter 'destination_id' when calling DispatchApi.reset_destination_dispatch_registration_count"
|
1609
|
+
end
|
1575
1610
|
# resource path
|
1576
|
-
local_var_path =
|
1611
|
+
local_var_path = '/dispatch/destinations/{destinationId}/dispatches/registrationCount'.sub('{' + 'destinationId' + '}', destination_id.to_s)
|
1577
1612
|
|
1578
1613
|
# query parameters
|
1579
1614
|
query_params = {}
|
@@ -1602,7 +1637,6 @@ module RusticiSoftwareCloudV2
|
|
1602
1637
|
end
|
1603
1638
|
return data, status_code, headers
|
1604
1639
|
end
|
1605
|
-
|
1606
1640
|
# Reset registration count.
|
1607
1641
|
# Reset the registration count for this dispatch.
|
1608
1642
|
# @param dispatch_id Identifier for the dispatch
|
@@ -1610,7 +1644,7 @@ module RusticiSoftwareCloudV2
|
|
1610
1644
|
# @return [nil]
|
1611
1645
|
def reset_dispatch_registration_count(dispatch_id, opts = {})
|
1612
1646
|
reset_dispatch_registration_count_with_http_info(dispatch_id, opts)
|
1613
|
-
|
1647
|
+
nil
|
1614
1648
|
end
|
1615
1649
|
|
1616
1650
|
# Reset registration count.
|
@@ -1620,12 +1654,14 @@ module RusticiSoftwareCloudV2
|
|
1620
1654
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
1621
1655
|
def reset_dispatch_registration_count_with_http_info(dispatch_id, opts = {})
|
1622
1656
|
if @api_client.config.debugging
|
1623
|
-
@api_client.config.logger.debug
|
1657
|
+
@api_client.config.logger.debug 'Calling API: DispatchApi.reset_dispatch_registration_count ...'
|
1624
1658
|
end
|
1625
1659
|
# verify the required parameter 'dispatch_id' is set
|
1626
|
-
|
1660
|
+
if @api_client.config.client_side_validation && dispatch_id.nil?
|
1661
|
+
fail ArgumentError, "Missing the required parameter 'dispatch_id' when calling DispatchApi.reset_dispatch_registration_count"
|
1662
|
+
end
|
1627
1663
|
# resource path
|
1628
|
-
local_var_path =
|
1664
|
+
local_var_path = '/dispatch/dispatches/{dispatchId}/registrationCount'.sub('{' + 'dispatchId' + '}', dispatch_id.to_s)
|
1629
1665
|
|
1630
1666
|
# query parameters
|
1631
1667
|
query_params = {}
|
@@ -1654,8 +1690,6 @@ module RusticiSoftwareCloudV2
|
|
1654
1690
|
end
|
1655
1691
|
return data, status_code, headers
|
1656
1692
|
end
|
1657
|
-
|
1658
|
-
#
|
1659
1693
|
# Creates or updates the destination identified by the `destinationId` provided in the path. If the destination is being created, a name should be provided in the DestinationSchema, else an error will be thrown. You may also optionally supply the e-mail address of the user to be associated with this destination. This e-mail address should correspond to a SCORM Cloud user account. If you do not supply an e-mail address upon the creation of a destination, the owner of the Realm will be used. This can, of course, also be changed via calling this method to update an existing destination.
|
1660
1694
|
# @param destination_id Identifier for the destination
|
1661
1695
|
# @param destination
|
@@ -1663,10 +1697,9 @@ module RusticiSoftwareCloudV2
|
|
1663
1697
|
# @return [nil]
|
1664
1698
|
def set_destination(destination_id, destination, opts = {})
|
1665
1699
|
set_destination_with_http_info(destination_id, destination, opts)
|
1666
|
-
|
1700
|
+
nil
|
1667
1701
|
end
|
1668
1702
|
|
1669
|
-
#
|
1670
1703
|
# Creates or updates the destination identified by the `destinationId` provided in the path. If the destination is being created, a name should be provided in the DestinationSchema, else an error will be thrown. You may also optionally supply the e-mail address of the user to be associated with this destination. This e-mail address should correspond to a SCORM Cloud user account. If you do not supply an e-mail address upon the creation of a destination, the owner of the Realm will be used. This can, of course, also be changed via calling this method to update an existing destination.
|
1671
1704
|
# @param destination_id Identifier for the destination
|
1672
1705
|
# @param destination
|
@@ -1674,14 +1707,18 @@ module RusticiSoftwareCloudV2
|
|
1674
1707
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
1675
1708
|
def set_destination_with_http_info(destination_id, destination, opts = {})
|
1676
1709
|
if @api_client.config.debugging
|
1677
|
-
@api_client.config.logger.debug
|
1710
|
+
@api_client.config.logger.debug 'Calling API: DispatchApi.set_destination ...'
|
1678
1711
|
end
|
1679
1712
|
# verify the required parameter 'destination_id' is set
|
1680
|
-
|
1713
|
+
if @api_client.config.client_side_validation && destination_id.nil?
|
1714
|
+
fail ArgumentError, "Missing the required parameter 'destination_id' when calling DispatchApi.set_destination"
|
1715
|
+
end
|
1681
1716
|
# verify the required parameter 'destination' is set
|
1682
|
-
|
1717
|
+
if @api_client.config.client_side_validation && destination.nil?
|
1718
|
+
fail ArgumentError, "Missing the required parameter 'destination' when calling DispatchApi.set_destination"
|
1719
|
+
end
|
1683
1720
|
# resource path
|
1684
|
-
local_var_path =
|
1721
|
+
local_var_path = '/dispatch/destinations/{destinationId}'.sub('{' + 'destinationId' + '}', destination_id.to_s)
|
1685
1722
|
|
1686
1723
|
# query parameters
|
1687
1724
|
query_params = {}
|
@@ -1710,7 +1747,6 @@ module RusticiSoftwareCloudV2
|
|
1710
1747
|
end
|
1711
1748
|
return data, status_code, headers
|
1712
1749
|
end
|
1713
|
-
|
1714
1750
|
# DestinationsDispatchesEnabledByTenant
|
1715
1751
|
# Enable or disable all related dispatches.
|
1716
1752
|
# @param destination_id Identifier for the destination
|
@@ -1719,7 +1755,7 @@ module RusticiSoftwareCloudV2
|
|
1719
1755
|
# @return [nil]
|
1720
1756
|
def set_destination_dispatch_enabled(destination_id, enabled, opts = {})
|
1721
1757
|
set_destination_dispatch_enabled_with_http_info(destination_id, enabled, opts)
|
1722
|
-
|
1758
|
+
nil
|
1723
1759
|
end
|
1724
1760
|
|
1725
1761
|
# DestinationsDispatchesEnabledByTenant
|
@@ -1730,14 +1766,18 @@ module RusticiSoftwareCloudV2
|
|
1730
1766
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
1731
1767
|
def set_destination_dispatch_enabled_with_http_info(destination_id, enabled, opts = {})
|
1732
1768
|
if @api_client.config.debugging
|
1733
|
-
@api_client.config.logger.debug
|
1769
|
+
@api_client.config.logger.debug 'Calling API: DispatchApi.set_destination_dispatch_enabled ...'
|
1734
1770
|
end
|
1735
1771
|
# verify the required parameter 'destination_id' is set
|
1736
|
-
|
1772
|
+
if @api_client.config.client_side_validation && destination_id.nil?
|
1773
|
+
fail ArgumentError, "Missing the required parameter 'destination_id' when calling DispatchApi.set_destination_dispatch_enabled"
|
1774
|
+
end
|
1737
1775
|
# verify the required parameter 'enabled' is set
|
1738
|
-
|
1776
|
+
if @api_client.config.client_side_validation && enabled.nil?
|
1777
|
+
fail ArgumentError, "Missing the required parameter 'enabled' when calling DispatchApi.set_destination_dispatch_enabled"
|
1778
|
+
end
|
1739
1779
|
# resource path
|
1740
|
-
local_var_path =
|
1780
|
+
local_var_path = '/dispatch/destinations/{destinationId}/dispatches/enabled'.sub('{' + 'destinationId' + '}', destination_id.to_s)
|
1741
1781
|
|
1742
1782
|
# query parameters
|
1743
1783
|
query_params = {}
|
@@ -1766,7 +1806,6 @@ module RusticiSoftwareCloudV2
|
|
1766
1806
|
end
|
1767
1807
|
return data, status_code, headers
|
1768
1808
|
end
|
1769
|
-
|
1770
1809
|
# Set the `enabled` status for `dispatchId`.
|
1771
1810
|
# Set the `enabled` status for `dispatchId`.
|
1772
1811
|
# @param dispatch_id Identifier for the dispatch
|
@@ -1775,7 +1814,7 @@ module RusticiSoftwareCloudV2
|
|
1775
1814
|
# @return [nil]
|
1776
1815
|
def set_dispatch_enabled(dispatch_id, enabled, opts = {})
|
1777
1816
|
set_dispatch_enabled_with_http_info(dispatch_id, enabled, opts)
|
1778
|
-
|
1817
|
+
nil
|
1779
1818
|
end
|
1780
1819
|
|
1781
1820
|
# Set the `enabled` status for `dispatchId`.
|
@@ -1786,14 +1825,18 @@ module RusticiSoftwareCloudV2
|
|
1786
1825
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
1787
1826
|
def set_dispatch_enabled_with_http_info(dispatch_id, enabled, opts = {})
|
1788
1827
|
if @api_client.config.debugging
|
1789
|
-
@api_client.config.logger.debug
|
1828
|
+
@api_client.config.logger.debug 'Calling API: DispatchApi.set_dispatch_enabled ...'
|
1790
1829
|
end
|
1791
1830
|
# verify the required parameter 'dispatch_id' is set
|
1792
|
-
|
1831
|
+
if @api_client.config.client_side_validation && dispatch_id.nil?
|
1832
|
+
fail ArgumentError, "Missing the required parameter 'dispatch_id' when calling DispatchApi.set_dispatch_enabled"
|
1833
|
+
end
|
1793
1834
|
# verify the required parameter 'enabled' is set
|
1794
|
-
|
1835
|
+
if @api_client.config.client_side_validation && enabled.nil?
|
1836
|
+
fail ArgumentError, "Missing the required parameter 'enabled' when calling DispatchApi.set_dispatch_enabled"
|
1837
|
+
end
|
1795
1838
|
# resource path
|
1796
|
-
local_var_path =
|
1839
|
+
local_var_path = '/dispatch/dispatches/{dispatchId}/enabled'.sub('{' + 'dispatchId' + '}', dispatch_id.to_s)
|
1797
1840
|
|
1798
1841
|
# query parameters
|
1799
1842
|
query_params = {}
|
@@ -1822,7 +1865,6 @@ module RusticiSoftwareCloudV2
|
|
1822
1865
|
end
|
1823
1866
|
return data, status_code, headers
|
1824
1867
|
end
|
1825
|
-
|
1826
1868
|
# Enable or disable hashing of the user info for the destination.
|
1827
1869
|
# Enable or disable hashing of the user info for the destination.
|
1828
1870
|
# @param destination_id Identifier for the destination
|
@@ -1831,7 +1873,7 @@ module RusticiSoftwareCloudV2
|
|
1831
1873
|
# @return [nil]
|
1832
1874
|
def update_destination_hash_user_info(destination_id, enabled, opts = {})
|
1833
1875
|
update_destination_hash_user_info_with_http_info(destination_id, enabled, opts)
|
1834
|
-
|
1876
|
+
nil
|
1835
1877
|
end
|
1836
1878
|
|
1837
1879
|
# Enable or disable hashing of the user info for the destination.
|
@@ -1842,14 +1884,18 @@ module RusticiSoftwareCloudV2
|
|
1842
1884
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
1843
1885
|
def update_destination_hash_user_info_with_http_info(destination_id, enabled, opts = {})
|
1844
1886
|
if @api_client.config.debugging
|
1845
|
-
@api_client.config.logger.debug
|
1887
|
+
@api_client.config.logger.debug 'Calling API: DispatchApi.update_destination_hash_user_info ...'
|
1846
1888
|
end
|
1847
1889
|
# verify the required parameter 'destination_id' is set
|
1848
|
-
|
1890
|
+
if @api_client.config.client_side_validation && destination_id.nil?
|
1891
|
+
fail ArgumentError, "Missing the required parameter 'destination_id' when calling DispatchApi.update_destination_hash_user_info"
|
1892
|
+
end
|
1849
1893
|
# verify the required parameter 'enabled' is set
|
1850
|
-
|
1894
|
+
if @api_client.config.client_side_validation && enabled.nil?
|
1895
|
+
fail ArgumentError, "Missing the required parameter 'enabled' when calling DispatchApi.update_destination_hash_user_info"
|
1896
|
+
end
|
1851
1897
|
# resource path
|
1852
|
-
local_var_path =
|
1898
|
+
local_var_path = '/dispatch/destinations/{destinationId}/dispatches/hashUserInfo'.sub('{' + 'destinationId' + '}', destination_id.to_s)
|
1853
1899
|
|
1854
1900
|
# query parameters
|
1855
1901
|
query_params = {}
|
@@ -1878,7 +1924,6 @@ module RusticiSoftwareCloudV2
|
|
1878
1924
|
end
|
1879
1925
|
return data, status_code, headers
|
1880
1926
|
end
|
1881
|
-
|
1882
1927
|
# Update the dispatch with `dispatchId`.
|
1883
1928
|
# Update the dispatch with `dispatchId`.
|
1884
1929
|
# @param dispatch_id Identifier for the dispatch
|
@@ -1887,7 +1932,7 @@ module RusticiSoftwareCloudV2
|
|
1887
1932
|
# @return [nil]
|
1888
1933
|
def update_dispatch(dispatch_id, dispatch_properties, opts = {})
|
1889
1934
|
update_dispatch_with_http_info(dispatch_id, dispatch_properties, opts)
|
1890
|
-
|
1935
|
+
nil
|
1891
1936
|
end
|
1892
1937
|
|
1893
1938
|
# Update the dispatch with `dispatchId`.
|
@@ -1898,14 +1943,18 @@ module RusticiSoftwareCloudV2
|
|
1898
1943
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
1899
1944
|
def update_dispatch_with_http_info(dispatch_id, dispatch_properties, opts = {})
|
1900
1945
|
if @api_client.config.debugging
|
1901
|
-
@api_client.config.logger.debug
|
1946
|
+
@api_client.config.logger.debug 'Calling API: DispatchApi.update_dispatch ...'
|
1902
1947
|
end
|
1903
1948
|
# verify the required parameter 'dispatch_id' is set
|
1904
|
-
|
1949
|
+
if @api_client.config.client_side_validation && dispatch_id.nil?
|
1950
|
+
fail ArgumentError, "Missing the required parameter 'dispatch_id' when calling DispatchApi.update_dispatch"
|
1951
|
+
end
|
1905
1952
|
# verify the required parameter 'dispatch_properties' is set
|
1906
|
-
|
1953
|
+
if @api_client.config.client_side_validation && dispatch_properties.nil?
|
1954
|
+
fail ArgumentError, "Missing the required parameter 'dispatch_properties' when calling DispatchApi.update_dispatch"
|
1955
|
+
end
|
1907
1956
|
# resource path
|
1908
|
-
local_var_path =
|
1957
|
+
local_var_path = '/dispatch/dispatches/{dispatchId}'.sub('{' + 'dispatchId' + '}', dispatch_id.to_s)
|
1909
1958
|
|
1910
1959
|
# query parameters
|
1911
1960
|
query_params = {}
|
@@ -1934,7 +1983,6 @@ module RusticiSoftwareCloudV2
|
|
1934
1983
|
end
|
1935
1984
|
return data, status_code, headers
|
1936
1985
|
end
|
1937
|
-
|
1938
1986
|
# Enable or disable hashing of the user info for the dispatch.
|
1939
1987
|
# Enable or disable hashing of the user info for the dispatch.
|
1940
1988
|
# @param dispatch_id Identifier for the dispatch
|
@@ -1943,7 +1991,7 @@ module RusticiSoftwareCloudV2
|
|
1943
1991
|
# @return [nil]
|
1944
1992
|
def update_dispatch_hash_user_info(dispatch_id, enabled, opts = {})
|
1945
1993
|
update_dispatch_hash_user_info_with_http_info(dispatch_id, enabled, opts)
|
1946
|
-
|
1994
|
+
nil
|
1947
1995
|
end
|
1948
1996
|
|
1949
1997
|
# Enable or disable hashing of the user info for the dispatch.
|
@@ -1954,14 +2002,18 @@ module RusticiSoftwareCloudV2
|
|
1954
2002
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
1955
2003
|
def update_dispatch_hash_user_info_with_http_info(dispatch_id, enabled, opts = {})
|
1956
2004
|
if @api_client.config.debugging
|
1957
|
-
@api_client.config.logger.debug
|
2005
|
+
@api_client.config.logger.debug 'Calling API: DispatchApi.update_dispatch_hash_user_info ...'
|
1958
2006
|
end
|
1959
2007
|
# verify the required parameter 'dispatch_id' is set
|
1960
|
-
|
2008
|
+
if @api_client.config.client_side_validation && dispatch_id.nil?
|
2009
|
+
fail ArgumentError, "Missing the required parameter 'dispatch_id' when calling DispatchApi.update_dispatch_hash_user_info"
|
2010
|
+
end
|
1961
2011
|
# verify the required parameter 'enabled' is set
|
1962
|
-
|
2012
|
+
if @api_client.config.client_side_validation && enabled.nil?
|
2013
|
+
fail ArgumentError, "Missing the required parameter 'enabled' when calling DispatchApi.update_dispatch_hash_user_info"
|
2014
|
+
end
|
1963
2015
|
# resource path
|
1964
|
-
local_var_path =
|
2016
|
+
local_var_path = '/dispatch/dispatches/{dispatchId}/hashUserInfo'.sub('{' + 'dispatchId' + '}', dispatch_id.to_s)
|
1965
2017
|
|
1966
2018
|
# query parameters
|
1967
2019
|
query_params = {}
|