Class GetUserPrivilegesResponse
java.lang.Object
co.elastic.clients.elasticsearch.security.GetUserPrivilegesResponse
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class GetUserPrivilegesResponse extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GetUserPrivilegesResponse.Builder
Builder forGetUserPrivilegesResponse
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<GetUserPrivilegesResponse>
_DESERIALIZER
Json deserializer forGetUserPrivilegesResponse
-
Method Summary
Modifier and Type Method Description java.util.List<ApplicationPrivileges>
applications()
Required - API name:applications
java.util.List<java.lang.String>
cluster()
Required - API name:cluster
java.util.List<GlobalPrivilege>
global()
Required - API name:global
java.util.List<IndicesPrivileges>
indices()
Required - API name:indices
static GetUserPrivilegesResponse
of(java.util.function.Function<GetUserPrivilegesResponse.Builder,ObjectBuilder<GetUserPrivilegesResponse>> fn)
java.util.List<java.lang.String>
runAs()
Required - API name:run_as
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
setupGetUserPrivilegesResponseDeserializer(ObjectDeserializer<GetUserPrivilegesResponse.Builder> op)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forGetUserPrivilegesResponse
-
-
Method Details
-
of
public static GetUserPrivilegesResponse of(java.util.function.Function<GetUserPrivilegesResponse.Builder,ObjectBuilder<GetUserPrivilegesResponse>> fn) -
applications
Required - API name:applications
-
cluster
public final java.util.List<java.lang.String> cluster()Required - API name:cluster
-
global
Required - API name:global
-
indices
Required - API name:indices
-
runAs
public final java.util.List<java.lang.String> runAs()Required - API name:run_as
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupGetUserPrivilegesResponseDeserializer
protected static void setupGetUserPrivilegesResponseDeserializer(ObjectDeserializer<GetUserPrivilegesResponse.Builder> op)
-