UNPKG

tuix-timesheets-api

Version:

This package facilitates the client request to tuix timesheets api

53 lines 1.72 kB
"use strict"; /* tslint:disable */ /* eslint-disable */ /** * Tuix Services * Tuix Services API * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ Object.defineProperty(exports, "__esModule", { value: true }); exports.UpdateUserDTOToJSON = exports.UpdateUserDTOFromJSONTyped = exports.UpdateUserDTOFromJSON = exports.instanceOfUpdateUserDTO = void 0; const runtime_1 = require("../runtime"); /** * Check if a given object implements the UpdateUserDTO interface. */ function instanceOfUpdateUserDTO(value) { let isInstance = true; return isInstance; } exports.instanceOfUpdateUserDTO = instanceOfUpdateUserDTO; function UpdateUserDTOFromJSON(json) { return UpdateUserDTOFromJSONTyped(json, false); } exports.UpdateUserDTOFromJSON = UpdateUserDTOFromJSON; function UpdateUserDTOFromJSONTyped(json, ignoreDiscriminator) { if ((json === undefined) || (json === null)) { return json; } return { 'timeZone': !(0, runtime_1.exists)(json, 'timeZone') ? undefined : json['timeZone'], 'workingHours': !(0, runtime_1.exists)(json, 'workingHours') ? undefined : json['workingHours'], }; } exports.UpdateUserDTOFromJSONTyped = UpdateUserDTOFromJSONTyped; function UpdateUserDTOToJSON(value) { if (value === undefined) { return undefined; } if (value === null) { return null; } return { 'timeZone': value.timeZone, 'workingHours': value.workingHours, }; } exports.UpdateUserDTOToJSON = UpdateUserDTOToJSON; //# sourceMappingURL=UpdateUserDTO.js.map