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

com.softlayer.api.service.container.image.StorageGroupDetails Maven / Gradle / Ivy

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

import com.softlayer.api.annotation.ApiProperty;
import com.softlayer.api.annotation.ApiType;
import com.softlayer.api.service.Entity;
import com.softlayer.api.service.container.image.storagegroupdetails.Drives;
import java.util.ArrayList;
import java.util.List;

/**
 * @see SoftLayer_Container_Image_StorageGroupDetails
 */
@ApiType("SoftLayer_Container_Image_StorageGroupDetails")
public class StorageGroupDetails extends Entity {

    @ApiProperty(canBeNullOrNotSet = true)
    protected List drives;

    public List getDrives() {
        if (drives == null) {
            drives = new ArrayList();
        }
        return drives;
    }

    protected boolean drivesSpecified;

    public boolean isDrivesSpecified() {
        return drivesSpecified;
    }

    public void unsetDrives() {
        drives = null;
        drivesSpecified = false;
    }

    @ApiProperty(canBeNullOrNotSet = true)
    protected String storageGroupName;

    public String getStorageGroupName() {
        return storageGroupName;
    }

    public void setStorageGroupName(String storageGroupName) {
        storageGroupNameSpecified = true;
        this.storageGroupName = storageGroupName;
    }

    protected boolean storageGroupNameSpecified;

    public boolean isStorageGroupNameSpecified() {
        return storageGroupNameSpecified;
    }

    public void unsetStorageGroupName() {
        storageGroupName = null;
        storageGroupNameSpecified = false;
    }

    @ApiProperty(canBeNullOrNotSet = true)
    protected String storageGroupType;

    public String getStorageGroupType() {
        return storageGroupType;
    }

    public void setStorageGroupType(String storageGroupType) {
        storageGroupTypeSpecified = true;
        this.storageGroupType = storageGroupType;
    }

    protected boolean storageGroupTypeSpecified;

    public boolean isStorageGroupTypeSpecified() {
        return storageGroupTypeSpecified;
    }

    public void unsetStorageGroupType() {
        storageGroupType = null;
        storageGroupTypeSpecified = false;
    }

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

        public com.softlayer.api.service.container.image.storagegroupdetails.Drives.Mask drives() {
            return withSubMask("drives", com.softlayer.api.service.container.image.storagegroupdetails.Drives.Mask.class);
        }

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

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

    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy