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

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

public class SubscriptionList
extends Object

Java class for SubscriptionList complex type.

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

 <complexType name="SubscriptionList">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="subscription" type="{http://cdp.emc.com/services/rest/model}Subscription" 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<Subscription> subscriptions
           
protected  int totalResults
           
 
Constructor Summary
SubscriptionList()
           
 
Method Summary
 int getPageSize()
          Gets the value of the pageSize property.
 int getStartIndex()
          Gets the value of the startIndex property.
 List<Subscription> getSubscriptions()
          Gets the value of the subscriptions 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

subscriptions

protected List<Subscription> subscriptions

startIndex

protected int startIndex

pageSize

protected int pageSize

totalResults

protected int totalResults
Constructor Detail

SubscriptionList

public SubscriptionList()
Method Detail

getSubscriptions

public List<Subscription> getSubscriptions()
Gets the value of the subscriptions 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 subscriptions property.

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

    getSubscriptions().add(newItem);
 

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


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.