mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-02 12:49:02 -05:00
settings page WIP
This commit is contained in:
68
vue3/src/openapi/models/Localization.ts
Normal file
68
vue3/src/openapi/models/Localization.ts
Normal file
@@ -0,0 +1,68 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* Tandoor
|
||||
* Tandoor API Docs
|
||||
*
|
||||
* The version of the OpenAPI document: 0.0.0
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
|
||||
import { mapValues } from '../runtime';
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
* @interface Localization
|
||||
*/
|
||||
export interface Localization {
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof Localization
|
||||
*/
|
||||
readonly code: string;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof Localization
|
||||
*/
|
||||
readonly language: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* Check if a given object implements the Localization interface.
|
||||
*/
|
||||
export function instanceOfLocalization(value: object): boolean {
|
||||
if (!('code' in value)) return false;
|
||||
if (!('language' in value)) return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
export function LocalizationFromJSON(json: any): Localization {
|
||||
return LocalizationFromJSONTyped(json, false);
|
||||
}
|
||||
|
||||
export function LocalizationFromJSONTyped(json: any, ignoreDiscriminator: boolean): Localization {
|
||||
if (json == null) {
|
||||
return json;
|
||||
}
|
||||
return {
|
||||
|
||||
'code': json['code'],
|
||||
'language': json['language'],
|
||||
};
|
||||
}
|
||||
|
||||
export function LocalizationToJSON(value?: Localization | null): any {
|
||||
if (value == null) {
|
||||
return value;
|
||||
}
|
||||
return {
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user