UNPKG

tuix-timesheets-api

Version:

This package facilitates the client request to tuix timesheets api

51 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.GithubAccountDTOToJSON = exports.GithubAccountDTOFromJSONTyped = exports.GithubAccountDTOFromJSON = exports.instanceOfGithubAccountDTO = void 0; const runtime_1 = require("../runtime"); /** * Check if a given object implements the GithubAccountDTO interface. */ function instanceOfGithubAccountDTO(value) { let isInstance = true; return isInstance; } exports.instanceOfGithubAccountDTO = instanceOfGithubAccountDTO; function GithubAccountDTOFromJSON(json) { return GithubAccountDTOFromJSONTyped(json, false); } exports.GithubAccountDTOFromJSON = GithubAccountDTOFromJSON; function GithubAccountDTOFromJSONTyped(json, ignoreDiscriminator) { if ((json === undefined) || (json === null)) { return json; } return { 'username': !(0, runtime_1.exists)(json, 'username') ? undefined : json['username'], }; } exports.GithubAccountDTOFromJSONTyped = GithubAccountDTOFromJSONTyped; function GithubAccountDTOToJSON(value) { if (value === undefined) { return undefined; } if (value === null) { return null; } return { 'username': value.username, }; } exports.GithubAccountDTOToJSON = GithubAccountDTOToJSON; //# sourceMappingURL=GithubAccountDTO.js.map