com.softlayer.api.service.container.hardware.server.Details 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.container.hardware.server;
import com.softlayer.api.annotation.ApiProperty;
import com.softlayer.api.annotation.ApiType;
import com.softlayer.api.service.Entity;
import com.softlayer.api.service.software.Component;
import java.util.ArrayList;
import java.util.List;
/**
* The SoftLayer_Container_Hardware_Server_Details data type contains information relating to a server's component information, network information, and software information.
*
* @see SoftLayer_Container_Hardware_Server_Details
*/
@ApiType("SoftLayer_Container_Hardware_Server_Details")
public class Details extends Entity {
/**
* The components that belong to a piece of hardware.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected List components;
public List getComponents() {
if (components == null) {
components = new ArrayList();
}
return components;
}
protected boolean componentsSpecified;
public boolean isComponentsSpecified() {
return componentsSpecified;
}
public void unsetComponents() {
components = null;
componentsSpecified = false;
}
/**
* The network components that belong to a piece of hardware.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected List networkComponents;
public List getNetworkComponents() {
if (networkComponents == null) {
networkComponents = new ArrayList();
}
return networkComponents;
}
protected boolean networkComponentsSpecified;
public boolean isNetworkComponentsSpecified() {
return networkComponentsSpecified;
}
public void unsetNetworkComponents() {
networkComponents = null;
networkComponentsSpecified = false;
}
/**
* The software that belong to a piece of hardware.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected List software;
public List getSoftware() {
if (software == null) {
software = new ArrayList();
}
return software;
}
protected boolean softwareSpecified;
public boolean isSoftwareSpecified() {
return softwareSpecified;
}
public void unsetSoftware() {
software = null;
softwareSpecified = false;
}
public static class Mask extends com.softlayer.api.service.Entity.Mask {
public com.softlayer.api.service.hardware.Component.Mask components() {
return withSubMask("components", com.softlayer.api.service.hardware.Component.Mask.class);
}
public com.softlayer.api.service.network.Component.Mask networkComponents() {
return withSubMask("networkComponents", com.softlayer.api.service.network.Component.Mask.class);
}
public com.softlayer.api.service.software.Component.Mask software() {
return withSubMask("software", com.softlayer.api.service.software.Component.Mask.class);
}
}
}