// This file is auto-generated, don't edit it import * as $dara from '@darabonba/typescript'; export class SearchMediaRequest extends $dara.Model { /** * @example * {} */ customFilters?: string; /** * @remarks * The ID of the entity. * * @example * 2d3bf1e35a1e42b5ab338d701efa7603 */ entityId?: string; /** * @remarks * The filter conditions. For more information about the parameter syntax * , see [Media asset search protocols](https://help.aliyun.com/document_detail/2584256.html). */ match?: string; /** * @remarks * The page number. Default value: 1. * * @example * 1 */ pageNo?: number; /** * @remarks * The number of entries per page. Default value: 10. Maximum value: 50. * * @example * 20 */ pageSize?: number; /** * @remarks * The pagination identifier. The value can be up to 32 characters in length. The first time you call this operation for each new search, you do not need to specify this parameter. The value of this parameter is returned each time data records that meet the specified filter condition are found. The value is used to record the current position of queried data. Record the returned parameter value and set this parameter according to the following requirements during the next search: If you need to traverse all data that meets the filter criteria, you must set the ScrollToken parameter. If the value of the PageNo parameter exceeds 200, we recommend that you set this parameter to optimize search performance. You can only page backward. You can page a maximum of 1,000 entries in an operation. * * @example * F8C4F642184DBDA5D93907A70AAE**** */ scrollToken?: string; /** * @remarks * The search library. * * @example * test-1 */ searchLibName?: string; /** * @remarks * The sort field and order. Separate multiple parameters with commas (,). * * @example * utcCreate:Desc, utcModified:Desc */ sortBy?: string; static names(): { [key: string]: string } { return { customFilters: 'CustomFilters', entityId: 'EntityId', match: 'Match', pageNo: 'PageNo', pageSize: 'PageSize', scrollToken: 'ScrollToken', searchLibName: 'SearchLibName', sortBy: 'SortBy', }; } static types(): { [key: string]: any } { return { customFilters: 'string', entityId: 'string', match: 'string', pageNo: 'number', pageSize: 'number', scrollToken: 'string', searchLibName: 'string', sortBy: 'string', }; } validate() { super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } }