com.bytekast.netsuite.client.SoapFault Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of netsuite-suitetalk Show documentation
Show all versions of netsuite-suitetalk Show documentation
Client API for NetSuite Suitetalk Web Services
The newest version!
package com.bytekast.netsuite.client;
import java.io.Serializable;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for SoapFault complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="SoapFault">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="code" type="{urn:types.faults_2017_1.platform.webservices.netsuite.com}FaultCodeType"/>
* <element name="message" type="{http://www.w3.org/2001/XMLSchema}string"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "SoapFault", namespace = "urn:faults_2017_1.platform.webservices.netsuite.com", propOrder = {
"code",
"message"
})
@XmlSeeAlso({
InsufficientPermissionFault.class,
InvalidAccountFault.class,
InvalidCredentialsFault.class,
InvalidSessionFault.class,
ExceededConcurrentRequestLimitFault.class,
ExceededRequestLimitFault.class,
ExceededUsageLimitFault.class,
ExceededRecordCountFault.class,
ExceededRequestSizeFault.class,
InvalidVersionFault.class,
AsyncFault.class,
UnexpectedErrorFault.class
})
public class SoapFault
implements Serializable
{
@XmlElement(required = true)
@XmlSchemaType(name = "string")
protected FaultCodeType code;
@XmlElement(required = true)
protected String message;
/**
* Gets the value of the code property.
*
* @return
* possible object is
* {@link FaultCodeType }
*
*/
public FaultCodeType getCode() {
return code;
}
/**
* Sets the value of the code property.
*
* @param value
* allowed object is
* {@link FaultCodeType }
*
*/
public void setCode(FaultCodeType value) {
this.code = value;
}
/**
* Gets the value of the message property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getMessage() {
return message;
}
/**
* Sets the value of the message property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setMessage(String value) {
this.message = value;
}
}