fixed api client generation

This commit is contained in:
vabene1111
2024-04-22 19:33:09 +02:00
parent c47e46263c
commit 12cf9da8fc
145 changed files with 914 additions and 175 deletions

View File

@@ -24,7 +24,7 @@ export interface ExportLog {
* @type {number}
* @memberof ExportLog
*/
id?: number;
readonly id: number;
/**
*
* @type {string}
@@ -85,6 +85,7 @@ export interface ExportLog {
* Check if a given object implements the ExportLog interface.
*/
export function instanceOfExportLog(value: object): boolean {
if (!('id' in value)) return false;
if (!('type' in value)) return false;
if (!('createdBy' in value)) return false;
if (!('createdAt' in value)) return false;
@@ -101,7 +102,7 @@ export function ExportLogFromJSONTyped(json: any, ignoreDiscriminator: boolean):
}
return {
'id': json['id'] == null ? undefined : json['id'],
'id': json['id'],
'type': json['type'],
'msg': json['msg'] == null ? undefined : json['msg'],
'running': json['running'] == null ? undefined : json['running'],
@@ -120,7 +121,6 @@ export function ExportLogToJSON(value?: ExportLog | null): any {
}
return {
'id': value['id'],
'type': value['type'],
'msg': value['msg'],
'running': value['running'],