public final class OAuthTokenResponse extends QTestBaseModel<OAuthTokenResponse>
NL, properties, RESERVED_NAME| Constructor and Description |
|---|
OAuthTokenResponse()
Creates
OAuthTokenResponse instance. |
| Modifier and Type | Method and Description |
|---|---|
OAuthTokenResponse |
clone() |
java.lang.String |
elementName() |
java.lang.String |
getAccessToken() |
java.lang.Integer |
getExpiresIn()
Obtains the expires in.
|
java.lang.String |
getRefreshToken()
Obtains the refresh token.
|
java.lang.String |
getScope()
Obtains the scope.
|
java.lang.String |
getTokenType() |
OAuthTokenResponse |
setAccessToken(java.lang.String accessToken)
Sets the access token.
|
OAuthTokenResponse |
setExpiresIn(java.lang.Integer expiresIn)
Sets the expires in.
|
OAuthTokenResponse |
setRefreshToken(java.lang.String refreshToken)
Sets the refresh token.
|
OAuthTokenResponse |
setScope(java.lang.String scope)
Sets the scope.
|
OAuthTokenResponse |
setTokenType(java.lang.String tokenType)
Sets token type.
|
OAuthTokenResponse |
withAccessToken(java.lang.String accessToken)
Sets the access token and return the current instance.
|
OAuthTokenResponse |
withExpiresIn(java.lang.Integer expiresIn)
Sets the expires in.
|
OAuthTokenResponse |
withRefreshToken(java.lang.String refreshToken)
Sets the refresh token.
|
OAuthTokenResponse |
withScope(java.lang.String scope)
Sets the scope.
|
OAuthTokenResponse |
withTokenType(java.lang.String tokenType)
Sets the token type and return the current instance.
|
getBinaryFromInputStream, getLinks, getWebUrl, setLinks, setWebUrl, validateInputStream, withLinks, withWebUrlappendPropertiesTo, appendPropertiesTo, asDate, asDate, asInteger, asInteger, asLong, asLong, asString, asString, getProperties, getProperty, getPropertyMap, hasProperties, hasProperty, isVisible, jsonElementName, removeProperty, setPropertiesFrom, setProperty, toJson, toStringpublic OAuthTokenResponse()
OAuthTokenResponse instance.public java.lang.String getAccessToken()
public OAuthTokenResponse setAccessToken(java.lang.String accessToken)
accessToken - the given access token to set.public OAuthTokenResponse withAccessToken(java.lang.String accessToken)
accessToken - the given access token to set.public java.lang.String getTokenType()
public OAuthTokenResponse setTokenType(java.lang.String tokenType)
tokenType - the given token type to set.public OAuthTokenResponse withTokenType(java.lang.String tokenType)
tokenType - the given token type to set.public java.lang.String getRefreshToken()
public OAuthTokenResponse setRefreshToken(java.lang.String refreshToken)
refreshToken - the refresh token.public OAuthTokenResponse withRefreshToken(java.lang.String refreshToken)
refreshToken - the given refresh token to set.public java.lang.Integer getExpiresIn()
public OAuthTokenResponse setExpiresIn(java.lang.Integer expiresIn)
expiresIn - the given expires in value.public OAuthTokenResponse withExpiresIn(java.lang.Integer expiresIn)
expiresIn - the given expires in.OAuthTokenResponse instance.public java.lang.String getScope()
public OAuthTokenResponse setScope(java.lang.String scope)
scope - the given scope to set.public OAuthTokenResponse withScope(java.lang.String scope)
scope - the given scope.OAuthTokenResponse instance.public OAuthTokenResponse clone()
clone in class PropertyContainerpublic java.lang.String elementName()
elementName in class PropertyContainer