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()  

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • 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 ids
      previouslyInvalidatedApiKeys - list of previously invalidated API key ids
      errors - list of encountered errors while invalidating API keys
  • Method Details

    • emptyResponse

      public static InvalidateApiKeyResponse 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 class java.lang.Object
    • equals

      public boolean equals​(java.lang.Object obj)
      Overrides:
      equals in class java.lang.Object
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object