UNPKG

tuix-timesheets-api

Version:

This package facilitates the client request to tuix timesheets api

51 lines 1.56 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.HolidayCreateDTOToJSON = exports.HolidayCreateDTOFromJSONTyped = exports.HolidayCreateDTOFromJSON = exports.instanceOfHolidayCreateDTO = void 0; /** * Check if a given object implements the HolidayCreateDTO interface. */ function instanceOfHolidayCreateDTO(value) { let isInstance = true; isInstance = isInstance && "date" in value; return isInstance; } exports.instanceOfHolidayCreateDTO = instanceOfHolidayCreateDTO; function HolidayCreateDTOFromJSON(json) { return HolidayCreateDTOFromJSONTyped(json, false); } exports.HolidayCreateDTOFromJSON = HolidayCreateDTOFromJSON; function HolidayCreateDTOFromJSONTyped(json, ignoreDiscriminator) { if ((json === undefined) || (json === null)) { return json; } return { 'date': json['date'], }; } exports.HolidayCreateDTOFromJSONTyped = HolidayCreateDTOFromJSONTyped; function HolidayCreateDTOToJSON(value) { if (value === undefined) { return undefined; } if (value === null) { return null; } return { 'date': value.date, }; } exports.HolidayCreateDTOToJSON = HolidayCreateDTOToJSON; //# sourceMappingURL=HolidayCreateDTO.js.map