UNPKG

tuix-timesheets-api

Version:

This package facilitates the client request to tuix timesheets api

54 lines 1.62 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.JiraAccountDtoToJSON = exports.JiraAccountDtoFromJSONTyped = exports.JiraAccountDtoFromJSON = exports.instanceOfJiraAccountDto = void 0; /** * Check if a given object implements the JiraAccountDto interface. */ function instanceOfJiraAccountDto(value) { let isInstance = true; isInstance = isInstance && "id" in value; isInstance = isInstance && "site" in value; return isInstance; } exports.instanceOfJiraAccountDto = instanceOfJiraAccountDto; function JiraAccountDtoFromJSON(json) { return JiraAccountDtoFromJSONTyped(json, false); } exports.JiraAccountDtoFromJSON = JiraAccountDtoFromJSON; function JiraAccountDtoFromJSONTyped(json, ignoreDiscriminator) { if ((json === undefined) || (json === null)) { return json; } return { 'id': json['id'], 'site': json['site'], }; } exports.JiraAccountDtoFromJSONTyped = JiraAccountDtoFromJSONTyped; function JiraAccountDtoToJSON(value) { if (value === undefined) { return undefined; } if (value === null) { return null; } return { 'id': value.id, 'site': value.site, }; } exports.JiraAccountDtoToJSON = JiraAccountDtoToJSON; //# sourceMappingURL=JiraAccountDto.js.map