Class InvalidateTokenResponse

java.lang.Object
co.elastic.clients.elasticsearch.security.InvalidateTokenResponse
All Implemented Interfaces:
JsonpSerializable

@JsonpDeserializable public class InvalidateTokenResponse extends Object implements JsonpSerializable
See Also:
  • Field Details

  • Method Details

    • of

    • errorCount

      public final long errorCount()
      Required - The number of errors that were encountered when invalidating the tokens.

      API name: error_count

    • errorDetails

      public final List<ErrorCause> errorDetails()
      Details about the errors. This field is not present in the response when error_count is 0.

      API name: error_details

    • invalidatedTokens

      public final long invalidatedTokens()
      Required - The number of the tokens that were invalidated as part of this request.

      API name: invalidated_tokens

    • previouslyInvalidatedTokens

      public final long previouslyInvalidatedTokens()
      Required - The number of tokens that were already invalidated.

      API name: previously_invalidated_tokens

    • serialize

      public void serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
      Serialize this object to JSON.
      Specified by:
      serialize in interface JsonpSerializable
    • serializeInternal

      protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • setupInvalidateTokenResponseDeserializer

      protected static void setupInvalidateTokenResponseDeserializer(ObjectDeserializer<InvalidateTokenResponse.Builder> op)