UNPKG

box-node-sdk

Version:

Official SDK for Box Platform APIs

21 lines 735 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.serializeBoxVersionHeaderV2026R0 = serializeBoxVersionHeaderV2026R0; exports.deserializeBoxVersionHeaderV2026R0 = deserializeBoxVersionHeaderV2026R0; const errors_1 = require("../../box/errors.js"); const json_1 = require("../../serialization/json.js"); function serializeBoxVersionHeaderV2026R0(val) { return val; } function deserializeBoxVersionHeaderV2026R0(val) { if (val == '2026.0') { return val; } if ((0, json_1.sdIsString)(val)) { return val; } throw new errors_1.BoxSdkError({ message: "Can't deserialize BoxVersionHeaderV2026R0", }); } //# sourceMappingURL=boxVersionHeaderV2026R0.js.map