Package com.ibm.cloud.cloudant.v1.model
Class PostDesignDocsQueriesOptions
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.cloudant.v1.model.PostDesignDocsQueriesOptions
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class PostDesignDocsQueriesOptions extends com.ibm.cloud.sdk.core.service.model.GenericModel
The postDesignDocsQueries options.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PostDesignDocsQueriesOptions.Builder
Builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
accept()
Gets the accept.String
db()
Gets the db.PostDesignDocsQueriesOptions.Builder
newBuilder()
New builder.List<AllDocsQuery>
queries()
Gets the queries.
-
-
-
Method Detail
-
newBuilder
public PostDesignDocsQueriesOptions.Builder newBuilder()
New builder.- Returns:
- a PostDesignDocsQueriesOptions builder
-
db
public String db()
Gets the db. Path parameter to specify the database name.- Returns:
- the db
-
queries
public List<AllDocsQuery> queries()
Gets the queries. An array of query objects with fields for the parameters of each individual view query to be executed. The field names and their meaning are the same as the query parameters of a regular `/_all_docs` request.- Returns:
- the queries
-
accept
public String accept()
Gets the accept. The type of the response: application/json or application/octet-stream.- Returns:
- the accept
-
-