/* tslint:disable */ /* eslint-disable */ /** * ChatGPT Function * Backend for Azure OpenAI integrations * * The version of the OpenAPI document: v1.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 SimpleResponseDto */ export interface SimpleResponseDto { /** * * @type {string} * @memberof SimpleResponseDto */ answer?: string; } /** * Check if a given object implements the SimpleResponseDto interface. */ export function instanceOfSimpleResponseDto(value: object): value is SimpleResponseDto { return true; } export function SimpleResponseDtoFromJSON(json: any): SimpleResponseDto { return SimpleResponseDtoFromJSONTyped(json, false); } export function SimpleResponseDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): SimpleResponseDto { if (json == null) { return json; } return { 'answer': json['answer'] == null ? undefined : json['answer'], }; } export function SimpleResponseDtoToJSON(json: any): SimpleResponseDto { return SimpleResponseDtoToJSONTyped(json, false); } export function SimpleResponseDtoToJSONTyped(value?: SimpleResponseDto | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'answer': value['answer'], }; }