@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2021-12-10T19:11:23.904Z[Etc/UTC]") public class V1TokenReviewStatus extends Object
Modifier and Type | Field and Description |
---|---|
static String |
SERIALIZED_NAME_AUDIENCES |
static String |
SERIALIZED_NAME_AUTHENTICATED |
static String |
SERIALIZED_NAME_ERROR |
static String |
SERIALIZED_NAME_USER |
Constructor and Description |
---|
V1TokenReviewStatus() |
Modifier and Type | Method and Description |
---|---|
V1TokenReviewStatus |
addAudiencesItem(String audiencesItem) |
V1TokenReviewStatus |
audiences(List<String> audiences) |
V1TokenReviewStatus |
authenticated(Boolean authenticated) |
boolean |
equals(Object o) |
V1TokenReviewStatus |
error(String error) |
List<String> |
getAudiences()
Audiences are audience identifiers chosen by the authenticator that are compatible with both
the TokenReview and token.
|
Boolean |
getAuthenticated()
Authenticated indicates that the token was associated with a known user.
|
String |
getError()
Error indicates that the token couldn't be checked
|
V1UserInfo |
getUser()
Get user
|
int |
hashCode() |
void |
setAudiences(List<String> audiences) |
void |
setAuthenticated(Boolean authenticated) |
void |
setError(String error) |
void |
setUser(V1UserInfo user) |
String |
toString() |
V1TokenReviewStatus |
user(V1UserInfo user) |
public static final String SERIALIZED_NAME_AUDIENCES
public static final String SERIALIZED_NAME_AUTHENTICATED
public static final String SERIALIZED_NAME_ERROR
public static final String SERIALIZED_NAME_USER
public V1TokenReviewStatus audiences(List<String> audiences)
public V1TokenReviewStatus addAudiencesItem(String audiencesItem)
@Nullable public List<String> getAudiences()
public V1TokenReviewStatus authenticated(Boolean authenticated)
@Nullable public Boolean getAuthenticated()
public void setAuthenticated(Boolean authenticated)
public V1TokenReviewStatus error(String error)
@Nullable public String getError()
public void setError(String error)
public V1TokenReviewStatus user(V1UserInfo user)
@Nullable public V1UserInfo getUser()
public void setUser(V1UserInfo user)
Copyright © 2022. All rights reserved.