@Generated(value={"Immutables.generator","_GetTokenByOneTimePasscodeResponse"}) public final class GetTokenByOneTimePasscodeResponse extends AbstractToken
| Modifier and Type | Class and Description |
|---|---|
static class |
GetTokenByOneTimePasscodeResponse.Builder
Builds instances of type
GetTokenByOneTimePasscodeResponse. |
| Modifier and Type | Method and Description |
|---|---|
static GetTokenByOneTimePasscodeResponse.Builder |
builder()
Creates a builder for
GetTokenByOneTimePasscodeResponse. |
boolean |
equals(Object another)
This instance is equal to all instances of
GetTokenByOneTimePasscodeResponse that have equal attribute values. |
String |
getAccessToken()
The access token
|
Integer |
getExpiresInSeconds()
The number of seconds until token expiry
|
String |
getRefreshToken()
The refresh token
|
String |
getScopes()
The space-delimited list of scopes authorized by the user for this client
|
String |
getTokenId()
The identifier for this token
|
String |
getTokenType()
The type of the access token issued
|
int |
hashCode()
Computes a hash code from attributes:
refreshToken, accessToken, expiresInSeconds, scopes, tokenId, tokenType. |
String |
toString()
Prints the immutable value
GetTokenByOneTimePasscodeResponse with attribute values. |
public String getRefreshToken()
public String getAccessToken()
getAccessToken in class AbstractTokenpublic Integer getExpiresInSeconds()
getExpiresInSeconds in class AbstractTokenpublic String getScopes()
getScopes in class AbstractTokenpublic String getTokenId()
getTokenId in class AbstractTokenpublic String getTokenType()
getTokenType in class AbstractTokenpublic boolean equals(Object another)
GetTokenByOneTimePasscodeResponse that have equal attribute values.public int hashCode()
refreshToken, accessToken, expiresInSeconds, scopes, tokenId, tokenType.public String toString()
GetTokenByOneTimePasscodeResponse with attribute values.public static GetTokenByOneTimePasscodeResponse.Builder builder()
GetTokenByOneTimePasscodeResponse.Copyright © 2017 Pivotal Software, Inc.. All rights reserved.