public final class AppserviceGithubTokenInner extends Object
| Constructor and Description |
|---|
AppserviceGithubTokenInner() |
| Modifier and Type | Method and Description |
|---|---|
String |
accessToken()
Get the accessToken property: Github access token for Appservice CLI github integration.
|
String |
errorMessage()
Get the errorMessage property: Error message if unable to get token.
|
Boolean |
gotToken()
Get the gotToken property: True if valid github token received, False otherwise.
|
String |
scope()
Get the scope property: Scope of the github access token.
|
String |
tokenType()
Get the tokenType property: token type.
|
void |
validate()
Validates the instance.
|
AppserviceGithubTokenInner |
withAccessToken(String accessToken)
Set the accessToken property: Github access token for Appservice CLI github integration.
|
AppserviceGithubTokenInner |
withErrorMessage(String errorMessage)
Set the errorMessage property: Error message if unable to get token.
|
AppserviceGithubTokenInner |
withGotToken(Boolean gotToken)
Set the gotToken property: True if valid github token received, False otherwise.
|
AppserviceGithubTokenInner |
withScope(String scope)
Set the scope property: Scope of the github access token.
|
AppserviceGithubTokenInner |
withTokenType(String tokenType)
Set the tokenType property: token type.
|
public String accessToken()
public AppserviceGithubTokenInner withAccessToken(String accessToken)
accessToken - the accessToken value to set.public String scope()
public AppserviceGithubTokenInner withScope(String scope)
scope - the scope value to set.public String tokenType()
public AppserviceGithubTokenInner withTokenType(String tokenType)
tokenType - the tokenType value to set.public Boolean gotToken()
public AppserviceGithubTokenInner withGotToken(Boolean gotToken)
gotToken - the gotToken value to set.public String errorMessage()
public AppserviceGithubTokenInner withErrorMessage(String errorMessage)
errorMessage - the errorMessage value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.