You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// Push a `batch` request payload through the Pipeline. You can check the status of task pushes with the observability endpoints. (Synchronous version)
1013
+
/// </summary>
1014
+
/// <param name="taskID">Unique identifier of a task.</param>
1015
+
/// <param name="batchWriteParams">Request body of a Search API `batch` request that will be pushed in the Connectors pipeline.</param>
1016
+
/// <param name="options">Add extra http header or query parameters to Algolia.</param>
1017
+
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
1018
+
/// <exception cref="ArgumentException">Thrown when arguments are not correct</exception>
1019
+
/// <exception cref="Algolia.Search.Exceptions.AlgoliaApiException">Thrown when the API call was rejected by Algolia</exception>
1020
+
/// <exception cref="Algolia.Search.Exceptions.AlgoliaUnreachableHostException">Thrown when the client failed to call the endpoint</exception>
/// Push a `batch` request payload through the Pipeline. You can check the status of task pushes with the observability endpoints. (Synchronous version)
3339
+
/// </summary>
3340
+
///
3341
+
/// Required API Key ACLs:
3342
+
/// - addObject
3343
+
/// - deleteIndex
3344
+
/// - editSettings
3345
+
/// <param name="taskID">Unique identifier of a task.</param>
3346
+
/// <param name="batchWriteParams">Request body of a Search API `batch` request that will be pushed in the Connectors pipeline.</param>
3347
+
/// <param name="options">Add extra http header or query parameters to Algolia.</param>
3348
+
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
3349
+
/// <exception cref="ArgumentException">Thrown when arguments are not correct</exception>
3350
+
/// <exception cref="Algolia.Search.Exceptions.AlgoliaApiException">Thrown when the API call was rejected by Algolia</exception>
3351
+
/// <exception cref="Algolia.Search.Exceptions.AlgoliaUnreachableHostException">Thrown when the client failed to call the endpoint</exception>
// 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.
3
+
//
4
+
usingSystem;
5
+
usingSystem.Text;
6
+
usingSystem.Linq;
7
+
usingSystem.Text.Json.Serialization;
8
+
usingSystem.Collections.Generic;
9
+
usingAlgolia.Search.Serializer;
10
+
usingSystem.Text.Json;
11
+
12
+
namespaceAlgolia.Search.Models.Ingestion;
13
+
14
+
/// <summary>
15
+
/// Type of indexing operation.
16
+
/// </summary>
17
+
/// <value>Type of indexing operation.</value>
18
+
publicenumAction
19
+
{
20
+
/// <summary>
21
+
/// Enum AddObject for value: addObject
22
+
/// </summary>
23
+
[JsonPropertyName("addObject")]
24
+
AddObject=1,
25
+
26
+
/// <summary>
27
+
/// Enum UpdateObject for value: updateObject
28
+
/// </summary>
29
+
[JsonPropertyName("updateObject")]
30
+
UpdateObject=2,
31
+
32
+
/// <summary>
33
+
/// Enum PartialUpdateObject for value: partialUpdateObject
34
+
/// </summary>
35
+
[JsonPropertyName("partialUpdateObject")]
36
+
PartialUpdateObject=3,
37
+
38
+
/// <summary>
39
+
/// Enum PartialUpdateObjectNoCreate for value: partialUpdateObjectNoCreate
// 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.
3
+
//
4
+
usingSystem;
5
+
usingSystem.Text;
6
+
usingSystem.Linq;
7
+
usingSystem.Text.Json.Serialization;
8
+
usingSystem.Collections.Generic;
9
+
usingAlgolia.Search.Serializer;
10
+
usingSystem.Text.Json;
11
+
12
+
namespaceAlgolia.Search.Models.Ingestion;
13
+
14
+
/// <summary>
15
+
/// BatchRequest
16
+
/// </summary>
17
+
publicpartialclassBatchRequest
18
+
{
19
+
20
+
/// <summary>
21
+
/// Gets or Sets Action
22
+
/// </summary>
23
+
[JsonPropertyName("action")]
24
+
publicAction?Action{get;set;}
25
+
/// <summary>
26
+
/// Initializes a new instance of the BatchRequest class.
27
+
/// </summary>
28
+
[JsonConstructor]
29
+
publicBatchRequest(){}
30
+
/// <summary>
31
+
/// Initializes a new instance of the BatchRequest class.
// 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.
3
+
//
4
+
usingSystem;
5
+
usingSystem.Text;
6
+
usingSystem.Linq;
7
+
usingSystem.Text.Json.Serialization;
8
+
usingSystem.Collections.Generic;
9
+
usingAlgolia.Search.Serializer;
10
+
usingSystem.Text.Json;
11
+
12
+
namespaceAlgolia.Search.Models.Ingestion;
13
+
14
+
/// <summary>
15
+
/// Batch parameters.
16
+
/// </summary>
17
+
publicpartialclassBatchWriteParams
18
+
{
19
+
/// <summary>
20
+
/// Initializes a new instance of the BatchWriteParams class.
21
+
/// </summary>
22
+
[JsonConstructor]
23
+
publicBatchWriteParams(){}
24
+
/// <summary>
25
+
/// Initializes a new instance of the BatchWriteParams class.
0 commit comments