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

import Foundation
import Get
import URLQueryEncoder

extension Paths.Contests.Contest.WithContestIdentifier {
    public var info: Info {
        Info(path: path + "/info")
    }

    public struct Info {
        /// Path: `/api/contests/contest/{contest_identifier}/info`
        public let path: String

        /// Get Contest Info Endpoint
        public var get: Request<GenAPI.ContestInfoSchema> {
            Request(path: path, method: "GET", id: "studio_api_contests_api_get_contest_info_endpoint")
        }

        /// Set Contest Info
        public func put(_ body: GenAPI.ContestInfoSchema) -> Request<GenAPI.ContestInfoSchema> {
            Request(path: path, method: "PUT", body: body, id: "studio_api_contests_api_set_contest_info")
        }
    }
}
