public class ScreenshotRequests extends BaseRequests
baseUrl, client, gson| Constructor and Description |
|---|
ScreenshotRequests(String baseUrl) |
| Modifier and Type | Method and Description |
|---|---|
ImageCompareResponse |
baselineCompare(String screenshotId) |
CreateScreenshotResponse |
create(CreateScreenshot createScreenshot) |
Boolean |
delete(String screenshotId) |
Screenshot |
get(String screenshotId) |
Screenshot[] |
get(String buildId,
String view,
Integer limit,
Integer skip) |
static void |
main(String[] args) |
Screenshot |
update(String screenshotId,
UpdateScreenshot updateRequest) |
sendDelete, sendJSONGet, sendJSONGet, sendJSONPost, sendJSONPut, sendMultiPartEntitypublic ScreenshotRequests(String baseUrl)
public CreateScreenshotResponse create(CreateScreenshot createScreenshot) throws IOException
IOExceptionpublic Screenshot[] get(String buildId, String view, Integer limit, Integer skip) throws IOException, URISyntaxException
IOExceptionURISyntaxExceptionpublic Screenshot get(String screenshotId) throws IOException
IOExceptionpublic ImageCompareResponse baselineCompare(String screenshotId) throws IOException
IOExceptionpublic Boolean delete(String screenshotId) throws IOException
IOExceptionpublic Screenshot update(String screenshotId, UpdateScreenshot updateRequest) throws IOException
IOExceptionpublic static void main(String[] args) throws IOException, URISyntaxException
IOExceptionURISyntaxExceptionCopyright © 2021. All rights reserved.