Package com.ibm.cloud.cloudant.v1.model
Class DocumentRevisionStatus
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.cloud.cloudant.v1.model.DocumentRevisionStatus
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class DocumentRevisionStatus
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Schema for information about revisions and their status.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Builder.static interface
Status of the revision. -
Method Summary
Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Method Details
-
newBuilder
New builder.- Returns:
- a DocumentRevisionStatus builder
-
rev
Gets the rev. Schema for a document revision identifier.- Returns:
- the rev
-
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
-