rustici_software_cloud_v2 1.1.0 → 2.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (161) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -1
  3. data/README.md +355 -356
  4. data/lib/rustici_software_cloud_v2/api/about_api.rb +5 -5
  5. data/lib/rustici_software_cloud_v2/api/application_management_api.rb +191 -63
  6. data/lib/rustici_software_cloud_v2/api/authentication_api.rb +10 -18
  7. data/lib/rustici_software_cloud_v2/api/content_connectors_api.rb +236 -0
  8. data/lib/rustici_software_cloud_v2/api/course_api.rb +1046 -225
  9. data/lib/rustici_software_cloud_v2/api/dispatch_api.rb +634 -269
  10. data/lib/rustici_software_cloud_v2/api/invitations_api.rb +213 -171
  11. data/lib/rustici_software_cloud_v2/api/learner_api.rb +49 -49
  12. data/lib/rustici_software_cloud_v2/api/ping_api.rb +3 -1
  13. data/lib/rustici_software_cloud_v2/api/registration_api.rb +256 -270
  14. data/lib/rustici_software_cloud_v2/api/reporting_api.rb +20 -24
  15. data/lib/rustici_software_cloud_v2/api/xapi_api.rb +82 -67
  16. data/lib/rustici_software_cloud_v2/api/zoomi_api.rb +125 -56
  17. data/lib/rustici_software_cloud_v2/api_client.rb +3 -3
  18. data/lib/rustici_software_cloud_v2/api_error.rb +1 -1
  19. data/lib/rustici_software_cloud_v2/configuration.rb +11 -4
  20. data/lib/rustici_software_cloud_v2/models/about_schema.rb +4 -2
  21. data/lib/rustici_software_cloud_v2/models/activity_result_schema.rb +9 -37
  22. data/lib/rustici_software_cloud_v2/models/application_info_schema.rb +234 -0
  23. data/lib/rustici_software_cloud_v2/models/application_list_schema.rb +4 -2
  24. data/lib/rustici_software_cloud_v2/models/application_request_schema.rb +186 -0
  25. data/lib/rustici_software_cloud_v2/models/application_schema.rb +4 -2
  26. data/lib/rustici_software_cloud_v2/models/application_token.rb +4 -2
  27. data/lib/rustici_software_cloud_v2/models/asset_file_schema.rb +194 -0
  28. data/lib/rustici_software_cloud_v2/models/batch_tags_schema.rb +4 -2
  29. data/lib/rustici_software_cloud_v2/models/comment_schema.rb +4 -2
  30. data/lib/rustici_software_cloud_v2/models/completion_amount_schema.rb +4 -2
  31. data/lib/rustici_software_cloud_v2/models/connector_list_schema.rb +188 -0
  32. data/lib/rustici_software_cloud_v2/models/connector_schema.rb +226 -0
  33. data/lib/rustici_software_cloud_v2/models/course_activity_schema.rb +7 -31
  34. data/lib/rustici_software_cloud_v2/models/course_list_non_paged_schema.rb +4 -2
  35. data/lib/rustici_software_cloud_v2/models/course_list_schema.rb +5 -2
  36. data/lib/rustici_software_cloud_v2/models/course_reference_schema.rb +4 -2
  37. data/lib/rustici_software_cloud_v2/models/course_schema.rb +6 -30
  38. data/lib/rustici_software_cloud_v2/models/create_connector_schema.rb +218 -0
  39. data/lib/rustici_software_cloud_v2/models/create_dispatch_id_schema.rb +3 -20
  40. data/lib/rustici_software_cloud_v2/models/create_dispatch_list_schema.rb +4 -2
  41. data/lib/rustici_software_cloud_v2/models/create_dispatch_schema.rb +5 -3
  42. data/lib/rustici_software_cloud_v2/models/create_private_invitation_schema.rb +5 -3
  43. data/lib/rustici_software_cloud_v2/models/create_public_invitation_schema.rb +5 -3
  44. data/lib/rustici_software_cloud_v2/models/create_registration_schema.rb +4 -2
  45. data/lib/rustici_software_cloud_v2/models/credential_created_schema.rb +4 -2
  46. data/lib/rustici_software_cloud_v2/models/credential_list_schema.rb +4 -2
  47. data/lib/rustici_software_cloud_v2/models/credential_request_schema.rb +4 -2
  48. data/lib/rustici_software_cloud_v2/models/credential_schema.rb +4 -2
  49. data/lib/rustici_software_cloud_v2/models/destination_id_schema.rb +4 -2
  50. data/lib/rustici_software_cloud_v2/models/destination_list_schema.rb +5 -3
  51. data/lib/rustici_software_cloud_v2/models/destination_schema.rb +35 -6
  52. data/lib/rustici_software_cloud_v2/models/dispatch_id_schema.rb +4 -2
  53. data/lib/rustici_software_cloud_v2/models/dispatch_list_schema.rb +5 -2
  54. data/lib/rustici_software_cloud_v2/models/dispatch_lti13_info_schema.rb +186 -0
  55. data/lib/rustici_software_cloud_v2/models/dispatch_lti_info_schema.rb +221 -0
  56. data/lib/rustici_software_cloud_v2/models/dispatch_registration_count_schema.rb +4 -2
  57. data/lib/rustici_software_cloud_v2/models/dispatch_schema.rb +44 -4
  58. data/lib/rustici_software_cloud_v2/models/enabled_schema.rb +4 -2
  59. data/lib/rustici_software_cloud_v2/models/file_list_item_schema.rb +205 -0
  60. data/lib/rustici_software_cloud_v2/models/file_list_schema.rb +187 -0
  61. data/lib/rustici_software_cloud_v2/models/import_asset_request_schema.rb +207 -0
  62. data/lib/rustici_software_cloud_v2/models/import_connector_request_schema.rb +207 -0
  63. data/lib/rustici_software_cloud_v2/models/import_fetch_request_schema.rb +30 -7
  64. data/lib/rustici_software_cloud_v2/models/import_job_result_schema.rb +6 -30
  65. data/lib/rustici_software_cloud_v2/models/import_media_file_reference_request_schema.rb +216 -0
  66. data/lib/rustici_software_cloud_v2/models/import_request_schema.rb +204 -0
  67. data/lib/rustici_software_cloud_v2/models/import_result_schema.rb +4 -2
  68. data/lib/rustici_software_cloud_v2/models/integer_result_schema.rb +4 -2
  69. data/lib/rustici_software_cloud_v2/models/invitation_email_schema.rb +4 -2
  70. data/lib/rustici_software_cloud_v2/models/invitation_job_status_schema.rb +6 -30
  71. data/lib/rustici_software_cloud_v2/models/invitation_summary_list.rb +5 -2
  72. data/lib/rustici_software_cloud_v2/models/invitation_summary_schema.rb +4 -2
  73. data/lib/rustici_software_cloud_v2/models/item_value_pair_schema.rb +4 -2
  74. data/lib/rustici_software_cloud_v2/models/launch_auth_options_schema.rb +4 -2
  75. data/lib/rustici_software_cloud_v2/models/launch_auth_schema.rb +6 -30
  76. data/lib/rustici_software_cloud_v2/models/launch_history_list_schema.rb +4 -2
  77. data/lib/rustici_software_cloud_v2/models/launch_history_schema.rb +9 -37
  78. data/lib/rustici_software_cloud_v2/models/launch_link_request_schema.rb +6 -4
  79. data/lib/rustici_software_cloud_v2/models/launch_link_schema.rb +4 -2
  80. data/lib/rustici_software_cloud_v2/models/learner_preference_schema.rb +4 -2
  81. data/lib/rustici_software_cloud_v2/models/learner_schema.rb +4 -2
  82. data/lib/rustici_software_cloud_v2/models/lti13_platform_configuration_schema.rb +261 -0
  83. data/lib/rustici_software_cloud_v2/models/lti13_tool_configuration_schema.rb +236 -0
  84. data/lib/rustici_software_cloud_v2/models/media_file_metadata_schema.rb +213 -0
  85. data/lib/rustici_software_cloud_v2/models/message_schema.rb +4 -2
  86. data/lib/rustici_software_cloud_v2/models/metadata_schema.rb +11 -9
  87. data/lib/rustici_software_cloud_v2/models/objective_schema.rb +12 -44
  88. data/lib/rustici_software_cloud_v2/models/permissions_schema.rb +4 -2
  89. data/lib/rustici_software_cloud_v2/models/ping_schema.rb +4 -2
  90. data/lib/rustici_software_cloud_v2/models/post_back_schema.rb +9 -37
  91. data/lib/rustici_software_cloud_v2/models/private_invitation_list.rb +5 -2
  92. data/lib/rustici_software_cloud_v2/models/private_invitation_schema.rb +6 -4
  93. data/lib/rustici_software_cloud_v2/models/private_invitation_update_schema.rb +215 -0
  94. data/lib/rustici_software_cloud_v2/models/public_invitation_list.rb +5 -2
  95. data/lib/rustici_software_cloud_v2/models/public_invitation_schema.rb +17 -6
  96. data/lib/rustici_software_cloud_v2/models/public_invitation_update_schema.rb +228 -0
  97. data/lib/rustici_software_cloud_v2/models/registration_completion.rb +1 -1
  98. data/lib/rustici_software_cloud_v2/models/registration_list_schema.rb +5 -2
  99. data/lib/rustici_software_cloud_v2/models/registration_schema.rb +4 -2
  100. data/lib/rustici_software_cloud_v2/models/registration_success.rb +1 -1
  101. data/lib/rustici_software_cloud_v2/models/reportage_account_info_schema.rb +4 -2
  102. data/lib/rustici_software_cloud_v2/models/reportage_account_info_usage_schema.rb +4 -2
  103. data/lib/rustici_software_cloud_v2/models/reportage_auth_token_schema.rb +4 -2
  104. data/lib/rustici_software_cloud_v2/models/reportage_link_schema.rb +4 -2
  105. data/lib/rustici_software_cloud_v2/models/response_error.rb +4 -2
  106. data/lib/rustici_software_cloud_v2/models/runtime_interaction_schema.rb +6 -30
  107. data/lib/rustici_software_cloud_v2/models/runtime_objective_schema.rb +9 -37
  108. data/lib/rustici_software_cloud_v2/models/runtime_schema.rb +6 -30
  109. data/lib/rustici_software_cloud_v2/models/score_schema.rb +4 -2
  110. data/lib/rustici_software_cloud_v2/models/setting_item.rb +6 -30
  111. data/lib/rustici_software_cloud_v2/models/setting_list_schema.rb +4 -2
  112. data/lib/rustici_software_cloud_v2/models/setting_metadata.rb +6 -30
  113. data/lib/rustici_software_cloud_v2/models/setting_valid_value.rb +4 -2
  114. data/lib/rustici_software_cloud_v2/models/settings_individual_schema.rb +4 -2
  115. data/lib/rustici_software_cloud_v2/models/settings_post_schema.rb +4 -2
  116. data/lib/rustici_software_cloud_v2/models/shared_data_entry_schema.rb +4 -2
  117. data/lib/rustici_software_cloud_v2/models/static_properties_schema.rb +4 -2
  118. data/lib/rustici_software_cloud_v2/models/string_result_schema.rb +4 -2
  119. data/lib/rustici_software_cloud_v2/models/tag_list_schema.rb +4 -2
  120. data/lib/rustici_software_cloud_v2/models/title_schema.rb +4 -2
  121. data/lib/rustici_software_cloud_v2/models/token_request_schema.rb +4 -2
  122. data/lib/rustici_software_cloud_v2/models/update_application_schema.rb +196 -0
  123. data/lib/rustici_software_cloud_v2/models/update_connector_schema.rb +196 -0
  124. data/lib/rustici_software_cloud_v2/models/update_dispatch_schema.rb +16 -4
  125. data/lib/rustici_software_cloud_v2/models/user_invitation_list.rb +5 -2
  126. data/lib/rustici_software_cloud_v2/models/user_invitation_schema.rb +4 -2
  127. data/lib/rustici_software_cloud_v2/models/user_invitation_schema_registration_report.rb +4 -2
  128. data/lib/rustici_software_cloud_v2/models/xapi_account.rb +4 -2
  129. data/lib/rustici_software_cloud_v2/models/xapi_activity.rb +4 -2
  130. data/lib/rustici_software_cloud_v2/models/xapi_activity_definition.rb +4 -2
  131. data/lib/rustici_software_cloud_v2/models/xapi_agent_group.rb +6 -30
  132. data/lib/rustici_software_cloud_v2/models/xapi_attachment.rb +4 -2
  133. data/lib/rustici_software_cloud_v2/models/xapi_context.rb +4 -2
  134. data/lib/rustici_software_cloud_v2/models/xapi_context_activity.rb +4 -2
  135. data/lib/rustici_software_cloud_v2/models/xapi_credential_auth_type_schema.rb +6 -30
  136. data/lib/rustici_software_cloud_v2/models/xapi_credential_permissions_level_schema.rb +6 -30
  137. data/lib/rustici_software_cloud_v2/models/xapi_credential_post_schema.rb +4 -2
  138. data/lib/rustici_software_cloud_v2/models/xapi_credential_put_schema.rb +4 -2
  139. data/lib/rustici_software_cloud_v2/models/xapi_credential_schema.rb +4 -2
  140. data/lib/rustici_software_cloud_v2/models/xapi_credentials_list_schema.rb +5 -2
  141. data/lib/rustici_software_cloud_v2/models/xapi_endpoint_schema.rb +4 -2
  142. data/lib/rustici_software_cloud_v2/models/xapi_interaction_component.rb +4 -2
  143. data/lib/rustici_software_cloud_v2/models/xapi_result.rb +4 -2
  144. data/lib/rustici_software_cloud_v2/models/xapi_score.rb +4 -2
  145. data/lib/rustici_software_cloud_v2/models/xapi_statement.rb +4 -2
  146. data/lib/rustici_software_cloud_v2/models/xapi_statement_pipe_list_schema.rb +4 -2
  147. data/lib/rustici_software_cloud_v2/models/xapi_statement_pipe_post_schema.rb +4 -2
  148. data/lib/rustici_software_cloud_v2/models/xapi_statement_pipe_put_schema.rb +4 -2
  149. data/lib/rustici_software_cloud_v2/models/xapi_statement_pipe_schema.rb +4 -2
  150. data/lib/rustici_software_cloud_v2/models/xapi_statement_reference.rb +4 -2
  151. data/lib/rustici_software_cloud_v2/models/xapi_statement_result.rb +4 -2
  152. data/lib/rustici_software_cloud_v2/models/xapi_verb.rb +4 -2
  153. data/lib/rustici_software_cloud_v2/models/zoomi_company_id.rb +4 -2
  154. data/lib/rustici_software_cloud_v2/models/zoomi_course_options_schema.rb +14 -2
  155. data/lib/rustici_software_cloud_v2/version.rb +2 -2
  156. data/lib/rustici_software_cloud_v2.rb +23 -1
  157. data/rustici_software_cloud_v2.gemspec +3 -2
  158. data/spec/api_client_spec.rb +18 -1
  159. data/spec/configuration_spec.rb +1 -1
  160. data/spec/spec_helper.rb +1 -1
  161. metadata +45 -3
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 2.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.12
9
+ Swagger Codegen version: 2.4.27
10
10
 
