Package com.ibm.cloud.cloudant.v1.model
Class DeleteDocumentOptions
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.cloud.cloudant.v1.model.DeleteDocumentOptions
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class DeleteDocumentOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
The deleteDocument options.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
Query parameter to specify whether to store in batch mode.static class
Builder. -
Method Summary
Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Method Details
-
newBuilder
New builder.- Returns:
- a DeleteDocumentOptions builder
-
db
Gets the db. Path parameter to specify the database name.- Returns:
- the db
-
docId
Gets the docId. Path parameter to specify the document ID.- Returns:
- the docId
-
ifMatch
Gets the ifMatch. Header parameter for a conditional HTTP request matching an ETag.- Returns:
- the ifMatch
-
batch
Gets the batch. Query parameter to specify whether to store in batch mode. The server will respond with a HTTP 202 Accepted response code immediately.- Returns:
- the batch
-
rev
Gets the rev. Query parameter to specify a document revision.- Returns:
- the rev
-