/* 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 RealtimeAgentsDto */ export interface RealtimeAgentsDto { /** * * @type {string} * @memberof RealtimeAgentsDto */ context?: string; /** * * @type {string} * @memberof RealtimeAgentsDto */ description?: string; } /** * Check if a given object implements the RealtimeAgentsDto interface. */ export function instanceOfRealtimeAgentsDto(value: object): value is RealtimeAgentsDto { return true; } export function RealtimeAgentsDtoFromJSON(json: any): RealtimeAgentsDto { return RealtimeAgentsDtoFromJSONTyped(json, false); } export function RealtimeAgentsDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): RealtimeAgentsDto { if (json == null) { return json; } return { 'context': json['context'] == null ? undefined : json['context'], 'description': json['description'] == null ? undefined : json['description'], }; } export function RealtimeAgentsDtoToJSON(json: any): RealtimeAgentsDto { return RealtimeAgentsDtoToJSONTyped(json, false); } export function RealtimeAgentsDtoToJSONTyped(value?: RealtimeAgentsDto | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'context': value['context'], 'description': value['description'], }; }