Skip to content

Commit c393d37

Browse files
algolia-botkai687
andcommitted
fix(specs): define batch actions (#5242) (generated) [skip ci]
Co-authored-by: Kai Welke <[email protected]>
1 parent ca6f3ca commit c393d37

File tree

58 files changed

+268
-126
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+268
-126
lines changed

clients/algoliasearch-client-csharp/algoliasearch/Models/Ingestion/Action.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212
namespace Algolia.Search.Models.Ingestion;
1313

1414
/// <summary>
15-
/// Type of indexing operation.
15+
/// Which indexing operation to perform: - `addObject`: adds records to an index. Equivalent to the \"Add a new record (with auto-generated object ID)\" operation. - `updateObject`: adds or replaces records in an index. Equivalent to the \"Add or replace a record\" operation. - `partialUpdateObject`: adds or updates attributes within records. Equivalent to the \"Add or update attributes\" operation with the `createIfNoExists` parameter set to true. (If a record with the specified `objectID` doesn't exist in the specified index, this action creates adds the record to the index) - `partialUpdateObjectNoCreate`: same as `partialUpdateObject`, but with `createIfNoExists` set to false. (A record isn't added to the index if its `objectID` doesn't exist) - `deleteObject`: delete records from an index. Equivalent to the \"Delete a record\" operation. - `delete`. Delete an index. Equivalent to the \"Delete an index\" operation. - `clear`: delete all records from an index. Equivalent to the \"Delete all records from an index operation\".
1616
/// </summary>
17-
/// <value>Type of indexing operation.</value>
17+
/// <value>Which indexing operation to perform: - `addObject`: adds records to an index. Equivalent to the \"Add a new record (with auto-generated object ID)\" operation. - `updateObject`: adds or replaces records in an index. Equivalent to the \"Add or replace a record\" operation. - `partialUpdateObject`: adds or updates attributes within records. Equivalent to the \"Add or update attributes\" operation with the `createIfNoExists` parameter set to true. (If a record with the specified `objectID` doesn't exist in the specified index, this action creates adds the record to the index) - `partialUpdateObjectNoCreate`: same as `partialUpdateObject`, but with `createIfNoExists` set to false. (A record isn't added to the index if its `objectID` doesn't exist) - `deleteObject`: delete records from an index. Equivalent to the \"Delete a record\" operation. - `delete`. Delete an index. Equivalent to the \"Delete an index\" operation. - `clear`: delete all records from an index. Equivalent to the \"Delete all records from an index operation\". </value>
1818
[JsonConverter(typeof(Serializer.JsonStringEnumConverter<Action>))]
1919
public enum Action
2020
{

clients/algoliasearch-client-csharp/algoliasearch/Models/Search/Action.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212
namespace Algolia.Search.Models.Search;
1313

1414
/// <summary>
15-
/// Type of indexing operation.
15+
/// Which indexing operation to perform: - `addObject`: adds records to an index. Equivalent to the \"Add a new record (with auto-generated object ID)\" operation. - `updateObject`: adds or replaces records in an index. Equivalent to the \"Add or replace a record\" operation. - `partialUpdateObject`: adds or updates attributes within records. Equivalent to the \"Add or update attributes\" operation with the `createIfNoExists` parameter set to true. (If a record with the specified `objectID` doesn't exist in the specified index, this action creates adds the record to the index) - `partialUpdateObjectNoCreate`: same as `partialUpdateObject`, but with `createIfNoExists` set to false. (A record isn't added to the index if its `objectID` doesn't exist) - `deleteObject`: delete records from an index. Equivalent to the \"Delete a record\" operation. - `delete`. Delete an index. Equivalent to the \"Delete an index\" operation. - `clear`: delete all records from an index. Equivalent to the \"Delete all records from an index operation\".
1616
/// </summary>
17-
/// <value>Type of indexing operation.</value>
17+
/// <value>Which indexing operation to perform: - `addObject`: adds records to an index. Equivalent to the \"Add a new record (with auto-generated object ID)\" operation. - `updateObject`: adds or replaces records in an index. Equivalent to the \"Add or replace a record\" operation. - `partialUpdateObject`: adds or updates attributes within records. Equivalent to the \"Add or update attributes\" operation with the `createIfNoExists` parameter set to true. (If a record with the specified `objectID` doesn't exist in the specified index, this action creates adds the record to the index) - `partialUpdateObjectNoCreate`: same as `partialUpdateObject`, but with `createIfNoExists` set to false. (A record isn't added to the index if its `objectID` doesn't exist) - `deleteObject`: delete records from an index. Equivalent to the \"Delete a record\" operation. - `delete`. Delete an index. Equivalent to the \"Delete an index\" operation. - `clear`: delete all records from an index. Equivalent to the \"Delete all records from an index operation\". </value>
1818
[JsonConverter(typeof(Serializer.JsonStringEnumConverter<Action>))]
1919
public enum Action
2020
{

clients/algoliasearch-client-dart/packages/client_search/lib/src/model/action.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// ignore_for_file: unused_element
33
import 'package:json_annotation/json_annotation.dart';
44

5-
/// Type of indexing operation.
5+
/// Which indexing operation to perform: - `addObject`: adds records to an index. Equivalent to the \"Add a new record (with auto-generated object ID)\" operation. - `updateObject`: adds or replaces records in an index. Equivalent to the \"Add or replace a record\" operation. - `partialUpdateObject`: adds or updates attributes within records. Equivalent to the \"Add or update attributes\" operation with the `createIfNoExists` parameter set to true. (If a record with the specified `objectID` doesn't exist in the specified index, this action creates adds the record to the index) - `partialUpdateObjectNoCreate`: same as `partialUpdateObject`, but with `createIfNoExists` set to false. (A record isn't added to the index if its `objectID` doesn't exist) - `deleteObject`: delete records from an index. Equivalent to the \"Delete a record\" operation. - `delete`. Delete an index. Equivalent to the \"Delete an index\" operation. - `clear`: delete all records from an index. Equivalent to the \"Delete all records from an index operation\".
66
@JsonEnum(valueField: 'raw')
77
enum Action {
88
addObject(r'addObject'),

clients/algoliasearch-client-go/algolia/ingestion/model_action.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

clients/algoliasearch-client-go/algolia/search/model_action.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

clients/algoliasearch-client-java/algoliasearch/src/main/java/com/algolia/model/ingestion/Action.java

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,20 @@
66
import com.fasterxml.jackson.annotation.*;
77
import com.fasterxml.jackson.databind.annotation.*;
88

9-
/** Type of indexing operation. */
9+
/**
10+
* Which indexing operation to perform: - `addObject`: adds records to an index. Equivalent to the
11+
* \"Add a new record (with auto-generated object ID)\" operation. - `updateObject`: adds or
12+
* replaces records in an index. Equivalent to the \"Add or replace a record\" operation. -
13+
* `partialUpdateObject`: adds or updates attributes within records. Equivalent to the \"Add or
14+
* update attributes\" operation with the `createIfNoExists` parameter set to true. (If a record
15+
* with the specified `objectID` doesn't exist in the specified index, this action creates adds the
16+
* record to the index) - `partialUpdateObjectNoCreate`: same as `partialUpdateObject`, but with
17+
* `createIfNoExists` set to false. (A record isn't added to the index if its `objectID` doesn't
18+
* exist) - `deleteObject`: delete records from an index. Equivalent to the \"Delete a record\"
19+
* operation. - `delete`. Delete an index. Equivalent to the \"Delete an index\" operation. -
20+
* `clear`: delete all records from an index. Equivalent to the \"Delete all records from an index
21+
* operation\".
22+
*/
1023
public enum Action {
1124
ADD_OBJECT("addObject"),
1225

clients/algoliasearch-client-java/algoliasearch/src/main/java/com/algolia/model/search/Action.java

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,20 @@
66
import com.fasterxml.jackson.annotation.*;
77
import com.fasterxml.jackson.databind.annotation.*;
88

9-
/** Type of indexing operation. */
9+
/**
10+
* Which indexing operation to perform: - `addObject`: adds records to an index. Equivalent to the
11+
* \"Add a new record (with auto-generated object ID)\" operation. - `updateObject`: adds or
12+
* replaces records in an index. Equivalent to the \"Add or replace a record\" operation. -
13+
* `partialUpdateObject`: adds or updates attributes within records. Equivalent to the \"Add or
14+
* update attributes\" operation with the `createIfNoExists` parameter set to true. (If a record
15+
* with the specified `objectID` doesn't exist in the specified index, this action creates adds the
16+
* record to the index) - `partialUpdateObjectNoCreate`: same as `partialUpdateObject`, but with
17+
* `createIfNoExists` set to false. (A record isn't added to the index if its `objectID` doesn't
18+
* exist) - `deleteObject`: delete records from an index. Equivalent to the \"Delete a record\"
19+
* operation. - `delete`. Delete an index. Equivalent to the \"Delete an index\" operation. -
20+
* `clear`: delete all records from an index. Equivalent to the \"Delete all records from an index
21+
* operation\".
22+
*/
1023
public enum Action {
1124
ADD_OBJECT("addObject"),
1225

clients/algoliasearch-client-javascript/packages/client-search/model/action.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
22

33
/**
4-
* Type of indexing operation.
4+
* Which indexing operation to perform: - `addObject`: adds records to an index. Equivalent to the \"Add a new record (with auto-generated object ID)\" operation. - `updateObject`: adds or replaces records in an index. Equivalent to the \"Add or replace a record\" operation. - `partialUpdateObject`: adds or updates attributes within records. Equivalent to the \"Add or update attributes\" operation with the `createIfNoExists` parameter set to true. (If a record with the specified `objectID` doesn\'t exist in the specified index, this action creates adds the record to the index) - `partialUpdateObjectNoCreate`: same as `partialUpdateObject`, but with `createIfNoExists` set to false. (A record isn\'t added to the index if its `objectID` doesn\'t exist) - `deleteObject`: delete records from an index. Equivalent to the \"Delete a record\" operation. - `delete`. Delete an index. Equivalent to the \"Delete an index\" operation. - `clear`: delete all records from an index. Equivalent to the \"Delete all records from an index operation\".
55
*/
66
export type Action =
77
| 'addObject'

clients/algoliasearch-client-javascript/packages/ingestion/model/action.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
22

33
/**
4-
* Type of indexing operation.
4+
* Which indexing operation to perform: - `addObject`: adds records to an index. Equivalent to the \"Add a new record (with auto-generated object ID)\" operation. - `updateObject`: adds or replaces records in an index. Equivalent to the \"Add or replace a record\" operation. - `partialUpdateObject`: adds or updates attributes within records. Equivalent to the \"Add or update attributes\" operation with the `createIfNoExists` parameter set to true. (If a record with the specified `objectID` doesn\'t exist in the specified index, this action creates adds the record to the index) - `partialUpdateObjectNoCreate`: same as `partialUpdateObject`, but with `createIfNoExists` set to false. (A record isn\'t added to the index if its `objectID` doesn\'t exist) - `deleteObject`: delete records from an index. Equivalent to the \"Delete a record\" operation. - `delete`. Delete an index. Equivalent to the \"Delete an index\" operation. - `clear`: delete all records from an index. Equivalent to the \"Delete all records from an index operation\".
55
*/
66
export type Action =
77
| 'addObject'

clients/algoliasearch-client-kotlin/client/src/commonMain/kotlin/com/algolia/client/model/ingestion/Action.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ package com.algolia.client.model.ingestion
44
import kotlinx.serialization.*
55

66
/**
7-
* Type of indexing operation.
7+
* Which indexing operation to perform: - `addObject`: adds records to an index. Equivalent to the \"Add a new record (with auto-generated object ID)\" operation. - `updateObject`: adds or replaces records in an index. Equivalent to the \"Add or replace a record\" operation. - `partialUpdateObject`: adds or updates attributes within records. Equivalent to the \"Add or update attributes\" operation with the `createIfNoExists` parameter set to true. (If a record with the specified `objectID` doesn't exist in the specified index, this action creates adds the record to the index) - `partialUpdateObjectNoCreate`: same as `partialUpdateObject`, but with `createIfNoExists` set to false. (A record isn't added to the index if its `objectID` doesn't exist) - `deleteObject`: delete records from an index. Equivalent to the \"Delete a record\" operation. - `delete`. Delete an index. Equivalent to the \"Delete an index\" operation. - `clear`: delete all records from an index. Equivalent to the \"Delete all records from an index operation\".
88
*/
99
@Serializable
1010
public enum class Action(public val value: kotlin.String) {

0 commit comments

Comments
 (0)