public class UpdateResult extends Result
Java class for UpdateResult complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="UpdateResult"> <complexContent> <extension base="{http://exacttarget.com/wsdl/partnerAPI}Result"> <sequence> <element name="Object" type="{http://exacttarget.com/wsdl/partnerAPI}APIObject"/> <element name="UpdateResults" type="{http://exacttarget.com/wsdl/partnerAPI}UpdateResult" maxOccurs="unbounded" minOccurs="0"/> <element name="ParentPropertyName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected APIObject |
object |
protected String |
parentPropertyName |
protected List<UpdateResult> |
updateResults |
conversationID, errorCode, ordinalID, overallStatusCode, requestID, requestType, resultDetailXML, resultType, statusCode, statusMessage
Constructor and Description |
---|
UpdateResult() |
Modifier and Type | Method and Description |
---|---|
APIObject |
getObject()
Gets the value of the object property.
|
String |
getParentPropertyName()
Gets the value of the parentPropertyName property.
|
List<UpdateResult> |
getUpdateResults()
Gets the value of the updateResults property.
|
void |
setObject(APIObject value)
Sets the value of the object property.
|
void |
setParentPropertyName(String value)
Sets the value of the parentPropertyName property.
|
String |
toString()
Generates a String representation of the contents of this type.
|
getConversationID, getErrorCode, getOrdinalID, getOverallStatusCode, getRequestID, getRequestType, getResultDetailXML, getResultType, getStatusCode, getStatusMessage, setConversationID, setErrorCode, setOrdinalID, setOverallStatusCode, setRequestID, setRequestType, setResultDetailXML, setResultType, setStatusCode, setStatusMessage
protected APIObject object
protected List<UpdateResult> updateResults
protected String parentPropertyName
public APIObject getObject()
APIObject
public void setObject(APIObject value)
value
- allowed object is
APIObject
public List<UpdateResult> getUpdateResults()
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 updateResults property.
For example, to add a new item, do as follows:
getUpdateResults().add(newItem);
Objects of the following type(s) are allowed in the list
UpdateResult
public String getParentPropertyName()
String
public void setParentPropertyName(String value)
value
- allowed object is
String
Copyright © 2017. All rights reserved.