Class SuggestUserProfilesResponse
java.lang.Object
co.elastic.clients.elasticsearch.security.SuggestUserProfilesResponse
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable
public class SuggestUserProfilesResponse
extends Object
implements JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<SuggestUserProfilesResponse>Json deserializer forSuggestUserProfilesResponse -
Method Summary
Modifier and TypeMethodDescriptionstatic SuggestUserProfilesResponsefinal List<UserProfile>profiles()Required - A list of profile documents, ordered by relevance, that match the search criteria.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidsetupSuggestUserProfilesResponseDeserializer(ObjectDeserializer<SuggestUserProfilesResponse.Builder> op) final longtook()Required - The number of milliseconds it took Elasticsearch to run the request.toString()final TotalUserProfilestotal()Required - Metadata about the number of matching profiles.
-
Field Details
-
_DESERIALIZER
Json deserializer forSuggestUserProfilesResponse
-
-
Method Details
-
of
-
total
Required - Metadata about the number of matching profiles.API name:
total -
took
public final long took()Required - The number of milliseconds it took Elasticsearch to run the request.API name:
took -
profiles
Required - A list of profile documents, ordered by relevance, that match the search criteria.API name:
profiles -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupSuggestUserProfilesResponseDeserializer
protected static void setupSuggestUserProfilesResponseDeserializer(ObjectDeserializer<SuggestUserProfilesResponse.Builder> op)
-