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
@@ -35,7 +35,7 @@ module RusticiSoftwareCloudV2
35
35
  # Creates an xAPI statement pipe. >**Note:** >This method is asynchronous. A returned success status indicates a background process has been started, but there will still be a delay before the creation of the xAPI statement pipe takes place.
36
36
  # @param xapi_statement_pipe
37
37
  # @param [Hash] opts the optional parameters
38
- # @return [Array<(StringResultSchema, Fixnum, Hash)>] StringResultSchema data, response status code and response headers
38
+ # @return [Array<(StringResultSchema, Integer, Hash)>] StringResultSchema data, response status code and response headers
39
39
  def create_statement_pipe_with_http_info(xapi_statement_pipe, opts = {})
40
40
  if @api_client.config.debugging
41
41
  @api_client.config.logger.debug 'Calling API: XapiApi.create_statement_pipe ...'
@@ -90,7 +90,7 @@ module RusticiSoftwareCloudV2
90
90
  # Creates an xAPI credential combination from the provided secret and a generated ID.
91
91
  # @param xapi_credential
92
92
  # @param [Hash] opts the optional parameters
93
- # @return [Array<(StringResultSchema, Fixnum, Hash)>] StringResultSchema data, response status code and response headers
93
+ # @return [Array<(StringResultSchema, Integer, Hash)>] StringResultSchema data, response status code and response headers
94
94
  def create_xapi_credential_with_http_info(xapi_credential, opts = {})
95
95
  if @api_client.config.debugging
96
96
  @api_client.config.logger.debug 'Calling API: XapiApi.create_xapi_credential ...'
@@ -145,7 +145,7 @@ module RusticiSoftwareCloudV2
145
145
  # Deletes the specified xAPI statement pipe &gt;**Note:** &gt;This method is asynchronous. A returned success status indicates a background process has been started, but there will still be a delay before the deletion takes place. Recreating a statement pipe with the same ID too quickly could cause the statement pipe to end up in a faulty state.
146
146
  # @param statement_pipe_id
147
147
  # @param [Hash] opts the optional parameters
148
- # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
148
+ # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
149
149
  def delete_statement_pipe_with_http_info(statement_pipe_id, opts = {})
150
150
  if @api_client.config.debugging
151
151
  @api_client.config.logger.debug 'Calling API: XapiApi.delete_statement_pipe ...'
@@ -199,7 +199,7 @@ module RusticiSoftwareCloudV2
199
199
  # Deletes the specified xAPI credentials.
200
200
  # @param xapi_credential_id
201
201
  # @param [Hash] opts the optional parameters
202
- # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
202
+ # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
203
203
  def delete_xapi_credential_with_http_info(xapi_credential_id, opts = {})
204
204
  if @api_client.config.debugging
205
205
  @api_client.config.logger.debug 'Calling API: XapiApi.delete_xapi_credential ...'
@@ -253,7 +253,7 @@ module RusticiSoftwareCloudV2
253
253
  # Returns detailed information about the xAPI pipe. This includes source and target urls, the last time a statement was successfully forwarded, and how many attempts have been made to send data to the target url.
254
254
  # @param statement_pipe_id
255
255
  # @param [Hash] opts the optional parameters
256
- # @return [Array<(XapiStatementPipeSchema, Fixnum, Hash)>] XapiStatementPipeSchema data, response status code and response headers
256
+ # @return [Array<(XapiStatementPipeSchema, Integer, Hash)>] XapiStatementPipeSchema data, response status code and response headers
257
257
  def get_statement_pipe_with_http_info(statement_pipe_id, opts = {})
258
258
  if @api_client.config.debugging
259
259
  @api_client.config.logger.debug 'Calling API: XapiApi.get_statement_pipe ...'
@@ -306,7 +306,7 @@ module RusticiSoftwareCloudV2
306
306
  # Get a list of xAPI Statement Pipes
307
307
  # Returns a list of all xAPI statement pipes.
308
308
  # @param [Hash] opts the optional parameters
