/** * 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 { ResponseTemplatePattern } from './responseTemplatePattern'; /** * Response Rules are useful when your Templates require the end-users to select among known responses [for example, Yes/No, Accept/Decline or ranking something from 1 to 5] Using Response Rules in combination with Templates allows you to automatically categorise any response to these messages into different response groups for reporting purposes */ export class ResponseRule { /** * Specifies the name of the response rule */ 'name': string; /** * Specifies the description of the response rule for others to understand its purpose */ 'description'?: string; 'responseTemplatePatterns': ResponseTemplatePattern; static discriminator: string | undefined = undefined; static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "name", "baseName": "name", "type": "string" }, { "name": "description", "baseName": "description", "type": "string" }, { "name": "responseTemplatePatterns", "baseName": "responseTemplatePatterns", "type": "ResponseTemplatePattern" } ]; static getAttributeTypeMap() { return ResponseRule.attributeTypeMap; } }