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 classHasPrivilegesUserProfileRequest.BuilderBuilder 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>_DESERIALIZERJson deserializer forHasPrivilegesUserProfileRequeststatic Endpoint<HasPrivilegesUserProfileRequest,HasPrivilegesUserProfileResponse,ErrorResponse>_ENDPOINTEndpoint "security.has_privileges_user_profile". -
Method Summary
Modifier and Type Method Description static HasPrivilegesUserProfileRequestof(java.util.function.Function<HasPrivilegesUserProfileRequest.Builder,ObjectBuilder<HasPrivilegesUserProfileRequest>> fn)PrivilegesCheckprivileges()Required - API name:privilegesvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupHasPrivilegesUserProfileRequestDeserializer(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
toStringMethods 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:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupHasPrivilegesUserProfileRequestDeserializer
protected static void setupHasPrivilegesUserProfileRequestDeserializer(ObjectDeserializer<HasPrivilegesUserProfileRequest.Builder> op)
-