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 GetUserProfileErrorserrors()API name:errorsstatic GetUserProfileResponsefinal List<UserProfileWithMetadata>profiles()Required - A successful call returns the JSON representation of the user profile and its internal versioning numbers.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidtoString()
-
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:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupGetUserProfileResponseDeserializer
protected static void setupGetUserProfileResponseDeserializer(ObjectDeserializer<GetUserProfileResponse.Builder> op)
-