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

com.softlayer.api.service.container.image.storagegroupdetails.Drives Maven / Gradle / Ivy

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

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

/**
 * @see SoftLayer_Container_Image_StorageGroupDetails_Drives
 */
@ApiType("SoftLayer_Container_Image_StorageGroupDetails_Drives")
public class Drives extends Entity {

    @ApiProperty(canBeNullOrNotSet = true)
    protected String description;

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        descriptionSpecified = true;
        this.description = description;
    }

    protected boolean descriptionSpecified;

    public boolean isDescriptionSpecified() {
        return descriptionSpecified;
    }

    public void unsetDescription() {
        description = null;
        descriptionSpecified = false;
    }

    @ApiProperty(canBeNullOrNotSet = true)
    protected String diskSpace;

    public String getDiskSpace() {
        return diskSpace;
    }

    public void setDiskSpace(String diskSpace) {
        diskSpaceSpecified = true;
        this.diskSpace = diskSpace;
    }

    protected boolean diskSpaceSpecified;

    public boolean isDiskSpaceSpecified() {
        return diskSpaceSpecified;
    }

    public void unsetDiskSpace() {
        diskSpace = null;
        diskSpaceSpecified = false;
    }

    @ApiProperty(canBeNullOrNotSet = true)
    protected String units;

    public String getUnits() {
        return units;
    }

    public void setUnits(String units) {
        unitsSpecified = true;
        this.units = units;
    }

    protected boolean unitsSpecified;

    public boolean isUnitsSpecified() {
        return unitsSpecified;
    }

    public void unsetUnits() {
        units = null;
        unitsSpecified = false;
    }

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

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

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

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

    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy