// This file is auto-generated, don't edit it import * as $dara from '@darabonba/typescript'; export class IncidentContactStruct extends $dara.Model { /** * @remarks * The channel list. */ channel?: string[]; /** * @remarks * The contact ID. * * @example * 627415 */ contactId?: string; /** * @remarks * The contact type. * * @example * GROUP */ contactType?: string; static names(): { [key: string]: string } { return { channel: 'channel', contactId: 'contactId', contactType: 'contactType', }; } static types(): { [key: string]: any } { return { channel: { 'type': 'array', 'itemType': 'string' }, contactId: 'string', contactType: 'string', }; } validate() { if(Array.isArray(this.channel)) { $dara.Model.validateArray(this.channel); } super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } }