UNPKG

tuix-timesheets-api

Version:

This package facilitates the client request to tuix timesheets api

55 lines 1.8 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.UserEnrollDTOToJSON = exports.UserEnrollDTOFromJSONTyped = exports.UserEnrollDTOFromJSON = exports.instanceOfUserEnrollDTO = void 0; const runtime_1 = require("../runtime"); /** * Check if a given object implements the UserEnrollDTO interface. */ function instanceOfUserEnrollDTO(value) { let isInstance = true; return isInstance; } exports.instanceOfUserEnrollDTO = instanceOfUserEnrollDTO; function UserEnrollDTOFromJSON(json) { return UserEnrollDTOFromJSONTyped(json, false); } exports.UserEnrollDTOFromJSON = UserEnrollDTOFromJSON; function UserEnrollDTOFromJSONTyped(json, ignoreDiscriminator) { if ((json === undefined) || (json === null)) { return json; } return { 'createdAt': !(0, runtime_1.exists)(json, 'createdAt') ? undefined : json['createdAt'], 'id': !(0, runtime_1.exists)(json, 'id') ? undefined : json['id'], 'updatedAt': !(0, runtime_1.exists)(json, 'updatedAt') ? undefined : json['updatedAt'], }; } exports.UserEnrollDTOFromJSONTyped = UserEnrollDTOFromJSONTyped; function UserEnrollDTOToJSON(value) { if (value === undefined) { return undefined; } if (value === null) { return null; } return { 'createdAt': value.createdAt, 'id': value.id, 'updatedAt': value.updatedAt, }; } exports.UserEnrollDTOToJSON = UserEnrollDTOToJSON; //# sourceMappingURL=UserEnrollDTO.js.map