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.
Files changed (158) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +8 -5
  3. data/lib/rustici_software_cloud_v2/api/about_api.rb +1 -1
  4. data/lib/rustici_software_cloud_v2/api/application_management_api.rb +19 -19
  5. data/lib/rustici_software_cloud_v2/api/authentication_api.rb +2 -2
  6. data/lib/rustici_software_cloud_v2/api/content_connectors_api.rb +4 -4
  7. data/lib/rustici_software_cloud_v2/api/course_api.rb +46 -37
  8. data/lib/rustici_software_cloud_v2/api/dispatch_api.rb +59 -47
  9. data/lib/rustici_software_cloud_v2/api/invitations_api.rb +28 -22
  10. data/lib/rustici_software_cloud_v2/api/learner_api.rb +6 -6
  11. data/lib/rustici_software_cloud_v2/api/ping_api.rb +1 -1
  12. data/lib/rustici_software_cloud_v2/api/registration_api.rb +27 -27
  13. data/lib/rustici_software_cloud_v2/api/reporting_api.rb +3 -3
  14. data/lib/rustici_software_cloud_v2/api/xapi_api.rb +10 -10
  15. data/lib/rustici_software_cloud_v2/api_client.rb +2 -2
  16. data/lib/rustici_software_cloud_v2/models/about_schema.rb +1 -1
  17. data/lib/rustici_software_cloud_v2/models/activity_result_schema.rb +1 -1
  18. data/lib/rustici_software_cloud_v2/models/application_info_list_schema.rb +1 -1
  19. data/lib/rustici_software_cloud_v2/models/application_info_schema.rb +1 -1
  20. data/lib/rustici_software_cloud_v2/models/application_list_schema.rb +1 -1
  21. data/lib/rustici_software_cloud_v2/models/application_request_schema.rb +1 -1
  22. data/lib/rustici_software_cloud_v2/models/application_schema.rb +1 -1
  23. data/lib/rustici_software_cloud_v2/models/application_token.rb +1 -1
  24. data/lib/rustici_software_cloud_v2/models/asset_file_schema.rb +1 -1
  25. data/lib/rustici_software_cloud_v2/models/batch_tags_schema.rb +1 -1
  26. data/lib/rustici_software_cloud_v2/models/comment_schema.rb +1 -1
  27. data/lib/rustici_software_cloud_v2/models/completion_amount_schema.rb +1 -1
  28. data/lib/rustici_software_cloud_v2/models/connector_list_schema.rb +1 -1
  29. data/lib/rustici_software_cloud_v2/models/connector_schema.rb +1 -1
  30. data/lib/rustici_software_cloud_v2/models/course_activity_schema.rb +1 -1
  31. data/lib/rustici_software_cloud_v2/models/course_list_non_paged_schema.rb +1 -1
  32. data/lib/rustici_software_cloud_v2/models/course_list_schema.rb +1 -1
  33. data/lib/rustici_software_cloud_v2/models/course_reference_schema.rb +1 -1
  34. data/lib/rustici_software_cloud_v2/models/course_schema.rb +1 -1
  35. data/lib/rustici_software_cloud_v2/models/create_connector_schema.rb +1 -1
  36. data/lib/rustici_software_cloud_v2/models/create_dispatch_id_schema.rb +1 -1
  37. data/lib/rustici_software_cloud_v2/models/create_dispatch_list_schema.rb +1 -1
  38. data/lib/rustici_software_cloud_v2/models/create_dispatch_schema.rb +1 -1
  39. data/lib/rustici_software_cloud_v2/models/create_private_invitation_schema.rb +25 -5
  40. data/lib/rustici_software_cloud_v2/models/create_public_invitation_schema.rb +2 -2
  41. data/lib/rustici_software_cloud_v2/models/create_registration_schema.rb +1 -1
  42. data/lib/rustici_software_cloud_v2/models/credential_list_schema.rb +1 -1
  43. data/lib/rustici_software_cloud_v2/models/credential_request_schema.rb +1 -1
  44. data/lib/rustici_software_cloud_v2/models/credential_schema.rb +25 -5
  45. data/lib/rustici_software_cloud_v2/models/destination_id_schema.rb +1 -1
  46. data/lib/rustici_software_cloud_v2/models/{zoomi_company_id.rb → destination_info_id_schema.rb} +19 -9
  47. data/lib/rustici_software_cloud_v2/models/{zoomi_course_options_schema.rb → destination_info_list_schema.rb} +19 -25
  48. data/lib/rustici_software_cloud_v2/models/destination_info_schema.rb +263 -0
  49. data/lib/rustici_software_cloud_v2/models/destination_list_schema.rb +5 -15
  50. data/lib/rustici_software_cloud_v2/models/destination_schema.rb +1 -1
  51. data/lib/rustici_software_cloud_v2/models/dispatch_id_schema.rb +1 -1
  52. data/lib/rustici_software_cloud_v2/models/dispatch_list_schema.rb +1 -1
  53. data/lib/rustici_software_cloud_v2/models/dispatch_lti13_info_schema.rb +1 -1
  54. data/lib/rustici_software_cloud_v2/models/dispatch_lti_info_schema.rb +1 -1
  55. data/lib/rustici_software_cloud_v2/models/dispatch_registration_count_schema.rb +2 -1
  56. data/lib/rustici_software_cloud_v2/models/dispatch_schema.rb +12 -2
  57. data/lib/rustici_software_cloud_v2/models/enabled_schema.rb +1 -1
  58. data/lib/rustici_software_cloud_v2/models/file_list_item_schema.rb +1 -1
  59. data/lib/rustici_software_cloud_v2/models/file_list_schema.rb +1 -1
  60. data/lib/rustici_software_cloud_v2/models/import_asset_request_schema.rb +1 -1
  61. data/lib/rustici_software_cloud_v2/models/import_connector_request_schema.rb +1 -1
  62. data/lib/rustici_software_cloud_v2/models/import_fetch_request_schema.rb +1 -1
  63. data/lib/rustici_software_cloud_v2/models/import_job_result_schema.rb +1 -1
  64. data/lib/rustici_software_cloud_v2/models/import_media_file_reference_request_schema.rb +1 -1
  65. data/lib/rustici_software_cloud_v2/models/import_request_schema.rb +1 -1
  66. data/lib/rustici_software_cloud_v2/models/import_result_schema.rb +1 -1
  67. data/lib/rustici_software_cloud_v2/models/integer_result_schema.rb +1 -1
  68. data/lib/rustici_software_cloud_v2/models/invitation_email_schema.rb +1 -1
  69. data/lib/rustici_software_cloud_v2/models/{credential_created_schema.rb → invitation_email_update_schema.rb} +17 -46
  70. data/lib/rustici_software_cloud_v2/models/invitation_job_status_schema.rb +1 -1
  71. data/lib/rustici_software_cloud_v2/models/invitation_summary_list.rb +1 -1
  72. data/lib/rustici_software_cloud_v2/models/invitation_summary_schema.rb +1 -1
  73. data/lib/rustici_software_cloud_v2/models/item_value_pair_schema.rb +1 -1
  74. data/lib/rustici_software_cloud_v2/models/launch_auth_options_schema.rb +1 -1
  75. data/lib/rustici_software_cloud_v2/models/launch_auth_schema.rb +1 -1
  76. data/lib/rustici_software_cloud_v2/models/launch_history_list_schema.rb +1 -1
  77. data/lib/rustici_software_cloud_v2/models/launch_history_schema.rb +16 -5
  78. data/lib/rustici_software_cloud_v2/models/launch_link_request_schema.rb +1 -1
  79. data/lib/rustici_software_cloud_v2/models/launch_link_schema.rb +1 -1
  80. data/lib/rustici_software_cloud_v2/models/learner_preference_schema.rb +1 -1
  81. data/lib/rustici_software_cloud_v2/models/learner_schema.rb +1 -1
  82. data/lib/rustici_software_cloud_v2/models/lti13_platform_configuration_schema.rb +1 -1
  83. data/lib/rustici_software_cloud_v2/models/lti13_tool_configuration_schema.rb +1 -1
  84. data/lib/rustici_software_cloud_v2/models/media_file_metadata_schema.rb +1 -1
  85. data/lib/rustici_software_cloud_v2/models/message_schema.rb +1 -1
  86. data/lib/rustici_software_cloud_v2/models/metadata_schema.rb +1 -1
  87. data/lib/rustici_software_cloud_v2/models/objective_schema.rb +1 -1
  88. data/lib/rustici_software_cloud_v2/models/paginated_list.rb +1 -1
  89. data/lib/rustici_software_cloud_v2/models/permissions_schema.rb +1 -1
  90. data/lib/rustici_software_cloud_v2/models/ping_schema.rb +1 -1
  91. data/lib/rustici_software_cloud_v2/models/post_back_schema.rb +1 -1
  92. data/lib/rustici_software_cloud_v2/models/preview_launch_link_request_schema.rb +239 -0
  93. data/lib/rustici_software_cloud_v2/models/private_invitation_list.rb +1 -1
  94. data/lib/rustici_software_cloud_v2/models/private_invitation_schema.rb +26 -6
  95. data/lib/rustici_software_cloud_v2/models/private_invitation_update_schema.rb +3 -3
  96. data/lib/rustici_software_cloud_v2/models/public_invitation_list.rb +1 -1
  97. data/lib/rustici_software_cloud_v2/models/public_invitation_schema.rb +15 -16
  98. data/lib/rustici_software_cloud_v2/models/public_invitation_update_schema.rb +4 -6
  99. data/lib/rustici_software_cloud_v2/models/registration_list_schema.rb +1 -1
  100. data/lib/rustici_software_cloud_v2/models/registration_schema.rb +1 -1
  101. data/lib/rustici_software_cloud_v2/models/reportage_account_info_schema.rb +1 -1
  102. data/lib/rustici_software_cloud_v2/models/reportage_account_info_usage_schema.rb +1 -1
  103. data/lib/rustici_software_cloud_v2/models/reportage_auth_token_schema.rb +1 -1
  104. data/lib/rustici_software_cloud_v2/models/reportage_link_schema.rb +1 -1
  105. data/lib/rustici_software_cloud_v2/models/response_error.rb +1 -1
  106. data/lib/rustici_software_cloud_v2/models/runtime_interaction_schema.rb +1 -1
  107. data/lib/rustici_software_cloud_v2/models/runtime_objective_schema.rb +1 -1
  108. data/lib/rustici_software_cloud_v2/models/runtime_schema.rb +1 -1
  109. data/lib/rustici_software_cloud_v2/models/score_schema.rb +1 -1
  110. data/lib/rustici_software_cloud_v2/models/setting_item.rb +1 -1
  111. data/lib/rustici_software_cloud_v2/models/setting_list_schema.rb +1 -1
  112. data/lib/rustici_software_cloud_v2/models/setting_metadata.rb +1 -1
  113. data/lib/rustici_software_cloud_v2/models/setting_valid_value.rb +1 -1
  114. data/lib/rustici_software_cloud_v2/models/settings_individual_schema.rb +1 -1
  115. data/lib/rustici_software_cloud_v2/models/settings_post_schema.rb +1 -1
  116. data/lib/rustici_software_cloud_v2/models/shared_data_entry_schema.rb +1 -1
  117. data/lib/rustici_software_cloud_v2/models/static_properties_schema.rb +1 -1
  118. data/lib/rustici_software_cloud_v2/models/string_result_schema.rb +1 -1
  119. data/lib/rustici_software_cloud_v2/models/tag_list_schema.rb +1 -1
  120. data/lib/rustici_software_cloud_v2/models/title_schema.rb +1 -1
  121. data/lib/rustici_software_cloud_v2/models/token_request_schema.rb +1 -1
  122. data/lib/rustici_software_cloud_v2/models/update_application_schema.rb +1 -1
  123. data/lib/rustici_software_cloud_v2/models/update_connector_schema.rb +1 -1
  124. data/lib/rustici_software_cloud_v2/models/update_dispatch_schema.rb +1 -1
  125. data/lib/rustici_software_cloud_v2/models/user_invitation_list.rb +1 -1
  126. data/lib/rustici_software_cloud_v2/models/user_invitation_schema.rb +1 -1
  127. data/lib/rustici_software_cloud_v2/models/user_invitation_schema_registration_report.rb +1 -1
  128. data/lib/rustici_software_cloud_v2/models/xapi_account.rb +1 -1
  129. data/lib/rustici_software_cloud_v2/models/xapi_activity.rb +1 -1
  130. data/lib/rustici_software_cloud_v2/models/xapi_activity_definition.rb +1 -1
  131. data/lib/rustici_software_cloud_v2/models/xapi_agent_group.rb +1 -1
  132. data/lib/rustici_software_cloud_v2/models/xapi_attachment.rb +1 -1
  133. data/lib/rustici_software_cloud_v2/models/xapi_context.rb +1 -1
  134. data/lib/rustici_software_cloud_v2/models/xapi_context_activity.rb +1 -1
  135. data/lib/rustici_software_cloud_v2/models/xapi_credential_auth_type_schema.rb +1 -1
  136. data/lib/rustici_software_cloud_v2/models/xapi_credential_permissions_level_schema.rb +1 -1
  137. data/lib/rustici_software_cloud_v2/models/xapi_credential_post_schema.rb +1 -1
  138. data/lib/rustici_software_cloud_v2/models/xapi_credential_put_schema.rb +1 -1
  139. data/lib/rustici_software_cloud_v2/models/xapi_credential_schema.rb +1 -1
  140. data/lib/rustici_software_cloud_v2/models/xapi_credentials_list_schema.rb +1 -1
  141. data/lib/rustici_software_cloud_v2/models/xapi_endpoint_schema.rb +1 -1
  142. data/lib/rustici_software_cloud_v2/models/xapi_interaction_component.rb +1 -1
  143. data/lib/rustici_software_cloud_v2/models/xapi_result.rb +1 -1
  144. data/lib/rustici_software_cloud_v2/models/xapi_score.rb +1 -1
  145. data/lib/rustici_software_cloud_v2/models/xapi_statement.rb +1 -1
  146. data/lib/rustici_software_cloud_v2/models/xapi_statement_pipe_list_schema.rb +1 -1
  147. data/lib/rustici_software_cloud_v2/models/xapi_statement_pipe_post_schema.rb +1 -1
  148. data/lib/rustici_software_cloud_v2/models/xapi_statement_pipe_put_schema.rb +1 -1
  149. data/lib/rustici_software_cloud_v2/models/xapi_statement_pipe_schema.rb +1 -1
  150. data/lib/rustici_software_cloud_v2/models/xapi_statement_reference.rb +1 -1
  151. data/lib/rustici_software_cloud_v2/models/xapi_statement_result.rb +1 -1
  152. data/lib/rustici_software_cloud_v2/models/xapi_verb.rb +1 -1
  153. data/lib/rustici_software_cloud_v2/version.rb +1 -1
  154. data/lib/rustici_software_cloud_v2.rb +5 -4
  155. data/rustici_software_cloud_v2.gemspec +9 -13
  156. data/spec/api_client_spec.rb +1 -1
  157. metadata +33 -121
  158. 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
