Class GetApiKeyResponse
- java.lang.Object
-
- org.elasticsearch.client.security.GetApiKeyResponse
-
public final class GetApiKeyResponse extends java.lang.Object
Response 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 GetApiKeyResponse
emptyResponse()
boolean
equals(java.lang.Object obj)
static GetApiKeyResponse
fromXContent(XContentParser parser)
java.util.List<ApiKey>
getApiKeyInfos()
int
hashCode()
java.lang.String
toString()
-
-
-
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:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in 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:
toString
in classjava.lang.Object
-
-