Class InvalidateApiKeyResponse
java.lang.Object
org.elasticsearch.client.security.InvalidateApiKeyResponse
public final class InvalidateApiKeyResponse
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description InvalidateApiKeyResponse(java.util.List<java.lang.String> invalidatedApiKeys, java.util.List<java.lang.String> previouslyInvalidatedApiKeys, java.util.List<ElasticsearchException> errors)Constructor for API keys invalidation response -
Method Summary
Modifier and Type Method Description static InvalidateApiKeyResponseemptyResponse()booleanequals(java.lang.Object obj)static InvalidateApiKeyResponsefromXContent(XContentParser parser)java.util.List<ElasticsearchException>getErrors()java.util.List<java.lang.String>getInvalidatedApiKeys()java.util.List<java.lang.String>getPreviouslyInvalidatedApiKeys()inthashCode()java.lang.StringtoString()
-
Constructor Details
-
InvalidateApiKeyResponse
public InvalidateApiKeyResponse(java.util.List<java.lang.String> invalidatedApiKeys, java.util.List<java.lang.String> previouslyInvalidatedApiKeys, @Nullable java.util.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 Details
-
emptyResponse
-
getInvalidatedApiKeys
public java.util.List<java.lang.String> getInvalidatedApiKeys() -
getPreviouslyInvalidatedApiKeys
public java.util.List<java.lang.String> getPreviouslyInvalidatedApiKeys() -
getErrors
-
fromXContent
public static InvalidateApiKeyResponse fromXContent(XContentParser parser) throws java.io.IOException- Throws:
java.io.IOException
-
hashCode
public int hashCode()- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)- Overrides:
equalsin classjava.lang.Object
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-