UNPKG

tuix-timesheets-api

Version:

This package facilitates the client request to tuix timesheets api

74 lines (64 loc) 1.83 kB
/* 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. */ import { exists, mapValues } from '../runtime'; /** * * @export * @interface AdjustedTimesheetEmployeeInfo */ export interface AdjustedTimesheetEmployeeInfo { /** * * @type {string} * @memberof AdjustedTimesheetEmployeeInfo */ firstName?: string; /** * * @type {string} * @memberof AdjustedTimesheetEmployeeInfo */ lastName?: string; } /** * Check if a given object implements the AdjustedTimesheetEmployeeInfo interface. */ export function instanceOfAdjustedTimesheetEmployeeInfo(value: object): boolean { let isInstance = true; return isInstance; } export function AdjustedTimesheetEmployeeInfoFromJSON(json: any): AdjustedTimesheetEmployeeInfo { return AdjustedTimesheetEmployeeInfoFromJSONTyped(json, false); } export function AdjustedTimesheetEmployeeInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AdjustedTimesheetEmployeeInfo { if ((json === undefined) || (json === null)) { return json; } return { 'firstName': !exists(json, 'firstName') ? undefined : json['firstName'], 'lastName': !exists(json, 'lastName') ? undefined : json['lastName'], }; } export function AdjustedTimesheetEmployeeInfoToJSON(value?: AdjustedTimesheetEmployeeInfo | null): any { if (value === undefined) { return undefined; } if (value === null) { return null; } return { 'firstName': value.firstName, 'lastName': value.lastName, }; }