- # If true, then new registrations can be created for this invitation.
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 [Fixnum] Hash code
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 true, then new registrations can be created for this invitation.
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' => :'InvitationEmailSchema',
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 [Fixnum] Hash code
105
+ # @return [Integer] Hash code
106
106
  def hash
107
107
  [allow_launch, invitation_email, post_back, expiration_date].hash
108
108
  end
@@ -81,7 +81,7 @@ module RusticiSoftwareCloudV2
81
81
  end
82
82
 
83
83
  # Calculates hash code according to all attributes.
84
- # @return [Fixnum] Hash code
84
+ # @return [Integer] Hash code
85
85
  def hash
86
86
  [invitations].hash
87
87
  end
@@ -20,12 +20,13 @@ module RusticiSoftwareCloudV2
20
20
  # Course Id for this Invitation.
21
21
  attr_accessor :course_id
22
22
 
23
- # If true, then new registrations can be created for this invitation.
24
- attr_accessor :allow_launch
23
+ # Title of the course associated with this invitation.
24
+ attr_accessor :course_title
25
25
 
26
- attr_accessor :invitation_email
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 true, then new registrations can be created for this invitation.
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 limits the amount of registrations a public invitation can generate.
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?(:'allowLaunch')
104
- self.allow_launch = attributes[:'allowLaunch']
104
+ if attributes.has_key?(:'courseTitle')
105
+ self.course_title = attributes[:'courseTitle']
105
106
  end
