java.lang.Object
org.kohsuke.github.GHKey
- Direct Known Subclasses:
GHVerifiedKey
SSH public key.
- Author:
- Kohsuke Kawaguchi
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
url
The title. -
key
The title. -
title
The title. -
verified
protected boolean verifiedThe verified. -
id
protected int idThe id.
-
-
Constructor Details
-
GHKey
public GHKey()Create default GHKey instance
-
-
Method Details
-
getId
public int getId()Gets id.- Returns:
- the id
-
getKey
Gets key.- Returns:
- the key
-
getTitle
Gets title.- Returns:
- the title
-
getUrl
Something like "https://api.github.com/user/keys/73593"- Returns:
- the url
-
isVerified
public boolean isVerified()Is verified boolean.- Returns:
- the boolean
-
toString
To string. -
delete
Delete the GHKey- Throws:
IOException
- the io exception
-