Skip to content

Commit fc0bbf7

Browse files
algolia-botmillotp
andcommitted
fix(specs): add sourceType to listTasks [skip-bc] (generated)
algolia/api-clients-automation#4193 Co-authored-by: algolia-bot <[email protected]> Co-authored-by: Pierre Millot <[email protected]>
1 parent 485009f commit fc0bbf7

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Sources/Ingestion/IngestionClient.swift

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2134,6 +2134,7 @@ open class IngestionClient {
21342134
/// - parameter action: (query) Actions for filtering the list of tasks. (optional)
21352135
/// - parameter enabled: (query) Whether to filter the list of tasks by the `enabled` status. (optional)
21362136
/// - parameter sourceID: (query) Source IDs for filtering the list of tasks. (optional)
2137+
/// - parameter sourceType: (query) Filters the tasks with the specified source type. (optional)
21372138
/// - parameter destinationID: (query) Destination IDs for filtering the list of tasks. (optional)
21382139
/// - parameter triggerType: (query) Type of task trigger for filtering the list of tasks. (optional)
21392140
/// - parameter sort: (query) Property by which to sort the list of tasks. (optional)
@@ -2146,6 +2147,7 @@ open class IngestionClient {
21462147
action: [ActionType]? = nil,
21472148
enabled: Bool? = nil,
21482149
sourceID: [String]? = nil,
2150+
sourceType: [SourceType]? = nil,
21492151
destinationID: [String]? = nil,
21502152
triggerType: [TriggerType]? = nil,
21512153
sort: TaskSortKeys? = nil,
@@ -2158,6 +2160,7 @@ open class IngestionClient {
21582160
action: action,
21592161
enabled: enabled,
21602162
sourceID: sourceID,
2163+
sourceType: sourceType,
21612164
destinationID: destinationID,
21622165
triggerType: triggerType,
21632166
sort: sort,
@@ -2188,6 +2191,8 @@ open class IngestionClient {
21882191
//
21892192
// - parameter sourceID: (query) Source IDs for filtering the list of tasks. (optional)
21902193
//
2194+
// - parameter sourceType: (query) Filters the tasks with the specified source type. (optional)
2195+
//
21912196
// - parameter destinationID: (query) Destination IDs for filtering the list of tasks. (optional)
21922197
//
21932198
// - parameter triggerType: (query) Type of task trigger for filtering the list of tasks. (optional)
@@ -2203,6 +2208,7 @@ open class IngestionClient {
22032208
action: [ActionType]? = nil,
22042209
enabled: Bool? = nil,
22052210
sourceID: [String]? = nil,
2211+
sourceType: [SourceType]? = nil,
22062212
destinationID: [String]? = nil,
22072213
triggerType: [TriggerType]? = nil,
22082214
sort: TaskSortKeys? = nil,
@@ -2217,6 +2223,7 @@ open class IngestionClient {
22172223
"action": action?.encodeToJSON(),
22182224
"enabled": enabled?.encodeToJSON(),
22192225
"sourceID": sourceID?.encodeToJSON(),
2226+
"sourceType": sourceType?.encodeToJSON(),
22202227
"destinationID": destinationID?.encodeToJSON(),
22212228
"triggerType": triggerType?.encodeToJSON(),
22222229
"sort": sort?.encodeToJSON(),

0 commit comments

Comments
 (0)