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

import Foundation
import Get
import URLQueryEncoder

extension Paths.Gen.WithGenId {
    public var setCoverClipId: SetCoverClipId {
        SetCoverClipId(path: path + "/set_cover_clip_id")
    }

    public struct SetCoverClipId {
        /// Path: `/api/gen/{gen_id}/set_cover_clip_id`
        public let path: String

        /// Set Cover Clip Id
        ///
        /// Set cover_clip_id in the metadata of a GeneratedClip. User must own clip.
        public func post(_ body: GenAPI.CoverClipIdSpec) -> Request<Void> {
            Request(path: path, method: "POST", body: body, id: "studio_api_bots_gen_api_set_cover_clip_id")
        }
    }
}
