alas/web/service/openapi/models/DalleResponse.ts
Armin Friedl a279965fed
All checks were successful
continuous-integration/drone/push Build is passing
Add dalle
2022-07-10 19:47:06 +02:00

56 lines
1.2 KiB
TypeScript

/* tslint:disable */
/* eslint-disable */
/**
* FastAPI
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 0.1.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 DalleResponse
*/
export interface DalleResponse {
/**
*
* @type {Array<string>}
* @memberof DalleResponse
*/
imagePaths: Array<string>;
}
export function DalleResponseFromJSON(json: any): DalleResponse {
return DalleResponseFromJSONTyped(json, false);
}
export function DalleResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): DalleResponse {
if ((json === undefined) || (json === null)) {
return json;
}
return {
'imagePaths': json['imagePaths'],
};
}
export function DalleResponseToJSON(value?: DalleResponse | null): any {
if (value === undefined) {
return undefined;
}
if (value === null) {
return null;
}
return {
'imagePaths': value.imagePaths,
};
}