// This file is auto-generated, don't edit it import * as $dara from '@darabonba/typescript'; export class ListContactGroupsResponseBodyContactGroups extends $dara.Model { /** * @remarks * The unique identifier of the contact group. * * @example * test */ contactGroupId?: string; /** * @remarks * The contact IDs. */ contactIds?: string[]; /** * @remarks * The contact name. * * @example * test */ name?: string; /** * @remarks * The workspace. * * @example * default-cms-1641973317055299-cn-hangzhou */ workspace?: string; static names(): { [key: string]: string } { return { contactGroupId: 'contactGroupId', contactIds: 'contactIds', name: 'name', workspace: 'workspace', }; } static types(): { [key: string]: any } { return { contactGroupId: 'string', contactIds: { 'type': 'array', 'itemType': 'string' }, name: 'string', workspace: 'string', }; } validate() { if(Array.isArray(this.contactIds)) { $dara.Model.validateArray(this.contactIds); } super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } } export class ListContactGroupsResponseBody extends $dara.Model { /** * @remarks * The contact groups. */ contactGroups?: ListContactGroupsResponseBodyContactGroups[]; /** * @remarks * The page number. Default value: 1. * * @example * 1 */ pageNumber?: number; /** * @remarks * The number of entries per page. Default value: 100. * * @example * 10 */ pageSize?: number; /** * @remarks * The unique request ID. * * @example * 8FDE2569-626B-5176-9844-28877A***** */ requestId?: string; /** * @remarks * The total number of entries. * * @example * 15 */ total?: number; static names(): { [key: string]: string } { return { contactGroups: 'contactGroups', pageNumber: 'pageNumber', pageSize: 'pageSize', requestId: 'requestId', total: 'total', }; } static types(): { [key: string]: any } { return { contactGroups: { 'type': 'array', 'itemType': ListContactGroupsResponseBodyContactGroups }, pageNumber: 'number', pageSize: 'number', requestId: 'string', total: 'number', }; } validate() { if(Array.isArray(this.contactGroups)) { $dara.Model.validateArray(this.contactGroups); } super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } }