/* 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 MarkEmployeeInvoicePaidDTO */ export interface MarkEmployeeInvoicePaidDTO { /** * * @type {boolean} * @memberof MarkEmployeeInvoicePaidDTO */ isPaid: boolean; } /** * Check if a given object implements the MarkEmployeeInvoicePaidDTO interface. */ export function instanceOfMarkEmployeeInvoicePaidDTO(value: object): boolean { let isInstance = true; isInstance = isInstance && "isPaid" in value; return isInstance; } export function MarkEmployeeInvoicePaidDTOFromJSON(json: any): MarkEmployeeInvoicePaidDTO { return MarkEmployeeInvoicePaidDTOFromJSONTyped(json, false); } export function MarkEmployeeInvoicePaidDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): MarkEmployeeInvoicePaidDTO { if ((json === undefined) || (json === null)) { return json; } return { 'isPaid': json['isPaid'], }; } export function MarkEmployeeInvoicePaidDTOToJSON(value?: MarkEmployeeInvoicePaidDTO | null): any { if (value === undefined) { return undefined; } if (value === null) { return null; } return { 'isPaid': value.isPaid, }; }