309
- # @return [Array<(XapiStatementPipeListSchema, Fixnum, Hash)>] XapiStatementPipeListSchema data, response status code and response headers
309
+ # @return [Array<(XapiStatementPipeListSchema, Integer, Hash)>] XapiStatementPipeListSchema data, response status code and response headers
310
310
  def get_statement_pipes_with_http_info(opts = {})
311
311
  if @api_client.config.debugging
312
312
  @api_client.config.logger.debug 'Calling API: XapiApi.get_statement_pipes ...'
@@ -357,7 +357,7 @@ module RusticiSoftwareCloudV2
357
357
  # Returns detailed information about the xAPI credentials. This includes the id (username), secret (password), permissions, and whether or not the credentials are enabled.
358
358
  # @param xapi_credential_id
359
359
  # @param [Hash] opts the optional parameters
360
- # @return [Array<(XapiCredentialSchema, Fixnum, Hash)>] XapiCredentialSchema data, response status code and response headers
360
+ # @return [Array<(XapiCredentialSchema, Integer, Hash)>] XapiCredentialSchema data, response status code and response headers
361
361
  def get_xapi_credential_with_http_info(xapi_credential_id, opts = {})
362
362
  if @api_client.config.debugging
363
363
  @api_client.config.logger.debug 'Calling API: XapiApi.get_xapi_credential ...'
@@ -426,7 +426,7 @@ module RusticiSoftwareCloudV2
426
426
  # @option opts [String] :order_by Optional enum parameter for specifying the field and order by which to sort the results.
427
427
  # @option opts [String] :more Pagination token returned as &#x60;more&#x60; property of multi page list requests
428
428
  # @option opts [BOOLEAN] :include_total_count Include the total count of results matching the provided filters as a header on the initial request. The header will not be present on subsequent requests resulting from passing the &#x60;more&#x60; token.
429
- # @return [Array<(XapiCredentialsListSchema, Fixnum, Hash)>] XapiCredentialsListSchema data, response status code and response headers
429
+ # @return [Array<(XapiCredentialsListSchema, Integer, Hash)>] XapiCredentialsListSchema data, response status code and response headers
430
430
  def get_xapi_credentials_with_http_info(opts = {})
431
431
  if @api_client.config.debugging
432
432
  @api_client.config.logger.debug 'Calling API: XapiApi.get_xapi_credentials ...'
@@ -487,7 +487,7 @@ module RusticiSoftwareCloudV2
487
487
  # @param statement_pipe_id
488
488
  # @param xapi_statement_pipe
489
489
  # @param [Hash] opts the optional parameters
490
- # @return [Array<(StringResultSchema, Fixnum, Hash)>] StringResultSchema data, response status code and response headers
490
+ # @return [Array<(StringResultSchema, Integer, Hash)>] StringResultSchema data, response status code and response headers
491
491
  def set_statement_pipe_with_http_info(statement_pipe_id, xapi_statement_pipe, opts = {})
492
492
  if @api_client.config.debugging
493
493
  @api_client.config.logger.debug 'Calling API: XapiApi.set_statement_pipe ...'
@@ -548,7 +548,7 @@ module RusticiSoftwareCloudV2
548
548
  # @param xapi_credential_id
549
549
  # @param xapi_credential
550
550
  # @param [Hash] opts the optional parameters
551
- # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
551
+ # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
552
552
  def set_xapi_credential_with_http_info(xapi_credential_id, xapi_credential, opts = {})
553
553
  if @api_client.config.debugging
554
554
  @api_client.config.logger.debug 'Calling API: XapiApi.set_xapi_credential ...'
@@ -30,7 +30,7 @@ module RusticiSoftwareCloudV2
30
30
  # @option config [Configuration] Configuration for initializing the object, default to Configuration.default
31
31
  def initialize(config = Configuration.default)
32
32
  @config = config
