public final class AppserviceGithubTokenRequest extends Object
| Constructor and Description |
|---|
AppserviceGithubTokenRequest() |
| Modifier and Type | Method and Description |
|---|---|
String |
code()
Get the code property: Code string to exchange for Github Access token.
|
String |
state()
Get the state property: State string used for verification.
|
void |
validate()
Validates the instance.
|
AppserviceGithubTokenRequest |
withCode(String code)
Set the code property: Code string to exchange for Github Access token.
|
AppserviceGithubTokenRequest |
withState(String state)
Set the state property: State string used for verification.
|
public String code()
public AppserviceGithubTokenRequest withCode(String code)
code - the code value to set.public String state()
public AppserviceGithubTokenRequest withState(String state)
state - the state value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.