tuix-timesheets-api
Version:
This package facilitates the client request to tuix timesheets api
51 lines • 1.52 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.UserInputDTOScToJSON = exports.UserInputDTOScFromJSONTyped = exports.UserInputDTOScFromJSON = exports.instanceOfUserInputDTOSc = void 0;
/**
* Check if a given object implements the UserInputDTOSc interface.
*/
function instanceOfUserInputDTOSc(value) {
let isInstance = true;
isInstance = isInstance && "name" in value;
return isInstance;
}
exports.instanceOfUserInputDTOSc = instanceOfUserInputDTOSc;
function UserInputDTOScFromJSON(json) {
return UserInputDTOScFromJSONTyped(json, false);
}
exports.UserInputDTOScFromJSON = UserInputDTOScFromJSON;
function UserInputDTOScFromJSONTyped(json, ignoreDiscriminator) {
if ((json === undefined) || (json === null)) {
return json;
}
return {
'name': json['Name'],
};
}
exports.UserInputDTOScFromJSONTyped = UserInputDTOScFromJSONTyped;
function UserInputDTOScToJSON(value) {
if (value === undefined) {
return undefined;
}
if (value === null) {
return null;
}
return {
'Name': value.name,
};
}
exports.UserInputDTOScToJSON = UserInputDTOScToJSON;
//# sourceMappingURL=UserInputDTOSc.js.map