11
11
  =end
12
12
 
@@ -64,6 +64,7 @@ module RusticiSoftwareCloudV2
64
64
  true
65
65
  end
66
66
 
67
+
67
68
  # Checks equality by comparing each attribute.
68
69
  # @param [Object] Object to be compared
69
70
  def ==(o)
@@ -92,7 +93,7 @@ module RusticiSoftwareCloudV2
92
93
  return nil unless attributes.is_a?(Hash)
93
94
  self.class.swagger_types.each_pair do |key, type|
94
95
  if type =~ /\AArray<(.*)>/i
95
- # check to ensure the input is an array given that the the attribute
96
+ # check to ensure the input is an array given that the attribute
96
97
  # is documented as an array but the input is not
97
98
  if attributes[self.class.attribute_map[key]].is_a?(Array)
98
99
  self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
@@ -188,5 +189,6 @@ module RusticiSoftwareCloudV2
188
189
  value
189
190
  end
190
191
  end
192
+
191
193
  end
192
194
  end
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 2.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.12
9
+ Swagger Codegen version: 2.4.27
10
10
 
11
11
  =end
12
12
 
@@ -104,6 +104,7 @@ module RusticiSoftwareCloudV2
104
104
  true
105
105
  end
106
106
 
107
+
107
108
  # Checks equality by comparing each attribute.
