Class GitHubOAuthInfoResponseInner
java.lang.Object
com.azure.resourcemanager.devhub.fluent.models.GitHubOAuthInfoResponseInner
URL used to authorize the Developer Hub GitHub App.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionauthUrl()
Get the authUrl property: URL for authorizing the Developer Hub GitHub App.token()
Get the token property: OAuth token used to make calls to GitHub.void
validate()
Validates the instance.withAuthUrl
(String authUrl) Set the authUrl property: URL for authorizing the Developer Hub GitHub App.Set the token property: OAuth token used to make calls to GitHub.
-
Constructor Details
-
GitHubOAuthInfoResponseInner
public GitHubOAuthInfoResponseInner()
-
-
Method Details
-
authUrl
Get the authUrl property: URL for authorizing the Developer Hub GitHub App.- Returns:
- the authUrl value.
-
withAuthUrl
Set the authUrl property: URL for authorizing the Developer Hub GitHub App.- Parameters:
authUrl
- the authUrl value to set.- Returns:
- the GitHubOAuthInfoResponseInner object itself.
-
token
Get the token property: OAuth token used to make calls to GitHub.- Returns:
- the token value.
-
withToken
Set the token property: OAuth token used to make calls to GitHub.- Parameters:
token
- the token value to set.- Returns:
- the GitHubOAuthInfoResponseInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-