Class SuggestUserProfilesResponse
java.lang.Object
co.elastic.clients.elasticsearch.security.SuggestUserProfilesResponse
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class SuggestUserProfilesResponse extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSuggestUserProfilesResponse.BuilderBuilder forSuggestUserProfilesResponse. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<SuggestUserProfilesResponse>_DESERIALIZERJson deserializer forSuggestUserProfilesResponse -
Method Summary
Modifier and Type Method Description static SuggestUserProfilesResponseof(java.util.function.Function<SuggestUserProfilesResponse.Builder,ObjectBuilder<SuggestUserProfilesResponse>> fn)java.util.List<UserProfile>profiles()Required - API name:profilesvoidserialize(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)longtook()Required - API name:tookjava.lang.StringtoString()TotalUserProfilestotal()Required - API name:totalMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forSuggestUserProfilesResponse
-
-
Method Details
-
of
public static SuggestUserProfilesResponse of(java.util.function.Function<SuggestUserProfilesResponse.Builder,ObjectBuilder<SuggestUserProfilesResponse>> fn) -
total
Required - API name:total -
took
public final long took()Required - API name:took -
profiles
Required - API name:profiles -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
setupSuggestUserProfilesResponseDeserializer
protected static void setupSuggestUserProfilesResponseDeserializer(ObjectDeserializer<SuggestUserProfilesResponse.Builder> op)
-