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

import Foundation
import Get
import URLQueryEncoder

extension Paths.Recommend.Feedback.Song {
    public func clipId(_ clipId: String) -> WithClipId {
        WithClipId(path: "\(path)/\(clipId)")
    }

    public struct WithClipId {
        /// Path: `/api/recommend/feedback/song/{clip_id}`
        public let path: String

        /// Update Song Feedback
        public func post(_ body: GenAPI.UpdateSongFeedbackRequest) -> Request<Void> {
            Request(path: path, method: "POST", body: body, id: "studio_api_recommendations_api_update_song_feedback")
        }

        /// Remove Song Feedback
        public func delete(_ body: GenAPI.UpdateSongFeedbackRequest) -> Request<Void> {
            Request(path: path, method: "DELETE", body: body, id: "studio_api_recommendations_api_remove_song_feedback")
        }
    }
}
