mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-03 05:11:31 -05:00
regenerate fetch API
This commit is contained in:
81
vue3/models/PatchedViewLog.ts
Normal file
81
vue3/models/PatchedViewLog.ts
Normal file
@@ -0,0 +1,81 @@
|
||||
/* 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 PatchedViewLog
|
||||
*/
|
||||
export interface PatchedViewLog {
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof PatchedViewLog
|
||||
*/
|
||||
readonly id?: number;
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof PatchedViewLog
|
||||
*/
|
||||
recipe?: number;
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof PatchedViewLog
|
||||
*/
|
||||
readonly createdBy?: number;
|
||||
/**
|
||||
*
|
||||
* @type {Date}
|
||||
* @memberof PatchedViewLog
|
||||
*/
|
||||
readonly createdAt?: Date;
|
||||
}
|
||||
|
||||
/**
|
||||
* Check if a given object implements the PatchedViewLog interface.
|
||||
*/
|
||||
export function instanceOfPatchedViewLog(value: object): boolean {
|
||||
return true;
|
||||
}
|
||||
|
||||
export function PatchedViewLogFromJSON(json: any): PatchedViewLog {
|
||||
return PatchedViewLogFromJSONTyped(json, false);
|
||||
}
|
||||
|
||||
export function PatchedViewLogFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedViewLog {
|
||||
if (json == null) {
|
||||
return json;
|
||||
}
|
||||
return {
|
||||
|
||||
'id': json['id'] == null ? undefined : json['id'],
|
||||
'recipe': json['recipe'] == null ? undefined : json['recipe'],
|
||||
'createdBy': json['created_by'] == null ? undefined : json['created_by'],
|
||||
'createdAt': json['created_at'] == null ? undefined : (new Date(json['created_at'])),
|
||||
};
|
||||
}
|
||||
|
||||
export function PatchedViewLogToJSON(value?: Omit<PatchedViewLog, 'id'|'created_by'|'created_at'> | null): any {
|
||||
if (value == null) {
|
||||
return value;
|
||||
}
|
||||
return {
|
||||
|
||||
'recipe': value['recipe'],
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user