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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionusername()
Get the username property: user making request.void
validate()
Validates the instance.withUsername
(String username) Set the username property: user making request.Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
GitHubOAuthResponseInner
public GitHubOAuthResponseInner()
-
-
Method Details
-
username
Get the username property: user making request.- Returns:
- the username value.
-
withUsername
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.
-