org.kohsuke.github
Class GHAsset

java.lang.Object
  extended by org.kohsuke.github.GHAsset

public class GHAsset
extends Object

Asset in a release.

See Also:
GHRelease.getAssets()

Constructor Summary
GHAsset()
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GHAsset

public GHAsset()
Method Detail

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.