Class GHSubscription

java.lang.Object
org.kohsuke.github.GHSubscription

public class GHSubscription extends Object
Represents your subscribing to a repository / conversation thread..
Author:
Kohsuke Kawaguchi
See Also:
  • Constructor Details

    • GHSubscription

      public GHSubscription()
      Create default GHSubscription instance
  • Method Details

    • getCreatedAt

      public Date getCreatedAt()
      Gets created at.
      Returns:
      the created at
    • getUrl

      public String getUrl()
      Gets url.
      Returns:
      the url
    • getRepositoryUrl

      public String getRepositoryUrl()
      Gets repository url.
      Returns:
      the repository url
    • getReason

      public String getReason()
      Gets reason.
      Returns:
      the reason
    • isSubscribed

      public boolean isSubscribed()
      Is subscribed boolean.
      Returns:
      the boolean
    • isIgnored

      public boolean isIgnored()
      Is ignored boolean.
      Returns:
      the boolean
    • getRepository

      public GHRepository getRepository()
      Gets repository.
      Returns:
      the repository
    • delete

      public void delete() throws IOException
      Removes this subscription.
      Throws:
      IOException - the io exception