Class ActivateUserProfileRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.security.ActivateUserProfileRequest
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class ActivateUserProfileRequest extends RequestBase implements JsonpSerializable
Creates or updates a user profile on behalf of another user.
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classActivateUserProfileRequest.BuilderBuilder forActivateUserProfileRequest.Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>> -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<ActivateUserProfileRequest>_DESERIALIZERJson deserializer forActivateUserProfileRequeststatic Endpoint<ActivateUserProfileRequest,ActivateUserProfileResponse,ErrorResponse>_ENDPOINTEndpoint "security.activate_user_profile". -
Method Summary
Modifier and Type Method Description java.lang.StringaccessToken()API name:access_tokenGrantTypegrantType()Required - API name:grant_typestatic ActivateUserProfileRequestof(java.util.function.Function<ActivateUserProfileRequest.Builder,ObjectBuilder<ActivateUserProfileRequest>> fn)java.lang.Stringpassword()API name:passwordvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupActivateUserProfileRequestDeserializer(ObjectDeserializer<ActivateUserProfileRequest.Builder> op)java.lang.Stringusername()API name:usernameMethods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forActivateUserProfileRequest -
_ENDPOINT
public static final Endpoint<ActivateUserProfileRequest,ActivateUserProfileResponse,ErrorResponse> _ENDPOINTEndpoint "security.activate_user_profile".
-
-
Method Details
-
of
public static ActivateUserProfileRequest of(java.util.function.Function<ActivateUserProfileRequest.Builder,ObjectBuilder<ActivateUserProfileRequest>> fn) -
accessToken
@Nullable public final java.lang.String accessToken()API name:access_token -
grantType
Required - API name:grant_type -
password
@Nullable public final java.lang.String password()API name:password -
username
@Nullable public final java.lang.String username()API name:username -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupActivateUserProfileRequestDeserializer
protected static void setupActivateUserProfileRequestDeserializer(ObjectDeserializer<ActivateUserProfileRequest.Builder> op)
-