Class HasPrivilegesUserProfileRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.security.HasPrivilegesUserProfileRequest
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable
public class HasPrivilegesUserProfileRequest
extends RequestBase
implements JsonpSerializable
Determines whether the users associated with the specified profile IDs have
all the requested privileges.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>>
-
Field Summary
Modifier and TypeFieldDescriptionstatic final JsonpDeserializer<HasPrivilegesUserProfileRequest>
Json deserializer forHasPrivilegesUserProfileRequest
static final Endpoint<HasPrivilegesUserProfileRequest,
HasPrivilegesUserProfileResponse, ErrorResponse> Endpoint "security.has_privileges_user_profile
". -
Method Summary
Modifier and TypeMethodDescriptionof
(Function<HasPrivilegesUserProfileRequest.Builder, ObjectBuilder<HasPrivilegesUserProfileRequest>> fn) final PrivilegesCheck
Required - API name:privileges
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
setupHasPrivilegesUserProfileRequestDeserializer
(ObjectDeserializer<HasPrivilegesUserProfileRequest.Builder> op) uids()
Required - A list of profile IDs.Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
-
Field Details
-
_DESERIALIZER
Json deserializer forHasPrivilegesUserProfileRequest
-
_ENDPOINT
public static final Endpoint<HasPrivilegesUserProfileRequest,HasPrivilegesUserProfileResponse, _ENDPOINTErrorResponse> Endpoint "security.has_privileges_user_profile
".
-
-
Method Details
-
of
-
privileges
Required - API name:privileges
-
uids
Required - A list of profile IDs. The privileges are checked for associated users of the profiles.API name:
uids
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupHasPrivilegesUserProfileRequestDeserializer
protected static void setupHasPrivilegesUserProfileRequestDeserializer(ObjectDeserializer<HasPrivilegesUserProfileRequest.Builder> op)
-