FileApi.DiffRequest, FileApi.NotImplemented| Constructor and Description |
|---|
NotImplemented() |
| Modifier and Type | Method and Description |
|---|---|
BinaryResult |
content() |
DiffInfo |
diff()
Diff against the revision's parent version of the file.
|
DiffInfo |
diff(int parent) |
DiffInfo |
diff(String base) |
FileApi.DiffRequest |
diffRequest()
Creates a request to retrieve the diff.
|
void |
setReviewed(boolean reviewed)
Set the file reviewed or not reviewed
|
public BinaryResult content() throws RestApiException
content in interface FileApiRestApiExceptionpublic DiffInfo diff() throws RestApiException
FileApidiff in interface FileApiRestApiExceptionpublic DiffInfo diff(String base) throws RestApiException
diff in interface FileApibase - revision id of the revision to be used as the diff baseRestApiExceptionpublic DiffInfo diff(int parent) throws RestApiException
diff in interface FileApiparent - 1-based parent number to diff againstRestApiExceptionpublic FileApi.DiffRequest diffRequest() throws RestApiException
FileApidiffRequest in interface FileApiRestApiExceptionpublic void setReviewed(boolean reviewed)
throws RestApiException
FileApisetReviewed in interface FileApiRestApiException