public class ExecuteResponse extends Object
Java class for ExecuteResponse complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ExecuteResponse">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="StatusCode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="StatusMessage" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="OrdinalID" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
<element name="Results" type="{http://exacttarget.com/wsdl/partnerAPI}APIProperty" maxOccurs="unbounded" minOccurs="0"/>
<element name="ErrorCode" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Integer |
errorCode |
protected Integer |
ordinalID |
protected List<APIProperty> |
results |
protected String |
statusCode |
protected String |
statusMessage |
| Constructor and Description |
|---|
ExecuteResponse() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
getErrorCode()
Gets the value of the errorCode property.
|
Integer |
getOrdinalID()
Gets the value of the ordinalID property.
|
List<APIProperty> |
getResults()
Gets the value of the results property.
|
String |
getStatusCode()
Gets the value of the statusCode property.
|
String |
getStatusMessage()
Gets the value of the statusMessage property.
|
void |
setErrorCode(Integer value)
Sets the value of the errorCode property.
|
void |
setOrdinalID(Integer value)
Sets the value of the ordinalID property.
|
void |
setStatusCode(String value)
Sets the value of the statusCode property.
|
void |
setStatusMessage(String value)
Sets the value of the statusMessage property.
|
String |
toString()
Generates a String representation of the contents of this type.
|
protected String statusCode
protected String statusMessage
protected Integer ordinalID
protected List<APIProperty> results
protected Integer errorCode
public String getStatusCode()
Stringpublic void setStatusCode(String value)
value - allowed object is
Stringpublic String getStatusMessage()
Stringpublic void setStatusMessage(String value)
value - allowed object is
Stringpublic Integer getOrdinalID()
Integerpublic void setOrdinalID(Integer value)
value - allowed object is
Integerpublic List<APIProperty> getResults()
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 results property.
For example, to add a new item, do as follows:
getResults().add(newItem);
Objects of the following type(s) are allowed in the list
APIProperty
public Integer getErrorCode()
Integerpublic void setErrorCode(Integer value)
value - allowed object is
IntegerCopyright © 2017. All rights reserved.