rustici_software_cloud_v2 2.0.0 → 2.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (160) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -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 +1 -1
  5. data/lib/rustici_software_cloud_v2/api/authentication_api.rb +1 -1
  6. data/lib/rustici_software_cloud_v2/api/content_connectors_api.rb +236 -0
  7. data/lib/rustici_software_cloud_v2/api/course_api.rb +117 -3
  8. data/lib/rustici_software_cloud_v2/api/dispatch_api.rb +178 -3
  9. data/lib/rustici_software_cloud_v2/api/invitations_api.rb +1 -1
  10. data/lib/rustici_software_cloud_v2/api/learner_api.rb +1 -1
  11. data/lib/rustici_software_cloud_v2/api/ping_api.rb +1 -1
  12. data/lib/rustici_software_cloud_v2/api/registration_api.rb +1 -1
  13. data/lib/rustici_software_cloud_v2/api/reporting_api.rb +1 -1
  14. data/lib/rustici_software_cloud_v2/api/xapi_api.rb +1 -1
  15. data/lib/rustici_software_cloud_v2/api/zoomi_api.rb +1 -1
  16. data/lib/rustici_software_cloud_v2/api_client.rb +1 -1
  17. data/lib/rustici_software_cloud_v2/api_error.rb +1 -1
  18. data/lib/rustici_software_cloud_v2/configuration.rb +8 -1
  19. data/lib/rustici_software_cloud_v2/models/about_schema.rb +1 -1
  20. data/lib/rustici_software_cloud_v2/models/activity_result_schema.rb +1 -1
  21. data/lib/rustici_software_cloud_v2/models/application_info_schema.rb +1 -1
  22. data/lib/rustici_software_cloud_v2/models/application_list_schema.rb +1 -1
  23. data/lib/rustici_software_cloud_v2/models/application_request_schema.rb +1 -1
  24. data/lib/rustici_software_cloud_v2/models/application_schema.rb +1 -1
  25. data/lib/rustici_software_cloud_v2/models/application_token.rb +1 -1
  26. data/lib/rustici_software_cloud_v2/models/asset_file_schema.rb +1 -1
  27. data/lib/rustici_software_cloud_v2/models/batch_tags_schema.rb +1 -1
  28. data/lib/rustici_software_cloud_v2/models/comment_schema.rb +1 -1
  29. data/lib/rustici_software_cloud_v2/models/completion_amount_schema.rb +1 -1
  30. data/lib/rustici_software_cloud_v2/models/connector_list_schema.rb +188 -0
  31. data/lib/rustici_software_cloud_v2/models/connector_schema.rb +226 -0
  32. data/lib/rustici_software_cloud_v2/models/course_activity_schema.rb +2 -2
  33. data/lib/rustici_software_cloud_v2/models/course_list_non_paged_schema.rb +1 -1
  34. data/lib/rustici_software_cloud_v2/models/course_list_schema.rb +1 -1
  35. data/lib/rustici_software_cloud_v2/models/course_reference_schema.rb +1 -1
  36. data/lib/rustici_software_cloud_v2/models/course_schema.rb +2 -2
  37. data/lib/rustici_software_cloud_v2/models/create_connector_schema.rb +218 -0
  38. data/lib/rustici_software_cloud_v2/models/create_dispatch_id_schema.rb +1 -1
  39. data/lib/rustici_software_cloud_v2/models/create_dispatch_list_schema.rb +1 -1
  40. data/lib/rustici_software_cloud_v2/models/create_dispatch_schema.rb +1 -1
  41. data/lib/rustici_software_cloud_v2/models/create_private_invitation_schema.rb +1 -1
  42. data/lib/rustici_software_cloud_v2/models/create_public_invitation_schema.rb +1 -1
  43. data/lib/rustici_software_cloud_v2/models/create_registration_schema.rb +1 -1
  44. data/lib/rustici_software_cloud_v2/models/credential_created_schema.rb +1 -1
  45. data/lib/rustici_software_cloud_v2/models/credential_list_schema.rb +1 -1
  46. data/lib/rustici_software_cloud_v2/models/credential_request_schema.rb +1 -1
  47. data/lib/rustici_software_cloud_v2/models/credential_schema.rb +1 -1
  48. data/lib/rustici_software_cloud_v2/models/destination_id_schema.rb +1 -1
  49. data/lib/rustici_software_cloud_v2/models/destination_list_schema.rb +1 -1
  50. data/lib/rustici_software_cloud_v2/models/destination_schema.rb +32 -5
  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 +186 -0
  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 +1 -1
  56. data/lib/rustici_software_cloud_v2/models/dispatch_schema.rb +1 -1
  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 +207 -0
  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 +15 -6
  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/invitation_job_status_schema.rb +1 -1
  70. data/lib/rustici_software_cloud_v2/models/invitation_summary_list.rb +1 -1
  71. data/lib/rustici_software_cloud_v2/models/invitation_summary_schema.rb +1 -1
  72. data/lib/rustici_software_cloud_v2/models/item_value_pair_schema.rb +1 -1
  73. data/lib/rustici_software_cloud_v2/models/launch_auth_options_schema.rb +1 -1
  74. data/lib/rustici_software_cloud_v2/models/launch_auth_schema.rb +1 -1
  75. data/lib/rustici_software_cloud_v2/models/launch_history_list_schema.rb +1 -1
  76. data/lib/rustici_software_cloud_v2/models/launch_history_schema.rb +1 -1
  77. data/lib/rustici_software_cloud_v2/models/launch_link_request_schema.rb +1 -1
  78. data/lib/rustici_software_cloud_v2/models/launch_link_schema.rb +1 -1
  79. data/lib/rustici_software_cloud_v2/models/learner_preference_schema.rb +1 -1
  80. data/lib/rustici_software_cloud_v2/models/learner_schema.rb +1 -1
  81. data/lib/rustici_software_cloud_v2/models/lti13_platform_configuration_schema.rb +261 -0
  82. data/lib/rustici_software_cloud_v2/models/lti13_tool_configuration_schema.rb +236 -0
  83. data/lib/rustici_software_cloud_v2/models/media_file_metadata_schema.rb +1 -1
  84. data/lib/rustici_software_cloud_v2/models/message_schema.rb +1 -1
  85. data/lib/rustici_software_cloud_v2/models/metadata_schema.rb +1 -1
  86. data/lib/rustici_software_cloud_v2/models/objective_schema.rb +1 -1
  87. data/lib/rustici_software_cloud_v2/models/permissions_schema.rb +1 -1
  88. data/lib/rustici_software_cloud_v2/models/ping_schema.rb +1 -1
  89. data/lib/rustici_software_cloud_v2/models/post_back_schema.rb +1 -1
  90. data/lib/rustici_software_cloud_v2/models/private_invitation_list.rb +1 -1
  91. data/lib/rustici_software_cloud_v2/models/private_invitation_schema.rb +1 -1
  92. data/lib/rustici_software_cloud_v2/models/private_invitation_update_schema.rb +1 -1
  93. data/lib/rustici_software_cloud_v2/models/public_invitation_list.rb +1 -1
  94. data/lib/rustici_software_cloud_v2/models/public_invitation_schema.rb +11 -2
  95. data/lib/rustici_software_cloud_v2/models/public_invitation_update_schema.rb +1 -1
  96. data/lib/rustici_software_cloud_v2/models/registration_completion.rb +1 -1
  97. data/lib/rustici_software_cloud_v2/models/registration_list_schema.rb +1 -1
  98. data/lib/rustici_software_cloud_v2/models/registration_schema.rb +1 -1
  99. data/lib/rustici_software_cloud_v2/models/registration_success.rb +1 -1
  100. data/lib/rustici_software_cloud_v2/models/reportage_account_info_schema.rb +1 -1
  101. data/lib/rustici_software_cloud_v2/models/reportage_account_info_usage_schema.rb +1 -1
  102. data/lib/rustici_software_cloud_v2/models/reportage_auth_token_schema.rb +1 -1
  103. data/lib/rustici_software_cloud_v2/models/reportage_link_schema.rb +1 -1
  104. data/lib/rustici_software_cloud_v2/models/response_error.rb +1 -1
  105. data/lib/rustici_software_cloud_v2/models/runtime_interaction_schema.rb +1 -1
  106. data/lib/rustici_software_cloud_v2/models/runtime_objective_schema.rb +1 -1
  107. data/lib/rustici_software_cloud_v2/models/runtime_schema.rb +1 -1
  108. data/lib/rustici_software_cloud_v2/models/score_schema.rb +1 -1
  109. data/lib/rustici_software_cloud_v2/models/setting_item.rb +1 -1
  110. data/lib/rustici_software_cloud_v2/models/setting_list_schema.rb +1 -1
  111. data/lib/rustici_software_cloud_v2/models/setting_metadata.rb +1 -1
  112. data/lib/rustici_software_cloud_v2/models/setting_valid_value.rb +1 -1
  113. data/lib/rustici_software_cloud_v2/models/settings_individual_schema.rb +1 -1
  114. data/lib/rustici_software_cloud_v2/models/settings_post_schema.rb +1 -1
  115. data/lib/rustici_software_cloud_v2/models/shared_data_entry_schema.rb +1 -1
  116. data/lib/rustici_software_cloud_v2/models/static_properties_schema.rb +1 -1
  117. data/lib/rustici_software_cloud_v2/models/string_result_schema.rb +1 -1
  118. data/lib/rustici_software_cloud_v2/models/tag_list_schema.rb +1 -1
  119. data/lib/rustici_software_cloud_v2/models/title_schema.rb +1 -1
  120. data/lib/rustici_software_cloud_v2/models/token_request_schema.rb +1 -1
  121. data/lib/rustici_software_cloud_v2/models/update_application_schema.rb +1 -1
  122. data/lib/rustici_software_cloud_v2/models/update_connector_schema.rb +196 -0
  123. data/lib/rustici_software_cloud_v2/models/update_dispatch_schema.rb +1 -1
  124. data/lib/rustici_software_cloud_v2/models/user_invitation_list.rb +1 -1
  125. data/lib/rustici_software_cloud_v2/models/user_invitation_schema.rb +1 -1
  126. data/lib/rustici_software_cloud_v2/models/user_invitation_schema_registration_report.rb +1 -1
  127. data/lib/rustici_software_cloud_v2/models/xapi_account.rb +1 -1
  128. data/lib/rustici_software_cloud_v2/models/xapi_activity.rb +1 -1
  129. data/lib/rustici_software_cloud_v2/models/xapi_activity_definition.rb +1 -1
  130. data/lib/rustici_software_cloud_v2/models/xapi_agent_group.rb +1 -1
  131. data/lib/rustici_software_cloud_v2/models/xapi_attachment.rb +1 -1
  132. data/lib/rustici_software_cloud_v2/models/xapi_context.rb +1 -1
  133. data/lib/rustici_software_cloud_v2/models/xapi_context_activity.rb +1 -1
  134. data/lib/rustici_software_cloud_v2/models/xapi_credential_auth_type_schema.rb +1 -1
  135. data/lib/rustici_software_cloud_v2/models/xapi_credential_permissions_level_schema.rb +1 -1
  136. data/lib/rustici_software_cloud_v2/models/xapi_credential_post_schema.rb +1 -1
  137. data/lib/rustici_software_cloud_v2/models/xapi_credential_put_schema.rb +1 -1
  138. data/lib/rustici_software_cloud_v2/models/xapi_credential_schema.rb +1 -1
  139. data/lib/rustici_software_cloud_v2/models/xapi_credentials_list_schema.rb +1 -1
  140. data/lib/rustici_software_cloud_v2/models/xapi_endpoint_schema.rb +1 -1
  141. data/lib/rustici_software_cloud_v2/models/xapi_interaction_component.rb +1 -1
  142. data/lib/rustici_software_cloud_v2/models/xapi_result.rb +1 -1
  143. data/lib/rustici_software_cloud_v2/models/xapi_score.rb +1 -1
  144. data/lib/rustici_software_cloud_v2/models/xapi_statement.rb +1 -1
  145. data/lib/rustici_software_cloud_v2/models/xapi_statement_pipe_list_schema.rb +1 -1
  146. data/lib/rustici_software_cloud_v2/models/xapi_statement_pipe_post_schema.rb +1 -1
  147. data/lib/rustici_software_cloud_v2/models/xapi_statement_pipe_put_schema.rb +1 -1
  148. data/lib/rustici_software_cloud_v2/models/xapi_statement_pipe_schema.rb +1 -1
  149. data/lib/rustici_software_cloud_v2/models/xapi_statement_reference.rb +1 -1
  150. data/lib/rustici_software_cloud_v2/models/xapi_statement_result.rb +1 -1
  151. data/lib/rustici_software_cloud_v2/models/xapi_verb.rb +1 -1
  152. data/lib/rustici_software_cloud_v2/models/zoomi_company_id.rb +1 -1
  153. data/lib/rustici_software_cloud_v2/models/zoomi_course_options_schema.rb +1 -1
  154. data/lib/rustici_software_cloud_v2/version.rb +2 -2
  155. data/lib/rustici_software_cloud_v2.rb +10 -1
  156. data/rustici_software_cloud_v2.gemspec +1 -1
  157. data/spec/api_client_spec.rb +1 -1
  158. data/spec/configuration_spec.rb +1 -1
  159. data/spec/spec_helper.rb +1 -1
  160. metadata +12 -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
 
