com.softlayer.api.service.hardware.component.Firmware 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;
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;
import java.util.GregorianCalendar;
/**
* @see SoftLayer_Hardware_Component_Firmware
*/
@ApiType("SoftLayer_Hardware_Component_Firmware")
public class Firmware extends Entity {
/**
* The Hardware Component Model this Firmware applies to.
*/
@ApiProperty
protected Model hardwareComponentModel;
public Model getHardwareComponentModel() {
return hardwareComponentModel;
}
public void setHardwareComponentModel(Model hardwareComponentModel) {
this.hardwareComponentModel = hardwareComponentModel;
}
@ApiProperty(canBeNullOrNotSet = true)
protected GregorianCalendar buildDate;
public GregorianCalendar getBuildDate() {
return buildDate;
}
public void setBuildDate(GregorianCalendar buildDate) {
buildDateSpecified = true;
this.buildDate = buildDate;
}
protected boolean buildDateSpecified;
public boolean isBuildDateSpecified() {
return buildDateSpecified;
}
public void unsetBuildDate() {
buildDate = null;
buildDateSpecified = false;
}
@ApiProperty(canBeNullOrNotSet = true)
protected GregorianCalendar createDate;
public GregorianCalendar getCreateDate() {
return createDate;
}
public void setCreateDate(GregorianCalendar createDate) {
createDateSpecified = true;
this.createDate = createDate;
}
protected boolean createDateSpecified;
public boolean isCreateDateSpecified() {
return createDateSpecified;
}
public void unsetCreateDate() {
createDate = null;
createDateSpecified = false;
}
@ApiProperty(canBeNullOrNotSet = true)
protected Long hardwareComponentModelId;
public Long getHardwareComponentModelId() {
return hardwareComponentModelId;
}
public void setHardwareComponentModelId(Long hardwareComponentModelId) {
hardwareComponentModelIdSpecified = true;
this.hardwareComponentModelId = hardwareComponentModelId;
}
protected boolean hardwareComponentModelIdSpecified;
public boolean isHardwareComponentModelIdSpecified() {
return hardwareComponentModelIdSpecified;
}
public void unsetHardwareComponentModelId() {
hardwareComponentModelId = null;
hardwareComponentModelIdSpecified = false;
}
@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;
}
@ApiProperty(canBeNullOrNotSet = true)
protected Long isQualified;
public Long getIsQualified() {
return isQualified;
}
public void setIsQualified(Long isQualified) {
isQualifiedSpecified = true;
this.isQualified = isQualified;
}
protected boolean isQualifiedSpecified;
public boolean isIsQualifiedSpecified() {
return isQualifiedSpecified;
}
public void unsetIsQualified() {
isQualified = null;
isQualifiedSpecified = false;
}
@ApiProperty(canBeNullOrNotSet = true)
protected String releaseNotes;
public String getReleaseNotes() {
return releaseNotes;
}
public void setReleaseNotes(String releaseNotes) {
releaseNotesSpecified = true;
this.releaseNotes = releaseNotes;
}
protected boolean releaseNotesSpecified;
public boolean isReleaseNotesSpecified() {
return releaseNotesSpecified;
}
public void unsetReleaseNotes() {
releaseNotes = null;
releaseNotesSpecified = false;
}
@ApiProperty(canBeNullOrNotSet = true)
protected String version;
public String getVersion() {
return version;
}
public void setVersion(String version) {
versionSpecified = true;
this.version = version;
}
protected boolean versionSpecified;
public boolean isVersionSpecified() {
return versionSpecified;
}
public void unsetVersion() {
version = null;
versionSpecified = false;
}
public static class Mask extends com.softlayer.api.service.Entity.Mask {
public Model.Mask hardwareComponentModel() {
return withSubMask("hardwareComponentModel", Model.Mask.class);
}
public Mask buildDate() {
withLocalProperty("buildDate");
return this;
}
public Mask createDate() {
withLocalProperty("createDate");
return this;
}
public Mask hardwareComponentModelId() {
withLocalProperty("hardwareComponentModelId");
return this;
}
public Mask id() {
withLocalProperty("id");
return this;
}
public Mask isQualified() {
withLocalProperty("isQualified");
return this;
}
public Mask releaseNotes() {
withLocalProperty("releaseNotes");
return this;
}
public Mask version() {
withLocalProperty("version");
return this;
}
}
}