Class DeleteRoleMappingResponse
- java.lang.Object
-
- org.elasticsearch.client.security.DeleteRoleMappingResponse
-
public final class DeleteRoleMappingResponse extends Object
Response 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(Object o)static DeleteRoleMappingResponsefromXContent(XContentParser parser)inthashCode()booleanisFound()
-
-
-
Method Detail
-
isFound
public boolean isFound()
-
fromXContent
public static DeleteRoleMappingResponse fromXContent(XContentParser parser) throws IOException
- Throws:
IOException
-
-