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

import Foundation
import Get
import URLQueryEncoder

extension Paths.Gen {
    public var trash: Trash {
        Trash(path: path + "/trash")
    }

    public struct Trash {
        /// Path: `/api/gen/trash`
        public let path: String

        /// Trash Gen
        ///
        /// Move or remove a generated clip from trash.
        /// 
        /// Args:
        ///     request (HttpRequest): The HTTP request object.
        ///     spec (TrashSpec): An object containing trash specifications.
        /// 
        /// Returns:
        ///     TrashSchema: An object indicating the trash (deleted) status of the clip.
        public func post(_ body: GenAPI.TrashSpec) -> Request<Void> {
            Request(path: path, method: "POST", body: body, id: "studio_api_bots_gen_api_trash_gen")
        }
    }
}
