Skip to content

Commit 93b812a

Browse files
cloudant-sdks-automationricellis
authored andcommitted
feat(generated): update API definition to 1.0.0-dev0.1.30
Generated SDK source code using: - Generator version 3.107.1 - Specification version 1.0.0-dev0.1.30 - Automation (cloudant-sdks) version ae20582
1 parent 5c622e0 commit 93b812a

25 files changed

Lines changed: 159 additions & 120 deletions

modules/cloudant/src/main/java/com/ibm/cloud/cloudant/v1/Cloudant.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1511,7 +1511,7 @@ public ServiceCall<InputStream> getDocumentAsStream(GetDocumentOptions getDocume
15111511
*
15121512
* For creation, you must specify the document ID but you should not specify the revision.
15131513
*
1514-
* For modification, you must specify the document ID and a revision identifier.
1514+
* For modification, you must specify the document ID and a revision identifier.
15151515
*
15161516
* @param putDocumentOptions the {@link PutDocumentOptions} containing the options for the call
15171517
* @return a {@link ServiceCall} with a result of type {@link DocumentResult}
@@ -4557,8 +4557,8 @@ public ServiceCall<MembershipInformation> getMembershipInformation() {
45574557
/**
45584558
* Retrieve information about whether the server is up.
45594559
*
4560-
* Confirms that the server is up, running, and ready to respond to requests. If `maintenance_mode` is `true` or
4561-
* `nolb`, the endpoint returns a 404 response.
4560+
* Confirms that the server is up, running, and ready to respond to requests. If the cluster is unavailable the
4561+
* endpoint returns a `503` response code.
45624562
*
45634563
* **Tip:** The authentication for this endpoint is only enforced when using IAM.
45644564
*
@@ -4580,8 +4580,8 @@ public ServiceCall<UpInformation> getUpInformation(GetUpInformationOptions getUp
45804580
/**
45814581
* Retrieve information about whether the server is up.
45824582
*
4583-
* Confirms that the server is up, running, and ready to respond to requests. If `maintenance_mode` is `true` or
4584-
* `nolb`, the endpoint returns a 404 response.
4583+
* Confirms that the server is up, running, and ready to respond to requests. If the cluster is unavailable the
4584+
* endpoint returns a `503` response code.
45854585
*
45864586
* **Tip:** The authentication for this endpoint is only enforced when using IAM.
45874587
*

modules/cloudant/src/main/java/com/ibm/cloud/cloudant/v1/model/DatabaseInformation.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ public String getEngine() {
152152
* Gets the instanceStartTime.
153153
*
154154
* An opaque string to detect whether a database has been recreated. The field name is for compatibility with old
155-
* replicator versions. Do not use the value to infer timing infromation. Typically only used by replicators.
155+
* replicator versions. Do not use the value to infer timing information. Typically only used by replicators.
156156
*
157157
* @return the instanceStartTime
158158
*/

modules/cloudant/src/main/java/com/ibm/cloud/cloudant/v1/model/DesignDocument.java

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -745,11 +745,13 @@ public void setOptions(final DesignDocumentOptions options) {
745745
*
746746
* * `newDoc` - New version of document that will be stored
747747
* from the update request.
748-
* * `oldDoc` - Previous version of document that is already stored.
749-
* * `userCtx` - User Context Object, containing information about the
750-
* user writing the document (if present), see the `UserContext`.
751-
* * `secObj` - Security Object, with lists of database security roles,
752-
* see the `SecurityObject`.
748+
* * `oldDoc` - Previous version of document that is already
749+
* stored.
750+
* * `userCtx` - User Context Object, containing information
751+
* about the user writing the document (if present), see the
752+
* `UserContext`.
753+
* * `secObj` - Security Object, with lists of database security
754+
* roles, see the `SecurityObject`.
753755
*
754756
* @return the validateDocUpdate
755757
*/

modules/cloudant/src/main/java/com/ibm/cloud/cloudant/v1/model/ExplainResult.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,8 +167,8 @@ public Object getPartitioned() {
167167
* argument.
168168
*
169169
* It is important for query performance to use appropriate selectors:
170-
* * Only equality operators such as `$eq`, `$gt`, `$gte`, `$lt`, and `$lte` (but not `$ne`) can be used as the basis
171-
* of a query. You should include at least one of these in a selector.
170+
* * Only equality operators such as `$eq`, `$gt`, `$gte`, `$lt`, and
171+
* `$lte` (but not `$ne`) can be used as the basis of a query. You should include at least one of these in a selector.
172172
* * Some operators such as `$not`, `$or`, `$in`, and `$regex` cannot be answered from an index. For query selectors
173173
* use these operators in conjunction with equality operators or create and use a partial index to reduce the number
174174
* of documents that will need to be scanned.

modules/cloudant/src/main/java/com/ibm/cloud/cloudant/v1/model/GetDbUpdatesOptions.java

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -194,16 +194,16 @@ public String feed() {
194194
* Gets the heartbeat.
195195
*
196196
* Query parameter to specify the period in milliseconds after which an empty line is sent in the results. Off by
197-
* default and only applicable for
198-
* `continuous` and `eventsource` feeds. Overrides any timeout to keep the feed alive indefinitely. May also be `true`
199-
* to use a value of `60000`.
197+
* default and only applicable for `continuous` and `eventsource` feeds. Overrides any timeout to keep the feed alive
198+
* indefinitely. May also be `true` to use a value of `60000`.
200199
*
201200
* **Note:** Delivery of heartbeats cannot be relied on at specific intervals. If your application runs in an
202201
* environment where idle network connections may break, `heartbeat` is not suitable as a keepalive mechanism.
203202
* Instead, consider one of the following options:
204-
* * Use the `timeout` parameter with a value that is compatible with your network environment.
205-
* * Switch to scheduled usage of one of the non-continuous changes feed types
206-
* (`normal` or `longpoll`).
203+
* * Use the `timeout` parameter with a value that is compatible with
204+
* your network environment.
205+
* * Switch to scheduled usage of one of the non-continuous changes feed
206+
* types (`normal` or `longpoll`).
207207
* * Use TCP keepalive.
208208
*
209209
* @return the heartbeat
@@ -240,8 +240,12 @@ public Long timeout() {
240240
/**
241241
* Gets the since.
242242
*
243-
* Query parameter to specify to start the results from the change immediately after the given update sequence. Can be
244-
* a valid update sequence or `now` value. Default is `0` i.e. all changes.
243+
* Query parameter to specify to start the results from the change immediately after the given update sequence.
244+
* Possible values are:
245+
* * `0` for all available changes (default).
246+
* * `now` for future changes.
247+
* * A valid update sequence, for example, from the `seq` value of a
248+
* change received before.
245249
*
246250
* @return the since
247251
*/

modules/cloudant/src/main/java/com/ibm/cloud/cloudant/v1/model/IndexAnalysisExclusionReason.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ public class IndexAnalysisExclusionReason extends GenericModel {
2626
* The full list of possible reason codes is following:
2727
*
2828
* * alphabetically_comes_after: json
29-
* There is another suitable index whose name comes before that of this index.
29+
* There is another suitable index whose name comes before that of
30+
* this index.
3031
* * empty_selector: text
3132
* "text" indexes do not support queries with empty selectors.
3233
* * excluded_by_user: any use_index was used to manually specify the index.
@@ -77,7 +78,8 @@ protected IndexAnalysisExclusionReason() { }
7778
* The full list of possible reason codes is following:
7879
*
7980
* * alphabetically_comes_after: json
80-
* There is another suitable index whose name comes before that of this index.
81+
* There is another suitable index whose name comes before that of
82+
* this index.
8183
* * empty_selector: text
8284
* "text" indexes do not support queries with empty selectors.
8385
* * excluded_by_user: any use_index was used to manually specify the index.

modules/cloudant/src/main/java/com/ibm/cloud/cloudant/v1/model/IndexDefinition.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -259,8 +259,8 @@ public Boolean indexArrayLengths() {
259259
* argument.
260260
*
261261
* It is important for query performance to use appropriate selectors:
262-
* * Only equality operators such as `$eq`, `$gt`, `$gte`, `$lt`, and `$lte` (but not `$ne`) can be used as the basis
263-
* of a query. You should include at least one of these in a selector.
262+
* * Only equality operators such as `$eq`, `$gt`, `$gte`, `$lt`, and
263+
* `$lte` (but not `$ne`) can be used as the basis of a query. You should include at least one of these in a selector.
264264
* * Some operators such as `$not`, `$or`, `$in`, and `$regex` cannot be answered from an index. For query selectors
265265
* use these operators in conjunction with equality operators or create and use a partial index to reduce the number
266266
* of documents that will need to be scanned.

modules/cloudant/src/main/java/com/ibm/cloud/cloudant/v1/model/PostChangesOptions.java

Lines changed: 21 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -484,8 +484,8 @@ public List<String> fields() {
484484
* argument.
485485
*
486486
* It is important for query performance to use appropriate selectors:
487-
* * Only equality operators such as `$eq`, `$gt`, `$gte`, `$lt`, and `$lte` (but not `$ne`) can be used as the basis
488-
* of a query. You should include at least one of these in a selector.
487+
* * Only equality operators such as `$eq`, `$gt`, `$gte`, `$lt`, and
488+
* `$lte` (but not `$ne`) can be used as the basis of a query. You should include at least one of these in a selector.
489489
* * Some operators such as `$not`, `$or`, `$in`, and `$regex` cannot be answered from an index. For query selectors
490490
* use these operators in conjunction with equality operators or create and use a partial index to reduce the number
491491
* of documents that will need to be scanned.
@@ -577,20 +577,20 @@ public String feed() {
577577
*
578578
* The built-in filter types are:
579579
* * `_design` - Returns only changes to design documents.
580-
* * `_doc_ids` - Returns changes for documents with an ID matching one specified in
581-
* `doc_ids` request body parameter. (`POST` only)
582-
* * `_selector` - Returns changes for documents that match the `selector`
583-
* request body parameter. The selector syntax is the same as used for
584-
* `_find`. (`POST` only)
580+
* * `_doc_ids` - Returns changes for documents with an ID matching one
581+
* specified in `doc_ids` request body parameter. (`POST` only)
582+
* * `_selector` - Returns changes for documents that match the
583+
* `selector` request body parameter. The selector syntax is the same
584+
* as used for `_find`. (`POST` only)
585585
* * `_view` - Returns changes for documents that match an existing map
586586
* function in the view specified by the query parameter `view`.
587587
*
588588
* Additionally, the value can be the name of a JS filter function from a design document. For example:
589589
* `design_doc/filtername`.
590590
*
591591
* **Note:** For better performance use the built-in `_selector`, `_design` or `_doc_ids` filters rather than JS based
592-
* `_view` or design document filters. If you need to pass values to change the filtered content use the `_selector`
593-
* filter type.
592+
* `_view` or design document filters. If you need to pass values to change the filtered content use the
593+
* `_selector` filter type.
594594
*
595595
* @return the filter
596596
*/
@@ -602,16 +602,16 @@ public String filter() {
602602
* Gets the heartbeat.
603603
*
604604
* Query parameter to specify the period in milliseconds after which an empty line is sent in the results. Off by
605-
* default and only applicable for
606-
* `continuous` and `eventsource` feeds. Overrides any timeout to keep the feed alive indefinitely. May also be `true`
607-
* to use a value of `60000`.
605+
* default and only applicable for `continuous` and `eventsource` feeds. Overrides any timeout to keep the feed alive
606+
* indefinitely. May also be `true` to use a value of `60000`.
608607
*
609608
* **Note:** Delivery of heartbeats cannot be relied on at specific intervals. If your application runs in an
610609
* environment where idle network connections may break, `heartbeat` is not suitable as a keepalive mechanism.
611610
* Instead, consider one of the following options:
612-
* * Use the `timeout` parameter with a value that is compatible with your network environment.
613-
* * Switch to scheduled usage of one of the non-continuous changes feed types
614-
* (`normal` or `longpoll`).
611+
* * Use the `timeout` parameter with a value that is compatible with
612+
* your network environment.
613+
* * Switch to scheduled usage of one of the non-continuous changes feed
614+
* types (`normal` or `longpoll`).
615615
* * Use TCP keepalive.
616616
*
617617
* @return the heartbeat
@@ -659,8 +659,12 @@ public Long seqInterval() {
659659
/**
660660
* Gets the since.
661661
*
662-
* Query parameter to specify to start the results from the change immediately after the given update sequence. Can be
663-
* a valid update sequence or `now` value. Default is `0` i.e. all changes.
662+
* Query parameter to specify to start the results from the change immediately after the given update sequence.
663+
* Possible values are:
664+
* * `0` for all available changes (default).
665+
* * `now` for future changes.
666+
* * A valid update sequence, for example, from the `seq` value of a
667+
* change received before.
664668
*
665669
* @return the since
666670
*/

modules/cloudant/src/main/java/com/ibm/cloud/cloudant/v1/model/PostExplainOptions.java

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -393,8 +393,8 @@ public String db() {
393393
* argument.
394394
*
395395
* It is important for query performance to use appropriate selectors:
396-
* * Only equality operators such as `$eq`, `$gt`, `$gte`, `$lt`, and `$lte` (but not `$ne`) can be used as the basis
397-
* of a query. You should include at least one of these in a selector.
396+
* * Only equality operators such as `$eq`, `$gt`, `$gte`, `$lt`, and
397+
* `$lte` (but not `$ne`) can be used as the basis of a query. You should include at least one of these in a selector.
398398
* * Some operators such as `$not`, `$or`, `$in`, and `$regex` cannot be answered from an index. For query selectors
399399
* use these operators in conjunction with equality operators or create and use a partial index to reduce the number
400400
* of documents that will need to be scanned.
@@ -413,7 +413,7 @@ public Map<String, Object> selector() {
413413
/**
414414
* Gets the allowFallback.
415415
*
416-
* Whether to allow fallback to other indexes. Default is true.
416+
* Whether to allow fallback to other indexes. Default is true.
417417
*
418418
* @return the allowFallback
419419
*/
@@ -497,7 +497,8 @@ public Long skip() {
497497
* field name and direction pair is the topmost level of sort. The second pair, if provided, is the next level of
498498
* sort. The field can be any field, using dotted notation if desired for sub-document fields.
499499
*
500-
* For example in JSON: `[{"fieldName1": "desc"}, {"fieldName2.subFieldName1": "desc"}]`
500+
* For example in JSON:
501+
* `[{"fieldName1": "desc"}, {"fieldName2.subFieldName1": "desc"}]`
501502
*
502503
* When sorting with multiple fields, ensure that there is an index already defined with all the sort fields in the
503504
* same order and each object in the sort array has a single key or at least one of the sort fields is included in the

modules/cloudant/src/main/java/com/ibm/cloud/cloudant/v1/model/PostFindOptions.java

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -393,8 +393,8 @@ public String db() {
393393
* argument.
394394
*
395395
* It is important for query performance to use appropriate selectors:
396-
* * Only equality operators such as `$eq`, `$gt`, `$gte`, `$lt`, and `$lte` (but not `$ne`) can be used as the basis
397-
* of a query. You should include at least one of these in a selector.
396+
* * Only equality operators such as `$eq`, `$gt`, `$gte`, `$lt`, and
397+
* `$lte` (but not `$ne`) can be used as the basis of a query. You should include at least one of these in a selector.
398398
* * Some operators such as `$not`, `$or`, `$in`, and `$regex` cannot be answered from an index. For query selectors
399399
* use these operators in conjunction with equality operators or create and use a partial index to reduce the number
400400
* of documents that will need to be scanned.
@@ -413,7 +413,7 @@ public Map<String, Object> selector() {
413413
/**
414414
* Gets the allowFallback.
415415
*
416-
* Whether to allow fallback to other indexes. Default is true.
416+
* Whether to allow fallback to other indexes. Default is true.
417417
*
418418
* @return the allowFallback
419419
*/
@@ -497,7 +497,8 @@ public Long skip() {
497497
* field name and direction pair is the topmost level of sort. The second pair, if provided, is the next level of
498498
* sort. The field can be any field, using dotted notation if desired for sub-document fields.
499499
*
500-
* For example in JSON: `[{"fieldName1": "desc"}, {"fieldName2.subFieldName1": "desc"}]`
500+
* For example in JSON:
501+
* `[{"fieldName1": "desc"}, {"fieldName2.subFieldName1": "desc"}]`
501502
*
502503
* When sorting with multiple fields, ensure that there is an index already defined with all the sort fields in the
503504
* same order and each object in the sort array has a single key or at least one of the sort fields is included in the

0 commit comments

Comments
 (0)