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 tofalse
.
-
-
Constructor Summary
Constructors Constructor Description DeleteRoleMappingResponse(boolean deleted)
-
Method Summary
Modifier and Type Method Description boolean
equals(java.lang.Object o)
static DeleteRoleMappingResponse
fromXContent(XContentParser parser)
int
hashCode()
boolean
isFound()
-
-
-
Method Detail
-
isFound
public boolean isFound()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
fromXContent
public static DeleteRoleMappingResponse fromXContent(XContentParser parser) throws java.io.IOException
- Throws:
java.io.IOException
-
-