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

import Foundation
import Get
import URLQueryEncoder

extension Paths.Gen.WithGenId {
    public var shareAsset: ShareAsset {
        ShareAsset(path: path + "/share_asset")
    }

    public struct ShareAsset {
        /// Path: `/api/gen/{gen_id}/share_asset`
        public let path: String

        /// Share Asset
        ///
        /// Generate a sharable asset for a song.
        public func post(_ body: GenAPI.ShareAssetSpec) -> Request<GenAPI.ShareAssetSchema> {
            Request(path: path, method: "POST", body: body, id: "studio_api_bots_gen_api_share_asset")
        }
    }
}
