Class DocumentRevisionStatus

java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.cloud.cloudant.v1.model.DocumentRevisionStatus
All Implemented Interfaces:
ObjectModel

public class DocumentRevisionStatus extends GenericModel
Schema for information about revisions and their status.
  • Method Details

    • newBuilder

      public DocumentRevisionStatus.Builder newBuilder()
      New builder.
      Returns:
      a DocumentRevisionStatus builder
    • rev

      public String rev()
      Gets the rev. Schema for a document revision identifier.
      Returns:
      the rev
    • status

      public String status()
      Gets the status. Status of the revision. May be one of: - `available`: Revision is available for retrieving with rev query parameter - `missing`: Revision is not available - `deleted`: Revision belongs to deleted document.
      Returns:
      the status