108
109
  # @param [Object] Object to be compared
109
110
  def ==(o)
@@ -137,7 +138,7 @@ module RusticiSoftwareCloudV2
137
138
  return nil unless attributes.is_a?(Hash)
138
139
  self.class.swagger_types.each_pair do |key, type|
139
140
  if type =~ /\AArray<(.*)>/i
140
- # check to ensure the input is an array given that the the attribute
141
+ # check to ensure the input is an array given that the attribute
141
142
  # is documented as an array but the input is not
142
143
  if attributes[self.class.attribute_map[key]].is_a?(Array)
143
144
  self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
@@ -233,5 +234,6 @@ module RusticiSoftwareCloudV2
233
234
  value
234
235
  end
235
236
  end
237
+
236
238
  end
237
239
  end
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 2.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.12
9
+ Swagger Codegen version: 2.4.27
10
10
 
11
11
  =end
12
12
 
@@ -77,6 +77,7 @@ module RusticiSoftwareCloudV2
77
77
  true
78
78
  end
79
79
 
80
+
80
81
  # Checks equality by comparing each attribute.
81
82
  # @param [Object] Object to be compared
82
83
  def ==(o)
@@ -105,7 +106,7 @@ module RusticiSoftwareCloudV2
105
106
  return nil unless attributes.is_a?(Hash)
