UNPKG

tuix-timesheets-api

Version:

This package facilitates the client request to tuix timesheets api

60 lines 1.94 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.SDKTestResponseDTOToJSON = exports.SDKTestResponseDTOFromJSONTyped = exports.SDKTestResponseDTOFromJSON = exports.instanceOfSDKTestResponseDTO = void 0; /** * Check if a given object implements the SDKTestResponseDTO interface. */ function instanceOfSDKTestResponseDTO(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.instanceOfSDKTestResponseDTO = instanceOfSDKTestResponseDTO; function SDKTestResponseDTOFromJSON(json) { return SDKTestResponseDTOFromJSONTyped(json, false); } exports.SDKTestResponseDTOFromJSON = SDKTestResponseDTOFromJSON; function SDKTestResponseDTOFromJSONTyped(json, ignoreDiscriminator) { if ((json === undefined) || (json === null)) { return json; } return { 'test1': json['test1'], 'test2': json['test2'], 'test3': json['test3'], 'test4': json['test4'], }; } exports.SDKTestResponseDTOFromJSONTyped = SDKTestResponseDTOFromJSONTyped; function SDKTestResponseDTOToJSON(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.SDKTestResponseDTOToJSON = SDKTestResponseDTOToJSON; //# sourceMappingURL=SDKTestResponseDTO.js.map