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

import Foundation
import Get
import URLQueryEncoder

extension Paths.Comment {
    public var unblockUser: UnblockUser {
        UnblockUser(path: path + "/unblock-user")
    }

    public struct UnblockUser {
        /// Path: `/api/comment/unblock-user`
        public let path: String

        /// Post Unblock User
        ///
        /// Unblock a user from commenting on requesting user's songs
        public func post(_ body: GenAPI.CommentBlockRequest) -> Request<Void> {
            Request(path: path, method: "POST", body: body, id: "studio_api_bots_comment_api_post_unblock_user")
        }
    }
}
