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.GenericModel
The getLocalDocument options.
  • Method Details

    • 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 for a conditional HTTP request not matching an ETag.
      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