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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets expires at.Gets permissions.Gets repositories.Gets repository selection.getRoot()
Deprecated.getToken()
Gets token.void
setPermissions
(Map<String, String> permissions) Deprecated.Do not use this method.void
setRepositories
(List<GHRepository> repositories) Deprecated.Do not use this method.void
setRepositorySelection
(GHRepositorySelection repositorySelection) Deprecated.Do not use this method.void
Deprecated.Do not use this method.void
Deprecated.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 theGitHub
instance, use a local copy instead of pulling it out of objects.Get the rootGitHub
instance for this object.- Returns:
- the root
GitHub
instance
-
GitHub
instance, use a local copy instead of pulling it out of objects.