com.softlayer.api.service.hardware.component.firmware.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
The newest version!
package com.softlayer.api.service.hardware.component.firmware;
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.Firmware;
import com.softlayer.api.service.hardware.component.firmware.attribute.Type;
/**
* The SoftLayer_Hardware_Component_Firmware_Attribute data type contains general information for a hardware model's firmware.
*
* @see SoftLayer_Hardware_Component_Firmware_Attribute
*/
@ApiType("SoftLayer_Hardware_Component_Firmware_Attribute")
public class Attribute extends Entity {
/**
* A hardware component firmware attribute's associated [[SoftLayer_Hardware_Component_Firmware|firmware]].
*/
@ApiProperty
protected Firmware firmware;
public Firmware getFirmware() {
return firmware;
}
public void setFirmware(Firmware firmware) {
this.firmware = firmware;
}
/**
* A hardware component firmware attribute's associated [[SoftLayer_Hardware_Component_Firmware_Attribute_Type|type]].
*/
@ApiProperty
protected Type type;
public Type getType() {
return type;
}
public void setType(Type type) {
this.type = type;
}
/**
* A hardware component firmware attribute's firmware Id.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected Long firmwareId;
public Long getFirmwareId() {
return firmwareId;
}
public void setFirmwareId(Long firmwareId) {
firmwareIdSpecified = true;
this.firmwareId = firmwareId;
}
protected boolean firmwareIdSpecified;
public boolean isFirmwareIdSpecified() {
return firmwareIdSpecified;
}
public void unsetFirmwareId() {
firmwareId = null;
firmwareIdSpecified = false;
}
/**
* A hardware component firmware attribute's Id.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected Long id;
public Long getId() {
return id;
}
public void setId(Long id) {
idSpecified = true;
this.id = id;
}
protected boolean idSpecified;
public boolean isIdSpecified() {
return idSpecified;
}
public void unsetId() {
id = null;
idSpecified = false;
}
/**
* A hardware component firmware attribute's type Id.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected Long typeId;
public Long getTypeId() {
return typeId;
}
public void setTypeId(Long typeId) {
typeIdSpecified = true;
this.typeId = typeId;
}
protected boolean typeIdSpecified;
public boolean isTypeIdSpecified() {
return typeIdSpecified;
}
public void unsetTypeId() {
typeId = null;
typeIdSpecified = false;
}
/**
* A hardware component firmware 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.Firmware.Mask firmware() {
return withSubMask("firmware", com.softlayer.api.service.hardware.component.Firmware.Mask.class);
}
public com.softlayer.api.service.hardware.component.firmware.attribute.Type.Mask type() {
return withSubMask("type", com.softlayer.api.service.hardware.component.firmware.attribute.Type.Mask.class);
}
public Mask firmwareId() {
withLocalProperty("firmwareId");
return this;
}
public Mask id() {
withLocalProperty("id");
return this;
}
public Mask typeId() {
withLocalProperty("typeId");
return this;
}
public Mask value() {
withLocalProperty("value");
return this;
}
}
}