@@ -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
 
@@ -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
 
@@ -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
 
@@ -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
 
@@ -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
 
@@ -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
 
@@ -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
 
@@ -23,6 +23,8 @@ module RusticiSoftwareCloudV2
23
23
  # If true, then new registrations can be created for this invitation.
24
24
  attr_accessor :allow_launch
25
25
 
26
+ attr_accessor :invitation_email
27
+
26
28
  # If true, then new registrations can be created for this invitation.
27
29
  attr_accessor :allow_new_registrations
28
30
 
@@ -52,6 +54,7 @@ module RusticiSoftwareCloudV2
52
54
  :'id' => :'id',
53
55
  :'course_id' => :'courseId',
54
56
  :'allow_launch' => :'allowLaunch',
57
+ :'invitation_email' => :'invitationEmail',
55
58
  :'allow_new_registrations' => :'allowNewRegistrations',
56
59
  :'url' => :'url',
57
60
  :'create_date' => :'createDate',
@@ -69,6 +72,7 @@ module RusticiSoftwareCloudV2
69
72
  :'id' => :'String',
70
73
  :'course_id' => :'String',
71
74
  :'allow_launch' => :'BOOLEAN',
75
+ :'invitation_email' => :'InvitationEmailSchema',
72
76
  :'allow_new_registrations' => :'BOOLEAN',
