Package org.kohsuke.github
Class GHAppInstallationToken
java.lang.Object
org.kohsuke.github.GHAppInstallationToken
A Github App Installation Token.
- Author:
- Paulo Miguel Almeida
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets expires at.Gets permissions.Gets repositories.Gets repository selection.getRoot()Deprecated.getToken()Gets token.voidsetPermissions(Map<String, String> permissions) Deprecated.Do not use this method.voidsetRepositories(List<GHRepository> repositories) Deprecated.Do not use this method.voidsetRepositorySelection(GHRepositorySelection repositorySelection) Deprecated.Do not use this method.voidDeprecated.Do not use this method.voidDeprecated.Do not use this method.
-
Field Details
-
expires_at
The expires at.
-
-
Constructor Details
-
GHAppInstallationToken
public GHAppInstallationToken()
-
-
Method Details
-
setRoot
Deprecated.Do not use this method. It was added due to incomplete understanding of Jackson binding.Sets root.- Parameters:
root- the root
-
getPermissions
Gets permissions.- Returns:
- the permissions
-
setPermissions
Deprecated.Do not use this method. It was added due to incomplete understanding of Jackson binding.Sets permissions.- Parameters:
permissions- the permissions
-
getToken
Gets token.- Returns:
- the token
-
setToken
Deprecated.Do not use this method. It was added due to incomplete understanding of Jackson binding.Sets token.- Parameters:
token- the token
-
getRepositories
Gets repositories.- Returns:
- the repositories
-
setRepositories
Deprecated.Do not use this method. It was added due to incomplete understanding of Jackson binding.Sets repositories.- Parameters:
repositories- the repositories
-
getRepositorySelection
Gets repository selection.- Returns:
- the repository selection
-
setRepositorySelection
Deprecated.Do not use this method. It was added due to incomplete understanding of Jackson binding.Sets repository selection.- Parameters:
repositorySelection- the repository selection
-
getExpiresAt
@WithBridgeMethods(value=java.lang.String.class, adapterMethod="expiresAtStr") public Date getExpiresAt() throws IOExceptionGets expires at.- Returns:
- date when this token expires
- Throws:
IOException- on error
-
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
-
GitHubinstance, use a local copy instead of pulling it out of objects.