@Generated(value="class io.swagger.codegen.languages.JavaClientCodegen", date="2017-02-24T15:10:39.441-05:00") public class StorageApi extends Object
| Constructor and Description |
|---|
StorageApi() |
StorageApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
void |
setApiClient(ApiClient apiClient) |
Storage |
storageCreateStorage(StorageCreateRequest storageCreateRequest)
createStorage
Creates a new storage.
|
Storage |
storageDeleteStorage(String storageName)
deleteStorage
Deletes an existing storage by name.
|
Storage |
storageGetStorage(String storageName)
getStorage
Gets an existing storage by name.
|
StorageKeys |
storageGetStorages()
getStorages
Gets a list of namespace keys for all namespaces defined in the system.
|
Storage |
storageUpdateStorage(String storageName,
StorageUpdateRequest storageUpdateRequest)
updateStorage
Updates an existing storage.
|
public StorageApi()
public StorageApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public StorageKeys storageGetStorages() throws ApiException
ApiExceptionpublic Storage storageCreateStorage(StorageCreateRequest storageCreateRequest) throws ApiException
storageCreateRequest - the information needed to create the storageApiExceptionpublic Storage storageGetStorage(String storageName) throws ApiException
storageName - the storage nameApiExceptionpublic Storage storageUpdateStorage(String storageName, StorageUpdateRequest storageUpdateRequest) throws ApiException
storageName - the name of the storage to updatestorageUpdateRequest - the information needed to update the storageApiExceptionpublic Storage storageDeleteStorage(String storageName) throws ApiException
storageName - the storage nameApiExceptionCopyright © 2017. All rights reserved.