106
107
 
107
- if attributes.has_key?(:'invitationEmail')
108
- self.invitation_email = attributes[:'invitationEmail']
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 [Fixnum] Hash code
185
+ # @return [Integer] Hash code
187
186
  def hash
188
- [id, course_id, allow_launch, invitation_email, allow_new_registrations, url, create_date, updated, post_back, expiration_date, registration_cap, registration_count].hash
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 true, then new registrations can be created for this invitation.
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 true, then new registrations can be created for this invitation.
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 limits the amount of registrations a public invitation can generate.
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 [Fixnum] Hash code
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
@@ -89,7 +89,7 @@ module RusticiSoftwareCloudV2
89
89
  end
90
90
 
91
91
  # Calculates hash code according to all attributes.
92
- # @return [Fixnum] Hash code
92
+ # @return [Integer] Hash code
93
93
  def hash
94
94
  [registrations, more].hash
95
95
  end
@@ -260,7 +260,7 @@ module RusticiSoftwareCloudV2
260
260
  end
261
261
 
262
262
  # Calculates hash code according to all attributes.
263
- # @return [Fixnum] Hash code
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 [Fixnum] Hash code
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
@@ -99,7 +99,7 @@ module RusticiSoftwareCloudV2
99
99
  end
100
100
 
101
101
  # Calculates hash code according to all attributes.
