Class UserProfile
java.lang.Object
co.elastic.clients.elasticsearch.security.UserProfile
- All Implemented Interfaces:
JsonpSerializable
- Direct Known Subclasses:
UserProfileWithMetadata
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<UserProfile>Json deserializer forUserProfile -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondata()Required - API name:datafinal Booleanenabled()API name:enabledlabels()Required - API name:labelsvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static <BuilderT extends UserProfile.AbstractBuilder<BuilderT>>
voidsetupUserProfileDeserializer(ObjectDeserializer<BuilderT> op) toString()final Stringuid()Required - API name:uidfinal UserProfileUseruser()Required - API name:userstatic 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:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupUserProfileDeserializer
protected static <BuilderT extends UserProfile.AbstractBuilder<BuilderT>> void setupUserProfileDeserializer(ObjectDeserializer<BuilderT> op)
-