public class APIObject extends Object
Java class for APIObject complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="APIObject">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="Client" type="{http://exacttarget.com/wsdl/partnerAPI}ClientID" minOccurs="0"/>
<element name="PartnerKey" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="PartnerProperties" type="{http://exacttarget.com/wsdl/partnerAPI}APIProperty" maxOccurs="unbounded" minOccurs="0"/>
<element name="CreatedDate" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
<element name="ModifiedDate" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
<element name="ID" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
<element name="ObjectID" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="CustomerKey" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="Owner" type="{http://exacttarget.com/wsdl/partnerAPI}Owner" minOccurs="0"/>
<element name="CorrelationID" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="ObjectState" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected ClientID |
client |
protected String |
correlationID |
protected Date |
createdDate |
protected String |
customerKey |
protected Integer |
id |
protected Date |
modifiedDate |
protected String |
objectID |
protected String |
objectState |
protected Owner |
owner |
protected String |
partnerKey |
protected List<APIProperty> |
partnerProperties |
| Constructor and Description |
|---|
APIObject() |
| Modifier and Type | Method and Description |
|---|---|
ClientID |
getClient()
Gets the value of the client property.
|
String |
getCorrelationID()
Gets the value of the correlationID property.
|
Date |
getCreatedDate()
Gets the value of the createdDate property.
|
String |
getCustomerKey()
Gets the value of the customerKey property.
|
Integer |
getId()
Gets the value of the id property.
|
Date |
getModifiedDate()
Gets the value of the modifiedDate property.
|
String |
getObjectID()
Gets the value of the objectID property.
|
String |
getObjectState()
Gets the value of the objectState property.
|
Owner |
getOwner()
Gets the value of the owner property.
|
String |
getPartnerKey()
Gets the value of the partnerKey property.
|
List<APIProperty> |
getPartnerProperties()
Gets the value of the partnerProperties property.
|
void |
setClient(ClientID value)
Sets the value of the client property.
|
void |
setCorrelationID(String value)
Sets the value of the correlationID property.
|
void |
setCreatedDate(Date value)
Sets the value of the createdDate property.
|
void |
setCustomerKey(String value)
Sets the value of the customerKey property.
|
void |
setId(Integer value)
Sets the value of the id property.
|
void |
setModifiedDate(Date value)
Sets the value of the modifiedDate property.
|
void |
setObjectID(String value)
Sets the value of the objectID property.
|
void |
setObjectState(String value)
Sets the value of the objectState property.
|
void |
setOwner(Owner value)
Sets the value of the owner property.
|
void |
setPartnerKey(String value)
Sets the value of the partnerKey property.
|
String |
toString()
Generates a String representation of the contents of this type.
|
protected ClientID client
protected String partnerKey
protected List<APIProperty> partnerProperties
protected Date createdDate
protected Date modifiedDate
protected Integer id
protected String objectID
protected String customerKey
protected Owner owner
protected String correlationID
protected String objectState
public ClientID getClient()
ClientIDpublic void setClient(ClientID value)
value - allowed object is
ClientIDpublic String getPartnerKey()
Stringpublic void setPartnerKey(String value)
value - allowed object is
Stringpublic List<APIProperty> getPartnerProperties()
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 partnerProperties property.
For example, to add a new item, do as follows:
getPartnerProperties().add(newItem);
Objects of the following type(s) are allowed in the list
APIProperty
public Date getCreatedDate()
Stringpublic void setCreatedDate(Date value)
value - allowed object is
Stringpublic Date getModifiedDate()
Stringpublic void setModifiedDate(Date value)
value - allowed object is
Stringpublic void setId(Integer value)
value - allowed object is
Integerpublic String getObjectID()
Stringpublic void setObjectID(String value)
value - allowed object is
Stringpublic String getCustomerKey()
Stringpublic void setCustomerKey(String value)
value - allowed object is
Stringpublic Owner getOwner()
Ownerpublic void setOwner(Owner value)
value - allowed object is
Ownerpublic String getCorrelationID()
Stringpublic void setCorrelationID(String value)
value - allowed object is
Stringpublic String getObjectState()
Stringpublic void setObjectState(String value)
value - allowed object is
StringCopyright © 2017. All rights reserved.