102
- # @return [Fixnum] Hash code
102
+ # @return [Integer] Hash code
103
103
  def hash
104
104
  [month_start, reg_count, total_registrations, total_courses].hash
105
105
  end
@@ -81,7 +81,7 @@ module RusticiSoftwareCloudV2
81
81
  end
82
82
 
83
83
  # Calculates hash code according to all attributes.
84
- # @return [Fixnum] Hash code
84
+ # @return [Integer] Hash code
85
85
  def hash
86
86
  [auth_enabled, query_string].hash
87
87
  end
@@ -72,7 +72,7 @@ module RusticiSoftwareCloudV2
72
72
  end
73
73
 
74
74
  # Calculates hash code according to all attributes.
75
- # @return [Fixnum] Hash code
75
+ # @return [Integer] Hash code
76
76
  def hash
77
77
  [reportage_link].hash
78
78
  end
@@ -77,7 +77,7 @@ module RusticiSoftwareCloudV2
77
77
  end
78
78
 
79
79
  # Calculates hash code according to all attributes.
80
- # @return [Fixnum] Hash code
80
+ # @return [Integer] Hash code
81
81
  def hash
82
82
  [message].hash
83
83
  end
@@ -174,7 +174,7 @@ module RusticiSoftwareCloudV2
174
174
  end
