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

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

public class MeteringUsage
extends Object

Java class for MeteringUsage complex type.

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

 <complexType name="MeteringUsage">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="subscriptionId" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="tokenGroupId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="tokenId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="startTime" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
         <element name="endTime" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
         <element name="usage" type="{http://cdp.emc.com/services/rest/model}Usage" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  XMLGregorianCalendar endTime
           
protected  XMLGregorianCalendar startTime
           
protected  String subscriptionId
           
protected  String tokenGroupId
           
protected  String tokenId
           
protected  List<Usage> usages
           
 
Constructor Summary
MeteringUsage()
           
 
Method Summary
 XMLGregorianCalendar getEndTime()
          Gets the value of the endTime property.
 XMLGregorianCalendar getStartTime()
          Gets the value of the startTime property.
 String getSubscriptionId()
          Gets the value of the subscriptionId property.
 String getTokenGroupId()
          Gets the value of the tokenGroupId property.
 String getTokenId()
          Gets the value of the tokenId property.
 List<Usage> getUsages()
          Gets the value of the usages property.
 void setEndTime(XMLGregorianCalendar value)
          Sets the value of the endTime property.
 void setStartTime(XMLGregorianCalendar value)
          Sets the value of the startTime property.
 void setSubscriptionId(String value)
          Sets the value of the subscriptionId property.
 void setTokenGroupId(String value)
          Sets the value of the tokenGroupId property.
 void setTokenId(String value)
          Sets the value of the tokenId property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

subscriptionId

protected String subscriptionId

tokenGroupId

protected String tokenGroupId

tokenId

protected String tokenId

startTime

protected XMLGregorianCalendar startTime

endTime

protected XMLGregorianCalendar endTime

usages

protected List<Usage> usages
Constructor Detail

MeteringUsage

public MeteringUsage()
Method Detail

getSubscriptionId

public String getSubscriptionId()
Gets the value of the subscriptionId property.

Returns:
possible object is String

setSubscriptionId

public void setSubscriptionId(String value)
Sets the value of the subscriptionId property.

Parameters:
value - allowed object is String

getTokenGroupId

public String getTokenGroupId()
Gets the value of the tokenGroupId property.

Returns:
possible object is String

setTokenGroupId

public void setTokenGroupId(String value)
Sets the value of the tokenGroupId property.

Parameters:
value - allowed object is String

getTokenId

public String getTokenId()
Gets the value of the tokenId property.

Returns:
possible object is String

setTokenId

public void setTokenId(String value)
Sets the value of the tokenId property.

Parameters:
value - allowed object is String

getStartTime

public XMLGregorianCalendar getStartTime()
Gets the value of the startTime property.

Returns:
possible object is XMLGregorianCalendar

setStartTime

public void setStartTime(XMLGregorianCalendar value)
Sets the value of the startTime property.

Parameters:
value - allowed object is XMLGregorianCalendar

getEndTime

public XMLGregorianCalendar getEndTime()
Gets the value of the endTime property.

Returns:
possible object is XMLGregorianCalendar

setEndTime

public void setEndTime(XMLGregorianCalendar value)
Sets the value of the endTime property.

Parameters:
value - allowed object is XMLGregorianCalendar

getUsages

public List<Usage> getUsages()
Gets the value of the usages 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 usages property.

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

    getUsages().add(newItem);
 

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



Copyright © 2014. All Rights Reserved.