nodeum_sdk 1.85.1

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 (439) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +9 -0
  3. data/LICENSE +21 -0
  4. data/README.md +472 -0
  5. data/Rakefile +10 -0
  6. data/docs/ActiveJobStatus.md +23 -0
  7. data/docs/ApiKey.md +21 -0
  8. data/docs/ApiKeyCollection.md +19 -0
  9. data/docs/ApiKeyFull.md +17 -0
  10. data/docs/ApiKeyFullAllOf.md +17 -0
  11. data/docs/ApiKeyScope.md +19 -0
  12. data/docs/AttributeError.md +17 -0
  13. data/docs/Blank.md +16 -0
  14. data/docs/ByDateFacet.md +35 -0
  15. data/docs/ByDateFacetBucket.md +17 -0
  16. data/docs/ByDateFacetBucketAllOf.md +17 -0
  17. data/docs/ByDateFacetBuckets.md +17 -0
  18. data/docs/ByFileExtensionFacet.md +17 -0
  19. data/docs/ByFileExtensionFacetAllOf.md +17 -0
  20. data/docs/ByGroupOwnerFacet.md +17 -0
  21. data/docs/ByGroupOwnerFacetAllOf.md +17 -0
  22. data/docs/ByPrimaryFacet.md +17 -0
  23. data/docs/ByPrimaryFacetAllOf.md +17 -0
  24. data/docs/BySecondaryBucket.md +17 -0
  25. data/docs/BySecondaryBucketAllOf.md +17 -0
  26. data/docs/BySecondaryBuckets.md +17 -0
  27. data/docs/BySecondaryFacet.md +29 -0
  28. data/docs/BySecondaryTypeFacet.md +17 -0
  29. data/docs/BySecondaryTypeFacetAllOf.md +17 -0
  30. data/docs/BySizeFacet.md +35 -0
  31. data/docs/ByUserOwnerFacet.md +17 -0
  32. data/docs/ByUserOwnerFacetAllOf.md +17 -0
  33. data/docs/CloudBucket.md +31 -0
  34. data/docs/CloudBucketCollection.md +19 -0
  35. data/docs/CloudBucketSimpleCollection.md +17 -0
  36. data/docs/CloudBucketsApi.md +908 -0
  37. data/docs/CloudConnector.md +31 -0
  38. data/docs/CloudConnectorCollection.md +19 -0
  39. data/docs/CloudConnectorsApi.md +442 -0
  40. data/docs/Container.md +35 -0
  41. data/docs/ContainerCollection.md +19 -0
  42. data/docs/ContainerPrivilege.md +23 -0
  43. data/docs/ContainerPrivilegeCollection.md +19 -0
  44. data/docs/ContainersApi.md +650 -0
  45. data/docs/DateToFileFacets.md +31 -0
  46. data/docs/Error.md +19 -0
  47. data/docs/FileFacet.md +19 -0
  48. data/docs/FilesApi.md +2090 -0
  49. data/docs/Frozen.md +16 -0
  50. data/docs/GreaterThan.md +19 -0
  51. data/docs/GreaterThanAllOf.md +19 -0
  52. data/docs/GreaterThanOrEqualTo.md +19 -0
  53. data/docs/ImportFile.md +39 -0
  54. data/docs/ImportFileCollection.md +19 -0
  55. data/docs/ImportFileWithPath.md +41 -0
  56. data/docs/Invalid.md +17 -0
  57. data/docs/LessThan.md +19 -0
  58. data/docs/LessThanAllOf.md +19 -0
  59. data/docs/LessThanOrEqualTo.md +19 -0
  60. data/docs/MountCollection.md +17 -0
  61. data/docs/MountInfo.md +57 -0
  62. data/docs/MountNotification.md +19 -0
  63. data/docs/MountStatus.md +21 -0
  64. data/docs/MountsApi.md +63 -0
  65. data/docs/Nas.md +27 -0
  66. data/docs/NasApi.md +322 -0
  67. data/docs/NasCollection.md +19 -0
  68. data/docs/NasShare.md +35 -0
  69. data/docs/NasShareCollection.md +19 -0
  70. data/docs/NasSharesApi.md +1155 -0
  71. data/docs/NodeumFile.md +39 -0
  72. data/docs/NodeumFileCollection.md +19 -0
  73. data/docs/NodeumFileWithPath.md +17 -0
  74. data/docs/NodeumFileWithPathAllOf.md +17 -0
  75. data/docs/OccurrenceLessThan.md +19 -0
  76. data/docs/OccurrenceLessThanAllOf.md +19 -0
  77. data/docs/OccurrenceLessThanOrEqualTo.md +19 -0
  78. data/docs/OnTapesFile.md +25 -0
  79. data/docs/OnTapesFileCollection.md +19 -0
  80. data/docs/Pool.md +27 -0
  81. data/docs/PoolCollection.md +19 -0
  82. data/docs/PoolUp.md +21 -0
  83. data/docs/PoolUpAllOf.md +21 -0
  84. data/docs/PoolsApi.md +798 -0
  85. data/docs/PrimaryScan.md +25 -0
  86. data/docs/QuotaOnCache.md +16 -0
  87. data/docs/Reset.md +17 -0
  88. data/docs/ResetSections.md +21 -0
  89. data/docs/SizeToDateFacets.md +31 -0
  90. data/docs/StatisticsApi.md +386 -0
  91. data/docs/SystemGroup.md +21 -0
  92. data/docs/SystemGroupCollection.md +19 -0
  93. data/docs/SystemUser.md +23 -0
  94. data/docs/SystemUserCollection.md +19 -0
  95. data/docs/SystemsApi.md +183 -0
  96. data/docs/Taken.md +17 -0
  97. data/docs/TakenAllOf.md +17 -0
  98. data/docs/Tape.md +65 -0
  99. data/docs/TapeCollection.md +19 -0
  100. data/docs/TapeDrive.md +55 -0
  101. data/docs/TapeDriveAllOf.md +55 -0
  102. data/docs/TapeDriveCollection.md +19 -0
  103. data/docs/TapeDriveDevice.md +29 -0
  104. data/docs/TapeDriveDeviceCollection.md +17 -0
  105. data/docs/TapeDrivesApi.md +730 -0
  106. data/docs/TapeLibrariesApi.md +403 -0
  107. data/docs/TapeLibrary.md +27 -0
  108. data/docs/TapeLibraryAllOf.md +27 -0
  109. data/docs/TapeLibraryCollection.md +19 -0
  110. data/docs/TapeLibraryDevice.md +37 -0
  111. data/docs/TapeLibraryDeviceCollection.md +17 -0
  112. data/docs/TapeStat.md +115 -0
  113. data/docs/TapeStatCollection.md +19 -0
  114. data/docs/TapesApi.md +959 -0
  115. data/docs/Task.md +55 -0
  116. data/docs/TaskCallback.md +21 -0
  117. data/docs/TaskCallbackCollection.md +19 -0
  118. data/docs/TaskCallbacksApi.md +326 -0
  119. data/docs/TaskCollection.md +19 -0
  120. data/docs/TaskDestinationCollection.md +19 -0
  121. data/docs/TaskDestinationDown.md +25 -0
  122. data/docs/TaskDestinationUp.md +27 -0
  123. data/docs/TaskDestinationsApi.md +328 -0
  124. data/docs/TaskExecution.md +51 -0
  125. data/docs/TaskExecutionCollection.md +19 -0
  126. data/docs/TaskExecutionsApi.md +336 -0
  127. data/docs/TaskMetadataApi.md +326 -0
  128. data/docs/TaskMetadatum.md +21 -0
  129. data/docs/TaskMetadatumCollection.md +19 -0
  130. data/docs/TaskOption.md +21 -0
  131. data/docs/TaskOptionCollection.md +19 -0
  132. data/docs/TaskOptionsApi.md +326 -0
  133. data/docs/TaskSchedule.md +34 -0
  134. data/docs/TaskScheduleCollection.md +19 -0
  135. data/docs/TaskSchedulesApi.md +322 -0
  136. data/docs/TaskSourceCollection.md +19 -0
  137. data/docs/TaskSourceDown.md +29 -0
  138. data/docs/TaskSourceUp.md +33 -0
  139. data/docs/TaskSourcesApi.md +330 -0
  140. data/docs/TasksApi.md +846 -0
  141. data/docs/TooLong.md +17 -0
  142. data/docs/TooLongAllOf.md +17 -0
  143. data/docs/TooShort.md +17 -0
  144. data/docs/TooShortAllOf.md +17 -0
  145. data/docs/TypeToSecondaryFacets.md +25 -0
  146. data/docs/UsersApi.md +418 -0
  147. data/git_push.sh +58 -0
  148. data/lib/nodeum_sdk.rb +180 -0
  149. data/lib/nodeum_sdk/api/cloud_buckets_api.rb +1026 -0
  150. data/lib/nodeum_sdk/api/cloud_connectors_api.rb +491 -0
  151. data/lib/nodeum_sdk/api/containers_api.rb +736 -0
  152. data/lib/nodeum_sdk/api/files_api.rb +2418 -0
  153. data/lib/nodeum_sdk/api/mounts_api.rb +78 -0
  154. data/lib/nodeum_sdk/api/nas_api.rb +361 -0
  155. data/lib/nodeum_sdk/api/nas_shares_api.rb +1305 -0
  156. data/lib/nodeum_sdk/api/pools_api.rb +876 -0
  157. data/lib/nodeum_sdk/api/statistics_api.rb +418 -0
  158. data/lib/nodeum_sdk/api/systems_api.rb +215 -0
  159. data/lib/nodeum_sdk/api/tape_drives_api.rb +858 -0
  160. data/lib/nodeum_sdk/api/tape_libraries_api.rb +457 -0
  161. data/lib/nodeum_sdk/api/tapes_api.rb +1104 -0
  162. data/lib/nodeum_sdk/api/task_callbacks_api.rb +382 -0
  163. data/lib/nodeum_sdk/api/task_destinations_api.rb +385 -0
  164. data/lib/nodeum_sdk/api/task_executions_api.rb +399 -0
  165. data/lib/nodeum_sdk/api/task_metadata_api.rb +382 -0
  166. data/lib/nodeum_sdk/api/task_options_api.rb +382 -0
  167. data/lib/nodeum_sdk/api/task_schedules_api.rb +364 -0
  168. data/lib/nodeum_sdk/api/task_sources_api.rb +388 -0
  169. data/lib/nodeum_sdk/api/tasks_api.rb +951 -0
  170. data/lib/nodeum_sdk/api/users_api.rb +452 -0
  171. data/lib/nodeum_sdk/api_client.rb +386 -0
  172. data/lib/nodeum_sdk/api_error.rb +57 -0
  173. data/lib/nodeum_sdk/configuration.rb +255 -0
  174. data/lib/nodeum_sdk/models/active_job_status.rb +267 -0
  175. data/lib/nodeum_sdk/models/api_key.rb +224 -0
  176. data/lib/nodeum_sdk/models/api_key_collection.rb +217 -0
  177. data/lib/nodeum_sdk/models/api_key_full.rb +220 -0
  178. data/lib/nodeum_sdk/models/api_key_full_all_of.rb +208 -0
  179. data/lib/nodeum_sdk/models/api_key_scope.rb +215 -0
  180. data/lib/nodeum_sdk/models/attribute_error.rb +216 -0
  181. data/lib/nodeum_sdk/models/blank.rb +209 -0
  182. data/lib/nodeum_sdk/models/by_date_facet.rb +295 -0
  183. data/lib/nodeum_sdk/models/by_date_facet_bucket.rb +218 -0
  184. data/lib/nodeum_sdk/models/by_date_facet_bucket_all_of.rb +206 -0
  185. data/lib/nodeum_sdk/models/by_date_facet_buckets.rb +208 -0
  186. data/lib/nodeum_sdk/models/by_file_extension_facet.rb +218 -0
  187. data/lib/nodeum_sdk/models/by_file_extension_facet_all_of.rb +206 -0
  188. data/lib/nodeum_sdk/models/by_group_owner_facet.rb +218 -0
  189. data/lib/nodeum_sdk/models/by_group_owner_facet_all_of.rb +206 -0
  190. data/lib/nodeum_sdk/models/by_primary_facet.rb +218 -0
  191. data/lib/nodeum_sdk/models/by_primary_facet_all_of.rb +206 -0
  192. data/lib/nodeum_sdk/models/by_secondary_bucket.rb +218 -0
  193. data/lib/nodeum_sdk/models/by_secondary_bucket_all_of.rb +206 -0
  194. data/lib/nodeum_sdk/models/by_secondary_buckets.rb +208 -0
  195. data/lib/nodeum_sdk/models/by_secondary_facet.rb +268 -0
  196. data/lib/nodeum_sdk/models/by_secondary_type_facet.rb +218 -0
  197. data/lib/nodeum_sdk/models/by_secondary_type_facet_all_of.rb +206 -0
  198. data/lib/nodeum_sdk/models/by_size_facet.rb +295 -0
  199. data/lib/nodeum_sdk/models/by_user_owner_facet.rb +218 -0
  200. data/lib/nodeum_sdk/models/by_user_owner_facet_all_of.rb +206 -0
  201. data/lib/nodeum_sdk/models/cloud_bucket.rb +269 -0
  202. data/lib/nodeum_sdk/models/cloud_bucket_collection.rb +217 -0
  203. data/lib/nodeum_sdk/models/cloud_bucket_simple_collection.rb +208 -0
  204. data/lib/nodeum_sdk/models/cloud_connector.rb +303 -0
  205. data/lib/nodeum_sdk/models/cloud_connector_collection.rb +217 -0
  206. data/lib/nodeum_sdk/models/container.rb +321 -0
  207. data/lib/nodeum_sdk/models/container_collection.rb +217 -0
  208. data/lib/nodeum_sdk/models/container_privilege.rb +279 -0
  209. data/lib/nodeum_sdk/models/container_privilege_collection.rb +217 -0
  210. data/lib/nodeum_sdk/models/date_to_file_facets.rb +269 -0
  211. data/lib/nodeum_sdk/models/error.rb +221 -0
  212. data/lib/nodeum_sdk/models/file_facet.rb +215 -0
  213. data/lib/nodeum_sdk/models/frozen.rb +209 -0
  214. data/lib/nodeum_sdk/models/greater_than.rb +230 -0
  215. data/lib/nodeum_sdk/models/greater_than_all_of.rb +217 -0
  216. data/lib/nodeum_sdk/models/greater_than_or_equal_to.rb +230 -0
  217. data/lib/nodeum_sdk/models/import_file.rb +339 -0
  218. data/lib/nodeum_sdk/models/import_file_collection.rb +217 -0
  219. data/lib/nodeum_sdk/models/import_file_with_path.rb +356 -0
  220. data/lib/nodeum_sdk/models/invalid.rb +220 -0
  221. data/lib/nodeum_sdk/models/less_than.rb +230 -0
  222. data/lib/nodeum_sdk/models/less_than_all_of.rb +217 -0
  223. data/lib/nodeum_sdk/models/less_than_or_equal_to.rb +230 -0
  224. data/lib/nodeum_sdk/models/mount_collection.rb +208 -0
  225. data/lib/nodeum_sdk/models/mount_info.rb +420 -0
  226. data/lib/nodeum_sdk/models/mount_notification.rb +249 -0
  227. data/lib/nodeum_sdk/models/mount_status.rb +224 -0
  228. data/lib/nodeum_sdk/models/nas.rb +285 -0
  229. data/lib/nodeum_sdk/models/nas_collection.rb +217 -0
  230. data/lib/nodeum_sdk/models/nas_share.rb +287 -0
  231. data/lib/nodeum_sdk/models/nas_share_collection.rb +217 -0
  232. data/lib/nodeum_sdk/models/nodeum_file.rb +339 -0
  233. data/lib/nodeum_sdk/models/nodeum_file_collection.rb +217 -0
  234. data/lib/nodeum_sdk/models/nodeum_file_with_path.rb +240 -0
  235. data/lib/nodeum_sdk/models/nodeum_file_with_path_all_of.rb +206 -0
  236. data/lib/nodeum_sdk/models/occurrence_less_than.rb +230 -0
  237. data/lib/nodeum_sdk/models/occurrence_less_than_all_of.rb +217 -0
  238. data/lib/nodeum_sdk/models/occurrence_less_than_or_equal_to.rb +230 -0
  239. data/lib/nodeum_sdk/models/on_tapes_file.rb +278 -0
  240. data/lib/nodeum_sdk/models/on_tapes_file_collection.rb +217 -0
  241. data/lib/nodeum_sdk/models/pool.rb +297 -0
  242. data/lib/nodeum_sdk/models/pool_collection.rb +217 -0
  243. data/lib/nodeum_sdk/models/pool_up.rb +264 -0
  244. data/lib/nodeum_sdk/models/pool_up_all_of.rb +230 -0
  245. data/lib/nodeum_sdk/models/primary_scan.rb +276 -0
  246. data/lib/nodeum_sdk/models/quota_on_cache.rb +209 -0
  247. data/lib/nodeum_sdk/models/reset.rb +209 -0
  248. data/lib/nodeum_sdk/models/reset_sections.rb +265 -0
  249. data/lib/nodeum_sdk/models/size_to_date_facets.rb +269 -0
  250. data/lib/nodeum_sdk/models/system_group.rb +226 -0
  251. data/lib/nodeum_sdk/models/system_group_collection.rb +217 -0
  252. data/lib/nodeum_sdk/models/system_user.rb +233 -0
  253. data/lib/nodeum_sdk/models/system_user_collection.rb +217 -0
  254. data/lib/nodeum_sdk/models/taken.rb +220 -0
  255. data/lib/nodeum_sdk/models/taken_all_of.rb +207 -0
  256. data/lib/nodeum_sdk/models/tape.rb +456 -0
  257. data/lib/nodeum_sdk/models/tape_collection.rb +217 -0
  258. data/lib/nodeum_sdk/models/tape_drive.rb +423 -0
  259. data/lib/nodeum_sdk/models/tape_drive_all_of.rb +411 -0
  260. data/lib/nodeum_sdk/models/tape_drive_collection.rb +217 -0
  261. data/lib/nodeum_sdk/models/tape_drive_device.rb +261 -0
  262. data/lib/nodeum_sdk/models/tape_drive_device_collection.rb +208 -0
  263. data/lib/nodeum_sdk/models/tape_library.rb +297 -0
  264. data/lib/nodeum_sdk/models/tape_library_all_of.rb +285 -0
  265. data/lib/nodeum_sdk/models/tape_library_collection.rb +217 -0
  266. data/lib/nodeum_sdk/models/tape_library_device.rb +330 -0
  267. data/lib/nodeum_sdk/models/tape_library_device_collection.rb +208 -0
  268. data/lib/nodeum_sdk/models/tape_stat.rb +647 -0
  269. data/lib/nodeum_sdk/models/tape_stat_collection.rb +217 -0
  270. data/lib/nodeum_sdk/models/task.rb +483 -0
  271. data/lib/nodeum_sdk/models/task_callback.rb +258 -0
  272. data/lib/nodeum_sdk/models/task_callback_collection.rb +217 -0
  273. data/lib/nodeum_sdk/models/task_collection.rb +217 -0
  274. data/lib/nodeum_sdk/models/task_destination_collection.rb +217 -0
  275. data/lib/nodeum_sdk/models/task_destination_down.rb +242 -0
  276. data/lib/nodeum_sdk/models/task_destination_up.rb +251 -0
  277. data/lib/nodeum_sdk/models/task_execution.rb +441 -0
  278. data/lib/nodeum_sdk/models/task_execution_collection.rb +217 -0
  279. data/lib/nodeum_sdk/models/task_metadatum.rb +224 -0
  280. data/lib/nodeum_sdk/models/task_metadatum_collection.rb +217 -0
  281. data/lib/nodeum_sdk/models/task_option.rb +258 -0
  282. data/lib/nodeum_sdk/models/task_option_collection.rb +217 -0
  283. data/lib/nodeum_sdk/models/task_schedule.rb +278 -0
  284. data/lib/nodeum_sdk/models/task_schedule_collection.rb +217 -0
  285. data/lib/nodeum_sdk/models/task_source_collection.rb +217 -0
  286. data/lib/nodeum_sdk/models/task_source_down.rb +262 -0
  287. data/lib/nodeum_sdk/models/task_source_up.rb +280 -0
  288. data/lib/nodeum_sdk/models/too_long.rb +220 -0
  289. data/lib/nodeum_sdk/models/too_long_all_of.rb +207 -0
  290. data/lib/nodeum_sdk/models/too_short.rb +220 -0
  291. data/lib/nodeum_sdk/models/too_short_all_of.rb +207 -0
  292. data/lib/nodeum_sdk/models/type_to_secondary_facets.rb +242 -0
  293. data/lib/nodeum_sdk/version.rb +15 -0
  294. data/nodeum_sdk.gemspec +39 -0
  295. data/spec/api/cloud_buckets_api_spec.rb +237 -0
  296. data/spec/api/cloud_connectors_api_spec.rb +129 -0
  297. data/spec/api/containers_api_spec.rb +180 -0
  298. data/spec/api/files_api_spec.rb +570 -0
  299. data/spec/api/mounts_api_spec.rb +46 -0
  300. data/spec/api/nas_api_spec.rb +104 -0
  301. data/spec/api/nas_shares_api_spec.rb +292 -0
  302. data/spec/api/pools_api_spec.rb +203 -0
  303. data/spec/api/statistics_api_spec.rb +113 -0
  304. data/spec/api/systems_api_spec.rb +70 -0
  305. data/spec/api/tape_drives_api_spec.rb +220 -0
  306. data/spec/api/tape_libraries_api_spec.rb +127 -0
  307. data/spec/api/tapes_api_spec.rb +279 -0
  308. data/spec/api/task_callbacks_api_spec.rb +106 -0
  309. data/spec/api/task_destinations_api_spec.rb +107 -0
  310. data/spec/api/task_executions_api_spec.rb +127 -0
  311. data/spec/api/task_metadata_api_spec.rb +106 -0
  312. data/spec/api/task_options_api_spec.rb +106 -0
  313. data/spec/api/task_schedules_api_spec.rb +104 -0
  314. data/spec/api/task_sources_api_spec.rb +108 -0
  315. data/spec/api/tasks_api_spec.rb +226 -0
  316. data/spec/api/users_api_spec.rb +119 -0
  317. data/spec/api_client_spec.rb +226 -0
  318. data/spec/configuration_spec.rb +42 -0
  319. data/spec/models/active_job_status_spec.rb +63 -0
  320. data/spec/models/api_key_collection_spec.rb +47 -0
  321. data/spec/models/api_key_full_all_of_spec.rb +41 -0
  322. data/spec/models/api_key_full_spec.rb +41 -0
  323. data/spec/models/api_key_scope_spec.rb +47 -0
  324. data/spec/models/api_key_spec.rb +53 -0
  325. data/spec/models/attribute_error_spec.rb +41 -0
  326. data/spec/models/blank_spec.rb +35 -0
  327. data/spec/models/by_date_facet_bucket_all_of_spec.rb +41 -0
  328. data/spec/models/by_date_facet_bucket_spec.rb +41 -0
  329. data/spec/models/by_date_facet_buckets_spec.rb +41 -0
  330. data/spec/models/by_date_facet_spec.rb +95 -0
  331. data/spec/models/by_file_extension_facet_all_of_spec.rb +41 -0
  332. data/spec/models/by_file_extension_facet_spec.rb +41 -0
  333. data/spec/models/by_group_owner_facet_all_of_spec.rb +41 -0
  334. data/spec/models/by_group_owner_facet_spec.rb +41 -0
  335. data/spec/models/by_primary_facet_all_of_spec.rb +41 -0
  336. data/spec/models/by_primary_facet_spec.rb +41 -0
  337. data/spec/models/by_secondary_bucket_all_of_spec.rb +41 -0
  338. data/spec/models/by_secondary_bucket_spec.rb +41 -0
  339. data/spec/models/by_secondary_buckets_spec.rb +41 -0
  340. data/spec/models/by_secondary_facet_spec.rb +77 -0
  341. data/spec/models/by_secondary_type_facet_all_of_spec.rb +41 -0
  342. data/spec/models/by_secondary_type_facet_spec.rb +41 -0
  343. data/spec/models/by_size_facet_spec.rb +95 -0
  344. data/spec/models/by_user_owner_facet_all_of_spec.rb +41 -0
  345. data/spec/models/by_user_owner_facet_spec.rb +41 -0
  346. data/spec/models/cloud_bucket_collection_spec.rb +47 -0
  347. data/spec/models/cloud_bucket_simple_collection_spec.rb +41 -0
  348. data/spec/models/cloud_bucket_spec.rb +83 -0
  349. data/spec/models/cloud_connector_collection_spec.rb +47 -0
  350. data/spec/models/cloud_connector_spec.rb +87 -0
  351. data/spec/models/container_collection_spec.rb +47 -0
  352. data/spec/models/container_privilege_collection_spec.rb +47 -0
  353. data/spec/models/container_privilege_spec.rb +67 -0
  354. data/spec/models/container_spec.rb +99 -0
  355. data/spec/models/date_to_file_facets_spec.rb +83 -0
  356. data/spec/models/error_spec.rb +47 -0
  357. data/spec/models/file_facet_spec.rb +47 -0
  358. data/spec/models/frozen_spec.rb +35 -0
  359. data/spec/models/greater_than_all_of_spec.rb +47 -0
  360. data/spec/models/greater_than_or_equal_to_spec.rb +47 -0
  361. data/spec/models/greater_than_spec.rb +47 -0
  362. data/spec/models/import_file_collection_spec.rb +47 -0
  363. data/spec/models/import_file_spec.rb +111 -0
  364. data/spec/models/import_file_with_path_spec.rb +117 -0
  365. data/spec/models/invalid_spec.rb +41 -0
  366. data/spec/models/less_than_all_of_spec.rb +47 -0
  367. data/spec/models/less_than_or_equal_to_spec.rb +47 -0
  368. data/spec/models/less_than_spec.rb +47 -0
  369. data/spec/models/mount_collection_spec.rb +41 -0
  370. data/spec/models/mount_info_spec.rb +165 -0
  371. data/spec/models/mount_notification_spec.rb +51 -0
  372. data/spec/models/mount_status_spec.rb +53 -0
  373. data/spec/models/nas_collection_spec.rb +47 -0
  374. data/spec/models/nas_share_collection_spec.rb +47 -0
  375. data/spec/models/nas_share_spec.rb +95 -0
  376. data/spec/models/nas_spec.rb +75 -0
  377. data/spec/models/nodeum_file_collection_spec.rb +47 -0
  378. data/spec/models/nodeum_file_spec.rb +111 -0
  379. data/spec/models/nodeum_file_with_path_all_of_spec.rb +41 -0
  380. data/spec/models/nodeum_file_with_path_spec.rb +41 -0
  381. data/spec/models/occurrence_less_than_all_of_spec.rb +47 -0
  382. data/spec/models/occurrence_less_than_or_equal_to_spec.rb +47 -0
  383. data/spec/models/occurrence_less_than_spec.rb +47 -0
  384. data/spec/models/on_tapes_file_collection_spec.rb +47 -0
  385. data/spec/models/on_tapes_file_spec.rb +69 -0
  386. data/spec/models/pool_collection_spec.rb +47 -0
  387. data/spec/models/pool_spec.rb +79 -0
  388. data/spec/models/pool_up_all_of_spec.rb +53 -0
  389. data/spec/models/pool_up_spec.rb +53 -0
  390. data/spec/models/primary_scan_spec.rb +69 -0
  391. data/spec/models/quota_on_cache_spec.rb +35 -0
  392. data/spec/models/reset_sections_spec.rb +57 -0
  393. data/spec/models/reset_spec.rb +41 -0
  394. data/spec/models/size_to_date_facets_spec.rb +83 -0
  395. data/spec/models/system_group_collection_spec.rb +47 -0
  396. data/spec/models/system_group_spec.rb +53 -0
  397. data/spec/models/system_user_collection_spec.rb +47 -0
  398. data/spec/models/system_user_spec.rb +59 -0
  399. data/spec/models/taken_all_of_spec.rb +41 -0
  400. data/spec/models/taken_spec.rb +41 -0
  401. data/spec/models/tape_collection_spec.rb +47 -0
  402. data/spec/models/tape_drive_all_of_spec.rb +159 -0
  403. data/spec/models/tape_drive_collection_spec.rb +47 -0
  404. data/spec/models/tape_drive_device_collection_spec.rb +41 -0
  405. data/spec/models/tape_drive_device_spec.rb +77 -0
  406. data/spec/models/tape_drive_spec.rb +159 -0
  407. data/spec/models/tape_library_all_of_spec.rb +75 -0
  408. data/spec/models/tape_library_collection_spec.rb +47 -0
  409. data/spec/models/tape_library_device_collection_spec.rb +41 -0
  410. data/spec/models/tape_library_device_spec.rb +105 -0
  411. data/spec/models/tape_library_spec.rb +75 -0
  412. data/spec/models/tape_spec.rb +189 -0
  413. data/spec/models/tape_stat_collection_spec.rb +47 -0
  414. data/spec/models/tape_stat_spec.rb +335 -0
  415. data/spec/models/task_callback_collection_spec.rb +47 -0
  416. data/spec/models/task_callback_spec.rb +57 -0
  417. data/spec/models/task_collection_spec.rb +47 -0
  418. data/spec/models/task_destination_collection_spec.rb +47 -0
  419. data/spec/models/task_destination_down_spec.rb +65 -0
  420. data/spec/models/task_destination_up_spec.rb +71 -0
  421. data/spec/models/task_execution_collection_spec.rb +47 -0
  422. data/spec/models/task_execution_spec.rb +163 -0
  423. data/spec/models/task_metadatum_collection_spec.rb +47 -0
  424. data/spec/models/task_metadatum_spec.rb +53 -0
  425. data/spec/models/task_option_collection_spec.rb +47 -0
  426. data/spec/models/task_option_spec.rb +57 -0
  427. data/spec/models/task_schedule_collection_spec.rb +47 -0
  428. data/spec/models/task_schedule_spec.rb +89 -0
  429. data/spec/models/task_source_collection_spec.rb +47 -0
  430. data/spec/models/task_source_down_spec.rb +77 -0
  431. data/spec/models/task_source_up_spec.rb +89 -0
  432. data/spec/models/task_spec.rb +183 -0
  433. data/spec/models/too_long_all_of_spec.rb +41 -0
  434. data/spec/models/too_long_spec.rb +41 -0
  435. data/spec/models/too_short_all_of_spec.rb +41 -0
  436. data/spec/models/too_short_spec.rb +41 -0
  437. data/spec/models/type_to_secondary_facets_spec.rb +65 -0
  438. data/spec/spec_helper.rb +111 -0
  439. metadata +718 -0
