Package com.testdroid.api.model
Class APIBillingPeriodUsage
java.lang.Object
com.testdroid.api.APIEntity
com.testdroid.api.model.APIBillingPeriodUsage
- Author:
- MichaĆ Szpruta <[email protected]>
-
Field Summary
Fields inherited from class com.testdroid.api.APIEntity
client, id, OBJECT_MAPPER, parentId, selfURI, XML_MAPPER
-
Constructor Summary
ConstructorDescriptionAPIBillingPeriodUsage
(APIDeviceSession.Type type, APIDevice.OsType osType, long billableSeconds, long nonBillableSeconds) -
Method Summary
Modifier and TypeMethodDescriptionprotected <T extends APIEntity>
voidclone
(T from) long
long
getType()
void
setBillableSeconds
(long billableSeconds) void
setNonBillableSeconds
(long nonBillableSeconds) void
setOsType
(APIDevice.OsType osType) void
setType
(APIDeviceSession.Type type) Methods inherited from class com.testdroid.api.APIEntity
cloneBase, createUri, deleteResource, getFile, getId, getListResource, getListResource, getParentId, getResource, getSelfURI, postFile, postResource, refresh, setId, setSelfURI, toJson
-
Constructor Details
-
APIBillingPeriodUsage
public APIBillingPeriodUsage() -
APIBillingPeriodUsage
public APIBillingPeriodUsage(APIDeviceSession.Type type, APIDevice.OsType osType, long billableSeconds, long nonBillableSeconds)
-
-
Method Details
-
getType
-
getOsType
-
getBillableSeconds
public long getBillableSeconds() -
getNonBillableSeconds
public long getNonBillableSeconds() -
setType
-
setOsType
-
setBillableSeconds
public void setBillableSeconds(long billableSeconds) -
setNonBillableSeconds
public void setNonBillableSeconds(long nonBillableSeconds) -
clone
-