Package com.testdroid.api.model
Class APIDeviceStatistic
java.lang.Object
com.testdroid.api.APIEntity
com.testdroid.api.model.APIDeviceStatistic
- Author:
- MichaĆ Szpruta <[email protected]>
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class com.testdroid.api.APIEntity
client, id, OBJECT_MAPPER, parentId, selfURI, XML_MAPPER
-
Constructor Summary
ConstructorsConstructorDescriptionAPIDeviceStatistic
(APIDevice.OsType osType, String releaseVersion, Long usageMillis, Long usageCount, Long totalTests, Long passedTests, Long failedTests, Float passedRatio, Float failedRatio, Long failedDevices) APIDeviceStatistic
(String deviceName, Long usageMillis, Long usageCount, Long totalTests, Long passedTests, Long failedTests, Float passedRatio, Float failedRatio, Long failedDevices) -
Method Summary
Modifier and TypeMethodDescriptionprotected <T extends APIEntity>
voidclone
(T from) void
setDeviceName
(String deviceName) void
setFailedDevices
(Long failedDevices) void
setFailedRatio
(Float failedRatio) void
setFailedTests
(Long failedTests) void
setOsType
(APIDevice.OsType osType) void
setPassedRatio
(Float passedRatio) void
setPassedTests
(Long passedTests) void
setReleaseVersion
(String releaseVersion) void
setTotalTests
(Long totalTests) void
setUsageCount
(Long usageCount) void
setUsageMillis
(Long usageMillis) 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
-
APIDeviceStatistic
public APIDeviceStatistic() -
APIDeviceStatistic
-
APIDeviceStatistic
-
-
Method Details
-
getDeviceName
-
setDeviceName
-
getOsType
-
setOsType
-
getReleaseVersion
-
setReleaseVersion
-
getUsageMillis
-
setUsageMillis
-
getUsageCount
-
setUsageCount
-
getTotalTests
-
setTotalTests
-
getPassedTests
-
setPassedTests
-
getFailedTests
-
setFailedTests
-
getFailedDevices
-
setFailedDevices
-
getPassedRatio
-
setPassedRatio
-
getFailedRatio
-
setFailedRatio
-
clone
-