UNPKG

tuix-timesheets-api

Version:

This package facilitates the client request to tuix timesheets api

60 lines 1.92 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.SDKTestRequestDTOToJSON = exports.SDKTestRequestDTOFromJSONTyped = exports.SDKTestRequestDTOFromJSON = exports.instanceOfSDKTestRequestDTO = void 0; /** * Check if a given object implements the SDKTestRequestDTO interface. */ function instanceOfSDKTestRequestDTO(value) { let isInstance = true; isInstance = isInstance && "test1" in value; isInstance = isInstance && "test2" in value; isInstance = isInstance && "test3" in value; isInstance = isInstance && "test4" in value; return isInstance; } exports.instanceOfSDKTestRequestDTO = instanceOfSDKTestRequestDTO; function SDKTestRequestDTOFromJSON(json) { return SDKTestRequestDTOFromJSONTyped(json, false); } exports.SDKTestRequestDTOFromJSON = SDKTestRequestDTOFromJSON; function SDKTestRequestDTOFromJSONTyped(json, ignoreDiscriminator) { if ((json === undefined) || (json === null)) { return json; } return { 'test1': json['test1'], 'test2': json['test2'], 'test3': json['test3'], 'test4': json['test4'], }; } exports.SDKTestRequestDTOFromJSONTyped = SDKTestRequestDTOFromJSONTyped; function SDKTestRequestDTOToJSON(value) { if (value === undefined) { return undefined; } if (value === null) { return null; } return { 'test1': value.test1, 'test2': value.test2, 'test3': value.test3, 'test4': value.test4, }; } exports.SDKTestRequestDTOToJSON = SDKTestRequestDTOToJSON; //# sourceMappingURL=SDKTestRequestDTO.js.map