tuix-timesheets-api
Version:
This package facilitates the client request to tuix timesheets api
51 lines • 1.58 kB
JavaScript
;
/* 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.UserUpdateDTOScToJSON = exports.UserUpdateDTOScFromJSONTyped = exports.UserUpdateDTOScFromJSON = exports.instanceOfUserUpdateDTOSc = void 0;
const runtime_1 = require("../runtime");
/**
* Check if a given object implements the UserUpdateDTOSc interface.
*/
function instanceOfUserUpdateDTOSc(value) {
let isInstance = true;
return isInstance;
}
exports.instanceOfUserUpdateDTOSc = instanceOfUserUpdateDTOSc;
function UserUpdateDTOScFromJSON(json) {
return UserUpdateDTOScFromJSONTyped(json, false);
}
exports.UserUpdateDTOScFromJSON = UserUpdateDTOScFromJSON;
function UserUpdateDTOScFromJSONTyped(json, ignoreDiscriminator) {
if ((json === undefined) || (json === null)) {
return json;
}
return {
'name': !(0, runtime_1.exists)(json, 'Name') ? undefined : json['Name'],
};
}
exports.UserUpdateDTOScFromJSONTyped = UserUpdateDTOScFromJSONTyped;
function UserUpdateDTOScToJSON(value) {
if (value === undefined) {
return undefined;
}
if (value === null) {
return null;
}
return {
'Name': value.name,
};
}
exports.UserUpdateDTOScToJSON = UserUpdateDTOScToJSON;
//# sourceMappingURL=UserUpdateDTOSc.js.map