UNPKG

tuix-timesheets-api

Version:

This package facilitates the client request to tuix timesheets api

66 lines (56 loc) 1.44 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 GithubAccountDTO */ export interface GithubAccountDTO { /** * * @type {string} * @memberof GithubAccountDTO */ username?: string; } /** * Check if a given object implements the GithubAccountDTO interface. */ export function instanceOfGithubAccountDTO(value: object): boolean { let isInstance = true; return isInstance; } export function GithubAccountDTOFromJSON(json: any): GithubAccountDTO { return GithubAccountDTOFromJSONTyped(json, false); } export function GithubAccountDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): GithubAccountDTO { if ((json === undefined) || (json === null)) { return json; } return { 'username': !exists(json, 'username') ? undefined : json['username'], }; } export function GithubAccountDTOToJSON(value?: GithubAccountDTO | null): any { if (value === undefined) { return undefined; } if (value === null) { return null; } return { 'username': value.username, }; }