public class GHAsset extends GHObject
GHRelease.getAssets()created_at, id, updated_at, url| Constructor and Description |
|---|
GHAsset() |
| Modifier and Type | Method and Description |
|---|---|
void |
delete() |
String |
getBrowserDownloadUrl() |
String |
getContentType() |
long |
getDownloadCount() |
URL |
getHtmlUrl()
Deprecated.
This object has no HTML URL.
|
String |
getLabel() |
String |
getName() |
GHRepository |
getOwner() |
GitHub |
getRoot() |
long |
getSize() |
String |
getState() |
void |
setContentType(String contentType) |
void |
setLabel(String label) |
static GHAsset[] |
wrap(GHAsset[] assets,
GHRelease release) |
getCreatedAt, getId, getUpdatedAt, getUrlpublic String getContentType()
public void setContentType(String contentType) throws IOException
IOExceptionpublic long getDownloadCount()
public String getLabel()
public void setLabel(String label) throws IOException
IOExceptionpublic String getName()
public GHRepository getOwner()
public GitHub getRoot()
public long getSize()
public String getState()
public URL getHtmlUrl()
GHObjectgetHtmlUrl in class GHObjectpublic String getBrowserDownloadUrl()
public void delete()
throws IOException
IOExceptionCopyright © 2015. All Rights Reserved.