public class AgentAndGroupList extends XMLRequest implements java.lang.Iterable<AgentAndGroupList.AgentOrGroupListItem>
Modifier and Type | Class and Description |
---|---|
static class |
AgentAndGroupList.AgentAndGroupListFilter
Cut the result of the list by using this filter.
|
static class |
AgentAndGroupList.AgentOrGroupListItem
Represents an agent or an agentgroup in the list.
|
Constructor and Description |
---|
AgentAndGroupList(AgentAndGroupList.AgentAndGroupListFilter filter)
Constructs a list with a filter.
|
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<AgentAndGroupList.AgentOrGroupListItem> |
iterator() |
int |
size()
Returns the number of resulting items in the list.
|
getAllMessageBoxes, getMessageBox, getRequestID, handleResponse, send
public AgentAndGroupList(AgentAndGroupList.AgentAndGroupListFilter filter)
filter
- must not be null.public java.util.Iterator<AgentAndGroupList.AgentOrGroupListItem> iterator()
iterator
in interface java.lang.Iterable<AgentAndGroupList.AgentOrGroupListItem>
public int size()