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 long
Required - The number of errors that were encountered when invalidating the tokens.final List<ErrorCause>
Details about the errors.final long
Required - The number of the tokens that were invalidated as part of this request.static InvalidateTokenResponse
final long
Required - The number of tokens that were already invalidated.void
serialize
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected void
serializeInternal
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static void
toString()
-
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_count
is0
.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:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupInvalidateTokenResponseDeserializer
protected static void setupInvalidateTokenResponseDeserializer(ObjectDeserializer<InvalidateTokenResponse.Builder> op)
-