com.softlayer.api.service.hardware.component.remotemanagement.Command Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of softlayer-api-client Show documentation
Show all versions of softlayer-api-client Show documentation
API client for accessing the SoftLayer API
package com.softlayer.api.service.hardware.component.remotemanagement;
import com.softlayer.api.annotation.ApiProperty;
import com.softlayer.api.annotation.ApiType;
import com.softlayer.api.service.Entity;
import com.softlayer.api.service.hardware.component.remotemanagement.command.Request;
import java.util.ArrayList;
import java.util.List;
/**
* The SoftLayer_Network_Storage_Evault_Version6 contains the names of the remote management commands. Currently, only the reboot and power commands for the remote management card exist.
*
* @see SoftLayer_Hardware_Component_RemoteManagement_Command
*/
@ApiType("SoftLayer_Hardware_Component_RemoteManagement_Command")
public class Command extends Entity {
/**
* All requests issued for the remote management command.
*/
@ApiProperty
protected List requests;
public List getRequests() {
if (requests == null) {
requests = new ArrayList();
}
return requests;
}
/**
* The name of the remote management command.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected String keyName;
public String getKeyName() {
return keyName;
}
public void setKeyName(String keyName) {
keyNameSpecified = true;
this.keyName = keyName;
}
protected boolean keyNameSpecified;
public boolean isKeyNameSpecified() {
return keyNameSpecified;
}
public void unsetKeyName() {
keyName = null;
keyNameSpecified = false;
}
/**
* A count of all requests issued for the remote management command.
*/
@ApiProperty
protected Long requestCount;
public Long getRequestCount() {
return requestCount;
}
public void setRequestCount(Long requestCount) {
this.requestCount = requestCount;
}
public static class Mask extends com.softlayer.api.service.Entity.Mask {
public com.softlayer.api.service.hardware.component.remotemanagement.command.Request.Mask requests() {
return withSubMask("requests", com.softlayer.api.service.hardware.component.remotemanagement.command.Request.Mask.class);
}
public Mask keyName() {
withLocalProperty("keyName");
return this;
}
public Mask requestCount() {
withLocalProperty("requestCount");
return this;
}
}
}