Package com.ibm.cloud.cloudant.v1.model
Class PutAttachmentOptions
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.cloud.cloudant.v1.model.PutAttachmentOptions
- All Implemented Interfaces:
ObjectModel
The putAttachment options.
-
Nested Class Summary
-
Method Summary
Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Method Details
-
newBuilder
New builder.- Returns:
- a PutAttachmentOptions 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
-
attachmentName
Gets the attachmentName. Path parameter to specify the attachment name.- Returns:
- the attachmentName
-
attachment
Gets the attachment. HTTP request body for attachment operations.- Returns:
- the attachment
-
contentType
Gets the contentType. Content-Type of the attachment.- Returns:
- the contentType
-
ifMatch
Gets the ifMatch. Header parameter for a conditional HTTP request matching an ETag.- Returns:
- the ifMatch
-
rev
Gets the rev. Query parameter to specify a document revision.- Returns:
- the rev
-