
com.exacttarget.fuelsdk.internal.UserMap Maven / Gradle / Ivy
Show all versions of fuelsdk Show documentation
package com.exacttarget.fuelsdk.internal;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.cxf.xjc.runtime.JAXBToStringStyle;
/**
* Java class for UserMap complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="UserMap">
* <complexContent>
* <extension base="{http://exacttarget.com/wsdl/partnerAPI}APIProperty">
* <sequence>
* <element name="ETAccountUser" type="{http://exacttarget.com/wsdl/partnerAPI}AccountUser"/>
* <element name="AdditionalData" type="{http://exacttarget.com/wsdl/partnerAPI}APIProperty" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "UserMap", propOrder = {
"etAccountUser",
"additionalData"
})
public class UserMap
extends APIProperty
{
@XmlElement(name = "ETAccountUser", required = true)
protected AccountUser etAccountUser;
@XmlElement(name = "AdditionalData")
protected List additionalData;
/**
* Gets the value of the etAccountUser property.
*
* @return
* possible object is
* {@link AccountUser }
*
*/
public AccountUser getETAccountUser() {
return etAccountUser;
}
/**
* Sets the value of the etAccountUser property.
*
* @param value
* allowed object is
* {@link AccountUser }
*
*/
public void setETAccountUser(AccountUser value) {
this.etAccountUser = value;
}
/**
* Gets the value of the additionalData 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 additionalData property.
*
*
* For example, to add a new item, do as follows:
*
* getAdditionalData().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link APIProperty }
*
*
*/
public List getAdditionalData() {
if (additionalData == null) {
additionalData = new ArrayList();
}
return this.additionalData;
}
/**
* Generates a String representation of the contents of this type.
* This is an extension method, produced by the 'ts' xjc plugin
*
*/
@Override
public String toString() {
return ToStringBuilder.reflectionToString(this, JAXBToStringStyle.DEFAULT_STYLE);
}
}