GitHubAccessTokenRequest Class
- java.
lang. Object - com.
azure. resourcemanager. datafactory. models. GitHubAccessTokenRequest
- com.
Implements
public final class GitHubAccessTokenRequest
implements JsonSerializable<GitHubAccessTokenRequest>
Get GitHub access token request definition.
Constructor Summary
| Constructor | Description |
|---|---|
| GitHubAccessTokenRequest() |
Creates an instance of Git |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Git |
fromJson(JsonReader jsonReader)
Reads an instance of Git |
| String |
gitHubAccessCode()
Get the git |
| String |
gitHubAccessTokenBaseUrl()
Get the git |
| String |
gitHubClientId()
Get the git |
|
Git |
gitHubClientSecret()
Get the git |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Git |
withGitHubAccessCode(String gitHubAccessCode)
Set the git |
|
Git |
withGitHubAccessTokenBaseUrl(String gitHubAccessTokenBaseUrl)
Set the git |
|
Git |
withGitHubClientId(String gitHubClientId)
Set the git |
|
Git |
withGitHubClientSecret(GitHubClientSecret gitHubClientSecret)
Set the git |
Methods inherited from java.lang.Object
Constructor Details
GitHubAccessTokenRequest
public GitHubAccessTokenRequest()
Creates an instance of GitHubAccessTokenRequest class.
Method Details
fromJson
public static GitHubAccessTokenRequest fromJson(JsonReader jsonReader)
Reads an instance of GitHubAccessTokenRequest from the JsonReader.
Parameters:
Returns:
Throws:
gitHubAccessCode
public String gitHubAccessCode()
Get the gitHubAccessCode property: GitHub access code.
Returns:
gitHubAccessTokenBaseUrl
public String gitHubAccessTokenBaseUrl()
Get the gitHubAccessTokenBaseUrl property: GitHub access token base URL.
Returns:
gitHubClientId
public String gitHubClientId()
Get the gitHubClientId property: GitHub application client ID.
Returns:
gitHubClientSecret
public GitHubClientSecret gitHubClientSecret()
Get the gitHubClientSecret property: GitHub bring your own app client secret information.
Returns:
toJson
validate
public void validate()
Validates the instance.
withGitHubAccessCode
public GitHubAccessTokenRequest withGitHubAccessCode(String gitHubAccessCode)
Set the gitHubAccessCode property: GitHub access code.
Parameters:
Returns:
withGitHubAccessTokenBaseUrl
public GitHubAccessTokenRequest withGitHubAccessTokenBaseUrl(String gitHubAccessTokenBaseUrl)
Set the gitHubAccessTokenBaseUrl property: GitHub access token base URL.
Parameters:
Returns:
withGitHubClientId
public GitHubAccessTokenRequest withGitHubClientId(String gitHubClientId)
Set the gitHubClientId property: GitHub application client ID.
Parameters:
Returns:
withGitHubClientSecret
public GitHubAccessTokenRequest withGitHubClientSecret(GitHubClientSecret gitHubClientSecret)
Set the gitHubClientSecret property: GitHub bring your own app client secret information.
Parameters:
Returns: