/**
 * 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";
import { Datacenter } from "./Datacenter";
import { Pagination } from "./Pagination";

export const DatacentersListResponse: core.serialization.ObjectSchema<
    serializers.DatacentersListResponse.Raw,
    Rivet.DatacentersListResponse
> = core.serialization.object({
    datacenters: core.serialization.list(Datacenter),
    pagination: Pagination,
});

export declare namespace DatacentersListResponse {
    export interface Raw {
        datacenters: Datacenter.Raw[];
        pagination: Pagination.Raw;
    }
}
