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.
- checksums.yaml +7 -0
- data/Gemfile +9 -0
- data/LICENSE +21 -0
- data/README.md +472 -0
- data/Rakefile +10 -0
- data/docs/ActiveJobStatus.md +23 -0
- data/docs/ApiKey.md +21 -0
- data/docs/ApiKeyCollection.md +19 -0
- data/docs/ApiKeyFull.md +17 -0
- data/docs/ApiKeyFullAllOf.md +17 -0
- data/docs/ApiKeyScope.md +19 -0
- data/docs/AttributeError.md +17 -0
- data/docs/Blank.md +16 -0
- data/docs/ByDateFacet.md +35 -0
- data/docs/ByDateFacetBucket.md +17 -0
- data/docs/ByDateFacetBucketAllOf.md +17 -0
- data/docs/ByDateFacetBuckets.md +17 -0
- data/docs/ByFileExtensionFacet.md +17 -0
- data/docs/ByFileExtensionFacetAllOf.md +17 -0
- data/docs/ByGroupOwnerFacet.md +17 -0
- data/docs/ByGroupOwnerFacetAllOf.md +17 -0
- data/docs/ByPrimaryFacet.md +17 -0
- data/docs/ByPrimaryFacetAllOf.md +17 -0
- data/docs/BySecondaryBucket.md +17 -0
- data/docs/BySecondaryBucketAllOf.md +17 -0
- data/docs/BySecondaryBuckets.md +17 -0
- data/docs/BySecondaryFacet.md +29 -0
- data/docs/BySecondaryTypeFacet.md +17 -0
- data/docs/BySecondaryTypeFacetAllOf.md +17 -0
- data/docs/BySizeFacet.md +35 -0
- data/docs/ByUserOwnerFacet.md +17 -0
- data/docs/ByUserOwnerFacetAllOf.md +17 -0
- data/docs/CloudBucket.md +31 -0
- data/docs/CloudBucketCollection.md +19 -0
- data/docs/CloudBucketSimpleCollection.md +17 -0
- data/docs/CloudBucketsApi.md +908 -0
- data/docs/CloudConnector.md +31 -0
- data/docs/CloudConnectorCollection.md +19 -0
- data/docs/CloudConnectorsApi.md +442 -0
- data/docs/Container.md +35 -0
- data/docs/ContainerCollection.md +19 -0
- data/docs/ContainerPrivilege.md +23 -0
- data/docs/ContainerPrivilegeCollection.md +19 -0
- data/docs/ContainersApi.md +650 -0
- data/docs/DateToFileFacets.md +31 -0
- data/docs/Error.md +19 -0
- data/docs/FileFacet.md +19 -0
- data/docs/FilesApi.md +2090 -0
- data/docs/Frozen.md +16 -0
- data/docs/GreaterThan.md +19 -0
- data/docs/GreaterThanAllOf.md +19 -0
- data/docs/GreaterThanOrEqualTo.md +19 -0
- data/docs/ImportFile.md +39 -0
- data/docs/ImportFileCollection.md +19 -0
- data/docs/ImportFileWithPath.md +41 -0
- data/docs/Invalid.md +17 -0
- data/docs/LessThan.md +19 -0
- data/docs/LessThanAllOf.md +19 -0
- data/docs/LessThanOrEqualTo.md +19 -0
- data/docs/MountCollection.md +17 -0
- data/docs/MountInfo.md +57 -0
- data/docs/MountNotification.md +19 -0
- data/docs/MountStatus.md +21 -0
- data/docs/MountsApi.md +63 -0
- data/docs/Nas.md +27 -0
- data/docs/NasApi.md +322 -0
- data/docs/NasCollection.md +19 -0
- data/docs/NasShare.md +35 -0
- data/docs/NasShareCollection.md +19 -0
- data/docs/NasSharesApi.md +1155 -0
- data/docs/NodeumFile.md +39 -0
- data/docs/NodeumFileCollection.md +19 -0
- data/docs/NodeumFileWithPath.md +17 -0
- data/docs/NodeumFileWithPathAllOf.md +17 -0
- data/docs/OccurrenceLessThan.md +19 -0
- data/docs/OccurrenceLessThanAllOf.md +19 -0
- data/docs/OccurrenceLessThanOrEqualTo.md +19 -0
- data/docs/OnTapesFile.md +25 -0
- data/docs/OnTapesFileCollection.md +19 -0
- data/docs/Pool.md +27 -0
- data/docs/PoolCollection.md +19 -0
- data/docs/PoolUp.md +21 -0
- data/docs/PoolUpAllOf.md +21 -0
- data/docs/PoolsApi.md +798 -0
- data/docs/PrimaryScan.md +25 -0
- data/docs/QuotaOnCache.md +16 -0
- data/docs/Reset.md +17 -0
- data/docs/ResetSections.md +21 -0
- data/docs/SizeToDateFacets.md +31 -0
- data/docs/StatisticsApi.md +386 -0
- data/docs/SystemGroup.md +21 -0
- data/docs/SystemGroupCollection.md +19 -0
- data/docs/SystemUser.md +23 -0
- data/docs/SystemUserCollection.md +19 -0
- data/docs/SystemsApi.md +183 -0
- data/docs/Taken.md +17 -0
- data/docs/TakenAllOf.md +17 -0
- data/docs/Tape.md +65 -0
- data/docs/TapeCollection.md +19 -0
- data/docs/TapeDrive.md +55 -0
- data/docs/TapeDriveAllOf.md +55 -0
- data/docs/TapeDriveCollection.md +19 -0
- data/docs/TapeDriveDevice.md +29 -0
- data/docs/TapeDriveDeviceCollection.md +17 -0
- data/docs/TapeDrivesApi.md +730 -0
- data/docs/TapeLibrariesApi.md +403 -0
- data/docs/TapeLibrary.md +27 -0
- data/docs/TapeLibraryAllOf.md +27 -0
- data/docs/TapeLibraryCollection.md +19 -0
- data/docs/TapeLibraryDevice.md +37 -0
- data/docs/TapeLibraryDeviceCollection.md +17 -0
- data/docs/TapeStat.md +115 -0
- data/docs/TapeStatCollection.md +19 -0
- data/docs/TapesApi.md +959 -0
- data/docs/Task.md +55 -0
- data/docs/TaskCallback.md +21 -0
- data/docs/TaskCallbackCollection.md +19 -0
- data/docs/TaskCallbacksApi.md +326 -0
- data/docs/TaskCollection.md +19 -0
- data/docs/TaskDestinationCollection.md +19 -0
- data/docs/TaskDestinationDown.md +25 -0
- data/docs/TaskDestinationUp.md +27 -0
- data/docs/TaskDestinationsApi.md +328 -0
- data/docs/TaskExecution.md +51 -0
- data/docs/TaskExecutionCollection.md +19 -0
- data/docs/TaskExecutionsApi.md +336 -0
- data/docs/TaskMetadataApi.md +326 -0
- data/docs/TaskMetadatum.md +21 -0
- data/docs/TaskMetadatumCollection.md +19 -0
- data/docs/TaskOption.md +21 -0
- data/docs/TaskOptionCollection.md +19 -0
- data/docs/TaskOptionsApi.md +326 -0
- data/docs/TaskSchedule.md +34 -0
- data/docs/TaskScheduleCollection.md +19 -0
- data/docs/TaskSchedulesApi.md +322 -0
- data/docs/TaskSourceCollection.md +19 -0
- data/docs/TaskSourceDown.md +29 -0
- data/docs/TaskSourceUp.md +33 -0
- data/docs/TaskSourcesApi.md +330 -0
- data/docs/TasksApi.md +846 -0
- data/docs/TooLong.md +17 -0
- data/docs/TooLongAllOf.md +17 -0
- data/docs/TooShort.md +17 -0
- data/docs/TooShortAllOf.md +17 -0
- data/docs/TypeToSecondaryFacets.md +25 -0
- data/docs/UsersApi.md +418 -0
- data/git_push.sh +58 -0
- data/lib/nodeum_sdk.rb +180 -0
- data/lib/nodeum_sdk/api/cloud_buckets_api.rb +1026 -0
- data/lib/nodeum_sdk/api/cloud_connectors_api.rb +491 -0
- data/lib/nodeum_sdk/api/containers_api.rb +736 -0
- data/lib/nodeum_sdk/api/files_api.rb +2418 -0
- data/lib/nodeum_sdk/api/mounts_api.rb +78 -0
- data/lib/nodeum_sdk/api/nas_api.rb +361 -0
- data/lib/nodeum_sdk/api/nas_shares_api.rb +1305 -0
- data/lib/nodeum_sdk/api/pools_api.rb +876 -0
- data/lib/nodeum_sdk/api/statistics_api.rb +418 -0
- data/lib/nodeum_sdk/api/systems_api.rb +215 -0
- data/lib/nodeum_sdk/api/tape_drives_api.rb +858 -0
- data/lib/nodeum_sdk/api/tape_libraries_api.rb +457 -0
- data/lib/nodeum_sdk/api/tapes_api.rb +1104 -0
- data/lib/nodeum_sdk/api/task_callbacks_api.rb +382 -0
- data/lib/nodeum_sdk/api/task_destinations_api.rb +385 -0
- data/lib/nodeum_sdk/api/task_executions_api.rb +399 -0
- data/lib/nodeum_sdk/api/task_metadata_api.rb +382 -0
- data/lib/nodeum_sdk/api/task_options_api.rb +382 -0
- data/lib/nodeum_sdk/api/task_schedules_api.rb +364 -0
- data/lib/nodeum_sdk/api/task_sources_api.rb +388 -0
- data/lib/nodeum_sdk/api/tasks_api.rb +951 -0
- data/lib/nodeum_sdk/api/users_api.rb +452 -0
- data/lib/nodeum_sdk/api_client.rb +386 -0
- data/lib/nodeum_sdk/api_error.rb +57 -0
- data/lib/nodeum_sdk/configuration.rb +255 -0
- data/lib/nodeum_sdk/models/active_job_status.rb +267 -0
- data/lib/nodeum_sdk/models/api_key.rb +224 -0
- data/lib/nodeum_sdk/models/api_key_collection.rb +217 -0
- data/lib/nodeum_sdk/models/api_key_full.rb +220 -0
- data/lib/nodeum_sdk/models/api_key_full_all_of.rb +208 -0
- data/lib/nodeum_sdk/models/api_key_scope.rb +215 -0
- data/lib/nodeum_sdk/models/attribute_error.rb +216 -0
- data/lib/nodeum_sdk/models/blank.rb +209 -0
- data/lib/nodeum_sdk/models/by_date_facet.rb +295 -0
- data/lib/nodeum_sdk/models/by_date_facet_bucket.rb +218 -0
- data/lib/nodeum_sdk/models/by_date_facet_bucket_all_of.rb +206 -0
- data/lib/nodeum_sdk/models/by_date_facet_buckets.rb +208 -0
- data/lib/nodeum_sdk/models/by_file_extension_facet.rb +218 -0
- data/lib/nodeum_sdk/models/by_file_extension_facet_all_of.rb +206 -0
- data/lib/nodeum_sdk/models/by_group_owner_facet.rb +218 -0
- data/lib/nodeum_sdk/models/by_group_owner_facet_all_of.rb +206 -0
- data/lib/nodeum_sdk/models/by_primary_facet.rb +218 -0
- data/lib/nodeum_sdk/models/by_primary_facet_all_of.rb +206 -0
- data/lib/nodeum_sdk/models/by_secondary_bucket.rb +218 -0
- data/lib/nodeum_sdk/models/by_secondary_bucket_all_of.rb +206 -0
- data/lib/nodeum_sdk/models/by_secondary_buckets.rb +208 -0
- data/lib/nodeum_sdk/models/by_secondary_facet.rb +268 -0
- data/lib/nodeum_sdk/models/by_secondary_type_facet.rb +218 -0
- data/lib/nodeum_sdk/models/by_secondary_type_facet_all_of.rb +206 -0
- data/lib/nodeum_sdk/models/by_size_facet.rb +295 -0
- data/lib/nodeum_sdk/models/by_user_owner_facet.rb +218 -0
- data/lib/nodeum_sdk/models/by_user_owner_facet_all_of.rb +206 -0
- data/lib/nodeum_sdk/models/cloud_bucket.rb +269 -0
- data/lib/nodeum_sdk/models/cloud_bucket_collection.rb +217 -0
- data/lib/nodeum_sdk/models/cloud_bucket_simple_collection.rb +208 -0
- data/lib/nodeum_sdk/models/cloud_connector.rb +303 -0
- data/lib/nodeum_sdk/models/cloud_connector_collection.rb +217 -0
- data/lib/nodeum_sdk/models/container.rb +321 -0
- data/lib/nodeum_sdk/models/container_collection.rb +217 -0
- data/lib/nodeum_sdk/models/container_privilege.rb +279 -0
- data/lib/nodeum_sdk/models/container_privilege_collection.rb +217 -0
- data/lib/nodeum_sdk/models/date_to_file_facets.rb +269 -0
- data/lib/nodeum_sdk/models/error.rb +221 -0
- data/lib/nodeum_sdk/models/file_facet.rb +215 -0
- data/lib/nodeum_sdk/models/frozen.rb +209 -0
- data/lib/nodeum_sdk/models/greater_than.rb +230 -0
- data/lib/nodeum_sdk/models/greater_than_all_of.rb +217 -0
- data/lib/nodeum_sdk/models/greater_than_or_equal_to.rb +230 -0
- data/lib/nodeum_sdk/models/import_file.rb +339 -0
- data/lib/nodeum_sdk/models/import_file_collection.rb +217 -0
- data/lib/nodeum_sdk/models/import_file_with_path.rb +356 -0
- data/lib/nodeum_sdk/models/invalid.rb +220 -0
- data/lib/nodeum_sdk/models/less_than.rb +230 -0
- data/lib/nodeum_sdk/models/less_than_all_of.rb +217 -0
- data/lib/nodeum_sdk/models/less_than_or_equal_to.rb +230 -0
- data/lib/nodeum_sdk/models/mount_collection.rb +208 -0
- data/lib/nodeum_sdk/models/mount_info.rb +420 -0
- data/lib/nodeum_sdk/models/mount_notification.rb +249 -0
- data/lib/nodeum_sdk/models/mount_status.rb +224 -0
- data/lib/nodeum_sdk/models/nas.rb +285 -0
- data/lib/nodeum_sdk/models/nas_collection.rb +217 -0
- data/lib/nodeum_sdk/models/nas_share.rb +287 -0
- data/lib/nodeum_sdk/models/nas_share_collection.rb +217 -0
- data/lib/nodeum_sdk/models/nodeum_file.rb +339 -0
- data/lib/nodeum_sdk/models/nodeum_file_collection.rb +217 -0
- data/lib/nodeum_sdk/models/nodeum_file_with_path.rb +240 -0
- data/lib/nodeum_sdk/models/nodeum_file_with_path_all_of.rb +206 -0
- data/lib/nodeum_sdk/models/occurrence_less_than.rb +230 -0
- data/lib/nodeum_sdk/models/occurrence_less_than_all_of.rb +217 -0
- data/lib/nodeum_sdk/models/occurrence_less_than_or_equal_to.rb +230 -0
- data/lib/nodeum_sdk/models/on_tapes_file.rb +278 -0
- data/lib/nodeum_sdk/models/on_tapes_file_collection.rb +217 -0
- data/lib/nodeum_sdk/models/pool.rb +297 -0
- data/lib/nodeum_sdk/models/pool_collection.rb +217 -0
- data/lib/nodeum_sdk/models/pool_up.rb +264 -0
- data/lib/nodeum_sdk/models/pool_up_all_of.rb +230 -0
- data/lib/nodeum_sdk/models/primary_scan.rb +276 -0
- data/lib/nodeum_sdk/models/quota_on_cache.rb +209 -0
- data/lib/nodeum_sdk/models/reset.rb +209 -0
- data/lib/nodeum_sdk/models/reset_sections.rb +265 -0
- data/lib/nodeum_sdk/models/size_to_date_facets.rb +269 -0
- data/lib/nodeum_sdk/models/system_group.rb +226 -0
- data/lib/nodeum_sdk/models/system_group_collection.rb +217 -0
- data/lib/nodeum_sdk/models/system_user.rb +233 -0
- data/lib/nodeum_sdk/models/system_user_collection.rb +217 -0
- data/lib/nodeum_sdk/models/taken.rb +220 -0
- data/lib/nodeum_sdk/models/taken_all_of.rb +207 -0
- data/lib/nodeum_sdk/models/tape.rb +456 -0
- data/lib/nodeum_sdk/models/tape_collection.rb +217 -0
- data/lib/nodeum_sdk/models/tape_drive.rb +423 -0
- data/lib/nodeum_sdk/models/tape_drive_all_of.rb +411 -0
- data/lib/nodeum_sdk/models/tape_drive_collection.rb +217 -0
- data/lib/nodeum_sdk/models/tape_drive_device.rb +261 -0
- data/lib/nodeum_sdk/models/tape_drive_device_collection.rb +208 -0
- data/lib/nodeum_sdk/models/tape_library.rb +297 -0
- data/lib/nodeum_sdk/models/tape_library_all_of.rb +285 -0
- data/lib/nodeum_sdk/models/tape_library_collection.rb +217 -0
- data/lib/nodeum_sdk/models/tape_library_device.rb +330 -0
- data/lib/nodeum_sdk/models/tape_library_device_collection.rb +208 -0
- data/lib/nodeum_sdk/models/tape_stat.rb +647 -0
- data/lib/nodeum_sdk/models/tape_stat_collection.rb +217 -0
- data/lib/nodeum_sdk/models/task.rb +483 -0
- data/lib/nodeum_sdk/models/task_callback.rb +258 -0
- data/lib/nodeum_sdk/models/task_callback_collection.rb +217 -0
- data/lib/nodeum_sdk/models/task_collection.rb +217 -0
- data/lib/nodeum_sdk/models/task_destination_collection.rb +217 -0
- data/lib/nodeum_sdk/models/task_destination_down.rb +242 -0
- data/lib/nodeum_sdk/models/task_destination_up.rb +251 -0
- data/lib/nodeum_sdk/models/task_execution.rb +441 -0
- data/lib/nodeum_sdk/models/task_execution_collection.rb +217 -0
- data/lib/nodeum_sdk/models/task_metadatum.rb +224 -0
- data/lib/nodeum_sdk/models/task_metadatum_collection.rb +217 -0
- data/lib/nodeum_sdk/models/task_option.rb +258 -0
- data/lib/nodeum_sdk/models/task_option_collection.rb +217 -0
- data/lib/nodeum_sdk/models/task_schedule.rb +278 -0
- data/lib/nodeum_sdk/models/task_schedule_collection.rb +217 -0
- data/lib/nodeum_sdk/models/task_source_collection.rb +217 -0
- data/lib/nodeum_sdk/models/task_source_down.rb +262 -0
- data/lib/nodeum_sdk/models/task_source_up.rb +280 -0
- data/lib/nodeum_sdk/models/too_long.rb +220 -0
- data/lib/nodeum_sdk/models/too_long_all_of.rb +207 -0
- data/lib/nodeum_sdk/models/too_short.rb +220 -0
- data/lib/nodeum_sdk/models/too_short_all_of.rb +207 -0
- data/lib/nodeum_sdk/models/type_to_secondary_facets.rb +242 -0
- data/lib/nodeum_sdk/version.rb +15 -0
- data/nodeum_sdk.gemspec +39 -0
- data/spec/api/cloud_buckets_api_spec.rb +237 -0
- data/spec/api/cloud_connectors_api_spec.rb +129 -0
- data/spec/api/containers_api_spec.rb +180 -0
- data/spec/api/files_api_spec.rb +570 -0
- data/spec/api/mounts_api_spec.rb +46 -0
- data/spec/api/nas_api_spec.rb +104 -0
- data/spec/api/nas_shares_api_spec.rb +292 -0
- data/spec/api/pools_api_spec.rb +203 -0
- data/spec/api/statistics_api_spec.rb +113 -0
- data/spec/api/systems_api_spec.rb +70 -0
- data/spec/api/tape_drives_api_spec.rb +220 -0
- data/spec/api/tape_libraries_api_spec.rb +127 -0
- data/spec/api/tapes_api_spec.rb +279 -0
- data/spec/api/task_callbacks_api_spec.rb +106 -0
- data/spec/api/task_destinations_api_spec.rb +107 -0
- data/spec/api/task_executions_api_spec.rb +127 -0
- data/spec/api/task_metadata_api_spec.rb +106 -0
- data/spec/api/task_options_api_spec.rb +106 -0
- data/spec/api/task_schedules_api_spec.rb +104 -0
- data/spec/api/task_sources_api_spec.rb +108 -0
- data/spec/api/tasks_api_spec.rb +226 -0
- data/spec/api/users_api_spec.rb +119 -0
- data/spec/api_client_spec.rb +226 -0
- data/spec/configuration_spec.rb +42 -0
- data/spec/models/active_job_status_spec.rb +63 -0
- data/spec/models/api_key_collection_spec.rb +47 -0
- data/spec/models/api_key_full_all_of_spec.rb +41 -0
- data/spec/models/api_key_full_spec.rb +41 -0
- data/spec/models/api_key_scope_spec.rb +47 -0
- data/spec/models/api_key_spec.rb +53 -0
- data/spec/models/attribute_error_spec.rb +41 -0
- data/spec/models/blank_spec.rb +35 -0
- data/spec/models/by_date_facet_bucket_all_of_spec.rb +41 -0
- data/spec/models/by_date_facet_bucket_spec.rb +41 -0
- data/spec/models/by_date_facet_buckets_spec.rb +41 -0
- data/spec/models/by_date_facet_spec.rb +95 -0
- data/spec/models/by_file_extension_facet_all_of_spec.rb +41 -0
- data/spec/models/by_file_extension_facet_spec.rb +41 -0
- data/spec/models/by_group_owner_facet_all_of_spec.rb +41 -0
- data/spec/models/by_group_owner_facet_spec.rb +41 -0
- data/spec/models/by_primary_facet_all_of_spec.rb +41 -0
- data/spec/models/by_primary_facet_spec.rb +41 -0
- data/spec/models/by_secondary_bucket_all_of_spec.rb +41 -0
- data/spec/models/by_secondary_bucket_spec.rb +41 -0
- data/spec/models/by_secondary_buckets_spec.rb +41 -0
- data/spec/models/by_secondary_facet_spec.rb +77 -0
- data/spec/models/by_secondary_type_facet_all_of_spec.rb +41 -0
- data/spec/models/by_secondary_type_facet_spec.rb +41 -0
- data/spec/models/by_size_facet_spec.rb +95 -0
- data/spec/models/by_user_owner_facet_all_of_spec.rb +41 -0
- data/spec/models/by_user_owner_facet_spec.rb +41 -0
- data/spec/models/cloud_bucket_collection_spec.rb +47 -0
- data/spec/models/cloud_bucket_simple_collection_spec.rb +41 -0
- data/spec/models/cloud_bucket_spec.rb +83 -0
- data/spec/models/cloud_connector_collection_spec.rb +47 -0
- data/spec/models/cloud_connector_spec.rb +87 -0
- data/spec/models/container_collection_spec.rb +47 -0
- data/spec/models/container_privilege_collection_spec.rb +47 -0
- data/spec/models/container_privilege_spec.rb +67 -0
- data/spec/models/container_spec.rb +99 -0
- data/spec/models/date_to_file_facets_spec.rb +83 -0
- data/spec/models/error_spec.rb +47 -0
- data/spec/models/file_facet_spec.rb +47 -0
- data/spec/models/frozen_spec.rb +35 -0
- data/spec/models/greater_than_all_of_spec.rb +47 -0
- data/spec/models/greater_than_or_equal_to_spec.rb +47 -0
- data/spec/models/greater_than_spec.rb +47 -0
- data/spec/models/import_file_collection_spec.rb +47 -0
- data/spec/models/import_file_spec.rb +111 -0
- data/spec/models/import_file_with_path_spec.rb +117 -0
- data/spec/models/invalid_spec.rb +41 -0
- data/spec/models/less_than_all_of_spec.rb +47 -0
- data/spec/models/less_than_or_equal_to_spec.rb +47 -0
- data/spec/models/less_than_spec.rb +47 -0
- data/spec/models/mount_collection_spec.rb +41 -0
- data/spec/models/mount_info_spec.rb +165 -0
- data/spec/models/mount_notification_spec.rb +51 -0
- data/spec/models/mount_status_spec.rb +53 -0
- data/spec/models/nas_collection_spec.rb +47 -0
- data/spec/models/nas_share_collection_spec.rb +47 -0
- data/spec/models/nas_share_spec.rb +95 -0
- data/spec/models/nas_spec.rb +75 -0
- data/spec/models/nodeum_file_collection_spec.rb +47 -0
- data/spec/models/nodeum_file_spec.rb +111 -0
- data/spec/models/nodeum_file_with_path_all_of_spec.rb +41 -0
- data/spec/models/nodeum_file_with_path_spec.rb +41 -0
- data/spec/models/occurrence_less_than_all_of_spec.rb +47 -0
- data/spec/models/occurrence_less_than_or_equal_to_spec.rb +47 -0
- data/spec/models/occurrence_less_than_spec.rb +47 -0
- data/spec/models/on_tapes_file_collection_spec.rb +47 -0
- data/spec/models/on_tapes_file_spec.rb +69 -0
- data/spec/models/pool_collection_spec.rb +47 -0
- data/spec/models/pool_spec.rb +79 -0
- data/spec/models/pool_up_all_of_spec.rb +53 -0
- data/spec/models/pool_up_spec.rb +53 -0
- data/spec/models/primary_scan_spec.rb +69 -0
- data/spec/models/quota_on_cache_spec.rb +35 -0
- data/spec/models/reset_sections_spec.rb +57 -0
- data/spec/models/reset_spec.rb +41 -0
- data/spec/models/size_to_date_facets_spec.rb +83 -0
- data/spec/models/system_group_collection_spec.rb +47 -0
- data/spec/models/system_group_spec.rb +53 -0
- data/spec/models/system_user_collection_spec.rb +47 -0
- data/spec/models/system_user_spec.rb +59 -0
- data/spec/models/taken_all_of_spec.rb +41 -0
- data/spec/models/taken_spec.rb +41 -0
- data/spec/models/tape_collection_spec.rb +47 -0
- data/spec/models/tape_drive_all_of_spec.rb +159 -0
- data/spec/models/tape_drive_collection_spec.rb +47 -0
- data/spec/models/tape_drive_device_collection_spec.rb +41 -0
- data/spec/models/tape_drive_device_spec.rb +77 -0
- data/spec/models/tape_drive_spec.rb +159 -0
- data/spec/models/tape_library_all_of_spec.rb +75 -0
- data/spec/models/tape_library_collection_spec.rb +47 -0
- data/spec/models/tape_library_device_collection_spec.rb +41 -0
- data/spec/models/tape_library_device_spec.rb +105 -0
- data/spec/models/tape_library_spec.rb +75 -0
- data/spec/models/tape_spec.rb +189 -0
- data/spec/models/tape_stat_collection_spec.rb +47 -0
- data/spec/models/tape_stat_spec.rb +335 -0
- data/spec/models/task_callback_collection_spec.rb +47 -0
- data/spec/models/task_callback_spec.rb +57 -0
- data/spec/models/task_collection_spec.rb +47 -0
- data/spec/models/task_destination_collection_spec.rb +47 -0
- data/spec/models/task_destination_down_spec.rb +65 -0
- data/spec/models/task_destination_up_spec.rb +71 -0
- data/spec/models/task_execution_collection_spec.rb +47 -0
- data/spec/models/task_execution_spec.rb +163 -0
- data/spec/models/task_metadatum_collection_spec.rb +47 -0
- data/spec/models/task_metadatum_spec.rb +53 -0
- data/spec/models/task_option_collection_spec.rb +47 -0
- data/spec/models/task_option_spec.rb +57 -0
- data/spec/models/task_schedule_collection_spec.rb +47 -0
- data/spec/models/task_schedule_spec.rb +89 -0
- data/spec/models/task_source_collection_spec.rb +47 -0
- data/spec/models/task_source_down_spec.rb +77 -0
- data/spec/models/task_source_up_spec.rb +89 -0
- data/spec/models/task_spec.rb +183 -0
- data/spec/models/too_long_all_of_spec.rb +41 -0
- data/spec/models/too_long_spec.rb +41 -0
- data/spec/models/too_short_all_of_spec.rb +41 -0
- data/spec/models/too_short_spec.rb +41 -0
- data/spec/models/type_to_secondary_facets_spec.rb +65 -0
- data/spec/spec_helper.rb +111 -0
- metadata +718 -0
@@ -0,0 +1,1104 @@
|
|
1
|
+
=begin
|
2
|
+
#Nodeum API
|
3
|
+
|
4
|
+
#The Nodeum API makes it easy to tap into the digital data mesh that runs across your organisation. Make requests to our API endpoints and we’ll give you everything you need to interconnect your business workflows with your storage. All production API requests are made to: http://nodeumhostname/api/ The current production version of the API is v1. **REST** The Nodeum API is a RESTful API. This means that the API is designed to allow you to get, create, update, & delete objects with the HTTP verbs GET, POST, PUT, PATCH, & DELETE. **JSON** The Nodeum API speaks exclusively in JSON. This means that you should always set the Content-Type header to application/json to ensure that your requests are properly accepted and processed by the API. **Authentication** All API calls require user-password authentication. **Cross-Origin Resource Sharing** The Nodeum API supports CORS for communicating from Javascript for these endpoints. You will need to specify an Origin URI when creating your application to allow for CORS to be whitelisted for your domain. **Pagination** Some endpoints such as File Listing return a potentially lengthy array of objects. In order to keep the response sizes manageable the API will take advantage of pagination. Pagination is a mechanism for returning a subset of the results for a request and allowing for subsequent requests to “page” through the rest of the results until the end is reached. Paginated endpoints follow a standard interface that accepts two query parameters, limit and offset, and return a payload that follows a standard form. These parameters names and their behavior are borrowed from SQL LIMIT and OFFSET keywords. **Versioning** The Nodeum API is constantly being worked on to add features, make improvements, and fix bugs. This means that you should expect changes to be introduced and documented. However, there are some changes or additions that are considered backwards-compatible and your applications should be flexible enough to handle them. These include: - Adding new endpoints to the API - Adding new attributes to the response of an existing endpoint - Changing the order of attributes of responses (JSON by definition is an object of unordered key/value pairs) **Filter parameters** When browsing a list of items, multiple filter parameters may be applied. Some operators can be added to the value as a prefix: - `=` value is equal. Default operator, may be omitted - `!=` value is different - `>` greater than - `>=` greater than or equal - `<` lower than - `>=` lower than or equal - `><` included in list, items should be separated by `|` - `!><` not included in list, items should be separated by `|` - `~` pattern matching, may include `%` (any characters) and `_` (one character) - `!~` pattern not matching, may include `%` (any characters) and `_` (one character)
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 2.1.0
|
7
|
+
Contact: info@nodeum.io
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.3.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'cgi'
|
14
|
+
|
15
|
+
module Nodeum
|
16
|
+
class TapesApi
|
17
|
+
attr_accessor :api_client
|
18
|
+
|
19
|
+
def initialize(api_client = ApiClient.default)
|
20
|
+
@api_client = api_client
|
21
|
+
end
|
22
|
+
# List all tape statistics.
|
23
|
+
# **API Key Scope**: tape_stats / index
|
24
|
+
# @param [Hash] opts the optional parameters
|
25
|
+
# @option opts [Integer] :limit The number of items to display for pagination.
|
26
|
+
# @option opts [Integer] :offset The number of items to skip for pagination.
|
27
|
+
# @return [TapeStatCollection]
|
28
|
+
def index_tape_stats(opts = {})
|
29
|
+
data, _status_code, _headers = index_tape_stats_with_http_info(opts)
|
30
|
+
data
|
31
|
+
end
|
32
|
+
|
33
|
+
# List all tape statistics.
|
34
|
+
# **API Key Scope**: tape_stats / index
|
35
|
+
# @param [Hash] opts the optional parameters
|
36
|
+
# @option opts [Integer] :limit The number of items to display for pagination.
|
37
|
+
# @option opts [Integer] :offset The number of items to skip for pagination.
|
38
|
+
# @return [Array<(TapeStatCollection, Integer, Hash)>] TapeStatCollection data, response status code and response headers
|
39
|
+
def index_tape_stats_with_http_info(opts = {})
|
40
|
+
if @api_client.config.debugging
|
41
|
+
@api_client.config.logger.debug 'Calling API: TapesApi.index_tape_stats ...'
|
42
|
+
end
|
43
|
+
# resource path
|
44
|
+
local_var_path = '/tape_stats'
|
45
|
+
|
46
|
+
# query parameters
|
47
|
+
query_params = opts[:query_params] || {}
|
48
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
49
|
+
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
50
|
+
|
51
|
+
# header parameters
|
52
|
+
header_params = opts[:header_params] || {}
|
53
|
+
# HTTP header 'Accept' (if needed)
|
54
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
55
|
+
|
56
|
+
# form parameters
|
57
|
+
form_params = opts[:form_params] || {}
|
58
|
+
|
59
|
+
# http body (model)
|
60
|
+
post_body = opts[:body]
|
61
|
+
|
62
|
+
# return_type
|
63
|
+
return_type = opts[:return_type] || 'TapeStatCollection'
|
64
|
+
|
65
|
+
# auth_names
|
66
|
+
auth_names = opts[:auth_names] || ['BasicAuth', 'BearerAuth']
|
67
|
+
|
68
|
+
new_options = opts.merge(
|
69
|
+
:header_params => header_params,
|
70
|
+
:query_params => query_params,
|
71
|
+
:form_params => form_params,
|
72
|
+
:body => post_body,
|
73
|
+
:auth_names => auth_names,
|
74
|
+
:return_type => return_type
|
75
|
+
)
|
76
|
+
|
77
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
78
|
+
if @api_client.config.debugging
|
79
|
+
@api_client.config.logger.debug "API called: TapesApi#index_tape_stats\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
80
|
+
end
|
81
|
+
return data, status_code, headers
|
82
|
+
end
|
83
|
+
|
84
|
+
# Lists all tapes.
|
85
|
+
# **API Key Scope**: tapes / index
|
86
|
+
# @param [Hash] opts the optional parameters
|
87
|
+
# @option opts [Integer] :limit The number of items to display for pagination.
|
88
|
+
# @option opts [Integer] :offset The number of items to skip for pagination.
|
89
|
+
# @option opts [Array<String>] :sort_by Sort results by attribute. Can sort on multiple attributes, separated by `|`. Order direction can be suffixing the attribute by either `:asc` (default) or `:desc`.
|
90
|
+
# @option opts [String] :id Filter on id
|
91
|
+
# @option opts [String] :tape_library_id Filter on tape library id
|
92
|
+
# @option opts [String] :pool_id Filter on a pool id
|
93
|
+
# @option opts [String] :barcode Filter on barcode
|
94
|
+
# @option opts [String] :location Filter on location
|
95
|
+
# @option opts [String] :type Filter on type
|
96
|
+
# @option opts [String] :locked Filter on locked
|
97
|
+
# @option opts [String] :scratch Filter on scratch
|
98
|
+
# @option opts [String] :cleaning Filter on cleaning
|
99
|
+
# @option opts [String] :write_protect Filter on write protect
|
100
|
+
# @option opts [String] :mounted Filter on mounted
|
101
|
+
# @option opts [String] :ejected Filter on ejected
|
102
|
+
# @option opts [String] :known Filter on known
|
103
|
+
# @option opts [String] :mount_count Filter on mount count
|
104
|
+
# @option opts [String] :date_in Filter on date in
|
105
|
+
# @option opts [String] :date_move Filter on date move
|
106
|
+
# @option opts [String] :free Filter on free
|
107
|
+
# @option opts [String] :max Filter on max
|
108
|
+
# @option opts [String] :last_size_update Filter on last size update
|
109
|
+
# @option opts [String] :last_maintenance Filter on last maintenance
|
110
|
+
# @option opts [String] :last_repack Filter on last repack
|
111
|
+
# @option opts [String] :repack_status Filter on repack status
|
112
|
+
# @option opts [String] :hash Filter on hash
|
113
|
+
# @option opts [String] :force_import_type Filter on force import type
|
114
|
+
# @option opts [String] :need_to_check Filter on need to check
|
115
|
+
# @return [TapeCollection]
|
116
|
+
def index_tapes(opts = {})
|
117
|
+
data, _status_code, _headers = index_tapes_with_http_info(opts)
|
118
|
+
data
|
119
|
+
end
|
120
|
+
|
121
|
+
# Lists all tapes.
|
122
|
+
# **API Key Scope**: tapes / index
|
123
|
+
# @param [Hash] opts the optional parameters
|
124
|
+
# @option opts [Integer] :limit The number of items to display for pagination.
|
125
|
+
# @option opts [Integer] :offset The number of items to skip for pagination.
|
126
|
+
# @option opts [Array<String>] :sort_by Sort results by attribute. Can sort on multiple attributes, separated by `|`. Order direction can be suffixing the attribute by either `:asc` (default) or `:desc`.
|
127
|
+
# @option opts [String] :id Filter on id
|
128
|
+
# @option opts [String] :tape_library_id Filter on tape library id
|
129
|
+
# @option opts [String] :pool_id Filter on a pool id
|
130
|
+
# @option opts [String] :barcode Filter on barcode
|
131
|
+
# @option opts [String] :location Filter on location
|
132
|
+
# @option opts [String] :type Filter on type
|
133
|
+
# @option opts [String] :locked Filter on locked
|
134
|
+
# @option opts [String] :scratch Filter on scratch
|
135
|
+
# @option opts [String] :cleaning Filter on cleaning
|
136
|
+
# @option opts [String] :write_protect Filter on write protect
|
137
|
+
# @option opts [String] :mounted Filter on mounted
|
138
|
+
# @option opts [String] :ejected Filter on ejected
|
139
|
+
# @option opts [String] :known Filter on known
|
140
|
+
# @option opts [String] :mount_count Filter on mount count
|
141
|
+
# @option opts [String] :date_in Filter on date in
|
142
|
+
# @option opts [String] :date_move Filter on date move
|
143
|
+
# @option opts [String] :free Filter on free
|
144
|
+
# @option opts [String] :max Filter on max
|
145
|
+
# @option opts [String] :last_size_update Filter on last size update
|
146
|
+
# @option opts [String] :last_maintenance Filter on last maintenance
|
147
|
+
# @option opts [String] :last_repack Filter on last repack
|
148
|
+
# @option opts [String] :repack_status Filter on repack status
|
149
|
+
# @option opts [String] :hash Filter on hash
|
150
|
+
# @option opts [String] :force_import_type Filter on force import type
|
151
|
+
# @option opts [String] :need_to_check Filter on need to check
|
152
|
+
# @return [Array<(TapeCollection, Integer, Hash)>] TapeCollection data, response status code and response headers
|
153
|
+
def index_tapes_with_http_info(opts = {})
|
154
|
+
if @api_client.config.debugging
|
155
|
+
@api_client.config.logger.debug 'Calling API: TapesApi.index_tapes ...'
|
156
|
+
end
|
157
|
+
# resource path
|
158
|
+
local_var_path = '/tapes'
|
159
|
+
|
160
|
+
# query parameters
|
161
|
+
query_params = opts[:query_params] || {}
|
162
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
163
|
+
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
164
|
+
query_params[:'sort_by'] = @api_client.build_collection_param(opts[:'sort_by'], :pipe) if !opts[:'sort_by'].nil?
|
165
|
+
query_params[:'id'] = opts[:'id'] if !opts[:'id'].nil?
|
166
|
+
query_params[:'tape_library_id'] = opts[:'tape_library_id'] if !opts[:'tape_library_id'].nil?
|
167
|
+
query_params[:'pool_id'] = opts[:'pool_id'] if !opts[:'pool_id'].nil?
|
168
|
+
query_params[:'barcode'] = opts[:'barcode'] if !opts[:'barcode'].nil?
|
169
|
+
query_params[:'location'] = opts[:'location'] if !opts[:'location'].nil?
|
170
|
+
query_params[:'type'] = opts[:'type'] if !opts[:'type'].nil?
|
171
|
+
query_params[:'locked'] = opts[:'locked'] if !opts[:'locked'].nil?
|
172
|
+
query_params[:'scratch'] = opts[:'scratch'] if !opts[:'scratch'].nil?
|
173
|
+
query_params[:'cleaning'] = opts[:'cleaning'] if !opts[:'cleaning'].nil?
|
174
|
+
query_params[:'write_protect'] = opts[:'write_protect'] if !opts[:'write_protect'].nil?
|
175
|
+
query_params[:'mounted'] = opts[:'mounted'] if !opts[:'mounted'].nil?
|
176
|
+
query_params[:'ejected'] = opts[:'ejected'] if !opts[:'ejected'].nil?
|
177
|
+
query_params[:'known'] = opts[:'known'] if !opts[:'known'].nil?
|
178
|
+
query_params[:'mount_count'] = opts[:'mount_count'] if !opts[:'mount_count'].nil?
|
179
|
+
query_params[:'date_in'] = opts[:'date_in'] if !opts[:'date_in'].nil?
|
180
|
+
query_params[:'date_move'] = opts[:'date_move'] if !opts[:'date_move'].nil?
|
181
|
+
query_params[:'free'] = opts[:'free'] if !opts[:'free'].nil?
|
182
|
+
query_params[:'max'] = opts[:'max'] if !opts[:'max'].nil?
|
183
|
+
query_params[:'last_size_update'] = opts[:'last_size_update'] if !opts[:'last_size_update'].nil?
|
184
|
+
query_params[:'last_maintenance'] = opts[:'last_maintenance'] if !opts[:'last_maintenance'].nil?
|
185
|
+
query_params[:'last_repack'] = opts[:'last_repack'] if !opts[:'last_repack'].nil?
|
186
|
+
query_params[:'repack_status'] = opts[:'repack_status'] if !opts[:'repack_status'].nil?
|
187
|
+
query_params[:'hash'] = opts[:'hash'] if !opts[:'hash'].nil?
|
188
|
+
query_params[:'force_import_type'] = opts[:'force_import_type'] if !opts[:'force_import_type'].nil?
|
189
|
+
query_params[:'need_to_check'] = opts[:'need_to_check'] if !opts[:'need_to_check'].nil?
|
190
|
+
|
191
|
+
# header parameters
|
192
|
+
header_params = opts[:header_params] || {}
|
193
|
+
# HTTP header 'Accept' (if needed)
|
194
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
195
|
+
|
196
|
+
# form parameters
|
197
|
+
form_params = opts[:form_params] || {}
|
198
|
+
|
199
|
+
# http body (model)
|
200
|
+
post_body = opts[:body]
|
201
|
+
|
202
|
+
# return_type
|
203
|
+
return_type = opts[:return_type] || 'TapeCollection'
|
204
|
+
|
205
|
+
# auth_names
|
206
|
+
auth_names = opts[:auth_names] || ['BasicAuth', 'BearerAuth']
|
207
|
+
|
208
|
+
new_options = opts.merge(
|
209
|
+
:header_params => header_params,
|
210
|
+
:query_params => query_params,
|
211
|
+
:form_params => form_params,
|
212
|
+
:body => post_body,
|
213
|
+
:auth_names => auth_names,
|
214
|
+
:return_type => return_type
|
215
|
+
)
|
216
|
+
|
217
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
218
|
+
if @api_client.config.debugging
|
219
|
+
@api_client.config.logger.debug "API called: TapesApi#index_tapes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
220
|
+
end
|
221
|
+
return data, status_code, headers
|
222
|
+
end
|
223
|
+
|
224
|
+
# Lists all tapes.
|
225
|
+
# **API Key Scope**: tapes / index
|
226
|
+
# @param pool_id [String] Numeric ID, or name of pool.
|
227
|
+
# @param [Hash] opts the optional parameters
|
228
|
+
# @option opts [Integer] :limit The number of items to display for pagination.
|
229
|
+
# @option opts [Integer] :offset The number of items to skip for pagination.
|
230
|
+
# @option opts [Array<String>] :sort_by Sort results by attribute. Can sort on multiple attributes, separated by `|`. Order direction can be suffixing the attribute by either `:asc` (default) or `:desc`.
|
231
|
+
# @option opts [String] :id Filter on id
|
232
|
+
# @option opts [String] :tape_library_id Filter on tape library id
|
233
|
+
# @option opts [String] :barcode Filter on barcode
|
234
|
+
# @option opts [String] :location Filter on location
|
235
|
+
# @option opts [String] :type Filter on type
|
236
|
+
# @option opts [String] :locked Filter on locked
|
237
|
+
# @option opts [String] :scratch Filter on scratch
|
238
|
+
# @option opts [String] :cleaning Filter on cleaning
|
239
|
+
# @option opts [String] :write_protect Filter on write protect
|
240
|
+
# @option opts [String] :mounted Filter on mounted
|
241
|
+
# @option opts [String] :ejected Filter on ejected
|
242
|
+
# @option opts [String] :known Filter on known
|
243
|
+
# @option opts [String] :mount_count Filter on mount count
|
244
|
+
# @option opts [String] :date_in Filter on date in
|
245
|
+
# @option opts [String] :date_move Filter on date move
|
246
|
+
# @option opts [String] :free Filter on free
|
247
|
+
# @option opts [String] :max Filter on max
|
248
|
+
# @option opts [String] :last_size_update Filter on last size update
|
249
|
+
# @option opts [String] :last_maintenance Filter on last maintenance
|
250
|
+
# @option opts [String] :last_repack Filter on last repack
|
251
|
+
# @option opts [String] :repack_status Filter on repack status
|
252
|
+
# @option opts [String] :hash Filter on hash
|
253
|
+
# @option opts [String] :force_import_type Filter on force import type
|
254
|
+
# @option opts [String] :need_to_check Filter on need to check
|
255
|
+
# @return [TapeCollection]
|
256
|
+
def index_tapes_by_pool(pool_id, opts = {})
|
257
|
+
data, _status_code, _headers = index_tapes_by_pool_with_http_info(pool_id, opts)
|
258
|
+
data
|
259
|
+
end
|
260
|
+
|
261
|
+
# Lists all tapes.
|
262
|
+
# **API Key Scope**: tapes / index
|
263
|
+
# @param pool_id [String] Numeric ID, or name of pool.
|
264
|
+
# @param [Hash] opts the optional parameters
|
265
|
+
# @option opts [Integer] :limit The number of items to display for pagination.
|
266
|
+
# @option opts [Integer] :offset The number of items to skip for pagination.
|
267
|
+
# @option opts [Array<String>] :sort_by Sort results by attribute. Can sort on multiple attributes, separated by `|`. Order direction can be suffixing the attribute by either `:asc` (default) or `:desc`.
|
268
|
+
# @option opts [String] :id Filter on id
|
269
|
+
# @option opts [String] :tape_library_id Filter on tape library id
|
270
|
+
# @option opts [String] :barcode Filter on barcode
|
271
|
+
# @option opts [String] :location Filter on location
|
272
|
+
# @option opts [String] :type Filter on type
|
273
|
+
# @option opts [String] :locked Filter on locked
|
274
|
+
# @option opts [String] :scratch Filter on scratch
|
275
|
+
# @option opts [String] :cleaning Filter on cleaning
|
276
|
+
# @option opts [String] :write_protect Filter on write protect
|
277
|
+
# @option opts [String] :mounted Filter on mounted
|
278
|
+
# @option opts [String] :ejected Filter on ejected
|
279
|
+
# @option opts [String] :known Filter on known
|
280
|
+
# @option opts [String] :mount_count Filter on mount count
|
281
|
+
# @option opts [String] :date_in Filter on date in
|
282
|
+
# @option opts [String] :date_move Filter on date move
|
283
|
+
# @option opts [String] :free Filter on free
|
284
|
+
# @option opts [String] :max Filter on max
|
285
|
+
# @option opts [String] :last_size_update Filter on last size update
|
286
|
+
# @option opts [String] :last_maintenance Filter on last maintenance
|
287
|
+
# @option opts [String] :last_repack Filter on last repack
|
288
|
+
# @option opts [String] :repack_status Filter on repack status
|
289
|
+
# @option opts [String] :hash Filter on hash
|
290
|
+
# @option opts [String] :force_import_type Filter on force import type
|
291
|
+
# @option opts [String] :need_to_check Filter on need to check
|
292
|
+
# @return [Array<(TapeCollection, Integer, Hash)>] TapeCollection data, response status code and response headers
|
293
|
+
def index_tapes_by_pool_with_http_info(pool_id, opts = {})
|
294
|
+
if @api_client.config.debugging
|
295
|
+
@api_client.config.logger.debug 'Calling API: TapesApi.index_tapes_by_pool ...'
|
296
|
+
end
|
297
|
+
# verify the required parameter 'pool_id' is set
|
298
|
+
if @api_client.config.client_side_validation && pool_id.nil?
|
299
|
+
fail ArgumentError, "Missing the required parameter 'pool_id' when calling TapesApi.index_tapes_by_pool"
|
300
|
+
end
|
301
|
+
# resource path
|
302
|
+
local_var_path = '/pools/{pool_id}/tapes'.sub('{' + 'pool_id' + '}', CGI.escape(pool_id.to_s))
|
303
|
+
|
304
|
+
# query parameters
|
305
|
+
query_params = opts[:query_params] || {}
|
306
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
307
|
+
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
308
|
+
query_params[:'sort_by'] = @api_client.build_collection_param(opts[:'sort_by'], :pipe) if !opts[:'sort_by'].nil?
|
309
|
+
query_params[:'id'] = opts[:'id'] if !opts[:'id'].nil?
|
310
|
+
query_params[:'tape_library_id'] = opts[:'tape_library_id'] if !opts[:'tape_library_id'].nil?
|
311
|
+
query_params[:'barcode'] = opts[:'barcode'] if !opts[:'barcode'].nil?
|
312
|
+
query_params[:'location'] = opts[:'location'] if !opts[:'location'].nil?
|
313
|
+
query_params[:'type'] = opts[:'type'] if !opts[:'type'].nil?
|
314
|
+
query_params[:'locked'] = opts[:'locked'] if !opts[:'locked'].nil?
|
315
|
+
query_params[:'scratch'] = opts[:'scratch'] if !opts[:'scratch'].nil?
|
316
|
+
query_params[:'cleaning'] = opts[:'cleaning'] if !opts[:'cleaning'].nil?
|
317
|
+
query_params[:'write_protect'] = opts[:'write_protect'] if !opts[:'write_protect'].nil?
|
318
|
+
query_params[:'mounted'] = opts[:'mounted'] if !opts[:'mounted'].nil?
|
319
|
+
query_params[:'ejected'] = opts[:'ejected'] if !opts[:'ejected'].nil?
|
320
|
+
query_params[:'known'] = opts[:'known'] if !opts[:'known'].nil?
|
321
|
+
query_params[:'mount_count'] = opts[:'mount_count'] if !opts[:'mount_count'].nil?
|
322
|
+
query_params[:'date_in'] = opts[:'date_in'] if !opts[:'date_in'].nil?
|
323
|
+
query_params[:'date_move'] = opts[:'date_move'] if !opts[:'date_move'].nil?
|
324
|
+
query_params[:'free'] = opts[:'free'] if !opts[:'free'].nil?
|
325
|
+
query_params[:'max'] = opts[:'max'] if !opts[:'max'].nil?
|
326
|
+
query_params[:'last_size_update'] = opts[:'last_size_update'] if !opts[:'last_size_update'].nil?
|
327
|
+
query_params[:'last_maintenance'] = opts[:'last_maintenance'] if !opts[:'last_maintenance'].nil?
|
328
|
+
query_params[:'last_repack'] = opts[:'last_repack'] if !opts[:'last_repack'].nil?
|
329
|
+
query_params[:'repack_status'] = opts[:'repack_status'] if !opts[:'repack_status'].nil?
|
330
|
+
query_params[:'hash'] = opts[:'hash'] if !opts[:'hash'].nil?
|
331
|
+
query_params[:'force_import_type'] = opts[:'force_import_type'] if !opts[:'force_import_type'].nil?
|
332
|
+
query_params[:'need_to_check'] = opts[:'need_to_check'] if !opts[:'need_to_check'].nil?
|
333
|
+
|
334
|
+
# header parameters
|
335
|
+
header_params = opts[:header_params] || {}
|
336
|
+
# HTTP header 'Accept' (if needed)
|
337
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
338
|
+
|
339
|
+
# form parameters
|
340
|
+
form_params = opts[:form_params] || {}
|
341
|
+
|
342
|
+
# http body (model)
|
343
|
+
post_body = opts[:body]
|
344
|
+
|
345
|
+
# return_type
|
346
|
+
return_type = opts[:return_type] || 'TapeCollection'
|
347
|
+
|
348
|
+
# auth_names
|
349
|
+
auth_names = opts[:auth_names] || ['BasicAuth', 'BearerAuth']
|
350
|
+
|
351
|
+
new_options = opts.merge(
|
352
|
+
:header_params => header_params,
|
353
|
+
:query_params => query_params,
|
354
|
+
:form_params => form_params,
|
355
|
+
:body => post_body,
|
356
|
+
:auth_names => auth_names,
|
357
|
+
:return_type => return_type
|
358
|
+
)
|
359
|
+
|
360
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
361
|
+
if @api_client.config.debugging
|
362
|
+
@api_client.config.logger.debug "API called: TapesApi#index_tapes_by_pool\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
363
|
+
end
|
364
|
+
return data, status_code, headers
|
365
|
+
end
|
366
|
+
|
367
|
+
# Lists all tapes.
|
368
|
+
# **API Key Scope**: tapes / index
|
369
|
+
# @param tape_library_id [String] Numeric ID, serial, or name of tape library.
|
370
|
+
# @param [Hash] opts the optional parameters
|
371
|
+
# @option opts [Integer] :limit The number of items to display for pagination.
|
372
|
+
# @option opts [Integer] :offset The number of items to skip for pagination.
|
373
|
+
# @option opts [Array<String>] :sort_by Sort results by attribute. Can sort on multiple attributes, separated by `|`. Order direction can be suffixing the attribute by either `:asc` (default) or `:desc`.
|
374
|
+
# @option opts [String] :id Filter on id
|
375
|
+
# @option opts [String] :pool_id Filter on a pool id
|
376
|
+
# @option opts [String] :barcode Filter on barcode
|
377
|
+
# @option opts [String] :location Filter on location
|
378
|
+
# @option opts [String] :type Filter on type
|
379
|
+
# @option opts [String] :locked Filter on locked
|
380
|
+
# @option opts [String] :scratch Filter on scratch
|
381
|
+
# @option opts [String] :cleaning Filter on cleaning
|
382
|
+
# @option opts [String] :write_protect Filter on write protect
|
383
|
+
# @option opts [String] :mounted Filter on mounted
|
384
|
+
# @option opts [String] :ejected Filter on ejected
|
385
|
+
# @option opts [String] :known Filter on known
|
386
|
+
# @option opts [String] :mount_count Filter on mount count
|
387
|
+
# @option opts [String] :date_in Filter on date in
|
388
|
+
# @option opts [String] :date_move Filter on date move
|
389
|
+
# @option opts [String] :free Filter on free
|
390
|
+
# @option opts [String] :max Filter on max
|
391
|
+
# @option opts [String] :last_size_update Filter on last size update
|
392
|
+
# @option opts [String] :last_maintenance Filter on last maintenance
|
393
|
+
# @option opts [String] :last_repack Filter on last repack
|
394
|
+
# @option opts [String] :repack_status Filter on repack status
|
395
|
+
# @option opts [String] :hash Filter on hash
|
396
|
+
# @option opts [String] :force_import_type Filter on force import type
|
397
|
+
# @option opts [String] :need_to_check Filter on need to check
|
398
|
+
# @return [TapeCollection]
|
399
|
+
def index_tapes_by_tape_library(tape_library_id, opts = {})
|
400
|
+
data, _status_code, _headers = index_tapes_by_tape_library_with_http_info(tape_library_id, opts)
|
401
|
+
data
|
402
|
+
end
|
403
|
+
|
404
|
+
# Lists all tapes.
|
405
|
+
# **API Key Scope**: tapes / index
|
406
|
+
# @param tape_library_id [String] Numeric ID, serial, or name of tape library.
|
407
|
+
# @param [Hash] opts the optional parameters
|
408
|
+
# @option opts [Integer] :limit The number of items to display for pagination.
|
409
|
+
# @option opts [Integer] :offset The number of items to skip for pagination.
|
410
|
+
# @option opts [Array<String>] :sort_by Sort results by attribute. Can sort on multiple attributes, separated by `|`. Order direction can be suffixing the attribute by either `:asc` (default) or `:desc`.
|
411
|
+
# @option opts [String] :id Filter on id
|
412
|
+
# @option opts [String] :pool_id Filter on a pool id
|
413
|
+
# @option opts [String] :barcode Filter on barcode
|
414
|
+
# @option opts [String] :location Filter on location
|
415
|
+
# @option opts [String] :type Filter on type
|
416
|
+
# @option opts [String] :locked Filter on locked
|
417
|
+
# @option opts [String] :scratch Filter on scratch
|
418
|
+
# @option opts [String] :cleaning Filter on cleaning
|
419
|
+
# @option opts [String] :write_protect Filter on write protect
|
420
|
+
# @option opts [String] :mounted Filter on mounted
|
421
|
+
# @option opts [String] :ejected Filter on ejected
|
422
|
+
# @option opts [String] :known Filter on known
|
423
|
+
# @option opts [String] :mount_count Filter on mount count
|
424
|
+
# @option opts [String] :date_in Filter on date in
|
425
|
+
# @option opts [String] :date_move Filter on date move
|
426
|
+
# @option opts [String] :free Filter on free
|
427
|
+
# @option opts [String] :max Filter on max
|
428
|
+
# @option opts [String] :last_size_update Filter on last size update
|
429
|
+
# @option opts [String] :last_maintenance Filter on last maintenance
|
430
|
+
# @option opts [String] :last_repack Filter on last repack
|
431
|
+
# @option opts [String] :repack_status Filter on repack status
|
432
|
+
# @option opts [String] :hash Filter on hash
|
433
|
+
# @option opts [String] :force_import_type Filter on force import type
|
434
|
+
# @option opts [String] :need_to_check Filter on need to check
|
435
|
+
# @return [Array<(TapeCollection, Integer, Hash)>] TapeCollection data, response status code and response headers
|
436
|
+
def index_tapes_by_tape_library_with_http_info(tape_library_id, opts = {})
|
437
|
+
if @api_client.config.debugging
|
438
|
+
@api_client.config.logger.debug 'Calling API: TapesApi.index_tapes_by_tape_library ...'
|
439
|
+
end
|
440
|
+
# verify the required parameter 'tape_library_id' is set
|
441
|
+
if @api_client.config.client_side_validation && tape_library_id.nil?
|
442
|
+
fail ArgumentError, "Missing the required parameter 'tape_library_id' when calling TapesApi.index_tapes_by_tape_library"
|
443
|
+
end
|
444
|
+
# resource path
|
445
|
+
local_var_path = '/tape_libraries/{tape_library_id}/tapes'.sub('{' + 'tape_library_id' + '}', CGI.escape(tape_library_id.to_s))
|
446
|
+
|
447
|
+
# query parameters
|
448
|
+
query_params = opts[:query_params] || {}
|
449
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
450
|
+
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
451
|
+
query_params[:'sort_by'] = @api_client.build_collection_param(opts[:'sort_by'], :pipe) if !opts[:'sort_by'].nil?
|
452
|
+
query_params[:'id'] = opts[:'id'] if !opts[:'id'].nil?
|
453
|
+
query_params[:'pool_id'] = opts[:'pool_id'] if !opts[:'pool_id'].nil?
|
454
|
+
query_params[:'barcode'] = opts[:'barcode'] if !opts[:'barcode'].nil?
|
455
|
+
query_params[:'location'] = opts[:'location'] if !opts[:'location'].nil?
|
456
|
+
query_params[:'type'] = opts[:'type'] if !opts[:'type'].nil?
|
457
|
+
query_params[:'locked'] = opts[:'locked'] if !opts[:'locked'].nil?
|
458
|
+
query_params[:'scratch'] = opts[:'scratch'] if !opts[:'scratch'].nil?
|
459
|
+
query_params[:'cleaning'] = opts[:'cleaning'] if !opts[:'cleaning'].nil?
|
460
|
+
query_params[:'write_protect'] = opts[:'write_protect'] if !opts[:'write_protect'].nil?
|
461
|
+
query_params[:'mounted'] = opts[:'mounted'] if !opts[:'mounted'].nil?
|
462
|
+
query_params[:'ejected'] = opts[:'ejected'] if !opts[:'ejected'].nil?
|
463
|
+
query_params[:'known'] = opts[:'known'] if !opts[:'known'].nil?
|
464
|
+
query_params[:'mount_count'] = opts[:'mount_count'] if !opts[:'mount_count'].nil?
|
465
|
+
query_params[:'date_in'] = opts[:'date_in'] if !opts[:'date_in'].nil?
|
466
|
+
query_params[:'date_move'] = opts[:'date_move'] if !opts[:'date_move'].nil?
|
467
|
+
query_params[:'free'] = opts[:'free'] if !opts[:'free'].nil?
|
468
|
+
query_params[:'max'] = opts[:'max'] if !opts[:'max'].nil?
|
469
|
+
query_params[:'last_size_update'] = opts[:'last_size_update'] if !opts[:'last_size_update'].nil?
|
470
|
+
query_params[:'last_maintenance'] = opts[:'last_maintenance'] if !opts[:'last_maintenance'].nil?
|
471
|
+
query_params[:'last_repack'] = opts[:'last_repack'] if !opts[:'last_repack'].nil?
|
472
|
+
query_params[:'repack_status'] = opts[:'repack_status'] if !opts[:'repack_status'].nil?
|
473
|
+
query_params[:'hash'] = opts[:'hash'] if !opts[:'hash'].nil?
|
474
|
+
query_params[:'force_import_type'] = opts[:'force_import_type'] if !opts[:'force_import_type'].nil?
|
475
|
+
query_params[:'need_to_check'] = opts[:'need_to_check'] if !opts[:'need_to_check'].nil?
|
476
|
+
|
477
|
+
# header parameters
|
478
|
+
header_params = opts[:header_params] || {}
|
479
|
+
# HTTP header 'Accept' (if needed)
|
480
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
481
|
+
|
482
|
+
# form parameters
|
483
|
+
form_params = opts[:form_params] || {}
|
484
|
+
|
485
|
+
# http body (model)
|
486
|
+
post_body = opts[:body]
|
487
|
+
|
488
|
+
# return_type
|
489
|
+
return_type = opts[:return_type] || 'TapeCollection'
|
490
|
+
|
491
|
+
# auth_names
|
492
|
+
auth_names = opts[:auth_names] || ['BasicAuth', 'BearerAuth']
|
493
|
+
|
494
|
+
new_options = opts.merge(
|
495
|
+
:header_params => header_params,
|
496
|
+
:query_params => query_params,
|
497
|
+
:form_params => form_params,
|
498
|
+
:body => post_body,
|
499
|
+
:auth_names => auth_names,
|
500
|
+
:return_type => return_type
|
501
|
+
)
|
502
|
+
|
503
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
504
|
+
if @api_client.config.debugging
|
505
|
+
@api_client.config.logger.debug "API called: TapesApi#index_tapes_by_tape_library\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
506
|
+
end
|
507
|
+
return data, status_code, headers
|
508
|
+
end
|
509
|
+
|
510
|
+
# Get mount status of Tape.
|
511
|
+
# **API Key Scope**: tapes / mount_status
|
512
|
+
# @param tape_id [String] Numeric ID, or barcode of tape.
|
513
|
+
# @param [Hash] opts the optional parameters
|
514
|
+
# @return [MountStatus]
|
515
|
+
def mount_status_tape(tape_id, opts = {})
|
516
|
+
data, _status_code, _headers = mount_status_tape_with_http_info(tape_id, opts)
|
517
|
+
data
|
518
|
+
end
|
519
|
+
|
520
|
+
# Get mount status of Tape.
|
521
|
+
# **API Key Scope**: tapes / mount_status
|
522
|
+
# @param tape_id [String] Numeric ID, or barcode of tape.
|
523
|
+
# @param [Hash] opts the optional parameters
|
524
|
+
# @return [Array<(MountStatus, Integer, Hash)>] MountStatus data, response status code and response headers
|
525
|
+
def mount_status_tape_with_http_info(tape_id, opts = {})
|
526
|
+
if @api_client.config.debugging
|
527
|
+
@api_client.config.logger.debug 'Calling API: TapesApi.mount_status_tape ...'
|
528
|
+
end
|
529
|
+
# verify the required parameter 'tape_id' is set
|
530
|
+
if @api_client.config.client_side_validation && tape_id.nil?
|
531
|
+
fail ArgumentError, "Missing the required parameter 'tape_id' when calling TapesApi.mount_status_tape"
|
532
|
+
end
|
533
|
+
# resource path
|
534
|
+
local_var_path = '/tapes/{tape_id}/mount'.sub('{' + 'tape_id' + '}', CGI.escape(tape_id.to_s))
|
535
|
+
|
536
|
+
# query parameters
|
537
|
+
query_params = opts[:query_params] || {}
|
538
|
+
|
539
|
+
# header parameters
|
540
|
+
header_params = opts[:header_params] || {}
|
541
|
+
# HTTP header 'Accept' (if needed)
|
542
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
543
|
+
|
544
|
+
# form parameters
|
545
|
+
form_params = opts[:form_params] || {}
|
546
|
+
|
547
|
+
# http body (model)
|
548
|
+
post_body = opts[:body]
|
549
|
+
|
550
|
+
# return_type
|
551
|
+
return_type = opts[:return_type] || 'MountStatus'
|
552
|
+
|
553
|
+
# auth_names
|
554
|
+
auth_names = opts[:auth_names] || ['BasicAuth', 'BearerAuth']
|
555
|
+
|
556
|
+
new_options = opts.merge(
|
557
|
+
:header_params => header_params,
|
558
|
+
:query_params => query_params,
|
559
|
+
:form_params => form_params,
|
560
|
+
:body => post_body,
|
561
|
+
:auth_names => auth_names,
|
562
|
+
:return_type => return_type
|
563
|
+
)
|
564
|
+
|
565
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
566
|
+
if @api_client.config.debugging
|
567
|
+
@api_client.config.logger.debug "API called: TapesApi#mount_status_tape\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
568
|
+
end
|
569
|
+
return data, status_code, headers
|
570
|
+
end
|
571
|
+
|
572
|
+
# Get mount status of Tape.
|
573
|
+
# **API Key Scope**: tapes / mount_status
|
574
|
+
# @param pool_id [String] Numeric ID, or name of pool.
|
575
|
+
# @param tape_id [String] Numeric ID, or barcode of tape.
|
576
|
+
# @param [Hash] opts the optional parameters
|
577
|
+
# @return [MountStatus]
|
578
|
+
def mount_status_tape_by_pool(pool_id, tape_id, opts = {})
|
579
|
+
data, _status_code, _headers = mount_status_tape_by_pool_with_http_info(pool_id, tape_id, opts)
|
580
|
+
data
|
581
|
+
end
|
582
|
+
|
583
|
+
# Get mount status of Tape.
|
584
|
+
# **API Key Scope**: tapes / mount_status
|
585
|
+
# @param pool_id [String] Numeric ID, or name of pool.
|
586
|
+
# @param tape_id [String] Numeric ID, or barcode of tape.
|
587
|
+
# @param [Hash] opts the optional parameters
|
588
|
+
# @return [Array<(MountStatus, Integer, Hash)>] MountStatus data, response status code and response headers
|
589
|
+
def mount_status_tape_by_pool_with_http_info(pool_id, tape_id, opts = {})
|
590
|
+
if @api_client.config.debugging
|
591
|
+
@api_client.config.logger.debug 'Calling API: TapesApi.mount_status_tape_by_pool ...'
|
592
|
+
end
|
593
|
+
# verify the required parameter 'pool_id' is set
|
594
|
+
if @api_client.config.client_side_validation && pool_id.nil?
|
595
|
+
fail ArgumentError, "Missing the required parameter 'pool_id' when calling TapesApi.mount_status_tape_by_pool"
|
596
|
+
end
|
597
|
+
# verify the required parameter 'tape_id' is set
|
598
|
+
if @api_client.config.client_side_validation && tape_id.nil?
|
599
|
+
fail ArgumentError, "Missing the required parameter 'tape_id' when calling TapesApi.mount_status_tape_by_pool"
|
600
|
+
end
|
601
|
+
# resource path
|
602
|
+
local_var_path = '/pools/{pool_id}/tapes/{tape_id}/mount'.sub('{' + 'pool_id' + '}', CGI.escape(pool_id.to_s)).sub('{' + 'tape_id' + '}', CGI.escape(tape_id.to_s))
|
603
|
+
|
604
|
+
# query parameters
|
605
|
+
query_params = opts[:query_params] || {}
|
606
|
+
|
607
|
+
# header parameters
|
608
|
+
header_params = opts[:header_params] || {}
|
609
|
+
# HTTP header 'Accept' (if needed)
|
610
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
611
|
+
|
612
|
+
# form parameters
|
613
|
+
form_params = opts[:form_params] || {}
|
614
|
+
|
615
|
+
# http body (model)
|
616
|
+
post_body = opts[:body]
|
617
|
+
|
618
|
+
# return_type
|
619
|
+
return_type = opts[:return_type] || 'MountStatus'
|
620
|
+
|
621
|
+
# auth_names
|
622
|
+
auth_names = opts[:auth_names] || ['BasicAuth', 'BearerAuth']
|
623
|
+
|
624
|
+
new_options = opts.merge(
|
625
|
+
:header_params => header_params,
|
626
|
+
:query_params => query_params,
|
627
|
+
:form_params => form_params,
|
628
|
+
:body => post_body,
|
629
|
+
:auth_names => auth_names,
|
630
|
+
:return_type => return_type
|
631
|
+
)
|
632
|
+
|
633
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
634
|
+
if @api_client.config.debugging
|
635
|
+
@api_client.config.logger.debug "API called: TapesApi#mount_status_tape_by_pool\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
636
|
+
end
|
637
|
+
return data, status_code, headers
|
638
|
+
end
|
639
|
+
|
640
|
+
# Get mount status of Tape.
|
641
|
+
# **API Key Scope**: tapes / mount_status
|
642
|
+
# @param tape_library_id [String] Numeric ID, serial, or name of tape library.
|
643
|
+
# @param tape_id [String] Numeric ID, or barcode of tape.
|
644
|
+
# @param [Hash] opts the optional parameters
|
645
|
+
# @return [MountStatus]
|
646
|
+
def mount_status_tape_by_tape_library(tape_library_id, tape_id, opts = {})
|
647
|
+
data, _status_code, _headers = mount_status_tape_by_tape_library_with_http_info(tape_library_id, tape_id, opts)
|
648
|
+
data
|
649
|
+
end
|
650
|
+
|
651
|
+
# Get mount status of Tape.
|
652
|
+
# **API Key Scope**: tapes / mount_status
|
653
|
+
# @param tape_library_id [String] Numeric ID, serial, or name of tape library.
|
654
|
+
# @param tape_id [String] Numeric ID, or barcode of tape.
|
655
|
+
# @param [Hash] opts the optional parameters
|
656
|
+
# @return [Array<(MountStatus, Integer, Hash)>] MountStatus data, response status code and response headers
|
657
|
+
def mount_status_tape_by_tape_library_with_http_info(tape_library_id, tape_id, opts = {})
|
658
|
+
if @api_client.config.debugging
|
659
|
+
@api_client.config.logger.debug 'Calling API: TapesApi.mount_status_tape_by_tape_library ...'
|
660
|
+
end
|
661
|
+
# verify the required parameter 'tape_library_id' is set
|
662
|
+
if @api_client.config.client_side_validation && tape_library_id.nil?
|
663
|
+
fail ArgumentError, "Missing the required parameter 'tape_library_id' when calling TapesApi.mount_status_tape_by_tape_library"
|
664
|
+
end
|
665
|
+
# verify the required parameter 'tape_id' is set
|
666
|
+
if @api_client.config.client_side_validation && tape_id.nil?
|
667
|
+
fail ArgumentError, "Missing the required parameter 'tape_id' when calling TapesApi.mount_status_tape_by_tape_library"
|
668
|
+
end
|
669
|
+
# resource path
|
670
|
+
local_var_path = '/tape_libraries/{tape_library_id}/tapes/{tape_id}/mount'.sub('{' + 'tape_library_id' + '}', CGI.escape(tape_library_id.to_s)).sub('{' + 'tape_id' + '}', CGI.escape(tape_id.to_s))
|
671
|
+
|
672
|
+
# query parameters
|
673
|
+
query_params = opts[:query_params] || {}
|
674
|
+
|
675
|
+
# header parameters
|
676
|
+
header_params = opts[:header_params] || {}
|
677
|
+
# HTTP header 'Accept' (if needed)
|
678
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
679
|
+
|
680
|
+
# form parameters
|
681
|
+
form_params = opts[:form_params] || {}
|
682
|
+
|
683
|
+
# http body (model)
|
684
|
+
post_body = opts[:body]
|
685
|
+
|
686
|
+
# return_type
|
687
|
+
return_type = opts[:return_type] || 'MountStatus'
|
688
|
+
|
689
|
+
# auth_names
|
690
|
+
auth_names = opts[:auth_names] || ['BasicAuth', 'BearerAuth']
|
691
|
+
|
692
|
+
new_options = opts.merge(
|
693
|
+
:header_params => header_params,
|
694
|
+
:query_params => query_params,
|
695
|
+
:form_params => form_params,
|
696
|
+
:body => post_body,
|
697
|
+
:auth_names => auth_names,
|
698
|
+
:return_type => return_type
|
699
|
+
)
|
700
|
+
|
701
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
702
|
+
if @api_client.config.debugging
|
703
|
+
@api_client.config.logger.debug "API called: TapesApi#mount_status_tape_by_tape_library\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
704
|
+
end
|
705
|
+
return data, status_code, headers
|
706
|
+
end
|
707
|
+
|
708
|
+
# Displays a specific tape.
|
709
|
+
# **API Key Scope**: tapes / show
|
710
|
+
# @param tape_id [String] Numeric ID, or barcode of tape.
|
711
|
+
# @param [Hash] opts the optional parameters
|
712
|
+
# @return [Tape]
|
713
|
+
def show_tape(tape_id, opts = {})
|
714
|
+
data, _status_code, _headers = show_tape_with_http_info(tape_id, opts)
|
715
|
+
data
|
716
|
+
end
|
717
|
+
|
718
|
+
# Displays a specific tape.
|
719
|
+
# **API Key Scope**: tapes / show
|
720
|
+
# @param tape_id [String] Numeric ID, or barcode of tape.
|
721
|
+
# @param [Hash] opts the optional parameters
|
722
|
+
# @return [Array<(Tape, Integer, Hash)>] Tape data, response status code and response headers
|
723
|
+
def show_tape_with_http_info(tape_id, opts = {})
|
724
|
+
if @api_client.config.debugging
|
725
|
+
@api_client.config.logger.debug 'Calling API: TapesApi.show_tape ...'
|
726
|
+
end
|
727
|
+
# verify the required parameter 'tape_id' is set
|
728
|
+
if @api_client.config.client_side_validation && tape_id.nil?
|
729
|
+
fail ArgumentError, "Missing the required parameter 'tape_id' when calling TapesApi.show_tape"
|
730
|
+
end
|
731
|
+
# resource path
|
732
|
+
local_var_path = '/tapes/{tape_id}'.sub('{' + 'tape_id' + '}', CGI.escape(tape_id.to_s))
|
733
|
+
|
734
|
+
# query parameters
|
735
|
+
query_params = opts[:query_params] || {}
|
736
|
+
|
737
|
+
# header parameters
|
738
|
+
header_params = opts[:header_params] || {}
|
739
|
+
# HTTP header 'Accept' (if needed)
|
740
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
741
|
+
|
742
|
+
# form parameters
|
743
|
+
form_params = opts[:form_params] || {}
|
744
|
+
|
745
|
+
# http body (model)
|
746
|
+
post_body = opts[:body]
|
747
|
+
|
748
|
+
# return_type
|
749
|
+
return_type = opts[:return_type] || 'Tape'
|
750
|
+
|
751
|
+
# auth_names
|
752
|
+
auth_names = opts[:auth_names] || ['BasicAuth', 'BearerAuth']
|
753
|
+
|
754
|
+
new_options = opts.merge(
|
755
|
+
:header_params => header_params,
|
756
|
+
:query_params => query_params,
|
757
|
+
:form_params => form_params,
|
758
|
+
:body => post_body,
|
759
|
+
:auth_names => auth_names,
|
760
|
+
:return_type => return_type
|
761
|
+
)
|
762
|
+
|
763
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
764
|
+
if @api_client.config.debugging
|
765
|
+
@api_client.config.logger.debug "API called: TapesApi#show_tape\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
766
|
+
end
|
767
|
+
return data, status_code, headers
|
768
|
+
end
|
769
|
+
|
770
|
+
# Displays a specific tape.
|
771
|
+
# **API Key Scope**: tapes / show
|
772
|
+
# @param pool_id [String] Numeric ID, or name of pool.
|
773
|
+
# @param tape_id [String] Numeric ID, or barcode of tape.
|
774
|
+
# @param [Hash] opts the optional parameters
|
775
|
+
# @return [Tape]
|
776
|
+
def show_tape_by_pool(pool_id, tape_id, opts = {})
|
777
|
+
data, _status_code, _headers = show_tape_by_pool_with_http_info(pool_id, tape_id, opts)
|
778
|
+
data
|
779
|
+
end
|
780
|
+
|
781
|
+
# Displays a specific tape.
|
782
|
+
# **API Key Scope**: tapes / show
|
783
|
+
# @param pool_id [String] Numeric ID, or name of pool.
|
784
|
+
# @param tape_id [String] Numeric ID, or barcode of tape.
|
785
|
+
# @param [Hash] opts the optional parameters
|
786
|
+
# @return [Array<(Tape, Integer, Hash)>] Tape data, response status code and response headers
|
787
|
+
def show_tape_by_pool_with_http_info(pool_id, tape_id, opts = {})
|
788
|
+
if @api_client.config.debugging
|
789
|
+
@api_client.config.logger.debug 'Calling API: TapesApi.show_tape_by_pool ...'
|
790
|
+
end
|
791
|
+
# verify the required parameter 'pool_id' is set
|
792
|
+
if @api_client.config.client_side_validation && pool_id.nil?
|
793
|
+
fail ArgumentError, "Missing the required parameter 'pool_id' when calling TapesApi.show_tape_by_pool"
|
794
|
+
end
|
795
|
+
# verify the required parameter 'tape_id' is set
|
796
|
+
if @api_client.config.client_side_validation && tape_id.nil?
|
797
|
+
fail ArgumentError, "Missing the required parameter 'tape_id' when calling TapesApi.show_tape_by_pool"
|
798
|
+
end
|
799
|
+
# resource path
|
800
|
+
local_var_path = '/pools/{pool_id}/tapes/{tape_id}'.sub('{' + 'pool_id' + '}', CGI.escape(pool_id.to_s)).sub('{' + 'tape_id' + '}', CGI.escape(tape_id.to_s))
|
801
|
+
|
802
|
+
# query parameters
|
803
|
+
query_params = opts[:query_params] || {}
|
804
|
+
|
805
|
+
# header parameters
|
806
|
+
header_params = opts[:header_params] || {}
|
807
|
+
# HTTP header 'Accept' (if needed)
|
808
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
809
|
+
|
810
|
+
# form parameters
|
811
|
+
form_params = opts[:form_params] || {}
|
812
|
+
|
813
|
+
# http body (model)
|
814
|
+
post_body = opts[:body]
|
815
|
+
|
816
|
+
# return_type
|
817
|
+
return_type = opts[:return_type] || 'Tape'
|
818
|
+
|
819
|
+
# auth_names
|
820
|
+
auth_names = opts[:auth_names] || ['BasicAuth', 'BearerAuth']
|
821
|
+
|
822
|
+
new_options = opts.merge(
|
823
|
+
:header_params => header_params,
|
824
|
+
:query_params => query_params,
|
825
|
+
:form_params => form_params,
|
826
|
+
:body => post_body,
|
827
|
+
:auth_names => auth_names,
|
828
|
+
:return_type => return_type
|
829
|
+
)
|
830
|
+
|
831
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
832
|
+
if @api_client.config.debugging
|
833
|
+
@api_client.config.logger.debug "API called: TapesApi#show_tape_by_pool\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
834
|
+
end
|
835
|
+
return data, status_code, headers
|
836
|
+
end
|
837
|
+
|
838
|
+
# Displays a specific tape.
|
839
|
+
# **API Key Scope**: tapes / show
|
840
|
+
# @param tape_library_id [String] Numeric ID, serial, or name of tape library.
|
841
|
+
# @param tape_id [String] Numeric ID, or barcode of tape.
|
842
|
+
# @param [Hash] opts the optional parameters
|
843
|
+
# @return [Tape]
|
844
|
+
def show_tape_by_tape_library(tape_library_id, tape_id, opts = {})
|
845
|
+
data, _status_code, _headers = show_tape_by_tape_library_with_http_info(tape_library_id, tape_id, opts)
|
846
|
+
data
|
847
|
+
end
|
848
|
+
|
849
|
+
# Displays a specific tape.
|
850
|
+
# **API Key Scope**: tapes / show
|
851
|
+
# @param tape_library_id [String] Numeric ID, serial, or name of tape library.
|
852
|
+
# @param tape_id [String] Numeric ID, or barcode of tape.
|
853
|
+
# @param [Hash] opts the optional parameters
|
854
|
+
# @return [Array<(Tape, Integer, Hash)>] Tape data, response status code and response headers
|
855
|
+
def show_tape_by_tape_library_with_http_info(tape_library_id, tape_id, opts = {})
|
856
|
+
if @api_client.config.debugging
|
857
|
+
@api_client.config.logger.debug 'Calling API: TapesApi.show_tape_by_tape_library ...'
|
858
|
+
end
|
859
|
+
# verify the required parameter 'tape_library_id' is set
|
860
|
+
if @api_client.config.client_side_validation && tape_library_id.nil?
|
861
|
+
fail ArgumentError, "Missing the required parameter 'tape_library_id' when calling TapesApi.show_tape_by_tape_library"
|
862
|
+
end
|
863
|
+
# verify the required parameter 'tape_id' is set
|
864
|
+
if @api_client.config.client_side_validation && tape_id.nil?
|
865
|
+
fail ArgumentError, "Missing the required parameter 'tape_id' when calling TapesApi.show_tape_by_tape_library"
|
866
|
+
end
|
867
|
+
# resource path
|
868
|
+
local_var_path = '/tape_libraries/{tape_library_id}/tapes/{tape_id}'.sub('{' + 'tape_library_id' + '}', CGI.escape(tape_library_id.to_s)).sub('{' + 'tape_id' + '}', CGI.escape(tape_id.to_s))
|
869
|
+
|
870
|
+
# query parameters
|
871
|
+
query_params = opts[:query_params] || {}
|
872
|
+
|
873
|
+
# header parameters
|
874
|
+
header_params = opts[:header_params] || {}
|
875
|
+
# HTTP header 'Accept' (if needed)
|
876
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
877
|
+
|
878
|
+
# form parameters
|
879
|
+
form_params = opts[:form_params] || {}
|
880
|
+
|
881
|
+
# http body (model)
|
882
|
+
post_body = opts[:body]
|
883
|
+
|
884
|
+
# return_type
|
885
|
+
return_type = opts[:return_type] || 'Tape'
|
886
|
+
|
887
|
+
# auth_names
|
888
|
+
auth_names = opts[:auth_names] || ['BasicAuth', 'BearerAuth']
|
889
|
+
|
890
|
+
new_options = opts.merge(
|
891
|
+
:header_params => header_params,
|
892
|
+
:query_params => query_params,
|
893
|
+
:form_params => form_params,
|
894
|
+
:body => post_body,
|
895
|
+
:auth_names => auth_names,
|
896
|
+
:return_type => return_type
|
897
|
+
)
|
898
|
+
|
899
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
900
|
+
if @api_client.config.debugging
|
901
|
+
@api_client.config.logger.debug "API called: TapesApi#show_tape_by_tape_library\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
902
|
+
end
|
903
|
+
return data, status_code, headers
|
904
|
+
end
|
905
|
+
|
906
|
+
# Display statistic for a specific tape.
|
907
|
+
# **API Key Scope**: tape_stats / show
|
908
|
+
# @param tape_id [String] Numeric ID, or barcode of tape.
|
909
|
+
# @param [Hash] opts the optional parameters
|
910
|
+
# @return [TapeStat]
|
911
|
+
def show_tape_stat(tape_id, opts = {})
|
912
|
+
data, _status_code, _headers = show_tape_stat_with_http_info(tape_id, opts)
|
913
|
+
data
|
914
|
+
end
|
915
|
+
|
916
|
+
# Display statistic for a specific tape.
|
917
|
+
# **API Key Scope**: tape_stats / show
|
918
|
+
# @param tape_id [String] Numeric ID, or barcode of tape.
|
919
|
+
# @param [Hash] opts the optional parameters
|
920
|
+
# @return [Array<(TapeStat, Integer, Hash)>] TapeStat data, response status code and response headers
|
921
|
+
def show_tape_stat_with_http_info(tape_id, opts = {})
|
922
|
+
if @api_client.config.debugging
|
923
|
+
@api_client.config.logger.debug 'Calling API: TapesApi.show_tape_stat ...'
|
924
|
+
end
|
925
|
+
# verify the required parameter 'tape_id' is set
|
926
|
+
if @api_client.config.client_side_validation && tape_id.nil?
|
927
|
+
fail ArgumentError, "Missing the required parameter 'tape_id' when calling TapesApi.show_tape_stat"
|
928
|
+
end
|
929
|
+
# resource path
|
930
|
+
local_var_path = '/tapes/{tape_id}/tape_stat'.sub('{' + 'tape_id' + '}', CGI.escape(tape_id.to_s))
|
931
|
+
|
932
|
+
# query parameters
|
933
|
+
query_params = opts[:query_params] || {}
|
934
|
+
|
935
|
+
# header parameters
|
936
|
+
header_params = opts[:header_params] || {}
|
937
|
+
# HTTP header 'Accept' (if needed)
|
938
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
939
|
+
|
940
|
+
# form parameters
|
941
|
+
form_params = opts[:form_params] || {}
|
942
|
+
|
943
|
+
# http body (model)
|
944
|
+
post_body = opts[:body]
|
945
|
+
|
946
|
+
# return_type
|
947
|
+
return_type = opts[:return_type] || 'TapeStat'
|
948
|
+
|
949
|
+
# auth_names
|
950
|
+
auth_names = opts[:auth_names] || ['BasicAuth', 'BearerAuth']
|
951
|
+
|
952
|
+
new_options = opts.merge(
|
953
|
+
:header_params => header_params,
|
954
|
+
:query_params => query_params,
|
955
|
+
:form_params => form_params,
|
956
|
+
:body => post_body,
|
957
|
+
:auth_names => auth_names,
|
958
|
+
:return_type => return_type
|
959
|
+
)
|
960
|
+
|
961
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
962
|
+
if @api_client.config.debugging
|
963
|
+
@api_client.config.logger.debug "API called: TapesApi#show_tape_stat\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
964
|
+
end
|
965
|
+
return data, status_code, headers
|
966
|
+
end
|
967
|
+
|
968
|
+
# Display statistic for a specific tape.
|
969
|
+
# **API Key Scope**: tape_stats / show
|
970
|
+
# @param pool_id [String] Numeric ID, or name of pool.
|
971
|
+
# @param tape_id [String] Numeric ID, or barcode of tape.
|
972
|
+
# @param [Hash] opts the optional parameters
|
973
|
+
# @return [TapeStat]
|
974
|
+
def show_tape_stat_by_pool(pool_id, tape_id, opts = {})
|
975
|
+
data, _status_code, _headers = show_tape_stat_by_pool_with_http_info(pool_id, tape_id, opts)
|
976
|
+
data
|
977
|
+
end
|
978
|
+
|
979
|
+
# Display statistic for a specific tape.
|
980
|
+
# **API Key Scope**: tape_stats / show
|
981
|
+
# @param pool_id [String] Numeric ID, or name of pool.
|
982
|
+
# @param tape_id [String] Numeric ID, or barcode of tape.
|
983
|
+
# @param [Hash] opts the optional parameters
|
984
|
+
# @return [Array<(TapeStat, Integer, Hash)>] TapeStat data, response status code and response headers
|
985
|
+
def show_tape_stat_by_pool_with_http_info(pool_id, tape_id, opts = {})
|
986
|
+
if @api_client.config.debugging
|
987
|
+
@api_client.config.logger.debug 'Calling API: TapesApi.show_tape_stat_by_pool ...'
|
988
|
+
end
|
989
|
+
# verify the required parameter 'pool_id' is set
|
990
|
+
if @api_client.config.client_side_validation && pool_id.nil?
|
991
|
+
fail ArgumentError, "Missing the required parameter 'pool_id' when calling TapesApi.show_tape_stat_by_pool"
|
992
|
+
end
|
993
|
+
# verify the required parameter 'tape_id' is set
|
994
|
+
if @api_client.config.client_side_validation && tape_id.nil?
|
995
|
+
fail ArgumentError, "Missing the required parameter 'tape_id' when calling TapesApi.show_tape_stat_by_pool"
|
996
|
+
end
|
997
|
+
# resource path
|
998
|
+
local_var_path = '/pools/{pool_id}/tapes/{tape_id}/tape_stat'.sub('{' + 'pool_id' + '}', CGI.escape(pool_id.to_s)).sub('{' + 'tape_id' + '}', CGI.escape(tape_id.to_s))
|
999
|
+
|
1000
|
+
# query parameters
|
1001
|
+
query_params = opts[:query_params] || {}
|
1002
|
+
|
1003
|
+
# header parameters
|
1004
|
+
header_params = opts[:header_params] || {}
|
1005
|
+
# HTTP header 'Accept' (if needed)
|
1006
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1007
|
+
|
1008
|
+
# form parameters
|
1009
|
+
form_params = opts[:form_params] || {}
|
1010
|
+
|
1011
|
+
# http body (model)
|
1012
|
+
post_body = opts[:body]
|
1013
|
+
|
1014
|
+
# return_type
|
1015
|
+
return_type = opts[:return_type] || 'TapeStat'
|
1016
|
+
|
1017
|
+
# auth_names
|
1018
|
+
auth_names = opts[:auth_names] || ['BasicAuth', 'BearerAuth']
|
1019
|
+
|
1020
|
+
new_options = opts.merge(
|
1021
|
+
:header_params => header_params,
|
1022
|
+
:query_params => query_params,
|
1023
|
+
:form_params => form_params,
|
1024
|
+
:body => post_body,
|
1025
|
+
:auth_names => auth_names,
|
1026
|
+
:return_type => return_type
|
1027
|
+
)
|
1028
|
+
|
1029
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
1030
|
+
if @api_client.config.debugging
|
1031
|
+
@api_client.config.logger.debug "API called: TapesApi#show_tape_stat_by_pool\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1032
|
+
end
|
1033
|
+
return data, status_code, headers
|
1034
|
+
end
|
1035
|
+
|
1036
|
+
# Display statistic for a specific tape.
|
1037
|
+
# **API Key Scope**: tape_stats / show
|
1038
|
+
# @param tape_library_id [String] Numeric ID, serial, or name of tape library.
|
1039
|
+
# @param tape_id [String] Numeric ID, or barcode of tape.
|
1040
|
+
# @param [Hash] opts the optional parameters
|
1041
|
+
# @return [TapeStat]
|
1042
|
+
def show_tape_stat_by_tape_library(tape_library_id, tape_id, opts = {})
|
1043
|
+
data, _status_code, _headers = show_tape_stat_by_tape_library_with_http_info(tape_library_id, tape_id, opts)
|
1044
|
+
data
|
1045
|
+
end
|
1046
|
+
|
1047
|
+
# Display statistic for a specific tape.
|
1048
|
+
# **API Key Scope**: tape_stats / show
|
1049
|
+
# @param tape_library_id [String] Numeric ID, serial, or name of tape library.
|
1050
|
+
# @param tape_id [String] Numeric ID, or barcode of tape.
|
1051
|
+
# @param [Hash] opts the optional parameters
|
1052
|
+
# @return [Array<(TapeStat, Integer, Hash)>] TapeStat data, response status code and response headers
|
1053
|
+
def show_tape_stat_by_tape_library_with_http_info(tape_library_id, tape_id, opts = {})
|
1054
|
+
if @api_client.config.debugging
|
1055
|
+
@api_client.config.logger.debug 'Calling API: TapesApi.show_tape_stat_by_tape_library ...'
|
1056
|
+
end
|
1057
|
+
# verify the required parameter 'tape_library_id' is set
|
1058
|
+
if @api_client.config.client_side_validation && tape_library_id.nil?
|
1059
|
+
fail ArgumentError, "Missing the required parameter 'tape_library_id' when calling TapesApi.show_tape_stat_by_tape_library"
|
1060
|
+
end
|
1061
|
+
# verify the required parameter 'tape_id' is set
|
1062
|
+
if @api_client.config.client_side_validation && tape_id.nil?
|
1063
|
+
fail ArgumentError, "Missing the required parameter 'tape_id' when calling TapesApi.show_tape_stat_by_tape_library"
|
1064
|
+
end
|
1065
|
+
# resource path
|
1066
|
+
local_var_path = '/tape_libraries/{tape_library_id}/tapes/{tape_id}/tape_stat'.sub('{' + 'tape_library_id' + '}', CGI.escape(tape_library_id.to_s)).sub('{' + 'tape_id' + '}', CGI.escape(tape_id.to_s))
|
1067
|
+
|
1068
|
+
# query parameters
|
1069
|
+
query_params = opts[:query_params] || {}
|
1070
|
+
|
1071
|
+
# header parameters
|
1072
|
+
header_params = opts[:header_params] || {}
|
1073
|
+
# HTTP header 'Accept' (if needed)
|
1074
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1075
|
+
|
1076
|
+
# form parameters
|
1077
|
+
form_params = opts[:form_params] || {}
|
1078
|
+
|
1079
|
+
# http body (model)
|
1080
|
+
post_body = opts[:body]
|
1081
|
+
|
1082
|
+
# return_type
|
1083
|
+
return_type = opts[:return_type] || 'TapeStat'
|
1084
|
+
|
1085
|
+
# auth_names
|
1086
|
+
auth_names = opts[:auth_names] || ['BasicAuth', 'BearerAuth']
|
1087
|
+
|
1088
|
+
new_options = opts.merge(
|
1089
|
+
:header_params => header_params,
|
1090
|
+
:query_params => query_params,
|
1091
|
+
:form_params => form_params,
|
1092
|
+
:body => post_body,
|
1093
|
+
:auth_names => auth_names,
|
1094
|
+
:return_type => return_type
|
1095
|
+
)
|
1096
|
+
|
1097
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
1098
|
+
if @api_client.config.debugging
|
1099
|
+
@api_client.config.logger.debug "API called: TapesApi#show_tape_stat_by_tape_library\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1100
|
+
end
|
1101
|
+
return data, status_code, headers
|
1102
|
+
end
|
1103
|
+
end
|
1104
|
+
end
|