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 int
Required - 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 InvalidateApiKeyResponse
Required - The IDs of the API keys 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 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_count
is0
.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:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupInvalidateApiKeyResponseDeserializer
protected static void setupInvalidateApiKeyResponseDeserializer(ObjectDeserializer<InvalidateApiKeyResponse.Builder> op)
-