rustici_software_cloud_v2 4.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 +15 -15
- 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 +47 -41
- data/lib/rustici_software_cloud_v2/api/invitations_api.rb +26 -20
- 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 +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_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_info_id_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/destination_info_list_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/destination_info_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 +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/{zoomi_company_id.rb → invitation_email_update_schema.rb} +20 -9
- 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 +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 +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 +1 -1
- data/lib/rustici_software_cloud_v2/models/private_invitation_list.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/private_invitation_schema.rb +25 -5
- 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 +1 -1
- data/lib/rustici_software_cloud_v2/models/public_invitation_schema.rb +12 -13
- data/lib/rustici_software_cloud_v2/models/public_invitation_update_schema.rb +1 -3
- 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 +1 -3
- data/rustici_software_cloud_v2.gemspec +9 -13
- data/spec/api_client_spec.rb +1 -1
- metadata +29 -120
- data/lib/rustici_software_cloud_v2/api/zoomi_api.rb +0 -538
- data/lib/rustici_software_cloud_v2/models/zoomi_course_options_schema.rb +0 -204
|
@@ -91,7 +91,7 @@ module RusticiSoftwareCloudV2
|
|
|
91
91
|
end
|
|
92
92
|
|
|
93
93
|
# Calculates hash code according to all attributes.
|
|
94
|
-
# @return [
|
|
94
|
+
# @return [Integer] Hash code
|
|
95
95
|
def hash
|
|
96
96
|
[fetch_request, media_file_reference_request, connector_reference_request].hash
|
|
97
97
|
end
|
|
@@ -104,7 +104,7 @@ module RusticiSoftwareCloudV2
|
|
|
104
104
|
end
|
|
105
105
|
|
|
106
106
|
# Calculates hash code according to all attributes.
|
|
107
|
-
# @return [
|
|
107
|
+
# @return [Integer] Hash code
|
|
108
108
|
def hash
|
|
109
109
|
[web_path_to_course, parser_warnings, course_languages, course].hash
|
|
110
110
|
end
|
data/lib/rustici_software_cloud_v2/models/{zoomi_company_id.rb → invitation_email_update_schema.rb}
RENAMED
|
@@ -13,20 +13,26 @@ require 'date'
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
module RusticiSoftwareCloudV2
|
|
16
|
-
class
|
|
17
|
-
|
|
16
|
+
class InvitationEmailUpdateSchema
|
|
17
|
+
# The subject line for the email.
|
|
18
|
+
attr_accessor :subject
|
|
19
|
+
|
|
20
|
+
# The body of the email.
|
|
21
|
+
attr_accessor :body
|
|
18
22
|
|
|
19
23
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
20
24
|
def self.attribute_map
|
|
21
25
|
{
|
|
22
|
-
:'
|
|
26
|
+
:'subject' => :'subject',
|
|
27
|
+
:'body' => :'body'
|
|
23
28
|
}
|
|
24
29
|
end
|
|
25
30
|
|
|
26
31
|
# Attribute type mapping.
|
|
27
32
|
def self.swagger_types
|
|
28
33
|
{
|
|
29
|
-
:'
|
|
34
|
+
:'subject' => :'String',
|
|
35
|
+
:'body' => :'String'
|
|
30
36
|
}
|
|
31
37
|
end
|
|
32
38
|
|
|
@@ -38,8 +44,12 @@ module RusticiSoftwareCloudV2
|
|
|
38
44
|
# convert string to symbol for hash key
|
|
39
45
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
|
40
46
|
|
|
41
|
-
if attributes.has_key?(:'
|
|
42
|
-
self.
|
|
47
|
+
if attributes.has_key?(:'subject')
|
|
48
|
+
self.subject = attributes[:'subject']
|
|
49
|
+
end
|
|
50
|
+
|
|
51
|
+
if attributes.has_key?(:'body')
|
|
52
|
+
self.body = attributes[:'body']
|
|
43
53
|
end
|
|
44
54
|
end
|
|
45
55
|
|
|
@@ -62,7 +72,8 @@ module RusticiSoftwareCloudV2
|
|
|
62
72
|
def ==(o)
|
|
63
73
|
return true if self.equal?(o)
|
|
64
74
|
self.class == o.class &&
|
|
65
|
-
|
|
75
|
+
subject == o.subject &&
|
|
76
|
+
body == o.body
|
|
66
77
|
end
|
|
67
78
|
|
|
68
79
|
# @see the `==` method
|
|
@@ -72,9 +83,9 @@ module RusticiSoftwareCloudV2
|
|
|
72
83
|
end
|
|
73
84
|
|
|
74
85
|
# Calculates hash code according to all attributes.
|
|
75
|
-
# @return [
|
|
86
|
+
# @return [Integer] Hash code
|
|
76
87
|
def hash
|
|
77
|
-
[
|
|
88
|
+
[subject, body].hash
|
|
78
89
|
end
|
|
79
90
|
|
|
80
91
|
# Builds the object from hash
|
|
@@ -187,7 +187,7 @@ module RusticiSoftwareCloudV2
|
|
|
187
187
|
end
|
|
188
188
|
|
|
189
189
|
# Calculates hash code according to all attributes.
|
|
190
|
-
# @return [
|
|
190
|
+
# @return [Integer] Hash code
|
|
191
191
|
def hash
|
|
192
192
|
[id, instance, score, completion_status, success_status, history_log, total_seconds_tracked, launch_time, exit_time, last_runtime_update, launch_history_id].hash
|
|
193
193
|
end
|
|
@@ -185,7 +185,7 @@ module RusticiSoftwareCloudV2
|
|
|
185
185
|
end
|
|
186
186
|
|
|
187
187
|
# Calculates hash code according to all attributes.
|
|
188
|
-
# @return [
|
|
188
|
+
# @return [Integer] Hash code
|
|
189
189
|
def hash
|
|
190
190
|
[expiry, redirect_on_exit_url, tracking, start_sco, culture, css_url, learner_tags, course_tags, registration_tags, additionalvalues, launch_auth].hash
|
|
191
191
|
end
|
|
@@ -148,7 +148,7 @@ module RusticiSoftwareCloudV2
|
|
|
148
148
|
end
|
|
149
149
|
|
|
150
150
|
# Calculates hash code according to all attributes.
|
|
151
|
-
# @return [
|
|
151
|
+
# @return [Integer] Hash code
|
|
152
152
|
def hash
|
|
153
153
|
[client_id, platform_issuer_identifier, deployment_id, oidc_authorization_endpoint, json_web_key_set_url, access_token_url].hash
|
|
154
154
|
end
|
|
@@ -123,7 +123,7 @@ module RusticiSoftwareCloudV2
|
|
|
123
123
|
end
|
|
124
124
|
|
|
125
125
|
# Calculates hash code according to all attributes.
|
|
126
|
-
# @return [
|
|
126
|
+
# @return [Integer] Hash code
|
|
127
127
|
def hash
|
|
128
128
|
[public_key, oidc_login_initiations_url, redirect_uri, json_web_key_set_url].hash
|
|
129
129
|
end
|
|
@@ -100,7 +100,7 @@ module RusticiSoftwareCloudV2
|
|
|
100
100
|
end
|
|
101
101
|
|
|
102
102
|
# Calculates hash code according to all attributes.
|
|
103
|
-
# @return [
|
|
103
|
+
# @return [Integer] Hash code
|
|
104
104
|
def hash
|
|
105
105
|
[title, description, content_language, estimated_duration].hash
|
|
106
106
|
end
|
|
@@ -128,7 +128,7 @@ module RusticiSoftwareCloudV2
|
|
|
128
128
|
end
|
|
129
129
|
|
|
130
130
|
# Calculates hash code according to all attributes.
|
|
131
|
-
# @return [
|
|
131
|
+
# @return [Integer] Hash code
|
|
132
132
|
def hash
|
|
133
133
|
[title, title_language, description, description_language, duration, typical_time, keywords].hash
|
|
134
134
|
end
|
|
@@ -210,7 +210,7 @@ module RusticiSoftwareCloudV2
|
|
|
210
210
|
end
|
|
211
211
|
|
|
212
212
|
# Calculates hash code according to all attributes.
|
|
213
|
-
# @return [
|
|
213
|
+
# @return [Integer] Hash code
|
|
214
214
|
def hash
|
|
215
215
|
[id, primary, score, score_max, score_min, score_raw, previous_score_scaled, first_score_scaled, progress_measure, first_success_time_stamp, objective_completion, objective_success, previous_objective_success].hash
|
|
216
216
|
end
|
|
@@ -142,7 +142,7 @@ module RusticiSoftwareCloudV2
|
|
|
142
142
|
end
|
|
143
143
|
|
|
144
144
|
# Calculates hash code according to all attributes.
|
|
145
|
-
# @return [
|
|
145
|
+
# @return [Integer] Hash code
|
|
146
146
|
def hash
|
|
147
147
|
[url, auth_type, user_name, password, results_format, legacy].hash
|
|
148
148
|
end
|
|
@@ -126,7 +126,7 @@ module RusticiSoftwareCloudV2
|
|
|
126
126
|
end
|
|
127
127
|
|
|
128
128
|
# Calculates hash code according to all attributes.
|
|
129
|
-
# @return [
|
|
129
|
+
# @return [Integer] Hash code
|
|
130
130
|
def hash
|
|
131
131
|
[expiry, redirect_on_exit_url, start_sco, culture, css_url, additionalvalues].hash
|
|
132
132
|
end
|
|
@@ -20,6 +20,9 @@ module RusticiSoftwareCloudV2
|
|
|
20
20
|
# Course Id for this Invitation.
|
|
21
21
|
attr_accessor :course_id
|
|
22
22
|
|
|
23
|
+
# Title of the course associated with this invitation.
|
|
24
|
+
attr_accessor :course_title
|
|
25
|
+
|
|
23
26
|
# Determines if learners are allowed to launch the invitation. If false, the invitation is disabled and no new or existing learners are allowed to launch it.
|
|
24
27
|
attr_accessor :allow_launch
|
|
25
28
|
|
|
@@ -39,18 +42,23 @@ module RusticiSoftwareCloudV2
|
|
|
39
42
|
# The count of registrations for this invitation
|
|
40
43
|
attr_accessor :registration_count
|
|
41
44
|
|
|
45
|
+
# The count of launched registrations for this invitation
|
|
46
|
+
attr_accessor :launched_registration_count
|
|
47
|
+
|
|
42
48
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
43
49
|
def self.attribute_map
|
|
44
50
|
{
|
|
45
51
|
:'id' => :'id',
|
|
46
52
|
:'course_id' => :'courseId',
|
|
53
|
+
:'course_title' => :'courseTitle',
|
|
47
54
|
:'allow_launch' => :'allowLaunch',
|
|
48
55
|
:'invitation_email' => :'invitationEmail',
|
|
49
56
|
:'create_date' => :'createDate',
|
|
50
57
|
:'updated' => :'updated',
|
|
51
58
|
:'post_back' => :'postBack',
|
|
52
59
|
:'expiration_date' => :'expirationDate',
|
|
53
|
-
:'registration_count' => :'registrationCount'
|
|
60
|
+
:'registration_count' => :'registrationCount',
|
|
61
|
+
:'launched_registration_count' => :'launchedRegistrationCount'
|
|
54
62
|
}
|
|
55
63
|
end
|
|
56
64
|
|
|
@@ -59,13 +67,15 @@ module RusticiSoftwareCloudV2
|
|
|
59
67
|
{
|
|
60
68
|
:'id' => :'String',
|
|
61
69
|
:'course_id' => :'String',
|
|
70
|
+
:'course_title' => :'String',
|
|
62
71
|
:'allow_launch' => :'BOOLEAN',
|
|
63
72
|
:'invitation_email' => :'InvitationEmailSchema',
|
|
64
73
|
:'create_date' => :'DateTime',
|
|
65
74
|
:'updated' => :'DateTime',
|
|
66
75
|
:'post_back' => :'PostBackSchema',
|
|
67
76
|
:'expiration_date' => :'DateTime',
|
|
68
|
-
:'registration_count' => :'Integer'
|
|
77
|
+
:'registration_count' => :'Integer',
|
|
78
|
+
:'launched_registration_count' => :'Integer'
|
|
69
79
|
}
|
|
70
80
|
end
|
|
71
81
|
|
|
@@ -85,6 +95,10 @@ module RusticiSoftwareCloudV2
|
|
|
85
95
|
self.course_id = attributes[:'courseId']
|
|
86
96
|
end
|
|
87
97
|
|
|
98
|
+
if attributes.has_key?(:'courseTitle')
|
|
99
|
+
self.course_title = attributes[:'courseTitle']
|
|
100
|
+
end
|
|
101
|
+
|
|
88
102
|
if attributes.has_key?(:'allowLaunch')
|
|
89
103
|
self.allow_launch = attributes[:'allowLaunch']
|
|
90
104
|
end
|
|
@@ -112,6 +126,10 @@ module RusticiSoftwareCloudV2
|
|
|
112
126
|
if attributes.has_key?(:'registrationCount')
|
|
113
127
|
self.registration_count = attributes[:'registrationCount']
|
|
114
128
|
end
|
|
129
|
+
|
|
130
|
+
if attributes.has_key?(:'launchedRegistrationCount')
|
|
131
|
+
self.launched_registration_count = attributes[:'launchedRegistrationCount']
|
|
132
|
+
end
|
|
115
133
|
end
|
|
116
134
|
|
|
117
135
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -135,13 +153,15 @@ module RusticiSoftwareCloudV2
|
|
|
135
153
|
self.class == o.class &&
|
|
136
154
|
id == o.id &&
|
|
137
155
|
course_id == o.course_id &&
|
|
156
|
+
course_title == o.course_title &&
|
|
138
157
|
allow_launch == o.allow_launch &&
|
|
139
158
|
invitation_email == o.invitation_email &&
|
|
140
159
|
create_date == o.create_date &&
|
|
141
160
|
updated == o.updated &&
|
|
142
161
|
post_back == o.post_back &&
|
|
143
162
|
expiration_date == o.expiration_date &&
|
|
144
|
-
registration_count == o.registration_count
|
|
163
|
+
registration_count == o.registration_count &&
|
|
164
|
+
launched_registration_count == o.launched_registration_count
|
|
145
165
|
end
|
|
146
166
|
|
|
147
167
|
# @see the `==` method
|
|
@@ -151,9 +171,9 @@ module RusticiSoftwareCloudV2
|
|
|
151
171
|
end
|
|
152
172
|
|
|
153
173
|
# Calculates hash code according to all attributes.
|
|
154
|
-
# @return [
|
|
174
|
+
# @return [Integer] Hash code
|
|
155
175
|
def hash
|
|
156
|
-
[id, course_id, allow_launch, invitation_email, create_date, updated, post_back, expiration_date, registration_count].hash
|
|
176
|
+
[id, course_id, course_title, allow_launch, invitation_email, create_date, updated, post_back, expiration_date, registration_count, launched_registration_count].hash
|
|
157
177
|
end
|
|
158
178
|
|
|
159
179
|
# Builds the object from hash
|
|
@@ -39,7 +39,7 @@ module RusticiSoftwareCloudV2
|
|
|
39
39
|
def self.swagger_types
|
|
40
40
|
{
|
|
41
41
|
:'allow_launch' => :'BOOLEAN',
|
|
42
|
-
:'invitation_email' => :'
|
|
42
|
+
:'invitation_email' => :'InvitationEmailUpdateSchema',
|
|
43
43
|
:'post_back' => :'PostBackSchema',
|
|
44
44
|
:'expiration_date' => :'DateTime'
|
|
45
45
|
}
|
|
@@ -102,7 +102,7 @@ module RusticiSoftwareCloudV2
|
|
|
102
102
|
end
|
|
103
103
|
|
|
104
104
|
# Calculates hash code according to all attributes.
|
|
105
|
-
# @return [
|
|
105
|
+
# @return [Integer] Hash code
|
|
106
106
|
def hash
|
|
107
107
|
[allow_launch, invitation_email, post_back, expiration_date].hash
|
|
108
108
|
end
|
|
@@ -20,11 +20,12 @@ module RusticiSoftwareCloudV2
|
|
|
20
20
|
# Course Id for this Invitation.
|
|
21
21
|
attr_accessor :course_id
|
|
22
22
|
|
|
23
|
+
# Title of the course associated with this invitation.
|
|
24
|
+
attr_accessor :course_title
|
|
25
|
+
|
|
23
26
|
# Determines if learners are allowed to launch the invitation. If false, the invitation is disabled and no new or existing learners are allowed to launch it.
|
|
24
27
|
attr_accessor :allow_launch
|
|
25
28
|
|
|
26
|
-
attr_accessor :invitation_email
|
|
27
|
-
|
|
28
29
|
# Determines if new registrations can be created for this public invitation. If false, no new registrations can be created for the invitation, so only learners with existing registrations can access the invitation.
|
|
29
30
|
attr_accessor :allow_new_registrations
|
|
30
31
|
|
|
@@ -53,8 +54,8 @@ module RusticiSoftwareCloudV2
|
|
|
53
54
|
{
|
|
54
55
|
:'id' => :'id',
|
|
55
56
|
:'course_id' => :'courseId',
|
|
57
|
+
:'course_title' => :'courseTitle',
|
|
56
58
|
:'allow_launch' => :'allowLaunch',
|
|
57
|
-
:'invitation_email' => :'invitationEmail',
|
|
58
59
|
:'allow_new_registrations' => :'allowNewRegistrations',
|
|
59
60
|
:'url' => :'url',
|
|
60
61
|
:'create_date' => :'createDate',
|
|
@@ -71,8 +72,8 @@ module RusticiSoftwareCloudV2
|
|
|
71
72
|
{
|
|
72
73
|
:'id' => :'String',
|
|
73
74
|
:'course_id' => :'String',
|
|
75
|
+
:'course_title' => :'String',
|
|
74
76
|
:'allow_launch' => :'BOOLEAN',
|
|
75
|
-
:'invitation_email' => :'InvitationEmailSchema',
|
|
76
77
|
:'allow_new_registrations' => :'BOOLEAN',
|
|
77
78
|
:'url' => :'String',
|
|
78
79
|
:'create_date' => :'DateTime',
|
|
@@ -100,12 +101,12 @@ module RusticiSoftwareCloudV2
|
|
|
100
101
|
self.course_id = attributes[:'courseId']
|
|
101
102
|
end
|
|
102
103
|
|
|
103
|
-
if attributes.has_key?(:'
|
|
104
|
-
self.
|
|
104
|
+
if attributes.has_key?(:'courseTitle')
|
|
105
|
+
self.course_title = attributes[:'courseTitle']
|
|
105
106
|
end
|
|
106
107
|
|
|
107
|
-
if attributes.has_key?(:'
|
|
108
|
-
self.
|
|
108
|
+
if attributes.has_key?(:'allowLaunch')
|
|
109
|
+
self.allow_launch = attributes[:'allowLaunch']
|
|
109
110
|
end
|
|
110
111
|
|
|
111
112
|
if attributes.has_key?(:'allowNewRegistrations')
|
|
@@ -134,8 +135,6 @@ module RusticiSoftwareCloudV2
|
|
|
134
135
|
|
|
135
136
|
if attributes.has_key?(:'registrationCap')
|
|
136
137
|
self.registration_cap = attributes[:'registrationCap']
|
|
137
|
-
else
|
|
138
|
-
self.registration_cap = 0
|
|
139
138
|
end
|
|
140
139
|
|
|
141
140
|
if attributes.has_key?(:'registrationCount')
|
|
@@ -164,8 +163,8 @@ module RusticiSoftwareCloudV2
|
|
|
164
163
|
self.class == o.class &&
|
|
165
164
|
id == o.id &&
|
|
166
165
|
course_id == o.course_id &&
|
|
166
|
+
course_title == o.course_title &&
|
|
167
167
|
allow_launch == o.allow_launch &&
|
|
168
|
-
invitation_email == o.invitation_email &&
|
|
169
168
|
allow_new_registrations == o.allow_new_registrations &&
|
|
170
169
|
url == o.url &&
|
|
171
170
|
create_date == o.create_date &&
|
|
@@ -183,9 +182,9 @@ module RusticiSoftwareCloudV2
|
|
|
183
182
|
end
|
|
184
183
|
|
|
185
184
|
# Calculates hash code according to all attributes.
|
|
186
|
-
# @return [
|
|
185
|
+
# @return [Integer] Hash code
|
|
187
186
|
def hash
|
|
188
|
-
[id, course_id,
|
|
187
|
+
[id, course_id, course_title, allow_launch, allow_new_registrations, url, create_date, updated, post_back, expiration_date, registration_cap, registration_count].hash
|
|
189
188
|
end
|
|
190
189
|
|
|
191
190
|
# Builds the object from hash
|
|
@@ -77,8 +77,6 @@ module RusticiSoftwareCloudV2
|
|
|
77
77
|
|
|
78
78
|
if attributes.has_key?(:'registrationCap')
|
|
79
79
|
self.registration_cap = attributes[:'registrationCap']
|
|
80
|
-
else
|
|
81
|
-
self.registration_cap = 0
|
|
82
80
|
end
|
|
83
81
|
end
|
|
84
82
|
|
|
@@ -115,7 +113,7 @@ module RusticiSoftwareCloudV2
|
|
|
115
113
|
end
|
|
116
114
|
|
|
117
115
|
# Calculates hash code according to all attributes.
|
|
118
|
-
# @return [
|
|
116
|
+
# @return [Integer] Hash code
|
|
119
117
|
def hash
|
|
120
118
|
[allow_launch, allow_new_registrations, post_back, expiration_date, registration_cap].hash
|
|
121
119
|
end
|
|
@@ -260,7 +260,7 @@ module RusticiSoftwareCloudV2
|
|
|
260
260
|
end
|
|
261
261
|
|
|
262
262
|
# Calculates hash code according to all attributes.
|
|
263
|
-
# @return [
|
|
263
|
+
# @return [Integer] Hash code
|
|
264
264
|
def hash
|
|
265
265
|
[id, instance, xapi_registration_id, dispatch_id, updated, registration_completion, registration_completion_amount, registration_success, score, total_seconds_tracked, first_access_date, last_access_date, completed_date, created_date, course, learner, tags, global_objectives, shared_data, suspended_activity_id, activity_details].hash
|
|
266
266
|
end
|
|
@@ -144,7 +144,7 @@ module RusticiSoftwareCloudV2
|
|
|
144
144
|
end
|
|
145
145
|
|
|
146
146
|
# Calculates hash code according to all attributes.
|
|
147
|
-
# @return [
|
|
147
|
+
# @return [Integer] Hash code
|
|
148
148
|
def hash
|
|
149
149
|
[email, first_name, last_name, company, account_type, reg_limit, strict_limit, create_date, usage].hash
|
|
150
150
|
end
|