rustici_software_cloud_v2 2.1.0 → 4.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 +4 -4
- data/lib/rustici_software_cloud_v2/api/about_api.rb +3 -1
- data/lib/rustici_software_cloud_v2/api/application_management_api.rb +103 -8
- data/lib/rustici_software_cloud_v2/api/authentication_api.rb +3 -1
- data/lib/rustici_software_cloud_v2/api/content_connectors_api.rb +6 -1
- data/lib/rustici_software_cloud_v2/api/course_api.rb +42 -1
- data/lib/rustici_software_cloud_v2/api/dispatch_api.rb +67 -10
- data/lib/rustici_software_cloud_v2/api/invitations_api.rb +35 -3
- 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 -8
- 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 +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/{credential_created_schema.rb → destination_info_id_schema.rb} +10 -40
- data/lib/rustici_software_cloud_v2/models/destination_info_list_schema.rb +198 -0
- 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 +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 +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/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 +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 +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/preview_launch_link_request_schema.rb +239 -0
- data/lib/rustici_software_cloud_v2/models/private_invitation_list.rb +15 -18
- data/lib/rustici_software_cloud_v2/models/private_invitation_schema.rb +2 -2
- data/lib/rustici_software_cloud_v2/models/private_invitation_update_schema.rb +2 -2
- data/lib/rustici_software_cloud_v2/models/public_invitation_list.rb +15 -18
- data/lib/rustici_software_cloud_v2/models/public_invitation_schema.rb +4 -4
- data/lib/rustici_software_cloud_v2/models/public_invitation_update_schema.rb +4 -4
- 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 +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 +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 +6 -2
- 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 +8 -3
|
@@ -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.27
|
|
10
9
|
|
|
11
10
|
=end
|
|
12
11
|
|
|
13
12
|
require 'date'
|
|
14
13
|
|
|
14
|
+
|
|
15
15
|
module RusticiSoftwareCloudV2
|
|
16
16
|
class CourseActivitySchema
|
|
17
17
|
# An arbitrary identifier that the external LMS system can associate with this LearningObject to track it as it is reused across courses
|
|
@@ -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.27
|
|
10
9
|
|
|
11
10
|
=end
|
|
12
11
|
|
|
13
12
|
require 'date'
|
|
14
13
|
|
|
14
|
+
|
|
15
15
|
module RusticiSoftwareCloudV2
|
|
16
16
|
class CourseListNonPagedSchema
|
|
17
17
|
attr_accessor :courses
|
|
@@ -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.27
|
|
10
9
|
|
|
11
10
|
=end
|
|
12
11
|
|
|
13
12
|
require 'date'
|
|
14
13
|
|
|
14
|
+
|
|
15
15
|
module RusticiSoftwareCloudV2
|
|
16
16
|
class CourseListSchema
|
|
17
17
|
attr_accessor :courses
|
|
@@ -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.27
|
|
10
9
|
|
|
11
10
|
=end
|
|
12
11
|
|
|
13
12
|
require 'date'
|
|
14
13
|
|
|
14
|
+
|
|
15
15
|
module RusticiSoftwareCloudV2
|
|
16
16
|
# Basic information about a course for when a course is referenced by other objects, such as a registration.
|
|
17
17
|
class CourseReferenceSchema
|
|
@@ -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.27
|
|
10
9
|
|
|
11
10
|
=end
|
|
12
11
|
|
|
13
12
|
require 'date'
|
|
14
13
|
|
|
14
|
+
|
|
15
15
|
module RusticiSoftwareCloudV2
|
|
16
16
|
class CreateConnectorSchema
|
|
17
17
|
# type of this content connector
|
|
@@ -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.27
|
|
10
9
|
|
|
11
10
|
=end
|
|
12
11
|
|
|
13
12
|
require 'date'
|
|
14
13
|
|
|
14
|
+
|
|
15
15
|
module RusticiSoftwareCloudV2
|
|
16
16
|
class CreateDispatchIdSchema
|
|
17
17
|
attr_accessor :id
|
|
@@ -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.27
|
|
10
9
|
|
|
11
10
|
=end
|
|
12
11
|
|
|
13
12
|
require 'date'
|
|
14
13
|
|
|
14
|
+
|
|
15
15
|
module RusticiSoftwareCloudV2
|
|
16
16
|
class CreateDispatchListSchema
|
|
17
17
|
attr_accessor :dispatches
|
|
@@ -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.27
|
|
10
9
|
|
|
11
10
|
=end
|
|
12
11
|
|
|
13
12
|
require 'date'
|
|
14
13
|
|
|
14
|
+
|
|
15
15
|
module RusticiSoftwareCloudV2
|
|
16
16
|
class CreateDispatchSchema
|
|
17
17
|
# Id of the destination this dispatch will belong to.
|
|
@@ -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.27
|
|
10
9
|
|
|
11
10
|
=end
|
|
12
11
|
|
|
13
12
|
require 'date'
|
|
14
13
|
|
|
14
|
+
|
|
15
15
|
module RusticiSoftwareCloudV2
|
|
16
16
|
class CreatePrivateInvitationSchema
|
|
17
17
|
# The id of the course for which to create an invitation.
|
|
@@ -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
|
|
@@ -141,7 +161,7 @@ module RusticiSoftwareCloudV2
|
|
|
141
161
|
# Calculates hash code according to all attributes.
|
|
142
162
|
# @return [Fixnum] 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
|
|
@@ -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.27
|
|
10
9
|
|
|
11
10
|
=end
|
|
12
11
|
|
|
13
12
|
require 'date'
|
|
14
13
|
|
|
14
|
+
|
|
15
15
|
module RusticiSoftwareCloudV2
|
|
16
16
|
class CreatePublicInvitationSchema
|
|
17
17
|
# The id of the course for which to create an invitation.
|
|
@@ -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
|
|
@@ -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.27
|
|
10
9
|
|
|
11
10
|
=end
|
|
12
11
|
|
|
13
12
|
require 'date'
|
|
14
13
|
|
|
14
|
+
|
|
15
15
|
module RusticiSoftwareCloudV2
|
|
16
16
|
class CreateRegistrationSchema
|
|
17
17
|
attr_accessor :course_id
|
|
@@ -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.27
|
|
10
9
|
|
|
11
10
|
=end
|
|
12
11
|
|
|
13
12
|
require 'date'
|
|
14
13
|
|
|
14
|
+
|
|
15
15
|
module RusticiSoftwareCloudV2
|
|
16
16
|
class CredentialListSchema
|
|
17
17
|
attr_accessor :credentials
|
|
@@ -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.27
|
|
10
9
|
|
|
11
10
|
=end
|
|
12
11
|
|
|
13
12
|
require 'date'
|
|
14
13
|
|
|
14
|
+
|
|
15
15
|
module RusticiSoftwareCloudV2
|
|
16
16
|
class CredentialRequestSchema
|
|
17
17
|
# name for this credential
|
|
@@ -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.27
|
|
10
9
|
|
|
11
10
|
=end
|
|
12
11
|
|
|
13
12
|
require 'date'
|
|
14
13
|
|
|
14
|
+
|
|
15
15
|
module RusticiSoftwareCloudV2
|
|
16
16
|
class CredentialSchema
|
|
17
17
|
# id for this credential
|
|
@@ -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
|
|
@@ -114,7 +134,7 @@ module RusticiSoftwareCloudV2
|
|
|
114
134
|
# Calculates hash code according to all attributes.
|
|
115
135
|
# @return [Fixnum] 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
|
|
@@ -6,36 +6,24 @@
|
|
|
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.27
|
|
10
9
|
|
|
11
10
|
=end
|
|
12
11
|
|
|
13
12
|
require 'date'
|
|
14
13
|
|
|
14
|
+
|
|
15
15
|
module RusticiSoftwareCloudV2
|
|
16
|
-
class
|
|
17
|
-
#
|
|
16
|
+
class DestinationInfoIdSchema
|
|
17
|
+
#
|
|
18
18
|
attr_accessor :id
|
|
19
19
|
|
|
20
|
-
|
|
21
|
-
attr_accessor :name
|
|
22
|
-
|
|
23
|
-
# The newly created API credential
|
|
24
|
-
attr_accessor :credential
|
|
25
|
-
|
|
26
|
-
# The PENS key for this credential
|
|
27
|
-
attr_accessor :pens_credential
|
|
28
|
-
|
|
29
|
-
attr_accessor :status
|
|
20
|
+
attr_accessor :data
|
|
30
21
|
|
|
31
22
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
32
23
|
def self.attribute_map
|
|
33
24
|
{
|
|
34
25
|
:'id' => :'id',
|
|
35
|
-
:'
|
|
36
|
-
:'credential' => :'credential',
|
|
37
|
-
:'pens_credential' => :'pensCredential',
|
|
38
|
-
:'status' => :'status'
|
|
26
|
+
:'data' => :'data'
|
|
39
27
|
}
|
|
40
28
|
end
|
|
41
29
|
|
|
@@ -43,10 +31,7 @@ module RusticiSoftwareCloudV2
|
|
|
43
31
|
def self.swagger_types
|
|
44
32
|
{
|
|
45
33
|
:'id' => :'String',
|
|
46
|
-
:'
|
|
47
|
-
:'credential' => :'String',
|
|
48
|
-
:'pens_credential' => :'String',
|
|
49
|
-
:'status' => :'String'
|
|
34
|
+
:'data' => :'DestinationInfoSchema'
|
|
50
35
|
}
|
|
51
36
|
end
|
|
52
37
|
|
|
@@ -62,20 +47,8 @@ module RusticiSoftwareCloudV2
|
|
|
62
47
|
self.id = attributes[:'id']
|
|
63
48
|
end
|
|
64
49
|
|
|
65
|
-
if attributes.has_key?(:'
|
|
66
|
-
self.
|
|
67
|
-
end
|
|
68
|
-
|
|
69
|
-
if attributes.has_key?(:'credential')
|
|
70
|
-
self.credential = attributes[:'credential']
|
|
71
|
-
end
|
|
72
|
-
|
|
73
|
-
if attributes.has_key?(:'pensCredential')
|
|
74
|
-
self.pens_credential = attributes[:'pensCredential']
|
|
75
|
-
end
|
|
76
|
-
|
|
77
|
-
if attributes.has_key?(:'status')
|
|
78
|
-
self.status = attributes[:'status']
|
|
50
|
+
if attributes.has_key?(:'data')
|
|
51
|
+
self.data = attributes[:'data']
|
|
79
52
|
end
|
|
80
53
|
end
|
|
81
54
|
|
|
@@ -99,10 +72,7 @@ module RusticiSoftwareCloudV2
|
|
|
99
72
|
return true if self.equal?(o)
|
|
100
73
|
self.class == o.class &&
|
|
101
74
|
id == o.id &&
|
|
102
|
-
|
|
103
|
-
credential == o.credential &&
|
|
104
|
-
pens_credential == o.pens_credential &&
|
|
105
|
-
status == o.status
|
|
75
|
+
data == o.data
|
|
106
76
|
end
|
|
107
77
|
|
|
108
78
|
# @see the `==` method
|
|
@@ -114,7 +84,7 @@ module RusticiSoftwareCloudV2
|
|
|
114
84
|
# Calculates hash code according to all attributes.
|
|
115
85
|
# @return [Fixnum] Hash code
|
|
116
86
|
def hash
|
|
117
|
-
[id,
|
|
87
|
+
[id, data].hash
|
|
118
88
|
end
|
|
119
89
|
|
|
120
90
|
# Builds the object from hash
|
|
@@ -0,0 +1,198 @@
|
|
|
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 DestinationInfoListSchema
|
|
17
|
+
#
|
|
18
|
+
attr_accessor :destinations
|
|
19
|
+
|
|
20
|
+
# Token for getting the next set of results, from the prior set of results.
|
|
21
|
+
attr_accessor :more
|
|
22
|
+
|
|
23
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
24
|
+
def self.attribute_map
|
|
25
|
+
{
|
|
26
|
+
:'destinations' => :'destinations',
|
|
27
|
+
:'more' => :'more'
|
|
28
|
+
}
|
|
29
|
+
end
|
|
30
|
+
|
|
31
|
+
# Attribute type mapping.
|
|
32
|
+
def self.swagger_types
|
|
33
|
+
{
|
|
34
|
+
:'destinations' => :'Array<DestinationInfoIdSchema>',
|
|
35
|
+
:'more' => :'String'
|
|
36
|
+
}
|
|
37
|
+
end
|
|
38
|
+
|
|
39
|
+
# Initializes the object
|
|
40
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
41
|
+
def initialize(attributes = {})
|
|
42
|
+
return unless attributes.is_a?(Hash)
|
|
43
|
+
|
|
44
|
+
# convert string to symbol for hash key
|
|
45
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
|
46
|
+
|
|
47
|
+
if attributes.has_key?(:'destinations')
|
|
48
|
+
if (value = attributes[:'destinations']).is_a?(Array)
|
|
49
|
+
self.destinations = value
|
|
50
|
+
end
|
|
51
|
+
end
|
|
52
|
+
|
|
53
|
+
if attributes.has_key?(:'more')
|
|
54
|
+
self.more = attributes[:'more']
|
|
55
|
+
end
|
|
56
|
+
end
|
|
57
|
+
|
|
58
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
|
59
|
+
# @return Array for valid properties with the reasons
|
|
60
|
+
def list_invalid_properties
|
|
61
|
+
invalid_properties = Array.new
|
|
62
|
+
invalid_properties
|
|
63
|
+
end
|
|
64
|
+
|
|
65
|
+
# Check to see if the all the properties in the model are valid
|
|
66
|
+
# @return true if the model is valid
|
|
67
|
+
def valid?
|
|
68
|
+
true
|
|
69
|
+
end
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
# Checks equality by comparing each attribute.
|
|
73
|
+
# @param [Object] Object to be compared
|
|
74
|
+
def ==(o)
|
|
75
|
+
return true if self.equal?(o)
|
|
76
|
+
self.class == o.class &&
|
|
77
|
+
destinations == o.destinations &&
|
|
78
|
+
more == o.more
|
|
79
|
+
end
|
|
80
|
+
|
|
81
|
+
# @see the `==` method
|
|
82
|
+
# @param [Object] Object to be compared
|
|
83
|
+
def eql?(o)
|
|
84
|
+
self == o
|
|
85
|
+
end
|
|
86
|
+
|
|
87
|
+
# Calculates hash code according to all attributes.
|
|
88
|
+
# @return [Fixnum] Hash code
|
|
89
|
+
def hash
|
|
90
|
+
[destinations, more].hash
|
|
91
|
+
end
|
|
92
|
+
|
|
93
|
+
# Builds the object from hash
|
|
94
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
95
|
+
# @return [Object] Returns the model itself
|
|
96
|
+
def build_from_hash(attributes)
|
|
97
|
+
return nil unless attributes.is_a?(Hash)
|
|
98
|
+
self.class.swagger_types.each_pair do |key, type|
|
|
99
|
+
if type =~ /\AArray<(.*)>/i
|
|
100
|
+
# check to ensure the input is an array given that the attribute
|
|
101
|
+
# is documented as an array but the input is not
|
|
102
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
103
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
|
104
|
+
end
|
|
105
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
|
106
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
|
107
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
|
108
|
+
end
|
|
109
|
+
|
|
110
|
+
self
|
|
111
|
+
end
|
|
112
|
+
|
|
113
|
+
# Deserializes the data based on type
|
|
114
|
+
# @param string type Data type
|
|
115
|
+
# @param string value Value to be deserialized
|
|
116
|
+
# @return [Object] Deserialized data
|
|
117
|
+
def _deserialize(type, value)
|
|
118
|
+
case type.to_sym
|
|
119
|
+
when :DateTime
|
|
120
|
+
DateTime.parse(value)
|
|
121
|
+
when :Date
|
|
122
|
+
Date.parse(value)
|
|
123
|
+
when :String
|
|
124
|
+
value.to_s
|
|
125
|
+
when :Integer
|
|
126
|
+
value.to_i
|
|
127
|
+
when :Float
|
|
128
|
+
value.to_f
|
|
129
|
+
when :BOOLEAN
|
|
130
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
131
|
+
true
|
|
132
|
+
else
|
|
133
|
+
false
|
|
134
|
+
end
|
|
135
|
+
when :Object
|
|
136
|
+
# generic object (usually a Hash), return directly
|
|
137
|
+
value
|
|
138
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
|
139
|
+
inner_type = Regexp.last_match[:inner_type]
|
|
140
|
+
value.map { |v| _deserialize(inner_type, v) }
|
|
141
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
|
142
|
+
k_type = Regexp.last_match[:k_type]
|
|
143
|
+
v_type = Regexp.last_match[:v_type]
|
|
144
|
+
{}.tap do |hash|
|
|
145
|
+
value.each do |k, v|
|
|
146
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
|
147
|
+
end
|
|
148
|
+
end
|
|
149
|
+
else # model
|
|
150
|
+
temp_model = RusticiSoftwareCloudV2.const_get(type).new
|
|
151
|
+
temp_model.build_from_hash(value)
|
|
152
|
+
end
|
|
153
|
+
end
|
|
154
|
+
|
|
155
|
+
# Returns the string representation of the object
|
|
156
|
+
# @return [String] String presentation of the object
|
|
157
|
+
def to_s
|
|
158
|
+
to_hash.to_s
|
|
159
|
+
end
|
|
160
|
+
|
|
161
|
+
# to_body is an alias to to_hash (backward compatibility)
|
|
162
|
+
# @return [Hash] Returns the object in the form of hash
|
|
163
|
+
def to_body
|
|
164
|
+
to_hash
|
|
165
|
+
end
|
|
166
|
+
|
|
167
|
+
# Returns the object in the form of hash
|
|
168
|
+
# @return [Hash] Returns the object in the form of hash
|
|
169
|
+
def to_hash
|
|
170
|
+
hash = {}
|
|
171
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
172
|
+
value = self.send(attr)
|
|
173
|
+
next if value.nil?
|
|
174
|
+
hash[param] = _to_hash(value)
|
|
175
|
+
end
|
|
176
|
+
hash
|
|
177
|
+
end
|
|
178
|
+
|
|
179
|
+
# Outputs non-array value in the form of hash
|
|
180
|
+
# For object, use to_hash. Otherwise, just return the value
|
|
181
|
+
# @param [Object] value Any valid value
|
|
182
|
+
# @return [Hash] Returns the value in the form of hash
|
|
183
|
+
def _to_hash(value)
|
|
184
|
+
if value.is_a?(Array)
|
|
185
|
+
value.compact.map { |v| _to_hash(v) }
|
|
186
|
+
elsif value.is_a?(Hash)
|
|
187
|
+
{}.tap do |hash|
|
|
188
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
189
|
+
end
|
|
190
|
+
elsif value.respond_to? :to_hash
|
|
191
|
+
value.to_hash
|
|
192
|
+
else
|
|
193
|
+
value
|
|
194
|
+
end
|
|
195
|
+
end
|
|
196
|
+
|
|
197
|
+
end
|
|
198
|
+
end
|