@@ -235,6 +235,7 @@ open class IngestionClient {
235
235
236
236
/// - parameter taskCreate: (body) Request body for creating a task.
237
237
/// - returns: TaskCreateResponse
238
+ @available ( * , deprecated, message: " This operation is deprecated. " )
238
239
@available ( macOS 10 . 15 , iOS 13 . 0 , tvOS 13 . 0 , watchOS 6 . 0 , * )
239
240
open func createTaskV1(
240
241
taskCreate: TaskCreateV1 ,
@@ -252,11 +253,12 @@ open class IngestionClient {
252
253
return body
253
254
}
254
255
255
- // Creates a new task using the v1 endpoint, please use `createTask` instead.
256
- //
257
- //
258
- // - parameter taskCreate: (body) Request body for creating a task.
259
- // - returns: RequestBuilder<TaskCreateResponse>
256
+ /// Creates a new task using the v1 endpoint, please use `createTask` instead.
257
+ ///
258
+ ///
259
+ /// - parameter taskCreate: (body) Request body for creating a task.
260
+ /// - returns: RequestBuilder<TaskCreateResponse>
261
+ @available ( * , deprecated, message: " This operation is deprecated. " )
260
262
261
263
open func createTaskV1WithHTTPInfo(
262
264
taskCreate: TaskCreateV1 ,
@@ -851,6 +853,7 @@ open class IngestionClient {
851
853
852
854
/// - parameter taskID: (path) Unique identifier of a task.
853
855
/// - returns: DeleteResponse
856
+ @available ( * , deprecated, message: " This operation is deprecated. " )
854
857
@available ( macOS 10 . 15 , iOS 13 . 0 , tvOS 13 . 0 , watchOS 6 . 0 , * )
855
858
open func deleteTaskV1( taskID: String , requestOptions: RequestOptions ? = nil ) async throws -> DeleteResponse {
856
859
let response : Response < DeleteResponse > = try await deleteTaskV1WithHTTPInfo (
@@ -865,11 +868,12 @@ open class IngestionClient {
865
868
return body
866
869
}
867
870
868
- // Deletes a task by its ID using the v1 endpoint, please use `deleteTask` instead.
869
- //
870
- //
871
- // - parameter taskID: (path) Unique identifier of a task.
872
- // - returns: RequestBuilder<DeleteResponse>
871
+ /// Deletes a task by its ID using the v1 endpoint, please use `deleteTask` instead.
872
+ ///
873
+ ///
874
+ /// - parameter taskID: (path) Unique identifier of a task.
875
+ /// - returns: RequestBuilder<DeleteResponse>
876
+ @available ( * , deprecated, message: " This operation is deprecated. " )
873
877
874
878
open func deleteTaskV1WithHTTPInfo(
875
879
taskID: String ,
@@ -1155,6 +1159,7 @@ open class IngestionClient {
1155
1159
1156
1160
/// - parameter taskID: (path) Unique identifier of a task.
1157
1161
/// - returns: TaskUpdateResponse
1162
+ @available ( * , deprecated, message: " This operation is deprecated. " )
1158
1163
@available ( macOS 10 . 15 , iOS 13 . 0 , tvOS 13 . 0 , watchOS 6 . 0 , * )
1159
1164
open func enableTaskV1( taskID: String , requestOptions: RequestOptions ? = nil ) async throws -> TaskUpdateResponse {
1160
1165
let response : Response < TaskUpdateResponse > = try await enableTaskV1WithHTTPInfo (
@@ -1169,14 +1174,15 @@ open class IngestionClient {
1169
1174
return body
1170
1175
}
1171
1176
1172
- // Enables a task using the v1 endpoint, please use `enableTask` instead.
1173
- // Required API Key ACLs:
1174
- // - addObject
1175
- // - deleteIndex
1176
- // - editSettings
1177
- //
1178
- // - parameter taskID: (path) Unique identifier of a task.
1179
- // - returns: RequestBuilder<TaskUpdateResponse>
1177
+ /// Enables a task using the v1 endpoint, please use `enableTask` instead.
1178
+ /// Required API Key ACLs:
1179
+ /// - addObject
1180
+ /// - deleteIndex
1181
+ /// - editSettings
1182
+ ///
1183
+ /// - parameter taskID: (path) Unique identifier of a task.
1184
+ /// - returns: RequestBuilder<TaskUpdateResponse>
1185
+ @available ( * , deprecated, message: " This operation is deprecated. " )
1180
1186
1181
1187
open func enableTaskV1WithHTTPInfo(
1182
1188
taskID: String ,
@@ -1598,6 +1604,7 @@ open class IngestionClient {
1598
1604
1599
1605
/// - parameter taskID: (path) Unique identifier of a task.
1600
1606
/// - returns: TaskV1
1607
+ @available ( * , deprecated, message: " This operation is deprecated. " )
1601
1608
@available ( macOS 10 . 15 , iOS 13 . 0 , tvOS 13 . 0 , watchOS 6 . 0 , * )
1602
1609
open func getTaskV1( taskID: String , requestOptions: RequestOptions ? = nil ) async throws -> TaskV1 {
1603
1610
let response : Response < TaskV1 > = try await getTaskV1WithHTTPInfo ( taskID: taskID, requestOptions: requestOptions)
@@ -1609,14 +1616,15 @@ open class IngestionClient {
1609
1616
return body
1610
1617
}
1611
1618
1612
- // Retrieves a task by its ID using the v1 endpoint, please use `getTask` instead.
1613
- // Required API Key ACLs:
1614
- // - addObject
1615
- // - deleteIndex
1616
- // - editSettings
1617
- //
1618
- // - parameter taskID: (path) Unique identifier of a task.
1619
- // - returns: RequestBuilder<TaskV1>
1619
+ /// Retrieves a task by its ID using the v1 endpoint, please use `getTask` instead.
1620
+ /// Required API Key ACLs:
1621
+ /// - addObject
1622
+ /// - deleteIndex
1623
+ /// - editSettings
1624
+ ///
1625
+ /// - parameter taskID: (path) Unique identifier of a task.
1626
+ /// - returns: RequestBuilder<TaskV1>
1627
+ @available ( * , deprecated, message: " This operation is deprecated. " )
1620
1628
1621
1629
open func getTaskV1WithHTTPInfo(
1622
1630
taskID: String ,
@@ -2363,6 +2371,7 @@ open class IngestionClient {
2363
2371
/// - parameter sort: (query) Property by which to sort the list of tasks. (optional)
2364
2372
/// - parameter order: (query) Sort order of the response, ascending or descending. (optional)
2365
2373
/// - returns: ListTasksResponseV1
2374
+ @available ( * , deprecated, message: " This operation is deprecated. " )
2366
2375
@available ( macOS 10 . 15 , iOS 13 . 0 , tvOS 13 . 0 , watchOS 6 . 0 , * )
2367
2376
open func listTasksV1(
2368
2377
itemsPerPage: Int ? = nil ,
@@ -2396,30 +2405,31 @@ open class IngestionClient {
2396
2405
return body
2397
2406
}
2398
2407
2399
- // Retrieves a list of tasks using the v1 endpoint, please use `getTasks` instead.
2400
- // Required API Key ACLs:
2401
- // - addObject
2402
- // - deleteIndex
2403
- // - editSettings
2404
- //
2405
- // - parameter itemsPerPage: (query) Number of items per page. (optional, default to 10)
2406
- //
2407
- // - parameter page: (query) Page number of the paginated API response. (optional)
2408
- //
2409
- // - parameter action: (query) Actions for filtering the list of tasks. (optional)
2410
- //
2411
- // - parameter enabled: (query) Whether to filter the list of tasks by the `enabled` status. (optional)
2412
- //
2413
- // - parameter sourceID: (query) Source IDs for filtering the list of tasks. (optional)
2414
- //
2415
- // - parameter destinationID: (query) Destination IDs for filtering the list of tasks. (optional)
2416
- //
2417
- // - parameter triggerType: (query) Type of task trigger for filtering the list of tasks. (optional)
2418
- //
2419
- // - parameter sort: (query) Property by which to sort the list of tasks. (optional)
2420
- //
2421
- // - parameter order: (query) Sort order of the response, ascending or descending. (optional)
2422
- // - returns: RequestBuilder<ListTasksResponseV1>
2408
+ /// Retrieves a list of tasks using the v1 endpoint, please use `getTasks` instead.
2409
+ /// Required API Key ACLs:
2410
+ /// - addObject
2411
+ /// - deleteIndex
2412
+ /// - editSettings
2413
+ ///
2414
+ /// - parameter itemsPerPage: (query) Number of items per page. (optional, default to 10)
2415
+ ///
2416
+ /// - parameter page: (query) Page number of the paginated API response. (optional)
2417
+ ///
2418
+ /// - parameter action: (query) Actions for filtering the list of tasks. (optional)
2419
+ ///
2420
+ /// - parameter enabled: (query) Whether to filter the list of tasks by the `enabled` status. (optional)
2421
+ ///
2422
+ /// - parameter sourceID: (query) Source IDs for filtering the list of tasks. (optional)
2423
+ ///
2424
+ /// - parameter destinationID: (query) Destination IDs for filtering the list of tasks. (optional)
2425
+ ///
2426
+ /// - parameter triggerType: (query) Type of task trigger for filtering the list of tasks. (optional)
2427
+ ///
2428
+ /// - parameter sort: (query) Property by which to sort the list of tasks. (optional)
2429
+ ///
2430
+ /// - parameter order: (query) Sort order of the response, ascending or descending. (optional)
2431
+ /// - returns: RequestBuilder<ListTasksResponseV1>
2432
+ @available ( * , deprecated, message: " This operation is deprecated. " )
2423
2433
2424
2434
open func listTasksV1WithHTTPInfo(
2425
2435
itemsPerPage: Int ? = nil ,
@@ -2754,6 +2764,7 @@ open class IngestionClient {
2754
2764
2755
2765
/// - parameter taskID: (path) Unique identifier of a task.
2756
2766
/// - returns: RunResponse
2767
+ @available ( * , deprecated, message: " This operation is deprecated. " )
2757
2768
@available ( macOS 10 . 15 , iOS 13 . 0 , tvOS 13 . 0 , watchOS 6 . 0 , * )
2758
2769
open func runTaskV1( taskID: String , requestOptions: RequestOptions ? = nil ) async throws -> RunResponse {
2759
2770
let response : Response < RunResponse > = try await runTaskV1WithHTTPInfo (
@@ -2768,15 +2779,16 @@ open class IngestionClient {
2768
2779
return body
2769
2780
}
2770
2781
2771
- // Runs a task using the v1 endpoint, please use `runTask` instead. You can check the status of task runs with the
2772
- // observability endpoints.
2773
- // Required API Key ACLs:
2774
- // - addObject
2775
- // - deleteIndex
2776
- // - editSettings
2777
- //
2778
- // - parameter taskID: (path) Unique identifier of a task.
2779
- // - returns: RequestBuilder<RunResponse>
2782
+ /// Runs a task using the v1 endpoint, please use `runTask` instead. You can check the status of task runs with the
2783
+ /// observability endpoints.
2784
+ /// Required API Key ACLs:
2785
+ /// - addObject
2786
+ /// - deleteIndex
2787
+ /// - editSettings
2788
+ ///
2789
+ /// - parameter taskID: (path) Unique identifier of a task.
2790
+ /// - returns: RequestBuilder<RunResponse>
2791
+ @available ( * , deprecated, message: " This operation is deprecated. " )
2780
2792
2781
2793
open func runTaskV1WithHTTPInfo(
2782
2794
taskID: String ,
@@ -3020,6 +3032,7 @@ open class IngestionClient {
3020
3032
3021
3033
/// - parameter taskSearch: (body)
3022
3034
/// - returns: [TaskV1]
3035
+ @available ( * , deprecated, message: " This operation is deprecated. " )
3023
3036
@available ( macOS 10 . 15 , iOS 13 . 0 , tvOS 13 . 0 , watchOS 6 . 0 , * )
3024
3037
open func searchTasksV1( taskSearch: TaskSearch , requestOptions: RequestOptions ? = nil ) async throws -> [ TaskV1 ] {
3025
3038
let response : Response < [ TaskV1 ] > = try await searchTasksV1WithHTTPInfo (
@@ -3034,14 +3047,15 @@ open class IngestionClient {
3034
3047
return body
3035
3048
}
3036
3049
3037
- // Searches for tasks using the v1 endpoint, please use `searchTasks` instead.
3038
- // Required API Key ACLs:
3039
- // - addObject
3040
- // - deleteIndex
3041
- // - editSettings
3042
- //
3043
- // - parameter taskSearch: (body)
3044
- // - returns: RequestBuilder<[TaskV1]>
3050
+ /// Searches for tasks using the v1 endpoint, please use `searchTasks` instead.
3051
+ /// Required API Key ACLs:
3052
+ /// - addObject
3053
+ /// - deleteIndex
3054
+ /// - editSettings
3055
+ ///
3056
+ /// - parameter taskSearch: (body)
3057
+ /// - returns: RequestBuilder<[TaskV1]>
3058
+ @available ( * , deprecated, message: " This operation is deprecated. " )
3045
3059
3046
3060
open func searchTasksV1WithHTTPInfo(
3047
3061
taskSearch: TaskSearch ,
@@ -3585,6 +3599,7 @@ open class IngestionClient {
3585
3599
/// - parameter taskID: (path) Unique identifier of a task.
3586
3600
/// - parameter taskUpdate: (body)
3587
3601
/// - returns: TaskUpdateResponse
3602
+ @available ( * , deprecated, message: " This operation is deprecated. " )
3588
3603
@available ( macOS 10 . 15 , iOS 13 . 0 , tvOS 13 . 0 , watchOS 6 . 0 , * )
3589
3604
open func updateTaskV1(
3590
3605
taskID: String ,
@@ -3604,13 +3619,14 @@ open class IngestionClient {
3604
3619
return body
3605
3620
}
3606
3621
3607
- // Updates a task by its ID using the v1 endpoint, please use `updateTask` instead.
3608
- //
3609
- //
3610
- // - parameter taskID: (path) Unique identifier of a task.
3611
- //
3612
- // - parameter taskUpdate: (body)
3613
- // - returns: RequestBuilder<TaskUpdateResponse>
3622
+ /// Updates a task by its ID using the v1 endpoint, please use `updateTask` instead.
3623
+ ///
3624
+ ///
3625
+ /// - parameter taskID: (path) Unique identifier of a task.
3626
+ ///
3627
+ /// - parameter taskUpdate: (body)
3628
+ /// - returns: RequestBuilder<TaskUpdateResponse>
3629
+ @available ( * , deprecated, message: " This operation is deprecated. " )
3614
3630
3615
3631
open func updateTaskV1WithHTTPInfo(
3616
3632
taskID: String ,
0 commit comments