org.kohsuke.github
Class GHAsset
java.lang.Object
org.kohsuke.github.GHAsset
public class GHAsset
- extends Object
Asset in a release.
- See Also:
GHRelease.getAssets()
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GHAsset
public GHAsset()
getContentType
public String getContentType()
setContentType
public void setContentType(String contentType)
throws IOException
- Throws:
IOException
getCreatedAt
public Date getCreatedAt()
getDownloadCount
public long getDownloadCount()
getId
public String getId()
getLabel
public String getLabel()
setLabel
public void setLabel(String label)
throws IOException
- Throws:
IOException
getName
public String getName()
getOwner
public GHRepository getOwner()
getRoot
public GitHub getRoot()
getSize
public long getSize()
getState
public String getState()
getUpdatedAt
public Date getUpdatedAt()
getUrl
public String getUrl()
delete
public void delete()
throws IOException
- Throws:
IOException
wrap
public static GHAsset[] wrap(GHAsset[] assets,
GHRelease release)
Copyright © 2014. All rights reserved.