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,39 @@
1
+ # Nodeum::NodeumFile
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **id** | **Integer** | | [optional] [readonly]
8
+ **name** | **String** | | [optional] [readonly]
9
+ **parent** | **Integer** | | [optional] [readonly]
10
+ **primary_id** | **Integer** | | [optional] [readonly]
11
+ **type** | **String** | | [optional] [readonly]
12
+ **permission** | **Integer** | | [optional] [readonly]
13
+ **size** | **Integer** | | [optional] [readonly]
14
+ **change_date** | **String** | | [optional] [readonly]
15
+ **modification_date** | **String** | | [optional] [readonly]
16
+ **access_date** | **String** | | [optional] [readonly]
17
+ **uid** | **Integer** | | [optional] [readonly]
18
+ **gid** | **Integer** | | [optional] [readonly]
19
+
20
+ ## Code Sample
21
+
22
+ ```ruby
23
+ require 'Nodeum'
24
+
25
+ instance = Nodeum::NodeumFile.new(id: 105,
26
+ name: my-file.txt,
27
+ parent: 100,
28
+ primary_id: 100,
29
+ type: file,
30
+ permission: 100666,
31
+ size: 1063457,
32
+ change_date: 2018-12-10T08:33:47.000Z,
33
+ modification_date: 2018-12-10T15:29:23.000Z,
34
+ access_date: 2018-12-10T15:27:51.000Z,
35
+ uid: 1000,
36
+ gid: 1000)
37
+ ```
38
+
39
+
@@ -0,0 +1,19 @@
1
+ # Nodeum::NodeumFileCollection
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **count** | **Integer** | | [optional] [readonly]
8
+ **files** | [**Array<NodeumFile>**](NodeumFile.md) | | [optional] [readonly]
9
+
10
+ ## Code Sample
11
+
12
+ ```ruby
13
+ require 'Nodeum'
14
+
15
+ instance = Nodeum::NodeumFileCollection.new(count: 1,
16
+ files: null)
17
+ ```
18
+
19
+
@@ -0,0 +1,17 @@
1
+ # Nodeum::NodeumFileWithPath
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **file_path** | **String** | | [optional] [readonly]
8
+
9
+ ## Code Sample
10
+
11
+ ```ruby
12
+ require 'Nodeum'
13
+
14
+ instance = Nodeum::NodeumFileWithPath.new(file_path: /my-container/my-file.txt)
15
+ ```
16
+
17
+
@@ -0,0 +1,17 @@
1
+ # Nodeum::NodeumFileWithPathAllOf
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **file_path** | **String** | | [optional] [readonly]
8
+
9
+ ## Code Sample
10
+
11
+ ```ruby
12
+ require 'Nodeum'
13
+
14
+ instance = Nodeum::NodeumFileWithPathAllOf.new(file_path: /my-container/my-file.txt)
15
+ ```
16
+
17
+
@@ -0,0 +1,19 @@
1
+ # Nodeum::OccurrenceLessThan
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **count** | **Integer** | Expected maximum number of occurrences | [optional]
8
+ **value** | **Integer** | Current number of occurrences | [optional]
9
+
10
+ ## Code Sample
11
+
12
+ ```ruby
13
+ require 'Nodeum'
14
+
15
+ instance = Nodeum::OccurrenceLessThan.new(count: null,
16
+ value: null)
17
+ ```
18
+
19
+
@@ -0,0 +1,19 @@
1
+ # Nodeum::OccurrenceLessThanAllOf
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **count** | **Integer** | Expected maximum number of occurrences | [optional]
8
+ **value** | **Integer** | Current number of occurrences | [optional]
9
+
10
+ ## Code Sample
11
+
12
+ ```ruby
13
+ require 'Nodeum'
14
+
15
+ instance = Nodeum::OccurrenceLessThanAllOf.new(count: null,
16
+ value: null)
17
+ ```
18
+
19
+
@@ -0,0 +1,19 @@
1
+ # Nodeum::OccurrenceLessThanOrEqualTo
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **count** | **Integer** | Expected maximum number of occurrences | [optional]
8
+ **value** | **Integer** | Current number of occurrences | [optional]
9
+
10
+ ## Code Sample
11
+
12
+ ```ruby
13
+ require 'Nodeum'
14
+
15
+ instance = Nodeum::OccurrenceLessThanOrEqualTo.new(count: null,
16
+ value: null)
17
+ ```
18
+
19
+
@@ -0,0 +1,25 @@
1
+ # Nodeum::OnTapesFile
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **id** | **Integer** | | [optional] [readonly]
8
+ **name** | **String** | | [optional] [readonly]
9
+ **type** | **String** | | [optional] [readonly]
10
+ **size** | **Integer** | | [optional] [readonly]
11
+ **barcodes** | **Array<String>** | | [optional] [readonly]
12
+
13
+ ## Code Sample
14
+
15
+ ```ruby
16
+ require 'Nodeum'
17
+
18
+ instance = Nodeum::OnTapesFile.new(id: 105,
19
+ name: my-file.txt,
20
+ type: file,
21
+ size: 1063457,
22
+ barcodes: [NOD407L5, NOD415L5])
23
+ ```
24
+
25
+
@@ -0,0 +1,19 @@
1
+ # Nodeum::OnTapesFileCollection
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **count** | **Integer** | | [optional] [readonly]
8
+ **on_tapes_files** | [**Array<OnTapesFile>**](OnTapesFile.md) | | [optional] [readonly]
9
+
10
+ ## Code Sample
11
+
12
+ ```ruby
13
+ require 'Nodeum'
14
+
15
+ instance = Nodeum::OnTapesFileCollection.new(count: 1,
16
+ on_tapes_files: null)
17
+ ```
18
+
19
+
@@ -0,0 +1,27 @@
1
+ # Nodeum::Pool
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **id** | **Integer** | | [optional] [readonly]
8
+ **name** | **String** | | [optional]
9
+ **comment** | **String** | | [optional]
10
+ **type** | **String** | | [optional]
11
+ **content** | **String** | | [optional]
12
+ **primary_id** | **Integer** | | [optional] [readonly]
13
+
14
+ ## Code Sample
15
+
16
+ ```ruby
17
+ require 'Nodeum'
18
+
19
+ instance = Nodeum::Pool.new(id: 6,
20
+ name: offline-tapes,
21
+ comment: ,
22
+ type: offline_archive,
23
+ content: null,
24
+ primary_id: 100)
25
+ ```
26
+
27
+
@@ -0,0 +1,19 @@
1
+ # Nodeum::PoolCollection
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **count** | **Integer** | | [optional] [readonly]
8
+ **pools** | [**Array<Pool>**](Pool.md) | | [optional] [readonly]
9
+
10
+ ## Code Sample
11
+
12
+ ```ruby
13
+ require 'Nodeum'
14
+
15
+ instance = Nodeum::PoolCollection.new(count: 1,
16
+ pools: null)
17
+ ```
18
+
19
+
@@ -0,0 +1,21 @@
1
+ # Nodeum::PoolUp
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **tape_ids** | **Array<Integer>** | | [optional]
8
+ **nas_share_ids** | **Array<Integer>** | | [optional]
9
+ **cloud_bucket_ids** | **Array<Integer>** | | [optional]
10
+
11
+ ## Code Sample
12
+
13
+ ```ruby
14
+ require 'Nodeum'
15
+
16
+ instance = Nodeum::PoolUp.new(tape_ids: [10, 11, 12],
17
+ nas_share_ids: [15],
18
+ cloud_bucket_ids: [15])
19
+ ```
20
+
21
+
@@ -0,0 +1,21 @@
1
+ # Nodeum::PoolUpAllOf
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **tape_ids** | **Array<Integer>** | | [optional]
8
+ **nas_share_ids** | **Array<Integer>** | | [optional]
9
+ **cloud_bucket_ids** | **Array<Integer>** | | [optional]
10
+
11
+ ## Code Sample
12
+
13
+ ```ruby
14
+ require 'Nodeum'
15
+
16
+ instance = Nodeum::PoolUpAllOf.new(tape_ids: [10, 11, 12],
17
+ nas_share_ids: [15],
18
+ cloud_bucket_ids: [15])
19
+ ```
20
+
21
+
@@ -0,0 +1,798 @@
1
+ # Nodeum::PoolsApi
2
+
3
+ All URIs are relative to *http://localhost/api/v2*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**create_pool**](PoolsApi.md#create_pool) | **POST** /pools | Creates a new pool.
8
+ [**create_primary_scan**](PoolsApi.md#create_primary_scan) | **POST** /pools/{pool_id}/primary_scan | Set a new primary pool scan option.
9
+ [**destroy_pool**](PoolsApi.md#destroy_pool) | **DELETE** /pools/{pool_id} | Destroys a specific tape pool.
10
+ [**destroy_primary_scan**](PoolsApi.md#destroy_primary_scan) | **DELETE** /pools/{pool_id}/primary_scan | Disable the primary pool scan.
11
+ [**index_pools**](PoolsApi.md#index_pools) | **GET** /pools | Lists all pools.
12
+ [**mount_pool**](PoolsApi.md#mount_pool) | **PUT** /pools/{pool_id}/mount | Mount Pool.
13
+ [**mount_status_pool**](PoolsApi.md#mount_status_pool) | **GET** /pools/{pool_id}/mount | Get mount status of Pool.
14
+ [**show_pool**](PoolsApi.md#show_pool) | **GET** /pools/{pool_id} | Displays a specific pool.
15
+ [**show_primary_scan**](PoolsApi.md#show_primary_scan) | **GET** /pools/{pool_id}/primary_scan | Displays the primary pool scan status.
16
+ [**sync_primary_pool**](PoolsApi.md#sync_primary_pool) | **POST** /pools/{pool_id}/sync | Synchronize a primary after a scan (for internal use only).
17
+ [**unmount_pool**](PoolsApi.md#unmount_pool) | **DELETE** /pools/{pool_id}/mount | Unmount Pool.
18
+ [**update_pool**](PoolsApi.md#update_pool) | **PUT** /pools/{pool_id} | Updates a specific pool.
19
+ [**update_primary_scan**](PoolsApi.md#update_primary_scan) | **PUT** /pools/{pool_id}/primary_scan | Updates the existing primary pool scan option.
20
+
21
+
22
+
23
+ ## create_pool
24
+
25
+ > Pool create_pool(pool_body)
26
+
27
+ Creates a new pool.
28
+
29
+ **API Key Scope**: pools / 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::PoolsApi.new
49
+ pool_body = Nodeum::PoolUp.new # PoolUp |
50
+
51
+ begin
52
+ #Creates a new pool.
53
+ result = api_instance.create_pool(pool_body)
54
+ p result
55
+ rescue Nodeum::ApiError => e
56
+ puts "Exception when calling PoolsApi->create_pool: #{e}"
57
+ end
58
+ ```
59
+
60
+ ### Parameters
61
+
62
+
63
+ Name | Type | Description | Notes
64
+ ------------- | ------------- | ------------- | -------------
65
+ **pool_body** | [**PoolUp**](PoolUp.md)| |
66
+
67
+ ### Return type
68
+
69
+ [**Pool**](Pool.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
+ ## create_primary_scan
82
+
83
+ > PrimaryScan create_primary_scan(pool_id, primary_scan_body)
84
+
85
+ Set a new primary pool scan option.
86
+
87
+ **API Key Scope**: primary_scans / create
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::PoolsApi.new
107
+ pool_id = 'pool_id_example' # String | Numeric ID, or name of pool.
108
+ primary_scan_body = Nodeum::PrimaryScan.new # PrimaryScan |
109
+
110
+ begin
111
+ #Set a new primary pool scan option.
112
+ result = api_instance.create_primary_scan(pool_id, primary_scan_body)
113
+ p result
114
+ rescue Nodeum::ApiError => e
115
+ puts "Exception when calling PoolsApi->create_primary_scan: #{e}"
116
+ end
117
+ ```
118
+
119
+ ### Parameters
120
+
121
+
122
+ Name | Type | Description | Notes
123
+ ------------- | ------------- | ------------- | -------------
124
+ **pool_id** | **String**| Numeric ID, or name of pool. |
125
+ **primary_scan_body** | [**PrimaryScan**](PrimaryScan.md)| |
126
+
127
+ ### Return type
128
+
129
+ [**PrimaryScan**](PrimaryScan.md)
130
+
131
+ ### Authorization
132
+
133
+ [BasicAuth](../README.md#BasicAuth), [BearerAuth](../README.md#BearerAuth)
134
+
135
+ ### HTTP request headers
136
+
137
+ - **Content-Type**: application/json
138
+ - **Accept**: application/json
139
+
140
+
141
+ ## destroy_pool
142
+
143
+ > destroy_pool(pool_id)
144
+
145
+ Destroys a specific tape pool.
146
+
147
+ **API Key Scope**: pools / destroy
148
+
149
+ ### Example
150
+
151
+ ```ruby
152
+ # load the gem
153
+ require 'nodeum_sdk'
154
+ # setup authorization
155
+ Nodeum.configure do |config|
156
+ # Configure HTTP basic authorization: BasicAuth
157
+ config.username = 'YOUR USERNAME'
158
+ config.password = 'YOUR PASSWORD'
159
+
160
+ # Configure API key authorization: BearerAuth
161
+ config.api_key['Authorization'] = 'YOUR API KEY'
162
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
163
+ #config.api_key_prefix['Authorization'] = 'Bearer'
164
+ end
165
+
166
+ api_instance = Nodeum::PoolsApi.new
167
+ pool_id = 'pool_id_example' # String | Numeric ID, or name of pool.
168
+
169
+ begin
170
+ #Destroys a specific tape pool.
171
+ api_instance.destroy_pool(pool_id)
172
+ rescue Nodeum::ApiError => e
173
+ puts "Exception when calling PoolsApi->destroy_pool: #{e}"
174
+ end
175
+ ```
176
+
177
+ ### Parameters
178
+
179
+
180
+ Name | Type | Description | Notes
181
+ ------------- | ------------- | ------------- | -------------
182
+ **pool_id** | **String**| Numeric ID, or name of pool. |
183
+
184
+ ### Return type
185
+
186
+ nil (empty response body)
187
+
188
+ ### Authorization
189
+
190
+ [BasicAuth](../README.md#BasicAuth), [BearerAuth](../README.md#BearerAuth)
191
+
192
+ ### HTTP request headers
193
+
194
+ - **Content-Type**: Not defined
195
+ - **Accept**: Not defined
196
+
197
+
198
+ ## destroy_primary_scan
199
+
200
+ > destroy_primary_scan(pool_id)
201
+
202
+ Disable the primary pool scan.
203
+
204
+ **API Key Scope**: primary_scans / destroy
205
+
206
+ ### Example
207
+
208
+ ```ruby
209
+ # load the gem
210
+ require 'nodeum_sdk'
211
+ # setup authorization
212
+ Nodeum.configure do |config|
213
+ # Configure HTTP basic authorization: BasicAuth
214
+ config.username = 'YOUR USERNAME'
215
+ config.password = 'YOUR PASSWORD'
216
+
217
+ # Configure API key authorization: BearerAuth
218
+ config.api_key['Authorization'] = 'YOUR API KEY'
219
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
220
+ #config.api_key_prefix['Authorization'] = 'Bearer'
221
+ end
222
+
223
+ api_instance = Nodeum::PoolsApi.new
224
+ pool_id = 'pool_id_example' # String | Numeric ID, or name of pool.
225
+
226
+ begin
227
+ #Disable the primary pool scan.
228
+ api_instance.destroy_primary_scan(pool_id)
229
+ rescue Nodeum::ApiError => e
230
+ puts "Exception when calling PoolsApi->destroy_primary_scan: #{e}"
231
+ end
232
+ ```
233
+
234
+ ### Parameters
235
+
236
+
237
+ Name | Type | Description | Notes
238
+ ------------- | ------------- | ------------- | -------------
239
+ **pool_id** | **String**| Numeric ID, or name of pool. |
240
+
241
+ ### Return type
242
+
243
+ nil (empty response body)
244
+
245
+ ### Authorization
246
+
247
+ [BasicAuth](../README.md#BasicAuth), [BearerAuth](../README.md#BearerAuth)
248
+
249
+ ### HTTP request headers
250
+
251
+ - **Content-Type**: Not defined
252
+ - **Accept**: Not defined
253
+
254
+
255
+ ## index_pools
256
+
257
+ > PoolCollection index_pools(opts)
258
+
259
+ Lists all pools.
260
+
261
+ **API Key Scope**: pools / index
262
+
263
+ ### Example
264
+
265
+ ```ruby
266
+ # load the gem
267
+ require 'nodeum_sdk'
268
+ # setup authorization
269
+ Nodeum.configure do |config|
270
+ # Configure HTTP basic authorization: BasicAuth
271
+ config.username = 'YOUR USERNAME'
272
+ config.password = 'YOUR PASSWORD'
273
+
274
+ # Configure API key authorization: BearerAuth
275
+ config.api_key['Authorization'] = 'YOUR API KEY'
276
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
277
+ #config.api_key_prefix['Authorization'] = 'Bearer'
278
+ end
279
+
280
+ api_instance = Nodeum::PoolsApi.new
281
+ opts = {
282
+ limit: 56, # Integer | The number of items to display for pagination.
283
+ offset: 56, # Integer | The number of items to skip for pagination.
284
+ 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`.
285
+ id: 'id_example', # String | Filter on id
286
+ name: 'name_example', # String | Filter on name
287
+ comment: 'comment_example', # String | Filter on comment
288
+ type: 'type_example', # String | Filter on type
289
+ content: 'content_example', # String | Filter on content
290
+ primary_id: 'primary_id_example' # String | Filter on primary id
291
+ }
292
+
293
+ begin
294
+ #Lists all pools.
295
+ result = api_instance.index_pools(opts)
296
+ p result
297
+ rescue Nodeum::ApiError => e
298
+ puts "Exception when calling PoolsApi->index_pools: #{e}"
299
+ end
300
+ ```
301
+
302
+ ### Parameters
303
+
304
+
305
+ Name | Type | Description | Notes
306
+ ------------- | ------------- | ------------- | -------------
307
+ **limit** | **Integer**| The number of items to display for pagination. | [optional]
308
+ **offset** | **Integer**| The number of items to skip for pagination. | [optional]
309
+ **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]
310
+ **id** | **String**| Filter on id | [optional]
311
+ **name** | **String**| Filter on name | [optional]
312
+ **comment** | **String**| Filter on comment | [optional]
313
+ **type** | **String**| Filter on type | [optional]
314
+ **content** | **String**| Filter on content | [optional]
315
+ **primary_id** | **String**| Filter on primary id | [optional]
316
+
317
+ ### Return type
318
+
319
+ [**PoolCollection**](PoolCollection.md)
320
+
321
+ ### Authorization
322
+
323
+ [BasicAuth](../README.md#BasicAuth), [BearerAuth](../README.md#BearerAuth)
324
+
325
+ ### HTTP request headers
326
+
327
+ - **Content-Type**: Not defined
328
+ - **Accept**: application/json
329
+
330
+
331
+ ## mount_pool
332
+
333
+ > MountStatus mount_pool(pool_id)
334
+
335
+ Mount Pool.
336
+
337
+ **API Key Scope**: pools / mount
338
+
339
+ ### Example
340
+
341
+ ```ruby
342
+ # load the gem
343
+ require 'nodeum_sdk'
344
+ # setup authorization
345
+ Nodeum.configure do |config|
346
+ # Configure HTTP basic authorization: BasicAuth
347
+ config.username = 'YOUR USERNAME'
348
+ config.password = 'YOUR PASSWORD'
349
+
350
+ # Configure API key authorization: BearerAuth
351
+ config.api_key['Authorization'] = 'YOUR API KEY'
352
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
353
+ #config.api_key_prefix['Authorization'] = 'Bearer'
354
+ end
355
+
356
+ api_instance = Nodeum::PoolsApi.new
357
+ pool_id = 'pool_id_example' # String | Numeric ID, or name of pool.
358
+
359
+ begin
360
+ #Mount Pool.
361
+ result = api_instance.mount_pool(pool_id)
362
+ p result
363
+ rescue Nodeum::ApiError => e
364
+ puts "Exception when calling PoolsApi->mount_pool: #{e}"
365
+ end
366
+ ```
367
+
368
+ ### Parameters
369
+
370
+
371
+ Name | Type | Description | Notes
372
+ ------------- | ------------- | ------------- | -------------
373
+ **pool_id** | **String**| Numeric ID, or name of pool. |
374
+
375
+ ### Return type
376
+
377
+ [**MountStatus**](MountStatus.md)
378
+
379
+ ### Authorization
380
+
381
+ [BasicAuth](../README.md#BasicAuth), [BearerAuth](../README.md#BearerAuth)
382
+
383
+ ### HTTP request headers
384
+
385
+ - **Content-Type**: Not defined
386
+ - **Accept**: application/json
387
+
388
+
389
+ ## mount_status_pool
390
+
391
+ > MountStatus mount_status_pool(pool_id)
392
+
393
+ Get mount status of Pool.
394
+
395
+ **API Key Scope**: pools / mount_status
396
+
397
+ ### Example
398
+
399
+ ```ruby
400
+ # load the gem
401
+ require 'nodeum_sdk'
402
+ # setup authorization
403
+ Nodeum.configure do |config|
404
+ # Configure HTTP basic authorization: BasicAuth
405
+ config.username = 'YOUR USERNAME'
406
+ config.password = 'YOUR PASSWORD'
407
+
408
+ # Configure API key authorization: BearerAuth
409
+ config.api_key['Authorization'] = 'YOUR API KEY'
410
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
411
+ #config.api_key_prefix['Authorization'] = 'Bearer'
412
+ end
413
+
414
+ api_instance = Nodeum::PoolsApi.new
415
+ pool_id = 'pool_id_example' # String | Numeric ID, or name of pool.
416
+
417
+ begin
418
+ #Get mount status of Pool.
419
+ result = api_instance.mount_status_pool(pool_id)
420
+ p result
421
+ rescue Nodeum::ApiError => e
422
+ puts "Exception when calling PoolsApi->mount_status_pool: #{e}"
423
+ end
424
+ ```
425
+
426
+ ### Parameters
427
+
428
+
429
+ Name | Type | Description | Notes
430
+ ------------- | ------------- | ------------- | -------------
431
+ **pool_id** | **String**| Numeric ID, or name of pool. |
432
+
433
+ ### Return type
434
+
435
+ [**MountStatus**](MountStatus.md)
436
+
437
+ ### Authorization
438
+
439
+ [BasicAuth](../README.md#BasicAuth), [BearerAuth](../README.md#BearerAuth)
440
+
441
+ ### HTTP request headers
442
+
443
+ - **Content-Type**: Not defined
444
+ - **Accept**: application/json
445
+
446
+
447
+ ## show_pool
448
+
449
+ > Pool show_pool(pool_id)
450
+
451
+ Displays a specific pool.
452
+
453
+ **API Key Scope**: pools / show
454
+
455
+ ### Example
456
+
457
+ ```ruby
458
+ # load the gem
459
+ require 'nodeum_sdk'
460
+ # setup authorization
461
+ Nodeum.configure do |config|
462
+ # Configure HTTP basic authorization: BasicAuth
463
+ config.username = 'YOUR USERNAME'
464
+ config.password = 'YOUR PASSWORD'
465
+
466
+ # Configure API key authorization: BearerAuth
467
+ config.api_key['Authorization'] = 'YOUR API KEY'
468
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
469
+ #config.api_key_prefix['Authorization'] = 'Bearer'
470
+ end
471
+
472
+ api_instance = Nodeum::PoolsApi.new
473
+ pool_id = 'pool_id_example' # String | Numeric ID, or name of pool.
474
+
475
+ begin
476
+ #Displays a specific pool.
477
+ result = api_instance.show_pool(pool_id)
478
+ p result
479
+ rescue Nodeum::ApiError => e
480
+ puts "Exception when calling PoolsApi->show_pool: #{e}"
481
+ end
482
+ ```
483
+
484
+ ### Parameters
485
+
486
+
487
+ Name | Type | Description | Notes
488
+ ------------- | ------------- | ------------- | -------------
489
+ **pool_id** | **String**| Numeric ID, or name of pool. |
490
+
491
+ ### Return type
492
+
493
+ [**Pool**](Pool.md)
494
+
495
+ ### Authorization
496
+
497
+ [BasicAuth](../README.md#BasicAuth), [BearerAuth](../README.md#BearerAuth)
498
+
499
+ ### HTTP request headers
500
+
501
+ - **Content-Type**: Not defined
502
+ - **Accept**: application/json
503
+
504
+
505
+ ## show_primary_scan
506
+
507
+ > PrimaryScan show_primary_scan(pool_id)
508
+
509
+ Displays the primary pool scan status.
510
+
511
+ **API Key Scope**: primary_scans / show
512
+
513
+ ### Example
514
+
515
+ ```ruby
516
+ # load the gem
517
+ require 'nodeum_sdk'
518
+ # setup authorization
519
+ Nodeum.configure do |config|
520
+ # Configure HTTP basic authorization: BasicAuth
521
+ config.username = 'YOUR USERNAME'
522
+ config.password = 'YOUR PASSWORD'
523
+
524
+ # Configure API key authorization: BearerAuth
525
+ config.api_key['Authorization'] = 'YOUR API KEY'
526
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
527
+ #config.api_key_prefix['Authorization'] = 'Bearer'
528
+ end
529
+
530
+ api_instance = Nodeum::PoolsApi.new
531
+ pool_id = 'pool_id_example' # String | Numeric ID, or name of pool.
532
+
533
+ begin
534
+ #Displays the primary pool scan status.
535
+ result = api_instance.show_primary_scan(pool_id)
536
+ p result
537
+ rescue Nodeum::ApiError => e
538
+ puts "Exception when calling PoolsApi->show_primary_scan: #{e}"
539
+ end
540
+ ```
541
+
542
+ ### Parameters
543
+
544
+
545
+ Name | Type | Description | Notes
546
+ ------------- | ------------- | ------------- | -------------
547
+ **pool_id** | **String**| Numeric ID, or name of pool. |
548
+
549
+ ### Return type
550
+
551
+ [**PrimaryScan**](PrimaryScan.md)
552
+
553
+ ### Authorization
554
+
555
+ [BasicAuth](../README.md#BasicAuth), [BearerAuth](../README.md#BearerAuth)
556
+
557
+ ### HTTP request headers
558
+
559
+ - **Content-Type**: Not defined
560
+ - **Accept**: application/json
561
+
562
+
563
+ ## sync_primary_pool
564
+
565
+ > sync_primary_pool(pool_id, tx)
566
+
567
+ Synchronize a primary after a scan (for internal use only).
568
+
569
+ **API Key Scope**: pools / sync_primary
570
+
571
+ ### Example
572
+
573
+ ```ruby
574
+ # load the gem
575
+ require 'nodeum_sdk'
576
+ # setup authorization
577
+ Nodeum.configure do |config|
578
+ # Configure HTTP basic authorization: BasicAuth
579
+ config.username = 'YOUR USERNAME'
580
+ config.password = 'YOUR PASSWORD'
581
+
582
+ # Configure API key authorization: BearerAuth
583
+ config.api_key['Authorization'] = 'YOUR API KEY'
584
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
585
+ #config.api_key_prefix['Authorization'] = 'Bearer'
586
+ end
587
+
588
+ api_instance = Nodeum::PoolsApi.new
589
+ pool_id = 'pool_id_example' # String | Numeric ID, or name of pool.
590
+ tx = 56 # Integer | New transaction number.
591
+
592
+ begin
593
+ #Synchronize a primary after a scan (for internal use only).
594
+ api_instance.sync_primary_pool(pool_id, tx)
595
+ rescue Nodeum::ApiError => e
596
+ puts "Exception when calling PoolsApi->sync_primary_pool: #{e}"
597
+ end
598
+ ```
599
+
600
+ ### Parameters
601
+
602
+
603
+ Name | Type | Description | Notes
604
+ ------------- | ------------- | ------------- | -------------
605
+ **pool_id** | **String**| Numeric ID, or name of pool. |
606
+ **tx** | **Integer**| New transaction number. |
607
+
608
+ ### Return type
609
+
610
+ nil (empty response body)
611
+
612
+ ### Authorization
613
+
614
+ [BasicAuth](../README.md#BasicAuth), [BearerAuth](../README.md#BearerAuth)
615
+
616
+ ### HTTP request headers
617
+
618
+ - **Content-Type**: Not defined
619
+ - **Accept**: Not defined
620
+
621
+
622
+ ## unmount_pool
623
+
624
+ > MountStatus unmount_pool(pool_id)
625
+
626
+ Unmount Pool.
627
+
628
+ **API Key Scope**: pools / unmount
629
+
630
+ ### Example
631
+
632
+ ```ruby
633
+ # load the gem
634
+ require 'nodeum_sdk'
635
+ # setup authorization
636
+ Nodeum.configure do |config|
637
+ # Configure HTTP basic authorization: BasicAuth
638
+ config.username = 'YOUR USERNAME'
639
+ config.password = 'YOUR PASSWORD'
640
+
641
+ # Configure API key authorization: BearerAuth
642
+ config.api_key['Authorization'] = 'YOUR API KEY'
643
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
644
+ #config.api_key_prefix['Authorization'] = 'Bearer'
645
+ end
646
+
647
+ api_instance = Nodeum::PoolsApi.new
648
+ pool_id = 'pool_id_example' # String | Numeric ID, or name of pool.
649
+
650
+ begin
651
+ #Unmount Pool.
652
+ result = api_instance.unmount_pool(pool_id)
653
+ p result
654
+ rescue Nodeum::ApiError => e
655
+ puts "Exception when calling PoolsApi->unmount_pool: #{e}"
656
+ end
657
+ ```
658
+
659
+ ### Parameters
660
+
661
+
662
+ Name | Type | Description | Notes
663
+ ------------- | ------------- | ------------- | -------------
664
+ **pool_id** | **String**| Numeric ID, or name of pool. |
665
+
666
+ ### Return type
667
+
668
+ [**MountStatus**](MountStatus.md)
669
+
670
+ ### Authorization
671
+
672
+ [BasicAuth](../README.md#BasicAuth), [BearerAuth](../README.md#BearerAuth)
673
+
674
+ ### HTTP request headers
675
+
676
+ - **Content-Type**: Not defined
677
+ - **Accept**: application/json
678
+
679
+
680
+ ## update_pool
681
+
682
+ > Pool update_pool(pool_id, pool_body)
683
+
684
+ Updates a specific pool.
685
+
686
+ **API Key Scope**: pools / update
687
+
688
+ ### Example
689
+
690
+ ```ruby
691
+ # load the gem
692
+ require 'nodeum_sdk'
693
+ # setup authorization
694
+ Nodeum.configure do |config|
695
+ # Configure HTTP basic authorization: BasicAuth
696
+ config.username = 'YOUR USERNAME'
697
+ config.password = 'YOUR PASSWORD'
698
+
699
+ # Configure API key authorization: BearerAuth
700
+ config.api_key['Authorization'] = 'YOUR API KEY'
701
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
702
+ #config.api_key_prefix['Authorization'] = 'Bearer'
703
+ end
704
+
705
+ api_instance = Nodeum::PoolsApi.new
706
+ pool_id = 'pool_id_example' # String | Numeric ID, or name of pool.
707
+ pool_body = Nodeum::PoolUp.new # PoolUp |
708
+
709
+ begin
710
+ #Updates a specific pool.
711
+ result = api_instance.update_pool(pool_id, pool_body)
712
+ p result
713
+ rescue Nodeum::ApiError => e
714
+ puts "Exception when calling PoolsApi->update_pool: #{e}"
715
+ end
716
+ ```
717
+
718
+ ### Parameters
719
+
720
+
721
+ Name | Type | Description | Notes
722
+ ------------- | ------------- | ------------- | -------------
723
+ **pool_id** | **String**| Numeric ID, or name of pool. |
724
+ **pool_body** | [**PoolUp**](PoolUp.md)| |
725
+
726
+ ### Return type
727
+
728
+ [**Pool**](Pool.md)
729
+
730
+ ### Authorization
731
+
732
+ [BasicAuth](../README.md#BasicAuth), [BearerAuth](../README.md#BearerAuth)
733
+
734
+ ### HTTP request headers
735
+
736
+ - **Content-Type**: application/json
737
+ - **Accept**: application/json
738
+
739
+
740
+ ## update_primary_scan
741
+
742
+ > PrimaryScan update_primary_scan(pool_id, primary_scan_body)
743
+
744
+ Updates the existing primary pool scan option.
745
+
746
+ **API Key Scope**: primary_scans / update
747
+
748
+ ### Example
749
+
750
+ ```ruby
751
+ # load the gem
752
+ require 'nodeum_sdk'
753
+ # setup authorization
754
+ Nodeum.configure do |config|
755
+ # Configure HTTP basic authorization: BasicAuth
756
+ config.username = 'YOUR USERNAME'
757
+ config.password = 'YOUR PASSWORD'
758
+
759
+ # Configure API key authorization: BearerAuth
760
+ config.api_key['Authorization'] = 'YOUR API KEY'
761
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
762
+ #config.api_key_prefix['Authorization'] = 'Bearer'
763
+ end
764
+
765
+ api_instance = Nodeum::PoolsApi.new
766
+ pool_id = 'pool_id_example' # String | Numeric ID, or name of pool.
767
+ primary_scan_body = Nodeum::PrimaryScan.new # PrimaryScan |
768
+
769
+ begin
770
+ #Updates the existing primary pool scan option.
771
+ result = api_instance.update_primary_scan(pool_id, primary_scan_body)
772
+ p result
773
+ rescue Nodeum::ApiError => e
774
+ puts "Exception when calling PoolsApi->update_primary_scan: #{e}"
775
+ end
776
+ ```
777
+
778
+ ### Parameters
779
+
780
+
781
+ Name | Type | Description | Notes
782
+ ------------- | ------------- | ------------- | -------------
783
+ **pool_id** | **String**| Numeric ID, or name of pool. |
784
+ **primary_scan_body** | [**PrimaryScan**](PrimaryScan.md)| |
785
+
786
+ ### Return type
787
+
788
+ [**PrimaryScan**](PrimaryScan.md)
789
+
790
+ ### Authorization
791
+
792
+ [BasicAuth](../README.md#BasicAuth), [BearerAuth](../README.md#BearerAuth)
793
+
794
+ ### HTTP request headers
795
+
796
+ - **Content-Type**: application/json
797
+ - **Accept**: application/json
798
+