Class HeadDocumentOptions

java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.cloud.cloudant.v1.model.HeadDocumentOptions
All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel

public class HeadDocumentOptions extends com.ibm.cloud.sdk.core.service.model.GenericModel
The headDocument options.
  • Method Details

    • newBuilder

      public HeadDocumentOptions.Builder newBuilder()
      New builder.
      Returns:
      a HeadDocumentOptions 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
    • ifNoneMatch

      public String ifNoneMatch()
      Gets the ifNoneMatch. Header parameter for a conditional HTTP request not matching an ETag.
      Returns:
      the ifNoneMatch
    • latest

      public Boolean latest()
      Gets the latest. Query parameter to specify whether to force retrieving latest leaf revision, no matter what rev was requested.
      Returns:
      the latest
    • rev

      public String rev()
      Gets the rev. Query parameter to specify a document revision.
      Returns:
      the rev