mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-04 13:48:32 -05:00
working search with flat endpoint
This commit is contained in:
94
vue3/src/openapi/models/PatchedBookmarkletImport.ts
Normal file
94
vue3/src/openapi/models/PatchedBookmarkletImport.ts
Normal file
@@ -0,0 +1,94 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
/**
|
||||
*
|
||||
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
||||
*
|
||||
* 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 { exists, mapValues } from '../runtime';
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
* @interface PatchedBookmarkletImport
|
||||
*/
|
||||
export interface PatchedBookmarkletImport {
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof PatchedBookmarkletImport
|
||||
*/
|
||||
readonly id?: number;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof PatchedBookmarkletImport
|
||||
*/
|
||||
url?: string | null;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof PatchedBookmarkletImport
|
||||
*/
|
||||
html?: string;
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof PatchedBookmarkletImport
|
||||
*/
|
||||
readonly createdBy?: number;
|
||||
/**
|
||||
*
|
||||
* @type {Date}
|
||||
* @memberof PatchedBookmarkletImport
|
||||
*/
|
||||
readonly createdAt?: Date;
|
||||
}
|
||||
|
||||
/**
|
||||
* Check if a given object implements the PatchedBookmarkletImport interface.
|
||||
*/
|
||||
export function instanceOfPatchedBookmarkletImport(value: object): boolean {
|
||||
let isInstance = true;
|
||||
|
||||
return isInstance;
|
||||
}
|
||||
|
||||
export function PatchedBookmarkletImportFromJSON(json: any): PatchedBookmarkletImport {
|
||||
return PatchedBookmarkletImportFromJSONTyped(json, false);
|
||||
}
|
||||
|
||||
export function PatchedBookmarkletImportFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedBookmarkletImport {
|
||||
if ((json === undefined) || (json === null)) {
|
||||
return json;
|
||||
}
|
||||
return {
|
||||
|
||||
'id': !exists(json, 'id') ? undefined : json['id'],
|
||||
'url': !exists(json, 'url') ? undefined : json['url'],
|
||||
'html': !exists(json, 'html') ? undefined : json['html'],
|
||||
'createdBy': !exists(json, 'created_by') ? undefined : json['created_by'],
|
||||
'createdAt': !exists(json, 'created_at') ? undefined : (new Date(json['created_at'])),
|
||||
};
|
||||
}
|
||||
|
||||
export function PatchedBookmarkletImportToJSON(value?: PatchedBookmarkletImport | null): any {
|
||||
if (value === undefined) {
|
||||
return undefined;
|
||||
}
|
||||
if (value === null) {
|
||||
return null;
|
||||
}
|
||||
return {
|
||||
|
||||
'url': value.url,
|
||||
'html': value.html,
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user