Class DeleteRoleMappingResponse
java.lang.Object
org.elasticsearch.client.security.DeleteRoleMappingResponse
public final class DeleteRoleMappingResponse
extends java.lang.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 to false.-
Constructor Summary
Constructors Constructor Description DeleteRoleMappingResponse(boolean deleted) -
Method Summary
Modifier and Type Method Description booleanequals(java.lang.Object o)static DeleteRoleMappingResponsefromXContent(org.elasticsearch.common.xcontent.XContentParser parser)inthashCode()booleanisFound()
-
Constructor Details
-
DeleteRoleMappingResponse
public DeleteRoleMappingResponse(boolean deleted)
-
-
Method Details
-
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(org.elasticsearch.common.xcontent.XContentParser parser) throws java.io.IOException- Throws:
java.io.IOException
-