175
175
 
176
176
  # Calculates hash code according to all attributes.
177
- # @return [Fixnum] Hash code
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 [Fixnum] Hash code
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 [Fixnum] Hash code
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
@@ -73,7 +73,7 @@ module RusticiSoftwareCloudV2
73
73
  end
74
74
 
75
75
  # Calculates hash code according to all attributes.
76
- # @return [Fixnum] Hash code
76
+ # @return [Integer] Hash code
77
77
  def hash
78
78
  [scaled].hash
79
79
  end
@@ -119,7 +119,7 @@ module RusticiSoftwareCloudV2
119
119
  end
120
120
 
121
121
  # Calculates hash code according to all attributes.
122
- # @return [Fixnum] Hash code
122
+ # @return [Integer] Hash code
123
123
  def hash
124
124
  [id, effective_value, effective_value_source, explicit_value, metadata].hash
125
125
  end
@@ -79,7 +79,7 @@ module RusticiSoftwareCloudV2
79
79
  end
80
80
 
81
81
  # Calculates hash code according to all attributes.
82
- # @return [Fixnum] Hash code
82
+ # @return [Integer] Hash code
83
83
  def hash
84
84
  [setting_items].hash
85
85
  end
@@ -157,7 +157,7 @@ module RusticiSoftwareCloudV2
157
157
  end
