Class GetUserProfileResponse
java.lang.Object
co.elastic.clients.elasticsearch.security.GetUserProfileResponse
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable
public class GetUserProfileResponse
extends Object
implements JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<GetUserProfileResponse>
Json deserializer forGetUserProfileResponse
-
Method Summary
Modifier and TypeMethodDescriptionfinal GetUserProfileErrors
errors()
API name:errors
static GetUserProfileResponse
final List<UserProfileWithMetadata>
profiles()
Required - A successful call returns the JSON representation of the user profile and its internal versioning numbers.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()
-
Field Details
-
_DESERIALIZER
Json deserializer forGetUserProfileResponse
-
-
Method Details
-
of
public static GetUserProfileResponse of(Function<GetUserProfileResponse.Builder, ObjectBuilder<GetUserProfileResponse>> fn) -
profiles
Required - A successful call returns the JSON representation of the user profile and its internal versioning numbers. The API returns an empty object if no profile document is found for the provideduid
. The content of the data field is not returned by default to avoid deserializing a potential large payload.API name:
profiles
-
errors
API name:errors
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupGetUserProfileResponseDeserializer
protected static void setupGetUserProfileResponseDeserializer(ObjectDeserializer<GetUserProfileResponse.Builder> op)
-