/**
 * This file was auto-generated by Fern from our API Definition.
 */

import * as serializers from "../index";
import * as Rivet from "../../api/index";
import * as core from "../../core";

export const MetadataGetResponse: core.serialization.ObjectSchema<
    serializers.MetadataGetResponse.Raw,
    Rivet.MetadataGetResponse
> = core.serialization.object({
    buildTimestamp: core.serialization.property("build_timestamp", core.serialization.string()),
    cargoProfile: core.serialization.property("cargo_profile", core.serialization.string()),
    cargoTarget: core.serialization.property("cargo_target", core.serialization.string()),
    gitSha: core.serialization.property("git_sha", core.serialization.string()),
    runtime: core.serialization.string(),
    rustcHost: core.serialization.property("rustc_host", core.serialization.string()),
    rustcVersion: core.serialization.property("rustc_version", core.serialization.string()),
    version: core.serialization.string(),
});

export declare namespace MetadataGetResponse {
    export interface Raw {
        build_timestamp: string;
        cargo_profile: string;
        cargo_target: string;
        git_sha: string;
        runtime: string;
        rustc_host: string;
        rustc_version: string;
        version: string;
    }
}