158
158
 
159
159
  # Calculates hash code according to all attributes.
160
- # @return [Fixnum] Hash code
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
@@ -82,7 +82,7 @@ module RusticiSoftwareCloudV2
82
82
  end
83
83
 
84
84
  # Calculates hash code according to all attributes.
85
- # @return [Fixnum] Hash code
85
+ # @return [Integer] Hash code
86
86
  def hash
87
87
  [value, value_description].hash
88
88
  end
@@ -92,7 +92,7 @@ module RusticiSoftwareCloudV2
92
92
  end
93
93
 
94
94
  # Calculates hash code according to all attributes.
95
- # @return [Fixnum] Hash code
95
+ # @return [Integer] Hash code
96
96
  def hash
97
97
  [setting_id, value, explicit].hash
98
98
  end
@@ -74,7 +74,7 @@ module RusticiSoftwareCloudV2
74
74
  end
75
75
 
76
76
  # Calculates hash code according to all attributes.
77
- # @return [Fixnum] Hash code
77
+ # @return [Integer] Hash code
78
78
  def hash
79
79
  [settings].hash
80
80
  end
@@ -81,7 +81,7 @@ module RusticiSoftwareCloudV2
81
81
  end
82
82
 
83
83
  # Calculates hash code according to all attributes.
84
- # @return [Fixnum] Hash code
84
+ # @return [Integer] Hash code
85
85
  def hash
86
86
  [id, value].hash
87
87
  end
@@ -117,7 +117,7 @@ module RusticiSoftwareCloudV2
117
117
  end
118
118
 
119
119
  # Calculates hash code according to all attributes.
120
- # @return [Fixnum] Hash code
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
@@ -77,7 +77,7 @@ module RusticiSoftwareCloudV2
77
77
  end
78
78
 
79
79
  # Calculates hash code according to all attributes.
80
- # @return [Fixnum] Hash code
80
+ # @return [Integer] Hash code
81
81
  def hash
82
82
  [result].hash
83
83
  end
@@ -74,7 +74,7 @@ module RusticiSoftwareCloudV2
74
74
  end
75
75
 
76
76
  # Calculates hash code according to all attributes.
77
- # @return [Fixnum] Hash code
77
+ # @return [Integer] Hash code
78
78
  def hash
79
79
  [tags].hash
80
80
  end
@@ -72,7 +72,7 @@ module RusticiSoftwareCloudV2
72
72
  end