33
- @user_agent = "Swagger-Codegen/3.0.0/ruby"
33
+ @user_agent = "Swagger-Codegen/5.0.0/ruby"
34
34
  @default_headers = {
35
35
  'Content-Type' => 'application/json',
36
36
  'User-Agent' => @user_agent
@@ -43,7 +43,7 @@ module RusticiSoftwareCloudV2
43
43
 
44
44
  # Call an API with given options.
45
45
  #
46
- # @return [Array<(Object, Fixnum, Hash)>] an array of 3 elements:
46
+ # @return [Array<(Object, Integer, Hash)>] an array of 3 elements:
47
47
  # the data deserialized from response body (could be nil), response status code and response headers.
48
48
  def call_api(http_method, path, opts = {})
49
49
  request = build_request(http_method, path, opts)
@@ -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
  [version, distribution].hash
87
87
  end
@@ -200,7 +200,7 @@ module RusticiSoftwareCloudV2
200
200
  end
201
201
 
202
202
  # Calculates hash code according to all attributes.
203
- # @return [Fixnum] Hash code
203
+ # @return [Integer] Hash code
204
204
  def hash
205
205
  [id, title, attempts, activity_completion, activity_success, score, time_tracked, completion_amount, suspended, children, objectives, static_properties, runtime].hash
206
206
  end
@@ -84,7 +84,7 @@ module RusticiSoftwareCloudV2
84
84
  end
85
85
 
86
86
  # Calculates hash code according to all attributes.
87
- # @return [Fixnum] Hash code
87
+ # @return [Integer] Hash code
88
88
  def hash
89
89
  [applications, more].hash
90
90
  end
@@ -131,7 +131,7 @@ module RusticiSoftwareCloudV2
131
131
  end
132
132
 
133
133
  # Calculates hash code according to all attributes.
134
- # @return [Fixnum] Hash code
134
+ # @return [Integer] Hash code
135
135
  def hash
136
136
  [id, name, create_date, update_date, allow_delete, course_count, registration_count].hash
137
137
  end
@@ -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
  [applications].hash
80
80
  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
  [name].hash
79
79
  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
  [id, name].hash
89
89
  end
@@ -90,7 +90,7 @@ module RusticiSoftwareCloudV2
90
90
  end
91
91
 
92
92
  # Calculates hash code according to all attributes.
93
- # @return [Fixnum] Hash code
93
+ # @return [Integer] Hash code
94
94
  def hash
95
95
  [access_token, expires_in, token_type].hash
96
96
  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
  [filename, destination].hash
87
87
  end
@@ -95,7 +95,7 @@ module RusticiSoftwareCloudV2
95
95
  end
96
96
 
97
97
  # Calculates hash code according to all attributes.
98
- # @return [Fixnum] Hash code
98
+ # @return [Integer] Hash code
99
99
  def hash
100
100
  [ids, tags].hash
101
101
  end
@@ -90,7 +90,7 @@ module RusticiSoftwareCloudV2
90
90
  end
91
91
 
92
92
  # Calculates hash code according to all attributes.
93
- # @return [Fixnum] Hash code
93
+ # @return [Integer] Hash code
94
94
  def hash
95
95
  [value, location, date_time].hash
96
96
  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
@@ -75,7 +75,7 @@ module RusticiSoftwareCloudV2
75
75
  end
76
76
 
77
77
  # Calculates hash code according to all attributes.
78
- # @return [Fixnum] Hash code
78
+ # @return [Integer] Hash code
79
79
  def hash
80
80
  [connector_entries].hash
81
81
  end
@@ -113,7 +113,7 @@ module RusticiSoftwareCloudV2
113
113
  end
114
114
 
115
115
  # Calculates hash code according to all attributes.
116
- # @return [Fixnum] Hash code
116
+ # @return [Integer] Hash code
117
117
  def hash
118
118
  [connector_id, content_connector_type, configuration, additional_instance_information, enabled].hash
119
119
  end
@@ -152,7 +152,7 @@ module RusticiSoftwareCloudV2
152
152
  end
153
153
 
154
154
  # Calculates hash code according to all attributes.
155
- # @return [Fixnum] Hash code
155
+ # @return [Integer] Hash code
156
156
  def hash
157
157
  [external_identifier, item_identifier, resource_identifier, activity_type, href, scaled_passing_score, title, children].hash
158
158
  end
@@ -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
  [courses].hash
80
80
  end
@@ -84,7 +84,7 @@ module RusticiSoftwareCloudV2
84
84
  end
85
85
 
86
86
  # Calculates hash code according to all attributes.
87
- # @return [Fixnum] Hash code
87
+ # @return [Integer] Hash code
88
88
  def hash
89
89
  [courses, more].hash
90
90
  end
@@ -91,7 +91,7 @@ module RusticiSoftwareCloudV2
91
91
  end
92
92
 
93
93
  # Calculates hash code according to all attributes.
94
- # @return [Fixnum] Hash code
94
+ # @return [Integer] Hash code
95
95
  def hash
96
96
  [id, title, version].hash
97
97
  end
@@ -191,7 +191,7 @@ module RusticiSoftwareCloudV2
191
191
  end
192
192
 
193
193
  # Calculates hash code according to all attributes.
194
- # @return [Fixnum] Hash code
194
+ # @return [Integer] Hash code
195
195
  def hash
196
196
  [id, title, xapi_activity_id, created, updated, version, registration_count, activity_id, course_learning_standard, tags, dispatched, metadata, root_activity].hash
197
197
  end
@@ -105,7 +105,7 @@ module RusticiSoftwareCloudV2
105
105
  end
106
106
 
107
107
  # Calculates hash code according to all attributes.
108
- # @return [Fixnum] Hash code
108
+ # @return [Integer] Hash code
109
109
  def hash
110
110
  [content_connector_type, configuration, enabled].hash
111
111
  end
@@ -91,7 +91,7 @@ module RusticiSoftwareCloudV2
91
91
  end
92
92
 
93
93
  # Calculates hash code according to all attributes.
94
- # @return [Fixnum] Hash code
94
+ # @return [Integer] Hash code
95
95
  def hash
96
96
  [id, data].hash
97
97
  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
  [dispatches].hash
80
80
  end
@@ -193,7 +193,7 @@ module RusticiSoftwareCloudV2
193
193
  end
194
194
 
195
195
  # Calculates hash code according to all attributes.
196
- # @return [Fixnum] Hash code
196
+ # @return [Integer] Hash code
197
197
  def hash
198
198
  [destination_id, course_id, allow_new_registrations, instanced, registration_cap, expiration_date, enabled, tags, email, notes, post_back].hash
199
199
  end
@@ -31,6 +31,9 @@ module RusticiSoftwareCloudV2
31
31
  # Optional tags to be applied to this invitation.
32
32
  attr_accessor :tags
33
33
 
34
+ # Represents the possible values that determine how existing registrations will be handled when an invitation is sent to an email address that has already received an invitation: - `FAIL`: Do not create a new invitation, do not send an email, and do nothing with registrations - `INSTANCE_EXISTING`: Create a new instance of the existing registration and send it with the invitation - `SEND_EXISTING`: Re-send the existing registration with the new invitation - `CREATE_NEW`: Create a new registration for the invitation
35
+ attr_accessor :duplicate_registration_option
36
+
34
37
  # Attribute mapping from ruby-style variable name to JSON key.
35
38
  def self.attribute_map
36
39
  {
@@ -39,7 +42,8 @@ module RusticiSoftwareCloudV2
39
42
  :'invitation_email' => :'invitationEmail',
40
43
  :'post_back' => :'postBack',
41
44
  :'expiration_date' => :'expirationDate',
42
- :'tags' => :'tags'
45
+ :'tags' => :'tags',
46
+ :'duplicate_registration_option' => :'duplicateRegistrationOption'
43
47
  }
44
48
  end
45
49
 
@@ -51,7 +55,8 @@ module RusticiSoftwareCloudV2
51
55
  :'invitation_email' => :'InvitationEmailSchema',
52
56
  :'post_back' => :'PostBackSchema',
53
57
  :'expiration_date' => :'DateTime',
54
- :'tags' => :'Array<String>'
58
+ :'tags' => :'Array<String>',
59
+ :'duplicate_registration_option' => :'String'
55
60
  }
