Class DeleteRoleMappingResponse
java.lang.Object
org.elasticsearch.client.security.DeleteRoleMappingResponse
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
-
Method Summary
Modifier and TypeMethodDescriptionboolean
static DeleteRoleMappingResponse
fromXContent
(org.elasticsearch.xcontent.XContentParser parser) int
hashCode()
boolean
isFound()
-
Constructor Details
-
DeleteRoleMappingResponse
public DeleteRoleMappingResponse(boolean deleted)
-
-
Method Details
-
isFound
public boolean isFound() -
equals
-
hashCode
public int hashCode() -
fromXContent
public static DeleteRoleMappingResponse fromXContent(org.elasticsearch.xcontent.XContentParser parser) throws IOException - Throws:
IOException
-