Package com.ibm.cloud.cloudant.v1.model
Class DeleteAttachmentOptions
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.cloudant.v1.model.DeleteAttachmentOptions
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class DeleteAttachmentOptions extends com.ibm.cloud.sdk.core.service.model.GenericModelThe deleteAttachment options.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDeleteAttachmentOptions.BatchQuery parameter to specify whether to store in batch mode.static classDeleteAttachmentOptions.BuilderBuilder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringattachmentName()Gets the attachmentName.Stringbatch()Gets the batch.Stringdb()Gets the db.StringdocId()Gets the docId.StringifMatch()Gets the ifMatch.DeleteAttachmentOptions.BuildernewBuilder()New builder.Stringrev()Gets the rev.
-
-
-
Method Detail
-
newBuilder
public DeleteAttachmentOptions.Builder newBuilder()
New builder.- Returns:
- a DeleteAttachmentOptions builder
-
db
public String db()
Gets the db. Path parameter to specify the database name.- Returns:
- the db
-
docId
public String docId()
Gets the docId. Path parameter to specify the document ID.- Returns:
- the docId
-
attachmentName
public String attachmentName()
Gets the attachmentName. Path parameter to specify the attachment name.- Returns:
- the attachmentName
-
ifMatch
public String ifMatch()
Gets the ifMatch. Header parameter to specify the document revision. Alternative to rev query parameter.- Returns:
- the ifMatch
-
rev
public String rev()
Gets the rev. Query parameter to specify a document revision.- Returns:
- the rev
-
batch
public String 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
-
-