@@ -0,0 +1,846 @@
1
+ # Nodeum::TasksApi
2
+
3
+ All URIs are relative to *http://localhost/api/v2*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**create_task**](TasksApi.md#create_task) | **POST** /tasks | Creates a new task.
8
+ [**destroy_task**](TasksApi.md#destroy_task) | **DELETE** /tasks/{task_id} | Destroys a specific task.
9
+ [**index_tasks**](TasksApi.md#index_tasks) | **GET** /tasks | Lists all tasks.
10
+ [**pause_task**](TasksApi.md#pause_task) | **PUT** /tasks/{task_id}/action/pause | Pause a task.
11
+ [**pause_task_result**](TasksApi.md#pause_task_result) | **GET** /tasks/{task_id}/action/pause | Check result of a task pause request.
12
+ [**resume_task**](TasksApi.md#resume_task) | **PUT** /tasks/{task_id}/action/resume | Resume a task.
13
+ [**resume_task_result**](TasksApi.md#resume_task_result) | **GET** /tasks/{task_id}/action/resume | Check result of a task resume request.
14
+ [**run_task**](TasksApi.md#run_task) | **PUT** /tasks/{task_id}/action/run | Run a task.
15
+ [**run_task_result**](TasksApi.md#run_task_result) | **GET** /tasks/{task_id}/action/run | Check result of a task run request.
16
+ [**show_task**](TasksApi.md#show_task) | **GET** /tasks/{task_id} | Displays a specific task.
17
+ [**stop_task**](TasksApi.md#stop_task) | **PUT** /tasks/{task_id}/action/stop | Stop a task.
18
+ [**stop_task_result**](TasksApi.md#stop_task_result) | **GET** /tasks/{task_id}/action/stop | Check result of a task stop request.
19
+ [**update_task**](TasksApi.md#update_task) | **PUT** /tasks/{task_id} | Updates a specific task.
20
+
21
+
22
+
23
+ ## create_task
24
+
25
+ > Task create_task(task_body)
26
+
27
+ Creates a new task.
28
+
29
+ **API Key Scope**: tasks / create
30
+
31
+ ### Example
32
+
33
+ ```ruby
34
+ # load the gem
35
+ require 'nodeum_sdk'
36
+ # setup authorization
37
+ Nodeum.configure do |config|
38
+ # Configure HTTP basic authorization: BasicAuth
39
+ config.username = 'YOUR USERNAME'
40
+ config.password = 'YOUR PASSWORD'
41
+
42
+ # Configure API key authorization: BearerAuth
43
+ config.api_key['Authorization'] = 'YOUR API KEY'
44
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
45
+ #config.api_key_prefix['Authorization'] = 'Bearer'
46
+ end
47
+
48
+ api_instance = Nodeum::TasksApi.new
49
+ task_body = Nodeum::Task.new # Task |
50
+
51
+ begin
52
+ #Creates a new task.
53
+ result = api_instance.create_task(task_body)
54
+ p result
55
+ rescue Nodeum::ApiError => e
56
+ puts "Exception when calling TasksApi->create_task: #{e}"
57
+ end
58
+ ```
59
+
60
+ ### Parameters
61
+
62
+
63
+ Name | Type | Description | Notes
64
+ ------------- | ------------- | ------------- | -------------
65
+ **task_body** | [**Task**](Task.md)| |
66
+
67
+ ### Return type
68
+
69
+ [**Task**](Task.md)
70
+
71
+ ### Authorization
72
+
73
+ [BasicAuth](../README.md#BasicAuth), [BearerAuth](../README.md#BearerAuth)
74
+
75
+ ### HTTP request headers
76
+
77
+ - **Content-Type**: application/json
78
+ - **Accept**: application/json
79
+
80
+
81
+ ## destroy_task
82
+
83
+ > destroy_task(task_id)
84
+
85
+ Destroys a specific task.
86
+
87
+ **API Key Scope**: tasks / destroy
88
+
89
+ ### Example
90
+
91
+ ```ruby
92
+ # load the gem
93
+ require 'nodeum_sdk'
94
+ # setup authorization
95
+ Nodeum.configure do |config|
96
+ # Configure HTTP basic authorization: BasicAuth
97
+ config.username = 'YOUR USERNAME'
98
+ config.password = 'YOUR PASSWORD'
99
+
100
+ # Configure API key authorization: BearerAuth
101
+ config.api_key['Authorization'] = 'YOUR API KEY'
102
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
103
+ #config.api_key_prefix['Authorization'] = 'Bearer'
104
+ end
105
+
106
+ api_instance = Nodeum::TasksApi.new
107
+ task_id = 'task_id_example' # String | Numeric ID or name of task. Task names are not unique, it's recommanded to use numeric ID.
108
+
109
+ begin
110
+ #Destroys a specific task.
111
+ api_instance.destroy_task(task_id)
112
+ rescue Nodeum::ApiError => e
113
+ puts "Exception when calling TasksApi->destroy_task: #{e}"
114
+ end
115
+ ```
116
+
117
+ ### Parameters
118
+
119
+
120
+ Name | Type | Description | Notes
121
+ ------------- | ------------- | ------------- | -------------
122
+ **task_id** | **String**| Numeric ID or name of task. Task names are not unique, it's recommanded to use numeric ID. |
123
+
124
+ ### Return type
125
+
126
+ nil (empty response body)
127
+
128
+ ### Authorization
129
+
130
+ [BasicAuth](../README.md#BasicAuth), [BearerAuth](../README.md#BearerAuth)
131
+
132
+ ### HTTP request headers
133
+
134
+ - **Content-Type**: Not defined
135
+ - **Accept**: Not defined
136
+
137
+
138
+ ## index_tasks
139
+
140
+ > TaskCollection index_tasks(opts)
141
+
142
+ Lists all tasks.
143
+
144
+ **API Key Scope**: tasks / index
145
+
146
+ ### Example
147
+
148
+ ```ruby
149
+ # load the gem
150
+ require 'nodeum_sdk'
151
+ # setup authorization
152
+ Nodeum.configure do |config|
153
+ # Configure HTTP basic authorization: BasicAuth
154
+ config.username = 'YOUR USERNAME'
155
+ config.password = 'YOUR PASSWORD'
156
+
157
+ # Configure API key authorization: BearerAuth
158
+ config.api_key['Authorization'] = 'YOUR API KEY'
159
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
160
+ #config.api_key_prefix['Authorization'] = 'Bearer'
161
+ end
162
+
163
+ api_instance = Nodeum::TasksApi.new
164
+ opts = {
165
+ limit: 56, # Integer | The number of items to display for pagination.
166
+ offset: 56, # Integer | The number of items to skip for pagination.
167
+ sort_by: ['sort_by_example'], # Array<String> | Sort results by attribute. Can sort on multiple attributes, separated by `|`. Order direction can be suffixing the attribute by either `:asc` (default) or `:desc`.
168
+ id: 'id_example', # String | Filter on id
169
+ name: 'name_example', # String | Filter on name
170
+ comment: 'comment_example', # String | Filter on comment
171
+ workflow_type: 'workflow_type_example', # String | Filter on task workflow type
172
+ workflow_action: 'workflow_action_example', # String | Filter on task workflow action
173
+ source_type: 'source_type_example', # String | Filter on task source type
174
+ destination_type: 'destination_type_example', # String | Filter on task destination type
175
+ priority: 'priority_example', # String | Filter on priority
176
+ conflict_resolution: 'conflict_resolution_example', # String | Filter on conflict resolution
177
+ action: 'action_example', # String | Filter on action
178
+ activate: 'activate_example', # String | Filter on activate
179
+ creation_date: 'creation_date_example', # String | Filter on creation date
180
+ creation_username: 'creation_username_example', # String | Filter on creation username
181
+ modification_date: 'modification_date_example', # String | Filter on modification date
182
+ modification_username: 'modification_username_example', # String | Filter on modification username
183
+ job_started: 'job_started_example', # String | Filter on job started
184
+ job_finished: 'job_finished_example', # String | Filter on job finished
185
+ status: 'status_example', # String | Filter on status
186
+ processed_size: 'processed_size_example', # String | Filter on processed size
187
+ to_process_size: 'to_process_size_example', # String | Filter on to process size
188
+ source_pool_id: 'source_pool_id_example', # String | Filter on task source pool id
189
+ source_pool_name: 'source_pool_name_example', # String | Filter on task source pool name
190
+ source_tape_id: 'source_tape_id_example', # String | Filter on task source tape id
191
+ source_tape_barcode: 'source_tape_barcode_example', # String | Filter on task source tape barcode
192
+ destination_pool_id: 'destination_pool_id_example', # String | Filter on task destination pool id
193
+ destination_pool_name: 'destination_pool_name_example', # String | Filter on task destination pool name
194
+ destination_tape_id: 'destination_tape_id_example', # String | Filter on task destination tape id
195
+ destination_tape_barcode: 'destination_tape_barcode_example' # String | Filter on task destination tape barcode
196
+ }
197
+
198
+ begin
199
+ #Lists all tasks.
200
+ result = api_instance.index_tasks(opts)
201
+ p result
202
+ rescue Nodeum::ApiError => e
203
+ puts "Exception when calling TasksApi->index_tasks: #{e}"
204
+ end
205
+ ```
206
+
207
+ ### Parameters
208
+
209
+
210
+ Name | Type | Description | Notes
211
+ ------------- | ------------- | ------------- | -------------
212
+ **limit** | **Integer**| The number of items to display for pagination. | [optional]
213
+ **offset** | **Integer**| The number of items to skip for pagination. | [optional]
214
+ **sort_by** | [**Array&lt;String&gt;**](String.md)| Sort results by attribute. Can sort on multiple attributes, separated by &#x60;|&#x60;. Order direction can be suffixing the attribute by either &#x60;:asc&#x60; (default) or &#x60;:desc&#x60;. | [optional]
215
+ **id** | **String**| Filter on id | [optional]
216
+ **name** | **String**| Filter on name | [optional]
217
+ **comment** | **String**| Filter on comment | [optional]
218
+ **workflow_type** | **String**| Filter on task workflow type | [optional]
219
+ **workflow_action** | **String**| Filter on task workflow action | [optional]
220
+ **source_type** | **String**| Filter on task source type | [optional]
221
+ **destination_type** | **String**| Filter on task destination type | [optional]
222
+ **priority** | **String**| Filter on priority | [optional]
223
+ **conflict_resolution** | **String**| Filter on conflict resolution | [optional]
224
+ **action** | **String**| Filter on action | [optional]
225
+ **activate** | **String**| Filter on activate | [optional]
226
+ **creation_date** | **String**| Filter on creation date | [optional]
227
+ **creation_username** | **String**| Filter on creation username | [optional]
228
+ **modification_date** | **String**| Filter on modification date | [optional]
229
+ **modification_username** | **String**| Filter on modification username | [optional]
230
+ **job_started** | **String**| Filter on job started | [optional]
231
+ **job_finished** | **String**| Filter on job finished | [optional]
232
+ **status** | **String**| Filter on status | [optional]
233
+ **processed_size** | **String**| Filter on processed size | [optional]
234
+ **to_process_size** | **String**| Filter on to process size | [optional]
235
+ **source_pool_id** | **String**| Filter on task source pool id | [optional]
236
+ **source_pool_name** | **String**| Filter on task source pool name | [optional]
237
+ **source_tape_id** | **String**| Filter on task source tape id | [optional]
238
+ **source_tape_barcode** | **String**| Filter on task source tape barcode | [optional]
239
+ **destination_pool_id** | **String**| Filter on task destination pool id | [optional]
240
+ **destination_pool_name** | **String**| Filter on task destination pool name | [optional]
241
+ **destination_tape_id** | **String**| Filter on task destination tape id | [optional]
242
+ **destination_tape_barcode** | **String**| Filter on task destination tape barcode | [optional]
243
+
244
+ ### Return type
245
+
246
+ [**TaskCollection**](TaskCollection.md)
247
+
248
+ ### Authorization
249
+
250
+ [BasicAuth](../README.md#BasicAuth), [BearerAuth](../README.md#BearerAuth)
251
+
252
+ ### HTTP request headers
253
+
254
+ - **Content-Type**: Not defined
255
+ - **Accept**: application/json
256
+
257
+
258
+ ## pause_task
259
+
260
+ > ActiveJobStatus pause_task(task_id)
261
+
262
+ Pause a task.
263
+
264
+ **API Key Scope**: tasks / action
265
+
266
+ ### Example
267
+
268
+ ```ruby
269
+ # load the gem
270
+ require 'nodeum_sdk'
271
+ # setup authorization
272
+ Nodeum.configure do |config|
273
+ # Configure HTTP basic authorization: BasicAuth
274
+ config.username = 'YOUR USERNAME'
275
+ config.password = 'YOUR PASSWORD'
276
+
277
+ # Configure API key authorization: BearerAuth
278
+ config.api_key['Authorization'] = 'YOUR API KEY'
279
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
280
+ #config.api_key_prefix['Authorization'] = 'Bearer'
281
+ end
282
+
283
+ api_instance = Nodeum::TasksApi.new
284
+ task_id = 'task_id_example' # String | Numeric ID or name of task. Task names are not unique, it's recommanded to use numeric ID.
285
+
286
+ begin
287
+ #Pause a task.
288
+ result = api_instance.pause_task(task_id)
289
+ p result
290
+ rescue Nodeum::ApiError => e
291
+ puts "Exception when calling TasksApi->pause_task: #{e}"
292
+ end
293
+ ```
294
+
295
+ ### Parameters
296
+
297
+
298
+ Name | Type | Description | Notes
299
+ ------------- | ------------- | ------------- | -------------
300
+ **task_id** | **String**| Numeric ID or name of task. Task names are not unique, it&#39;s recommanded to use numeric ID. |
301
+
302
+ ### Return type
303
+
304
+ [**ActiveJobStatus**](ActiveJobStatus.md)
305
+
306
+ ### Authorization
307
+
308
+ [BasicAuth](../README.md#BasicAuth), [BearerAuth](../README.md#BearerAuth)
309
+
310
+ ### HTTP request headers
311
+
312
+ - **Content-Type**: Not defined
313
+ - **Accept**: application/json, queued, working, failed
314
+
315
+
316
+ ## pause_task_result
317
+
318
+ > ActiveJobStatus pause_task_result(task_id, job_id)
319
+
320
+ Check result of a task pause request.
321
+
322
+ **API Key Scope**: tasks / action
323
+
324
+ ### Example
325
+
326
+ ```ruby
327
+ # load the gem
328
+ require 'nodeum_sdk'
329
+ # setup authorization
330
+ Nodeum.configure do |config|
331
+ # Configure HTTP basic authorization: BasicAuth
332
+ config.username = 'YOUR USERNAME'
333
+ config.password = 'YOUR PASSWORD'
334
+
335
+ # Configure API key authorization: BearerAuth
336
+ config.api_key['Authorization'] = 'YOUR API KEY'
337
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
338
+ #config.api_key_prefix['Authorization'] = 'Bearer'
339
+ end
340
+
341
+ api_instance = Nodeum::TasksApi.new
342
+ task_id = 'task_id_example' # String | Numeric ID or name of task. Task names are not unique, it's recommanded to use numeric ID.
343
+ job_id = 'job_id_example' # String | ID of active job
344
+
345
+ begin
346
+ #Check result of a task pause request.
347
+ result = api_instance.pause_task_result(task_id, job_id)
348
+ p result
349
+ rescue Nodeum::ApiError => e
350
+ puts "Exception when calling TasksApi->pause_task_result: #{e}"
351
+ end
352
+ ```
353
+
354
+ ### Parameters
355
+
356
+
357
+ Name | Type | Description | Notes
358
+ ------------- | ------------- | ------------- | -------------
359
+ **task_id** | **String**| Numeric ID or name of task. Task names are not unique, it&#39;s recommanded to use numeric ID. |
360
+ **job_id** | **String**| ID of active job |
361
+
362
+ ### Return type
363
+
364
+ [**ActiveJobStatus**](ActiveJobStatus.md)
365
+
366
+ ### Authorization
367
+
368
+ [BasicAuth](../README.md#BasicAuth), [BearerAuth](../README.md#BearerAuth)
369
+
370
+ ### HTTP request headers
371
+
372
+ - **Content-Type**: Not defined
373
+ - **Accept**: application/json, queued, working, failed
374
+
375
+
376
+ ## resume_task
377
+
378
+ > ActiveJobStatus resume_task(task_id)
379
+
380
+ Resume a task.
381
+
382
+ **API Key Scope**: tasks / action
383
+
384
+ ### Example
385
+
386
+ ```ruby
387
+ # load the gem
388
+ require 'nodeum_sdk'
389
+ # setup authorization
390
+ Nodeum.configure do |config|
391
+ # Configure HTTP basic authorization: BasicAuth
392
+ config.username = 'YOUR USERNAME'
393
+ config.password = 'YOUR PASSWORD'
394
+
395
+ # Configure API key authorization: BearerAuth
396
+ config.api_key['Authorization'] = 'YOUR API KEY'
397
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
398
+ #config.api_key_prefix['Authorization'] = 'Bearer'
399
+ end
400
+
401
+ api_instance = Nodeum::TasksApi.new
402
+ task_id = 'task_id_example' # String | Numeric ID or name of task. Task names are not unique, it's recommanded to use numeric ID.
403
+
404
+ begin
405
+ #Resume a task.
406
+ result = api_instance.resume_task(task_id)
407
+ p result
408
+ rescue Nodeum::ApiError => e
409
+ puts "Exception when calling TasksApi->resume_task: #{e}"
410
+ end
411
+ ```
412
+
413
+ ### Parameters
414
+
415
+
416
+ Name | Type | Description | Notes
417
+ ------------- | ------------- | ------------- | -------------
418
+ **task_id** | **String**| Numeric ID or name of task. Task names are not unique, it&#39;s recommanded to use numeric ID. |
419
+
420
+ ### Return type
421
+
422
+ [**ActiveJobStatus**](ActiveJobStatus.md)
423
+
424
+ ### Authorization
425
+
426
+ [BasicAuth](../README.md#BasicAuth), [BearerAuth](../README.md#BearerAuth)
427
+
428
+ ### HTTP request headers
429
+
430
+ - **Content-Type**: Not defined
431
+ - **Accept**: application/json, queued, working, failed
432
+
433
+
434
+ ## resume_task_result
435
+
436
+ > ActiveJobStatus resume_task_result(task_id, job_id)
437
+
438
+ Check result of a task resume request.
439
+
440
+ **API Key Scope**: tasks / action
441
+
442
+ ### Example
443
+
444
+ ```ruby
445
+ # load the gem
446
+ require 'nodeum_sdk'
447
+ # setup authorization
448
+ Nodeum.configure do |config|
449
+ # Configure HTTP basic authorization: BasicAuth
450
+ config.username = 'YOUR USERNAME'
451
+ config.password = 'YOUR PASSWORD'
452
+
453
+ # Configure API key authorization: BearerAuth
454
+ config.api_key['Authorization'] = 'YOUR API KEY'
455
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
456
+ #config.api_key_prefix['Authorization'] = 'Bearer'
457
+ end
458
+
459
+ api_instance = Nodeum::TasksApi.new
460
+ task_id = 'task_id_example' # String | Numeric ID or name of task. Task names are not unique, it's recommanded to use numeric ID.
461
+ job_id = 'job_id_example' # String | ID of active job
462
+
463
+ begin
464
+ #Check result of a task resume request.
465
+ result = api_instance.resume_task_result(task_id, job_id)
466
+ p result
467
+ rescue Nodeum::ApiError => e
468
+ puts "Exception when calling TasksApi->resume_task_result: #{e}"
469
+ end
470
+ ```
471
+
472
+ ### Parameters
473
+
474
+
475
+ Name | Type | Description | Notes
476
+ ------------- | ------------- | ------------- | -------------
477
+ **task_id** | **String**| Numeric ID or name of task. Task names are not unique, it&#39;s recommanded to use numeric ID. |
478
+ **job_id** | **String**| ID of active job |
479
+
480
+ ### Return type
481
+
482
+ [**ActiveJobStatus**](ActiveJobStatus.md)
483
+
484
+ ### Authorization
485
+
486
+ [BasicAuth](../README.md#BasicAuth), [BearerAuth](../README.md#BearerAuth)
487
+
488
+ ### HTTP request headers
489
+
490
+ - **Content-Type**: Not defined
491
+ - **Accept**: application/json, queued, working, failed
492
+
493
+
494
+ ## run_task
495
+
496
+ > ActiveJobStatus run_task(task_id)
497
+
498
+ Run a task.
499
+
500
+ **API Key Scope**: tasks / action
501
+
502
+ ### Example
503
+
504
+ ```ruby
505
+ # load the gem
506
+ require 'nodeum_sdk'
507
+ # setup authorization
508
+ Nodeum.configure do |config|
509
+ # Configure HTTP basic authorization: BasicAuth
510
+ config.username = 'YOUR USERNAME'
511
+ config.password = 'YOUR PASSWORD'
512
+
513
+ # Configure API key authorization: BearerAuth
514
+ config.api_key['Authorization'] = 'YOUR API KEY'
515
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
516
+ #config.api_key_prefix['Authorization'] = 'Bearer'
517
+ end
518
+
519
+ api_instance = Nodeum::TasksApi.new
520
+ task_id = 'task_id_example' # String | Numeric ID or name of task. Task names are not unique, it's recommanded to use numeric ID.
521
+
522
+ begin
523
+ #Run a task.
524
+ result = api_instance.run_task(task_id)
525
+ p result
526
+ rescue Nodeum::ApiError => e
527
+ puts "Exception when calling TasksApi->run_task: #{e}"
528
+ end
529
+ ```
530
+
531
+ ### Parameters
532
+
533
+
534
+ Name | Type | Description | Notes
535
+ ------------- | ------------- | ------------- | -------------
536
+ **task_id** | **String**| Numeric ID or name of task. Task names are not unique, it&#39;s recommanded to use numeric ID. |
537
+
538
+ ### Return type
539
+
540
+ [**ActiveJobStatus**](ActiveJobStatus.md)
541
+
542
+ ### Authorization
543
+
544
+ [BasicAuth](../README.md#BasicAuth), [BearerAuth](../README.md#BearerAuth)
545
+
546
+ ### HTTP request headers
547
+
548
+ - **Content-Type**: Not defined
549
+ - **Accept**: application/json, queued, working, failed
550
+
551
+
552
+ ## run_task_result
553
+
554
+ > ActiveJobStatus run_task_result(task_id, job_id)
555
+
556
+ Check result of a task run request.
557
+
558
+ **API Key Scope**: tasks / action
559
+
560
+ ### Example
561
+
562
+ ```ruby
563
+ # load the gem
564
+ require 'nodeum_sdk'
565
+ # setup authorization
566
+ Nodeum.configure do |config|
567
+ # Configure HTTP basic authorization: BasicAuth
568
+ config.username = 'YOUR USERNAME'
569
+ config.password = 'YOUR PASSWORD'
570
+
571
+ # Configure API key authorization: BearerAuth
572
+ config.api_key['Authorization'] = 'YOUR API KEY'
573
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
574
+ #config.api_key_prefix['Authorization'] = 'Bearer'
575
+ end
576
+
577
+ api_instance = Nodeum::TasksApi.new
578
+ task_id = 'task_id_example' # String | Numeric ID or name of task. Task names are not unique, it's recommanded to use numeric ID.
579
+ job_id = 'job_id_example' # String | ID of active job
580
+
581
+ begin
582
+ #Check result of a task run request.
583
+ result = api_instance.run_task_result(task_id, job_id)
584
+ p result
585
+ rescue Nodeum::ApiError => e
586
+ puts "Exception when calling TasksApi->run_task_result: #{e}"
587
+ end
588
+ ```
589
+
590
+ ### Parameters
591
+
592
+
593
+ Name | Type | Description | Notes
594
+ ------------- | ------------- | ------------- | -------------
595
+ **task_id** | **String**| Numeric ID or name of task. Task names are not unique, it&#39;s recommanded to use numeric ID. |
596
+ **job_id** | **String**| ID of active job |
597
+
598
+ ### Return type
599
+
600
+ [**ActiveJobStatus**](ActiveJobStatus.md)
601
+
602
+ ### Authorization
603
+
604
+ [BasicAuth](../README.md#BasicAuth), [BearerAuth](../README.md#BearerAuth)
605
+
606
+ ### HTTP request headers
607
+
608
+ - **Content-Type**: Not defined
609
+ - **Accept**: application/json, queued, working, failed
610
+
611
+
612
+ ## show_task
613
+
614
+ > Task show_task(task_id)
615
+
616
+ Displays a specific task.
617
+
618
+ **API Key Scope**: tasks / show
619
+
620
+ ### Example
621
+
622
+ ```ruby
623
+ # load the gem
624
+ require 'nodeum_sdk'
625
+ # setup authorization
626
+ Nodeum.configure do |config|
627
+ # Configure HTTP basic authorization: BasicAuth
628
+ config.username = 'YOUR USERNAME'
629
+ config.password = 'YOUR PASSWORD'
630
+
631
+ # Configure API key authorization: BearerAuth
632
+ config.api_key['Authorization'] = 'YOUR API KEY'
633
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
634
+ #config.api_key_prefix['Authorization'] = 'Bearer'
635
+ end
636
+
637
+ api_instance = Nodeum::TasksApi.new
638
+ task_id = 'task_id_example' # String | Numeric ID or name of task. Task names are not unique, it's recommanded to use numeric ID.
639
+
640
+ begin
641
+ #Displays a specific task.
642
+ result = api_instance.show_task(task_id)
643
+ p result
644
+ rescue Nodeum::ApiError => e
645
+ puts "Exception when calling TasksApi->show_task: #{e}"
646
+ end
647
+ ```
648
+
649
+ ### Parameters
650
+
651
+
652
+ Name | Type | Description | Notes
653
+ ------------- | ------------- | ------------- | -------------
654
+ **task_id** | **String**| Numeric ID or name of task. Task names are not unique, it&#39;s recommanded to use numeric ID. |
655
+
656
+ ### Return type
657
+
658
+ [**Task**](Task.md)
659
+
660
+ ### Authorization
661
+
662
+ [BasicAuth](../README.md#BasicAuth), [BearerAuth](../README.md#BearerAuth)
663
+
664
+ ### HTTP request headers
665
+
666
+ - **Content-Type**: Not defined
667
+ - **Accept**: application/json
668
+
669
+
670
+ ## stop_task
671
+
672
+ > ActiveJobStatus stop_task(task_id)
673
+
674
+ Stop a task.
675
+
676
+ **API Key Scope**: tasks / action
677
+
678
+ ### Example
679
+
680
+ ```ruby
681
+ # load the gem
682
+ require 'nodeum_sdk'
683
+ # setup authorization
684
+ Nodeum.configure do |config|
685
+ # Configure HTTP basic authorization: BasicAuth
686
+ config.username = 'YOUR USERNAME'
687
+ config.password = 'YOUR PASSWORD'
688
+
689
+ # Configure API key authorization: BearerAuth
690
+ config.api_key['Authorization'] = 'YOUR API KEY'
691
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
692
+ #config.api_key_prefix['Authorization'] = 'Bearer'
693
+ end
694
+
695
+ api_instance = Nodeum::TasksApi.new
696
+ task_id = 'task_id_example' # String | Numeric ID or name of task. Task names are not unique, it's recommanded to use numeric ID.
697
+
698
+ begin
699
+ #Stop a task.
700
+ result = api_instance.stop_task(task_id)
701
+ p result
702
+ rescue Nodeum::ApiError => e
703
+ puts "Exception when calling TasksApi->stop_task: #{e}"
704
+ end
705
+ ```
706
+
707
+ ### Parameters
708
+
709
+
710
+ Name | Type | Description | Notes
711
+ ------------- | ------------- | ------------- | -------------
712
+ **task_id** | **String**| Numeric ID or name of task. Task names are not unique, it&#39;s recommanded to use numeric ID. |
713
+
714
+ ### Return type
715
+
716
+ [**ActiveJobStatus**](ActiveJobStatus.md)
717
+
718
+ ### Authorization
719
+
720
+ [BasicAuth](../README.md#BasicAuth), [BearerAuth](../README.md#BearerAuth)
721
+
722
+ ### HTTP request headers
723
+
724
+ - **Content-Type**: Not defined
725
+ - **Accept**: application/json, queued, working, failed
726
+
727
+
728
+ ## stop_task_result
729
+
730
+ > ActiveJobStatus stop_task_result(task_id, job_id)
731
+
732
+ Check result of a task stop request.
733
+
734
+ **API Key Scope**: tasks / action
735
+
736
+ ### Example
737
+
738
+ ```ruby
739
+ # load the gem
740
+ require 'nodeum_sdk'
741
+ # setup authorization
742
+ Nodeum.configure do |config|
743
+ # Configure HTTP basic authorization: BasicAuth
744
+ config.username = 'YOUR USERNAME'
745
+ config.password = 'YOUR PASSWORD'
746
+
747
+ # Configure API key authorization: BearerAuth
748
+ config.api_key['Authorization'] = 'YOUR API KEY'
749
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
750
+ #config.api_key_prefix['Authorization'] = 'Bearer'
751
+ end
752
+
753
+ api_instance = Nodeum::TasksApi.new
754
+ task_id = 'task_id_example' # String | Numeric ID or name of task. Task names are not unique, it's recommanded to use numeric ID.
755
+ job_id = 'job_id_example' # String | ID of active job
756
+
757
+ begin
758
+ #Check result of a task stop request.
759
+ result = api_instance.stop_task_result(task_id, job_id)
760
+ p result
761
+ rescue Nodeum::ApiError => e
762
+ puts "Exception when calling TasksApi->stop_task_result: #{e}"
763
+ end
764
+ ```
765
+
766
+ ### Parameters
767
+
768
+
769
+ Name | Type | Description | Notes
770
+ ------------- | ------------- | ------------- | -------------
771
+ **task_id** | **String**| Numeric ID or name of task. Task names are not unique, it&#39;s recommanded to use numeric ID. |
772
+ **job_id** | **String**| ID of active job |
773
+
774
+ ### Return type
775
+
776
+ [**ActiveJobStatus**](ActiveJobStatus.md)
777
+
778
+ ### Authorization
779
+
780
+ [BasicAuth](../README.md#BasicAuth), [BearerAuth](../README.md#BearerAuth)
781
+
782
+ ### HTTP request headers
783
+
784
+ - **Content-Type**: Not defined
785
+ - **Accept**: application/json, queued, working, failed
786
+
787
+
788
+ ## update_task
789
+
790
+ > Task update_task(task_id, task_body)
791
+
792
+ Updates a specific task.
793
+
794
+ **API Key Scope**: tasks / update
795
+
796
+ ### Example
797
+
798
+ ```ruby
799
+ # load the gem
800
+ require 'nodeum_sdk'
801
+ # setup authorization
802
+ Nodeum.configure do |config|
803
+ # Configure HTTP basic authorization: BasicAuth
804
+ config.username = 'YOUR USERNAME'
805
+ config.password = 'YOUR PASSWORD'
806
+
807
+ # Configure API key authorization: BearerAuth
808
+ config.api_key['Authorization'] = 'YOUR API KEY'
809
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
810
+ #config.api_key_prefix['Authorization'] = 'Bearer'
811
+ end
812
+
813
+ api_instance = Nodeum::TasksApi.new
814
+ task_id = 'task_id_example' # String | Numeric ID or name of task. Task names are not unique, it's recommanded to use numeric ID.
815
+ task_body = Nodeum::Task.new # Task |
816
+
817
+ begin
818
+ #Updates a specific task.
819
+ result = api_instance.update_task(task_id, task_body)
820
+ p result
821
+ rescue Nodeum::ApiError => e
822
+ puts "Exception when calling TasksApi->update_task: #{e}"
823
+ end
824
+ ```
825
+
826
+ ### Parameters
827
+
828
+
829
+ Name | Type | Description | Notes
830
+ ------------- | ------------- | ------------- | -------------
831
+ **task_id** | **String**| Numeric ID or name of task. Task names are not unique, it&#39;s recommanded to use numeric ID. |
832
+ **task_body** | [**Task**](Task.md)| |
833
+
834
+ ### Return type
835
+
836
+ [**Task**](Task.md)
837
+
838
+ ### Authorization
839
+
840
+ [BasicAuth](../README.md#BasicAuth), [BearerAuth](../README.md#BearerAuth)
841
+
842
+ ### HTTP request headers
843
+
844
+ - **Content-Type**: application/json
845
+ - **Accept**: application/json
846
+