
tsg.ns.wsdl.coop.SoapFault Maven / Gradle / Ivy
package tsg.ns.wsdl.coop;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlSchemaType;
import jakarta.xml.bind.annotation.XmlSeeAlso;
import jakarta.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_2023_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_2023_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 {
@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;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy