Class GitHubOAuthCallRequest
java.lang.Object
com.azure.resourcemanager.devhub.models.GitHubOAuthCallRequest
GitHubOAuth request object.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the redirectUrl property: The URL the client will redirect to on successful authentication.void
validate()
Validates the instance.withRedirectUrl
(String redirectUrl) Set the redirectUrl property: The URL the client will redirect to on successful authentication.
-
Constructor Details
-
GitHubOAuthCallRequest
public GitHubOAuthCallRequest()
-
-
Method Details
-
redirectUrl
Get the redirectUrl property: The URL the client will redirect to on successful authentication. If empty, no redirect will occur.- Returns:
- the redirectUrl value.
-
withRedirectUrl
Set the redirectUrl property: The URL the client will redirect to on successful authentication. If empty, no redirect will occur.- Parameters:
redirectUrl
- the redirectUrl value to set.- Returns:
- the GitHubOAuthCallRequest object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-