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,322 @@
1
+ # Nodeum::TaskSchedulesApi
2
+
3
+ All URIs are relative to *http://localhost/api/v2*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**create_task_schedule**](TaskSchedulesApi.md#create_task_schedule) | **POST** /tasks/{task_id}/task_schedule | Creates a new task schedule. Only one should be created.
8
+ [**destroy_task_schedule**](TaskSchedulesApi.md#destroy_task_schedule) | **DELETE** /tasks/{task_id}/task_schedule | Destroys the task schedule.
9
+ [**index_task_schedules**](TaskSchedulesApi.md#index_task_schedules) | **GET** /task_schedules | Lists all task schedules.
10
+ [**show_task_schedule**](TaskSchedulesApi.md#show_task_schedule) | **GET** /tasks/{task_id}/task_schedule | Displays the task schedule.
11
+ [**update_task_schedule**](TaskSchedulesApi.md#update_task_schedule) | **PUT** /tasks/{task_id}/task_schedule | Updates the existing task schedule.
12
+
13
+
14
+
15
+ ## create_task_schedule
16
+
17
+ > TaskSchedule create_task_schedule(task_id, task_schedule_body)
18
+
19
+ Creates a new task schedule. Only one should be created.
20
+
21
+ **API Key Scope**: task_schedules / create
22
+
23
+ ### Example
24
+
25
+ ```ruby
26
+ # load the gem
27
+ require 'nodeum_sdk'
28
+ # setup authorization
29
+ Nodeum.configure do |config|
30
+ # Configure HTTP basic authorization: BasicAuth
31
+ config.username = 'YOUR USERNAME'
32
+ config.password = 'YOUR PASSWORD'
33
+
34
+ # Configure API key authorization: BearerAuth
35
+ config.api_key['Authorization'] = 'YOUR API KEY'
36
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
37
+ #config.api_key_prefix['Authorization'] = 'Bearer'
38
+ end
39
+
40
+ api_instance = Nodeum::TaskSchedulesApi.new
41
+ task_id = 'task_id_example' # String | Numeric ID or name of task. Task names are not unique, it's recommanded to use numeric ID.
42
+ task_schedule_body = Nodeum::TaskSchedule.new # TaskSchedule |
43
+
44
+ begin
45
+ #Creates a new task schedule. Only one should be created.
46
+ result = api_instance.create_task_schedule(task_id, task_schedule_body)
47
+ p result
48
+ rescue Nodeum::ApiError => e
49
+ puts "Exception when calling TaskSchedulesApi->create_task_schedule: #{e}"
50
+ end
51
+ ```
52
+
53
+ ### Parameters
54
+
55
+
56
+ Name | Type | Description | Notes
57
+ ------------- | ------------- | ------------- | -------------
58
+ **task_id** | **String**| Numeric ID or name of task. Task names are not unique, it's recommanded to use numeric ID. |
59
+ **task_schedule_body** | [**TaskSchedule**](TaskSchedule.md)| |
60
+
61
+ ### Return type
62
+
63
+ [**TaskSchedule**](TaskSchedule.md)
64
+
65
+ ### Authorization
66
+
67
+ [BasicAuth](../README.md#BasicAuth), [BearerAuth](../README.md#BearerAuth)
68
+
69
+ ### HTTP request headers
70
+
71
+ - **Content-Type**: application/json
72
+ - **Accept**: application/json
73
+
74
+
75
+ ## destroy_task_schedule
76
+
77
+ > destroy_task_schedule(task_id)
78
+
79
+ Destroys the task schedule.
80
+
81
+ **API Key Scope**: task_schedules / destroy
82
+
83
+ ### Example
84
+
85
+ ```ruby
86
+ # load the gem
87
+ require 'nodeum_sdk'
88
+ # setup authorization
89
+ Nodeum.configure do |config|
90
+ # Configure HTTP basic authorization: BasicAuth
91
+ config.username = 'YOUR USERNAME'
92
+ config.password = 'YOUR PASSWORD'
93
+
94
+ # Configure API key authorization: BearerAuth
95
+ config.api_key['Authorization'] = 'YOUR API KEY'
96
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
97
+ #config.api_key_prefix['Authorization'] = 'Bearer'
98
+ end
99
+
100
+ api_instance = Nodeum::TaskSchedulesApi.new
101
+ task_id = 'task_id_example' # String | Numeric ID or name of task. Task names are not unique, it's recommanded to use numeric ID.
102
+
103
+ begin
104
+ #Destroys the task schedule.
105
+ api_instance.destroy_task_schedule(task_id)
106
+ rescue Nodeum::ApiError => e
107
+ puts "Exception when calling TaskSchedulesApi->destroy_task_schedule: #{e}"
108
+ end
109
+ ```
110
+
111
+ ### Parameters
112
+
113
+
114
+ Name | Type | Description | Notes
115
+ ------------- | ------------- | ------------- | -------------
116
+ **task_id** | **String**| Numeric ID or name of task. Task names are not unique, it's recommanded to use numeric ID. |
117
+
118
+ ### Return type
119
+
120
+ nil (empty response body)
121
+
122
+ ### Authorization
123
+
124
+ [BasicAuth](../README.md#BasicAuth), [BearerAuth](../README.md#BearerAuth)
125
+
126
+ ### HTTP request headers
127
+
128
+ - **Content-Type**: Not defined
129
+ - **Accept**: Not defined
130
+
131
+
132
+ ## index_task_schedules
133
+
134
+ > TaskScheduleCollection index_task_schedules(opts)
135
+
136
+ Lists all task schedules.
137
+
138
+ **API Key Scope**: task_schedules / index
139
+
140
+ ### Example
141
+
142
+ ```ruby
143
+ # load the gem
144
+ require 'nodeum_sdk'
145
+ # setup authorization
146
+ Nodeum.configure do |config|
147
+ # Configure HTTP basic authorization: BasicAuth
148
+ config.username = 'YOUR USERNAME'
149
+ config.password = 'YOUR PASSWORD'
150
+
151
+ # Configure API key authorization: BearerAuth
152
+ config.api_key['Authorization'] = 'YOUR API KEY'
153
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
154
+ #config.api_key_prefix['Authorization'] = 'Bearer'
155
+ end
156
+
157
+ api_instance = Nodeum::TaskSchedulesApi.new
158
+ opts = {
159
+ with_next: true, # Boolean | Display the next scheduled date, and information about missing executions.
160
+ limit: 56, # Integer | The number of items to display for pagination.
161
+ offset: 56, # Integer | The number of items to skip for pagination.
162
+ 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`.
163
+ id: 'id_example', # String | Filter on id
164
+ rrule: 'rrule_example', # String | Filter on RRule of schedule
165
+ done: 'done_example', # String | Filter on done schedule
166
+ task_id: 'task_id_example' # String | Filter on task id
167
+ }
168
+
169
+ begin
170
+ #Lists all task schedules.
171
+ result = api_instance.index_task_schedules(opts)
172
+ p result
173
+ rescue Nodeum::ApiError => e
174
+ puts "Exception when calling TaskSchedulesApi->index_task_schedules: #{e}"
175
+ end
176
+ ```
177
+
178
+ ### Parameters
179
+
180
+
181
+ Name | Type | Description | Notes
182
+ ------------- | ------------- | ------------- | -------------
183
+ **with_next** | **Boolean**| Display the next scheduled date, and information about missing executions. | [optional] [default to true]
184
+ **limit** | **Integer**| The number of items to display for pagination. | [optional]
185
+ **offset** | **Integer**| The number of items to skip for pagination. | [optional]
186
+ **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]
187
+ **id** | **String**| Filter on id | [optional]
188
+ **rrule** | **String**| Filter on RRule of schedule | [optional]
189
+ **done** | **String**| Filter on done schedule | [optional]
190
+ **task_id** | **String**| Filter on task id | [optional]
191
+
192
+ ### Return type
193
+
194
+ [**TaskScheduleCollection**](TaskScheduleCollection.md)
195
+
196
+ ### Authorization
197
+
198
+ [BasicAuth](../README.md#BasicAuth), [BearerAuth](../README.md#BearerAuth)
199
+
200
+ ### HTTP request headers
201
+
202
+ - **Content-Type**: Not defined
203
+ - **Accept**: application/json
204
+
205
+
206
+ ## show_task_schedule
207
+
208
+ > TaskSchedule show_task_schedule(task_id)
209
+
210
+ Displays the task schedule.
211
+
212
+ **API Key Scope**: task_schedules / show
213
+
214
+ ### Example
215
+
216
+ ```ruby
217
+ # load the gem
218
+ require 'nodeum_sdk'
219
+ # setup authorization
220
+ Nodeum.configure do |config|
221
+ # Configure HTTP basic authorization: BasicAuth
222
+ config.username = 'YOUR USERNAME'
223
+ config.password = 'YOUR PASSWORD'
224
+
225
+ # Configure API key authorization: BearerAuth
226
+ config.api_key['Authorization'] = 'YOUR API KEY'
227
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
228
+ #config.api_key_prefix['Authorization'] = 'Bearer'
229
+ end
230
+
231
+ api_instance = Nodeum::TaskSchedulesApi.new
232
+ task_id = 'task_id_example' # String | Numeric ID or name of task. Task names are not unique, it's recommanded to use numeric ID.
233
+
234
+ begin
235
+ #Displays the task schedule.
236
+ result = api_instance.show_task_schedule(task_id)
237
+ p result
238
+ rescue Nodeum::ApiError => e
239
+ puts "Exception when calling TaskSchedulesApi->show_task_schedule: #{e}"
240
+ end
241
+ ```
242
+
243
+ ### Parameters
244
+
245
+
246
+ Name | Type | Description | Notes
247
+ ------------- | ------------- | ------------- | -------------
248
+ **task_id** | **String**| Numeric ID or name of task. Task names are not unique, it&#39;s recommanded to use numeric ID. |
249
+
250
+ ### Return type
251
+
252
+ [**TaskSchedule**](TaskSchedule.md)
253
+
254
+ ### Authorization
255
+
256
+ [BasicAuth](../README.md#BasicAuth), [BearerAuth](../README.md#BearerAuth)
257
+
258
+ ### HTTP request headers
259
+
260
+ - **Content-Type**: Not defined
261
+ - **Accept**: application/json
262
+
263
+
264
+ ## update_task_schedule
265
+
266
+ > TaskSchedule update_task_schedule(task_id, task_schedule_body)
267
+
268
+ Updates the existing task schedule.
269
+
270
+ **API Key Scope**: task_schedules / update
271
+
272
+ ### Example
273
+
274
+ ```ruby
275
+ # load the gem
276
+ require 'nodeum_sdk'
277
+ # setup authorization
278
+ Nodeum.configure do |config|
279
+ # Configure HTTP basic authorization: BasicAuth
280
+ config.username = 'YOUR USERNAME'
281
+ config.password = 'YOUR PASSWORD'
282
+
283
+ # Configure API key authorization: BearerAuth
284
+ config.api_key['Authorization'] = 'YOUR API KEY'
285
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
286
+ #config.api_key_prefix['Authorization'] = 'Bearer'
287
+ end
288
+
289
+ api_instance = Nodeum::TaskSchedulesApi.new
290
+ task_id = 'task_id_example' # String | Numeric ID or name of task. Task names are not unique, it's recommanded to use numeric ID.
291
+ task_schedule_body = Nodeum::TaskSchedule.new # TaskSchedule |
292
+
293
+ begin
294
+ #Updates the existing task schedule.
295
+ result = api_instance.update_task_schedule(task_id, task_schedule_body)
296
+ p result
297
+ rescue Nodeum::ApiError => e
298
+ puts "Exception when calling TaskSchedulesApi->update_task_schedule: #{e}"
299
+ end
300
+ ```
301
+
302
+ ### Parameters
303
+
304
+
305
+ Name | Type | Description | Notes
306
+ ------------- | ------------- | ------------- | -------------
307
+ **task_id** | **String**| Numeric ID or name of task. Task names are not unique, it&#39;s recommanded to use numeric ID. |
308
+ **task_schedule_body** | [**TaskSchedule**](TaskSchedule.md)| |
309
+
310
+ ### Return type
311
+
312
+ [**TaskSchedule**](TaskSchedule.md)
313
+
314
+ ### Authorization
315
+
316
+ [BasicAuth](../README.md#BasicAuth), [BearerAuth](../README.md#BearerAuth)
317
+
318
+ ### HTTP request headers
319
+
320
+ - **Content-Type**: application/json
321
+ - **Accept**: application/json
322
+
@@ -0,0 +1,19 @@
1
+ # Nodeum::TaskSourceCollection
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **count** | **Integer** | | [optional] [readonly]
8
+ **task_sources** | [**Array&lt;TaskSourceDown&gt;**](TaskSourceDown.md) | | [optional] [readonly]
9
+
10
+ ## Code Sample
11
+
12
+ ```ruby
13
+ require 'Nodeum'
14
+
15
+ instance = Nodeum::TaskSourceCollection.new(count: 1,
16
+ task_sources: null)
17
+ ```
18
+
19
+
@@ -0,0 +1,29 @@
1
+ # Nodeum::TaskSourceDown
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **id** | **Integer** | | [optional] [readonly]
8
+ **file** | [**NodeumFile**](NodeumFile.md) | | [optional]
9
+ **range** | **Array&lt;Integer&gt;** | | [optional]
10
+ **container** | [**Container**](Container.md) | | [optional]
11
+ **import_file** | [**ImportFile**](ImportFile.md) | | [optional]
12
+ **tape** | [**Tape**](Tape.md) | | [optional]
13
+ **pool** | [**Pool**](Pool.md) | | [optional]
14
+
15
+ ## Code Sample
16
+
17
+ ```ruby
18
+ require 'Nodeum'
19
+
20
+ instance = Nodeum::TaskSourceDown.new(id: null,
21
+ file: null,
22
+ range: [150000, 290000],
23
+ container: null,
24
+ import_file: null,
25
+ tape: null,
26
+ pool: null)
27
+ ```
28
+
29
+
@@ -0,0 +1,33 @@
1
+ # Nodeum::TaskSourceUp
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **file_id** | **Integer** | | [optional]
8
+ **file_path** | **String** | | [optional]
9
+ **range** | **Array&lt;Integer&gt;** | | [optional]
10
+ **import_file_id** | **Integer** | | [optional]
11
+ **import_file_path** | **String** | | [optional]
12
+ **tape_id** | **Integer** | | [optional]
13
+ **tape_barcode** | **String** | | [optional]
14
+ **pool_id** | **Integer** | | [optional]
15
+ **pool_name** | **String** | | [optional]
16
+
17
+ ## Code Sample
18
+
19
+ ```ruby
20
+ require 'Nodeum'
21
+
22
+ instance = Nodeum::TaskSourceUp.new(file_id: null,
23
+ file_path: null,
24
+ range: [150000, 290000],
25
+ import_file_id: null,
26
+ import_file_path: null,
27
+ tape_id: null,
28
+ tape_barcode: null,
29
+ pool_id: null,
30
+ pool_name: null)
31
+ ```
32
+
33
+
@@ -0,0 +1,330 @@
1
+ # Nodeum::TaskSourcesApi
2
+
3
+ All URIs are relative to *http://localhost/api/v2*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**create_task_source**](TaskSourcesApi.md#create_task_source) | **POST** /tasks/{task_id}/task_sources | Creates a new task source.
8
+ [**destroy_task_source**](TaskSourcesApi.md#destroy_task_source) | **DELETE** /tasks/{task_id}/task_sources/{task_source_id} | Destroys a specific task source.
9
+ [**index_task_sources**](TaskSourcesApi.md#index_task_sources) | **GET** /tasks/{task_id}/task_sources | Lists all task sources.
10
+ [**show_task_source**](TaskSourcesApi.md#show_task_source) | **GET** /tasks/{task_id}/task_sources/{task_source_id} | Displays a specific task source.
11
+ [**update_task_source**](TaskSourcesApi.md#update_task_source) | **PUT** /tasks/{task_id}/task_sources/{task_source_id} | Updates a specific task source.
12
+
13
+
14
+
15
+ ## create_task_source
16
+
17
+ > TaskSourceDown create_task_source(task_id, task_source_body)
18
+
19
+ Creates a new task source.
20
+
21
+ **API Key Scope**: task_sources / create
22
+
23
+ ### Example
24
+
25
+ ```ruby
26
+ # load the gem
27
+ require 'nodeum_sdk'
28
+ # setup authorization
29
+ Nodeum.configure do |config|
30
+ # Configure HTTP basic authorization: BasicAuth
31
+ config.username = 'YOUR USERNAME'
32
+ config.password = 'YOUR PASSWORD'
33
+
34
+ # Configure API key authorization: BearerAuth
35
+ config.api_key['Authorization'] = 'YOUR API KEY'
36
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
37
+ #config.api_key_prefix['Authorization'] = 'Bearer'
38
+ end
39
+
40
+ api_instance = Nodeum::TaskSourcesApi.new
41
+ task_id = 'task_id_example' # String | Numeric ID or name of task. Task names are not unique, it's recommanded to use numeric ID.
42
+ task_source_body = Nodeum::TaskSourceUp.new # TaskSourceUp |
43
+
44
+ begin
45
+ #Creates a new task source.
46
+ result = api_instance.create_task_source(task_id, task_source_body)
47
+ p result
48
+ rescue Nodeum::ApiError => e
49
+ puts "Exception when calling TaskSourcesApi->create_task_source: #{e}"
50
+ end
51
+ ```
52
+
53
+ ### Parameters
54
+
55
+
56
+ Name | Type | Description | Notes
57
+ ------------- | ------------- | ------------- | -------------
58
+ **task_id** | **String**| Numeric ID or name of task. Task names are not unique, it&#39;s recommanded to use numeric ID. |
59
+ **task_source_body** | [**TaskSourceUp**](TaskSourceUp.md)| |
60
+
61
+ ### Return type
62
+
63
+ [**TaskSourceDown**](TaskSourceDown.md)
64
+
65
+ ### Authorization
66
+
67
+ [BasicAuth](../README.md#BasicAuth), [BearerAuth](../README.md#BearerAuth)
68
+
69
+ ### HTTP request headers
70
+
71
+ - **Content-Type**: application/json
72
+ - **Accept**: application/json
73
+
74
+
75
+ ## destroy_task_source
76
+
77
+ > destroy_task_source(task_id, task_source_id)
78
+
79
+ Destroys a specific task source.
80
+
81
+ **API Key Scope**: task_sources / destroy
82
+
83
+ ### Example
84
+
85
+ ```ruby
86
+ # load the gem
87
+ require 'nodeum_sdk'
88
+ # setup authorization
89
+ Nodeum.configure do |config|
90
+ # Configure HTTP basic authorization: BasicAuth
91
+ config.username = 'YOUR USERNAME'
92
+ config.password = 'YOUR PASSWORD'
93
+
94
+ # Configure API key authorization: BearerAuth
95
+ config.api_key['Authorization'] = 'YOUR API KEY'
96
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
97
+ #config.api_key_prefix['Authorization'] = 'Bearer'
98
+ end
99
+
100
+ api_instance = Nodeum::TaskSourcesApi.new
101
+ task_id = 'task_id_example' # String | Numeric ID or name of task. Task names are not unique, it's recommanded to use numeric ID.
102
+ task_source_id = 56 # Integer | Numeric ID of task source.
103
+
104
+ begin
105
+ #Destroys a specific task source.
106
+ api_instance.destroy_task_source(task_id, task_source_id)
107
+ rescue Nodeum::ApiError => e
108
+ puts "Exception when calling TaskSourcesApi->destroy_task_source: #{e}"
109
+ end
110
+ ```
111
+
112
+ ### Parameters
113
+
114
+
115
+ Name | Type | Description | Notes
116
+ ------------- | ------------- | ------------- | -------------
117
+ **task_id** | **String**| Numeric ID or name of task. Task names are not unique, it&#39;s recommanded to use numeric ID. |
118
+ **task_source_id** | **Integer**| Numeric ID of task source. |
119
+
120
+ ### Return type
121
+
122
+ nil (empty response body)
123
+
124
+ ### Authorization
125
+
126
+ [BasicAuth](../README.md#BasicAuth), [BearerAuth](../README.md#BearerAuth)
127
+
128
+ ### HTTP request headers
129
+
130
+ - **Content-Type**: Not defined
131
+ - **Accept**: Not defined
132
+
133
+
134
+ ## index_task_sources
135
+
136
+ > TaskSourceCollection index_task_sources(task_id, opts)
137
+
138
+ Lists all task sources.
139
+
140
+ **API Key Scope**: task_sources / index
141
+
142
+ ### Example
143
+
144
+ ```ruby
145
+ # load the gem
146
+ require 'nodeum_sdk'
147
+ # setup authorization
148
+ Nodeum.configure do |config|
149
+ # Configure HTTP basic authorization: BasicAuth
150
+ config.username = 'YOUR USERNAME'
151
+ config.password = 'YOUR PASSWORD'
152
+
153
+ # Configure API key authorization: BearerAuth
154
+ config.api_key['Authorization'] = 'YOUR API KEY'
155
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
156
+ #config.api_key_prefix['Authorization'] = 'Bearer'
157
+ end
158
+
159
+ api_instance = Nodeum::TaskSourcesApi.new
160
+ task_id = 'task_id_example' # String | Numeric ID or name of task. Task names are not unique, it's recommanded to use numeric ID.
161
+ opts = {
162
+ limit: 56, # Integer | The number of items to display for pagination.
163
+ offset: 56, # Integer | The number of items to skip for pagination.
164
+ 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`.
165
+ id: 'id_example', # String | Filter on id
166
+ file_id: 'file_id_example', # String | Filter on file id
167
+ import_file_id: 'import_file_id_example', # String | Filter on import file id
168
+ tape_id: 'tape_id_example', # String | Filter on tape id
169
+ pool_id: 'pool_id_example' # String | Filter on a pool id
170
+ }
171
+
172
+ begin
173
+ #Lists all task sources.
174
+ result = api_instance.index_task_sources(task_id, opts)
175
+ p result
176
+ rescue Nodeum::ApiError => e
177
+ puts "Exception when calling TaskSourcesApi->index_task_sources: #{e}"
178
+ end
179
+ ```
180
+
181
+ ### Parameters
182
+
183
+
184
+ Name | Type | Description | Notes
185
+ ------------- | ------------- | ------------- | -------------
186
+ **task_id** | **String**| Numeric ID or name of task. Task names are not unique, it&#39;s recommanded to use numeric ID. |
187
+ **limit** | **Integer**| The number of items to display for pagination. | [optional]
188
+ **offset** | **Integer**| The number of items to skip for pagination. | [optional]
189
+ **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]
190
+ **id** | **String**| Filter on id | [optional]
191
+ **file_id** | **String**| Filter on file id | [optional]
192
+ **import_file_id** | **String**| Filter on import file id | [optional]
193
+ **tape_id** | **String**| Filter on tape id | [optional]
194
+ **pool_id** | **String**| Filter on a pool id | [optional]
195
+
196
+ ### Return type
197
+
198
+ [**TaskSourceCollection**](TaskSourceCollection.md)
199
+
200
+ ### Authorization
201
+
202
+ [BasicAuth](../README.md#BasicAuth), [BearerAuth](../README.md#BearerAuth)
203
+
204
+ ### HTTP request headers
205
+
206
+ - **Content-Type**: Not defined
207
+ - **Accept**: application/json
208
+
209
+
210
+ ## show_task_source
211
+
212
+ > TaskSourceDown show_task_source(task_id, task_source_id)
213
+
214
+ Displays a specific task source.
215
+
216
+ **API Key Scope**: task_sources / show
217
+
218
+ ### Example
219
+
220
+ ```ruby
221
+ # load the gem
222
+ require 'nodeum_sdk'
223
+ # setup authorization
224
+ Nodeum.configure do |config|
225
+ # Configure HTTP basic authorization: BasicAuth
226
+ config.username = 'YOUR USERNAME'
227
+ config.password = 'YOUR PASSWORD'
228
+
229
+ # Configure API key authorization: BearerAuth
230
+ config.api_key['Authorization'] = 'YOUR API KEY'
231
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
232
+ #config.api_key_prefix['Authorization'] = 'Bearer'
233
+ end
234
+
235
+ api_instance = Nodeum::TaskSourcesApi.new
236
+ task_id = 'task_id_example' # String | Numeric ID or name of task. Task names are not unique, it's recommanded to use numeric ID.
237
+ task_source_id = 56 # Integer | Numeric ID of task source.
238
+
239
+ begin
240
+ #Displays a specific task source.
241
+ result = api_instance.show_task_source(task_id, task_source_id)
242
+ p result
243
+ rescue Nodeum::ApiError => e
244
+ puts "Exception when calling TaskSourcesApi->show_task_source: #{e}"
245
+ end
246
+ ```
247
+
248
+ ### Parameters
249
+
250
+
251
+ Name | Type | Description | Notes
252
+ ------------- | ------------- | ------------- | -------------
253
+ **task_id** | **String**| Numeric ID or name of task. Task names are not unique, it&#39;s recommanded to use numeric ID. |
254
+ **task_source_id** | **Integer**| Numeric ID of task source. |
255
+
256
+ ### Return type
257
+
258
+ [**TaskSourceDown**](TaskSourceDown.md)
259
+
260
+ ### Authorization
261
+
262
+ [BasicAuth](../README.md#BasicAuth), [BearerAuth](../README.md#BearerAuth)
263
+
264
+ ### HTTP request headers
265
+
266
+ - **Content-Type**: Not defined
267
+ - **Accept**: application/json
268
+
269
+
270
+ ## update_task_source
271
+
272
+ > TaskSourceDown update_task_source(task_id, task_source_id, task_source_body)
273
+
274
+ Updates a specific task source.
275
+
276
+ **API Key Scope**: task_sources / update
277
+
278
+ ### Example
279
+
280
+ ```ruby
281
+ # load the gem
282
+ require 'nodeum_sdk'
283
+ # setup authorization
284
+ Nodeum.configure do |config|
285
+ # Configure HTTP basic authorization: BasicAuth
286
+ config.username = 'YOUR USERNAME'
287
+ config.password = 'YOUR PASSWORD'
288
+
289
+ # Configure API key authorization: BearerAuth
290
+ config.api_key['Authorization'] = 'YOUR API KEY'
291
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
292
+ #config.api_key_prefix['Authorization'] = 'Bearer'
293
+ end
294
+
295
+ api_instance = Nodeum::TaskSourcesApi.new
296
+ task_id = 'task_id_example' # String | Numeric ID or name of task. Task names are not unique, it's recommanded to use numeric ID.
297
+ task_source_id = 56 # Integer | Numeric ID of task source.
298
+ task_source_body = Nodeum::TaskSourceUp.new # TaskSourceUp |
299
+
300
+ begin
301
+ #Updates a specific task source.
302
+ result = api_instance.update_task_source(task_id, task_source_id, task_source_body)
303
+ p result
304
+ rescue Nodeum::ApiError => e
305
+ puts "Exception when calling TaskSourcesApi->update_task_source: #{e}"
306
+ end
307
+ ```
308
+
309
+ ### Parameters
310
+
311
+
312
+ Name | Type | Description | Notes
313
+ ------------- | ------------- | ------------- | -------------
314
+ **task_id** | **String**| Numeric ID or name of task. Task names are not unique, it&#39;s recommanded to use numeric ID. |
315
+ **task_source_id** | **Integer**| Numeric ID of task source. |
316
+ **task_source_body** | [**TaskSourceUp**](TaskSourceUp.md)| |
317
+
318
+ ### Return type
319
+
320
+ [**TaskSourceDown**](TaskSourceDown.md)
321
+
322
+ ### Authorization
323
+
324
+ [BasicAuth](../README.md#BasicAuth), [BearerAuth](../README.md#BearerAuth)
325
+
326
+ ### HTTP request headers
327
+
328
+ - **Content-Type**: application/json
329
+ - **Accept**: application/json
330
+