56
61
  end
57
62
 
@@ -88,6 +93,12 @@ module RusticiSoftwareCloudV2
88
93
  self.tags = value
89
94
  end
90
95
  end
96
+
97
+ if attributes.has_key?(:'duplicateRegistrationOption')
98
+ self.duplicate_registration_option = attributes[:'duplicateRegistrationOption']
99
+ else
100
+ self.duplicate_registration_option = 'SEND_EXISTING'
101
+ end
91
102
  end
92
103
 
93
104
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -118,6 +129,14 @@ module RusticiSoftwareCloudV2
118
129
  true
119
130
  end
120
131
 
132
+ # Custom attribute writer method checking allowed values (enum).
133
+ #
134
+ # allowable_values = ['FAIL', 'INSTANCE_EXISTING', 'SEND_EXISTING', 'CREATE_NEW']
135
+ #
136
+ # @param [Object] duplicate_registration_option Object to be assigned
137
+ def duplicate_registration_option=(duplicate_registration_option)
138
+ @duplicate_registration_option = duplicate_registration_option
139
+ end
121
140
 
122
141
  # Checks equality by comparing each attribute.
123
142
  # @param [Object] Object to be compared
@@ -129,7 +148,8 @@ module RusticiSoftwareCloudV2
129
148
  invitation_email == o.invitation_email &&
