Class V1TokenRequestStatus

java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1TokenRequestStatus

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V1TokenRequestStatus extends Object
TokenRequestStatus is the result of a token request.
  • Field Details

  • Constructor Details

    • V1TokenRequestStatus

      public V1TokenRequestStatus(ZonedDateTime expirationTimestamp, String token)
  • Method Details

    • getExpirationTimestamp

      public ZonedDateTime getExpirationTimestamp()
      ExpirationTimestamp is the time of expiration of the returned token.
      Returns:
      the expirationTimestamp property value
    • setExpirationTimestamp

      public void setExpirationTimestamp(ZonedDateTime expirationTimestamp)
      Set the expirationTimestamp property value
      Parameters:
      expirationTimestamp - property value to set
    • expirationTimestamp

      public V1TokenRequestStatus expirationTimestamp(ZonedDateTime expirationTimestamp)
      Set expirationTimestamp in a chainable fashion.
      Returns:
      The same instance of V1TokenRequestStatus for chaining.
    • getToken

      public String getToken()
      Token is the opaque bearer token.
      Returns:
      the token property value
    • setToken

      public void setToken(String token)
      Set the token property value
      Parameters:
      token - property value to set
    • token

      public V1TokenRequestStatus token(String token)
      Set token in a chainable fashion.
      Returns:
      The same instance of V1TokenRequestStatus for chaining.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object