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

import Foundation
import Get
import URLQueryEncoder

extension Paths.Video.Hooks {
    public var creatorLabel: CreatorLabel {
        CreatorLabel(path: path + "/creator_label")
    }

    public struct CreatorLabel {
        /// Path: `/api/video/hooks/creator_label`
        public let path: String

        /// Add Hook Creator Label
        ///
        /// Add a label to a hook creator.
        public func post(_ body: GenAPI.AddHookCreatorLabelSpec) -> Request<GenAPI.AddHookCreatorLabelResponse> {
            Request(path: path, method: "POST", body: body, id: "studio_api_video_hooks_api_add_hook_creator_label")
        }
    }
}
