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

import Foundation
import Get
import URLQueryEncoder

extension Paths.Gen.WithGenId {
    public var setArtistClipId: SetArtistClipId {
        SetArtistClipId(path: path + "/set_artist_clip_id")
    }

    public struct SetArtistClipId {
        /// Path: `/api/gen/{gen_id}/set_artist_clip_id`
        public let path: String

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