73
73
 
74
74
  # Calculates hash code according to all attributes.
75
- # @return [Fixnum] Hash code
75
+ # @return [Integer] Hash code
76
76
  def hash
77
77
  [title].hash
78
78
  end
@@ -92,7 +92,7 @@ module RusticiSoftwareCloudV2
92
92
  end
93
93
 
94
94
  # Calculates hash code according to all attributes.
95
- # @return [Fixnum] Hash code
95
+ # @return [Integer] Hash code
96
96
  def hash
97
97
  [permissions, expiry].hash
98
98
  end
@@ -83,7 +83,7 @@ module RusticiSoftwareCloudV2
83
83
  end
84
84
 
85
85
  # Calculates hash code according to all attributes.
86
- # @return [Fixnum] Hash code
86
+ # @return [Integer] Hash code
87
87
  def hash
88
88
  [name, allow_delete].hash
89
89
  end
@@ -83,7 +83,7 @@ module RusticiSoftwareCloudV2
83
83
  end
84
84
 
85
85
  # Calculates hash code according to all attributes.
86
- # @return [Fixnum] Hash code
86
+ # @return [Integer] Hash code
87
87
  def hash
88
88
  [configuration, enabled].hash
89
89
  end
@@ -153,7 +153,7 @@ module RusticiSoftwareCloudV2
153
153
  end
154
154
 
155
155
  # Calculates hash code according to all attributes.
156
- # @return [Fixnum] Hash code
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
@@ -81,7 +81,7 @@ module RusticiSoftwareCloudV2
81
81
  end
82
82
 
83
83
  # Calculates hash code according to all attributes.
84
- # @return [Fixnum] Hash code
84
+ # @return [Integer] Hash code
85
85
  def hash
86
86
  [user_invitations].hash
87
87
  end
@@ -121,7 +121,7 @@ module RusticiSoftwareCloudV2
121
121
  end
122
122
 
123
123
  # Calculates hash code according to all attributes.
124
- # @return [Fixnum] Hash code
124
+ # @return [Integer] Hash code
125
125
  def hash
126
126
  [email, url, is_started, updated, registration_id, registration_report].hash
127
127
  end
@@ -100,7 +100,7 @@ module RusticiSoftwareCloudV2
100
100
  end
101
101
 
102
102
  # Calculates hash code according to all attributes.
103
- # @return [Fixnum] Hash code
103
+ # @return [Integer] Hash code
104
104
  def hash
105
105
  [complete, success, total_seconds_tracked, score].hash
106
106
  end
@@ -92,7 +92,7 @@ module RusticiSoftwareCloudV2
92
92
  end
93
93
 
94
94
  # Calculates hash code according to all attributes.
95
- # @return [Fixnum] Hash code
95
+ # @return [Integer] Hash code
96
96
  def hash
97
97
  [home_page, name].hash
98
98
  end
@@ -98,7 +98,7 @@ module RusticiSoftwareCloudV2
98
98
  end
99
99
 
100
100
  # Calculates hash code according to all attributes.
101
- # @return [Fixnum] Hash code
101
+ # @return [Integer] Hash code
102
102
  def hash
103
103
  [object_type, id, definition].hash
104
104
  end
@@ -190,7 +190,7 @@ module RusticiSoftwareCloudV2
190
190
  end
191
191
 
192
192
  # Calculates hash code according to all attributes.
193
- # @return [Fixnum] Hash code
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 [Fixnum] Hash code
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 [Fixnum] Hash code
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 [Fixnum] Hash code
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
@@ -108,7 +108,7 @@ module RusticiSoftwareCloudV2
108
108
  end
109
109
 
110
110
  # Calculates hash code according to all attributes.
111
- # @return [Fixnum] Hash code
111
+ # @return [Integer] Hash code
112
112
  def hash
113
113
  [parent, grouping, category, other].hash
114
114
  end