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

      @WithBridgeMethods(value=java.util.Date.class, adapterMethod="instantToDate") public Instant getCreatedAt()
      Gets createdAt.
      Returns:
      the createdAt
    • getLastUsedAt

      @WithBridgeMethods(value=java.util.Date.class, adapterMethod="instantToDate") public Instant getLastUsedAt()
      Gets last_used.
      Returns:
      the last_used
    • getAdded_by

      @Deprecated public String getAdded_by()
      Deprecated.
      Gets added_by
      Returns:
      the added_by
    • getAddedBy

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

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

      public boolean isReadOnly()
      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