
tsg.ns.wsdl.coop.UpsertListRequest Maven / Gradle / Ivy
package tsg.ns.wsdl.coop;
import java.util.ArrayList;
import java.util.List;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlType;
/**
* Java class for UpsertListRequest complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="UpsertListRequest">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="record" type="{urn:core_2023_1.platform.webservices.netsuite.com}Record" maxOccurs="unbounded"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "UpsertListRequest", namespace = "urn:messages_2023_1.platform.webservices.netsuite.com", propOrder = {
"record"
})
public class UpsertListRequest {
@XmlElement(required = true)
protected List record;
/**
* Gets the value of the record 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 Jakarta XML Binding object.
* This is why there is not a set
method for the record property.
*
*
* For example, to add a new item, do as follows:
*
* getRecord().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Record }
*
*
*/
public List getRecord() {
if (record == null) {
record = new ArrayList();
}
return this.record;
}
}