Package com.jcabi.github
Interface GitHubThread
- 
 public interface GitHubThreadRepresents a GitHub notifications thread.- Since:
- 1.0
- Version:
- $Id: 2973a7675127f3e64ef923ed7161818456c36b28 $
- Author:
- Dmitri Pisarenko (dp@altruix.co)
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddeleteSubscription()Unsubscribes the user from this thread.ThreadSubscriptiongetSubscription()Checks, if the current user is subscribed to this thread.voidmarkAsRead()Marks this thread as read.ThreadSubscriptionsetSubscription(boolean subscribe, boolean ignore)Subscribes the user to the thread and/or makes the user ignore the thread.
 
- 
- 
- 
Method Detail- 
markAsReadvoid markAsRead() Marks this thread as read.- See Also:
- Mark a thread as read
 
 - 
getSubscriptionThreadSubscription getSubscription() Checks, if the current user is subscribed to this thread.- Returns:
- Subscription data, if the user is subscribe, null otherwise.
- See Also:
- Get a Thread Subscription
 
 - 
setSubscriptionThreadSubscription setSubscription(boolean subscribe, boolean ignore) Subscribes the user to the thread and/or makes the user ignore the thread.- Parameters:
- subscribe- True, if notifications should be received from this thread.
- ignore- True, if all notifications should be blocked from this thread.
- Returns:
- Data of the subscription.
- See Also:
- Set a Thread Subscription
 
 - 
deleteSubscriptionvoid deleteSubscription() Unsubscribes the user from this thread.- See Also:
- Delete a Thread Subscription
 
 
- 
 
-