Class GitHubOAuthCallRequest

java.lang.Object
com.azure.resourcemanager.devhub.models.GitHubOAuthCallRequest

public final class GitHubOAuthCallRequest extends Object
GitHubOAuth request object.
  • Constructor Details

    • GitHubOAuthCallRequest

      public GitHubOAuthCallRequest()
  • Method Details

    • redirectUrl

      public String 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

      public GitHubOAuthCallRequest withRedirectUrl(String redirectUrl)
      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.