com.softlayer.api.service.container.Exception Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of softlayer-api-client Show documentation
Show all versions of softlayer-api-client Show documentation
API client for accessing the SoftLayer API
The 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;
}
}
}