Class QueryUserResponse
java.lang.Object
co.elastic.clients.elasticsearch.security.QueryUserResponse
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<QueryUserResponse>Json deserializer forQueryUserResponse -
Method Summary
Modifier and TypeMethodDescriptionfinal intcount()Required - The number of users returned in the response.static QueryUserResponsevoidserialize(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 users found.users()Required - A list of users that match the query.
-
Field Details
-
_DESERIALIZER
Json deserializer forQueryUserResponse
-
-
Method Details
-
of
public static QueryUserResponse of(Function<QueryUserResponse.Builder, ObjectBuilder<QueryUserResponse>> fn) -
total
public final int total()Required - The total number of users found.API name:
total -
count
public final int count()Required - The number of users returned in the response.API name:
count -
users
Required - A list of users that match the query.API name:
users -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupQueryUserResponseDeserializer
protected static void setupQueryUserResponseDeserializer(ObjectDeserializer<QueryUserResponse.Builder> op)
-