Class InvalidateApiKeyResponse
- java.lang.Object
-
- org.elasticsearch.client.security.InvalidateApiKeyResponse
-
public final class InvalidateApiKeyResponse extends Object
-
-
Constructor Summary
Constructors Constructor Description InvalidateApiKeyResponse(List<String> invalidatedApiKeys, List<String> previouslyInvalidatedApiKeys, List<ElasticsearchException> errors)Constructor for API keys invalidation response
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static InvalidateApiKeyResponseemptyResponse()booleanequals(Object obj)static InvalidateApiKeyResponsefromXContent(XContentParser parser)List<ElasticsearchException>getErrors()List<String>getInvalidatedApiKeys()List<String>getPreviouslyInvalidatedApiKeys()inthashCode()StringtoString()
-
-
-
Constructor Detail
-
InvalidateApiKeyResponse
public InvalidateApiKeyResponse(List<String> invalidatedApiKeys, List<String> previouslyInvalidatedApiKeys, @Nullable List<ElasticsearchException> errors)
Constructor for API keys invalidation response- Parameters:
invalidatedApiKeys- list of invalidated API key idspreviouslyInvalidatedApiKeys- list of previously invalidated API key idserrors- list of encountered errors while invalidating API keys
-
-
Method Detail
-
emptyResponse
public static InvalidateApiKeyResponse emptyResponse()
-
getErrors
public List<ElasticsearchException> getErrors()
-
fromXContent
public static InvalidateApiKeyResponse fromXContent(XContentParser parser) throws IOException
- Throws:
IOException
-
-