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

import Foundation
import Get
import URLQueryEncoder

extension Paths.Video.Hooks.Comments.WithHookId {
    public var comment: Comment {
        Comment(path: path + "/comment")
    }

    public struct Comment {
        /// Path: `/api/video/hooks/comments/{hook_id}/comment`
        public let path: String

        /// Post Comment
        public func post(_ body: GenAPI.PostCommentRequest) -> Request<GenAPI.CommentSchema> {
            Request(path: path, method: "POST", body: body, id: "studio_api_video_hooks_comments_api_post_comment")
        }
    }
}
