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
|
@@ -20,7 +20,10 @@ module RusticiSoftwareCloudV2
|
|
|
20
20
|
# Course Id for this Invitation.
|
|
21
21
|
attr_accessor :course_id
|
|
22
22
|
|
|
23
|
-
#
|
|
23
|
+
# Title of the course associated with this invitation.
|
|
24
|
+
attr_accessor :course_title
|
|
25
|
+
|
|
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
29
|
attr_accessor :invitation_email
|
|
@@ -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
|
|
@@ -14,7 +14,7 @@ require 'date'
|
|
|
14
14
|
|
|
15
15
|
module RusticiSoftwareCloudV2
|
|
16
16
|
class PrivateInvitationUpdateSchema
|
|
17
|
-
# If
|
|
17
|
+
# 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.
|
|
18
18
|
attr_accessor :allow_launch
|
|
19
19
|
|
|
20
20
|
attr_accessor :invitation_email
|
|
@@ -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,12 +20,13 @@ module RusticiSoftwareCloudV2
|
|
|
20
20
|
# Course Id for this Invitation.
|
|
21
21
|
attr_accessor :course_id
|
|
22
22
|
|
|
23
|
-
#
|
|
24
|
-
attr_accessor :
|
|
23
|
+
# Title of the course associated with this invitation.
|
|
24
|
+
attr_accessor :course_title
|
|
25
25
|
|
|
26
|
-
|
|
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.
|
|
27
|
+
attr_accessor :allow_launch
|
|
27
28
|
|
|
28
|
-
# If
|
|
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
|
|
|
31
32
|
# The launch URL for the invitation
|
|
@@ -42,7 +43,7 @@ module RusticiSoftwareCloudV2
|
|
|
42
43
|
# The ISO 8601 TimeStamp (defaults to UTC) after which this invitation will expire and can no longer be launched. An empty value will represent no expiration date.
|
|
43
44
|
attr_accessor :expiration_date
|
|
44
45
|
|
|
45
|
-
# Integer value that
|
|
46
|
+
# 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.
|
|
46
47
|
attr_accessor :registration_cap
|
|
47
48
|
|
|
48
49
|
# The count of registrations for this invitation
|
|
@@ -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
|
|
@@ -14,10 +14,10 @@ require 'date'
|
|
|
14
14
|
|
|
15
15
|
module RusticiSoftwareCloudV2
|
|
16
16
|
class PublicInvitationUpdateSchema
|
|
17
|
-
# If
|
|
17
|
+
# 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.
|
|
18
18
|
attr_accessor :allow_launch
|
|
19
19
|
|
|
20
|
-
# If
|
|
20
|
+
# 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.
|
|
21
21
|
attr_accessor :allow_new_registrations
|
|
22
22
|
|
|
23
23
|
# Specifies a URL for which to post activity and status data in real time as the course is completed
|
|
@@ -26,7 +26,7 @@ module RusticiSoftwareCloudV2
|
|
|
26
26
|
# The ISO 8601 TimeStamp (defaults to UTC) after which this invitation will expire and can no longer be launched. An empty value will represent no expiration date.
|
|
27
27
|
attr_accessor :expiration_date
|
|
28
28
|
|
|
29
|
-
# Integer value that
|
|
29
|
+
# 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.
|
|
30
30
|
attr_accessor :registration_cap
|
|
31
31
|
|
|
32
32
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
@@ -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
|
|
@@ -174,7 +174,7 @@ module RusticiSoftwareCloudV2
|
|
|
174
174
|
end
|
|
175
175
|
|
|
176
176
|
# Calculates hash code according to all attributes.
|
|
177
|
-
# @return [
|
|
177
|
+
# @return [Integer] Hash code
|
|
178
178
|
def hash
|
|
179
179
|
[id, type, objectives, timestamp, timestamp_utc, correct_responses, weighting, learner_response, result, latency, description].hash
|
|
180
180
|
end
|
|
@@ -164,7 +164,7 @@ module RusticiSoftwareCloudV2
|
|
|
164
164
|
end
|
|
165
165
|
|
|
166
166
|
# Calculates hash code according to all attributes.
|
|
167
|
-
# @return [
|
|
167
|
+
# @return [Integer] Hash code
|
|
168
168
|
def hash
|
|
169
169
|
[id, score_scaled, score_min, score_max, score_raw, runtime_objective_success_status, runtime_objective_completion_status, progress_measure, description].hash
|
|
170
170
|
end
|
|
@@ -261,7 +261,7 @@ module RusticiSoftwareCloudV2
|
|
|
261
261
|
end
|
|
262
262
|
|
|
263
263
|
# Calculates hash code according to all attributes.
|
|
264
|
-
# @return [
|
|
264
|
+
# @return [Integer] Hash code
|
|
265
265
|
def hash
|
|
266
266
|
[completion_status, credit, entry, exit, learner_preference, location, mode, progress_measure, score_scaled, score_raw, score_min, score_max, total_time, time_tracked, runtime_success_status, suspend_data, learner_comments, lms_comments, runtime_interactions, runtime_objectives].hash
|
|
267
267
|
end
|
|
@@ -119,7 +119,7 @@ module RusticiSoftwareCloudV2
|
|
|
119
119
|
end
|
|
120
120
|
|
|
121
121
|
# Calculates hash code according to all attributes.
|
|
122
|
-
# @return [
|
|
122
|
+
# @return [Integer] Hash code
|
|
123
123
|
def hash
|
|
124
124
|
[id, effective_value, effective_value_source, explicit_value, metadata].hash
|
|
125
125
|
end
|
|
@@ -157,7 +157,7 @@ module RusticiSoftwareCloudV2
|
|
|
157
157
|
end
|
|
158
158
|
|
|
159
159
|
# Calculates hash code according to all attributes.
|
|
160
|
-
# @return [
|
|
160
|
+
# @return [Integer] Hash code
|
|
161
161
|
def hash
|
|
162
162
|
[default, data_type, setting_description, level, learning_standards, learning_standard_variant, fallback, valid_values].hash
|
|
163
163
|
end
|
|
@@ -117,7 +117,7 @@ module RusticiSoftwareCloudV2
|
|
|
117
117
|
end
|
|
118
118
|
|
|
119
119
|
# Calculates hash code according to all attributes.
|
|
120
|
-
# @return [
|
|
120
|
+
# @return [Integer] Hash code
|
|
121
121
|
def hash
|
|
122
122
|
[completion_threshold, launch_data, max_time_allowed, scaled_passing_score, scaled_passing_score_used, time_limit_action].hash
|
|
123
123
|
end
|
|
@@ -153,7 +153,7 @@ module RusticiSoftwareCloudV2
|
|
|
153
153
|
end
|
|
154
154
|
|
|
155
155
|
# Calculates hash code according to all attributes.
|
|
156
|
-
# @return [
|
|
156
|
+
# @return [Integer] Hash code
|
|
157
157
|
def hash
|
|
158
158
|
[allow_new_registrations, instanced, registration_cap, registration_count, expiration_date, enabled, email, notes, post_back].hash
|
|
159
159
|
end
|
|
@@ -121,7 +121,7 @@ module RusticiSoftwareCloudV2
|
|
|
121
121
|
end
|
|
122
122
|
|
|
123
123
|
# Calculates hash code according to all attributes.
|
|
124
|
-
# @return [
|
|
124
|
+
# @return [Integer] Hash code
|
|
125
125
|
def hash
|
|
126
126
|
[email, url, is_started, updated, registration_id, registration_report].hash
|
|
127
127
|
end
|
|
@@ -190,7 +190,7 @@ module RusticiSoftwareCloudV2
|
|
|
190
190
|
end
|
|
191
191
|
|
|
192
192
|
# Calculates hash code according to all attributes.
|
|
193
|
-
# @return [
|
|
193
|
+
# @return [Integer] Hash code
|
|
194
194
|
def hash
|
|
195
195
|
[name, description, type, more_info, interaction_type, correct_responses_pattern, choices, scale, source, target, steps, extensions].hash
|
|
196
196
|
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
|
[object_type, name, mbox, mbox_sha1sum, openid, account, member].hash
|
|
148
148
|
end
|
|
@@ -156,7 +156,7 @@ module RusticiSoftwareCloudV2
|
|
|
156
156
|
end
|
|
157
157
|
|
|
158
158
|
# Calculates hash code according to all attributes.
|
|
159
|
-
# @return [
|
|
159
|
+
# @return [Integer] Hash code
|
|
160
160
|
def hash
|
|
161
161
|
[usage_type, display, description, content_type, length, sha2, file_url].hash
|
|
162
162
|
end
|
|
@@ -147,7 +147,7 @@ module RusticiSoftwareCloudV2
|
|
|
147
147
|
end
|
|
148
148
|
|
|
149
149
|
# Calculates hash code according to all attributes.
|
|
150
|
-
# @return [
|
|
150
|
+
# @return [Integer] Hash code
|
|
151
151
|
def hash
|
|
152
152
|
[registration, instructor, team, context_activities, revision, platform, language, statement, extensions].hash
|
|
153
153
|
end
|