Class InvalidateTokenResponse
java.lang.Object
co.elastic.clients.elasticsearch.security.InvalidateTokenResponse
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class InvalidateTokenResponse extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classInvalidateTokenResponse.BuilderBuilder forInvalidateTokenResponse. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<InvalidateTokenResponse>_DESERIALIZERJson deserializer forInvalidateTokenResponse -
Method Summary
Modifier and Type Method Description longerrorCount()Required - API name:error_countjava.util.List<ErrorCause>errorDetails()API name:error_detailslonginvalidatedTokens()Required - API name:invalidated_tokensstatic InvalidateTokenResponseof(java.util.function.Function<InvalidateTokenResponse.Builder,ObjectBuilder<InvalidateTokenResponse>> fn)longpreviouslyInvalidatedTokens()Required - API name:previously_invalidated_tokensvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupInvalidateTokenResponseDeserializer(ObjectDeserializer<InvalidateTokenResponse.Builder> op)java.lang.StringtoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forInvalidateTokenResponse
-
-
Method Details
-
of
public static InvalidateTokenResponse of(java.util.function.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:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
setupInvalidateTokenResponseDeserializer
protected static void setupInvalidateTokenResponseDeserializer(ObjectDeserializer<InvalidateTokenResponse.Builder> op)
-