diff --git a/src/main/java/org/kohsuke/github/GHAsset.java b/src/main/java/org/kohsuke/github/GHAsset.java index b26c72000e..902356eebf 100644 --- a/src/main/java/org/kohsuke/github/GHAsset.java +++ b/src/main/java/org/kohsuke/github/GHAsset.java @@ -21,6 +21,7 @@ public class GHAsset { private long download_count; private Date created_at; private Date updated_at; + private String browser_download_url; public String getContentType() { return content_type; @@ -80,6 +81,10 @@ public String getUrl() { return url; } + public String getBrowserDownloadUrl() { + return browser_download_url; + } + private void edit(String key, Object value) throws IOException { new Requester(root)._with(key, value).method("PATCH").to(getApiRoute()); }