|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kohsuke.github.GHGist
public class GHGist
Gist
GHUser.listGists(),
GitHub.getGist(String),
GitHub.createGist()| Constructor Summary | |
|---|---|
GHGist()
|
|
| Method Summary | |
|---|---|
void |
delete()
Deletes this gist. |
boolean |
equals(Object o)
|
GHGist |
fork()
Forks this gist into your own. |
int |
getCommentCount()
|
String |
getCommentsUrl()
API URL of listing comments. |
String |
getCommitsUrl()
|
Date |
getCreatedAt()
|
String |
getDescription()
|
GHGistFile |
getFile(String name)
|
Map<String,GHGistFile> |
getFiles()
|
String |
getForksUrl()
|
String |
getGitPullUrl()
URL like https://gist.github.com/gists/12345.git |
String |
getGitPushUrl()
|
String |
getHtmlUrl()
|
String |
getId()
ID of this gist, such as '12345' |
GHUser |
getOwner()
User that owns this Gist. |
Date |
getUpdatedAt()
|
String |
getUrl()
API URL of this gist, such as 'https://api.github.com/gists/12345' |
int |
hashCode()
|
boolean |
isPublic()
|
boolean |
isStarred()
|
PagedIterable<GHGist> |
listForks()
|
void |
star()
|
void |
unstar()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GHGist()
| Method Detail |
|---|
public GHUser getOwner()
public String getUrl()
public String getForksUrl()
public String getCommitsUrl()
public String getId()
public String getGitPullUrl()
public String getGitPushUrl()
public String getHtmlUrl()
public boolean isPublic()
public Date getCreatedAt()
public Date getUpdatedAt()
public String getDescription()
public int getCommentCount()
public String getCommentsUrl()
public GHGistFile getFile(String name)
public Map<String,GHGistFile> getFiles()
public void star()
throws IOException
IOException
public void unstar()
throws IOException
IOException
public boolean isStarred()
throws IOException
IOException
public GHGist fork()
throws IOException
IOExceptionpublic PagedIterable<GHGist> listForks()
public void delete()
throws IOException
IOExceptionpublic boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||