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 classGetUserPrivilegesResponse.BuilderBuilder forGetUserPrivilegesResponse. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<GetUserPrivilegesResponse>_DESERIALIZERJson deserializer forGetUserPrivilegesResponse -
Method Summary
Modifier and Type Method Description java.util.List<ApplicationPrivileges>applications()Required - API name:applicationsjava.util.List<java.lang.String>cluster()Required - API name:clusterjava.util.List<GlobalPrivilege>global()Required - API name:globaljava.util.List<IndicesPrivileges>indices()Required - In this contextIndicesPrivileges.queryproperty can only be a string, seeIndicesPrivilegesdocumentation for detail.static GetUserPrivilegesResponseof(java.util.function.Function<GetUserPrivilegesResponse.Builder,ObjectBuilder<GetUserPrivilegesResponse>> fn)java.util.List<java.lang.String>runAs()Required - API name:run_asvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupGetUserPrivilegesResponseDeserializer(ObjectDeserializer<GetUserPrivilegesResponse.Builder> op)java.lang.StringtoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, 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 - In this contextIndicesPrivileges.queryproperty can only be a string, seeIndicesPrivilegesdocumentation for detail.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:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
setupGetUserPrivilegesResponseDeserializer
protected static void setupGetUserPrivilegesResponseDeserializer(ObjectDeserializer<GetUserPrivilegesResponse.Builder> op)
-