/* 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 Property */ export interface Property { /** * * @type {string} * @memberof Property */ type?: string | null; /** * * @type {string} * @memberof Property */ description?: string | null; } /** * Check if a given object implements the Property interface. */ export function instanceOfProperty(value: object): value is Property { return true; } export function PropertyFromJSON(json: any): Property { return PropertyFromJSONTyped(json, false); } export function PropertyFromJSONTyped(json: any, ignoreDiscriminator: boolean): Property { if (json == null) { return json; } return { 'type': json['type'] == null ? undefined : json['type'], 'description': json['description'] == null ? undefined : json['description'], }; } export function PropertyToJSON(json: any): Property { return PropertyToJSONTyped(json, false); } export function PropertyToJSONTyped(value?: Property | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'type': value['type'], 'description': value['description'], }; }