Class DeleteRoleMappingResponse
- java.lang.Object
-
- org.elasticsearch.client.security.DeleteRoleMappingResponse
-
public final class DeleteRoleMappingResponse extends java.lang.ObjectResponse when deleting a role mapping. If the mapping is successfully deleted, the response returns a boolean field "found"true. Otherwise, "found" is set tofalse.
-
-
Constructor Summary
Constructors Constructor Description DeleteRoleMappingResponse(boolean deleted)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)static DeleteRoleMappingResponsefromXContent(XContentParser parser)inthashCode()booleanisFound()
-
-
-
Method Detail
-
isFound
public boolean isFound()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
fromXContent
public static DeleteRoleMappingResponse fromXContent(XContentParser parser) throws java.io.IOException
- Throws:
java.io.IOException
-
-