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

import Foundation
import Get
import URLQueryEncoder

extension Paths.Video.Hooks.Comments {
    public func commentId(_ commentId: String) -> WithCommentId {
        WithCommentId(path: "\(path)/\(commentId)")
    }

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

        /// Delete Comment
        ///
        /// Delete a comment. Users can only delete their own comments.
        public func delete(_ body: GenAPI.DeleteCommentRequest? = nil) -> Request<GenAPI.DeleteCommentResponse> {
            Request(path: path, method: "DELETE", body: body, id: "studio_api_video_hooks_comments_api_delete_comment")
        }
    }
}
