Class InvalidateApiKeyResponse
java.lang.Object
co.elastic.clients.elasticsearch.security.InvalidateApiKeyResponse
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class InvalidateApiKeyResponse extends java.lang.Object implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
InvalidateApiKeyResponse.Builder
Builder forInvalidateApiKeyResponse
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<InvalidateApiKeyResponse>
_DESERIALIZER
Json deserializer forInvalidateApiKeyResponse
-
Constructor Summary
Constructors Constructor Description InvalidateApiKeyResponse(InvalidateApiKeyResponse.Builder builder)
InvalidateApiKeyResponse(java.util.function.Function<InvalidateApiKeyResponse.Builder,InvalidateApiKeyResponse.Builder> fn)
-
Method Summary
Modifier and Type Method Description int
errorCount()
Required - API name:error_count
java.util.List<ErrorCause>
errorDetails()
API name:error_details
java.util.List<java.lang.String>
invalidatedApiKeys()
Required - API name:invalidated_api_keys
java.util.List<java.lang.String>
previouslyInvalidatedApiKeys()
Required - API name:previously_invalidated_api_keys
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
setupInvalidateApiKeyResponseDeserializer(DelegatingDeserializer<InvalidateApiKeyResponse.Builder> op)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forInvalidateApiKeyResponse
-
-
Constructor Details
-
InvalidateApiKeyResponse
-
InvalidateApiKeyResponse
public InvalidateApiKeyResponse(java.util.function.Function<InvalidateApiKeyResponse.Builder,InvalidateApiKeyResponse.Builder> fn)
-
-
Method Details
-
errorCount
public int errorCount()Required - API name:error_count
-
errorDetails
API name:error_details
-
invalidatedApiKeys
public java.util.List<java.lang.String> invalidatedApiKeys()Required - API name:invalidated_api_keys
-
previouslyInvalidatedApiKeys
public java.util.List<java.lang.String> previouslyInvalidatedApiKeys()Required - API name:previously_invalidated_api_keys
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupInvalidateApiKeyResponseDeserializer
protected static void setupInvalidateApiKeyResponseDeserializer(DelegatingDeserializer<InvalidateApiKeyResponse.Builder> op)
-