Class GetRoleMappingsResponse

java.lang.Object
org.elasticsearch.client.security.GetRoleMappingsResponse

public final class GetRoleMappingsResponse
extends java.lang.Object
Get role mappings response
  • Constructor Details

    • GetRoleMappingsResponse

      public GetRoleMappingsResponse​(java.util.List<ExpressionRoleMapping> mappings)
  • Method Details

    • getMappings

      public java.util.List<ExpressionRoleMapping> getMappings()
    • 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 GetRoleMappingsResponse fromXContent​(org.elasticsearch.common.xcontent.XContentParser parser) throws java.io.IOException
      Throws:
      java.io.IOException