73
77
  :'url' => :'String',
74
78
  :'create_date' => :'DateTime',
@@ -100,6 +104,10 @@ module RusticiSoftwareCloudV2
100
104
  self.allow_launch = attributes[:'allowLaunch']
101
105
  end
102
106
 
107
+ if attributes.has_key?(:'invitationEmail')
108
+ self.invitation_email = attributes[:'invitationEmail']
109
+ end
110
+
103
111
  if attributes.has_key?(:'allowNewRegistrations')
104
112
  self.allow_new_registrations = attributes[:'allowNewRegistrations']
105
113
  end
@@ -157,6 +165,7 @@ module RusticiSoftwareCloudV2
157
165
  id == o.id &&
158
166
  course_id == o.course_id &&
159
167
  allow_launch == o.allow_launch &&
168
+ invitation_email == o.invitation_email &&
160
169
  allow_new_registrations == o.allow_new_registrations &&
161
170
  url == o.url &&
162
171
  create_date == o.create_date &&
@@ -176,7 +185,7 @@ module RusticiSoftwareCloudV2
176
185
  # Calculates hash code according to all attributes.
177
186
  # @return [Fixnum] Hash code
178
187
  def hash
179
- [id, course_id, allow_launch, allow_new_registrations, url, create_date, updated, post_back, expiration_date, registration_cap, registration_count].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
180
189
  end
