rustici_software_cloud_v2 3.0.0 → 5.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +8 -5
- data/lib/rustici_software_cloud_v2/api/about_api.rb +1 -1
- data/lib/rustici_software_cloud_v2/api/application_management_api.rb +19 -19
- data/lib/rustici_software_cloud_v2/api/authentication_api.rb +2 -2
- data/lib/rustici_software_cloud_v2/api/content_connectors_api.rb +4 -4
- data/lib/rustici_software_cloud_v2/api/course_api.rb +46 -37
- data/lib/rustici_software_cloud_v2/api/dispatch_api.rb +59 -47
- data/lib/rustici_software_cloud_v2/api/invitations_api.rb +28 -22
- data/lib/rustici_software_cloud_v2/api/learner_api.rb +6 -6
- data/lib/rustici_software_cloud_v2/api/ping_api.rb +1 -1
- data/lib/rustici_software_cloud_v2/api/registration_api.rb +27 -27
- data/lib/rustici_software_cloud_v2/api/reporting_api.rb +3 -3
- data/lib/rustici_software_cloud_v2/api/xapi_api.rb +10 -10
- data/lib/rustici_software_cloud_v2/api_client.rb +2 -2
- 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 +1 -1
- data/lib/rustici_software_cloud_v2/models/application_info_schema.rb +1 -1
- 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 +1 -1
- data/lib/rustici_software_cloud_v2/models/connector_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/course_activity_schema.rb +1 -1
- 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 +1 -1
- data/lib/rustici_software_cloud_v2/models/create_connector_schema.rb +1 -1
- 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 +25 -5
- data/lib/rustici_software_cloud_v2/models/create_public_invitation_schema.rb +2 -2
- data/lib/rustici_software_cloud_v2/models/create_registration_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 +25 -5
- data/lib/rustici_software_cloud_v2/models/destination_id_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/{zoomi_company_id.rb → destination_info_id_schema.rb} +19 -9
- data/lib/rustici_software_cloud_v2/models/{zoomi_course_options_schema.rb → destination_info_list_schema.rb} +19 -25
- data/lib/rustici_software_cloud_v2/models/destination_info_schema.rb +263 -0
- data/lib/rustici_software_cloud_v2/models/destination_list_schema.rb +5 -15
- data/lib/rustici_software_cloud_v2/models/destination_schema.rb +1 -1
- 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 +1 -1
- 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 +2 -1
- data/lib/rustici_software_cloud_v2/models/dispatch_schema.rb +12 -2
- 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 +1 -1
- 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 +1 -1
- 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/{credential_created_schema.rb → invitation_email_update_schema.rb} +17 -46
- 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 +1 -1
- 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 +16 -5
- 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 +1 -1
- data/lib/rustici_software_cloud_v2/models/lti13_tool_configuration_schema.rb +1 -1
- 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 +1 -1
- 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/preview_launch_link_request_schema.rb +239 -0
- data/lib/rustici_software_cloud_v2/models/private_invitation_list.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/private_invitation_schema.rb +26 -6
- data/lib/rustici_software_cloud_v2/models/private_invitation_update_schema.rb +3 -3
- data/lib/rustici_software_cloud_v2/models/public_invitation_list.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/public_invitation_schema.rb +15 -16
- data/lib/rustici_software_cloud_v2/models/public_invitation_update_schema.rb +4 -6
- 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/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 +1 -1
- data/lib/rustici_software_cloud_v2/models/update_dispatch_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/user_invitation_list.rb +1 -1
- 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/version.rb +1 -1
- data/lib/rustici_software_cloud_v2.rb +5 -4
- data/rustici_software_cloud_v2.gemspec +9 -13
- data/spec/api_client_spec.rb +1 -1
- metadata +33 -121
- data/lib/rustici_software_cloud_v2/api/zoomi_api.rb +0 -538
|
@@ -35,7 +35,7 @@ module RusticiSoftwareCloudV2
|
|
|
35
35
|
# 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.
|
|
36
36
|
# @param xapi_statement_pipe
|
|
37
37
|
# @param [Hash] opts the optional parameters
|
|
38
|
-
# @return [Array<(StringResultSchema,
|
|
38
|
+
# @return [Array<(StringResultSchema, Integer, Hash)>] StringResultSchema data, response status code and response headers
|
|
39
39
|
def create_statement_pipe_with_http_info(xapi_statement_pipe, opts = {})
|
|
40
40
|
if @api_client.config.debugging
|
|
41
41
|
@api_client.config.logger.debug 'Calling API: XapiApi.create_statement_pipe ...'
|
|
@@ -90,7 +90,7 @@ module RusticiSoftwareCloudV2
|
|
|
90
90
|
# Creates an xAPI credential combination from the provided secret and a generated ID.
|
|
91
91
|
# @param xapi_credential
|
|
92
92
|
# @param [Hash] opts the optional parameters
|
|
93
|
-
# @return [Array<(StringResultSchema,
|
|
93
|
+
# @return [Array<(StringResultSchema, Integer, Hash)>] StringResultSchema data, response status code and response headers
|
|
94
94
|
def create_xapi_credential_with_http_info(xapi_credential, opts = {})
|
|
95
95
|
if @api_client.config.debugging
|
|
96
96
|
@api_client.config.logger.debug 'Calling API: XapiApi.create_xapi_credential ...'
|
|
@@ -145,7 +145,7 @@ module RusticiSoftwareCloudV2
|
|
|
145
145
|
# 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.
|
|
146
146
|
# @param statement_pipe_id
|
|
147
147
|
# @param [Hash] opts the optional parameters
|
|
148
|
-
# @return [Array<(nil,
|
|
148
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
149
149
|
def delete_statement_pipe_with_http_info(statement_pipe_id, opts = {})
|
|
150
150
|
if @api_client.config.debugging
|
|
151
151
|
@api_client.config.logger.debug 'Calling API: XapiApi.delete_statement_pipe ...'
|
|
@@ -199,7 +199,7 @@ module RusticiSoftwareCloudV2
|
|
|
199
199
|
# Deletes the specified xAPI credentials.
|
|
200
200
|
# @param xapi_credential_id
|
|
201
201
|
# @param [Hash] opts the optional parameters
|
|
202
|
-
# @return [Array<(nil,
|
|
202
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
203
203
|
def delete_xapi_credential_with_http_info(xapi_credential_id, opts = {})
|
|
204
204
|
if @api_client.config.debugging
|
|
205
205
|
@api_client.config.logger.debug 'Calling API: XapiApi.delete_xapi_credential ...'
|
|
@@ -253,7 +253,7 @@ module RusticiSoftwareCloudV2
|
|
|
253
253
|
# 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.
|
|
254
254
|
# @param statement_pipe_id
|
|
255
255
|
# @param [Hash] opts the optional parameters
|
|
256
|
-
# @return [Array<(XapiStatementPipeSchema,
|
|
256
|
+
# @return [Array<(XapiStatementPipeSchema, Integer, Hash)>] XapiStatementPipeSchema data, response status code and response headers
|
|
257
257
|
def get_statement_pipe_with_http_info(statement_pipe_id, opts = {})
|
|
258
258
|
if @api_client.config.debugging
|
|
259
259
|
@api_client.config.logger.debug 'Calling API: XapiApi.get_statement_pipe ...'
|
|
@@ -306,7 +306,7 @@ module RusticiSoftwareCloudV2
|
|
|
306
306
|
# Get a list of xAPI Statement Pipes
|
|
307
307
|
# Returns a list of all xAPI statement pipes.
|
|
308
308
|
# @param [Hash] opts the optional parameters
|
|
309
|
-
# @return [Array<(XapiStatementPipeListSchema,
|
|
309
|
+
# @return [Array<(XapiStatementPipeListSchema, Integer, Hash)>] XapiStatementPipeListSchema data, response status code and response headers
|
|
310
310
|
def get_statement_pipes_with_http_info(opts = {})
|
|
311
311
|
if @api_client.config.debugging
|
|
312
312
|
@api_client.config.logger.debug 'Calling API: XapiApi.get_statement_pipes ...'
|
|
@@ -357,7 +357,7 @@ module RusticiSoftwareCloudV2
|
|
|
357
357
|
# Returns detailed information about the xAPI credentials. This includes the id (username), secret (password), permissions, and whether or not the credentials are enabled.
|
|
358
358
|
# @param xapi_credential_id
|
|
359
359
|
# @param [Hash] opts the optional parameters
|
|
360
|
-
# @return [Array<(XapiCredentialSchema,
|
|
360
|
+
# @return [Array<(XapiCredentialSchema, Integer, Hash)>] XapiCredentialSchema data, response status code and response headers
|
|
361
361
|
def get_xapi_credential_with_http_info(xapi_credential_id, opts = {})
|
|
362
362
|
if @api_client.config.debugging
|
|
363
363
|
@api_client.config.logger.debug 'Calling API: XapiApi.get_xapi_credential ...'
|
|
@@ -426,7 +426,7 @@ module RusticiSoftwareCloudV2
|
|
|
426
426
|
# @option opts [String] :order_by Optional enum parameter for specifying the field and order by which to sort the results.
|
|
427
427
|
# @option opts [String] :more Pagination token returned as `more` property of multi page list requests
|
|
428
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.
|
|
429
|
-
# @return [Array<(XapiCredentialsListSchema,
|
|
429
|
+
# @return [Array<(XapiCredentialsListSchema, Integer, Hash)>] XapiCredentialsListSchema data, response status code and response headers
|
|
430
430
|
def get_xapi_credentials_with_http_info(opts = {})
|
|
431
431
|
if @api_client.config.debugging
|
|
432
432
|
@api_client.config.logger.debug 'Calling API: XapiApi.get_xapi_credentials ...'
|
|
@@ -487,7 +487,7 @@ module RusticiSoftwareCloudV2
|
|
|
487
487
|
# @param statement_pipe_id
|
|
488
488
|
# @param xapi_statement_pipe
|
|
489
489
|
# @param [Hash] opts the optional parameters
|
|
490
|
-
# @return [Array<(StringResultSchema,
|
|
490
|
+
# @return [Array<(StringResultSchema, Integer, Hash)>] StringResultSchema data, response status code and response headers
|
|
491
491
|
def set_statement_pipe_with_http_info(statement_pipe_id, xapi_statement_pipe, opts = {})
|
|
492
492
|
if @api_client.config.debugging
|
|
493
493
|
@api_client.config.logger.debug 'Calling API: XapiApi.set_statement_pipe ...'
|
|
@@ -548,7 +548,7 @@ module RusticiSoftwareCloudV2
|
|
|
548
548
|
# @param xapi_credential_id
|
|
549
549
|
# @param xapi_credential
|
|
550
550
|
# @param [Hash] opts the optional parameters
|
|
551
|
-
# @return [Array<(nil,
|
|
551
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
552
552
|
def set_xapi_credential_with_http_info(xapi_credential_id, xapi_credential, opts = {})
|
|
553
553
|
if @api_client.config.debugging
|
|
554
554
|
@api_client.config.logger.debug 'Calling API: XapiApi.set_xapi_credential ...'
|
|
@@ -30,7 +30,7 @@ module RusticiSoftwareCloudV2
|
|
|
30
30
|
# @option config [Configuration] Configuration for initializing the object, default to Configuration.default
|
|
31
31
|
def initialize(config = Configuration.default)
|
|
32
32
|
@config = config
|
|
33
|
-
@user_agent = "Swagger-Codegen/
|
|
33
|
+
@user_agent = "Swagger-Codegen/5.0.0/ruby"
|
|
34
34
|
@default_headers = {
|
|
35
35
|
'Content-Type' => 'application/json',
|
|
36
36
|
'User-Agent' => @user_agent
|
|
@@ -43,7 +43,7 @@ module RusticiSoftwareCloudV2
|
|
|
43
43
|
|
|
44
44
|
# Call an API with given options.
|
|
45
45
|
#
|
|
46
|
-
# @return [Array<(Object,
|
|
46
|
+
# @return [Array<(Object, Integer, Hash)>] an array of 3 elements:
|
|
47
47
|
# the data deserialized from response body (could be nil), response status code and response headers.
|
|
48
48
|
def call_api(http_method, path, opts = {})
|
|
49
49
|
request = build_request(http_method, path, opts)
|
|
@@ -200,7 +200,7 @@ module RusticiSoftwareCloudV2
|
|
|
200
200
|
end
|
|
201
201
|
|
|
202
202
|
# Calculates hash code according to all attributes.
|
|
203
|
-
# @return [
|
|
203
|
+
# @return [Integer] Hash code
|
|
204
204
|
def hash
|
|
205
205
|
[id, title, attempts, activity_completion, activity_success, score, time_tracked, completion_amount, suspended, children, objectives, static_properties, runtime].hash
|
|
206
206
|
end
|
|
@@ -131,7 +131,7 @@ module RusticiSoftwareCloudV2
|
|
|
131
131
|
end
|
|
132
132
|
|
|
133
133
|
# Calculates hash code according to all attributes.
|
|
134
|
-
# @return [
|
|
134
|
+
# @return [Integer] Hash code
|
|
135
135
|
def hash
|
|
136
136
|
[id, name, create_date, update_date, allow_delete, course_count, registration_count].hash
|
|
137
137
|
end
|
|
@@ -113,7 +113,7 @@ module RusticiSoftwareCloudV2
|
|
|
113
113
|
end
|
|
114
114
|
|
|
115
115
|
# Calculates hash code according to all attributes.
|
|
116
|
-
# @return [
|
|
116
|
+
# @return [Integer] Hash code
|
|
117
117
|
def hash
|
|
118
118
|
[connector_id, content_connector_type, configuration, additional_instance_information, enabled].hash
|
|
119
119
|
end
|
|
@@ -152,7 +152,7 @@ module RusticiSoftwareCloudV2
|
|
|
152
152
|
end
|
|
153
153
|
|
|
154
154
|
# Calculates hash code according to all attributes.
|
|
155
|
-
# @return [
|
|
155
|
+
# @return [Integer] Hash code
|
|
156
156
|
def hash
|
|
157
157
|
[external_identifier, item_identifier, resource_identifier, activity_type, href, scaled_passing_score, title, children].hash
|
|
158
158
|
end
|
|
@@ -191,7 +191,7 @@ module RusticiSoftwareCloudV2
|
|
|
191
191
|
end
|
|
192
192
|
|
|
193
193
|
# Calculates hash code according to all attributes.
|
|
194
|
-
# @return [
|
|
194
|
+
# @return [Integer] Hash code
|
|
195
195
|
def hash
|
|
196
196
|
[id, title, xapi_activity_id, created, updated, version, registration_count, activity_id, course_learning_standard, tags, dispatched, metadata, root_activity].hash
|
|
197
197
|
end
|
|
@@ -193,7 +193,7 @@ module RusticiSoftwareCloudV2
|
|
|
193
193
|
end
|
|
194
194
|
|
|
195
195
|
# Calculates hash code according to all attributes.
|
|
196
|
-
# @return [
|
|
196
|
+
# @return [Integer] Hash code
|
|
197
197
|
def hash
|
|
198
198
|
[destination_id, course_id, allow_new_registrations, instanced, registration_cap, expiration_date, enabled, tags, email, notes, post_back].hash
|
|
199
199
|
end
|
|
@@ -31,6 +31,9 @@ module RusticiSoftwareCloudV2
|
|
|
31
31
|
# Optional tags to be applied to this invitation.
|
|
32
32
|
attr_accessor :tags
|
|
33
33
|
|
|
34
|
+
# Represents the possible values that determine how existing registrations will be handled when an invitation is sent to an email address that has already received an invitation: - `FAIL`: Do not create a new invitation, do not send an email, and do nothing with registrations - `INSTANCE_EXISTING`: Create a new instance of the existing registration and send it with the invitation - `SEND_EXISTING`: Re-send the existing registration with the new invitation - `CREATE_NEW`: Create a new registration for the invitation
|
|
35
|
+
attr_accessor :duplicate_registration_option
|
|
36
|
+
|
|
34
37
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
35
38
|
def self.attribute_map
|
|
36
39
|
{
|
|
@@ -39,7 +42,8 @@ module RusticiSoftwareCloudV2
|
|
|
39
42
|
:'invitation_email' => :'invitationEmail',
|
|
40
43
|
:'post_back' => :'postBack',
|
|
41
44
|
:'expiration_date' => :'expirationDate',
|
|
42
|
-
:'tags' => :'tags'
|
|
45
|
+
:'tags' => :'tags',
|
|
46
|
+
:'duplicate_registration_option' => :'duplicateRegistrationOption'
|
|
43
47
|
}
|
|
44
48
|
end
|
|
45
49
|
|
|
@@ -51,7 +55,8 @@ module RusticiSoftwareCloudV2
|
|
|
51
55
|
:'invitation_email' => :'InvitationEmailSchema',
|
|
52
56
|
:'post_back' => :'PostBackSchema',
|
|
53
57
|
:'expiration_date' => :'DateTime',
|
|
54
|
-
:'tags' => :'Array<String>'
|
|
58
|
+
:'tags' => :'Array<String>',
|
|
59
|
+
:'duplicate_registration_option' => :'String'
|
|
55
60
|
}
|
|
56
61
|
end
|
|
57
62
|
|
|
@@ -88,6 +93,12 @@ module RusticiSoftwareCloudV2
|
|
|
88
93
|
self.tags = value
|
|
89
94
|
end
|
|
90
95
|
end
|
|
96
|
+
|
|
97
|
+
if attributes.has_key?(:'duplicateRegistrationOption')
|
|
98
|
+
self.duplicate_registration_option = attributes[:'duplicateRegistrationOption']
|
|
99
|
+
else
|
|
100
|
+
self.duplicate_registration_option = 'SEND_EXISTING'
|
|
101
|
+
end
|
|
91
102
|
end
|
|
92
103
|
|
|
93
104
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -118,6 +129,14 @@ module RusticiSoftwareCloudV2
|
|
|
118
129
|
true
|
|
119
130
|
end
|
|
120
131
|
|
|
132
|
+
# Custom attribute writer method checking allowed values (enum).
|
|
133
|
+
#
|
|
134
|
+
# allowable_values = ['FAIL', 'INSTANCE_EXISTING', 'SEND_EXISTING', 'CREATE_NEW']
|
|
135
|
+
#
|
|
136
|
+
# @param [Object] duplicate_registration_option Object to be assigned
|
|
137
|
+
def duplicate_registration_option=(duplicate_registration_option)
|
|
138
|
+
@duplicate_registration_option = duplicate_registration_option
|
|
139
|
+
end
|
|
121
140
|
|
|
122
141
|
# Checks equality by comparing each attribute.
|
|
123
142
|
# @param [Object] Object to be compared
|
|
@@ -129,7 +148,8 @@ module RusticiSoftwareCloudV2
|
|
|
129
148
|
invitation_email == o.invitation_email &&
|
|
130
149
|
post_back == o.post_back &&
|
|
131
150
|
expiration_date == o.expiration_date &&
|
|
132
|
-
tags == o.tags
|
|
151
|
+
tags == o.tags &&
|
|
152
|
+
duplicate_registration_option == o.duplicate_registration_option
|
|
133
153
|
end
|
|
134
154
|
|
|
135
155
|
# @see the `==` method
|
|
@@ -139,9 +159,9 @@ module RusticiSoftwareCloudV2
|
|
|
139
159
|
end
|
|
140
160
|
|
|
141
161
|
# Calculates hash code according to all attributes.
|
|
142
|
-
# @return [
|
|
162
|
+
# @return [Integer] Hash code
|
|
143
163
|
def hash
|
|
144
|
-
[course_id, creating_user_email, invitation_email, post_back, expiration_date, tags].hash
|
|
164
|
+
[course_id, creating_user_email, invitation_email, post_back, expiration_date, tags, duplicate_registration_option].hash
|
|
145
165
|
end
|
|
146
166
|
|
|
147
167
|
# Builds the object from hash
|
|
@@ -20,7 +20,7 @@ module RusticiSoftwareCloudV2
|
|
|
20
20
|
# The email of the user who is creating the invitation.
|
|
21
21
|
attr_accessor :creating_user_email
|
|
22
22
|
|
|
23
|
-
# Integer value that
|
|
23
|
+
# Integer value that represents the maximum number of registrations that can be created for a public invitation. Setting this value to '0' allows an unlimited amount of registrations to be created for the invitation.
|
|
24
24
|
attr_accessor :registration_cap
|
|
25
25
|
|
|
26
26
|
# Specifies a URL for which to post activity and status data in real time as the course is completed
|
|
@@ -137,7 +137,7 @@ module RusticiSoftwareCloudV2
|
|
|
137
137
|
end
|
|
138
138
|
|
|
139
139
|
# Calculates hash code according to all attributes.
|
|
140
|
-
# @return [
|
|
140
|
+
# @return [Integer] Hash code
|
|
141
141
|
def hash
|
|
142
142
|
[course_id, creating_user_email, registration_cap, post_back, expiration_date, tags].hash
|
|
143
143
|
end
|
|
@@ -176,7 +176,7 @@ module RusticiSoftwareCloudV2
|
|
|
176
176
|
end
|
|
177
177
|
|
|
178
178
|
# Calculates hash code according to all attributes.
|
|
179
|
-
# @return [
|
|
179
|
+
# @return [Integer] Hash code
|
|
180
180
|
def hash
|
|
181
181
|
[course_id, learner, registration_id, xapi_registration_id, learner_tags, course_tags, registration_tags, post_back, initial_registration_state, initial_settings].hash
|
|
182
182
|
end
|
|
@@ -28,6 +28,12 @@ module RusticiSoftwareCloudV2
|
|
|
28
28
|
|
|
29
29
|
attr_accessor :status
|
|
30
30
|
|
|
31
|
+
# The time the API credential was created in UTC
|
|
32
|
+
attr_accessor :created
|
|
33
|
+
|
|
34
|
+
# The time the API credential was last updated in UTC
|
|
35
|
+
attr_accessor :updated
|
|
36
|
+
|
|
31
37
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
32
38
|
def self.attribute_map
|
|
33
39
|
{
|
|
@@ -35,7 +41,9 @@ module RusticiSoftwareCloudV2
|
|
|
35
41
|
:'name' => :'name',
|
|
36
42
|
:'credential' => :'credential',
|
|
37
43
|
:'pens_credential' => :'pensCredential',
|
|
38
|
-
:'status' => :'status'
|
|
44
|
+
:'status' => :'status',
|
|
45
|
+
:'created' => :'created',
|
|
46
|
+
:'updated' => :'updated'
|
|
39
47
|
}
|
|
40
48
|
end
|
|
41
49
|
|
|
@@ -46,7 +54,9 @@ module RusticiSoftwareCloudV2
|
|
|
46
54
|
:'name' => :'String',
|
|
47
55
|
:'credential' => :'String',
|
|
48
56
|
:'pens_credential' => :'String',
|
|
49
|
-
:'status' => :'String'
|
|
57
|
+
:'status' => :'String',
|
|
58
|
+
:'created' => :'DateTime',
|
|
59
|
+
:'updated' => :'DateTime'
|
|
50
60
|
}
|
|
51
61
|
end
|
|
52
62
|
|
|
@@ -77,6 +87,14 @@ module RusticiSoftwareCloudV2
|
|
|
77
87
|
if attributes.has_key?(:'status')
|
|
78
88
|
self.status = attributes[:'status']
|
|
79
89
|
end
|
|
90
|
+
|
|
91
|
+
if attributes.has_key?(:'created')
|
|
92
|
+
self.created = attributes[:'created']
|
|
93
|
+
end
|
|
94
|
+
|
|
95
|
+
if attributes.has_key?(:'updated')
|
|
96
|
+
self.updated = attributes[:'updated']
|
|
97
|
+
end
|
|
80
98
|
end
|
|
81
99
|
|
|
82
100
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -102,7 +120,9 @@ module RusticiSoftwareCloudV2
|
|
|
102
120
|
name == o.name &&
|
|
103
121
|
credential == o.credential &&
|
|
104
122
|
pens_credential == o.pens_credential &&
|
|
105
|
-
status == o.status
|
|
123
|
+
status == o.status &&
|
|
124
|
+
created == o.created &&
|
|
125
|
+
updated == o.updated
|
|
106
126
|
end
|
|
107
127
|
|
|
108
128
|
# @see the `==` method
|
|
@@ -112,9 +132,9 @@ module RusticiSoftwareCloudV2
|
|
|
112
132
|
end
|
|
113
133
|
|
|
114
134
|
# Calculates hash code according to all attributes.
|
|
115
|
-
# @return [
|
|
135
|
+
# @return [Integer] Hash code
|
|
116
136
|
def hash
|
|
117
|
-
[id, name, credential, pens_credential, status].hash
|
|
137
|
+
[id, name, credential, pens_credential, status, created, updated].hash
|
|
118
138
|
end
|
|
119
139
|
|
|
120
140
|
# Builds the object from hash
|
data/lib/rustici_software_cloud_v2/models/{zoomi_company_id.rb → destination_info_id_schema.rb}
RENAMED
|
@@ -13,20 +13,25 @@ require 'date'
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
module RusticiSoftwareCloudV2
|
|
16
|
-
class
|
|
17
|
-
|
|
16
|
+
class DestinationInfoIdSchema
|
|
17
|
+
#
|
|
18
|
+
attr_accessor :id
|
|
19
|
+
|
|
20
|
+
attr_accessor :data
|
|
18
21
|
|
|
19
22
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
20
23
|
def self.attribute_map
|
|
21
24
|
{
|
|
22
|
-
:'
|
|
25
|
+
:'id' => :'id',
|
|
26
|
+
:'data' => :'data'
|
|
23
27
|
}
|
|
24
28
|
end
|
|
25
29
|
|
|
26
30
|
# Attribute type mapping.
|
|
27
31
|
def self.swagger_types
|
|
28
32
|
{
|
|
29
|
-
:'
|
|
33
|
+
:'id' => :'String',
|
|
34
|
+
:'data' => :'DestinationInfoSchema'
|
|
30
35
|
}
|
|
31
36
|
end
|
|
32
37
|
|
|
@@ -38,8 +43,12 @@ module RusticiSoftwareCloudV2
|
|
|
38
43
|
# convert string to symbol for hash key
|
|
39
44
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
|
40
45
|
|
|
41
|
-
if attributes.has_key?(:'
|
|
42
|
-
self.
|
|
46
|
+
if attributes.has_key?(:'id')
|
|
47
|
+
self.id = attributes[:'id']
|
|
48
|
+
end
|
|
49
|
+
|
|
50
|
+
if attributes.has_key?(:'data')
|
|
51
|
+
self.data = attributes[:'data']
|
|
43
52
|
end
|
|
44
53
|
end
|
|
45
54
|
|
|
@@ -62,7 +71,8 @@ module RusticiSoftwareCloudV2
|
|
|
62
71
|
def ==(o)
|
|
63
72
|
return true if self.equal?(o)
|
|
64
73
|
self.class == o.class &&
|
|
65
|
-
|
|
74
|
+
id == o.id &&
|
|
75
|
+
data == o.data
|
|
66
76
|
end
|
|
67
77
|
|
|
68
78
|
# @see the `==` method
|
|
@@ -72,9 +82,9 @@ module RusticiSoftwareCloudV2
|
|
|
72
82
|
end
|
|
73
83
|
|
|
74
84
|
# Calculates hash code according to all attributes.
|
|
75
|
-
# @return [
|
|
85
|
+
# @return [Integer] Hash code
|
|
76
86
|
def hash
|
|
77
|
-
[
|
|
87
|
+
[id, data].hash
|
|
78
88
|
end
|
|
79
89
|
|
|
80
90
|
# Builds the object from hash
|