UNPKG

tuix-timesheets-api

Version:

This package facilitates the client request to tuix timesheets api

67 lines (57 loc) 1.51 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 MarkInvoicePaidDTO */ export interface MarkInvoicePaidDTO { /** * Format: "2006-01-02T15:04:05Z07:00" * @type {string} * @memberof MarkInvoicePaidDTO */ paidDate: string; } /** * Check if a given object implements the MarkInvoicePaidDTO interface. */ export function instanceOfMarkInvoicePaidDTO(value: object): boolean { let isInstance = true; isInstance = isInstance && "paidDate" in value; return isInstance; } export function MarkInvoicePaidDTOFromJSON(json: any): MarkInvoicePaidDTO { return MarkInvoicePaidDTOFromJSONTyped(json, false); } export function MarkInvoicePaidDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): MarkInvoicePaidDTO { if ((json === undefined) || (json === null)) { return json; } return { 'paidDate': json['paidDate'], }; } export function MarkInvoicePaidDTOToJSON(value?: MarkInvoicePaidDTO | null): any { if (value === undefined) { return undefined; } if (value === null) { return null; } return { 'paidDate': value.paidDate, }; }