/* 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 FollowUpEmailResponse */ export interface FollowUpEmailResponse { /** * * @type {boolean} * @memberof FollowUpEmailResponse */ success?: boolean; /** * * @type {string} * @memberof FollowUpEmailResponse */ message?: string; /** * * @type {string} * @memberof FollowUpEmailResponse */ result?: string; /** * * @type {string} * @memberof FollowUpEmailResponse */ companyName?: string; /** * * @type {string} * @memberof FollowUpEmailResponse */ contactId?: string; } /** * Check if a given object implements the FollowUpEmailResponse interface. */ export function instanceOfFollowUpEmailResponse(value: object): value is FollowUpEmailResponse { return true; } export function FollowUpEmailResponseFromJSON(json: any): FollowUpEmailResponse { return FollowUpEmailResponseFromJSONTyped(json, false); } export function FollowUpEmailResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): FollowUpEmailResponse { if (json == null) { return json; } return { 'success': json['success'] == null ? undefined : json['success'], 'message': json['message'] == null ? undefined : json['message'], 'result': json['result'] == null ? undefined : json['result'], 'companyName': json['companyName'] == null ? undefined : json['companyName'], 'contactId': json['contactId'] == null ? undefined : json['contactId'], }; } export function FollowUpEmailResponseToJSON(json: any): FollowUpEmailResponse { return FollowUpEmailResponseToJSONTyped(json, false); } export function FollowUpEmailResponseToJSONTyped(value?: FollowUpEmailResponse | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'success': value['success'], 'message': value['message'], 'result': value['result'], 'companyName': value['companyName'], 'contactId': value['contactId'], }; }