Package com.ibm.cloud.cloudant.v1.model
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.GenericModelThe headDocument options.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classHeadDocumentOptions.BuilderBuilder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringdb()Gets the db.StringdocId()Gets the docId.StringifNoneMatch()Gets the ifNoneMatch.Booleanlatest()Gets the latest.HeadDocumentOptions.BuildernewBuilder()New builder.Stringrev()Gets the rev.
-
-
-
Method Detail
-
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 to specify a double quoted document revision token for cache control.- 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
-
-