130
149
  post_back == o.post_back &&
131
150
  expiration_date == o.expiration_date &&
132
- tags == o.tags
151
+ tags == o.tags &&
152
+ duplicate_registration_option == o.duplicate_registration_option
133
153
  end
134
154
 
135
155
  # @see the `==` method
@@ -139,9 +159,9 @@ module RusticiSoftwareCloudV2
139
159
  end
140
160
 
141
161
  # Calculates hash code according to all attributes.
142
- # @return [Fixnum] Hash code
162
+ # @return [Integer] Hash code
143
163
  def hash
144
- [course_id, creating_user_email, invitation_email, post_back, expiration_date, tags].hash
164
+ [course_id, creating_user_email, invitation_email, post_back, expiration_date, tags, duplicate_registration_option].hash
145
165
  end
146
166
 
147
167
  # Builds the object from hash
@@ -20,7 +20,7 @@ module RusticiSoftwareCloudV2
20
20
  # The email of the user who is creating the invitation.
21
21
  attr_accessor :creating_user_email
22
22
 
23
- # Integer value that limits the amount of registrations a public invitation can generate.
23
+ # Integer value that represents the maximum number of registrations that can be created for a public invitation. Setting this value to '0' allows an unlimited amount of registrations to be created for the invitation.
24
24
  attr_accessor :registration_cap
25
25
 
26
26
  # Specifies a URL for which to post activity and status data in real time as the course is completed
@@ -137,7 +137,7 @@ module RusticiSoftwareCloudV2
137
137
  end
138
138
 
139
139
  # Calculates hash code according to all attributes.
140
- # @return [Fixnum] Hash code
140
+ # @return [Integer] Hash code
141
141
  def hash
142
142
  [course_id, creating_user_email, registration_cap, post_back, expiration_date, tags].hash
143
143
  end
@@ -176,7 +176,7 @@ module RusticiSoftwareCloudV2
176
176
  end
177
177
 
178
178
  # Calculates hash code according to all attributes.
179
- # @return [Fixnum] Hash code
179
+ # @return [Integer] Hash code
180
180
  def hash
181
181
  [course_id, learner, registration_id, xapi_registration_id, learner_tags, course_tags, registration_tags, post_back, initial_registration_state, initial_settings].hash
182
182
  end
@@ -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
  [credentials].hash
80
80
  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, active].hash
89
89
  end
@@ -28,6 +28,12 @@ module RusticiSoftwareCloudV2
28
28
 
29
29
  attr_accessor :status
30
30
 
31
+ # The time the API credential was created in UTC
32
+ attr_accessor :created
33
+
34
+ # The time the API credential was last updated in UTC
35
+ attr_accessor :updated
36
+
31
37
  # Attribute mapping from ruby-style variable name to JSON key.
32
38
  def self.attribute_map
33
39
  {
@@ -35,7 +41,9 @@ module RusticiSoftwareCloudV2
35
41
  :'name' => :'name',
36
42
  :'credential' => :'credential',
37
43
  :'pens_credential' => :'pensCredential',
38
- :'status' => :'status'
44
+ :'status' => :'status',
45
+ :'created' => :'created',
46
+ :'updated' => :'updated'
39
47
  }
