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<org.elasticsearch.ElasticsearchException> errors)
Constructor for API keys invalidation response -
Method Summary
Modifier and Type Method Description static InvalidateApiKeyResponse
emptyResponse()
boolean
equals(java.lang.Object obj)
static InvalidateApiKeyResponse
fromXContent(org.elasticsearch.common.xcontent.XContentParser parser)
java.util.List<org.elasticsearch.ElasticsearchException>
getErrors()
java.util.List<java.lang.String>
getInvalidatedApiKeys()
java.util.List<java.lang.String>
getPreviouslyInvalidatedApiKeys()
int
hashCode()
java.lang.String
toString()
-
Constructor Details
-
InvalidateApiKeyResponse
public InvalidateApiKeyResponse(java.util.List<java.lang.String> invalidatedApiKeys, java.util.List<java.lang.String> previouslyInvalidatedApiKeys, @Nullable java.util.List<org.elasticsearch.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
public java.util.List<org.elasticsearch.ElasticsearchException> getErrors() -
fromXContent
public static InvalidateApiKeyResponse fromXContent(org.elasticsearch.common.xcontent.XContentParser parser) throws java.io.IOException- Throws:
java.io.IOException
-
hashCode
public int hashCode()- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)- Overrides:
equals
in classjava.lang.Object
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-