Class InvalidateApiKeyResponse
java.lang.Object
co.elastic.clients.elasticsearch.security.InvalidateApiKeyResponse
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable
public class InvalidateApiKeyResponse
extends Object
implements JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<InvalidateApiKeyResponse>Json deserializer forInvalidateApiKeyResponse -
Method Summary
Modifier and TypeMethodDescriptionfinal intRequired - The number of errors that were encountered when invalidating the API keys.final List<ErrorCause>Details about the errors.Required - The IDs of the API keys that were invalidated as part of this request.static InvalidateApiKeyResponseRequired - The IDs of the API keys 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 forInvalidateApiKeyResponse
-
-
Method Details
-
of
public static InvalidateApiKeyResponse of(Function<InvalidateApiKeyResponse.Builder, ObjectBuilder<InvalidateApiKeyResponse>> fn) -
errorCount
public final int errorCount()Required - The number of errors that were encountered when invalidating the API keys.API name:
error_count -
errorDetails
Details about the errors. This field is not present in the response whenerror_countis0.API name:
error_details -
invalidatedApiKeys
Required - The IDs of the API keys that were invalidated as part of this request.API name:
invalidated_api_keys -
previouslyInvalidatedApiKeys
Required - The IDs of the API keys that were already invalidated.API name:
previously_invalidated_api_keys -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupInvalidateApiKeyResponseDeserializer
protected static void setupInvalidateApiKeyResponseDeserializer(ObjectDeserializer<InvalidateApiKeyResponse.Builder> op)
-