106
107
  self.class.swagger_types.each_pair do |key, type|
107
108
  if type =~ /\AArray<(.*)>/i
108
- # check to ensure the input is an array given that the the attribute
109
+ # check to ensure the input is an array given that the attribute
109
110
  # is documented as an array but the input is not
110
111
  if attributes[self.class.attribute_map[key]].is_a?(Array)
111
112
  self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
@@ -201,5 +202,6 @@ module RusticiSoftwareCloudV2
201
202
  value
202
203
  end
203
204
  end
205
+
204
206
  end
205
207
  end
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 2.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.12
9
+ Swagger Codegen version: 2.4.27
10
10
 
11
11
  =end
12
12
 
@@ -72,6 +72,7 @@ module RusticiSoftwareCloudV2
72
72
  true
73
73
  end
74
74
 
75
+
75
76
  # Checks equality by comparing each attribute.
76
77
  # @param [Object] Object to be compared
77
78
  def ==(o)
@@ -100,7 +101,7 @@ module RusticiSoftwareCloudV2
100
101
  return nil unless attributes.is_a?(Hash)
101
102
  self.class.swagger_types.each_pair do |key, type|
102
103
  if type =~ /\AArray<(.*)>/i
103
- # check to ensure the input is an array given that the the attribute
104
+ # check to ensure the input is an array given that the attribute
104
105
  # is documented as an array but the input is not
105
106
  if attributes[self.class.attribute_map[key]].is_a?(Array)
106
107
  self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
@@ -196,5 +197,6 @@ module RusticiSoftwareCloudV2
196
197
  value
197
198
  end
198
199
  end
200
+
199
201
  end
200
202
  end
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 2.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.12
9
+ Swagger Codegen version: 2.4.27
10
10
 
11
11
  =end
12
12
 
@@ -72,6 +72,7 @@ module RusticiSoftwareCloudV2
72
72
  true
73
73
  end
74
74
 
75
+
75
76
  # Checks equality by comparing each attribute.
76
77
  # @param [Object] Object to be compared
77
78
  def ==(o)
@@ -100,7 +101,7 @@ module RusticiSoftwareCloudV2
100
101
  return nil unless attributes.is_a?(Hash)
101
102
  self.class.swagger_types.each_pair do |key, type|
102
103
  if type =~ /\AArray<(.*)>/i
103
- # check to ensure the input is an array given that the the attribute
104
+ # check to ensure the input is an array given that the attribute
104
105
  # is documented as an array but the input is not
105
106
  if attributes[self.class.attribute_map[key]].is_a?(Array)
106
107
  self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
@@ -196,5 +197,6 @@ module RusticiSoftwareCloudV2
196
197
  value
197
198
  end
198
199
  end
200
+
199
201
  end
200
202
  end
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 2.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.12
9
+ Swagger Codegen version: 2.4.27
10
10
 
