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

import Foundation
import Get
import URLQueryEncoder

extension Paths.Profiles.CheckHandleAvailability {
    public func handle(_ handle: String) -> WithHandle {
        WithHandle(path: "\(path)/\(handle)")
    }

    public struct WithHandle {
        /// Path: `/api/profiles/check-handle-availability/{handle}`
        public let path: String

        /// Check Display Name Availability
        public var get: Request<GenAPI.CheckHandleAvailabilityResponse> {
            Request(path: path, method: "GET", id: "studio_api_bots_profiles_api_check_display_name_availability")
        }
    }
}
