com.bytekast.netsuite.client.Status Maven / Gradle / Ivy
Show all versions of netsuite-suitetalk Show documentation
package com.bytekast.netsuite.client;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for Status complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="Status">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="statusDetail" type="{urn:core_2017_1.platform.webservices.netsuite.com}StatusDetail" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* <attribute name="isSuccess" type="{http://www.w3.org/2001/XMLSchema}boolean" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Status", namespace = "urn:core_2017_1.platform.webservices.netsuite.com", propOrder = {
"statusDetail"
})
public class Status
implements Serializable
{
protected List statusDetail;
@XmlAttribute(name = "isSuccess")
protected Boolean isSuccess;
/**
* Gets the value of the statusDetail property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the statusDetail property.
*
*
* For example, to add a new item, do as follows:
*
* getStatusDetail().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link StatusDetail }
*
*
*/
public List getStatusDetail() {
if (statusDetail == null) {
statusDetail = new ArrayList();
}
return this.statusDetail;
}
/**
* Gets the value of the isSuccess property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isIsSuccess() {
return isSuccess;
}
/**
* Sets the value of the isSuccess property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setIsSuccess(Boolean value) {
this.isSuccess = value;
}
}