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 int
count()
Required - The number of users returned in the response.static QueryUserResponse
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
toString()
final int
total()
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:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupQueryUserResponseDeserializer
protected static void setupQueryUserResponseDeserializer(ObjectDeserializer<QueryUserResponse.Builder> op)
-