Class GitHubOAuthResponseInner

java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.devhub.fluent.models.GitHubOAuthResponseInner

public final class GitHubOAuthResponseInner extends com.azure.core.management.ProxyResource
Singleton response of GitHubOAuth containing.
  • Constructor Details

    • GitHubOAuthResponseInner

      public GitHubOAuthResponseInner()
  • Method Details

    • username

      public String username()
      Get the username property: user making request.
      Returns:
      the username value.
    • withUsername

      public GitHubOAuthResponseInner withUsername(String username)
      Set the username property: user making request.
      Parameters:
      username - the username value to set.
      Returns:
      the GitHubOAuthResponseInner object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.