/** * Whispir Platform API * Whispir Platform API for cross channel and multi channel communications. Documentation on each endpoint is available at https://developers.whispir.com. * * The version of the OpenAPI document: 1.0.0 * Contact: support@whispir.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { RequestFile } from './models'; import { CallbackInstanceCallback } from './callbackInstanceCallback'; import { CallbackInstanceFrom } from './callbackInstanceFrom'; import { CallbackInstanceResponseMessage } from './callbackInstanceResponseMessage'; import { LinkInner } from './linkInner'; /** * A callback instance object */ export class CallbackInstance { /** * The unique ID of the specific call within Whispir */ 'id'?: string; /** * The unique ID of the message within Whispir */ 'messageId'?: string; /** * The status of this particular callback attempt. */ 'status'?: CallbackInstance.StatusEnum; /** * The fully qualified URL to the original message within Whispir */ 'messageLocation'?: string; 'from'?: CallbackInstanceFrom; 'responseMessage'?: CallbackInstanceResponseMessage; 'callback'?: CallbackInstanceCallback; /** * A [HATEOAS](https://en.wikipedia.org/wiki/HATEOAS) link object, describing all discoverable resources in relation to the original request. */ 'link'?: Array; static discriminator: string | undefined = undefined; static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "id", "baseName": "id", "type": "string" }, { "name": "messageId", "baseName": "messageId", "type": "string" }, { "name": "status", "baseName": "status", "type": "CallbackInstance.StatusEnum" }, { "name": "messageLocation", "baseName": "messageLocation", "type": "string" }, { "name": "from", "baseName": "from", "type": "CallbackInstanceFrom" }, { "name": "responseMessage", "baseName": "responseMessage", "type": "CallbackInstanceResponseMessage" }, { "name": "callback", "baseName": "callback", "type": "CallbackInstanceCallback" }, { "name": "link", "baseName": "link", "type": "Array" } ]; static getAttributeTypeMap() { return CallbackInstance.attributeTypeMap; } } export namespace CallbackInstance { export enum StatusEnum { Success = 'SUCCESS', Failed = 'FAILED' } }