11
11
  =end
12
12
 
@@ -56,6 +56,7 @@ module RusticiSoftwareCloudV2
56
56
  true
57
57
  end
58
58
 
59
+
59
60
  # Checks equality by comparing each attribute.
60
61
  # @param [Object] Object to be compared
61
62
  def ==(o)
@@ -83,7 +84,7 @@ module RusticiSoftwareCloudV2
83
84
  return nil unless attributes.is_a?(Hash)
84
85
  self.class.swagger_types.each_pair do |key, type|
85
86
  if type =~ /\AArray<(.*)>/i
86
- # check to ensure the input is an array given that the the attribute
87
+ # check to ensure the input is an array given that the attribute
87
88
  # is documented as an array but the input is not
88
89
  if attributes[self.class.attribute_map[key]].is_a?(Array)
89
90
  self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
@@ -179,5 +180,6 @@ module RusticiSoftwareCloudV2
179
180
  value
180
181
  end
181
182
  end
183
+
182
184
  end
183
185
  end
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 2.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.12
9
+ Swagger Codegen version: 2.4.27
10
10
 
11
11
  =end
12
12
 
@@ -55,15 +55,26 @@ module RusticiSoftwareCloudV2
55
55
  # @return Array for valid properties with the reasons
56
56
  def list_invalid_properties
57
57
  invalid_properties = Array.new
58
+ if @nti.nil?
59
+ invalid_properties.push('invalid value for "nti", nti cannot be nil.')
60
+ end
61
+
62
+ if @cta.nil?
63
+ invalid_properties.push('invalid value for "cta", cta cannot be nil.')
64
+ end
65
+
58
66
  invalid_properties
59
67
  end
60
68
 
61
69
  # Check to see if the all the properties in the model are valid
62
70
  # @return true if the model is valid
63
71
  def valid?
72
+ return false if @nti.nil?
73
+ return false if @cta.nil?
64
74
  true
65
75
  end
66
76
 
77
+
67
78
  # Checks equality by comparing each attribute.
68
79
  # @param [Object] Object to be compared
69
80
  def ==(o)
@@ -92,7 +103,7 @@ module RusticiSoftwareCloudV2
92
103
  return nil unless attributes.is_a?(Hash)
93
104
  self.class.swagger_types.each_pair do |key, type|
94
105
  if type =~ /\AArray<(.*)>/i
95
- # check to ensure the input is an array given that the the attribute
106
+ # check to ensure the input is an array given that the attribute
96
107
  # is documented as an array but the input is not
97
108
  if attributes[self.class.attribute_map[key]].is_a?(Array)
98
109
  self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
@@ -188,5 +199,6 @@ module RusticiSoftwareCloudV2
188
199
  value
189
200
  end
190
201
  end
202
+
191
203
  end
192
204
  end
@@ -6,10 +6,10 @@
6
6
  OpenAPI spec version: 2.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.12
9
+ Swagger Codegen version: 2.4.27
10
10
 
11
11
  =end
12
12
 
13
13
  module RusticiSoftwareCloudV2
14
- VERSION = '1.1.0'
14
+ VERSION = '2.1.0'
15
15
  end
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 2.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.12
9
+ Swagger Codegen version: 2.4.27
10
10
 
11
11
  =end
12
12
 
@@ -19,17 +19,23 @@ require 'rustici_software_cloud_v2/configuration'
19
19
  # Models
20
20
  require 'rustici_software_cloud_v2/models/about_schema'
21
21
  require 'rustici_software_cloud_v2/models/activity_result_schema'
22
+ require 'rustici_software_cloud_v2/models/application_info_schema'
22
23
  require 'rustici_software_cloud_v2/models/application_list_schema'
24
+ require 'rustici_software_cloud_v2/models/application_request_schema'
23
25
  require 'rustici_software_cloud_v2/models/application_schema'
24
26
  require 'rustici_software_cloud_v2/models/application_token'
27
+ require 'rustici_software_cloud_v2/models/asset_file_schema'
25
28
  require 'rustici_software_cloud_v2/models/batch_tags_schema'
26
29
  require 'rustici_software_cloud_v2/models/comment_schema'
27
30
  require 'rustici_software_cloud_v2/models/completion_amount_schema'
31
+ require 'rustici_software_cloud_v2/models/connector_list_schema'
32
+ require 'rustici_software_cloud_v2/models/connector_schema'
28
33
  require 'rustici_software_cloud_v2/models/course_activity_schema'
29
34
  require 'rustici_software_cloud_v2/models/course_list_non_paged_schema'
30
35
  require 'rustici_software_cloud_v2/models/course_list_schema'
31
36
  require 'rustici_software_cloud_v2/models/course_reference_schema'
32
37
  require 'rustici_software_cloud_v2/models/course_schema'
38
+ require 'rustici_software_cloud_v2/models/create_connector_schema'
33
39
  require 'rustici_software_cloud_v2/models/create_dispatch_id_schema'
34
40
  require 'rustici_software_cloud_v2/models/create_dispatch_list_schema'
35
41
  require 'rustici_software_cloud_v2/models/create_dispatch_schema'
@@ -45,11 +51,19 @@ require 'rustici_software_cloud_v2/models/destination_list_schema'
45
51
  require 'rustici_software_cloud_v2/models/destination_schema'
