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

com.softlayer.api.service.container.billing.order.Status Maven / Gradle / Ivy

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

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

/**
 * SoftLayer_Container_Billing_Order_Status models an order status.
 *
 * @see SoftLayer_Container_Billing_Order_Status
 */
@ApiType("SoftLayer_Container_Billing_Order_Status")
public class Status extends Entity {

    /**
     * The description of the status.
     */
    @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;
    }

    /**
     * The keyname of the status.
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected String status;

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        statusSpecified = true;
        this.status = status;
    }

    protected boolean statusSpecified;

    public boolean isStatusSpecified() {
        return statusSpecified;
    }

    public void unsetStatus() {
        status = null;
        statusSpecified = false;
    }

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

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

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

    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy