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

import Foundation
import Get
import URLQueryEncoder

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

    public struct Report {
        /// Path: `/api/video/hooks/{hook_id}/report`
        public let path: String

        /// Report Hook
        public func post(_ body: GenAPI.HookReportRequest) -> Request<GenAPI.HookReportResponse> {
            Request(path: path, method: "POST", body: body, id: "studio_api_video_hooks_api_report_hook")
        }
    }
}
