UNPKG

@stadiamaps/api

Version:
59 lines 1.93 kB
/** * Stadia Maps Geospatial APIs * The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. * * The version of the OpenAPI document: 10.1.2 * Contact: support@stadiamaps.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * The speed limit between the pair of coordinates. * @export * @interface OsrmSpeedLimit */ export interface OsrmSpeedLimit { /** * * @type {number} * @memberof OsrmSpeedLimit */ speed?: number; /** * The unit of measure for the speed. Always included if speed is present. * @type {string} * @memberof OsrmSpeedLimit */ unit?: OsrmSpeedLimitUnitEnum; /** * True if the speed limit is not known. * @type {boolean} * @memberof OsrmSpeedLimit */ unknown?: boolean; /** * True if there is no explicit speed limit (ex: some Autobahn sections) * @type {boolean} * @memberof OsrmSpeedLimit */ none?: boolean; } /** * @export */ export declare const OsrmSpeedLimitUnitEnum: { readonly KmH: "km/h"; readonly Mph: "mph"; }; export type OsrmSpeedLimitUnitEnum = (typeof OsrmSpeedLimitUnitEnum)[keyof typeof OsrmSpeedLimitUnitEnum]; /** * Check if a given object implements the OsrmSpeedLimit interface. */ export declare function instanceOfOsrmSpeedLimit(value: object): value is OsrmSpeedLimit; export declare function OsrmSpeedLimitFromJSON(json: any): OsrmSpeedLimit; export declare function OsrmSpeedLimitFromJSONTyped(json: any, ignoreDiscriminator: boolean): OsrmSpeedLimit; export declare function OsrmSpeedLimitToJSON(json: any): OsrmSpeedLimit; export declare function OsrmSpeedLimitToJSONTyped(value?: OsrmSpeedLimit | null, ignoreDiscriminator?: boolean): any; //# sourceMappingURL=OsrmSpeedLimit.d.ts.map