// This file is auto-generated, don't edit it import * as $dara from '@darabonba/typescript'; export class GetRetcodeDataByQueryRequest extends $dara.Model { /** * @remarks * The beginning of the time range to query. This value is a UNIX timestamp representing the number of seconds that have elapsed since the epoch time January 1, 1970, 00:00:00 UTC. * * This parameter is required. * * @example * 1668687302 */ from?: number; /** * @remarks * The ID of the application. * * Log on to the **ARMS console**. In the left-side navigation pane, choose **Browser Monitoring** > **Browser Monitoring**. On the Browser Monitoring page, click the name of an application. The URL in the address bar contains the process ID (PID) of the application. The PID is indicated in the pid=xxx format. The PID is usually percent encoded as xxx%40xxx. You must modify this value to remove the percent encoding. For example, if the PID in the URL is eb4zdose6v%409781be0f44d\\*\\*\\*\\*, you must replace %40 with an at sign (@) to obtain eb4zdose6v@9781be0f44d\\*\\*\\*\\*. * * This parameter is required. * * @example * atc889zkcf@d8deedfa9bf**** */ pid?: string; /** * @remarks * The query statement that conforms to the query syntax of a Log Service Logstore. * * This parameter is required. * * @example * t : pv|select sum(times) as pv , approx_distinct(uid) as uv , (date-date%3600000) as date group by date */ query?: string; /** * @remarks * The region ID. * * This parameter is required. * * @example * cn-hangzhou */ regionId?: string; /** * @remarks * The end of the time range to query. This value is a UNIX timestamp representing the number of seconds that have elapsed since the epoch time January 1, 1970, 00:00:00 UTC. * * This parameter is required. * * @example * 1668688000 */ to?: number; static names(): { [key: string]: string } { return { from: 'From', pid: 'Pid', query: 'Query', regionId: 'RegionId', to: 'To', }; } static types(): { [key: string]: any } { return { from: 'number', pid: 'string', query: 'string', regionId: 'string', to: 'number', }; } validate() { super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } }