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

import Foundation
import Get
import URLQueryEncoder

extension Paths.PlaylistReaction.WithPlaylistId {
    public var incrementPlayCount: IncrementPlayCount {
        IncrementPlayCount(path: path + "/increment_play_count")
    }

    public struct IncrementPlayCount {
        /// Path: `/api/playlist_reaction/{playlist_id}/increment_play_count`
        public let path: String

        /// Increment Play Count
        ///
        /// Increment play count on UserPlaylistReaction (and associated Playlist).
        public func post(_ body: GenAPI.PlaylistPlayCountSpec) -> Request<Void> {
            Request(path: path, method: "POST", body: body, id: "studio_api_bots_playlist_reaction_api_increment_play_count")
        }
    }
}
