Class GetApiKeyResponse
- java.lang.Object
-
- org.elasticsearch.client.security.GetApiKeyResponse
-
public final class GetApiKeyResponse extends java.lang.ObjectResponse for get API keys.
The result contains information about the API keys that were found.
-
-
Constructor Summary
Constructors Constructor Description GetApiKeyResponse(java.util.List<ApiKey> foundApiKeysInfo)
-
Method Summary
Modifier and Type Method Description static GetApiKeyResponseemptyResponse()booleanequals(java.lang.Object obj)static GetApiKeyResponsefromXContent(XContentParser parser)java.util.List<ApiKey>getApiKeyInfos()inthashCode()java.lang.StringtoString()
-
-
-
Constructor Detail
-
GetApiKeyResponse
public GetApiKeyResponse(java.util.List<ApiKey> foundApiKeysInfo)
-
-
Method Detail
-
emptyResponse
public static GetApiKeyResponse emptyResponse()
-
getApiKeyInfos
public java.util.List<ApiKey> getApiKeyInfos()
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
fromXContent
public static GetApiKeyResponse fromXContent(XContentParser parser) throws java.io.IOException
- Throws:
java.io.IOException
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-