Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
com.solidfire.element.api.SolidFireElement Maven / Gradle / Ivy
Go to download
Library for interfacing with the Public and Incubating SolidFire Element API.
/*
* Copyright © 2014-2016 NetApp, Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/*
* DO NOT EDIT THIS CODE BY HAND! It has been generated with jsvcgen.
*/
package com.solidfire.element.api;
import com.solidfire.gson.annotations.SerializedName;
import com.solidfire.jsvcgen.annotation.Since;
import com.solidfire.jsvcgen.client.ApiException;
import com.solidfire.jsvcgen.javautil.Optional;
import java.net.URL;
import java.io.Serializable;
import java.util.Arrays;
import java.util.Objects;
import java.util.TreeMap;
import static com.solidfire.jsvcgen.javautil.Optional.of;
/**
* The API for controlling a SolidFire cluster.
**/
public class SolidFireElement
extends com.solidfire.client.ElementServiceBase
implements SolidFireElementIF {
/**
* Create a new instance of SolidFireElement with the provided requestDispatcher. You probably do not want to use
* this constructor directly -- it is easier to use the static create methods.
* @param requestDispatcher The class responsible for processing request/responses and
* serialization/deserialization of the JSON payload
*/
public SolidFireElement(com.solidfire.jsvcgen.client.RequestDispatcher requestDispatcher) {
super(requestDispatcher);
}
@Override
public AddAccountResult addAccount(final AddAccountRequest request) {
return super.sendRequest( "AddAccount", request, AddAccountRequest.class, AddAccountResult.class );
}
@Override
public GetAccountResult getAccountByID(final GetAccountByIDRequest request) {
return super.sendRequest( "GetAccountByID", request, GetAccountByIDRequest.class, GetAccountResult.class );
}
@Override
public GetAccountResult getAccountByID(Long accountID) {
return this.getAccountByID( new GetAccountByIDRequest( accountID) );
}
@Override
public GetAccountResult getAccountByName(final GetAccountByNameRequest request) {
return super.sendRequest( "GetAccountByName", request, GetAccountByNameRequest.class, GetAccountResult.class );
}
@Override
public GetAccountResult getAccountByName(String username) {
return this.getAccountByName( new GetAccountByNameRequest( username) );
}
@Override
public ListAccountsResult listAccounts(final ListAccountsRequest request) {
return super.sendRequest( "ListAccounts", request, ListAccountsRequest.class, ListAccountsResult.class );
}
@Override
public ListAccountsResult listAccounts(Optional startAccountID, Optional limit) {
return this.listAccounts( new ListAccountsRequest( startAccountID, limit) );
}
@Override
public ModifyAccountResult modifyAccount(final ModifyAccountRequest request) {
return super.sendRequest( "ModifyAccount", request, ModifyAccountRequest.class, ModifyAccountResult.class );
}
@Override
public RemoveAccountResult removeAccount(final RemoveAccountRequest request) {
return super.sendRequest( "RemoveAccount", request, RemoveAccountRequest.class, RemoveAccountResult.class );
}
@Override
public RemoveAccountResult removeAccount(Long accountID) {
return this.removeAccount( new RemoveAccountRequest( accountID) );
}
@Override
public GetEfficiencyResult getAccountEfficiency(final GetAccountEfficiencyRequest request) {
return super.sendRequest( "GetAccountEfficiency", request, GetAccountEfficiencyRequest.class, GetEfficiencyResult.class );
}
@Override
public GetEfficiencyResult getAccountEfficiency(Long accountID, Optional force) {
return this.getAccountEfficiency( new GetAccountEfficiencyRequest( accountID, force) );
}
@Override
public CreateBackupTargetResult createBackupTarget(final CreateBackupTargetRequest request) {
return super.sendRequest( "CreateBackupTarget", request, CreateBackupTargetRequest.class, CreateBackupTargetResult.class );
}
@Override
public CreateBackupTargetResult createBackupTarget(String name, Optional> attributes) {
return this.createBackupTarget( new CreateBackupTargetRequest( name, attributes) );
}
@Override
public GetBackupTargetResult getBackupTarget(final GetBackupTargetRequest request) {
return super.sendRequest( "GetBackupTarget", request, GetBackupTargetRequest.class, GetBackupTargetResult.class );
}
@Override
public GetBackupTargetResult getBackupTarget(Long backupTargetID) {
return this.getBackupTarget( new GetBackupTargetRequest( backupTargetID) );
}
@Override
public ListBackupTargetsResult listBackupTargets(final ListBackupTargetsRequest request) {
return super.sendRequest( "ListBackupTargets", request, ListBackupTargetsRequest.class, ListBackupTargetsResult.class );
}
@Override
public ListBackupTargetsResult listBackupTargets() {
return this.listBackupTargets( new ListBackupTargetsRequest( ) );
}
@Override
public ModifyBackupTargetResult modifyBackupTarget(final ModifyBackupTargetRequest request) {
return super.sendRequest( "ModifyBackupTarget", request, ModifyBackupTargetRequest.class, ModifyBackupTargetResult.class );
}
@Override
public ModifyBackupTargetResult modifyBackupTarget(Long backupTargetID, Optional name, Optional> attributes) {
return this.modifyBackupTarget( new ModifyBackupTargetRequest( backupTargetID, name, attributes) );
}
@Override
public RemoveBackupTargetResult removeBackupTarget(final RemoveBackupTargetRequest request) {
return super.sendRequest( "RemoveBackupTarget", request, RemoveBackupTargetRequest.class, RemoveBackupTargetResult.class );
}
@Override
public RemoveBackupTargetResult removeBackupTarget(Long backupTargetID) {
return this.removeBackupTarget( new RemoveBackupTargetRequest( backupTargetID) );
}
@Override
public GetClusterCapacityResult getClusterCapacity(final GetClusterCapacityRequest request) {
return super.sendRequest( "GetClusterCapacity", request, GetClusterCapacityRequest.class, GetClusterCapacityResult.class );
}
@Override
public GetClusterCapacityResult getClusterCapacity() {
return this.getClusterCapacity( new GetClusterCapacityRequest( ) );
}
@Override
public GetClusterInfoResult getClusterInfo(final GetClusterInfoRequest request) {
return super.sendRequest( "GetClusterInfo", request, GetClusterInfoRequest.class, GetClusterInfoResult.class );
}
@Override
public GetClusterInfoResult getClusterInfo() {
return this.getClusterInfo( new GetClusterInfoRequest( ) );
}
@Override
public GetClusterVersionInfoResult getClusterVersionInfo(final GetClusterVersionInfoRequest request) {
return super.sendRequest( "GetClusterVersionInfo", request, GetClusterVersionInfoRequest.class, GetClusterVersionInfoResult.class );
}
@Override
public GetClusterVersionInfoResult getClusterVersionInfo() {
return this.getClusterVersionInfo( new GetClusterVersionInfoRequest( ) );
}
@Override
public GetLimitsResult getLimits(final GetLimitsRequest request) {
return super.sendRequest( "GetLimits", request, GetLimitsRequest.class, GetLimitsResult.class );
}
@Override
public GetLimitsResult getLimits() {
return this.getLimits( new GetLimitsRequest( ) );
}
@Override
public ListEventsResult listEvents(final ListEventsRequest request) {
return super.sendRequest( "ListEvents", request, ListEventsRequest.class, ListEventsResult.class );
}
@Override
public ListClusterFaultsResult listClusterFaults(final ListClusterFaultsRequest request) {
return super.sendRequest( "ListClusterFaults", request, ListClusterFaultsRequest.class, ListClusterFaultsResult.class );
}
@Override
public ClearClusterFaultsResult clearClusterFaults(final ClearClusterFaultsRequest request) {
return super.sendRequest( "ClearClusterFaults", request, ClearClusterFaultsRequest.class, ClearClusterFaultsResult.class );
}
@Override
public ClearClusterFaultsResult clearClusterFaults(Optional faultTypes) {
return this.clearClusterFaults( new ClearClusterFaultsRequest( faultTypes) );
}
@Override
public GetClusterConfigResult getClusterConfig(final GetClusterConfigRequest request) {
return super.sendRequest( "GetClusterConfig", request, GetClusterConfigRequest.class, GetClusterConfigResult.class );
}
@Override
public GetClusterConfigResult getClusterConfig() {
return this.getClusterConfig( new GetClusterConfigRequest( ) );
}
@Override
public GetClusterFullThresholdResult getClusterFullThreshold(final GetClusterFullThresholdRequest request) {
return super.sendRequest( "GetClusterFullThreshold", request, GetClusterFullThresholdRequest.class, GetClusterFullThresholdResult.class );
}
@Override
public GetClusterFullThresholdResult getClusterFullThreshold() {
return this.getClusterFullThreshold( new GetClusterFullThresholdRequest( ) );
}
@Override
public ModifyClusterFullThresholdResult modifyClusterFullThreshold(final ModifyClusterFullThresholdRequest request) {
return super.sendRequest( "ModifyClusterFullThreshold", request, ModifyClusterFullThresholdRequest.class, ModifyClusterFullThresholdResult.class );
}
@Override
public ModifyClusterFullThresholdResult modifyClusterFullThreshold(Optional stage2AwareThreshold, @Since("8.0") Optional stage3BlockThresholdPercent, Optional maxMetadataOverProvisionFactor) {
return this.modifyClusterFullThreshold( new ModifyClusterFullThresholdRequest( stage2AwareThreshold, stage3BlockThresholdPercent, maxMetadataOverProvisionFactor) );
}
@Override
public GetClusterStatsResult getClusterStats(final GetClusterStatsRequest request) {
return super.sendRequest( "GetClusterStats", request, GetClusterStatsRequest.class, GetClusterStatsResult.class );
}
@Override
public GetClusterStatsResult getClusterStats() {
return this.getClusterStats( new GetClusterStatsRequest( ) );
}
@Override
public ListClusterAdminsResult listClusterAdmins(final ListClusterAdminsRequest request) {
return super.sendRequest( "ListClusterAdmins", request, ListClusterAdminsRequest.class, ListClusterAdminsResult.class );
}
@Override
public ListClusterAdminsResult listClusterAdmins() {
return this.listClusterAdmins( new ListClusterAdminsRequest( ) );
}
@Override
public AddClusterAdminResult addClusterAdmin(final AddClusterAdminRequest request) {
return super.sendRequest( "AddClusterAdmin", request, AddClusterAdminRequest.class, AddClusterAdminResult.class );
}
@Override
public ModifyClusterAdminResult modifyClusterAdmin(final ModifyClusterAdminRequest request) {
return super.sendRequest( "ModifyClusterAdmin", request, ModifyClusterAdminRequest.class, ModifyClusterAdminResult.class );
}
@Override
public RemoveClusterAdminResult removeClusterAdmin(final RemoveClusterAdminRequest request) {
return super.sendRequest( "RemoveClusterAdmin", request, RemoveClusterAdminRequest.class, RemoveClusterAdminResult.class );
}
@Override
public RemoveClusterAdminResult removeClusterAdmin(Long clusterAdminID) {
return this.removeClusterAdmin( new RemoveClusterAdminRequest( clusterAdminID) );
}
@Override
public SetClusterConfigResult setClusterConfig(final SetClusterConfigRequest request) {
return super.sendRequest( "SetClusterConfig", request, SetClusterConfigRequest.class, SetClusterConfigResult.class );
}
@Override
public SetClusterConfigResult setClusterConfig(ClusterConfig cluster) {
return this.setClusterConfig( new SetClusterConfigRequest( cluster) );
}
@Override
@Since("8.0")
public GetSnmpACLResult getSnmpACL(final GetSnmpACLRequest request) {
return super.sendRequest( "GetSnmpACL", request, GetSnmpACLRequest.class, GetSnmpACLResult.class );
}
@Override
@Since("8.0")
public GetSnmpACLResult getSnmpACL() {
return this.getSnmpACL( new GetSnmpACLRequest( ) );
}
@Override
@Since("8.0")
public SetSnmpACLResult setSnmpACL(final SetSnmpACLRequest request) {
return super.sendRequest( "SetSnmpACL", request, SetSnmpACLRequest.class, SetSnmpACLResult.class );
}
@Override
@Since("8.0")
public SetSnmpACLResult setSnmpACL(SnmpNetwork[] networks, SnmpV3UsmUser[] usmUsers) {
return this.setSnmpACL( new SetSnmpACLRequest( networks, usmUsers) );
}
@Override
public GetSnmpTrapInfoResult getSnmpTrapInfo(final GetSnmpTrapInfoRequest request) {
return super.sendRequest( "GetSnmpTrapInfo", request, GetSnmpTrapInfoRequest.class, GetSnmpTrapInfoResult.class );
}
@Override
public GetSnmpTrapInfoResult getSnmpTrapInfo() {
return this.getSnmpTrapInfo( new GetSnmpTrapInfoRequest( ) );
}
@Override
public SetSnmpTrapInfoResult setSnmpTrapInfo(final SetSnmpTrapInfoRequest request) {
return super.sendRequest( "SetSnmpTrapInfo", request, SetSnmpTrapInfoRequest.class, SetSnmpTrapInfoResult.class );
}
@Override
public EnableSnmpResult enableSnmp(final EnableSnmpRequest request) {
return super.sendRequest( "EnableSnmp", request, EnableSnmpRequest.class, EnableSnmpResult.class );
}
@Override
public EnableSnmpResult enableSnmp(Boolean snmpV3Enabled) {
return this.enableSnmp( new EnableSnmpRequest( snmpV3Enabled) );
}
@Override
public DisableSnmpResult disableSnmp(final DisableSnmpRequest request) {
return super.sendRequest( "DisableSnmp", request, DisableSnmpRequest.class, DisableSnmpResult.class );
}
@Override
public DisableSnmpResult disableSnmp() {
return this.disableSnmp( new DisableSnmpRequest( ) );
}
@Override
public GetSnmpInfoResult getSnmpInfo(final GetSnmpInfoRequest request) {
return super.sendRequest( "GetSnmpInfo", request, GetSnmpInfoRequest.class, GetSnmpInfoResult.class );
}
@Override
public GetSnmpInfoResult getSnmpInfo() {
return this.getSnmpInfo( new GetSnmpInfoRequest( ) );
}
@Override
public SetSnmpInfoResult setSnmpInfo(final SetSnmpInfoRequest request) {
return super.sendRequest( "SetSnmpInfo", request, SetSnmpInfoRequest.class, SetSnmpInfoResult.class );
}
@Override
@Since("8.0")
public GetSnmpStateResult getSnmpState(final GetSnmpStateRequest request) {
return super.sendRequest( "GetSnmpState", request, GetSnmpStateRequest.class, GetSnmpStateResult.class );
}
@Override
@Since("8.0")
public GetSnmpStateResult getSnmpState() {
return this.getSnmpState( new GetSnmpStateRequest( ) );
}
@Override
public GetAPIResult getAPI(final GetAPIRequest request) {
return super.sendRequest( "GetAPI", request, GetAPIRequest.class, GetAPIResult.class );
}
@Override
public GetAPIResult getAPI() {
return this.getAPI( new GetAPIRequest( ) );
}
@Override
public GetNtpInfoResult getNtpInfo(final GetNtpInfoRequest request) {
return super.sendRequest( "GetNtpInfo", request, GetNtpInfoRequest.class, GetNtpInfoResult.class );
}
@Override
public GetNtpInfoResult getNtpInfo() {
return this.getNtpInfo( new GetNtpInfoRequest( ) );
}
@Override
public GetCurrentClusterAdminResult getCurrentClusterAdmin(final GetCurrentClusterAdminRequest request) {
return super.sendRequest( "GetCurrentClusterAdmin", request, GetCurrentClusterAdminRequest.class, GetCurrentClusterAdminResult.class );
}
@Override
public GetCurrentClusterAdminResult getCurrentClusterAdmin() {
return this.getCurrentClusterAdmin( new GetCurrentClusterAdminRequest( ) );
}
@Override
public EnableEncryptionAtRestResult enableEncryptionAtRest(final EnableEncryptionAtRestRequest request) {
return super.sendRequest( "EnableEncryptionAtRest", request, EnableEncryptionAtRestRequest.class, EnableEncryptionAtRestResult.class );
}
@Override
public EnableEncryptionAtRestResult enableEncryptionAtRest() {
return this.enableEncryptionAtRest( new EnableEncryptionAtRestRequest( ) );
}
@Override
public DisableEncryptionAtRestResult disableEncryptionAtRest(final DisableEncryptionAtRestRequest request) {
return super.sendRequest( "DisableEncryptionAtRest", request, DisableEncryptionAtRestRequest.class, DisableEncryptionAtRestResult.class );
}
@Override
public DisableEncryptionAtRestResult disableEncryptionAtRest() {
return this.disableEncryptionAtRest( new DisableEncryptionAtRestRequest( ) );
}
@Override
public SnmpSendTestTrapsResult snmpSendTestTraps(final SnmpSendTestTrapsRequest request) {
return super.sendRequest( "SnmpSendTestTraps", request, SnmpSendTestTrapsRequest.class, SnmpSendTestTrapsResult.class );
}
@Override
public SnmpSendTestTrapsResult snmpSendTestTraps() {
return this.snmpSendTestTraps( new SnmpSendTestTrapsRequest( ) );
}
@Override
public GetAsyncResultResult getAsyncResult(final GetAsyncResultRequest request) {
return super.sendRequest( "GetAsyncResult", request, GetAsyncResultRequest.class, GetAsyncResultResult.class );
}
@Override
public GetAsyncResultResult getAsyncResult(Long asyncHandle) {
return this.getAsyncResult( new GetAsyncResultRequest( asyncHandle) );
}
@Override
public AddDrivesResult addDrives(final AddDrivesRequest request) {
return super.sendRequest( "AddDrives", request, AddDrivesRequest.class, AddDrivesResult.class );
}
@Override
public AddDrivesResult addDrives(NewDrive[] drives) {
return this.addDrives( new AddDrivesRequest( drives) );
}
@Override
public ListDrivesResult listDrives(final ListDrivesRequest request) {
return super.sendRequest( "ListDrives", request, ListDrivesRequest.class, ListDrivesResult.class );
}
@Override
public ListDrivesResult listDrives() {
return this.listDrives( new ListDrivesRequest( ) );
}
@Override
public GetDriveHardwareInfoResult getDriveHardwareInfo(final GetDriveHardwareInfoRequest request) {
return super.sendRequest( "GetDriveHardwareInfo", request, GetDriveHardwareInfoRequest.class, GetDriveHardwareInfoResult.class );
}
@Override
public GetDriveHardwareInfoResult getDriveHardwareInfo(Long driveID) {
return this.getDriveHardwareInfo( new GetDriveHardwareInfoRequest( driveID) );
}
@Override
public ListDriveHardwareResult listDriveHardware(final ListDriveHardwareRequest request) {
return super.sendRequest( "ListDriveHardware", request, ListDriveHardwareRequest.class, ListDriveHardwareResult.class );
}
@Override
public ListDriveHardwareResult listDriveHardware(Boolean force) {
return this.listDriveHardware( new ListDriveHardwareRequest( force) );
}
@Override
public ResetDrivesResult resetDrives(final ResetDrivesRequest request) {
return super.sendRequest( "ResetDrives", request, ResetDrivesRequest.class, ResetDrivesResult.class );
}
@Override
public ResetDrivesResult resetDrives(String drives, Boolean force) {
return this.resetDrives( new ResetDrivesRequest( drives, force) );
}
@Override
public TestDrivesResult testDrives(final TestDrivesRequest request) {
return super.sendRequest( "TestDrives", request, TestDrivesRequest.class, TestDrivesResult.class );
}
@Override
public TestDrivesResult testDrives(Optional minutes, Boolean force) {
return this.testDrives( new TestDrivesRequest( minutes, force) );
}
@Override
public GetDriveStatsResult getDriveStats(final GetDriveStatsRequest request) {
return com.solidfire.adaptor.ElementServiceAdaptor.getDriveStats(this, request);
}
@Override
public GetDriveStatsResult getDriveStats(Long driveID) {
final GetDriveStatsRequest request = new GetDriveStatsRequest( driveID);
return com.solidfire.adaptor.ElementServiceAdaptor.getDriveStats(this, request);
}
@Override
public AsyncHandleResult secureEraseDrives(final SecureEraseDrivesRequest request) {
return super.sendRequest( "SecureEraseDrives", request, SecureEraseDrivesRequest.class, AsyncHandleResult.class );
}
@Override
public AsyncHandleResult secureEraseDrives(Long[] drives) {
return this.secureEraseDrives( new SecureEraseDrivesRequest( drives) );
}
@Override
public AsyncHandleResult removeDrives(final RemoveDrivesRequest request) {
return super.sendRequest( "RemoveDrives", request, RemoveDrivesRequest.class, AsyncHandleResult.class );
}
@Override
public AsyncHandleResult removeDrives(Long[] drives) {
return this.removeDrives( new RemoveDrivesRequest( drives) );
}
@Override
@Since("8.0")
public ListFibreChannelPortInfoResult listFibreChannelPortInfo(final ListFibreChannelPortInfoRequest request) {
return super.sendRequest( "ListFibreChannelPortInfo", request, ListFibreChannelPortInfoRequest.class, ListFibreChannelPortInfoResult.class );
}
@Override
@Since("8.0")
public ListFibreChannelPortInfoResult listFibreChannelPortInfo() {
return this.listFibreChannelPortInfo( new ListFibreChannelPortInfoRequest( ) );
}
@Override
@Since("7.0")
public ListNodeFibreChannelPortInfoResult listNodeFibreChannelPortInfo(final ListNodeFibreChannelPortInfoRequest request) {
return super.sendRequest( "ListNodeFibreChannelPortInfo", request, ListNodeFibreChannelPortInfoRequest.class, ListNodeFibreChannelPortInfoResult.class );
}
@Override
@Since("7.0")
public ListNodeFibreChannelPortInfoResult listNodeFibreChannelPortInfo(Optional force) {
return this.listNodeFibreChannelPortInfo( new ListNodeFibreChannelPortInfoRequest( force) );
}
@Override
@Since("7.0")
public ListFibreChannelSessionsResult listFibreChannelSessions(final ListFibreChannelSessionsRequest request) {
return super.sendRequest( "ListFibreChannelSessions", request, ListFibreChannelSessionsRequest.class, ListFibreChannelSessionsResult.class );
}
@Override
@Since("7.0")
public ListFibreChannelSessionsResult listFibreChannelSessions() {
return this.listFibreChannelSessions( new ListFibreChannelSessionsRequest( ) );
}
@Override
public GetClusterHardwareInfoResult getClusterHardwareInfo(final GetClusterHardwareInfoRequest request) {
return super.sendRequest( "GetClusterHardwareInfo", request, GetClusterHardwareInfoRequest.class, GetClusterHardwareInfoResult.class );
}
@Override
public GetClusterHardwareInfoResult getClusterHardwareInfo(Optional type) {
return this.getClusterHardwareInfo( new GetClusterHardwareInfoRequest( type) );
}
@Override
public GetHardwareConfigResult getHardwareConfig(final GetHardwareConfigRequest request) {
return super.sendRequest( "GetHardwareConfig", request, GetHardwareConfigRequest.class, GetHardwareConfigResult.class );
}
@Override
public GetHardwareConfigResult getHardwareConfig() {
return this.getHardwareConfig( new GetHardwareConfigRequest( ) );
}
@Override
public GetNodeHardwareInfoResult getNodeHardwareInfo(final GetNodeHardwareInfoRequest request) {
return super.sendRequest( "GetNodeHardwareInfo", request, GetNodeHardwareInfoRequest.class, GetNodeHardwareInfoResult.class );
}
@Override
public GetNodeHardwareInfoResult getNodeHardwareInfo(Long nodeID) {
return this.getNodeHardwareInfo( new GetNodeHardwareInfoRequest( nodeID) );
}
@Override
public GetNvramInfoResult getNvramInfo(final GetNvramInfoRequest request) {
return super.sendRequest( "GetNvramInfo", request, GetNvramInfoRequest.class, GetNvramInfoResult.class );
}
@Override
public GetNvramInfoResult getNvramInfo() {
return this.getNvramInfo( new GetNvramInfoRequest( ) );
}
@Override
public Object invokeSFApi(final InvokeSFApiRequest request) {
return com.solidfire.adaptor.ElementServiceAdaptor.invokeSFApi(this, request);
}
@Override
public Object invokeSFApi(String method, Optional parameters) {
final InvokeSFApiRequest request = new InvokeSFApiRequest( method, parameters);
return com.solidfire.adaptor.ElementServiceAdaptor.invokeSFApi(this, request);
}
@Override
@Since("8.0")
public AddLdapClusterAdminResult addLdapClusterAdmin(final AddLdapClusterAdminRequest request) {
return super.sendRequest( "AddLdapClusterAdmin", request, AddLdapClusterAdminRequest.class, AddLdapClusterAdminResult.class );
}
@Override
@Since("8.0")
public TestLdapAuthenticationResult testLdapAuthentication(final TestLdapAuthenticationRequest request) {
return super.sendRequest( "TestLdapAuthentication", request, TestLdapAuthenticationRequest.class, TestLdapAuthenticationResult.class );
}
@Override
@Since("8.0")
public TestLdapAuthenticationResult testLdapAuthentication(String username, String password, Optional ldapConfiguration) {
return this.testLdapAuthentication( new TestLdapAuthenticationRequest( username, password, ldapConfiguration) );
}
@Override
@Since("8.0")
public GetLdapConfigurationResult getLdapConfiguration(final GetLdapConfigurationRequest request) {
return super.sendRequest( "GetLdapConfiguration", request, GetLdapConfigurationRequest.class, GetLdapConfigurationResult.class );
}
@Override
@Since("8.0")
public GetLdapConfigurationResult getLdapConfiguration() {
return this.getLdapConfiguration( new GetLdapConfigurationRequest( ) );
}
@Override
@Since("8.0")
public EnableLdapAuthenticationResult enableLdapAuthentication(final EnableLdapAuthenticationRequest request) {
return super.sendRequest( "EnableLdapAuthentication", request, EnableLdapAuthenticationRequest.class, EnableLdapAuthenticationResult.class );
}
@Override
@Since("8.0")
public DisableLdapAuthenticationResult disableLdapAuthentication(final DisableLdapAuthenticationRequest request) {
return super.sendRequest( "DisableLdapAuthentication", request, DisableLdapAuthenticationRequest.class, DisableLdapAuthenticationResult.class );
}
@Override
@Since("8.0")
public DisableLdapAuthenticationResult disableLdapAuthentication() {
return this.disableLdapAuthentication( new DisableLdapAuthenticationRequest( ) );
}
@Override
public ListActiveNodesResult listActiveNodes(final ListActiveNodesRequest request) {
return super.sendRequest( "ListActiveNodes", request, ListActiveNodesRequest.class, ListActiveNodesResult.class );
}
@Override
public ListActiveNodesResult listActiveNodes() {
return this.listActiveNodes( new ListActiveNodesRequest( ) );
}
@Override
public ListAllNodesResult listAllNodes(final ListAllNodesRequest request) {
return super.sendRequest( "ListAllNodes", request, ListAllNodesRequest.class, ListAllNodesResult.class );
}
@Override
public ListAllNodesResult listAllNodes() {
return this.listAllNodes( new ListAllNodesRequest( ) );
}
@Override
public ListPendingNodesResult listPendingNodes(final ListPendingNodesRequest request) {
return super.sendRequest( "ListPendingNodes", request, ListPendingNodesRequest.class, ListPendingNodesResult.class );
}
@Override
public ListPendingNodesResult listPendingNodes() {
return this.listPendingNodes( new ListPendingNodesRequest( ) );
}
@Override
public AddNodesResult addNodes(final AddNodesRequest request) {
return super.sendRequest( "AddNodes", request, AddNodesRequest.class, AddNodesResult.class );
}
@Override
public AddNodesResult addNodes(Long[] pendingNodes) {
return this.addNodes( new AddNodesRequest( pendingNodes) );
}
@Override
public RemoveNodesResult removeNodes(final RemoveNodesRequest request) {
return super.sendRequest( "RemoveNodes", request, RemoveNodesRequest.class, RemoveNodesResult.class );
}
@Override
public RemoveNodesResult removeNodes(Long[] nodes) {
return this.removeNodes( new RemoveNodesRequest( nodes) );
}
@Override
public GetNetworkConfigResult getNetworkConfig(final GetNetworkConfigRequest request) {
return super.sendRequest( "GetNetworkConfig", request, GetNetworkConfigRequest.class, GetNetworkConfigResult.class );
}
@Override
public GetNetworkConfigResult getNetworkConfig() {
return this.getNetworkConfig( new GetNetworkConfigRequest( ) );
}
@Override
public SetConfigResult setConfig(final SetConfigRequest request) {
return super.sendRequest( "SetConfig", request, SetConfigRequest.class, SetConfigResult.class );
}
@Override
public SetConfigResult setConfig(Config config) {
return this.setConfig( new SetConfigRequest( config) );
}
@Override
public SetNetworkConfigResult setNetworkConfig(final SetNetworkConfigRequest request) {
return super.sendRequest( "SetNetworkConfig", request, SetNetworkConfigRequest.class, SetNetworkConfigResult.class );
}
@Override
public SetNetworkConfigResult setNetworkConfig(Network network) {
return this.setNetworkConfig( new SetNetworkConfigRequest( network) );
}
@Override
public GetConfigResult getConfig(final GetConfigRequest request) {
return super.sendRequest( "GetConfig", request, GetConfigRequest.class, GetConfigResult.class );
}
@Override
public GetConfigResult getConfig() {
return this.getConfig( new GetConfigRequest( ) );
}
@Override
public GetNodeStatsResult getNodeStats(final GetNodeStatsRequest request) {
return com.solidfire.adaptor.ElementServiceAdaptor.getNodeStats(this, request);
}
@Override
public GetNodeStatsResult getNodeStats(Long nodeID) {
final GetNodeStatsRequest request = new GetNodeStatsRequest( nodeID);
return com.solidfire.adaptor.ElementServiceAdaptor.getNodeStats(this, request);
}
@Override
public ListNodeStatsResult listNodeStats(final ListNodeStatsRequest request) {
return super.sendRequest( "ListNodeStats", request, ListNodeStatsRequest.class, ListNodeStatsResult.class );
}
@Override
public ListNodeStatsResult listNodeStats() {
return this.listNodeStats( new ListNodeStatsRequest( ) );
}
@Override
public ListClusterPairsResult listClusterPairs(final ListClusterPairsRequest request) {
return super.sendRequest( "ListClusterPairs", request, ListClusterPairsRequest.class, ListClusterPairsResult.class );
}
@Override
public ListClusterPairsResult listClusterPairs() {
return this.listClusterPairs( new ListClusterPairsRequest( ) );
}
@Override
public ListActivePairedVolumesResult listActivePairedVolumes(final ListActivePairedVolumesRequest request) {
return super.sendRequest( "ListActivePairedVolumes", request, ListActivePairedVolumesRequest.class, ListActivePairedVolumesResult.class );
}
@Override
public ListActivePairedVolumesResult listActivePairedVolumes() {
return this.listActivePairedVolumes( new ListActivePairedVolumesRequest( ) );
}
@Override
public StartClusterPairingResult startClusterPairing(final StartClusterPairingRequest request) {
return super.sendRequest( "StartClusterPairing", request, StartClusterPairingRequest.class, StartClusterPairingResult.class );
}
@Override
public StartClusterPairingResult startClusterPairing() {
return this.startClusterPairing( new StartClusterPairingRequest( ) );
}
@Override
public StartVolumePairingResult startVolumePairing(final StartVolumePairingRequest request) {
return super.sendRequest( "StartVolumePairing", request, StartVolumePairingRequest.class, StartVolumePairingResult.class );
}
@Override
public StartVolumePairingResult startVolumePairing(Long volumeID, @Since("8.0") Optional mode) {
return this.startVolumePairing( new StartVolumePairingRequest( volumeID, mode) );
}
@Override
public CompleteClusterPairingResult completeClusterPairing(final CompleteClusterPairingRequest request) {
return super.sendRequest( "CompleteClusterPairing", request, CompleteClusterPairingRequest.class, CompleteClusterPairingResult.class );
}
@Override
public CompleteClusterPairingResult completeClusterPairing(String clusterPairingKey) {
return this.completeClusterPairing( new CompleteClusterPairingRequest( clusterPairingKey) );
}
@Override
public CompleteVolumePairingResult completeVolumePairing(final CompleteVolumePairingRequest request) {
return super.sendRequest( "CompleteVolumePairing", request, CompleteVolumePairingRequest.class, CompleteVolumePairingResult.class );
}
@Override
public CompleteVolumePairingResult completeVolumePairing(String volumePairingKey, Long volumeID) {
return this.completeVolumePairing( new CompleteVolumePairingRequest( volumePairingKey, volumeID) );
}
@Override
public RemoveClusterPairResult removeClusterPair(final RemoveClusterPairRequest request) {
return super.sendRequest( "RemoveClusterPair", request, RemoveClusterPairRequest.class, RemoveClusterPairResult.class );
}
@Override
public RemoveClusterPairResult removeClusterPair(Long clusterPairID) {
return this.removeClusterPair( new RemoveClusterPairRequest( clusterPairID) );
}
@Override
public RemoveVolumePairResult removeVolumePair(final RemoveVolumePairRequest request) {
return super.sendRequest( "RemoveVolumePair", request, RemoveVolumePairRequest.class, RemoveVolumePairResult.class );
}
@Override
public RemoveVolumePairResult removeVolumePair(Long volumeID) {
return this.removeVolumePair( new RemoveVolumePairRequest( volumeID) );
}
@Override
public ModifyVolumePairResult modifyVolumePair(final ModifyVolumePairRequest request) {
return super.sendRequest( "ModifyVolumePair", request, ModifyVolumePairRequest.class, ModifyVolumePairResult.class );
}
@Override
public ModifyVolumePairResult modifyVolumePair(Long volumeID, Optional pausedManual, Optional mode) {
return this.modifyVolumePair( new ModifyVolumePairRequest( volumeID, pausedManual, mode) );
}
@Override
public CreateSnapshotResult createSnapshot(final CreateSnapshotRequest request) {
return super.sendRequest( "CreateSnapshot", request, CreateSnapshotRequest.class, CreateSnapshotResult.class );
}
@Override
public DeleteSnapshotResult deleteSnapshot(final DeleteSnapshotRequest request) {
return super.sendRequest( "DeleteSnapshot", request, DeleteSnapshotRequest.class, DeleteSnapshotResult.class );
}
@Override
public DeleteSnapshotResult deleteSnapshot(Long snapshotID) {
return this.deleteSnapshot( new DeleteSnapshotRequest( snapshotID) );
}
@Override
public ListSnapshotsResult listSnapshots(final ListSnapshotsRequest request) {
return super.sendRequest( "ListSnapshots", request, ListSnapshotsRequest.class, ListSnapshotsResult.class );
}
@Override
public ListSnapshotsResult listSnapshots(Optional volumeID) {
return this.listSnapshots( new ListSnapshotsRequest( volumeID) );
}
@Override
@Since("8.0")
public ModifySnapshotResult modifySnapshot(final ModifySnapshotRequest request) {
return super.sendRequest( "ModifySnapshot", request, ModifySnapshotRequest.class, ModifySnapshotResult.class );
}
@Override
@Since("8.0")
public ModifySnapshotResult modifySnapshot(Long snapshotID, Optional expirationTime, Optional enableRemoteReplication) {
return this.modifySnapshot( new ModifySnapshotRequest( snapshotID, expirationTime, enableRemoteReplication) );
}
@Override
public CreateSnapshotResult rollbackToSnapshot(final RollbackToSnapshotRequest request) {
return super.sendRequest( "RollbackToSnapshot", request, RollbackToSnapshotRequest.class, CreateSnapshotResult.class );
}
@Override
public CreateGroupSnapshotResult createGroupSnapshot(final CreateGroupSnapshotRequest request) {
return super.sendRequest( "CreateGroupSnapshot", request, CreateGroupSnapshotRequest.class, CreateGroupSnapshotResult.class );
}
@Override
public DeleteGroupSnapshotResult deleteGroupSnapshot(final DeleteGroupSnapshotRequest request) {
return super.sendRequest( "DeleteGroupSnapshot", request, DeleteGroupSnapshotRequest.class, DeleteGroupSnapshotResult.class );
}
@Override
public DeleteGroupSnapshotResult deleteGroupSnapshot(Long groupSnapshotID, Boolean saveMembers) {
return this.deleteGroupSnapshot( new DeleteGroupSnapshotRequest( groupSnapshotID, saveMembers) );
}
@Override
public ListGroupSnapshotsResult listGroupSnapshots(final ListGroupSnapshotsRequest request) {
return super.sendRequest( "ListGroupSnapshots", request, ListGroupSnapshotsRequest.class, ListGroupSnapshotsResult.class );
}
@Override
public ListGroupSnapshotsResult listGroupSnapshots(Optional volumeID) {
return this.listGroupSnapshots( new ListGroupSnapshotsRequest( volumeID) );
}
@Override
@Since("8.0")
public ModifyGroupSnapshotResult modifyGroupSnapshot(final ModifyGroupSnapshotRequest request) {
return super.sendRequest( "ModifyGroupSnapshot", request, ModifyGroupSnapshotRequest.class, ModifyGroupSnapshotResult.class );
}
@Override
@Since("8.0")
public ModifyGroupSnapshotResult modifyGroupSnapshot(Long groupSnapshotID, Optional expirationTime, Optional enableRemoteReplication) {
return this.modifyGroupSnapshot( new ModifyGroupSnapshotRequest( groupSnapshotID, expirationTime, enableRemoteReplication) );
}
@Override
@Since("7.0")
public CreateGroupSnapshotResult rollbackToGroupSnapshot(final RollbackToGroupSnapshotRequest request) {
return super.sendRequest( "RollbackToGroupSnapshot", request, RollbackToGroupSnapshotRequest.class, CreateGroupSnapshotResult.class );
}
@Override
@Since("8.0")
public GetScheduleResult getSchedule(final GetScheduleRequest request) {
return com.solidfire.adaptor.ElementServiceAdaptor.getSchedule(this, request);
}
@Override
@Since("8.0")
public GetScheduleResult getSchedule(Long scheduleID) {
final GetScheduleRequest request = new GetScheduleRequest( scheduleID);
return com.solidfire.adaptor.ElementServiceAdaptor.getSchedule(this, request);
}
@Override
@Since("8.0")
public ListSchedulesResult listSchedules(final ListSchedulesRequest request) {
return com.solidfire.adaptor.ElementServiceAdaptor.listSchedules(this, request);
}
@Override
@Since("8.0")
public ListSchedulesResult listSchedules() {
final ListSchedulesRequest request = new ListSchedulesRequest( );
return com.solidfire.adaptor.ElementServiceAdaptor.listSchedules(this, request);
}
@Override
@Since("8.0")
public CreateScheduleResult createSchedule(final CreateScheduleRequest request) {
return com.solidfire.adaptor.ElementServiceAdaptor.createSchedule(this, request);
}
@Override
@Since("8.0")
public CreateScheduleResult createSchedule(Schedule schedule) {
final CreateScheduleRequest request = new CreateScheduleRequest( schedule);
return com.solidfire.adaptor.ElementServiceAdaptor.createSchedule(this, request);
}
@Override
@Since("8.0")
public ModifyScheduleResult modifySchedule(final ModifyScheduleRequest request) {
return com.solidfire.adaptor.ElementServiceAdaptor.modifySchedule(this, request);
}
@Override
@Since("8.0")
public ModifyScheduleResult modifySchedule(Schedule schedule) {
final ModifyScheduleRequest request = new ModifyScheduleRequest( schedule);
return com.solidfire.adaptor.ElementServiceAdaptor.modifySchedule(this, request);
}
@Override
public Object getRawStats(final GetRawStatsRequest request) {
return super.sendRequest( "GetRawStats", request, GetRawStatsRequest.class, Object.class );
}
@Override
public Object getRawStats() {
return this.getRawStats( new GetRawStatsRequest( ) );
}
@Override
public Object getCompleteStats(final GetCompleteStatsRequest request) {
return super.sendRequest( "GetCompleteStats", request, GetCompleteStatsRequest.class, Object.class );
}
@Override
public Object getCompleteStats() {
return this.getCompleteStats( new GetCompleteStatsRequest( ) );
}
@Override
public ListTestsResult listTests(final ListTestsRequest request) {
return super.sendRequest( "ListTests", request, ListTestsRequest.class, ListTestsResult.class );
}
@Override
public ListTestsResult listTests() {
return this.listTests( new ListTestsRequest( ) );
}
@Override
public ListUtilitiesResult listUtilities(final ListUtilitiesRequest request) {
return super.sendRequest( "ListUtilities", request, ListUtilitiesRequest.class, ListUtilitiesResult.class );
}
@Override
public ListUtilitiesResult listUtilities() {
return this.listUtilities( new ListUtilitiesRequest( ) );
}
@Override
public TestConnectEnsembleResult testConnectEnsemble(final TestConnectEnsembleRequest request) {
return super.sendRequest( "TestConnectEnsemble", request, TestConnectEnsembleRequest.class, TestConnectEnsembleResult.class );
}
@Override
public TestConnectEnsembleResult testConnectEnsemble(Optional ensemble) {
return this.testConnectEnsemble( new TestConnectEnsembleRequest( ensemble) );
}
@Override
public TestConnectMvipResult testConnectMvip(final TestConnectMvipRequest request) {
return super.sendRequest( "TestConnectMvip", request, TestConnectMvipRequest.class, TestConnectMvipResult.class );
}
@Override
public TestConnectMvipResult testConnectMvip(Optional mvip) {
return this.testConnectMvip( new TestConnectMvipRequest( mvip) );
}
@Override
public TestConnectSvipResult testConnectSvip(final TestConnectSvipRequest request) {
return super.sendRequest( "TestConnectSvip", request, TestConnectSvipRequest.class, TestConnectSvipResult.class );
}
@Override
public TestConnectSvipResult testConnectSvip(Optional svip) {
return this.testConnectSvip( new TestConnectSvipRequest( svip) );
}
@Override
public TestPingResult testPing(final TestPingRequest request) {
return super.sendRequest( "TestPing", request, TestPingRequest.class, TestPingResult.class );
}
@Override
@Since("7.0")
public ListVirtualNetworksResult listVirtualNetworks(final ListVirtualNetworksRequest request) {
return super.sendRequest( "ListVirtualNetworks", request, ListVirtualNetworksRequest.class, ListVirtualNetworksResult.class );
}
@Override
@Since("7.0")
public AddVirtualNetworkResult addVirtualNetwork(final AddVirtualNetworkRequest request) {
return super.sendRequest( "AddVirtualNetwork", request, AddVirtualNetworkRequest.class, AddVirtualNetworkResult.class );
}
@Override
@Since("7.0")
public AddVirtualNetworkResult modifyVirtualNetwork(final ModifyVirtualNetworkRequest request) {
return super.sendRequest( "ModifyVirtualNetwork", request, ModifyVirtualNetworkRequest.class, AddVirtualNetworkResult.class );
}
@Override
@Since("7.0")
public RemoveVirtualNetworkResult removeVirtualNetwork(final RemoveVirtualNetworkRequest request) {
return super.sendRequest( "RemoveVirtualNetwork", request, RemoveVirtualNetworkRequest.class, RemoveVirtualNetworkResult.class );
}
@Override
@Since("7.0")
public RemoveVirtualNetworkResult removeVirtualNetwork(Optional virtualNetworkID, Optional virtualNetworkTag) {
return this.removeVirtualNetwork( new RemoveVirtualNetworkRequest( virtualNetworkID, virtualNetworkTag) );
}
@Override
@Since("9.0")
public PrepareVirtualSnapshotResult prepareVirtualSnapshot(final PrepareVirtualSnapshotRequest request) {
return super.sendRequest( "PrepareVirtualSnapshot", request, PrepareVirtualSnapshotRequest.class, PrepareVirtualSnapshotResult.class );
}
@Override
@Since("9.0")
public VirtualVolumeUnsharedChunkResult getVirtualVolumeUnsharedChunks(final GetVirtualVolumeUnsharedChunksRequest request) {
return super.sendRequest( "GetVirtualVolumeUnsharedChunks", request, GetVirtualVolumeUnsharedChunksRequest.class, VirtualVolumeUnsharedChunkResult.class );
}
@Override
@Since("9.0")
public VirtualVolumeNullResult createVirtualVolumeHost(final CreateVirtualVolumeHostRequest request) {
return super.sendRequest( "CreateVirtualVolumeHost", request, CreateVirtualVolumeHostRequest.class, VirtualVolumeNullResult.class );
}
@Override
@Since("9.0")
public ListVirtualVolumeHostsResult listVirtualVolumeHosts(final ListVirtualVolumeHostsRequest request) {
return super.sendRequest( "ListVirtualVolumeHosts", request, ListVirtualVolumeHostsRequest.class, ListVirtualVolumeHostsResult.class );
}
@Override
@Since("9.0")
public ListVirtualVolumeHostsResult listVirtualVolumeHosts(Optional virtualVolumeHostIDs, Optional callingVirtualVolumeHostID) {
return this.listVirtualVolumeHosts( new ListVirtualVolumeHostsRequest( virtualVolumeHostIDs, callingVirtualVolumeHostID) );
}
@Override
@Since("9.0")
public VirtualVolumeTaskResult getVirtualVolumeTaskUpdate(final GetVirtualVolumeTaskUpdateRequest request) {
return super.sendRequest( "GetVirtualVolumeTaskUpdate", request, GetVirtualVolumeTaskUpdateRequest.class, VirtualVolumeTaskResult.class );
}
@Override
@Since("9.0")
public VirtualVolumeTaskResult getVirtualVolumeTaskUpdate(java.util.UUID virtualVolumeTaskID, Optional callingVirtualVolumeHostID) {
return this.getVirtualVolumeTaskUpdate( new GetVirtualVolumeTaskUpdateRequest( virtualVolumeTaskID, callingVirtualVolumeHostID) );
}
@Override
@Since("9.0")
public ListVirtualVolumeTasksResult listVirtualVolumeTasks(final ListVirtualVolumeTasksRequest request) {
return super.sendRequest( "ListVirtualVolumeTasks", request, ListVirtualVolumeTasksRequest.class, ListVirtualVolumeTasksResult.class );
}
@Override
@Since("9.0")
public ListVirtualVolumeTasksResult listVirtualVolumeTasks(Optional virtualVolumeTaskIDs, Optional callingVirtualVolumeHostID) {
return this.listVirtualVolumeTasks( new ListVirtualVolumeTasksRequest( virtualVolumeTaskIDs, callingVirtualVolumeHostID) );
}
@Override
@Since("9.0")
public ListVirtualVolumeBindingsResult listVirtualVolumeBindings(final ListVirtualVolumeBindingsRequest request) {
return super.sendRequest( "ListVirtualVolumeBindings", request, ListVirtualVolumeBindingsRequest.class, ListVirtualVolumeBindingsResult.class );
}
@Override
@Since("9.0")
public ListVirtualVolumeBindingsResult listVirtualVolumeBindings(Optional virtualVolumeBindingIDs, Optional callingVirtualVolumeHostID) {
return this.listVirtualVolumeBindings( new ListVirtualVolumeBindingsRequest( virtualVolumeBindingIDs, callingVirtualVolumeHostID) );
}
@Override
@Since("9.0")
public GetVirtualVolumeCountResult getVirtualVolumeCount(final GetVirtualVolumeCountRequest request) {
return super.sendRequest( "GetVirtualVolumeCount", request, GetVirtualVolumeCountRequest.class, GetVirtualVolumeCountResult.class );
}
@Override
@Since("9.0")
public GetVirtualVolumeCountResult getVirtualVolumeCount() {
return this.getVirtualVolumeCount( new GetVirtualVolumeCountRequest( ) );
}
@Override
public CloneVolumeResult cloneVolume(final CloneVolumeRequest request) {
return super.sendRequest( "CloneVolume", request, CloneVolumeRequest.class, CloneVolumeResult.class );
}
@Override
public CloneMultipleVolumesResult cloneMultipleVolumes(final CloneMultipleVolumesRequest request) {
return super.sendRequest( "CloneMultipleVolumes", request, CloneMultipleVolumesRequest.class, CloneMultipleVolumesResult.class );
}
@Override
public CreateVolumeResult createVolume(final CreateVolumeRequest request) {
return super.sendRequest( "CreateVolume", request, CreateVolumeRequest.class, CreateVolumeResult.class );
}
@Override
public DeleteVolumeResult deleteVolume(final DeleteVolumeRequest request) {
return super.sendRequest( "DeleteVolume", request, DeleteVolumeRequest.class, DeleteVolumeResult.class );
}
@Override
public DeleteVolumeResult deleteVolume(Long volumeID) {
return this.deleteVolume( new DeleteVolumeRequest( volumeID) );
}
@Override
public GetVolumeStatsResult getVolumeStats(final GetVolumeStatsRequest request) {
return super.sendRequest( "GetVolumeStats", request, GetVolumeStatsRequest.class, GetVolumeStatsResult.class );
}
@Override
public GetVolumeStatsResult getVolumeStats(Long volumeID) {
return this.getVolumeStats( new GetVolumeStatsRequest( volumeID) );
}
@Override
public GetVolumeEfficiencyResult getVolumeEfficiency(final GetVolumeEfficiencyRequest request) {
return super.sendRequest( "GetVolumeEfficiency", request, GetVolumeEfficiencyRequest.class, GetVolumeEfficiencyResult.class );
}
@Override
public GetVolumeEfficiencyResult getVolumeEfficiency(Long volumeID, Optional force) {
return this.getVolumeEfficiency( new GetVolumeEfficiencyRequest( volumeID, force) );
}
@Override
public ListBulkVolumeJobsResult listBulkVolumeJobs(final ListBulkVolumeJobsRequest request) {
return super.sendRequest( "ListBulkVolumeJobs", request, ListBulkVolumeJobsRequest.class, ListBulkVolumeJobsResult.class );
}
@Override
public ListBulkVolumeJobsResult listBulkVolumeJobs() {
return this.listBulkVolumeJobs( new ListBulkVolumeJobsRequest( ) );
}
@Override
public ListActiveVolumesResult listActiveVolumes(final ListActiveVolumesRequest request) {
return super.sendRequest( "ListActiveVolumes", request, ListActiveVolumesRequest.class, ListActiveVolumesResult.class );
}
@Override
public ListActiveVolumesResult listActiveVolumes(Optional startVolumeID, Optional limit) {
return this.listActiveVolumes( new ListActiveVolumesRequest( startVolumeID, limit) );
}
@Override
public ListDeletedVolumesResult listDeletedVolumes(final ListDeletedVolumesRequest request) {
return super.sendRequest( "ListDeletedVolumes", request, ListDeletedVolumesRequest.class, ListDeletedVolumesResult.class );
}
@Override
public ListDeletedVolumesResult listDeletedVolumes() {
return this.listDeletedVolumes( new ListDeletedVolumesRequest( ) );
}
@Override
public ListISCSISessionsResult listISCSISessions(final ListISCSISessionsRequest request) {
return super.sendRequest( "ListISCSISessions", request, ListISCSISessionsRequest.class, ListISCSISessionsResult.class );
}
@Override
public ListISCSISessionsResult listISCSISessions() {
return this.listISCSISessions( new ListISCSISessionsRequest( ) );
}
@Override
@Since("8.0")
public ListVolumesResult listVolumes(final ListVolumesRequest request) {
return super.sendRequest( "ListVolumes", request, ListVolumesRequest.class, ListVolumesResult.class );
}
@Override
public ListVolumesForAccountResult listVolumesForAccount(final ListVolumesForAccountRequest request) {
return super.sendRequest( "ListVolumesForAccount", request, ListVolumesForAccountRequest.class, ListVolumesForAccountResult.class );
}
@Override
public ListVolumesForAccountResult listVolumesForAccount(Long accountID, Optional startVolumeID, Optional limit) {
return this.listVolumesForAccount( new ListVolumesForAccountRequest( accountID, startVolumeID, limit) );
}
@Override
public ListVolumeStatsByAccountResult listVolumeStatsByAccount(final ListVolumeStatsByAccountRequest request) {
return super.sendRequest( "ListVolumeStatsByAccount", request, ListVolumeStatsByAccountRequest.class, ListVolumeStatsByAccountResult.class );
}
@Override
public ListVolumeStatsByAccountResult listVolumeStatsByAccount() {
return this.listVolumeStatsByAccount( new ListVolumeStatsByAccountRequest( ) );
}
@Override
public ListVolumeStatsByVolumeResult listVolumeStatsByVolume(final ListVolumeStatsByVolumeRequest request) {
return super.sendRequest( "ListVolumeStatsByVolume", request, ListVolumeStatsByVolumeRequest.class, ListVolumeStatsByVolumeResult.class );
}
@Override
public ListVolumeStatsByVolumeResult listVolumeStatsByVolume() {
return this.listVolumeStatsByVolume( new ListVolumeStatsByVolumeRequest( ) );
}
@Override
public ListVolumeStatsByVolumeAccessGroupResult listVolumeStatsByVolumeAccessGroup(final ListVolumeStatsByVolumeAccessGroupRequest request) {
return super.sendRequest( "ListVolumeStatsByVolumeAccessGroup", request, ListVolumeStatsByVolumeAccessGroupRequest.class, ListVolumeStatsByVolumeAccessGroupResult.class );
}
@Override
public ListVolumeStatsByVolumeAccessGroupResult listVolumeStatsByVolumeAccessGroup(Optional volumeAccessGroups) {
return this.listVolumeStatsByVolumeAccessGroup( new ListVolumeStatsByVolumeAccessGroupRequest( volumeAccessGroups) );
}
@Override
public ModifyVolumeResult modifyVolume(final ModifyVolumeRequest request) {
return super.sendRequest( "ModifyVolume", request, ModifyVolumeRequest.class, ModifyVolumeResult.class );
}
@Override
public PurgeDeletedVolumeResult purgeDeletedVolume(final PurgeDeletedVolumeRequest request) {
return super.sendRequest( "PurgeDeletedVolume", request, PurgeDeletedVolumeRequest.class, PurgeDeletedVolumeResult.class );
}
@Override
public PurgeDeletedVolumeResult purgeDeletedVolume(Long volumeID) {
return this.purgeDeletedVolume( new PurgeDeletedVolumeRequest( volumeID) );
}
@Override
public RestoreDeletedVolumeResult restoreDeletedVolume(final RestoreDeletedVolumeRequest request) {
return super.sendRequest( "RestoreDeletedVolume", request, RestoreDeletedVolumeRequest.class, RestoreDeletedVolumeResult.class );
}
@Override
public RestoreDeletedVolumeResult restoreDeletedVolume(Long volumeID) {
return this.restoreDeletedVolume( new RestoreDeletedVolumeRequest( volumeID) );
}
@Override
public StartBulkVolumeReadResult startBulkVolumeRead(final StartBulkVolumeReadRequest request) {
return super.sendRequest( "StartBulkVolumeRead", request, StartBulkVolumeReadRequest.class, StartBulkVolumeReadResult.class );
}
@Override
public StartBulkVolumeWriteResult startBulkVolumeWrite(final StartBulkVolumeWriteRequest request) {
return super.sendRequest( "StartBulkVolumeWrite", request, StartBulkVolumeWriteRequest.class, StartBulkVolumeWriteResult.class );
}
@Override
public UpdateBulkVolumeStatusResult updateBulkVolumeStatus(final UpdateBulkVolumeStatusRequest request) {
return super.sendRequest( "UpdateBulkVolumeStatus", request, UpdateBulkVolumeStatusRequest.class, UpdateBulkVolumeStatusResult.class );
}
@Override
public CreateVolumeAccessGroupResult createVolumeAccessGroup(final CreateVolumeAccessGroupRequest request) {
return super.sendRequest( "CreateVolumeAccessGroup", request, CreateVolumeAccessGroupRequest.class, CreateVolumeAccessGroupResult.class );
}
@Override
public ListVolumeAccessGroupsResult listVolumeAccessGroups(final ListVolumeAccessGroupsRequest request) {
return super.sendRequest( "ListVolumeAccessGroups", request, ListVolumeAccessGroupsRequest.class, ListVolumeAccessGroupsResult.class );
}
@Override
public ListVolumeAccessGroupsResult listVolumeAccessGroups(Optional startVolumeAccessGroupID, Optional limit) {
return this.listVolumeAccessGroups( new ListVolumeAccessGroupsRequest( startVolumeAccessGroupID, limit) );
}
@Override
public DeleteVolumeAccessGroupResult deleteVolumeAccessGroup(final DeleteVolumeAccessGroupRequest request) {
return super.sendRequest( "DeleteVolumeAccessGroup", request, DeleteVolumeAccessGroupRequest.class, DeleteVolumeAccessGroupResult.class );
}
@Override
public DeleteVolumeAccessGroupResult deleteVolumeAccessGroup(Long volumeAccessGroupID) {
return this.deleteVolumeAccessGroup( new DeleteVolumeAccessGroupRequest( volumeAccessGroupID) );
}
@Override
public ModifyVolumeAccessGroupResult modifyVolumeAccessGroup(final ModifyVolumeAccessGroupRequest request) {
return super.sendRequest( "ModifyVolumeAccessGroup", request, ModifyVolumeAccessGroupRequest.class, ModifyVolumeAccessGroupResult.class );
}
@Override
public ModifyVolumeAccessGroupResult addInitiatorsToVolumeAccessGroup(final AddInitiatorsToVolumeAccessGroupRequest request) {
return super.sendRequest( "AddInitiatorsToVolumeAccessGroup", request, AddInitiatorsToVolumeAccessGroupRequest.class, ModifyVolumeAccessGroupResult.class );
}
@Override
public ModifyVolumeAccessGroupResult addInitiatorsToVolumeAccessGroup(Long volumeAccessGroupID, String[] initiators) {
return this.addInitiatorsToVolumeAccessGroup( new AddInitiatorsToVolumeAccessGroupRequest( volumeAccessGroupID, initiators) );
}
@Override
public ModifyVolumeAccessGroupResult removeInitiatorsFromVolumeAccessGroup(final RemoveInitiatorsFromVolumeAccessGroupRequest request) {
return super.sendRequest( "RemoveInitiatorsFromVolumeAccessGroup", request, RemoveInitiatorsFromVolumeAccessGroupRequest.class, ModifyVolumeAccessGroupResult.class );
}
@Override
public ModifyVolumeAccessGroupResult removeInitiatorsFromVolumeAccessGroup(Long volumeAccessGroupID, String[] initiators) {
return this.removeInitiatorsFromVolumeAccessGroup( new RemoveInitiatorsFromVolumeAccessGroupRequest( volumeAccessGroupID, initiators) );
}
@Override
public ModifyVolumeAccessGroupResult addVolumesToVolumeAccessGroup(final AddVolumesToVolumeAccessGroupRequest request) {
return super.sendRequest( "AddVolumesToVolumeAccessGroup", request, AddVolumesToVolumeAccessGroupRequest.class, ModifyVolumeAccessGroupResult.class );
}
@Override
public ModifyVolumeAccessGroupResult addVolumesToVolumeAccessGroup(Long volumeAccessGroupID, Long[] volumes) {
return this.addVolumesToVolumeAccessGroup( new AddVolumesToVolumeAccessGroupRequest( volumeAccessGroupID, volumes) );
}
@Override
public ModifyVolumeAccessGroupResult removeVolumesFromVolumeAccessGroup(final RemoveVolumesFromVolumeAccessGroupRequest request) {
return super.sendRequest( "RemoveVolumesFromVolumeAccessGroup", request, RemoveVolumesFromVolumeAccessGroupRequest.class, ModifyVolumeAccessGroupResult.class );
}
@Override
public ModifyVolumeAccessGroupResult removeVolumesFromVolumeAccessGroup(Long volumeAccessGroupID, Long[] volumes) {
return this.removeVolumesFromVolumeAccessGroup( new RemoveVolumesFromVolumeAccessGroupRequest( volumeAccessGroupID, volumes) );
}
@Override
public GetEfficiencyResult getVolumeAccessGroupEfficiency(final GetVolumeAccessGroupEfficiencyRequest request) {
return super.sendRequest( "GetVolumeAccessGroupEfficiency", request, GetVolumeAccessGroupEfficiencyRequest.class, GetEfficiencyResult.class );
}
@Override
public GetEfficiencyResult getVolumeAccessGroupEfficiency(Long volumeAccessGroupID) {
return this.getVolumeAccessGroupEfficiency( new GetVolumeAccessGroupEfficiencyRequest( volumeAccessGroupID) );
}
@Override
public GetVolumeAccessGroupLunAssignmentsResult getVolumeAccessGroupLunAssignments(final GetVolumeAccessGroupLunAssignmentsRequest request) {
return super.sendRequest( "GetVolumeAccessGroupLunAssignments", request, GetVolumeAccessGroupLunAssignmentsRequest.class, GetVolumeAccessGroupLunAssignmentsResult.class );
}
@Override
public GetVolumeAccessGroupLunAssignmentsResult getVolumeAccessGroupLunAssignments(Long volumeAccessGroupID) {
return this.getVolumeAccessGroupLunAssignments( new GetVolumeAccessGroupLunAssignmentsRequest( volumeAccessGroupID) );
}
@Override
public ModifyVolumeAccessGroupLunAssignmentsResult modifyVolumeAccessGroupLunAssignments(final ModifyVolumeAccessGroupLunAssignmentsRequest request) {
return super.sendRequest( "ModifyVolumeAccessGroupLunAssignments", request, ModifyVolumeAccessGroupLunAssignmentsRequest.class, ModifyVolumeAccessGroupLunAssignmentsResult.class );
}
@Override
public ModifyVolumeAccessGroupLunAssignmentsResult modifyVolumeAccessGroupLunAssignments(Long volumeAccessGroupID, LunAssignment[] lunAssignments) {
return this.modifyVolumeAccessGroupLunAssignments( new ModifyVolumeAccessGroupLunAssignmentsRequest( volumeAccessGroupID, lunAssignments) );
}
}