Class V1TokenRequestStatus
java.lang.Object
io.kubernetes.client.openapi.models.V1TokenRequestStatus
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-10-04T19:37:38.574271Z[Etc/UTC]",
comments="Generator version: 7.6.0")
public class V1TokenRequestStatus
extends Object
TokenRequestStatus is the result of a token request.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanexpirationTimestamp(OffsetDateTime expirationTimestamp) static V1TokenRequestStatusCreate an instance of V1TokenRequestStatus given an JSON stringExpirationTimestamp is the time of expiration of the returned token.getToken()Token is the opaque bearer token.inthashCode()voidsetExpirationTimestamp(OffsetDateTime expirationTimestamp) voidtoJson()Convert an instance of V1TokenRequestStatus to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_EXPIRATION_TIMESTAMP
- See Also:
-
SERIALIZED_NAME_TOKEN
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
V1TokenRequestStatus
public V1TokenRequestStatus()
-
-
Method Details
-
expirationTimestamp
-
getExpirationTimestamp
ExpirationTimestamp is the time of expiration of the returned token.- Returns:
- expirationTimestamp
-
setExpirationTimestamp
-
token
-
getToken
Token is the opaque bearer token.- Returns:
- token
-
setToken
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
Validates the JSON Element and throws an exception if issues found- Parameters:
jsonElement- JSON Element- Throws:
IOException- if the JSON Element is invalid with respect to V1TokenRequestStatus
-
fromJson
Create an instance of V1TokenRequestStatus given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of V1TokenRequestStatus
- Throws:
IOException- if the JSON string is invalid with respect to V1TokenRequestStatus
-
toJson
Convert an instance of V1TokenRequestStatus to an JSON string- Returns:
- JSON string
-