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

import Foundation
import Get
import URLQueryEncoder

extension Paths.Playlist {
    public var create: Create {
        Create(path: path + "/create")
    }

    public struct Create {
        /// Path: `/api/playlist/create`
        public let path: String

        /// Create Playlist
        public func post(_ body: GenAPI.PlaylistCreateSpec) -> Request<GenAPI.PlaylistSchema> {
            Request(path: path, method: "POST", body: body, id: "studio_api_bots_playlist_api_create_playlist")
        }
    }
}
