org.eclipse.egit.github.core
Class Gist
java.lang.Object
org.eclipse.egit.github.core.Gist
- All Implemented Interfaces:
- Serializable
public class Gist
- extends Object
- implements Serializable
GitHub gist model class.
- See Also:
- Serialized Form
Constructor Summary |
Gist()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Gist
public Gist()
isPublic
public boolean isPublic()
- Returns:
- isPublic
setPublic
public Gist setPublic(boolean isPublic)
- Parameters:
isPublic
-
- Returns:
- this gist
getCreatedAt
public Date getCreatedAt()
- Returns:
- createdAt
setCreatedAt
public Gist setCreatedAt(Date createdAt)
- Parameters:
createdAt
-
- Returns:
- this gist
getUpdatedAt
public Date getUpdatedAt()
- Returns:
- updatedAt
setUpdatedAt
public Gist setUpdatedAt(Date updatedAt)
- Parameters:
updatedAt
-
- Returns:
- this gist
getComments
public int getComments()
- Returns:
- comments
setComments
public Gist setComments(int comments)
- Parameters:
comments
-
- Returns:
- this gist
getHistory
public List<GistRevision> getHistory()
- Returns:
- history
setHistory
public Gist setHistory(List<GistRevision> history)
- Parameters:
history
-
- Returns:
- this gist
getFiles
public Map<String,GistFile> getFiles()
- Returns:
- files
setFiles
public Gist setFiles(Map<String,GistFile> files)
- Parameters:
files
-
- Returns:
- this gist
getDescription
public String getDescription()
- Returns:
- description
setDescription
public Gist setDescription(String description)
- Parameters:
description
-
- Returns:
- this gist
getGitPullUrl
public String getGitPullUrl()
- Returns:
- gitPullUrl
setGitPullUrl
public Gist setGitPullUrl(String gitPullUrl)
- Parameters:
gitPullUrl
-
- Returns:
- this gist
getGitPushUrl
public String getGitPushUrl()
- Returns:
- gitPushUrl
setGitPushUrl
public Gist setGitPushUrl(String gitPushUrl)
- Parameters:
gitPushUrl
-
- Returns:
- this gist
getHtmlUrl
public String getHtmlUrl()
- Returns:
- htmlUrl
setHtmlUrl
public Gist setHtmlUrl(String htmlUrl)
- Parameters:
htmlUrl
-
- Returns:
- this gist
getId
public String getId()
- Returns:
- id
setId
public Gist setId(String id)
- Parameters:
id
-
- Returns:
- this gist
getUrl
public String getUrl()
- Returns:
- url
setUrl
public Gist setUrl(String url)
- Parameters:
url
-
- Returns:
- this gist
getUser
public User getUser()
- Returns:
- user
setUser
public Gist setUser(User user)
- Parameters:
user
-
- Returns:
- this gist
Copyright © 2012. All Rights Reserved.