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

com.softlayer.api.service.container.hardware.CaptureEnabled 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;
import java.util.ArrayList;
import java.util.List;

/**
 * @see SoftLayer_Container_Hardware_CaptureEnabled
 */
@ApiType("SoftLayer_Container_Hardware_CaptureEnabled")
public class CaptureEnabled extends Entity {

    @ApiProperty(canBeNullOrNotSet = true)
    protected Boolean enabled;

    public Boolean getEnabled() {
        return enabled;
    }

    public void setEnabled(Boolean enabled) {
        enabledSpecified = true;
        this.enabled = enabled;
    }

    protected boolean enabledSpecified;

    public boolean isEnabledSpecified() {
        return enabledSpecified;
    }

    public void unsetEnabled() {
        enabled = null;
        enabledSpecified = false;
    }

    @ApiProperty(canBeNullOrNotSet = true)
    protected List reasons;

    public List getReasons() {
        if (reasons == null) {
            reasons = new ArrayList();
        }
        return reasons;
    }

    protected boolean reasonsSpecified;

    public boolean isReasonsSpecified() {
        return reasonsSpecified;
    }

    public void unsetReasons() {
        reasons = null;
        reasonsSpecified = false;
    }

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

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

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

    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy