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

import Foundation
import Get
import URLQueryEncoder

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

    public struct Report {
        /// Path: `/api/video/hooks/comments/{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_video_hooks_comments_api_post_comment_report")
        }
    }
}
