Class InvalidateApiKeyResponse
java.lang.Object
co.elastic.clients.elasticsearch.security.InvalidateApiKeyResponse
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class InvalidateApiKeyResponse extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
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
-
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
static InvalidateApiKeyResponse
of(java.util.function.Function<InvalidateApiKeyResponse.Builder,ObjectBuilder<InvalidateApiKeyResponse>> fn)
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(ObjectDeserializer<InvalidateApiKeyResponse.Builder> op)
java.lang.String
toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forInvalidateApiKeyResponse
-
-
Method Details
-
of
public static InvalidateApiKeyResponse of(java.util.function.Function<InvalidateApiKeyResponse.Builder,ObjectBuilder<InvalidateApiKeyResponse>> fn) -
errorCount
public final int errorCount()Required - API name:error_count
-
errorDetails
API name:error_details
-
invalidatedApiKeys
public final java.util.List<java.lang.String> invalidatedApiKeys()Required - API name:invalidated_api_keys
-
previouslyInvalidatedApiKeys
public final 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
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
setupInvalidateApiKeyResponseDeserializer
protected static void setupInvalidateApiKeyResponseDeserializer(ObjectDeserializer<InvalidateApiKeyResponse.Builder> op)
-