Class GetPrivilegesResponse
java.lang.Object
org.elasticsearch.client.security.GetPrivilegesResponse
public final class GetPrivilegesResponse
extends java.lang.Object
Get application privileges response
-
Constructor Summary
Constructors Constructor Description GetPrivilegesResponse(java.util.Collection<ApplicationPrivilege> privileges) -
Method Summary
Modifier and Type Method Description booleanequals(java.lang.Object o)static GetPrivilegesResponsefromXContent(org.elasticsearch.common.xcontent.XContentParser parser)java.util.Set<ApplicationPrivilege>getPrivileges()inthashCode()
-
Constructor Details
-
Method Details
-
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:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()- Overrides:
hashCodein classjava.lang.Object
-