public class UpdateRequest extends Object
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="Options" type="{http://exacttarget.com/wsdl/partnerAPI}UpdateOptions"/> <element name="Objects" type="{http://exacttarget.com/wsdl/partnerAPI}APIObject" maxOccurs="unbounded"/> </sequence> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected List<APIObject> |
objects |
protected UpdateOptions |
options |
Constructor and Description |
---|
UpdateRequest() |
Modifier and Type | Method and Description |
---|---|
List<APIObject> |
getObjects()
Gets the value of the objects property.
|
UpdateOptions |
getOptions()
Gets the value of the options property.
|
void |
setOptions(UpdateOptions value)
Sets the value of the options property.
|
String |
toString()
Generates a String representation of the contents of this type.
|
protected UpdateOptions options
public UpdateOptions getOptions()
UpdateOptions
public void setOptions(UpdateOptions value)
value
- allowed object is
UpdateOptions
public List<APIObject> getObjects()
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 objects property.
For example, to add a new item, do as follows:
getObjects().add(newItem);
Objects of the following type(s) are allowed in the list
APIObject
Copyright © 2017. All rights reserved.