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

import Foundation
import Get
import URLQueryEncoder

extension Paths.Comment.WithCommentId {
    public var report: Report {
        Report(path: path + "/report")
    }

    public struct Report {
        /// Path: `/api/comment/{comment_id}/report`
        public let path: String

        /// Post Comment Report
        ///
        /// Report a comment.
        public func post(_ body: GenAPI.ReportCommentRequest) -> Request<GenAPI.ReportCommentResponse> {
            Request(path: path, method: "POST", body: body, id: "studio_api_bots_comment_api_post_comment_report")
        }
    }
}
