Package com.jcabi.github
Interface ReleaseAssets
@Immutable
public interface ReleaseAssets
GitHub release assets.
- Since:
- 0.8
- See Also:
-
Method Details
-
release
Release release()The release we're in.- Returns:
- Issue
-
iterate
Iterable<ReleaseAsset> iterate()Iterate them all.- Returns:
- All comments
- See Also:
-
upload
Upload a release asset.- Parameters:
content- The raw content bytes.type- Content-Type of the release asset.name- Name of the release asset.- Returns:
- The new release asset.
- Throws:
IOException- If an IO Exception occurs- See Also:
-
get
Get a single release asset.- Parameters:
number- The release asset ID.- Returns:
- The release asset.
- See Also:
-