public final class GitHubAccessTokenRequest extends Object
| Constructor and Description |
|---|
GitHubAccessTokenRequest() |
| Modifier and Type | Method and Description |
|---|---|
String |
gitHubAccessCode()
Get the gitHubAccessCode property: GitHub access code.
|
String |
gitHubAccessTokenBaseUrl()
Get the gitHubAccessTokenBaseUrl property: GitHub access token base URL.
|
String |
gitHubClientId()
Get the gitHubClientId property: GitHub application client ID.
|
GitHubClientSecret |
gitHubClientSecret()
Get the gitHubClientSecret property: GitHub bring your own app client secret information.
|
void |
validate()
Validates the instance.
|
GitHubAccessTokenRequest |
withGitHubAccessCode(String gitHubAccessCode)
Set the gitHubAccessCode property: GitHub access code.
|
GitHubAccessTokenRequest |
withGitHubAccessTokenBaseUrl(String gitHubAccessTokenBaseUrl)
Set the gitHubAccessTokenBaseUrl property: GitHub access token base URL.
|
GitHubAccessTokenRequest |
withGitHubClientId(String gitHubClientId)
Set the gitHubClientId property: GitHub application client ID.
|
GitHubAccessTokenRequest |
withGitHubClientSecret(GitHubClientSecret gitHubClientSecret)
Set the gitHubClientSecret property: GitHub bring your own app client secret information.
|
public String gitHubAccessCode()
public GitHubAccessTokenRequest withGitHubAccessCode(String gitHubAccessCode)
gitHubAccessCode - the gitHubAccessCode value to set.public String gitHubClientId()
public GitHubAccessTokenRequest withGitHubClientId(String gitHubClientId)
gitHubClientId - the gitHubClientId value to set.public GitHubClientSecret gitHubClientSecret()
public GitHubAccessTokenRequest withGitHubClientSecret(GitHubClientSecret gitHubClientSecret)
gitHubClientSecret - the gitHubClientSecret value to set.public String gitHubAccessTokenBaseUrl()
public GitHubAccessTokenRequest withGitHubAccessTokenBaseUrl(String gitHubAccessTokenBaseUrl)
gitHubAccessTokenBaseUrl - the gitHubAccessTokenBaseUrl value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.