46
52
  require 'rustici_software_cloud_v2/models/dispatch_id_schema'
47
53
  require 'rustici_software_cloud_v2/models/dispatch_list_schema'
54
+ require 'rustici_software_cloud_v2/models/dispatch_lti13_info_schema'
55
+ require 'rustici_software_cloud_v2/models/dispatch_lti_info_schema'
48
56
  require 'rustici_software_cloud_v2/models/dispatch_registration_count_schema'
49
57
  require 'rustici_software_cloud_v2/models/dispatch_schema'
50
58
  require 'rustici_software_cloud_v2/models/enabled_schema'
59
+ require 'rustici_software_cloud_v2/models/file_list_item_schema'
60
+ require 'rustici_software_cloud_v2/models/file_list_schema'
61
+ require 'rustici_software_cloud_v2/models/import_asset_request_schema'
62
+ require 'rustici_software_cloud_v2/models/import_connector_request_schema'
51
63
  require 'rustici_software_cloud_v2/models/import_fetch_request_schema'
52
64
  require 'rustici_software_cloud_v2/models/import_job_result_schema'
65
+ require 'rustici_software_cloud_v2/models/import_media_file_reference_request_schema'
66
+ require 'rustici_software_cloud_v2/models/import_request_schema'
53
67
  require 'rustici_software_cloud_v2/models/import_result_schema'
54
68
  require 'rustici_software_cloud_v2/models/integer_result_schema'
55
69
  require 'rustici_software_cloud_v2/models/invitation_email_schema'
@@ -65,6 +79,9 @@ require 'rustici_software_cloud_v2/models/launch_link_request_schema'
65
79
  require 'rustici_software_cloud_v2/models/launch_link_schema'
66
80
  require 'rustici_software_cloud_v2/models/learner_preference_schema'
67
81
  require 'rustici_software_cloud_v2/models/learner_schema'
82
+ require 'rustici_software_cloud_v2/models/lti13_platform_configuration_schema'
83
+ require 'rustici_software_cloud_v2/models/lti13_tool_configuration_schema'
84
+ require 'rustici_software_cloud_v2/models/media_file_metadata_schema'
68
85
  require 'rustici_software_cloud_v2/models/message_schema'
69
86
  require 'rustici_software_cloud_v2/models/metadata_schema'
70
87
  require 'rustici_software_cloud_v2/models/objective_schema'
@@ -73,8 +90,10 @@ require 'rustici_software_cloud_v2/models/ping_schema'
73
90
  require 'rustici_software_cloud_v2/models/post_back_schema'
74
91
  require 'rustici_software_cloud_v2/models/private_invitation_list'
75
92
  require 'rustici_software_cloud_v2/models/private_invitation_schema'
93
+ require 'rustici_software_cloud_v2/models/private_invitation_update_schema'
76
94
  require 'rustici_software_cloud_v2/models/public_invitation_list'
77
95
  require 'rustici_software_cloud_v2/models/public_invitation_schema'
96
+ require 'rustici_software_cloud_v2/models/public_invitation_update_schema'
78
97
  require 'rustici_software_cloud_v2/models/registration_completion'
79
98
  require 'rustici_software_cloud_v2/models/registration_list_schema'
80
99
  require 'rustici_software_cloud_v2/models/registration_schema'
@@ -100,6 +119,8 @@ require 'rustici_software_cloud_v2/models/string_result_schema'
100
119
  require 'rustici_software_cloud_v2/models/tag_list_schema'
101
120
  require 'rustici_software_cloud_v2/models/title_schema'
102
121
  require 'rustici_software_cloud_v2/models/token_request_schema'
122
+ require 'rustici_software_cloud_v2/models/update_application_schema'
123
+ require 'rustici_software_cloud_v2/models/update_connector_schema'
103
124
  require 'rustici_software_cloud_v2/models/update_dispatch_schema'
104
125
  require 'rustici_software_cloud_v2/models/user_invitation_list'
105
126
  require 'rustici_software_cloud_v2/models/user_invitation_schema'
@@ -136,6 +157,7 @@ require 'rustici_software_cloud_v2/models/zoomi_course_options_schema'
136
157
  require 'rustici_software_cloud_v2/api/about_api'
137
158
  require 'rustici_software_cloud_v2/api/application_management_api'
138
159
  require 'rustici_software_cloud_v2/api/authentication_api'
160
+ require 'rustici_software_cloud_v2/api/content_connectors_api'
139
161
  require 'rustici_software_cloud_v2/api/course_api'
140
162
  require 'rustici_software_cloud_v2/api/dispatch_api'
141
163
  require 'rustici_software_cloud_v2/api/invitations_api'
@@ -8,7 +8,7 @@
8
8
  OpenAPI spec version: 2.0
9
9
 
10
10
  Generated by: https://github.com/swagger-api/swagger-codegen.git
11
- Swagger Codegen version: 2.4.12
11
+ Swagger Codegen version: 2.4.27
12
12
 
13
13
  =end
14
14
 
@@ -29,6 +29,7 @@ Gem::Specification.new do |s|
29
29
 
30
30
  s.add_runtime_dependency 'typhoeus', '~> 1.0', '>= 1.0.1'
31
31
  s.add_runtime_dependency 'json', '~> 2.3', '>= 2.3.0'
