Package com.ibm.cloud.cloudant.v1.model
Class GetLocalDocumentOptions
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.cloudant.v1.model.GetLocalDocumentOptions
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class GetLocalDocumentOptions extends com.ibm.cloud.sdk.core.service.model.GenericModelThe getLocalDocument options.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGetLocalDocumentOptions.BuilderBuilder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringaccept()Gets the accept.Booleanattachments()Gets the attachments.BooleanattEncodingInfo()Gets the attEncodingInfo.Stringdb()Gets the db.StringdocId()Gets the docId.StringifNoneMatch()Gets the ifNoneMatch.BooleanlocalSeq()Gets the localSeq.GetLocalDocumentOptions.BuildernewBuilder()New builder.
-
-
-
Method Detail
-
newBuilder
public GetLocalDocumentOptions.Builder newBuilder()
New builder.- Returns:
- a GetLocalDocumentOptions 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
-
accept
public String accept()
Gets the accept. The type of the response: application/json, multipart/mixed, multipart/related, or application/octet-stream.- Returns:
- the accept
-
ifNoneMatch
public String ifNoneMatch()
Gets the ifNoneMatch. Header parameter to specify a double quoted document revision token for cache control.- Returns:
- the ifNoneMatch
-
attachments
public Boolean attachments()
Gets the attachments. Query parameter to specify whether to include attachments bodies in a response.- Returns:
- the attachments
-
attEncodingInfo
public Boolean attEncodingInfo()
Gets the attEncodingInfo. Query parameter to specify whether to include the encoding information in attachment stubs if the particular attachment is compressed.- Returns:
- the attEncodingInfo
-
localSeq
public Boolean localSeq()
Gets the localSeq. Query parameter to specify whether to include the last update sequence for the document.- Returns:
- the localSeq
-
-