@Generated(value={"Immutables.generator","_GetTokenByClientCredentialsResponse"}) public final class GetTokenByClientCredentialsResponse extends AbstractToken
Modifier and Type | Class and Description |
---|---|
static class |
GetTokenByClientCredentialsResponse.Builder
Builds instances of type
GetTokenByClientCredentialsResponse . |
Modifier and Type | Method and Description |
---|---|
static GetTokenByClientCredentialsResponse.Builder |
builder()
Creates a builder for
GetTokenByClientCredentialsResponse . |
boolean |
equals(Object another)
This instance is equal to all instances of
GetTokenByClientCredentialsResponse that have equal attribute values. |
String |
getAccessToken()
The access token
|
Integer |
getExpiresInSeconds()
The number of seconds until token expiry
|
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:
accessToken , expiresInSeconds , scopes , tokenId , tokenType . |
String |
toString()
Prints the immutable value
GetTokenByClientCredentialsResponse with attribute values. |
public String getAccessToken()
getAccessToken
in class AbstractToken
public Integer getExpiresInSeconds()
getExpiresInSeconds
in class AbstractToken
public String getScopes()
getScopes
in class AbstractToken
public String getTokenId()
getTokenId
in class AbstractToken
public String getTokenType()
getTokenType
in class AbstractToken
public boolean equals(Object another)
GetTokenByClientCredentialsResponse
that have equal attribute values.public int hashCode()
accessToken
, expiresInSeconds
, scopes
, tokenId
, tokenType
.public String toString()
GetTokenByClientCredentialsResponse
with attribute values.public static GetTokenByClientCredentialsResponse.Builder builder()
GetTokenByClientCredentialsResponse
.Copyright © 2018 Pivotal Software, Inc.. All rights reserved.