181
190
 
182
191
  # Builds the object from hash
@@ -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
 
@@ -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
 
@@ -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
 
@@ -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
 
@@ -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
 
@@ -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
 
@@ -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
 
@@ -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
 
@@ -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
 
@@ -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
 
@@ -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
 
@@ -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
 
@@ -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
 
@@ -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
 
@@ -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
 
@@ -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
 
@@ -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
 
@@ -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
 
@@ -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
 
@@ -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
 
@@ -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
 
@@ -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
 
@@ -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
 
@@ -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
 
@@ -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
 
@@ -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
 
@@ -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
 
@@ -0,0 +1,196 @@
1
+ =begin
2
+ #SCORM Cloud Rest API
3
+
4
+ #REST API used for SCORM Cloud integrations.
5
+
6
+ OpenAPI spec version: 2.0
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.4.27
10
+
11
+ =end
12
+
13
+ require 'date'
14
+
15
+ module RusticiSoftwareCloudV2
16
+ class UpdateConnectorSchema
17
+ # configuration for this content connector, format is implementation specific
18
+ attr_accessor :configuration
19
+
20
+ # is this connector enabled
21
+ attr_accessor :enabled
22
+
23
+ # Attribute mapping from ruby-style variable name to JSON key.
24
+ def self.attribute_map
25
+ {
26
+ :'configuration' => :'configuration',
27
+ :'enabled' => :'enabled'
28
+ }
29
+ end
30
+
31
+ # Attribute type mapping.
32
+ def self.swagger_types
33
+ {
34
+ :'configuration' => :'Object',
35
+ :'enabled' => :'BOOLEAN'
36
+ }
37
+ end
38
+
39
+ # Initializes the object
40
+ # @param [Hash] attributes Model attributes in the form of hash
41
+ def initialize(attributes = {})
42
+ return unless attributes.is_a?(Hash)
43
+
44
+ # convert string to symbol for hash key
45
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
46
+
47
+ if attributes.has_key?(:'configuration')
48
+ self.configuration = attributes[:'configuration']
49
+ end
50
+
51
+ if attributes.has_key?(:'enabled')
52
+ self.enabled = attributes[:'enabled']
53
+ end
54
+ end
55
+
56
+ # Show invalid properties with the reasons. Usually used together with valid?
57
+ # @return Array for valid properties with the reasons
58
+ def list_invalid_properties
59
+ invalid_properties = Array.new
60
+ invalid_properties
61
+ end
62
+
63
+ # Check to see if the all the properties in the model are valid
64
+ # @return true if the model is valid
65
+ def valid?
66
+ true
67
+ end
68
+
69
+
70
+ # Checks equality by comparing each attribute.
71
+ # @param [Object] Object to be compared
72
+ def ==(o)
73
+ return true if self.equal?(o)
74
+ self.class == o.class &&
75
+ configuration == o.configuration &&
76
+ enabled == o.enabled
77
+ end
78
+
79
+ # @see the `==` method
80
+ # @param [Object] Object to be compared
81
+ def eql?(o)
82
+ self == o
83
+ end
84
+
85
+ # Calculates hash code according to all attributes.
86
+ # @return [Fixnum] Hash code
87
+ def hash
88
+ [configuration, enabled].hash
89
+ end
90
+
91
+ # Builds the object from hash
92
+ # @param [Hash] attributes Model attributes in the form of hash
93
+ # @return [Object] Returns the model itself
94
+ def build_from_hash(attributes)
95
+ return nil unless attributes.is_a?(Hash)
96
+ self.class.swagger_types.each_pair do |key, type|
97
+ if type =~ /\AArray<(.*)>/i
98
+ # check to ensure the input is an array given that the attribute
99
+ # is documented as an array but the input is not
100
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
101
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
102
+ end
103
+ elsif !attributes[self.class.attribute_map[key]].nil?
104
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
105
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
106
+ end
107
+
108
+ self
109
+ end
110
+
111
+ # Deserializes the data based on type
112
+ # @param string type Data type
113
+ # @param string value Value to be deserialized
114
+ # @return [Object] Deserialized data
115
+ def _deserialize(type, value)
116
+ case type.to_sym
117
+ when :DateTime
118
+ DateTime.parse(value)
119
+ when :Date
120
+ Date.parse(value)
121
+ when :String
122
+ value.to_s
123
+ when :Integer
124
+ value.to_i
125
+ when :Float
126
+ value.to_f
127
+ when :BOOLEAN
128
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
129
+ true
130
+ else
131
+ false
132
+ end
133
+ when :Object
134
+ # generic object (usually a Hash), return directly
135
+ value
136
+ when /\AArray<(?<inner_type>.+)>\z/
137
+ inner_type = Regexp.last_match[:inner_type]
138
+ value.map { |v| _deserialize(inner_type, v) }
139
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
140
+ k_type = Regexp.last_match[:k_type]
141
+ v_type = Regexp.last_match[:v_type]
142
+ {}.tap do |hash|
143
+ value.each do |k, v|
144
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
145
+ end
146
+ end
147
+ else # model
148
+ temp_model = RusticiSoftwareCloudV2.const_get(type).new
149
+ temp_model.build_from_hash(value)
150
+ end
151
+ end
152
+
153
+ # Returns the string representation of the object
154
+ # @return [String] String presentation of the object
155
+ def to_s
156
+ to_hash.to_s
157
+ end
158
+
159
+ # to_body is an alias to to_hash (backward compatibility)
160
+ # @return [Hash] Returns the object in the form of hash
161
+ def to_body
162
+ to_hash
163
+ end
164
+
165
+ # Returns the object in the form of hash
166
+ # @return [Hash] Returns the object in the form of hash
167
+ def to_hash
168
+ hash = {}
169
+ self.class.attribute_map.each_pair do |attr, param|
170
+ value = self.send(attr)
171
+ next if value.nil?
172
+ hash[param] = _to_hash(value)
173
+ end
174
+ hash
175
+ end
176
+
177
+ # Outputs non-array value in the form of hash
178
+ # For object, use to_hash. Otherwise, just return the value
179
+ # @param [Object] value Any valid value
180
+ # @return [Hash] Returns the value in the form of hash
181
+ def _to_hash(value)
182
+ if value.is_a?(Array)
183
+ value.compact.map { |v| _to_hash(v) }
184
+ elsif value.is_a?(Hash)
185
+ {}.tap do |hash|
186
+ value.each { |k, v| hash[k] = _to_hash(v) }
187
+ end
188
+ elsif value.respond_to? :to_hash
189
+ value.to_hash
190
+ else
191
+ value
192
+ end
193
+ end
194
+
195
+ end
196
+ 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
 
@@ -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
 
@@ -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
 
@@ -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
 
@@ -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
 
@@ -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