Class HasPrivilegesResponse
java.lang.Object
co.elastic.clients.elasticsearch.security.HasPrivilegesResponse
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<HasPrivilegesResponse>Json deserializer forHasPrivilegesResponse -
Method Summary
Modifier and TypeMethodDescriptionRequired - API name:applicationcluster()Required - API name:clusterfinal booleanRequired - API name:has_all_requestedindex()Required - API name:indexstatic HasPrivilegesResponsevoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidtoString()final Stringusername()Required - API name:username
-
Field Details
-
_DESERIALIZER
Json deserializer forHasPrivilegesResponse
-
-
Method Details
-
of
public static HasPrivilegesResponse of(Function<HasPrivilegesResponse.Builder, ObjectBuilder<HasPrivilegesResponse>> fn) -
application
Required - API name:application -
cluster
Required - API name:cluster -
hasAllRequested
public final boolean hasAllRequested()Required - API name:has_all_requested -
index
Required - API name:index -
username
Required - API name:username -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupHasPrivilegesResponseDeserializer
protected static void setupHasPrivilegesResponseDeserializer(ObjectDeserializer<HasPrivilegesResponse.Builder> op)
-