40
48
  end
41
49
 
@@ -46,7 +54,9 @@ module RusticiSoftwareCloudV2
46
54
  :'name' => :'String',
47
55
  :'credential' => :'String',
48
56
  :'pens_credential' => :'String',
49
- :'status' => :'String'
57
+ :'status' => :'String',
58
+ :'created' => :'DateTime',
59
+ :'updated' => :'DateTime'
50
60
  }
51
61
  end
52
62
 
@@ -77,6 +87,14 @@ module RusticiSoftwareCloudV2
77
87
  if attributes.has_key?(:'status')
78
88
  self.status = attributes[:'status']
79
89
  end
90
+
91
+ if attributes.has_key?(:'created')
92
+ self.created = attributes[:'created']
93
+ end
94
+
95
+ if attributes.has_key?(:'updated')
96
+ self.updated = attributes[:'updated']
97
+ end
80
98
  end
81
99
 
82
100
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -102,7 +120,9 @@ module RusticiSoftwareCloudV2
102
120
  name == o.name &&
103
121
  credential == o.credential &&
104
122
  pens_credential == o.pens_credential &&
105
- status == o.status
123
+ status == o.status &&
124
+ created == o.created &&
125
+ updated == o.updated
106
126
  end
107
127
 
108
128
  # @see the `==` method
@@ -112,9 +132,9 @@ module RusticiSoftwareCloudV2
112
132
  end
113
133
 
114
134
  # Calculates hash code according to all attributes.
115
- # @return [Fixnum] Hash code
135
+ # @return [Integer] Hash code
116
136
  def hash
117
- [id, name, credential, pens_credential, status].hash
137
+ [id, name, credential, pens_credential, status, created, updated].hash
118
138
  end
119
139
 
120
140
  # Builds the object from hash
@@ -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
  [id, data].hash
88
88
  end
@@ -13,20 +13,25 @@ require 'date'
13
13
 
14
14
 
15
15
  module RusticiSoftwareCloudV2
16
- class ZoomiCompanyId
17
- attr_accessor :zoomi_company_id
16
+ class DestinationInfoIdSchema
17
+ #
18
+ attr_accessor :id
19
+
20
+ attr_accessor :data
18
21
 
19
22
  # Attribute mapping from ruby-style variable name to JSON key.
20
23
  def self.attribute_map
21
24
  {
22
- :'zoomi_company_id' => :'zoomi_company_id'
25
+ :'id' => :'id',
26
+ :'data' => :'data'
23
27
  }
24
28
  end
25
29
 
26
30
  # Attribute type mapping.
27
31
  def self.swagger_types
28
32
  {
29
- :'zoomi_company_id' => :'String'
33
+ :'id' => :'String',
34
+ :'data' => :'DestinationInfoSchema'
30
35
  }
31
36
  end
32
37
 
@@ -38,8 +43,12 @@ module RusticiSoftwareCloudV2
38
43
  # convert string to symbol for hash key
39
44
  attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
40
45
 
41
- if attributes.has_key?(:'zoomi_company_id')
42
- self.zoomi_company_id = attributes[:'zoomi_company_id']
46
+ if attributes.has_key?(:'id')
47
+ self.id = attributes[:'id']
48
+ end
49
+
50
+ if attributes.has_key?(:'data')
51
+ self.data = attributes[:'data']
43
52
  end
44
53
  end
45
54
 
@@ -62,7 +71,8 @@ module RusticiSoftwareCloudV2
62
71
  def ==(o)
63
72
  return true if self.equal?(o)
64
73
  self.class == o.class &&
65
- zoomi_company_id == o.zoomi_company_id
74
+ id == o.id &&
75
+ data == o.data
66
76
  end
67
77
 
68
78
  # @see the `==` method
@@ -72,9 +82,9 @@ module RusticiSoftwareCloudV2
72
82
  end
73
83
 
74
84
  # Calculates hash code according to all attributes.
75
- # @return [Fixnum] Hash code
85
+ # @return [Integer] Hash code
76
86
  def hash
77
- [zoomi_company_id].hash
87
+ [id, data].hash
78
88
  end
79
89
 
80
90
  # Builds the object from hash