Package com.testdroid.api.model
Class APIAdminDevice
java.lang.Object
com.testdroid.api.APIEntity
com.testdroid.api.model.APIAdminDevice
- Author:
- Ćukasz Kajda <[email protected]>
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
static enum
static enum
static enum
-
Field Summary
Fields inherited from class com.testdroid.api.APIEntity
client, id, OBJECT_MAPPER, parentId, selfURI, XML_MAPPER
-
Constructor Summary
ConstructorDescriptionAPIAdminDevice
(Long id) APIAdminDevice
(Long id, String name, String manufacturer, boolean enabled, String serialId, String fingerprint, String unlockGesture, String releaseVersion, Integer apiLevel, Long deviceModelId, String deviceModelName, APIAdminDevice.ComplexState state, LocalDateTime stateTime, LocalDateTime stateChangeTime, APIAdminDevice.InitStep initStep, String ipAddress, Long clusterId, String clusterName, String clusterUrl, String jenkinsUrl, String pluginVersion, String jenkinsVersion, APICluster.State clusterState, LocalDateTime clusterStateTime, LocalDateTime clusterStateChangeTime, Boolean clusterEnabled, APICluster.Type clusterType, String clusterIpAddress, String clusterRegion, String clusterLocation, LocalDateTime lastOnlineTime, Long accountId, LocalDateTime dedicationEndTime, String comment, String mainUserEmail, Long mainUserId, String location, Long testTimeLimit, Boolean locked, APIDevice.OsType osType, APIDevice.Platform platform) -
Method Summary
Modifier and TypeMethodDescriptionprotected <T extends APIEntity>
voidclone
(T from) getName()
getState()
boolean
boolean
isLocked()
void
setAccountId
(Long accountId) void
setCluster
(APICluster cluster) void
setComment
(String comment) void
setDedicationEndTime
(Date dedicationEndTime) void
setDeviceModelId
(Long deviceModelId) void
setDeviceModelName
(String deviceModelName) void
setEnabled
(boolean enabled) void
setFingerprint
(String fingerprint) void
setInitStep
(APIAdminDevice.InitStep initStep) void
setIpAddress
(String ipAddress) void
setLastOnlineTime
(Date lastOnlineTime) setLocation
(String location) void
setLocked
(boolean locked) void
setMainUserEmail
(String mainUserEmail) void
setMainUserId
(Long mainUserId) void
setManufacturer
(String manufacturer) void
setOsType
(APIDevice.OsType osType) setPlatform
(APIDevice.Platform platform) void
setSerialId
(String serialId) void
setSoftwareVersion
(APISoftwareVersion softwareVersion) void
void
setStateChangeTime
(Date stateChangeTime) void
setStateTime
(Date stateTime) setTestTimeLimit
(Long testTimeLimit) void
setUnlockGesture
(String unlockGesture) 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
-
APIAdminDevice
public APIAdminDevice() -
APIAdminDevice
-
APIAdminDevice
public APIAdminDevice(Long id, String name, String manufacturer, boolean enabled, String serialId, String fingerprint, String unlockGesture, String releaseVersion, Integer apiLevel, Long deviceModelId, String deviceModelName, APIAdminDevice.ComplexState state, LocalDateTime stateTime, LocalDateTime stateChangeTime, APIAdminDevice.InitStep initStep, String ipAddress, Long clusterId, String clusterName, String clusterUrl, String jenkinsUrl, String pluginVersion, String jenkinsVersion, APICluster.State clusterState, LocalDateTime clusterStateTime, LocalDateTime clusterStateChangeTime, Boolean clusterEnabled, APICluster.Type clusterType, String clusterIpAddress, String clusterRegion, String clusterLocation, LocalDateTime lastOnlineTime, Long accountId, LocalDateTime dedicationEndTime, String comment, String mainUserEmail, Long mainUserId, String location, Long testTimeLimit, Boolean locked, APIDevice.OsType osType, APIDevice.Platform platform)
-
-
Method Details
-
getName
-
setName
-
isEnabled
public boolean isEnabled() -
setEnabled
public void setEnabled(boolean enabled) -
getSerialId
-
setSerialId
-
getFingerprint
-
setFingerprint
-
getUnlockGesture
-
setUnlockGesture
-
getSoftwareVersion
-
setSoftwareVersion
-
getDeviceModelId
-
setDeviceModelId
-
getState
-
setState
-
getStateTime
-
setStateTime
-
getStateChangeTime
-
setStateChangeTime
-
getInitStep
-
setInitStep
-
getCluster
-
setCluster
-
getDeviceModelName
-
setDeviceModelName
-
getIpAddress
-
setIpAddress
-
getLastOnlineTime
-
setLastOnlineTime
-
getAccountId
-
setAccountId
-
getDedicationEndTime
-
setDedicationEndTime
-
getComment
-
setComment
-
getMainUserEmail
-
setMainUserEmail
-
getMainUserId
-
setMainUserId
-
setTestTimeLimit
-
getTestTimeLimit
-
isLocked
public boolean isLocked() -
setLocked
public void setLocked(boolean locked) -
getOsType
-
setOsType
-
getPlatform
-
setPlatform
-
setLocation
-
getLocation
-
getManufacturer
-
setManufacturer
-
clone
-