com.softlayer.api.service.hardware.component.model.generic.Attribute 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.model.generic;
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.model.Generic;
/**
* The SoftLayer_Hardware_Component_Model_Generic_Attribute data type contains information relating to a single SoftLayer generic component model. Generic component model attributes can hold any information to describe functionality of the model. For Example: The number of cores that a processor has.
*
* @see SoftLayer_Hardware_Component_Model_Generic_Attribute
*/
@ApiType("SoftLayer_Hardware_Component_Model_Generic_Attribute")
public class Attribute extends Entity {
/**
* An attributes generic component model.
*/
@ApiProperty
protected Generic hardwareGenericComponentModel;
public Generic getHardwareGenericComponentModel() {
return hardwareGenericComponentModel;
}
public void setHardwareGenericComponentModel(Generic hardwareGenericComponentModel) {
this.hardwareGenericComponentModel = hardwareGenericComponentModel;
}
/**
* A generic component model attribute's value.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected String value;
public String getValue() {
return value;
}
public void setValue(String value) {
valueSpecified = true;
this.value = value;
}
protected boolean valueSpecified;
public boolean isValueSpecified() {
return valueSpecified;
}
public void unsetValue() {
value = null;
valueSpecified = false;
}
public static class Mask extends com.softlayer.api.service.Entity.Mask {
public com.softlayer.api.service.hardware.component.model.Generic.Mask hardwareGenericComponentModel() {
return withSubMask("hardwareGenericComponentModel", com.softlayer.api.service.hardware.component.model.Generic.Mask.class);
}
public Mask value() {
withLocalProperty("value");
return this;
}
}
}