32
+ s.add_runtime_dependency 'addressable', '~> 2.3', '>= 2.3.0'
32
33
 
33
34
  s.add_development_dependency 'rspec', '~> 3.6', '>= 3.6.0'
34
35
  s.add_development_dependency 'vcr', '~> 3.0', '>= 3.0.1'
@@ -42,4 +43,4 @@ Gem::Specification.new do |s|
42
43
  s.test_files = `find spec/*`.split("\n")
43
44
  s.executables = []
44
45
  s.require_paths = ["lib"]
45
- end
46
+ end
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 2.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.12
9
+ Swagger Codegen version: 2.4.27
10
10
 
11
11
  =end
12
12
 
@@ -89,6 +89,23 @@ describe RusticiSoftwareCloudV2::ApiClient do
89
89
  end
90
90
  end
91
91
 
92
+ describe '#build_request' do
93
+ let(:config) { RusticiSoftwareCloudV2::Configuration.new }
94
+ let(:api_client) { RusticiSoftwareCloudV2::ApiClient.new(config) }
95
+
96
+ it 'does not send multipart to request' do
97
+ expect(Typhoeus::Request).to receive(:new).with(anything, hash_not_including(:multipart))
98
+ api_client.build_request(:get, '/test')
99
+ end
100
+
101
+ context 'when the content type is multipart' do
102
+ it 'sends multipart to request' do
103
+ expect(Typhoeus::Request).to receive(:new).with(anything, hash_including(multipart: true))
104
+ api_client.build_request(:get, '/test', {header_params: { 'Content-Type' => 'multipart/form-data'}})
105
+ end
106
+ end
107
+ end
108
+
92
109
  describe '#deserialize' do
93
110
  it "handles Array<Integer>" do
94
111
  api_client = RusticiSoftwareCloudV2::ApiClient.new
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 2.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.12
9
+ Swagger Codegen version: 2.4.27
10
10
 
11
11
  =end
12
12
 
data/spec/spec_helper.rb CHANGED
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 2.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.12
9
+ Swagger Codegen version: 2.4.27
10
10
 
11
11
  =end
12
12
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rustici_software_cloud_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 2.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rustici Software
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-03-23 00:00:00.000000000 Z
11
+ date: 2022-09-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -50,6 +50,26 @@ dependencies:
50
50
  - - "~>"
51
51
  - !ruby/object:Gem::Version
52
52
  version: '2.3'
53
+ - !ruby/object:Gem::Dependency
54
+ name: addressable
55
+ requirement: !ruby/object:Gem::Requirement
56
+ requirements:
57
+ - - ">="
58
+ - !ruby/object:Gem::Version
59
+ version: 2.3.0
60
+ - - "~>"
61
+ - !ruby/object:Gem::Version
62
+ version: '2.3'
63
+ type: :runtime
64
+ prerelease: false
65
+ version_requirements: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - ">="
68
+ - !ruby/object:Gem::Version
69
+ version: 2.3.0
70
+ - - "~>"
71
+ - !ruby/object:Gem::Version
72
+ version: '2.3'
53
73
  - !ruby/object:Gem::Dependency
54
74
  name: rspec
55
75
  requirement: !ruby/object:Gem::Requirement
@@ -205,6 +225,7 @@ files:
205
225
  - lib/rustici_software_cloud_v2/api/about_api.rb
206
226
  - lib/rustici_software_cloud_v2/api/application_management_api.rb
207
227
  - lib/rustici_software_cloud_v2/api/authentication_api.rb
228
+ - lib/rustici_software_cloud_v2/api/content_connectors_api.rb
208
229
  - lib/rustici_software_cloud_v2/api/course_api.rb
209
230
  - lib/rustici_software_cloud_v2/api/dispatch_api.rb
210
231
  - lib/rustici_software_cloud_v2/api/invitations_api.rb
@@ -219,17 +240,23 @@ files:
219
240
  - lib/rustici_software_cloud_v2/configuration.rb
220
241
  - lib/rustici_software_cloud_v2/models/about_schema.rb
221
242
  - lib/rustici_software_cloud_v2/models/activity_result_schema.rb
243
+ - lib/rustici_software_cloud_v2/models/application_info_schema.rb
222
244
  - lib/rustici_software_cloud_v2/models/application_list_schema.rb
245
+ - lib/rustici_software_cloud_v2/models/application_request_schema.rb
223
246
  - lib/rustici_software_cloud_v2/models/application_schema.rb
224
247
  - lib/rustici_software_cloud_v2/models/application_token.rb
248
+ - lib/rustici_software_cloud_v2/models/asset_file_schema.rb
225
249
  - lib/rustici_software_cloud_v2/models/batch_tags_schema.rb
226
250
  - lib/rustici_software_cloud_v2/models/comment_schema.rb
227
251
  - lib/rustici_software_cloud_v2/models/completion_amount_schema.rb
252
+ - lib/rustici_software_cloud_v2/models/connector_list_schema.rb
253
+ - lib/rustici_software_cloud_v2/models/connector_schema.rb
228
254
  - lib/rustici_software_cloud_v2/models/course_activity_schema.rb
229
255
  - lib/rustici_software_cloud_v2/models/course_list_non_paged_schema.rb
