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
    boolean equals​(java.lang.Object o)  
    static DeleteRoleMappingResponse fromXContent​(org.elasticsearch.common.xcontent.XContentParser parser)  
    int hashCode()  
    boolean isFound()  

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • DeleteRoleMappingResponse

      public DeleteRoleMappingResponse​(boolean deleted)
  • Method Details

    • isFound

      public boolean isFound()
    • equals

      public boolean equals​(java.lang.Object o)
      Overrides:
      equals in class java.lang.Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class java.lang.Object
    • fromXContent

      public static DeleteRoleMappingResponse fromXContent​(org.elasticsearch.common.xcontent.XContentParser parser) throws java.io.IOException
      Throws:
      java.io.IOException