com.emc.cdp.services.rest.model
Class TokenList

java.lang.Object
  extended by com.emc.cdp.services.rest.model.TokenList

public class TokenList
extends Object

Java class for TokenList complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="TokenList">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="token" type="{http://cdp.emc.com/services/rest/model}Token" maxOccurs="unbounded" minOccurs="0"/>
         <element name="startIndex" type="{http://www.w3.org/2001/XMLSchema}int"/>
         <element name="pageSize" type="{http://www.w3.org/2001/XMLSchema}int"/>
         <element name="totalResults" type="{http://www.w3.org/2001/XMLSchema}int"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  int pageSize
           
protected  int startIndex
           
protected  List<Token> tokens
           
protected  int totalResults
           
 
Constructor Summary
TokenList()
           
 
Method Summary
 int getPageSize()
          Gets the value of the pageSize property.
 int getStartIndex()
          Gets the value of the startIndex property.
 List<Token> getTokens()
          Gets the value of the tokens property.
 int getTotalResults()
          Gets the value of the totalResults property.
 void setPageSize(int value)
          Sets the value of the pageSize property.
 void setStartIndex(int value)
          Sets the value of the startIndex property.
 void setTotalResults(int value)
          Sets the value of the totalResults property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

tokens

protected List<Token> tokens

startIndex

protected int startIndex

pageSize

protected int pageSize

totalResults

protected int totalResults
Constructor Detail

TokenList

public TokenList()
Method Detail

getTokens

public List<Token> getTokens()
Gets the value of the tokens 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 tokens property.

For example, to add a new item, do as follows:

    getTokens().add(newItem);
 

Objects of the following type(s) are allowed in the list Token


getStartIndex

public int getStartIndex()
Gets the value of the startIndex property.


setStartIndex

public void setStartIndex(int value)
Sets the value of the startIndex property.


getPageSize

public int getPageSize()
Gets the value of the pageSize property.


setPageSize

public void setPageSize(int value)
Sets the value of the pageSize property.


getTotalResults

public int getTotalResults()
Gets the value of the totalResults property.


setTotalResults

public void setTotalResults(int value)
Sets the value of the totalResults property.



Copyright © 2014. All Rights Reserved.