Class VersionDeleteInfo

java.lang.Object
com.sas.lsaf.content.repository.VersionDeleteInfo
All Implemented Interfaces:
Serializable

public final class VersionDeleteInfo extends Object implements Serializable
The class that represents the status of a deleted version when calling deleteVersions.
Since:
2.4
See Also:
  • Constructor Details

    • VersionDeleteInfo

      public VersionDeleteInfo(String version, VersionDeleteInfo.DeleteStatus deleteStatus)
      It is not intended or recommended that the consumer of the API construct this object. They should only be retrieved from service calls, such as deleteVersions.
      Parameters:
      version - The version specified to delete.
      deleteStatus - The deletion status of the version specified.
  • Method Details

    • getVersion

      public String getVersion()
      Gets the version that was specified to delete.
      Returns:
      The version specified to delete.
    • getDeleteStatus

      public VersionDeleteInfo.DeleteStatus getDeleteStatus()
      Gets the deletion status of the version specified.
      Returns:
      The deletion status of the version specified.
    • hashCode

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

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object