/** * Represents supported version of the "OData-Version" header, which is part * of the Open Data Protocol standard. * * @public */ export default class ODataVersion { /** * Represents version 3.0 for the "OData-Version" header */ static v3: ODataVersion; /** * Represents version 4.0 for the "OData-Version" header */ static v4: ODataVersion; private _versionString; /** * Attempt to parse the "OData-Version" header. * * @remarks * If the "OData-Version" header is present, this returns the * corresponding ODataVersion constant. An error is thrown if * the version number is not supported. If the header is missing, * then undefined is returned. */ static tryParseFromHeaders(headers: Headers): ODataVersion | undefined; /** * Returns the "OData-Version" value, for example "4.0". */ toString(): string; private constructor(); } //# sourceMappingURL=ODataVersion.d.ts.map