// This file is auto-generated, don't edit it import * as $dara from '@darabonba/typescript'; export class ListSyntheticDetailShrinkRequest extends $dara.Model { /** * @remarks * An array of filter conditions. This parameter is required. * * * To query the list of synthetic test results, set this parameter in the following format: [{"Key":"taskType","OpType":"in","Value":[Task type]}]. * * To query the result details of a synthetic monitoring task, set this parameter in the following format: [{"Key":"dataId","OpType":"eq","Value":"dataId"}]. dataId is returned when you query the list of synthetic test results. */ advancedFiltersShrink?: string; /** * @remarks * The type of the results. Set the value to SYNTHETIC. * * @example * SYNTHETIC */ category?: string; /** * @remarks * The type of the list that contains the results. This parameter is required. Valid values: * * * ICMP_LIST * * TCP_LIST * * DNS_LIST * * HTTP_LIST * * WEBSITE_LIST * * DOWNLOAD_LIST * * ALL * * @example * ICMP_LIST */ detail?: string; /** * @remarks * The timestamp of the end time of the query. Unit: milliseconds. * * @example * 1684480557772 */ endTime?: number; /** * @remarks * A reserved field. */ exactFiltersShrink?: string; /** * @remarks * The filter condition. This parameter is required. * * * To query the result of a synthetic monitoring task, set this parameter in the following format: {"taskId":"${taskId}"}. * * To query the result details of a synthetic monitoring task, set this parameter in the following format: {"taskId":"${taskId}","dataId":"${dataId}"}. */ filtersShrink?: string; /** * @remarks * The order in which results are sorted. Valid values: * * - `ASC`: ascending order * - `DESC`: descending order * * @example * DESC */ order?: string; /** * @remarks * The field based on which results are sorted. Set the value to timestamp. * * @example * timestamp */ orderBy?: string; /** * @remarks * The page number. Pages start from page 1. * * @example * 1 */ page?: number; /** * @remarks * The number of entries per page. * * @example * 20 */ pageSize?: number; /** * @remarks * The ID of the region. Set the value to cn-hangzhou. * * @example * cn-hangzhou */ regionId?: string; /** * @remarks * The timestamp of the start time of the query. Unit: milliseconds. * * @example * 1684110343127 */ startTime?: number; /** * @remarks * The type of the synthetic test. Valid values: 1 and 2. 1 represents an immediate test, and 2 represents a scheduled test. * * @example * 1 */ syntheticType?: number; static names(): { [key: string]: string } { return { advancedFiltersShrink: 'AdvancedFilters', category: 'Category', detail: 'Detail', endTime: 'EndTime', exactFiltersShrink: 'ExactFilters', filtersShrink: 'Filters', order: 'Order', orderBy: 'OrderBy', page: 'Page', pageSize: 'PageSize', regionId: 'RegionId', startTime: 'StartTime', syntheticType: 'SyntheticType', }; } static types(): { [key: string]: any } { return { advancedFiltersShrink: 'string', category: 'string', detail: 'string', endTime: 'number', exactFiltersShrink: 'string', filtersShrink: 'string', order: 'string', orderBy: 'string', page: 'number', pageSize: 'number', regionId: 'string', startTime: 'number', syntheticType: 'number', }; } validate() { super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } }