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

com.softlayer.api.service.container.Exception Maven / Gradle / Ivy

There is a newer version: 0.3.4
Show newest version
package com.softlayer.api.service.container;

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

/**
 * The SoftLayer_Container_Exception data type represents a SoftLayer_Exception. 
 *
 * @see SoftLayer_Container_Exception
 */
@ApiType("SoftLayer_Container_Exception")
public class Exception extends Entity {

    /**
     * The SoftLayer_Exception class that the error is.
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected String exceptionClass;

    public String getExceptionClass() {
        return exceptionClass;
    }

    public void setExceptionClass(String exceptionClass) {
        exceptionClassSpecified = true;
        this.exceptionClass = exceptionClass;
    }

    protected boolean exceptionClassSpecified;

    public boolean isExceptionClassSpecified() {
        return exceptionClassSpecified;
    }

    public void unsetExceptionClass() {
        exceptionClass = null;
        exceptionClassSpecified = false;
    }

    /**
     * The exception message.
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected String exceptionMessage;

    public String getExceptionMessage() {
        return exceptionMessage;
    }

    public void setExceptionMessage(String exceptionMessage) {
        exceptionMessageSpecified = true;
        this.exceptionMessage = exceptionMessage;
    }

    protected boolean exceptionMessageSpecified;

    public boolean isExceptionMessageSpecified() {
        return exceptionMessageSpecified;
    }

    public void unsetExceptionMessage() {
        exceptionMessage = null;
        exceptionMessageSpecified = false;
    }

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

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

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

    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy