Class QueryApiKeysResponse
java.lang.Object
co.elastic.clients.elasticsearch.security.QueryApiKeysResponse
- All Implemented Interfaces:
- JsonpSerializable
- See Also:
- 
Nested Class SummaryNested Classes
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<QueryApiKeysResponse>Json deserializer forQueryApiKeysResponse
- 
Method SummaryModifier 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- 
_DESERIALIZERJson deserializer forQueryApiKeysResponse
 
- 
- 
Method Details- 
ofpublic static QueryApiKeysResponse of(Function<QueryApiKeysResponse.Builder, ObjectBuilder<QueryApiKeysResponse>> fn) 
- 
totalpublic final int total()Required - The total number of API keys found.API name: total
- 
countpublic final int count()Required - The number of API keys returned in the response.API name: count
- 
apiKeysRequired - A list of API key information.API name: api_keys
- 
aggregationsThe aggregations result, if requested.API name: aggregations
- 
serializeSerialize this object to JSON.- Specified by:
- serializein interface- JsonpSerializable
 
- 
serializeInternal
- 
toString
- 
setupQueryApiKeysResponseDeserializerprotected static void setupQueryApiKeysResponseDeserializer(ObjectDeserializer<QueryApiKeysResponse.Builder> op) 
 
-