// This file is auto-generated, don't edit it import * as $dara from '@darabonba/typescript'; export class ListLiveRecordTemplatesRequest extends $dara.Model { /** * @remarks * The search keyword. You can use the template ID or name as the keyword to search for templates. If you search for templates by name, fuzzy match is supported. * * @example * test template */ keyword?: string; /** * @remarks * The page number. Minimum value: 1. Default value: 1. * * @example * 1 */ pageNo?: number; /** * @remarks * The number of entries per page. Valid values: 1 to 100. Default value: 10. * * @example * 10 */ pageSize?: number; /** * @remarks * The sorting order. By default, the query results are sorted by creation time in descending order. * * Valid values: * * * asc: sorts the query results in ascending order. * * desc: sorts the query results in descending order. * * @example * desc */ sortBy?: string; templateIds?: string[]; /** * @remarks * The type of the template. * * Valid values: * * * system * * custom * * @example * custom */ type?: string; static names(): { [key: string]: string } { return { keyword: 'Keyword', pageNo: 'PageNo', pageSize: 'PageSize', sortBy: 'SortBy', templateIds: 'TemplateIds', type: 'Type', }; } static types(): { [key: string]: any } { return { keyword: 'string', pageNo: 'number', pageSize: 'number', sortBy: 'string', templateIds: { 'type': 'array', 'itemType': 'string' }, type: 'string', }; } validate() { if(Array.isArray(this.templateIds)) { $dara.Model.validateArray(this.templateIds); } super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } }