Package com.jcabi.github
Interface ReleaseAssets
- 
 @Immutable public interface ReleaseAssets Github release assets.- Since:
- 0.8
- Version:
- $Id: c2c07ab5a0ab4c0ffa40fcd6248dc1f28fe7a51f $
- Author:
- Carlos Miranda (miranda.cma@gmail.com)
- See Also:
- Releases API
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description ReleaseAssetget(int number)Get a single release asset.Iterable<ReleaseAsset>iterate()Iterate them all.Releaserelease()The release we're in.ReleaseAssetupload(byte[] content, String type, String name)Upload a release asset.
 
- 
- 
- 
Method Detail- 
releaseRelease release() The release we're in.- Returns:
- Issue
 
 - 
iterateIterable<ReleaseAsset> iterate() Iterate them all.- Returns:
- All comments
- See Also:
- List Assets for a Release
 
 - 
uploadReleaseAsset upload(byte[] content, String type, String name) throws IOException 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:
- Upload a Release Asset
 
 - 
getReleaseAsset get(int number) Get a single release asset.- Parameters:
- number- The release asset ID.
- Returns:
- The release asset.
- See Also:
- Get a Single Release Asset
 
 
- 
 
-