Package org.kohsuke.github
Class GHRepositoryPublicKey
- java.lang.Object
-
- org.kohsuke.github.GHObject
-
- org.kohsuke.github.GHRepositoryPublicKey
-
public class GHRepositoryPublicKey extends GHObject
A public key for the given repository.- Author:
- Aditya Bansal
-
-
Field Summary
-
Fields inherited from class org.kohsuke.github.GHObject
responseHeaderFields
-
-
Constructor Summary
Constructors Constructor Description GHRepositoryPublicKey()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description URLgetHtmlUrl()Gets the html url.StringgetKey()Gets the key.StringgetKeyId()Gets the key id.GitHubgetRoot()Deprecated.For access to theGitHubinstance, use a local copy instead of pulling it out of objects.-
Methods inherited from class org.kohsuke.github.GHObject
getCreatedAt, getId, getNodeId, getResponseHeaderFields, getUpdatedAt, getUrl, setResponseHeaderFields, toString
-
-
-
-
Method Detail
-
getHtmlUrl
public URL getHtmlUrl() throws IOException
Gets the html url.- Specified by:
getHtmlUrlin classGHObject- Returns:
- the html url
- Throws:
IOException- Signals that an I/O exception has occurred.
-
getKeyId
public String getKeyId()
Gets the key id.- Returns:
- the key id
-
getKey
public String getKey()
Gets the key.- Returns:
- the key
-
getRoot
@Deprecated public GitHub getRoot()
Deprecated.For access to theGitHubinstance, use a local copy instead of pulling it out of objects.Get the rootGitHubinstance for this object.- Returns:
- the root
GitHubinstance
-
-