public class GHAsset extends Object
GHRelease.getAssets()| Constructor and Description |
|---|
GHAsset() |
| Modifier and Type | Method and Description |
|---|---|
void |
delete() |
String |
getContentType() |
Date |
getCreatedAt() |
long |
getDownloadCount() |
String |
getId() |
String |
getLabel() |
String |
getName() |
GHRepository |
getOwner() |
GitHub |
getRoot() |
long |
getSize() |
String |
getState() |
Date |
getUpdatedAt() |
String |
getUrl() |
void |
setContentType(String contentType) |
void |
setLabel(String label) |
static GHAsset[] |
wrap(GHAsset[] assets,
GHRelease release) |
public String getContentType()
public void setContentType(String contentType) throws IOException
IOExceptionpublic Date getCreatedAt()
public long getDownloadCount()
public String getId()
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 Date getUpdatedAt()
public String getUrl()
public void delete()
throws IOException
IOExceptionCopyright © 2014. All rights reserved.