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

com.softlayer.api.service.auxiliary.notification.emergency.Status Maven / Gradle / Ivy

The newest version!
package com.softlayer.api.service.auxiliary.notification.emergency;

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

/**
 * Every SoftLayer_Auxiliary_Notification_Emergency has a statusId that references a SoftLayer_Auxiliary_Notification_Emergency_Status data type.  The status is used to determine the current state of the event. 
 *
 * @see SoftLayer_Auxiliary_Notification_Emergency_Status
 */
@ApiType("SoftLayer_Auxiliary_Notification_Emergency_Status")
public class Status extends Entity {

    /**
     * A name describing the status of the current Emergency Notification.
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected String name;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        nameSpecified = true;
        this.name = name;
    }

    protected boolean nameSpecified;

    public boolean isNameSpecified() {
        return nameSpecified;
    }

    public void unsetName() {
        name = null;
        nameSpecified = false;
    }

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

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

    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy