// Generated by Create API
// https://github.com/CreateAPI/CreateAPI

import Foundation
import Get
import URLQueryEncoder

extension Paths.Preferences {
    public var bulkUpsertTasks: BulkUpsertTasks {
        BulkUpsertTasks(path: path + "/bulk-upsert-tasks")
    }

    public struct BulkUpsertTasks {
        /// Path: `/api/preferences/bulk-upsert-tasks`
        public let path: String

        /// Bulk Upsert Label Maker Tasks
        public func post(_ body: GenAPI.BulkUpsertLabelMakerTasksSpec) -> Request<Void> {
            Request(path: path, method: "POST", body: body, id: "studio_api_preferences_api_bulk_upsert_label_maker_tasks")
        }
    }
}
