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:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<InvalidateTokenResponse>Json deserializer forInvalidateTokenResponse -
Method Summary
Modifier and TypeMethodDescriptionfinal longRequired - The number of errors that were encountered when invalidating the tokens.final List<ErrorCause>Details about the errors.final longRequired - The number of the tokens that were invalidated as part of this request.static InvalidateTokenResponsefinal longRequired - The number of tokens that were already invalidated.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidtoString()
-
Field Details
-
_DESERIALIZER
Json deserializer forInvalidateTokenResponse
-
-
Method Details
-
of
public static InvalidateTokenResponse of(Function<InvalidateTokenResponse.Builder, ObjectBuilder<InvalidateTokenResponse>> fn) -
errorCount
public final long errorCount()Required - The number of errors that were encountered when invalidating the tokens.API name:
error_count -
errorDetails
Details about the errors. This field is not present in the response whenerror_countis0.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
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupInvalidateTokenResponseDeserializer
protected static void setupInvalidateTokenResponseDeserializer(ObjectDeserializer<InvalidateTokenResponse.Builder> op)
-