Skip to content

Commit 84c6aa0

Browse files
fix(specs): make optional for tasks (generated)
Co-authored-by: shortcuts <[email protected]>
1 parent 7e591c9 commit 84c6aa0

File tree

60 files changed

+357
-269
lines changed

Some content is hidden

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

60 files changed

+357
-269
lines changed

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,13 @@ public IngestionTask() { }
3434
/// <param name="sourceID">Universally uniqud identifier (UUID) of a source. (required).</param>
3535
/// <param name="destinationID">Universally unique identifier (UUID) of a destination resource. (required).</param>
3636
/// <param name="enabled">Whether the task is enabled. (required) (default to true).</param>
37-
/// <param name="action">action (required).</param>
3837
/// <param name="createdAt">Date of creation in RFC 3339 format. (required).</param>
39-
public IngestionTask(string taskID, string sourceID, string destinationID, bool enabled, ActionType? action, string createdAt)
38+
public IngestionTask(string taskID, string sourceID, string destinationID, bool enabled, string createdAt)
4039
{
4140
TaskID = taskID ?? throw new ArgumentNullException(nameof(taskID));
4241
SourceID = sourceID ?? throw new ArgumentNullException(nameof(sourceID));
4342
DestinationID = destinationID ?? throw new ArgumentNullException(nameof(destinationID));
4443
Enabled = enabled;
45-
Action = action;
4644
CreatedAt = createdAt ?? throw new ArgumentNullException(nameof(createdAt));
4745
}
4846

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,16 +35,14 @@ public TaskV1() { }
3535
/// <param name="destinationID">Universally unique identifier (UUID) of a destination resource. (required).</param>
3636
/// <param name="trigger">trigger (required).</param>
3737
/// <param name="enabled">Whether the task is enabled. (required) (default to true).</param>
38-
/// <param name="action">action (required).</param>
3938
/// <param name="createdAt">Date of creation in RFC 3339 format. (required).</param>
40-
public TaskV1(string taskID, string sourceID, string destinationID, Trigger trigger, bool enabled, ActionType? action, string createdAt)
39+
public TaskV1(string taskID, string sourceID, string destinationID, Trigger trigger, bool enabled, string createdAt)
4140
{
4241
TaskID = taskID ?? throw new ArgumentNullException(nameof(taskID));
4342
SourceID = sourceID ?? throw new ArgumentNullException(nameof(sourceID));
4443
DestinationID = destinationID ?? throw new ArgumentNullException(nameof(destinationID));
4544
Trigger = trigger ?? throw new ArgumentNullException(nameof(trigger));
4645
Enabled = enabled;
47-
Action = action;
4846
CreatedAt = createdAt ?? throw new ArgumentNullException(nameof(createdAt));
4947
}
5048

clients/algoliasearch-client-go/algolia/abtesting/client.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

clients/algoliasearch-client-go/algolia/analytics/client.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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

Lines changed: 27 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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

Lines changed: 27 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

clients/algoliasearch-client-go/algolia/insights/client.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

clients/algoliasearch-client-go/algolia/monitoring/client.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

clients/algoliasearch-client-go/algolia/personalization/client.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

clients/algoliasearch-client-go/algolia/query-suggestions/client.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

clients/algoliasearch-client-go/algolia/recommend/client.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)