Class DeletePrivilegesResponse
java.lang.Object
org.elasticsearch.client.security.DeletePrivilegesResponse
public final class DeletePrivilegesResponse
extends java.lang.Object
Response for application privileges deletion
-
Method Summary
Modifier and Type Method Description static DeletePrivilegesResponse
fromXContent(XContentParser parser)
java.lang.String
getApplication()
boolean
isFound(java.lang.String privilege)
Indicates if the given privilege was successfully found and deleted from the list of application privileges.
-
Method Details
-
getApplication
public java.lang.String getApplication() -
isFound
public boolean isFound(java.lang.String privilege)Indicates if the given privilege was successfully found and deleted from the list of application privileges.- Parameters:
privilege
- the privilege- Returns:
- true if the privilege was found and deleted, false otherwise.
-
fromXContent
public static DeletePrivilegesResponse fromXContent(XContentParser parser) throws java.io.IOException- Throws:
java.io.IOException
-