Class Release
java.lang.Object
io.github.intisy.gradle.github.api.model.Release
A GitHub release: its identity (
id, tag, name, htmlUrl) and the
URL assets are uploaded to.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Release
- Parameters:
id- the release's GitHub-assigned identifier.tag- the git tag the release was created for.name- the release's human-readable title, or null if none was set.htmlUrl- the release's web page URL.uploadUrl- the URL asset uploads are posted to (a URI template; callers should usePublishing.uploadAsset(io.github.intisy.gradle.github.api.model.Release, java.io.File, java.lang.String)rather than build requests against it directly).
-
-
Method Details
-
getId
- Returns:
- the release's GitHub-assigned identifier.
-
getTag
- Returns:
- the git tag the release was created for.
-
getName
- Returns:
- the release's human-readable title, or null if none was set.
-
getHtmlUrl
- Returns:
- the release's web page URL.
-
getUploadUrl
- Returns:
- the URL asset uploads are posted to.
-
equals
-
hashCode
public int hashCode() -
toString
-