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

import Foundation
import Get
import URLQueryEncoder

extension Paths.Profiles.PinClip {
    public func clipId(_ clipId: String) -> WithClipId {
        WithClipId(path: "\(path)/\(clipId)")
    }

    public struct WithClipId {
        /// Path: `/api/profiles/pin-clip/{clip_id}`
        public let path: String

        /// Pin Clip
        public func post(_ body: GenAPI.PinClipSpec? = nil) -> Request<GenAPI.PinnedClipsSchema> {
            Request(path: path, method: "POST", body: body, id: "studio_api_bots_profiles_api_pin_clip")
        }
    }
}
