public class CreateResult extends Result
Java class for CreateResult complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CreateResult"> <complexContent> <extension base="{http://exacttarget.com/wsdl/partnerAPI}Result"> <sequence> <element name="NewID" type="{http://www.w3.org/2001/XMLSchema}int"/> <element name="NewObjectID" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="PartnerKey" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="Object" type="{http://exacttarget.com/wsdl/partnerAPI}APIObject" minOccurs="0"/> <element name="CreateResults" type="{http://exacttarget.com/wsdl/partnerAPI}CreateResult" 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 List<CreateResult> |
createResults |
protected int |
newID |
protected String |
newObjectID |
protected APIObject |
object |
protected String |
parentPropertyName |
protected String |
partnerKey |
conversationID, errorCode, ordinalID, overallStatusCode, requestID, requestType, resultDetailXML, resultType, statusCode, statusMessage
Constructor and Description |
---|
CreateResult() |
Modifier and Type | Method and Description |
---|---|
List<CreateResult> |
getCreateResults()
Gets the value of the createResults property.
|
int |
getNewID()
Gets the value of the newID property.
|
String |
getNewObjectID()
Gets the value of the newObjectID property.
|
APIObject |
getObject()
Gets the value of the object property.
|
String |
getParentPropertyName()
Gets the value of the parentPropertyName property.
|
String |
getPartnerKey()
Gets the value of the partnerKey property.
|
void |
setNewID(int value)
Sets the value of the newID property.
|
void |
setNewObjectID(String value)
Sets the value of the newObjectID property.
|
void |
setObject(APIObject value)
Sets the value of the object property.
|
void |
setParentPropertyName(String value)
Sets the value of the parentPropertyName property.
|
void |
setPartnerKey(String value)
Sets the value of the partnerKey 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 int newID
protected String newObjectID
protected String partnerKey
protected APIObject object
protected List<CreateResult> createResults
protected String parentPropertyName
public int getNewID()
public void setNewID(int value)
public String getNewObjectID()
String
public void setNewObjectID(String value)
value
- allowed object is
String
public String getPartnerKey()
String
public void setPartnerKey(String value)
value
- allowed object is
String
public APIObject getObject()
APIObject
public void setObject(APIObject value)
value
- allowed object is
APIObject
public List<CreateResult> getCreateResults()
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 createResults property.
For example, to add a new item, do as follows:
getCreateResults().add(newItem);
Objects of the following type(s) are allowed in the list
CreateResult
public String getParentPropertyName()
String
public void setParentPropertyName(String value)
value
- allowed object is
String
Copyright © 2017. All rights reserved.