rustici_software_cloud_v2 2.0.0 → 3.0.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 -5
- data/lib/rustici_software_cloud_v2/api/about_api.rb +3 -1
- data/lib/rustici_software_cloud_v2/api/application_management_api.rb +100 -5
- data/lib/rustici_software_cloud_v2/api/authentication_api.rb +3 -1
- data/lib/rustici_software_cloud_v2/api/content_connectors_api.rb +241 -0
- data/lib/rustici_software_cloud_v2/api/course_api.rb +158 -3
- data/lib/rustici_software_cloud_v2/api/dispatch_api.rb +229 -3
- data/lib/rustici_software_cloud_v2/api/invitations_api.rb +33 -1
- data/lib/rustici_software_cloud_v2/api/learner_api.rb +8 -1
- data/lib/rustici_software_cloud_v2/api/ping_api.rb +3 -1
- data/lib/rustici_software_cloud_v2/api/registration_api.rb +32 -1
- data/lib/rustici_software_cloud_v2/api/reporting_api.rb +5 -1
- data/lib/rustici_software_cloud_v2/api/xapi_api.rb +15 -1
- data/lib/rustici_software_cloud_v2/api/zoomi_api.rb +11 -1
- data/lib/rustici_software_cloud_v2/api_client.rb +3 -2
- data/lib/rustici_software_cloud_v2/api_error.rb +0 -1
- data/lib/rustici_software_cloud_v2/configuration.rb +0 -1
- data/lib/rustici_software_cloud_v2/models/about_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/activity_result_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/application_info_list_schema.rb +197 -0
- data/lib/rustici_software_cloud_v2/models/application_info_schema.rb +12 -2
- data/lib/rustici_software_cloud_v2/models/application_list_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/application_request_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/application_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/application_token.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/asset_file_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/batch_tags_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/comment_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/completion_amount_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/connector_list_schema.rb +188 -0
- data/lib/rustici_software_cloud_v2/models/connector_schema.rb +226 -0
- data/lib/rustici_software_cloud_v2/models/course_activity_schema.rb +2 -2
- data/lib/rustici_software_cloud_v2/models/course_list_non_paged_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/course_list_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/course_reference_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/course_schema.rb +2 -2
- data/lib/rustici_software_cloud_v2/models/create_connector_schema.rb +218 -0
- data/lib/rustici_software_cloud_v2/models/create_dispatch_id_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/create_dispatch_list_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/create_dispatch_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/create_private_invitation_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/create_public_invitation_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/create_registration_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/credential_created_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/credential_list_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/credential_request_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/credential_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/destination_id_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/destination_list_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/destination_schema.rb +32 -5
- data/lib/rustici_software_cloud_v2/models/dispatch_id_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/dispatch_list_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/dispatch_lti13_info_schema.rb +186 -0
- data/lib/rustici_software_cloud_v2/models/dispatch_lti_info_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/dispatch_registration_count_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/dispatch_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/enabled_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/file_list_item_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/file_list_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/import_asset_request_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/import_connector_request_schema.rb +207 -0
- data/lib/rustici_software_cloud_v2/models/import_fetch_request_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/import_job_result_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/import_media_file_reference_request_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/import_request_schema.rb +15 -6
- data/lib/rustici_software_cloud_v2/models/import_result_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/integer_result_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/invitation_email_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/invitation_job_status_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/invitation_summary_list.rb +15 -18
- data/lib/rustici_software_cloud_v2/models/invitation_summary_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/item_value_pair_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/launch_auth_options_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/launch_auth_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/launch_history_list_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/launch_history_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/launch_link_request_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/launch_link_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/learner_preference_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/learner_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/lti13_platform_configuration_schema.rb +261 -0
- data/lib/rustici_software_cloud_v2/models/lti13_tool_configuration_schema.rb +236 -0
- data/lib/rustici_software_cloud_v2/models/media_file_metadata_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/message_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/metadata_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/objective_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/paginated_list.rb +186 -0
- data/lib/rustici_software_cloud_v2/models/permissions_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/ping_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/post_back_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/private_invitation_list.rb +15 -18
- data/lib/rustici_software_cloud_v2/models/private_invitation_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/private_invitation_update_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/public_invitation_list.rb +15 -18
- data/lib/rustici_software_cloud_v2/models/public_invitation_schema.rb +11 -2
- data/lib/rustici_software_cloud_v2/models/public_invitation_update_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/registration_completion.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/registration_list_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/registration_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/registration_success.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/reportage_account_info_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/reportage_account_info_usage_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/reportage_auth_token_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/reportage_link_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/response_error.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/runtime_interaction_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/runtime_objective_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/runtime_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/score_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/setting_item.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/setting_list_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/setting_metadata.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/setting_valid_value.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/settings_individual_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/settings_post_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/shared_data_entry_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/static_properties_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/string_result_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/tag_list_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/title_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/token_request_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/update_application_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/update_connector_schema.rb +196 -0
- data/lib/rustici_software_cloud_v2/models/update_dispatch_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/user_invitation_list.rb +15 -18
- data/lib/rustici_software_cloud_v2/models/user_invitation_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/user_invitation_schema_registration_report.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/xapi_account.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/xapi_activity.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/xapi_activity_definition.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/xapi_agent_group.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/xapi_attachment.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/xapi_context.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/xapi_context_activity.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/xapi_credential_auth_type_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/xapi_credential_permissions_level_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/xapi_credential_post_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/xapi_credential_put_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/xapi_credential_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/xapi_credentials_list_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/xapi_endpoint_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/xapi_interaction_component.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/xapi_result.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/xapi_score.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/xapi_statement.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/xapi_statement_pipe_list_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/xapi_statement_pipe_post_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/xapi_statement_pipe_put_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/xapi_statement_pipe_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/xapi_statement_reference.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/xapi_statement_result.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/xapi_verb.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/zoomi_company_id.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/zoomi_course_options_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/version.rb +1 -2
- data/lib/rustici_software_cloud_v2.rb +11 -1
- data/rustici_software_cloud_v2.gemspec +0 -1
- data/spec/api_client_spec.rb +0 -1
- data/spec/configuration_spec.rb +0 -1
- data/spec/spec_helper.rb +0 -1
- metadata +14 -3
@@ -6,7 +6,6 @@
|
|
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
|
10
9
|
|
11
10
|
=end
|
12
11
|
|
@@ -19,6 +18,9 @@ module RusticiSoftwareCloudV2
|
|
19
18
|
def initialize(api_client = ApiClient.default)
|
20
19
|
@api_client = api_client
|
21
20
|
end
|
21
|
+
|
22
|
+
extend Gem::Deprecate
|
23
|
+
|
22
24
|
# Create an xAPI Statement Pipe
|
23
25
|
# Creates an xAPI statement pipe. >**Note:** >This method is asynchronous. A returned success status indicates a background process has been started, but there will still be a delay before the creation of the xAPI statement pipe takes place.
|
24
26
|
# @param xapi_statement_pipe
|
@@ -73,6 +75,7 @@ module RusticiSoftwareCloudV2
|
|
73
75
|
end
|
74
76
|
return data, status_code, headers
|
75
77
|
end
|
78
|
+
|
76
79
|
# Create xAPI Credentials
|
77
80
|
# Creates an xAPI credential combination from the provided secret and a generated ID.
|
78
81
|
# @param xapi_credential
|
@@ -127,6 +130,7 @@ module RusticiSoftwareCloudV2
|
|
127
130
|
end
|
128
131
|
return data, status_code, headers
|
129
132
|
end
|
133
|
+
|
130
134
|
# Delete an xAPI Statement Pipe
|
131
135
|
# Deletes the specified xAPI statement pipe >**Note:** >This method is asynchronous. A returned success status indicates a background process has been started, but there will still be a delay before the deletion takes place. Recreating a statement pipe with the same ID too quickly could cause the statement pipe to end up in a faulty state.
|
132
136
|
# @param statement_pipe_id
|
@@ -180,6 +184,7 @@ module RusticiSoftwareCloudV2
|
|
180
184
|
end
|
181
185
|
return data, status_code, headers
|
182
186
|
end
|
187
|
+
|
183
188
|
# Delete xAPI Credentials
|
184
189
|
# Deletes the specified xAPI credentials.
|
185
190
|
# @param xapi_credential_id
|
@@ -233,6 +238,7 @@ module RusticiSoftwareCloudV2
|
|
233
238
|
end
|
234
239
|
return data, status_code, headers
|
235
240
|
end
|
241
|
+
|
236
242
|
# Get detailed information about an xAPI Statement Pipe
|
237
243
|
# Returns detailed information about the xAPI pipe. This includes source and target urls, the last time a statement was successfully forwarded, and how many attempts have been made to send data to the target url.
|
238
244
|
# @param statement_pipe_id
|
@@ -287,6 +293,7 @@ module RusticiSoftwareCloudV2
|
|
287
293
|
end
|
288
294
|
return data, status_code, headers
|
289
295
|
end
|
296
|
+
|
290
297
|
# Get a list of xAPI Statement Pipes
|
291
298
|
# Returns a list of all xAPI statement pipes.
|
292
299
|
# @param [Hash] opts the optional parameters
|
@@ -335,6 +342,7 @@ module RusticiSoftwareCloudV2
|
|
335
342
|
end
|
336
343
|
return data, status_code, headers
|
337
344
|
end
|
345
|
+
|
338
346
|
# Get detailed information about the xAPI Credentials
|
339
347
|
# Returns detailed information about the xAPI credentials. This includes the id (username), secret (password), permissions, and whether or not the credentials are enabled.
|
340
348
|
# @param xapi_credential_id
|
@@ -389,6 +397,7 @@ module RusticiSoftwareCloudV2
|
|
389
397
|
end
|
390
398
|
return data, status_code, headers
|
391
399
|
end
|
400
|
+
|
392
401
|
# Get a list of xAPI Credentials
|
393
402
|
# Returns a list of xAPI credentials. Can be filtered using the request parameters to provide a subset of results. >**Note:** >This request is paginated and will only provide a limited amount of resources at a time. If there are more results to be collected, a `more` token provided with the response which can be passed to get the next page of results. When passing this token, no other filter parameters can be sent as part of the request. The resources will continue to respect the filters passed in by the original request.
|
394
403
|
# @param [Hash] opts the optional parameters
|
@@ -399,6 +408,7 @@ module RusticiSoftwareCloudV2
|
|
399
408
|
# @option opts [String] :filter_by Optional enum parameter for specifying the field on which to run the filter. (default to credential_id)
|
400
409
|
# @option opts [String] :order_by Optional enum parameter for specifying the field and order by which to sort the results. (default to updated_asc)
|
401
410
|
# @option opts [String] :more Pagination token returned as `more` property of multi page list requests
|
411
|
+
# @option opts [BOOLEAN] :include_total_count Include the total count of results matching the provided filters as a header on the initial request. The header will not be present on subsequent requests resulting from passing the `more` token. (default to false)
|
402
412
|
# @return [XapiCredentialsListSchema]
|
403
413
|
def get_xapi_credentials(opts = {})
|
404
414
|
data, _status_code, _headers = get_xapi_credentials_with_http_info(opts)
|
@@ -415,6 +425,7 @@ module RusticiSoftwareCloudV2
|
|
415
425
|
# @option opts [String] :filter_by Optional enum parameter for specifying the field on which to run the filter.
|
416
426
|
# @option opts [String] :order_by Optional enum parameter for specifying the field and order by which to sort the results.
|
417
427
|
# @option opts [String] :more Pagination token returned as `more` property of multi page list requests
|
428
|
+
# @option opts [BOOLEAN] :include_total_count Include the total count of results matching the provided filters as a header on the initial request. The header will not be present on subsequent requests resulting from passing the `more` token.
|
418
429
|
# @return [Array<(XapiCredentialsListSchema, Fixnum, Hash)>] XapiCredentialsListSchema data, response status code and response headers
|
419
430
|
def get_xapi_credentials_with_http_info(opts = {})
|
420
431
|
if @api_client.config.debugging
|
@@ -432,6 +443,7 @@ module RusticiSoftwareCloudV2
|
|
432
443
|
query_params[:'filterBy'] = opts[:'filter_by'] if !opts[:'filter_by'].nil?
|
433
444
|
query_params[:'orderBy'] = opts[:'order_by'] if !opts[:'order_by'].nil?
|
434
445
|
query_params[:'more'] = opts[:'more'] if !opts[:'more'].nil?
|
446
|
+
query_params[:'includeTotalCount'] = opts[:'include_total_count'] if !opts[:'include_total_count'].nil?
|
435
447
|
|
436
448
|
# header parameters
|
437
449
|
header_params = {}
|
@@ -458,6 +470,7 @@ module RusticiSoftwareCloudV2
|
|
458
470
|
end
|
459
471
|
return data, status_code, headers
|
460
472
|
end
|
473
|
+
|
461
474
|
# Create or update an xAPI Statement Pipe
|
462
475
|
# Creates or updates information about the xAPI statement pipe. - If the xAPI statement pipe is instead being updated, the pipe will start over and forward any statements it finds, even if it had already forwarded those statements. If the pipe being edited is currently being processed, then this request will fail with a status code of 409. >**Note:** >This method is asynchronous. A returned success status indicates a background process has been started, but there will still be a delay before the creation of the xAPI statement pipe takes place.
|
463
476
|
# @param statement_pipe_id
|
@@ -518,6 +531,7 @@ module RusticiSoftwareCloudV2
|
|
518
531
|
end
|
519
532
|
return data, status_code, headers
|
520
533
|
end
|
534
|
+
|
521
535
|
# Create or update xAPI Credentials
|
522
536
|
# Creates or updates information about the xAPI credentials.
|
523
537
|
# @param xapi_credential_id
|
@@ -6,7 +6,6 @@
|
|
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
|
10
9
|
|
11
10
|
=end
|
12
11
|
|
@@ -19,6 +18,9 @@ module RusticiSoftwareCloudV2
|
|
19
18
|
def initialize(api_client = ApiClient.default)
|
20
19
|
@api_client = api_client
|
21
20
|
end
|
21
|
+
|
22
|
+
extend Gem::Deprecate
|
23
|
+
|
22
24
|
# Delete the Zoomi keys for an Application
|
23
25
|
# Deletes the Zoomi keys for an application.
|
24
26
|
# @param [Hash] opts the optional parameters
|
@@ -66,6 +68,7 @@ module RusticiSoftwareCloudV2
|
|
66
68
|
end
|
67
69
|
return data, status_code, headers
|
68
70
|
end
|
71
|
+
|
69
72
|
# Delete the Course from Zoomi
|
70
73
|
# Deletes the course from Zoomi, but the course will remain in SCORM Cloud.
|
71
74
|
# @param course_id
|
@@ -125,6 +128,7 @@ module RusticiSoftwareCloudV2
|
|
125
128
|
end
|
126
129
|
return data, status_code, headers
|
127
130
|
end
|
131
|
+
|
128
132
|
# Get the Zoomi company ID of an Application
|
129
133
|
# Returns the Zoomi company ID of an application.
|
130
134
|
# @param [Hash] opts the optional parameters
|
@@ -173,6 +177,7 @@ module RusticiSoftwareCloudV2
|
|
173
177
|
end
|
174
178
|
return data, status_code, headers
|
175
179
|
end
|
180
|
+
|
176
181
|
# Get the Zoomi public key for an Application
|
177
182
|
# Returns the Zoomi public key for an application.
|
178
183
|
# @param [Hash] opts the optional parameters
|
@@ -221,6 +226,7 @@ module RusticiSoftwareCloudV2
|
|
221
226
|
end
|
222
227
|
return data, status_code, headers
|
223
228
|
end
|
229
|
+
|
224
230
|
# Get the Zoomi enabled value of a Course Version
|
225
231
|
# Returns the Zoomi enabled value of a course version.
|
226
232
|
# @param course_id
|
@@ -281,6 +287,7 @@ module RusticiSoftwareCloudV2
|
|
281
287
|
end
|
282
288
|
return data, status_code, headers
|
283
289
|
end
|
290
|
+
|
284
291
|
# Get the status for a Course from Zoomi
|
285
292
|
# Returns the status for a course and starts the upload process to Zoomi if not started.
|
286
293
|
# @param course_id
|
@@ -341,6 +348,7 @@ module RusticiSoftwareCloudV2
|
|
341
348
|
end
|
342
349
|
return data, status_code, headers
|
343
350
|
end
|
351
|
+
|
344
352
|
# Begin the import process with Zoomi
|
345
353
|
# Begins the import process with Zoomi. Must be followed up by a status call.
|
346
354
|
# @param course_id
|
@@ -406,6 +414,7 @@ module RusticiSoftwareCloudV2
|
|
406
414
|
end
|
407
415
|
return data, status_code, headers
|
408
416
|
end
|
417
|
+
|
409
418
|
# Set the Zoomi company ID of an Application
|
410
419
|
# Sets the Zoomi company ID value of an application.
|
411
420
|
# @param zoomi_company_id
|
@@ -459,6 +468,7 @@ module RusticiSoftwareCloudV2
|
|
459
468
|
end
|
460
469
|
return data, status_code, headers
|
461
470
|
end
|
471
|
+
|
462
472
|
# Set the Zoomi enabled value of a Course Version
|
463
473
|
# Sets the Zoomi enabled value of a course version.
|
464
474
|
# @param course_id
|
@@ -6,7 +6,6 @@
|
|
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
|
10
9
|
|
11
10
|
=end
|
12
11
|
|
@@ -31,7 +30,7 @@ module RusticiSoftwareCloudV2
|
|
31
30
|
# @option config [Configuration] Configuration for initializing the object, default to Configuration.default
|
32
31
|
def initialize(config = Configuration.default)
|
33
32
|
@config = config
|
34
|
-
@user_agent = "Swagger-Codegen
|
33
|
+
@user_agent = "Swagger-Codegen/3.0.0/ruby"
|
35
34
|
@default_headers = {
|
36
35
|
'Content-Type' => 'application/json',
|
37
36
|
'User-Agent' => @user_agent
|
@@ -112,6 +111,8 @@ module RusticiSoftwareCloudV2
|
|
112
111
|
:verbose => @config.debugging
|
113
112
|
}
|
114
113
|
|
114
|
+
req_opts.merge!(multipart: true) if header_params['Content-Type'].start_with? "multipart/"
|
115
|
+
|
115
116
|
# set custom cert, if provided
|
116
117
|
req_opts[:cainfo] = @config.ssl_ca_cert if @config.ssl_ca_cert
|
117
118
|
|
@@ -6,12 +6,12 @@
|
|
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
|
10
9
|
|
11
10
|
=end
|
12
11
|
|
13
12
|
require 'date'
|
14
13
|
|
14
|
+
|
15
15
|
module RusticiSoftwareCloudV2
|
16
16
|
class ActivityResultSchema
|
17
17
|
attr_accessor :id
|
@@ -0,0 +1,197 @@
|
|
1
|
+
=begin
|
2
|
+
#SCORM Cloud Rest API
|
3
|
+
|
4
|
+
#REST API used for SCORM Cloud integrations.
|
5
|
+
|
6
|
+
OpenAPI spec version: 2.0
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
|
10
|
+
=end
|
11
|
+
|
12
|
+
require 'date'
|
13
|
+
|
14
|
+
|
15
|
+
module RusticiSoftwareCloudV2
|
16
|
+
class ApplicationInfoListSchema
|
17
|
+
attr_accessor :applications
|
18
|
+
|
19
|
+
# Token for getting the next set of results, from the prior set of results.
|
20
|
+
attr_accessor :more
|
21
|
+
|
22
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
23
|
+
def self.attribute_map
|
24
|
+
{
|
25
|
+
:'applications' => :'applications',
|
26
|
+
:'more' => :'more'
|
27
|
+
}
|
28
|
+
end
|
29
|
+
|
30
|
+
# Attribute type mapping.
|
31
|
+
def self.swagger_types
|
32
|
+
{
|
33
|
+
:'applications' => :'Array<ApplicationInfoSchema>',
|
34
|
+
:'more' => :'String'
|
35
|
+
}
|
36
|
+
end
|
37
|
+
|
38
|
+
# Initializes the object
|
39
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
40
|
+
def initialize(attributes = {})
|
41
|
+
return unless attributes.is_a?(Hash)
|
42
|
+
|
43
|
+
# convert string to symbol for hash key
|
44
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
45
|
+
|
46
|
+
if attributes.has_key?(:'applications')
|
47
|
+
if (value = attributes[:'applications']).is_a?(Array)
|
48
|
+
self.applications = value
|
49
|
+
end
|
50
|
+
end
|
51
|
+
|
52
|
+
if attributes.has_key?(:'more')
|
53
|
+
self.more = attributes[:'more']
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
57
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
58
|
+
# @return Array for valid properties with the reasons
|
59
|
+
def list_invalid_properties
|
60
|
+
invalid_properties = Array.new
|
61
|
+
invalid_properties
|
62
|
+
end
|
63
|
+
|
64
|
+
# Check to see if the all the properties in the model are valid
|
65
|
+
# @return true if the model is valid
|
66
|
+
def valid?
|
67
|
+
true
|
68
|
+
end
|
69
|
+
|
70
|
+
|
71
|
+
# Checks equality by comparing each attribute.
|
72
|
+
# @param [Object] Object to be compared
|
73
|
+
def ==(o)
|
74
|
+
return true if self.equal?(o)
|
75
|
+
self.class == o.class &&
|
76
|
+
applications == o.applications &&
|
77
|
+
more == o.more
|
78
|
+
end
|
79
|
+
|
80
|
+
# @see the `==` method
|
81
|
+
# @param [Object] Object to be compared
|
82
|
+
def eql?(o)
|
83
|
+
self == o
|
84
|
+
end
|
85
|
+
|
86
|
+
# Calculates hash code according to all attributes.
|
87
|
+
# @return [Fixnum] Hash code
|
88
|
+
def hash
|
89
|
+
[applications, more].hash
|
90
|
+
end
|
91
|
+
|
92
|
+
# Builds the object from hash
|
93
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
94
|
+
# @return [Object] Returns the model itself
|
95
|
+
def build_from_hash(attributes)
|
96
|
+
return nil unless attributes.is_a?(Hash)
|
97
|
+
self.class.swagger_types.each_pair do |key, type|
|
98
|
+
if type =~ /\AArray<(.*)>/i
|
99
|
+
# check to ensure the input is an array given that the attribute
|
100
|
+
# is documented as an array but the input is not
|
101
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
102
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
103
|
+
end
|
104
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
105
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
106
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
107
|
+
end
|
108
|
+
|
109
|
+
self
|
110
|
+
end
|
111
|
+
|
112
|
+
# Deserializes the data based on type
|
113
|
+
# @param string type Data type
|
114
|
+
# @param string value Value to be deserialized
|
115
|
+
# @return [Object] Deserialized data
|
116
|
+
def _deserialize(type, value)
|
117
|
+
case type.to_sym
|
118
|
+
when :DateTime
|
119
|
+
DateTime.parse(value)
|
120
|
+
when :Date
|
121
|
+
Date.parse(value)
|
122
|
+
when :String
|
123
|
+
value.to_s
|
124
|
+
when :Integer
|
125
|
+
value.to_i
|
126
|
+
when :Float
|
127
|
+
value.to_f
|
128
|
+
when :BOOLEAN
|
129
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
130
|
+
true
|
131
|
+
else
|
132
|
+
false
|
133
|
+
end
|
134
|
+
when :Object
|
135
|
+
# generic object (usually a Hash), return directly
|
136
|
+
value
|
137
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
138
|
+
inner_type = Regexp.last_match[:inner_type]
|
139
|
+
value.map { |v| _deserialize(inner_type, v) }
|
140
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
141
|
+
k_type = Regexp.last_match[:k_type]
|
142
|
+
v_type = Regexp.last_match[:v_type]
|
143
|
+
{}.tap do |hash|
|
144
|
+
value.each do |k, v|
|
145
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
146
|
+
end
|
147
|
+
end
|
148
|
+
else # model
|
149
|
+
temp_model = RusticiSoftwareCloudV2.const_get(type).new
|
150
|
+
temp_model.build_from_hash(value)
|
151
|
+
end
|
152
|
+
end
|
153
|
+
|
154
|
+
# Returns the string representation of the object
|
155
|
+
# @return [String] String presentation of the object
|
156
|
+
def to_s
|
157
|
+
to_hash.to_s
|
158
|
+
end
|
159
|
+
|
160
|
+
# to_body is an alias to to_hash (backward compatibility)
|
161
|
+
# @return [Hash] Returns the object in the form of hash
|
162
|
+
def to_body
|
163
|
+
to_hash
|
164
|
+
end
|
165
|
+
|
166
|
+
# Returns the object in the form of hash
|
167
|
+
# @return [Hash] Returns the object in the form of hash
|
168
|
+
def to_hash
|
169
|
+
hash = {}
|
170
|
+
self.class.attribute_map.each_pair do |attr, param|
|
171
|
+
value = self.send(attr)
|
172
|
+
next if value.nil?
|
173
|
+
hash[param] = _to_hash(value)
|
174
|
+
end
|
175
|
+
hash
|
176
|
+
end
|
177
|
+
|
178
|
+
# Outputs non-array value in the form of hash
|
179
|
+
# For object, use to_hash. Otherwise, just return the value
|
180
|
+
# @param [Object] value Any valid value
|
181
|
+
# @return [Hash] Returns the value in the form of hash
|
182
|
+
def _to_hash(value)
|
183
|
+
if value.is_a?(Array)
|
184
|
+
value.compact.map { |v| _to_hash(v) }
|
185
|
+
elsif value.is_a?(Hash)
|
186
|
+
{}.tap do |hash|
|
187
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
188
|
+
end
|
189
|
+
elsif value.respond_to? :to_hash
|
190
|
+
value.to_hash
|
191
|
+
else
|
192
|
+
value
|
193
|
+
end
|
194
|
+
end
|
195
|
+
|
196
|
+
end
|
197
|
+
end
|
@@ -6,12 +6,12 @@
|
|
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
|
10
9
|
|
11
10
|
=end
|
12
11
|
|
13
12
|
require 'date'
|
14
13
|
|
14
|
+
|
15
15
|
module RusticiSoftwareCloudV2
|
16
16
|
class ApplicationInfoSchema
|
17
17
|
# The application id for this application.
|
@@ -23,6 +23,9 @@ module RusticiSoftwareCloudV2
|
|
23
23
|
# The time the application was created in UTC
|
24
24
|
attr_accessor :create_date
|
25
25
|
|
26
|
+
# The time the application was last updated in UTC
|
27
|
+
attr_accessor :update_date
|
28
|
+
|
26
29
|
# Whether the application is allowed to perform delete operations
|
27
30
|
attr_accessor :allow_delete
|
28
31
|
|
@@ -36,6 +39,7 @@ module RusticiSoftwareCloudV2
|
|
36
39
|
:'id' => :'id',
|
37
40
|
:'name' => :'name',
|
38
41
|
:'create_date' => :'createDate',
|
42
|
+
:'update_date' => :'updateDate',
|
39
43
|
:'allow_delete' => :'allowDelete',
|
40
44
|
:'course_count' => :'courseCount',
|
41
45
|
:'registration_count' => :'registrationCount'
|
@@ -48,6 +52,7 @@ module RusticiSoftwareCloudV2
|
|
48
52
|
:'id' => :'String',
|
49
53
|
:'name' => :'String',
|
50
54
|
:'create_date' => :'DateTime',
|
55
|
+
:'update_date' => :'DateTime',
|
51
56
|
:'allow_delete' => :'BOOLEAN',
|
52
57
|
:'course_count' => :'Integer',
|
53
58
|
:'registration_count' => :'Integer'
|
@@ -74,6 +79,10 @@ module RusticiSoftwareCloudV2
|
|
74
79
|
self.create_date = attributes[:'createDate']
|
75
80
|
end
|
76
81
|
|
82
|
+
if attributes.has_key?(:'updateDate')
|
83
|
+
self.update_date = attributes[:'updateDate']
|
84
|
+
end
|
85
|
+
|
77
86
|
if attributes.has_key?(:'allowDelete')
|
78
87
|
self.allow_delete = attributes[:'allowDelete']
|
79
88
|
end
|
@@ -109,6 +118,7 @@ module RusticiSoftwareCloudV2
|
|
109
118
|
id == o.id &&
|
110
119
|
name == o.name &&
|
111
120
|
create_date == o.create_date &&
|
121
|
+
update_date == o.update_date &&
|
112
122
|
allow_delete == o.allow_delete &&
|
113
123
|
course_count == o.course_count &&
|
114
124
|
registration_count == o.registration_count
|
@@ -123,7 +133,7 @@ module RusticiSoftwareCloudV2
|
|
123
133
|
# Calculates hash code according to all attributes.
|
124
134
|
# @return [Fixnum] Hash code
|
125
135
|
def hash
|
126
|
-
[id, name, create_date, allow_delete, course_count, registration_count].hash
|
136
|
+
[id, name, create_date, update_date, allow_delete, course_count, registration_count].hash
|
127
137
|
end
|
128
138
|
|
129
139
|
# Builds the object from hash
|
@@ -6,12 +6,12 @@
|
|
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
|
10
9
|
|
11
10
|
=end
|
12
11
|
|
13
12
|
require 'date'
|
14
13
|
|
14
|
+
|
15
15
|
module RusticiSoftwareCloudV2
|
16
16
|
class ApplicationListSchema
|
17
17
|
attr_accessor :applications
|
@@ -6,12 +6,12 @@
|
|
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
|
10
9
|
|
11
10
|
=end
|
12
11
|
|
13
12
|
require 'date'
|
14
13
|
|
14
|
+
|
15
15
|
module RusticiSoftwareCloudV2
|
16
16
|
class ApplicationRequestSchema
|
17
17
|
# The name of this application.
|
@@ -6,12 +6,12 @@
|
|
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
|
10
9
|
|
11
10
|
=end
|
12
11
|
|
13
12
|
require 'date'
|
14
13
|
|
14
|
+
|
15
15
|
module RusticiSoftwareCloudV2
|
16
16
|
class ApplicationSchema
|
17
17
|
# The application id for this application.
|
@@ -6,12 +6,12 @@
|
|
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
|
10
9
|
|
11
10
|
=end
|
12
11
|
|
13
12
|
require 'date'
|
14
13
|
|
14
|
+
|
15
15
|
module RusticiSoftwareCloudV2
|
16
16
|
class ApplicationToken
|
17
17
|
attr_accessor :access_token
|
@@ -6,12 +6,12 @@
|
|
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
|
10
9
|
|
11
10
|
=end
|
12
11
|
|
13
12
|
require 'date'
|
14
13
|
|
14
|
+
|
15
15
|
module RusticiSoftwareCloudV2
|
16
16
|
class AssetFileSchema
|
17
17
|
attr_accessor :filename
|
@@ -6,12 +6,12 @@
|
|
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
|
10
9
|
|
11
10
|
=end
|
12
11
|
|
13
12
|
require 'date'
|
14
13
|
|
14
|
+
|
15
15
|
module RusticiSoftwareCloudV2
|
16
16
|
class CompletionAmountSchema
|
17
17
|
# Scaled completion amount between 0 and 100
|