230
256
  - lib/rustici_software_cloud_v2/models/course_list_schema.rb
231
257
  - lib/rustici_software_cloud_v2/models/course_reference_schema.rb
232
258
  - lib/rustici_software_cloud_v2/models/course_schema.rb
259
+ - lib/rustici_software_cloud_v2/models/create_connector_schema.rb
233
260
  - lib/rustici_software_cloud_v2/models/create_dispatch_id_schema.rb
234
261
  - lib/rustici_software_cloud_v2/models/create_dispatch_list_schema.rb
235
262
  - lib/rustici_software_cloud_v2/models/create_dispatch_schema.rb
@@ -245,11 +272,19 @@ files:
245
272
  - lib/rustici_software_cloud_v2/models/destination_schema.rb
246
273
  - lib/rustici_software_cloud_v2/models/dispatch_id_schema.rb
247
274
  - lib/rustici_software_cloud_v2/models/dispatch_list_schema.rb
275
+ - lib/rustici_software_cloud_v2/models/dispatch_lti13_info_schema.rb
276
+ - lib/rustici_software_cloud_v2/models/dispatch_lti_info_schema.rb
248
277
  - lib/rustici_software_cloud_v2/models/dispatch_registration_count_schema.rb
249
278
  - lib/rustici_software_cloud_v2/models/dispatch_schema.rb
250
279
  - lib/rustici_software_cloud_v2/models/enabled_schema.rb
280
+ - lib/rustici_software_cloud_v2/models/file_list_item_schema.rb
281
+ - lib/rustici_software_cloud_v2/models/file_list_schema.rb
282
+ - lib/rustici_software_cloud_v2/models/import_asset_request_schema.rb
283
+ - lib/rustici_software_cloud_v2/models/import_connector_request_schema.rb
251
284
  - lib/rustici_software_cloud_v2/models/import_fetch_request_schema.rb
252
285
  - lib/rustici_software_cloud_v2/models/import_job_result_schema.rb
286
+ - lib/rustici_software_cloud_v2/models/import_media_file_reference_request_schema.rb
287
+ - lib/rustici_software_cloud_v2/models/import_request_schema.rb
253
288
  - lib/rustici_software_cloud_v2/models/import_result_schema.rb
254
289
  - lib/rustici_software_cloud_v2/models/integer_result_schema.rb
255
290
  - lib/rustici_software_cloud_v2/models/invitation_email_schema.rb
@@ -265,6 +300,9 @@ files:
265
300
  - lib/rustici_software_cloud_v2/models/launch_link_schema.rb
266
301
  - lib/rustici_software_cloud_v2/models/learner_preference_schema.rb
267
302
  - lib/rustici_software_cloud_v2/models/learner_schema.rb
303
+ - lib/rustici_software_cloud_v2/models/lti13_platform_configuration_schema.rb
304
+ - lib/rustici_software_cloud_v2/models/lti13_tool_configuration_schema.rb
305
+ - lib/rustici_software_cloud_v2/models/media_file_metadata_schema.rb
268
306
  - lib/rustici_software_cloud_v2/models/message_schema.rb
269
307
  - lib/rustici_software_cloud_v2/models/metadata_schema.rb
270
308
  - lib/rustici_software_cloud_v2/models/objective_schema.rb
@@ -273,8 +311,10 @@ files:
273
311
  - lib/rustici_software_cloud_v2/models/post_back_schema.rb
274
312
  - lib/rustici_software_cloud_v2/models/private_invitation_list.rb
275
313
  - lib/rustici_software_cloud_v2/models/private_invitation_schema.rb
314
+ - lib/rustici_software_cloud_v2/models/private_invitation_update_schema.rb
276
315
  - lib/rustici_software_cloud_v2/models/public_invitation_list.rb
277
316
  - lib/rustici_software_cloud_v2/models/public_invitation_schema.rb
317
+ - lib/rustici_software_cloud_v2/models/public_invitation_update_schema.rb
278
318
  - lib/rustici_software_cloud_v2/models/registration_completion.rb
279
319
  - lib/rustici_software_cloud_v2/models/registration_list_schema.rb
280
320
  - lib/rustici_software_cloud_v2/models/registration_schema.rb
@@ -300,6 +340,8 @@ files:
300
340
  - lib/rustici_software_cloud_v2/models/tag_list_schema.rb
301
341
  - lib/rustici_software_cloud_v2/models/title_schema.rb
302
342
  - lib/rustici_software_cloud_v2/models/token_request_schema.rb
343
+ - lib/rustici_software_cloud_v2/models/update_application_schema.rb
344
+ - lib/rustici_software_cloud_v2/models/update_connector_schema.rb
303
345
  - lib/rustici_software_cloud_v2/models/update_dispatch_schema.rb
304
346
  - lib/rustici_software_cloud_v2/models/user_invitation_list.rb
305
347
  - lib/rustici_software_cloud_v2/models/user_invitation_schema.rb
@@ -355,7 +397,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
355
397
  - !ruby/object:Gem::Version
356
398
  version: '0'
357
399
  requirements: []
358
- rubygems_version: 3.0.3
400
+ rubygems_version: 3.0.3.1
359
401
  signing_key:
360
402
  specification_version: 4
361
403
  summary: A Ruby wrapper for the SCORM Cloud API V2