Class GHDeployKey

java.lang.Object
org.kohsuke.github.GHDeployKey

public class GHDeployKey extends Object
The type GHDeployKey.
  • Field Details

    • url

      protected String url
      The title.
    • key

      protected String key
      The title.
    • title

      protected String title
      The title.
    • verified

      protected boolean verified
      The verified.
    • id

      protected long id
      The id.
  • Constructor Details

    • GHDeployKey

      public GHDeployKey()
      Create default GHDeployKey instance
  • Method Details

    • getId

      public long getId()
      Gets id.
      Returns:
      the id
    • getKey

      public String getKey()
      Gets key.
      Returns:
      the key
    • getTitle

      public String getTitle()
      Gets title.
      Returns:
      the title
    • getUrl

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

      public boolean isVerified()
      Is verified boolean.
      Returns:
      the boolean
    • getCreatedAt

      public Date getCreatedAt()
      Gets created_at.
      Returns:
      the created_at
    • getLastUsedAt

      public Date getLastUsedAt()
      Gets last_used.
      Returns:
      the last_used
    • getAdded_by

      public String getAdded_by()
      Gets added_by
      Returns:
      the added_by
    • isRead_only

      public boolean isRead_only()
      Is read_only
      Returns:
      true if the key can only read. False if the key has write permission as well.
    • toString

      public String toString()
      To string.
      Overrides:
      toString in class Object
      Returns:
      the string
    • delete

      public void delete() throws IOException
      Delete.
      Throws:
      IOException - the io exception