/* 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 { }; }