Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 4029fcc

Browse filesBrowse files
committed
Merge pull request hub4j#122 from tbruyelle/browserDownloadUrl
Add missing field browser_download_url in GHAsset
2 parents e6d59df + 9eda2d3 commit 4029fcc
Copy full SHA for 4029fcc

File tree

Expand file treeCollapse file tree

1 file changed

+5
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+5
-0
lines changed

‎src/main/java/org/kohsuke/github/GHAsset.java

Copy file name to clipboardExpand all lines: src/main/java/org/kohsuke/github/GHAsset.java
+5Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ public class GHAsset {
2121
private long download_count;
2222
private Date created_at;
2323
private Date updated_at;
24+
private String browser_download_url;
2425

2526
public String getContentType() {
2627
return content_type;
@@ -80,6 +81,10 @@ public String getUrl() {
8081
return url;
8182
}
8283

84+
public String getBrowserDownloadUrl() {
85+
return browser_download_url;
86+
}
87+
8388
private void edit(String key, Object value) throws IOException {
8489
new Requester(root)._with(key, value).method("PATCH").to(getApiRoute());
8590
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.