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

import Foundation
import Get
import URLQueryEncoder

extension Paths.Moderation.HiveModeration.Hook {
    public func hookId(_ hookId: String) -> WithHookId {
        WithHookId(path: "\(path)/\(hookId)")
    }

    public struct WithHookId {
        /// Path: `/api/moderation/hive-moderation/hook/{hook_id}`
        public let path: String

        /// Deprecated Hive Moderation Hook
        ///
        /// DEPRECATED: This endpoint has been moved to /moderation/hive/hook/{hook_id}.
        /// Please use the new endpoint instead.
        @available(*, deprecated, message: "Deprecated")
        public var get: Request<Void> {
            Request(path: path, method: "GET", id: "studio_api_moderation_api_deprecated_hive_moderation_hook")
        }
    }
}
