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 SuggestUserProfilesResponse
final List<UserProfile>
profiles()
Required - A list of profile documents, ordered by relevance, that match the search criteria.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
setupSuggestUserProfilesResponseDeserializer
(ObjectDeserializer<SuggestUserProfilesResponse.Builder> op) final long
took()
Required - The number of milliseconds it took Elasticsearch to run the request.toString()
final TotalUserProfiles
total()
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:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupSuggestUserProfilesResponseDeserializer
protected static void setupSuggestUserProfilesResponseDeserializer(ObjectDeserializer<SuggestUserProfilesResponse.Builder> op)
-