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

import Foundation
import Get
import URLQueryEncoder

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

    public struct Reaction {
        /// Path: `/api/video/hooks/comments/{comment_id}/reaction`
        public let path: String

        /// Post Comment Reaction
        ///
        /// Post a reaction to a comment.
        public func post(_ body: GenAPI.CommentReactionRequest) -> Request<Void> {
            Request(path: path, method: "POST", body: body, id: "studio_api_video_hooks_comments_api_post_comment_reaction")
        }
    }
}
