public class Group extends APIObject
Java class for Group complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Group"> <complexContent> <extension base="{http://exacttarget.com/wsdl/partnerAPI}APIObject"> <sequence> <element name="Name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="Category" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/> <element name="Description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="Subscribers" type="{http://exacttarget.com/wsdl/partnerAPI}Subscriber" maxOccurs="unbounded" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected Integer |
category |
protected String |
description |
protected String |
name |
protected List<Subscriber> |
subscribers |
client, correlationID, createdDate, customerKey, id, modifiedDate, objectID, objectState, owner, partnerKey, partnerProperties
Constructor and Description |
---|
Group() |
Modifier and Type | Method and Description |
---|---|
Integer |
getCategory()
Gets the value of the category property.
|
String |
getDescription()
Gets the value of the description property.
|
String |
getName()
Gets the value of the name property.
|
List<Subscriber> |
getSubscribers()
Gets the value of the subscribers property.
|
void |
setCategory(Integer value)
Sets the value of the category property.
|
void |
setDescription(String value)
Sets the value of the description property.
|
void |
setName(String value)
Sets the value of the name property.
|
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, setPartnerKey
protected String name
protected Integer category
protected String description
protected List<Subscriber> subscribers
public String getName()
String
public void setName(String value)
value
- allowed object is
String
public Integer getCategory()
Integer
public void setCategory(Integer value)
value
- allowed object is
Integer
public String getDescription()
String
public void setDescription(String value)
value
- allowed object is
String
public List<Subscriber> getSubscribers()
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 subscribers property.
For example, to add a new item, do as follows:
getSubscribers().add(newItem);
Objects of the following type(s) are allowed in the list
Subscriber
Copyright © 2017. All rights reserved.