Armin Friedl
a279965fed
All checks were successful
continuous-integration/drone/push Build is passing
56 lines
1.2 KiB
TypeScript
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,
|
|
};
|
|
}
|
|
|