public class AttributeSet extends APIObject
Java class for AttributeSet complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="AttributeSet">
<complexContent>
<extension base="{http://exacttarget.com/wsdl/partnerAPI}APIObject">
<sequence>
<element name="Id" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="Key" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="Name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="Items" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="Item" type="{http://exacttarget.com/wsdl/partnerAPI}AttributeValueContainer" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Class and Description |
|---|---|
static class |
AttributeSet.Items
Java class for anonymous complex type.
|
| Modifier and Type | Field and Description |
|---|---|
protected List<JAXBElement<?>> |
rest |
client, correlationID, createdDate, customerKey, id, modifiedDate, objectID, objectState, owner, partnerKey, partnerProperties| Constructor and Description |
|---|
AttributeSet() |
| Modifier and Type | Method and Description |
|---|---|
List<JAXBElement<?>> |
getRest()
Gets the rest of the content model.
|
String |
toString()
Generates a String representation of the contents of this type.
|
getClient, getCorrelationID, getCreatedDate, getCustomerKey, getId, getModifiedDate, getObjectID, getObjectState, getOwner, getPartnerKey, getPartnerProperties, setClient, setCorrelationID, setCreatedDate, setCustomerKey, setId, setModifiedDate, setObjectID, setObjectState, setOwner, setPartnerKeyprotected List<JAXBElement<?>> rest
public List<JAXBElement<?>> getRest()
You are getting this "catch-all" property because of the following reason: The field name "Id" is used by two different parts of a schema. See: line 4213 of file:/Users/sharif.ahmed/Documents/sharif26/FuelSDK-Java/src/main/resources/etframework.wsdl line 17 of file:/Users/sharif.ahmed/Documents/sharif26/FuelSDK-Java/src/main/resources/etframework.wsdl
To get rid of this property, apply a property customization to one of both of the following declarations to change their names: Gets the value of the rest property.
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 rest property.
For example, to add a new item, do as follows:
getRest().add(newItem);
Objects of the following type(s) are allowed in the list
JAXBElement<String>
JAXBElement<AttributeSet.Items>
JAXBElement<String>
JAXBElement<String>
Copyright © 2017. All rights reserved.