Package com.testdroid.api.model
Class APIScreenshot
java.lang.Object
com.testdroid.api.APIEntity
com.testdroid.api.model.APIScreenshot
- Direct Known Subclasses:
APIScreenshotExtended
- Author:
- Ćukasz Kajda <[email protected]>, Slawomir Pawluk <[email protected]>
-
Nested Class Summary
-
Field Summary
Fields inherited from class com.testdroid.api.APIEntity
client, id, OBJECT_MAPPER, parentId, selfURI, XML_MAPPER
-
Constructor Summary
ConstructorDescriptionAPIScreenshot
(Long id, String originalName, Boolean fail, APIScreenshot.Type type, Long takeTimestamp) APIScreenshot
(String originalName) -
Method Summary
Modifier and TypeMethodDescriptionprotected <T extends APIEntity>
voidclone
(T from) getType()
isFail()
void
void
setOriginalName
(String originalName) void
setTakeTimestamp
(Long takeTimestamp) void
setType
(APIScreenshot.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
-
APIScreenshot
public APIScreenshot() -
APIScreenshot
-
APIScreenshot
public APIScreenshot(Long id, String originalName, Boolean fail, APIScreenshot.Type type, Long takeTimestamp)
-
-
Method Details
-
getOriginalName
-
setOriginalName
-
isFail
-
setFail
-
getType
-
setType
-
getTakeTimestamp
-
setTakeTimestamp
-
getContent
- Throws:
APIException
-
clone
-