Class GetPrivilegesResponse

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

public final class GetPrivilegesResponse
extends java.lang.Object
Get application privileges response
  • Constructor Details

    • GetPrivilegesResponse

      public GetPrivilegesResponse​(java.util.Collection<ApplicationPrivilege> privileges)
  • Method Details

    • getPrivileges

      public java.util.Set<ApplicationPrivilege> getPrivileges()
    • fromXContent

      public static GetPrivilegesResponse fromXContent​(org.elasticsearch.common.xcontent.XContentParser parser) throws java.io.IOException
      Throws:
      java.io.IOException
    • 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