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:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
HasPrivilegesUserProfileRequest.Builder
Builder forHasPrivilegesUserProfileRequest
.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<HasPrivilegesUserProfileRequest>
_DESERIALIZER
Json deserializer forHasPrivilegesUserProfileRequest
static Endpoint<HasPrivilegesUserProfileRequest,HasPrivilegesUserProfileResponse,ErrorResponse>
_ENDPOINT
Endpoint "security.has_privileges_user_profile
". -
Method Summary
Modifier and Type Method Description static HasPrivilegesUserProfileRequest
of(java.util.function.Function<HasPrivilegesUserProfileRequest.Builder,ObjectBuilder<HasPrivilegesUserProfileRequest>> fn)
PrivilegesCheck
privileges()
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)
java.util.List<java.lang.String>
uids()
Required - A list of profile IDs.Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forHasPrivilegesUserProfileRequest
-
_ENDPOINT
public static final Endpoint<HasPrivilegesUserProfileRequest,HasPrivilegesUserProfileResponse,ErrorResponse> _ENDPOINTEndpoint "security.has_privileges_user_profile
".
-
-
Method Details
-
of
public static HasPrivilegesUserProfileRequest of(java.util.function.Function<HasPrivilegesUserProfileRequest.Builder,ObjectBuilder<HasPrivilegesUserProfileRequest>> fn) -
privileges
Required - API name:privileges
-
uids
public final java.util.List<java.lang.String> 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)
-