Class QueryApiKeysResponse
java.lang.Object
co.elastic.clients.elasticsearch.security.QueryApiKeysResponse
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<QueryApiKeysResponse>Json deserializer forQueryApiKeysResponse -
Method Summary
Modifier and TypeMethodDescriptionfinal Map<String,ApiKeyAggregate> The aggregations result, if requested.apiKeys()Required - A list of API key information.final intcount()Required - The number of API keys returned in the response.static QueryApiKeysResponsevoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidtoString()final inttotal()Required - The total number of API keys found.
-
Field Details
-
_DESERIALIZER
Json deserializer forQueryApiKeysResponse
-
-
Method Details
-
of
public static QueryApiKeysResponse of(Function<QueryApiKeysResponse.Builder, ObjectBuilder<QueryApiKeysResponse>> fn) -
total
public final int total()Required - The total number of API keys found.API name:
total -
count
public final int count()Required - The number of API keys returned in the response.API name:
count -
apiKeys
Required - A list of API key information.API name:
api_keys -
aggregations
The aggregations result, if requested.API name:
aggregations -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupQueryApiKeysResponseDeserializer
protected static void setupQueryApiKeysResponseDeserializer(ObjectDeserializer<QueryApiKeysResponse.Builder> op)
-