// This file is auto-generated, don't edit it import * as $dara from '@darabonba/typescript'; export class GetRetcodeAppByPidRequestTags extends $dara.Model { /** * @remarks * The tag key. * * @example * TestKey */ key?: string; /** * @remarks * The tag value. * * @example * TestValue */ value?: string; static names(): { [key: string]: string } { return { key: 'Key', value: 'Value', }; } static types(): { [key: string]: any } { return { key: 'string', value: 'string', }; } validate() { super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } } export class GetRetcodeAppByPidRequest extends $dara.Model { /** * @remarks * The PID of the application. To obtain the PID of the application, perform the following steps: Log on to the Application Real-Time Monitoring Service (ARMS) console. In the left-side navigation pane, choose **Browser Monitoring** > **Browser Monitoring**. On the Browser Monitoring page, click the name of the application. The URL in the address bar contains the PID of the application. The PID is 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 xxx%4074xxx, you must replace %40 with the at sign (@) to obtain xxx@74xxx. * * This parameter is required. * * @example * b590lhguqs@9781be0f44dXXXX */ pid?: string; /** * @remarks * The ID of the region. * * @example * cn-hangzhou */ regionId?: string; /** * @remarks * The list of tags. */ tags?: GetRetcodeAppByPidRequestTags[]; static names(): { [key: string]: string } { return { pid: 'Pid', regionId: 'RegionId', tags: 'Tags', }; } static types(): { [key: string]: any } { return { pid: 'string', regionId: 'string', tags: { 'type': 'array', 'itemType': GetRetcodeAppByPidRequestTags }, }; } validate() { if(Array.isArray(this.tags)) { $dara.Model.validateArray(this.tags); } super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } }