|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.emc.cdp.services.rest.model.MeteringUsage
public class MeteringUsage
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 |
|---|
protected String subscriptionId
protected String tokenGroupId
protected String tokenId
protected XMLGregorianCalendar startTime
protected XMLGregorianCalendar endTime
protected List<Usage> usages
| Constructor Detail |
|---|
public MeteringUsage()
| Method Detail |
|---|
public String getSubscriptionId()
Stringpublic void setSubscriptionId(String value)
value - allowed object is
Stringpublic String getTokenGroupId()
Stringpublic void setTokenGroupId(String value)
value - allowed object is
Stringpublic String getTokenId()
Stringpublic void setTokenId(String value)
value - allowed object is
Stringpublic XMLGregorianCalendar getStartTime()
XMLGregorianCalendarpublic void setStartTime(XMLGregorianCalendar value)
value - allowed object is
XMLGregorianCalendarpublic XMLGregorianCalendar getEndTime()
XMLGregorianCalendarpublic void setEndTime(XMLGregorianCalendar value)
value - allowed object is
XMLGregorianCalendarpublic List<Usage> getUsages()
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
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||