public class GHThread extends GHObject
GHNotificationStreamcreated_at, id, updated_at| Modifier and Type | Method and Description |
|---|---|
java.util.Date |
getLastReadAt()
Returns null if the entire thread has never been read.
|
java.lang.String |
getReason() |
GHRepository |
getRepository() |
GHSubscription |
getSubscription()
Returns the current subscription for this thread.
|
java.lang.String |
getTitle() |
java.lang.String |
getType() |
boolean |
isRead() |
void |
markAsRead()
Marks this thread as read.
|
GHSubscription |
subscribe(boolean subscribed,
boolean ignored)
Subscribes to this conversation to get notifications.
|
getCreatedAt, getId, getUpdatedAt, getUrlpublic java.util.Date getLastReadAt()
public java.lang.String getReason()
public GHRepository getRepository()
public boolean isRead()
public java.lang.String getTitle()
public java.lang.String getType()
public void markAsRead()
throws java.io.IOException
java.io.IOExceptionpublic GHSubscription subscribe(boolean subscribed, boolean ignored) throws java.io.IOException
java.io.IOExceptionpublic GHSubscription getSubscription() throws java.io.IOException
java.io.IOExceptionCopyright © 2015. All Rights Reserved.