This commit is contained in:
vabene1111
2024-03-05 17:16:07 +01:00
parent aa5a87a1fc
commit c0c71c3967
138 changed files with 4367 additions and 3934 deletions

View File

@@ -1,8 +1,8 @@
/* tslint:disable */
/* eslint-disable */
/**
*
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
* Tandoor
* Tandoor API Docs
*
* The version of the OpenAPI document: 0.0.0
*
@@ -13,12 +13,12 @@
*/
import { exists, mapValues } from '../runtime';
import type { TypeEnum } from './TypeEnum';
import {
TypeEnumFromJSON,
TypeEnumFromJSONTyped,
TypeEnumToJSON,
} from './TypeEnum';
AutomationTypeEnum,
AutomationTypeEnumFromJSON,
AutomationTypeEnumFromJSONTyped,
AutomationTypeEnumToJSON,
} from './';
/**
*
@@ -34,10 +34,10 @@ export interface PatchedAutomation {
readonly id?: number;
/**
*
* @type {TypeEnum}
* @type {AutomationTypeEnum}
* @memberof PatchedAutomation
*/
type?: TypeEnum;
type?: AutomationTypeEnum;
/**
*
* @type {string}
@@ -88,15 +88,6 @@ export interface PatchedAutomation {
readonly createdBy?: number;
}
/**
* Check if a given object implements the PatchedAutomation interface.
*/
export function instanceOfPatchedAutomation(value: object): boolean {
let isInstance = true;
return isInstance;
}
export function PatchedAutomationFromJSON(json: any): PatchedAutomation {
return PatchedAutomationFromJSONTyped(json, false);
}
@@ -108,7 +99,7 @@ export function PatchedAutomationFromJSONTyped(json: any, ignoreDiscriminator: b
return {
'id': !exists(json, 'id') ? undefined : json['id'],
'type': !exists(json, 'type') ? undefined : TypeEnumFromJSON(json['type']),
'type': !exists(json, 'type') ? undefined : AutomationTypeEnumFromJSON(json['type']),
'name': !exists(json, 'name') ? undefined : json['name'],
'description': !exists(json, 'description') ? undefined : json['description'],
'param1': !exists(json, 'param_1') ? undefined : json['param_1'],
@@ -129,7 +120,7 @@ export function PatchedAutomationToJSON(value?: PatchedAutomation | null): any {
}
return {
'type': TypeEnumToJSON(value.type),
'type': AutomationTypeEnumToJSON(value.type),
'name': value.name,
'description': value.description,
'param_1': value.param1,
@@ -140,3 +131,4 @@ export function PatchedAutomationToJSON(value?: PatchedAutomation | null): any {
};
}