mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-01 20:28:46 -05:00
servings
This commit is contained in:
@@ -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 {
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user