Package com.jcabi.github
Interface ReleaseAsset
-
- All Superinterfaces:
JsonPatchable
,JsonReadable
- All Known Implementing Classes:
ReleaseAsset.Smart
@Immutable public interface ReleaseAsset extends JsonReadable, JsonPatchable
Github release asset.- Since:
- 0.8
- Version:
- $Id: 3ca459bc3321d63c41cba64f357a9eb830961b23 $
- Author:
- Carlos Miranda (miranda.cma@gmail.com)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
ReleaseAsset.Smart
Smart ReleaseAsset with extra features.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
number()
Number.InputStream
raw()
Gets release asset raw content.Release
release()
The release we're in.void
remove()
Delete the release asset.-
Methods inherited from interface com.jcabi.github.JsonPatchable
patch
-
Methods inherited from interface com.jcabi.github.JsonReadable
json
-
-
-
-
Method Detail
-
release
Release release()
The release we're in.- Returns:
- Release
-
number
int number()
Number.- Returns:
- Release asset number
-
remove
void remove() throws IOException
Delete the release asset.- Throws:
IOException
- If there is any I/O problem- See Also:
- Delete a Release Asset
-
raw
InputStream raw() throws IOException
Gets release asset raw content.- Returns:
- Release asset number
- Throws:
IOException
- If there is any I/O problem- See Also:
- Get a single release asset
-
-