All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.softlayer.api.service.container.hardware.DiskImageMap Maven / Gradle / Ivy

The newest version!
package com.softlayer.api.service.container.hardware;

import com.softlayer.api.annotation.ApiProperty;
import com.softlayer.api.annotation.ApiType;
import com.softlayer.api.service.Entity;

/**
 * @see SoftLayer_Container_Hardware_DiskImageMap
 */
@ApiType("SoftLayer_Container_Hardware_DiskImageMap")
public class DiskImageMap extends Entity {

    @ApiProperty(canBeNullOrNotSet = true)
    protected Long bootFlag;

    public Long getBootFlag() {
        return bootFlag;
    }

    public void setBootFlag(Long bootFlag) {
        bootFlagSpecified = true;
        this.bootFlag = bootFlag;
    }

    protected boolean bootFlagSpecified;

    public boolean isBootFlagSpecified() {
        return bootFlagSpecified;
    }

    public void unsetBootFlag() {
        bootFlag = null;
        bootFlagSpecified = false;
    }

    @ApiProperty(canBeNullOrNotSet = true)
    protected String diskImageUUID;

    public String getDiskImageUUID() {
        return diskImageUUID;
    }

    public void setDiskImageUUID(String diskImageUUID) {
        diskImageUUIDSpecified = true;
        this.diskImageUUID = diskImageUUID;
    }

    protected boolean diskImageUUIDSpecified;

    public boolean isDiskImageUUIDSpecified() {
        return diskImageUUIDSpecified;
    }

    public void unsetDiskImageUUID() {
        diskImageUUID = null;
        diskImageUUIDSpecified = false;
    }

    @ApiProperty(canBeNullOrNotSet = true)
    protected String diskSerialNumber;

    public String getDiskSerialNumber() {
        return diskSerialNumber;
    }

    public void setDiskSerialNumber(String diskSerialNumber) {
        diskSerialNumberSpecified = true;
        this.diskSerialNumber = diskSerialNumber;
    }

    protected boolean diskSerialNumberSpecified;

    public boolean isDiskSerialNumberSpecified() {
        return diskSerialNumberSpecified;
    }

    public void unsetDiskSerialNumber() {
        diskSerialNumber = null;
        diskSerialNumberSpecified = false;
    }

    public static class Mask extends com.softlayer.api.service.Entity.Mask {

        public Mask bootFlag() {
            withLocalProperty("bootFlag");
            return this;
        }

        public Mask diskImageUUID() {
            withLocalProperty("diskImageUUID");
            return this;
        }

        public Mask diskSerialNumber() {
            withLocalProperty("diskSerialNumber");
            return this;
        }

    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy