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
-
Field Summary
Modifier and TypeFieldDescriptionstatic final JsonpDeserializer<InvalidateTokenResponse>
Json deserializer forInvalidateTokenResponse
-
Method Summary
Modifier and TypeMethodDescriptionfinal long
Required - API name:error_count
final List<ErrorCause>
API name:error_details
final long
Required - API name:invalidated_tokens
static InvalidateTokenResponse
final long
Required - API name:previously_invalidated_tokens
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 - API name:error_count
-
errorDetails
API name:error_details
-
invalidatedTokens
public final long invalidatedTokens()Required - API name:invalidated_tokens
-
previouslyInvalidatedTokens
public final long previouslyInvalidatedTokens()Required - 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)
-