Package com.testdroid.api.model
Class APIDeviceGroup
java.lang.Object
com.testdroid.api.APIEntity
com.testdroid.api.model.APIDeviceGroup
- Author:
- Ćukasz Kajda <[email protected]>, Slawomir Pawluk <[email protected]>
-
Field Summary
Fields inherited from class com.testdroid.api.APIEntity
client, id, OBJECT_MAPPER, parentId, selfURI, XML_MAPPER
-
Constructor Summary
ConstructorsConstructorDescriptionAPIDeviceGroup
(Long id, String name, String displayName, APIDevice.OsType osType, Long deviceCount, Long userId, String userEmail, boolean isShared) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addSelector
(APIDeviceProperty deviceProperty) protected <T extends APIEntity>
voidclone
(T from) void
delete()
void
deleteDevice
(APIDevice device) getIncludedDevicesResource
(Context<APIDevice> context) getName()
boolean
isPublic()
boolean
isShared()
void
setDeviceCount
(Long deviceCount) void
setDisplayName
(String displayName) void
void
setOsType
(APIDevice.OsType osType) void
setShared
(boolean shared) void
setUserEmail
(String userEmail) void
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
-
APIDeviceGroup
public APIDeviceGroup() -
APIDeviceGroup
-
-
Method Details
-
getName
-
setName
-
getDisplayName
-
setDisplayName
-
getDeviceCount
-
setDeviceCount
-
getUserId
-
setUserId
-
getOsType
-
setOsType
-
getUserEmail
-
setUserEmail
-
isPublic
public boolean isPublic() -
getIncludedDevicesResource
- Throws:
APIException
-
getIncludedDevicesResource
public APIListResource<APIDevice> getIncludedDevicesResource(Context<APIDevice> context) throws APIException - Throws:
APIException
-
delete
- Throws:
APIException
-
addDevice
- Throws:
APIException
-
addSelector
- Throws:
APIException
-
deleteDevice
- Throws:
APIException
-
clone
-