public class GHGist extends GHObject
GHUser.listGists(),
GitHub.getGist(String),
GitHub.createGist(),
documentationcreated_at, updated_at, url| Constructor and Description |
|---|
GHGist() |
| Modifier and Type | Method and Description |
|---|---|
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() |
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() |
GHUser |
getOwner()
User that owns this Gist.
|
int |
hashCode() |
boolean |
isPublic() |
boolean |
isStarred() |
PagedIterable<GHGist> |
listForks() |
void |
star() |
void |
unstar() |
getCreatedAt, getId, getUpdatedAt, getUrlpublic GHUser getOwner()
public String getForksUrl()
public String getCommitsUrl()
public String getGitPullUrl()
public String getGitPushUrl()
public String getHtmlUrl()
public boolean isPublic()
public String getDescription()
public int getCommentCount()
public String getCommentsUrl()
public GHGistFile getFile(String name)
public Map<String,GHGistFile> getFiles()
public void star()
throws IOException
IOExceptionpublic void unstar()
throws IOException
IOExceptionpublic boolean isStarred()
throws IOException
IOExceptionpublic GHGist fork() throws IOException
IOExceptionpublic PagedIterable<GHGist> listForks()
public void delete()
throws IOException
IOExceptionCopyright © 2015. All rights reserved.