Class UserProfile
java.lang.Object
co.elastic.clients.elasticsearch.security.UserProfile
- All Implemented Interfaces:
JsonpSerializable
- Direct Known Subclasses:
UserProfileWithMetadata
- See Also:
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final JsonpDeserializer<UserProfile>
Json deserializer forUserProfile
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondata()
Required - API name:data
final Boolean
enabled()
API name:enabled
labels()
Required - API name:labels
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 <BuilderT extends UserProfile.AbstractBuilder<BuilderT>>
voidsetupUserProfileDeserializer
(ObjectDeserializer<BuilderT> op) toString()
final String
uid()
Required - API name:uid
final UserProfileUser
user()
Required - API name:user
static UserProfile
-
Field Details
-
_DESERIALIZER
Json deserializer forUserProfile
-
-
Constructor Details
-
UserProfile
-
-
Method Details
-
userProfileOf
public static UserProfile userProfileOf(Function<UserProfile.Builder, ObjectBuilder<UserProfile>> fn) -
uid
Required - API name:uid
-
user
Required - API name:user
-
data
Required - API name:data
-
labels
Required - API name:labels
-
enabled
API name:enabled
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupUserProfileDeserializer
protected static <BuilderT extends UserProfile.AbstractBuilder<BuilderT>> void setupUserProfileDeserializer(ObjectDeserializer<BuilderT> op)
-