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 boolean
equals(java.lang.Object o)
static GetPrivilegesResponse
fromXContent(XContentParser parser)
java.util.Set<ApplicationPrivilege>
getPrivileges()
int
hashCode()
-
-
-
Constructor Detail
-
GetPrivilegesResponse
public GetPrivilegesResponse(java.util.Collection<ApplicationPrivilege> privileges)
-
-
Method Detail
-
getPrivileges
public java.util.Set<ApplicationPrivilege> getPrivileges()
-
fromXContent
public static GetPrivilegesResponse fromXContent(XContentParser parser) throws java.io.IOException
- Throws:
java.io.IOException
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-