Class BulkDeleteResponse

java.lang.Object
org.jclouds.openstack.swift.v1.domain.BulkDeleteResponse

public class BulkDeleteResponse extends Object
Represents a response from a Bulk Delete request.
See Also:
  • Method Details

    • create

      public static BulkDeleteResponse create(int deleted, int notFound, Map<String,String> errors)
    • getDeleted

      public int getDeleted()
      Returns:
      The number of files deleted.
    • getNotFound

      public int getNotFound()
      Returns:
      The number of files not found.
    • getErrors

      public Map<String,String> getErrors()
      Returns:
      a Map<String, String> containing each path that failed to be deleted and its corresponding error response.
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • string

      protected com.google.common.base.MoreObjects.ToStringHelper string()
    • toString

      public String toString()
      Overrides:
      toString in class Object