mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-02 04:39:54 -05:00
more basics
This commit is contained in:
71
vue3/src/openapi/models/MealPlanRecipeKeywordsInner.ts
Normal file
71
vue3/src/openapi/models/MealPlanRecipeKeywordsInner.ts
Normal file
@@ -0,0 +1,71 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* Django Recipes
|
||||
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
||||
*
|
||||
* The version of the OpenAPI document:
|
||||
*
|
||||
*
|
||||
* 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 MealPlanRecipeKeywordsInner
|
||||
*/
|
||||
export interface MealPlanRecipeKeywordsInner {
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof MealPlanRecipeKeywordsInner
|
||||
*/
|
||||
readonly id?: number;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof MealPlanRecipeKeywordsInner
|
||||
*/
|
||||
readonly label?: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* Check if a given object implements the MealPlanRecipeKeywordsInner interface.
|
||||
*/
|
||||
export function instanceOfMealPlanRecipeKeywordsInner(value: object): boolean {
|
||||
let isInstance = true;
|
||||
|
||||
return isInstance;
|
||||
}
|
||||
|
||||
export function MealPlanRecipeKeywordsInnerFromJSON(json: any): MealPlanRecipeKeywordsInner {
|
||||
return MealPlanRecipeKeywordsInnerFromJSONTyped(json, false);
|
||||
}
|
||||
|
||||
export function MealPlanRecipeKeywordsInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): MealPlanRecipeKeywordsInner {
|
||||
if ((json === undefined) || (json === null)) {
|
||||
return json;
|
||||
}
|
||||
return {
|
||||
|
||||
'id': !exists(json, 'id') ? undefined : json['id'],
|
||||
'label': !exists(json, 'label') ? undefined : json['label'],
|
||||
};
|
||||
}
|
||||
|
||||
export function MealPlanRecipeKeywordsInnerToJSON(value?: MealPlanRecipeKeywordsInner | null): any {
|
||||
if (value === undefined) {
|
||||
return undefined;
|
||||
}
|
||||
if (value === null) {
|
||||
return null;
|
||||
}
|
||||
return {
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user