GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Test Failed
Push — master ( 88864c...e7c8ba )
by
unknown
07:12
created

CreateOrUpdateEventBridgeIntegration::withSource()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 3
c 1
b 0
f 0
dl 0
loc 6
rs 10
cc 1
nc 1
nop 1
1
<?php
2
3
namespace AlibabaCloud\ARMS\V20190808;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method AddAliClusterIdsToPrometheusGlobalView addAliClusterIdsToPrometheusGlobalView(array $options = [])
9
 * @method AddGrafana addGrafana(array $options = [])
10
 * @method AddIntegration addIntegration(array $options = [])
11
 * @method AddPrometheusGlobalView addPrometheusGlobalView(array $options = [])
12
 * @method AddPrometheusGlobalViewByAliClusterIds addPrometheusGlobalViewByAliClusterIds(array $options = [])
13
 * @method AddPrometheusInstance addPrometheusInstance(array $options = [])
14
 * @method AddRecordingRule addRecordingRule(array $options = [])
15
 * @method AppendInstancesToPrometheusGlobalView appendInstancesToPrometheusGlobalView(array $options = [])
16
 * @method ApplyScenario applyScenario(array $options = [])
17
 * @method CheckServiceStatus checkServiceStatus(array $options = [])
18
 * @method ConfigApp configApp(array $options = [])
19
 * @method CreateAlertContact createAlertContact(array $options = [])
20
 * @method CreateAlertContactGroup createAlertContactGroup(array $options = [])
21
 * @method CreateDispatchRule createDispatchRule(array $options = [])
22
 * @method CreateIntegration createIntegration(array $options = [])
23
 * @method CreateOrUpdateAlertRule createOrUpdateAlertRule(array $options = [])
24
 * @method CreateOrUpdateContact createOrUpdateContact(array $options = [])
25
 * @method CreateOrUpdateContactGroup createOrUpdateContactGroup(array $options = [])
26
 * @method CreateOrUpdateEventBridgeIntegration createOrUpdateEventBridgeIntegration(array $options = [])
27
 * @method CreateOrUpdateIMRobot createOrUpdateIMRobot(array $options = [])
28
 * @method CreateOrUpdateNotificationPolicy createOrUpdateNotificationPolicy(array $options = [])
29
 * @method CreateOrUpdateSilencePolicy createOrUpdateSilencePolicy(array $options = [])
30
 * @method CreateOrUpdateWebhookContact createOrUpdateWebhookContact(array $options = [])
31
 * @method CreatePrometheusAlertRule createPrometheusAlertRule(array $options = [])
32
 * @method CreateRetcodeApp createRetcodeApp(array $options = [])
33
 * @method CreateSyntheticTask createSyntheticTask(array $options = [])
34
 * @method CreateWebhook createWebhook(array $options = [])
35
 * @method DelAuthToken delAuthToken(array $options = [])
36
 * @method DeleteAlertContact deleteAlertContact(array $options = [])
37
 * @method DeleteAlertContactGroup deleteAlertContactGroup(array $options = [])
38
 * @method DeleteAlertRule deleteAlertRule(array $options = [])
39
 * @method DeleteAlertRules deleteAlertRules(array $options = [])
40
 * @method DeleteCmsExporter deleteCmsExporter(array $options = [])
41
 * @method DeleteContact deleteContact(array $options = [])
42
 * @method DeleteContactGroup deleteContactGroup(array $options = [])
43
 * @method DeleteDispatchRule deleteDispatchRule(array $options = [])
44
 * @method DeleteEventBridgeIntegration deleteEventBridgeIntegration(array $options = [])
45
 * @method DeleteGrafanaResource deleteGrafanaResource(array $options = [])
46
 * @method DeleteIMRobot deleteIMRobot(array $options = [])
47
 * @method DeleteIntegration deleteIntegration(array $options = [])
48
 * @method DeleteIntegrations deleteIntegrations(array $options = [])
49
 * @method DeleteNotificationPolicy deleteNotificationPolicy(array $options = [])
50
 * @method DeletePrometheusAlertRule deletePrometheusAlertRule(array $options = [])
51
 * @method DeletePrometheusGlobalView deletePrometheusGlobalView(array $options = [])
52
 * @method DeleteRetcodeApp deleteRetcodeApp(array $options = [])
53
 * @method DeleteScenario deleteScenario(array $options = [])
54
 * @method DeleteSilencePolicy deleteSilencePolicy(array $options = [])
55
 * @method DeleteSourceMap deleteSourceMap(array $options = [])
56
 * @method DeleteTraceApp deleteTraceApp(array $options = [])
57
 * @method DeleteWebhookContact deleteWebhookContact(array $options = [])
58
 * @method DescribeContactGroups describeContactGroups(array $options = [])
59
 * @method DescribeContacts describeContacts(array $options = [])
60
 * @method DescribeDispatchRule describeDispatchRule(array $options = [])
61
 * @method DescribeIMRobots describeIMRobots(array $options = [])
62
 * @method DescribePrometheusAlertRule describePrometheusAlertRule(array $options = [])
63
 * @method DescribeTraceLicenseKey describeTraceLicenseKey(array $options = [])
64
 * @method DescribeWebhookContacts describeWebhookContacts(array $options = [])
65
 * @method GetAgentDownloadUrl getAgentDownloadUrl(array $options = [])
66
 * @method GetAlertRules getAlertRules(array $options = [])
67
 * @method GetAppApiByPage getAppApiByPage(array $options = [])
68
 * @method GetAuthToken getAuthToken(array $options = [])
69
 * @method GetClusterAllUrl getClusterAllUrl(array $options = [])
70
 * @method GetExploreUrl getExploreUrl(array $options = [])
71
 * @method GetIntegrationState getIntegrationState(array $options = [])
72
 * @method GetMultipleTrace getMultipleTrace(array $options = [])
73
 * @method GetOnCallSchedulesDetail getOnCallSchedulesDetail(array $options = [])
74
 * @method GetPrometheusApiToken getPrometheusApiToken(array $options = [])
75
 * @method GetPrometheusGlobalView getPrometheusGlobalView(array $options = [])
76
 * @method GetRecordingRule getRecordingRule(array $options = [])
77
 * @method GetRetcodeShareUrl getRetcodeShareUrl(array $options = [])
78
 * @method GetSourceMapInfo getSourceMapInfo(array $options = [])
79
 * @method GetStack getStack(array $options = [])
80
 * @method GetSyntheticTaskMonitors getSyntheticTaskMonitors(array $options = [])
81
 * @method GetTrace getTrace(array $options = [])
82
 * @method GetTraceApp getTraceApp(array $options = [])
83
 * @method ImportAppAlertRules importAppAlertRules(array $options = [])
84
 * @method InstallCmsExporter installCmsExporter(array $options = [])
85
 * @method InstallManagedPrometheus installManagedPrometheus(array $options = [])
86
 * @method ListActivatedAlerts listActivatedAlerts(array $options = [])
87
 * @method ListAlerts listAlerts(array $options = [])
88
 * @method ListClusterFromGrafana listClusterFromGrafana(array $options = [])
89
 * @method ListCmsInstances listCmsInstances(array $options = [])
90
 * @method ListDashboards listDashboards(array $options = [])
91
 * @method ListDashboardsByName listDashboardsByName(array $options = [])
92
 * @method ListDispatchRule listDispatchRule(array $options = [])
93
 * @method ListEscalationPolicies listEscalationPolicies(array $options = [])
94
 * @method ListEventBridgeIntegrations listEventBridgeIntegrations(array $options = [])
95
 * @method ListInsightsEvents listInsightsEvents(array $options = [])
96
 * @method ListIntegration listIntegration(array $options = [])
97
 * @method ListNotificationPolicies listNotificationPolicies(array $options = [])
98
 * @method ListOnCallSchedules listOnCallSchedules(array $options = [])
99
 * @method ListPrometheusAlertRules listPrometheusAlertRules(array $options = [])
100
 * @method ListPrometheusAlertTemplates listPrometheusAlertTemplates(array $options = [])
101
 * @method ListPrometheusGlobalView listPrometheusGlobalView(array $options = [])
102
 * @method ListPrometheusInstances listPrometheusInstances(array $options = [])
103
 * @method ListRetcodeApps listRetcodeApps(array $options = [])
104
 * @method ListScenario listScenario(array $options = [])
105
 * @method ListSilencePolicies listSilencePolicies(array $options = [])
106
 * @method ListTraceApps listTraceApps(array $options = [])
107
 * @method ManageGetRecordingRule manageGetRecordingRule(array $options = [])
108
 * @method ManageRecordingRule manageRecordingRule(array $options = [])
109
 * @method OpenArmsDefaultSLR openArmsDefaultSLR(array $options = [])
110
 * @method OpenArmsServiceSecondVersion openArmsServiceSecondVersion(array $options = [])
111
 * @method OpenVCluster openVCluster(array $options = [])
112
 * @method OpenXtraceDefaultSLR openXtraceDefaultSLR(array $options = [])
113
 * @method QueryMetricByPage queryMetricByPage(array $options = [])
114
 * @method QueryPromInstallStatus queryPromInstallStatus(array $options = [])
115
 * @method QueryReleaseMetric queryReleaseMetric(array $options = [])
116
 * @method RemoveAliClusterIdsFromPrometheusGlobalView removeAliClusterIdsFromPrometheusGlobalView(array $options = [])
117
 * @method RemoveSourcesFromPrometheusGlobalView removeSourcesFromPrometheusGlobalView(array $options = [])
118
 * @method SaveTraceAppConfig saveTraceAppConfig(array $options = [])
119
 * @method SearchAlertContact searchAlertContact(array $options = [])
120
 * @method SearchAlertContactGroup searchAlertContactGroup(array $options = [])
121
 * @method SearchAlertHistories searchAlertHistories(array $options = [])
122
 * @method SearchAlertRules searchAlertRules(array $options = [])
123
 * @method SearchEvents searchEvents(array $options = [])
124
 * @method SearchRetcodeAppByPage searchRetcodeAppByPage(array $options = [])
125
 * @method SearchTraceAppByName searchTraceAppByName(array $options = [])
126
 * @method SearchTraceAppByPage searchTraceAppByPage(array $options = [])
127
 * @method SearchTraces searchTraces(array $options = [])
128
 * @method SearchTracesByPage searchTracesByPage(array $options = [])
129
 * @method SendTTSVerifyLink sendTTSVerifyLink(array $options = [])
130
 * @method SetRetcodeShareStatus setRetcodeShareStatus(array $options = [])
131
 * @method StartAlert startAlert(array $options = [])
132
 * @method StopAlert stopAlert(array $options = [])
133
 * @method TurnOnSecondSwitch turnOnSecondSwitch(array $options = [])
134
 * @method UninstallManagedPrometheus uninstallManagedPrometheus(array $options = [])
135
 * @method UninstallPromCluster uninstallPromCluster(array $options = [])
136
 * @method UpdateAlertContact updateAlertContact(array $options = [])
137
 * @method UpdateAlertContactGroup updateAlertContactGroup(array $options = [])
138
 * @method UpdateAlertRule updateAlertRule(array $options = [])
139
 * @method UpdateDispatchRule updateDispatchRule(array $options = [])
140
 * @method UpdateIntegration updateIntegration(array $options = [])
141
 * @method UpdatePrometheusAlertRule updatePrometheusAlertRule(array $options = [])
142
 * @method UpdateWebhook updateWebhook(array $options = [])
143
 * @method Upload upload(array $options = [])
144
 */
145
class ARMSApiResolver extends ApiResolver
146
{
147
}
148
149
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
150
{
151
    /** @var string */
152
    public $product = 'ARMS';
153
154
    /** @var string */
155
    public $version = '2019-08-08';
156
157
    /** @var string */
158
    public $method = 'POST';
159
160
    /** @var string */
161
    public $serviceCode = 'arms';
162
}
163
164
/**
165
 * @method string getGlobalViewClusterId()
166
 * @method $this withGlobalViewClusterId($value)
167
 * @method string getClusterIds()
168
 * @method $this withClusterIds($value)
169
 * @method string getGroupName()
170
 * @method $this withGroupName($value)
171
 */
172
class AddAliClusterIdsToPrometheusGlobalView extends Rpc
173
{
174
}
175
176
/**
177
 * @method string getIntegration()
178
 * @method $this withIntegration($value)
179
 * @method string getClusterId()
180
 * @method $this withClusterId($value)
181
 */
182
class AddGrafana extends Rpc
183
{
184
}
185
186
/**
187
 * @method string getIntegration()
188
 * @method $this withIntegration($value)
189
 * @method string getClusterId()
190
 * @method $this withClusterId($value)
191
 */
192
class AddIntegration extends Rpc
193
{
194
}
195
196
/**
197
 * @method string getGroupName()
198
 * @method $this withGroupName($value)
199
 * @method string getClusters()
200
 * @method $this withClusters($value)
201
 */
202
class AddPrometheusGlobalView extends Rpc
203
{
204
}
205
206
/**
207
 * @method string getProductCode()
208
 * @method $this withProductCode($value)
209
 * @method string getClusterIds()
210
 * @method $this withClusterIds($value)
211
 * @method string getGroupName()
212
 * @method $this withGroupName($value)
213
 */
214
class AddPrometheusGlobalViewByAliClusterIds extends Rpc
215
{
216
}
217
218
/**
219
 * @method string getName()
220
 * @method $this withName($value)
221
 * @method string getType()
222
 * @method $this withType($value)
223
 */
224
class AddPrometheusInstance extends Rpc
225
{
226
}
227
228
/**
229
 * @method string getRuleYaml()
230
 * @method $this withRuleYaml($value)
231
 * @method string getClusterId()
232
 * @method $this withClusterId($value)
233
 */
234
class AddRecordingRule extends Rpc
235
{
236
}
237
238
/**
239
 * @method string getGlobalViewClusterId()
240
 * @method $this withGlobalViewClusterId($value)
241
 * @method string getGroupName()
242
 * @method $this withGroupName($value)
243
 * @method string getClusters()
244
 * @method $this withClusters($value)
245
 */
246
class AppendInstancesToPrometheusGlobalView extends Rpc
247
{
248
}
249
250
/**
251
 * @method string getSnForce()
252
 * @method $this withSnForce($value)
253
 * @method string getSign()
254
 * @method $this withSign($value)
255
 * @method string getSnStat()
256
 * @method $this withSnStat($value)
257
 * @method string getScenario()
258
 * @method $this withScenario($value)
259
 * @method string getSnDump()
260
 * @method $this withSnDump($value)
261
 * @method string getAppId()
262
 * @method $this withAppId($value)
263
 * @method string getName()
264
 * @method $this withName($value)
265
 * @method string getSnTransfer()
266
 * @method $this withSnTransfer($value)
267
 * @method string getUpdateOption()
268
 * @method $this withUpdateOption($value)
269
 * @method string getConfig()
270
 * @method $this withConfig($value)
271
 */
272
class ApplyScenario extends Rpc
273
{
274
}
275
276
/**
277
 * @method string getSvcCode()
278
 * @method $this withSvcCode($value)
279
 */
280
class CheckServiceStatus extends Rpc
281
{
282
}
283
284
/**
285
 * @method string getAppIds()
286
 * @method $this withAppIds($value)
287
 * @method string getEnable()
288
 * @method $this withEnable($value)
289
 */
290
class ConfigApp extends Rpc
291
{
292
}
293
294
/**
295
 * @method string getPhoneNum()
296
 * @method $this withPhoneNum($value)
297
 * @method string getProxyUserId()
298
 * @method $this withProxyUserId($value)
299
 * @method string getContactName()
300
 * @method $this withContactName($value)
301
 * @method string getDingRobotWebhookUrl()
302
 * @method $this withDingRobotWebhookUrl($value)
303
 * @method string getEmail()
304
 * @method $this withEmail($value)
305
 * @method string getSystemNoc()
306
 * @method $this withSystemNoc($value)
307
 */
308
class CreateAlertContact extends Rpc
309
{
310
}
311
312
/**
313
 * @method string getContactGroupName()
314
 * @method $this withContactGroupName($value)
315
 * @method string getProxyUserId()
316
 * @method $this withProxyUserId($value)
317
 * @method string getContactIds()
318
 * @method $this withContactIds($value)
319
 */
320
class CreateAlertContactGroup extends Rpc
321
{
322
}
323
324
/**
325
 * @method string getDispatchRule()
326
 * @method $this withDispatchRule($value)
327
 * @method string getProxyUserId()
328
 * @method $this withProxyUserId($value)
329
 */
330
class CreateDispatchRule extends Rpc
331
{
332
}
333
334
/**
335
 * @method string getAutoRecover()
336
 * @method string getRecoverTime()
337
 * @method string getIntegrationName()
338
 * @method string getDescription()
339
 * @method string getIntegrationProductType()
340
 */
341
class CreateIntegration extends Rpc
342
{
343
344
    /**
345
     * @param string $value
346
     *
347
     * @return $this
348
     */
349
    public function withAutoRecover($value)
350
    {
351
        $this->data['AutoRecover'] = $value;
352
        $this->options['form_params']['AutoRecover'] = $value;
353
354
        return $this;
355
    }
356
357
    /**
358
     * @param string $value
359
     *
360
     * @return $this
361
     */
362
    public function withRecoverTime($value)
363
    {
364
        $this->data['RecoverTime'] = $value;
365
        $this->options['form_params']['RecoverTime'] = $value;
366
367
        return $this;
368
    }
369
370
    /**
371
     * @param string $value
372
     *
373
     * @return $this
374
     */
375
    public function withIntegrationName($value)
376
    {
377
        $this->data['IntegrationName'] = $value;
378
        $this->options['form_params']['IntegrationName'] = $value;
379
380
        return $this;
381
    }
382
383
    /**
384
     * @param string $value
385
     *
386
     * @return $this
387
     */
388
    public function withDescription($value)
389
    {
390
        $this->data['Description'] = $value;
391
        $this->options['form_params']['Description'] = $value;
392
393
        return $this;
394
    }
395
396
    /**
397
     * @param string $value
398
     *
399
     * @return $this
400
     */
401
    public function withIntegrationProductType($value)
402
    {
403
        $this->data['IntegrationProductType'] = $value;
404
        $this->options['form_params']['IntegrationProductType'] = $value;
405
406
        return $this;
407
    }
408
}
409
410
/**
411
 * @method string getAlertGroup()
412
 * @method string getAlertName()
413
 * @method string getAlertStatus()
414
 * @method string getAnnotations()
415
 * @method string getDuration()
416
 * @method string getMetricsKey()
417
 * @method string getAlertRuleContent()
418
 * @method string getPromQL()
419
 * @method string getLevel()
420
 * @method string getAutoAddNewApplication()
421
 * @method string getFilters()
422
 * @method string getClusterId()
423
 * @method string getMessage()
424
 * @method string getNotifyStrategy()
425
 * @method string getLabels()
426
 * @method string getAlertType()
427
 * @method string getAlertCheckType()
428
 * @method string getMetricsType()
429
 * @method string getAlertId()
430
 * @method string getPids()
431
 */
432
class CreateOrUpdateAlertRule extends Rpc
433
{
434
435
    /**
436
     * @param string $value
437
     *
438
     * @return $this
439
     */
440
    public function withAlertGroup($value)
441
    {
442
        $this->data['AlertGroup'] = $value;
443
        $this->options['form_params']['AlertGroup'] = $value;
444
445
        return $this;
446
    }
447
448
    /**
449
     * @param string $value
450
     *
451
     * @return $this
452
     */
453
    public function withAlertName($value)
454
    {
455
        $this->data['AlertName'] = $value;
456
        $this->options['form_params']['AlertName'] = $value;
457
458
        return $this;
459
    }
460
461
    /**
462
     * @param string $value
463
     *
464
     * @return $this
465
     */
466
    public function withAlertStatus($value)
467
    {
468
        $this->data['AlertStatus'] = $value;
469
        $this->options['form_params']['AlertStatus'] = $value;
470
471
        return $this;
472
    }
473
474
    /**
475
     * @param string $value
476
     *
477
     * @return $this
478
     */
479
    public function withAnnotations($value)
480
    {
481
        $this->data['Annotations'] = $value;
482
        $this->options['form_params']['Annotations'] = $value;
483
484
        return $this;
485
    }
486
487
    /**
488
     * @param string $value
489
     *
490
     * @return $this
491
     */
492
    public function withDuration($value)
493
    {
494
        $this->data['Duration'] = $value;
495
        $this->options['form_params']['Duration'] = $value;
496
497
        return $this;
498
    }
499
500
    /**
501
     * @param string $value
502
     *
503
     * @return $this
504
     */
505
    public function withMetricsKey($value)
506
    {
507
        $this->data['MetricsKey'] = $value;
508
        $this->options['form_params']['MetricsKey'] = $value;
509
510
        return $this;
511
    }
512
513
    /**
514
     * @param string $value
515
     *
516
     * @return $this
517
     */
518
    public function withAlertRuleContent($value)
519
    {
520
        $this->data['AlertRuleContent'] = $value;
521
        $this->options['form_params']['AlertRuleContent'] = $value;
522
523
        return $this;
524
    }
525
526
    /**
527
     * @param string $value
528
     *
529
     * @return $this
530
     */
531
    public function withPromQL($value)
532
    {
533
        $this->data['PromQL'] = $value;
534
        $this->options['form_params']['PromQL'] = $value;
535
536
        return $this;
537
    }
538
539
    /**
540
     * @param string $value
541
     *
542
     * @return $this
543
     */
544
    public function withLevel($value)
545
    {
546
        $this->data['Level'] = $value;
547
        $this->options['form_params']['Level'] = $value;
548
549
        return $this;
550
    }
551
552
    /**
553
     * @param string $value
554
     *
555
     * @return $this
556
     */
557
    public function withAutoAddNewApplication($value)
558
    {
559
        $this->data['AutoAddNewApplication'] = $value;
560
        $this->options['form_params']['AutoAddNewApplication'] = $value;
561
562
        return $this;
563
    }
564
565
    /**
566
     * @param string $value
567
     *
568
     * @return $this
569
     */
570
    public function withFilters($value)
571
    {
572
        $this->data['Filters'] = $value;
573
        $this->options['form_params']['Filters'] = $value;
574
575
        return $this;
576
    }
577
578
    /**
579
     * @param string $value
580
     *
581
     * @return $this
582
     */
583
    public function withClusterId($value)
584
    {
585
        $this->data['ClusterId'] = $value;
586
        $this->options['form_params']['ClusterId'] = $value;
587
588
        return $this;
589
    }
590
591
    /**
592
     * @param string $value
593
     *
594
     * @return $this
595
     */
596
    public function withMessage($value)
597
    {
598
        $this->data['Message'] = $value;
599
        $this->options['form_params']['Message'] = $value;
600
601
        return $this;
602
    }
603
604
    /**
605
     * @param string $value
606
     *
607
     * @return $this
608
     */
609
    public function withNotifyStrategy($value)
610
    {
611
        $this->data['NotifyStrategy'] = $value;
612
        $this->options['form_params']['NotifyStrategy'] = $value;
613
614
        return $this;
615
    }
616
617
    /**
618
     * @param string $value
619
     *
620
     * @return $this
621
     */
622
    public function withLabels($value)
623
    {
624
        $this->data['Labels'] = $value;
625
        $this->options['form_params']['Labels'] = $value;
626
627
        return $this;
628
    }
629
630
    /**
631
     * @param string $value
632
     *
633
     * @return $this
634
     */
635
    public function withAlertType($value)
636
    {
637
        $this->data['AlertType'] = $value;
638
        $this->options['form_params']['AlertType'] = $value;
639
640
        return $this;
641
    }
642
643
    /**
644
     * @param string $value
645
     *
646
     * @return $this
647
     */
648
    public function withAlertCheckType($value)
649
    {
650
        $this->data['AlertCheckType'] = $value;
651
        $this->options['form_params']['AlertCheckType'] = $value;
652
653
        return $this;
654
    }
655
656
    /**
657
     * @param string $value
658
     *
659
     * @return $this
660
     */
661
    public function withMetricsType($value)
662
    {
663
        $this->data['MetricsType'] = $value;
664
        $this->options['form_params']['MetricsType'] = $value;
665
666
        return $this;
667
    }
668
669
    /**
670
     * @param string $value
671
     *
672
     * @return $this
673
     */
674
    public function withAlertId($value)
675
    {
676
        $this->data['AlertId'] = $value;
677
        $this->options['form_params']['AlertId'] = $value;
678
679
        return $this;
680
    }
681
682
    /**
683
     * @param string $value
684
     *
685
     * @return $this
686
     */
687
    public function withPids($value)
688
    {
689
        $this->data['Pids'] = $value;
690
        $this->options['form_params']['Pids'] = $value;
691
692
        return $this;
693
    }
694
}
695
696
/**
697
 * @method string getContactId()
698
 * @method string getReissueSendNotice()
699
 * @method string getIsVerify()
700
 * @method string getProxyUserId()
701
 * @method string getContactName()
702
 * @method string getPhone()
703
 * @method string getEmail()
704
 */
705
class CreateOrUpdateContact extends Rpc
706
{
707
708
    /**
709
     * @param string $value
710
     *
711
     * @return $this
712
     */
713
    public function withContactId($value)
714
    {
715
        $this->data['ContactId'] = $value;
716
        $this->options['form_params']['ContactId'] = $value;
717
718
        return $this;
719
    }
720
721
    /**
722
     * @param string $value
723
     *
724
     * @return $this
725
     */
726
    public function withReissueSendNotice($value)
727
    {
728
        $this->data['ReissueSendNotice'] = $value;
729
        $this->options['form_params']['ReissueSendNotice'] = $value;
730
731
        return $this;
732
    }
733
734
    /**
735
     * @param string $value
736
     *
737
     * @return $this
738
     */
739
    public function withIsVerify($value)
740
    {
741
        $this->data['IsVerify'] = $value;
742
        $this->options['form_params']['IsVerify'] = $value;
743
744
        return $this;
745
    }
746
747
    /**
748
     * @param string $value
749
     *
750
     * @return $this
751
     */
752
    public function withProxyUserId($value)
753
    {
754
        $this->data['ProxyUserId'] = $value;
755
        $this->options['form_params']['ProxyUserId'] = $value;
756
757
        return $this;
758
    }
759
760
    /**
761
     * @param string $value
762
     *
763
     * @return $this
764
     */
765
    public function withContactName($value)
766
    {
767
        $this->data['ContactName'] = $value;
768
        $this->options['form_params']['ContactName'] = $value;
769
770
        return $this;
771
    }
772
773
    /**
774
     * @param string $value
775
     *
776
     * @return $this
777
     */
778
    public function withPhone($value)
779
    {
780
        $this->data['Phone'] = $value;
781
        $this->options['form_params']['Phone'] = $value;
782
783
        return $this;
784
    }
785
786
    /**
787
     * @param string $value
788
     *
789
     * @return $this
790
     */
791
    public function withEmail($value)
792
    {
793
        $this->data['Email'] = $value;
794
        $this->options['form_params']['Email'] = $value;
795
796
        return $this;
797
    }
798
}
799
800
/**
801
 * @method string getContactGroupId()
802
 * @method string getContactGroupName()
803
 * @method string getProxyUserId()
804
 * @method string getContactIds()
805
 */
806
class CreateOrUpdateContactGroup extends Rpc
807
{
808
809
    /**
810
     * @param string $value
811
     *
812
     * @return $this
813
     */
814
    public function withContactGroupId($value)
815
    {
816
        $this->data['ContactGroupId'] = $value;
817
        $this->options['form_params']['ContactGroupId'] = $value;
818
819
        return $this;
820
    }
821
822
    /**
823
     * @param string $value
824
     *
825
     * @return $this
826
     */
827
    public function withContactGroupName($value)
828
    {
829
        $this->data['ContactGroupName'] = $value;
830
        $this->options['form_params']['ContactGroupName'] = $value;
831
832
        return $this;
833
    }
834
835
    /**
836
     * @param string $value
837
     *
838
     * @return $this
839
     */
840
    public function withProxyUserId($value)
841
    {
842
        $this->data['ProxyUserId'] = $value;
843
        $this->options['form_params']['ProxyUserId'] = $value;
844
845
        return $this;
846
    }
847
848
    /**
849
     * @param string $value
850
     *
851
     * @return $this
852
     */
853
    public function withContactIds($value)
854
    {
855
        $this->data['ContactIds'] = $value;
856
        $this->options['form_params']['ContactIds'] = $value;
857
858
        return $this;
859
    }
860
}
861
862
/**
863
 * @method string getAccessSecret()
864
 * @method string getEventBusRegionId()
865
 * @method string getDescription()
866
 * @method string getSource()
867
 * @method string getEventBusName()
868
 * @method string getEndpoint()
869
 * @method string getAccessKey()
870
 * @method string getName()
871
 * @method string getId()
872
 */
873
class CreateOrUpdateEventBridgeIntegration extends Rpc
874
{
875
876
    /**
877
     * @param string $value
878
     *
879
     * @return $this
880
     */
881
    public function withAccessSecret($value)
882
    {
883
        $this->data['AccessSecret'] = $value;
884
        $this->options['form_params']['AccessSecret'] = $value;
885
886
        return $this;
887
    }
888
889
    /**
890
     * @param string $value
891
     *
892
     * @return $this
893
     */
894
    public function withEventBusRegionId($value)
895
    {
896
        $this->data['EventBusRegionId'] = $value;
897
        $this->options['form_params']['EventBusRegionId'] = $value;
898
899
        return $this;
900
    }
901
902
    /**
903
     * @param string $value
904
     *
905
     * @return $this
906
     */
907
    public function withDescription($value)
908
    {
909
        $this->data['Description'] = $value;
910
        $this->options['form_params']['Description'] = $value;
911
912
        return $this;
913
    }
914
915
    /**
916
     * @param string $value
917
     *
918
     * @return $this
919
     */
920
    public function withSource($value)
921
    {
922
        $this->data['Source'] = $value;
923
        $this->options['form_params']['Source'] = $value;
924
925
        return $this;
926
    }
927
928
    /**
929
     * @param string $value
930
     *
931
     * @return $this
932
     */
933
    public function withEventBusName($value)
934
    {
935
        $this->data['EventBusName'] = $value;
936
        $this->options['form_params']['EventBusName'] = $value;
937
938
        return $this;
939
    }
940
941
    /**
942
     * @param string $value
943
     *
944
     * @return $this
945
     */
946
    public function withEndpoint($value)
947
    {
948
        $this->data['Endpoint'] = $value;
949
        $this->options['form_params']['Endpoint'] = $value;
950
951
        return $this;
952
    }
953
954
    /**
955
     * @param string $value
956
     *
957
     * @return $this
958
     */
959
    public function withAccessKey($value)
960
    {
961
        $this->data['AccessKey'] = $value;
962
        $this->options['form_params']['AccessKey'] = $value;
963
964
        return $this;
965
    }
966
967
    /**
968
     * @param string $value
969
     *
970
     * @return $this
971
     */
972
    public function withName($value)
973
    {
974
        $this->data['Name'] = $value;
975
        $this->options['form_params']['Name'] = $value;
976
977
        return $this;
978
    }
979
980
    /**
981
     * @param string $value
982
     *
983
     * @return $this
984
     */
985
    public function withId($value)
986
    {
987
        $this->data['Id'] = $value;
988
        $this->options['form_params']['Id'] = $value;
989
990
        return $this;
991
    }
992
}
993
994
/**
995
 * @method string getDailyNoc()
996
 * @method string getRobotAddress()
997
 * @method string getDingSignKey()
998
 * @method string getRobotName()
999
 * @method string getRobotId()
1000
 * @method string getType()
1001
 * @method string getProxyUserId()
1002
 * @method string getDailyNocTime()
1003
 * @method string getToken()
1004
 * @method string getCardTemplate()
1005
 * @method string getEnableOutgoing()
1006
 */
1007
class CreateOrUpdateIMRobot extends Rpc
1008
{
1009
1010
    /**
1011
     * @param string $value
1012
     *
1013
     * @return $this
1014
     */
1015
    public function withDailyNoc($value)
1016
    {
1017
        $this->data['DailyNoc'] = $value;
1018
        $this->options['form_params']['DailyNoc'] = $value;
1019
1020
        return $this;
1021
    }
1022
1023
    /**
1024
     * @param string $value
1025
     *
1026
     * @return $this
1027
     */
1028
    public function withRobotAddress($value)
1029
    {
1030
        $this->data['RobotAddress'] = $value;
1031
        $this->options['form_params']['RobotAddress'] = $value;
1032
1033
        return $this;
1034
    }
1035
1036
    /**
1037
     * @param string $value
1038
     *
1039
     * @return $this
1040
     */
1041
    public function withDingSignKey($value)
1042
    {
1043
        $this->data['DingSignKey'] = $value;
1044
        $this->options['form_params']['DingSignKey'] = $value;
1045
1046
        return $this;
1047
    }
1048
1049
    /**
1050
     * @param string $value
1051
     *
1052
     * @return $this
1053
     */
1054
    public function withRobotName($value)
1055
    {
1056
        $this->data['RobotName'] = $value;
1057
        $this->options['form_params']['RobotName'] = $value;
1058
1059
        return $this;
1060
    }
1061
1062
    /**
1063
     * @param string $value
1064
     *
1065
     * @return $this
1066
     */
1067
    public function withRobotId($value)
1068
    {
1069
        $this->data['RobotId'] = $value;
1070
        $this->options['form_params']['RobotId'] = $value;
1071
1072
        return $this;
1073
    }
1074
1075
    /**
1076
     * @param string $value
1077
     *
1078
     * @return $this
1079
     */
1080
    public function withType($value)
1081
    {
1082
        $this->data['Type'] = $value;
1083
        $this->options['form_params']['Type'] = $value;
1084
1085
        return $this;
1086
    }
1087
1088
    /**
1089
     * @param string $value
1090
     *
1091
     * @return $this
1092
     */
1093
    public function withProxyUserId($value)
1094
    {
1095
        $this->data['ProxyUserId'] = $value;
1096
        $this->options['form_params']['ProxyUserId'] = $value;
1097
1098
        return $this;
1099
    }
1100
1101
    /**
1102
     * @param string $value
1103
     *
1104
     * @return $this
1105
     */
1106
    public function withDailyNocTime($value)
1107
    {
1108
        $this->data['DailyNocTime'] = $value;
1109
        $this->options['form_params']['DailyNocTime'] = $value;
1110
1111
        return $this;
1112
    }
1113
1114
    /**
1115
     * @param string $value
1116
     *
1117
     * @return $this
1118
     */
1119
    public function withToken($value)
1120
    {
1121
        $this->data['Token'] = $value;
1122
        $this->options['form_params']['Token'] = $value;
1123
1124
        return $this;
1125
    }
1126
1127
    /**
1128
     * @param string $value
1129
     *
1130
     * @return $this
1131
     */
1132
    public function withCardTemplate($value)
1133
    {
1134
        $this->data['CardTemplate'] = $value;
1135
        $this->options['form_params']['CardTemplate'] = $value;
1136
1137
        return $this;
1138
    }
1139
1140
    /**
1141
     * @param string $value
1142
     *
1143
     * @return $this
1144
     */
1145
    public function withEnableOutgoing($value)
1146
    {
1147
        $this->data['EnableOutgoing'] = $value;
1148
        $this->options['form_params']['EnableOutgoing'] = $value;
1149
1150
        return $this;
1151
    }
1152
}
1153
1154
/**
1155
 * @method string getEscalationPolicyId()
1156
 * @method string getSendRecoverMessage()
1157
 * @method string getIntegrationId()
1158
 * @method string getMatchingRules()
1159
 * @method string getGroupRule()
1160
 * @method string getRepeat()
1161
 * @method string getName()
1162
 * @method string getId()
1163
 * @method string getNotifyRule()
1164
 * @method string getNotifyTemplate()
1165
 * @method string getRepeatInterval()
1166
 */
1167
class CreateOrUpdateNotificationPolicy extends Rpc
1168
{
1169
1170
    /**
1171
     * @param string $value
1172
     *
1173
     * @return $this
1174
     */
1175
    public function withEscalationPolicyId($value)
1176
    {
1177
        $this->data['EscalationPolicyId'] = $value;
1178
        $this->options['form_params']['EscalationPolicyId'] = $value;
1179
1180
        return $this;
1181
    }
1182
1183
    /**
1184
     * @param string $value
1185
     *
1186
     * @return $this
1187
     */
1188
    public function withSendRecoverMessage($value)
1189
    {
1190
        $this->data['SendRecoverMessage'] = $value;
1191
        $this->options['form_params']['SendRecoverMessage'] = $value;
1192
1193
        return $this;
1194
    }
1195
1196
    /**
1197
     * @param string $value
1198
     *
1199
     * @return $this
1200
     */
1201
    public function withIntegrationId($value)
1202
    {
1203
        $this->data['IntegrationId'] = $value;
1204
        $this->options['form_params']['IntegrationId'] = $value;
1205
1206
        return $this;
1207
    }
1208
1209
    /**
1210
     * @param string $value
1211
     *
1212
     * @return $this
1213
     */
1214
    public function withMatchingRules($value)
1215
    {
1216
        $this->data['MatchingRules'] = $value;
1217
        $this->options['form_params']['MatchingRules'] = $value;
1218
1219
        return $this;
1220
    }
1221
1222
    /**
1223
     * @param string $value
1224
     *
1225
     * @return $this
1226
     */
1227
    public function withGroupRule($value)
1228
    {
1229
        $this->data['GroupRule'] = $value;
1230
        $this->options['form_params']['GroupRule'] = $value;
1231
1232
        return $this;
1233
    }
1234
1235
    /**
1236
     * @param string $value
1237
     *
1238
     * @return $this
1239
     */
1240
    public function withRepeat($value)
1241
    {
1242
        $this->data['Repeat'] = $value;
1243
        $this->options['form_params']['Repeat'] = $value;
1244
1245
        return $this;
1246
    }
1247
1248
    /**
1249
     * @param string $value
1250
     *
1251
     * @return $this
1252
     */
1253
    public function withName($value)
1254
    {
1255
        $this->data['Name'] = $value;
1256
        $this->options['form_params']['Name'] = $value;
1257
1258
        return $this;
1259
    }
1260
1261
    /**
1262
     * @param string $value
1263
     *
1264
     * @return $this
1265
     */
1266
    public function withId($value)
1267
    {
1268
        $this->data['Id'] = $value;
1269
        $this->options['form_params']['Id'] = $value;
1270
1271
        return $this;
1272
    }
1273
1274
    /**
1275
     * @param string $value
1276
     *
1277
     * @return $this
1278
     */
1279
    public function withNotifyRule($value)
1280
    {
1281
        $this->data['NotifyRule'] = $value;
1282
        $this->options['form_params']['NotifyRule'] = $value;
1283
1284
        return $this;
1285
    }
1286
1287
    /**
1288
     * @param string $value
1289
     *
1290
     * @return $this
1291
     */
1292
    public function withNotifyTemplate($value)
1293
    {
1294
        $this->data['NotifyTemplate'] = $value;
1295
        $this->options['form_params']['NotifyTemplate'] = $value;
1296
1297
        return $this;
1298
    }
1299
1300
    /**
1301
     * @param string $value
1302
     *
1303
     * @return $this
1304
     */
1305
    public function withRepeatInterval($value)
1306
    {
1307
        $this->data['RepeatInterval'] = $value;
1308
        $this->options['form_params']['RepeatInterval'] = $value;
1309
1310
        return $this;
1311
    }
1312
}
1313
1314
/**
1315
 * @method string getName()
1316
 * @method string getId()
1317
 * @method string getMatchingRules()
1318
 */
1319
class CreateOrUpdateSilencePolicy extends Rpc
1320
{
1321
1322
    /**
1323
     * @param string $value
1324
     *
1325
     * @return $this
1326
     */
1327
    public function withName($value)
1328
    {
1329
        $this->data['Name'] = $value;
1330
        $this->options['form_params']['Name'] = $value;
1331
1332
        return $this;
1333
    }
1334
1335
    /**
1336
     * @param string $value
1337
     *
1338
     * @return $this
1339
     */
1340
    public function withId($value)
1341
    {
1342
        $this->data['Id'] = $value;
1343
        $this->options['form_params']['Id'] = $value;
1344
1345
        return $this;
1346
    }
1347
1348
    /**
1349
     * @param string $value
1350
     *
1351
     * @return $this
1352
     */
1353
    public function withMatchingRules($value)
1354
    {
1355
        $this->data['MatchingRules'] = $value;
1356
        $this->options['form_params']['MatchingRules'] = $value;
1357
1358
        return $this;
1359
    }
1360
}
1361
1362
/**
1363
 * @method string getWebhookId()
1364
 * @method string getMethod()
1365
 * @method string getWebhookName()
1366
 * @method string getBizParams()
1367
 * @method string getBody()
1368
 * @method string getProxyUserId()
1369
 * @method string getUrl()
1370
 * @method string getBizHeaders()
1371
 * @method string getRecoverBody()
1372
 */
1373
class CreateOrUpdateWebhookContact extends Rpc
1374
{
1375
1376
    /**
1377
     * @param string $value
1378
     *
1379
     * @return $this
1380
     */
1381
    public function withWebhookId($value)
1382
    {
1383
        $this->data['WebhookId'] = $value;
1384
        $this->options['form_params']['WebhookId'] = $value;
1385
1386
        return $this;
1387
    }
1388
1389
    /**
1390
     * @param string $value
1391
     *
1392
     * @return $this
1393
     */
1394
    public function withMethod($value)
1395
    {
1396
        $this->data['Method'] = $value;
1397
        $this->options['form_params']['Method'] = $value;
1398
1399
        return $this;
1400
    }
1401
1402
    /**
1403
     * @param string $value
1404
     *
1405
     * @return $this
1406
     */
1407
    public function withWebhookName($value)
1408
    {
1409
        $this->data['WebhookName'] = $value;
1410
        $this->options['form_params']['WebhookName'] = $value;
1411
1412
        return $this;
1413
    }
1414
1415
    /**
1416
     * @param string $value
1417
     *
1418
     * @return $this
1419
     */
1420
    public function withBizParams($value)
1421
    {
1422
        $this->data['BizParams'] = $value;
1423
        $this->options['form_params']['BizParams'] = $value;
1424
1425
        return $this;
1426
    }
1427
1428
    /**
1429
     * @param string $value
1430
     *
1431
     * @return $this
1432
     */
1433
    public function withBody($value)
1434
    {
1435
        $this->data['Body'] = $value;
1436
        $this->options['form_params']['Body'] = $value;
1437
1438
        return $this;
1439
    }
1440
1441
    /**
1442
     * @param string $value
1443
     *
1444
     * @return $this
1445
     */
1446
    public function withProxyUserId($value)
1447
    {
1448
        $this->data['ProxyUserId'] = $value;
1449
        $this->options['form_params']['ProxyUserId'] = $value;
1450
1451
        return $this;
1452
    }
1453
1454
    /**
1455
     * @param string $value
1456
     *
1457
     * @return $this
1458
     */
1459
    public function withUrl($value)
1460
    {
1461
        $this->data['Url'] = $value;
1462
        $this->options['form_params']['Url'] = $value;
1463
1464
        return $this;
1465
    }
1466
1467
    /**
1468
     * @param string $value
1469
     *
1470
     * @return $this
1471
     */
1472
    public function withBizHeaders($value)
1473
    {
1474
        $this->data['BizHeaders'] = $value;
1475
        $this->options['form_params']['BizHeaders'] = $value;
1476
1477
        return $this;
1478
    }
1479
1480
    /**
1481
     * @param string $value
1482
     *
1483
     * @return $this
1484
     */
1485
    public function withRecoverBody($value)
1486
    {
1487
        $this->data['RecoverBody'] = $value;
1488
        $this->options['form_params']['RecoverBody'] = $value;
1489
1490
        return $this;
1491
    }
1492
}
1493
1494
/**
1495
 * @method string getProductCode()
1496
 * @method $this withProductCode($value)
1497
 * @method string getExpression()
1498
 * @method $this withExpression($value)
1499
 * @method string getAlertName()
1500
 * @method $this withAlertName($value)
1501
 * @method string getAnnotations()
1502
 * @method $this withAnnotations($value)
1503
 * @method string getClusterId()
1504
 * @method $this withClusterId($value)
1505
 * @method string getDispatchRuleId()
1506
 * @method $this withDispatchRuleId($value)
1507
 * @method string getProxyUserId()
1508
 * @method $this withProxyUserId($value)
1509
 * @method string getType()
1510
 * @method $this withType($value)
1511
 * @method string getMessage()
1512
 * @method $this withMessage($value)
1513
 * @method string getLabels()
1514
 * @method $this withLabels($value)
1515
 * @method string getDuration()
1516
 * @method $this withDuration($value)
1517
 * @method string getNotifyType()
1518
 * @method $this withNotifyType($value)
1519
 */
1520
class CreatePrometheusAlertRule extends Rpc
1521
{
1522
}
1523
1524
/**
1525
 * @method string getRetcodeAppName()
1526
 * @method $this withRetcodeAppName($value)
1527
 * @method string getRetcodeAppType()
1528
 * @method $this withRetcodeAppType($value)
1529
 */
1530
class CreateRetcodeApp extends Rpc
1531
{
1532
}
1533
1534
/**
1535
 * @method string getTaskType()
1536
 * @method $this withTaskType($value)
1537
 * @method string getIntervalType()
1538
 * @method $this withIntervalType($value)
1539
 * @method string getTaskName()
1540
 * @method $this withTaskName($value)
1541
 * @method string getMonitorList()
1542
 * @method $this withMonitorList($value)
1543
 * @method string getIpType()
1544
 * @method $this withIpType($value)
1545
 * @method string getUrl()
1546
 * @method $this withUrl($value)
1547
 * @method string getIntervalTime()
1548
 * @method $this withIntervalTime($value)
1549
 * @method string getCommonParam()
1550
 * @method $this withCommonParam($value)
1551
 * @method string getExtendInterval()
1552
 * @method $this withExtendInterval($value)
1553
 * @method string getNavigation()
1554
 * @method $this withNavigation($value)
1555
 * @method string getDownload()
1556
 * @method $this withDownload($value)
1557
 * @method string getProtocol()
1558
 * @method $this withProtocol($value)
1559
 * @method string getNet()
1560
 * @method $this withNet($value)
1561
 */
1562
class CreateSyntheticTask extends Rpc
1563
{
1564
}
1565
1566
/**
1567
 * @method string getHttpHeaders()
1568
 * @method $this withHttpHeaders($value)
1569
 * @method string getMethod()
1570
 * @method $this withMethod($value)
1571
 * @method string getHttpParams()
1572
 * @method $this withHttpParams($value)
1573
 * @method string getProxyUserId()
1574
 * @method $this withProxyUserId($value)
1575
 * @method string getBody()
1576
 * @method $this withBody($value)
1577
 * @method string getUrl()
1578
 * @method $this withUrl($value)
1579
 * @method string getContactName()
1580
 * @method $this withContactName($value)
1581
 * @method string getRecoverBody()
1582
 * @method $this withRecoverBody($value)
1583
 */
1584
class CreateWebhook extends Rpc
1585
{
1586
}
1587
1588
/**
1589
 * @method string getClusterId()
1590
 * @method $this withClusterId($value)
1591
 */
1592
class DelAuthToken extends Rpc
1593
{
1594
}
1595
1596
/**
1597
 * @method string getContactId()
1598
 * @method $this withContactId($value)
1599
 * @method string getProxyUserId()
1600
 * @method $this withProxyUserId($value)
1601
 */
1602
class DeleteAlertContact extends Rpc
1603
{
1604
}
1605
1606
/**
1607
 * @method string getContactGroupId()
1608
 * @method $this withContactGroupId($value)
1609
 * @method string getProxyUserId()
1610
 * @method $this withProxyUserId($value)
1611
 */
1612
class DeleteAlertContactGroup extends Rpc
1613
{
1614
}
1615
1616
/**
1617
 * @method string getAlertId()
1618
 * @method $this withAlertId($value)
1619
 */
1620
class DeleteAlertRule extends Rpc
1621
{
1622
}
1623
1624
/**
1625
 * @method string getAlertIds()
1626
 * @method $this withAlertIds($value)
1627
 * @method string getProxyUserId()
1628
 * @method $this withProxyUserId($value)
1629
 */
1630
class DeleteAlertRules extends Rpc
1631
{
1632
}
1633
1634
/**
1635
 * @method string getClusterId()
1636
 * @method $this withClusterId($value)
1637
 */
1638
class DeleteCmsExporter extends Rpc
1639
{
1640
}
1641
1642
/**
1643
 * @method string getContactId()
1644
 * @method $this withContactId($value)
1645
 */
1646
class DeleteContact extends Rpc
1647
{
1648
}
1649
1650
/**
1651
 * @method string getContactGroupId()
1652
 * @method $this withContactGroupId($value)
1653
 */
1654
class DeleteContactGroup extends Rpc
1655
{
1656
}
1657
1658
/**
1659
 * @method string getId()
1660
 * @method $this withId($value)
1661
 * @method string getProxyUserId()
1662
 * @method $this withProxyUserId($value)
1663
 */
1664
class DeleteDispatchRule extends Rpc
1665
{
1666
}
1667
1668
/**
1669
 * @method string getId()
1670
 */
1671
class DeleteEventBridgeIntegration extends Rpc
1672
{
1673
1674
    /**
1675
     * @param string $value
1676
     *
1677
     * @return $this
1678
     */
1679
    public function withId($value)
1680
    {
1681
        $this->data['Id'] = $value;
1682
        $this->options['form_params']['Id'] = $value;
1683
1684
        return $this;
1685
    }
1686
}
1687
1688
/**
1689
 * @method string getClusterName()
1690
 * @method string getClusterId()
1691
 */
1692
class DeleteGrafanaResource extends Rpc
1693
{
1694
1695
    /**
1696
     * @param string $value
1697
     *
1698
     * @return $this
1699
     */
1700
    public function withClusterName($value)
1701
    {
1702
        $this->data['ClusterName'] = $value;
1703
        $this->options['form_params']['ClusterName'] = $value;
1704
1705
        return $this;
1706
    }
1707
1708
    /**
1709
     * @param string $value
1710
     *
1711
     * @return $this
1712
     */
1713
    public function withClusterId($value)
1714
    {
1715
        $this->data['ClusterId'] = $value;
1716
        $this->options['form_params']['ClusterId'] = $value;
1717
1718
        return $this;
1719
    }
1720
}
1721
1722
/**
1723
 * @method string getRobotId()
1724
 * @method $this withRobotId($value)
1725
 */
1726
class DeleteIMRobot extends Rpc
1727
{
1728
}
1729
1730
/**
1731
 * @method string getIntegration()
1732
 * @method $this withIntegration($value)
1733
 * @method string getClusterId()
1734
 * @method $this withClusterId($value)
1735
 */
1736
class DeleteIntegration extends Rpc
1737
{
1738
}
1739
1740
/**
1741
 * @method string getIntegrationId()
1742
 * @method $this withIntegrationId($value)
1743
 */
1744
class DeleteIntegrations extends Rpc
1745
{
1746
1747
    /** @var string */
1748
    public $method = 'GET';
1749
}
1750
1751
/**
1752
 * @method string getId()
1753
 * @method $this withId($value)
1754
 */
1755
class DeleteNotificationPolicy extends Rpc
1756
{
1757
}
1758
1759
/**
1760
 * @method string getAlertId()
1761
 * @method $this withAlertId($value)
1762
 */
1763
class DeletePrometheusAlertRule extends Rpc
1764
{
1765
}
1766
1767
/**
1768
 * @method string getGlobalViewClusterId()
1769
 * @method $this withGlobalViewClusterId($value)
1770
 */
1771
class DeletePrometheusGlobalView extends Rpc
1772
{
1773
}
1774
1775
/**
1776
 * @method string getAppId()
1777
 * @method $this withAppId($value)
1778
 */
1779
class DeleteRetcodeApp extends Rpc
1780
{
1781
}
1782
1783
/**
1784
 * @method string getScenarioId()
1785
 * @method $this withScenarioId($value)
1786
 */
1787
class DeleteScenario extends Rpc
1788
{
1789
}
1790
1791
/**
1792
 * @method string getId()
1793
 * @method $this withId($value)
1794
 */
1795
class DeleteSilencePolicy extends Rpc
1796
{
1797
}
1798
1799
/**
1800
 * @method string getFidList()
1801
 * @method $this withFidList($value)
1802
 * @method string getPid()
1803
 * @method $this withPid($value)
1804
 */
1805
class DeleteSourceMap extends Rpc
1806
{
1807
}
1808
1809
/**
1810
 * @method string getAppId()
1811
 * @method $this withAppId($value)
1812
 * @method string getPid()
1813
 * @method $this withPid($value)
1814
 * @method string getType()
1815
 * @method $this withType($value)
1816
 */
1817
class DeleteTraceApp extends Rpc
1818
{
1819
}
1820
1821
/**
1822
 * @method string getWebhookId()
1823
 * @method $this withWebhookId($value)
1824
 */
1825
class DeleteWebhookContact extends Rpc
1826
{
1827
}
1828
1829
/**
1830
 * @method string getSize()
1831
 * @method $this withSize($value)
1832
 * @method string getIsDetail()
1833
 * @method $this withIsDetail($value)
1834
 * @method string getPage()
1835
 * @method $this withPage($value)
1836
 * @method string getContactGroupName()
1837
 * @method $this withContactGroupName($value)
1838
 */
1839
class DescribeContactGroups extends Rpc
1840
{
1841
}
1842
1843
/**
1844
 * @method string getContactName()
1845
 * @method $this withContactName($value)
1846
 * @method string getSize()
1847
 * @method $this withSize($value)
1848
 * @method string getPhone()
1849
 * @method $this withPhone($value)
1850
 * @method string getPage()
1851
 * @method $this withPage($value)
1852
 * @method string getEmail()
1853
 * @method $this withEmail($value)
1854
 */
1855
class DescribeContacts extends Rpc
1856
{
1857
}
1858
1859
/**
1860
 * @method string getId()
1861
 * @method $this withId($value)
1862
 * @method string getProxyUserId()
1863
 * @method $this withProxyUserId($value)
1864
 */
1865
class DescribeDispatchRule extends Rpc
1866
{
1867
}
1868
1869
/**
1870
 * @method string getSize()
1871
 * @method $this withSize($value)
1872
 * @method string getRobotName()
1873
 * @method $this withRobotName($value)
1874
 * @method string getPage()
1875
 * @method $this withPage($value)
1876
 */
1877
class DescribeIMRobots extends Rpc
1878
{
1879
}
1880
1881
/**
1882
 * @method string getAlertId()
1883
 * @method $this withAlertId($value)
1884
 */
1885
class DescribePrometheusAlertRule extends Rpc
1886
{
1887
}
1888
1889
class DescribeTraceLicenseKey extends Rpc
1890
{
1891
}
1892
1893
/**
1894
 * @method string getSize()
1895
 * @method $this withSize($value)
1896
 * @method string getWebhookName()
1897
 * @method $this withWebhookName($value)
1898
 * @method string getPage()
1899
 * @method $this withPage($value)
1900
 */
1901
class DescribeWebhookContacts extends Rpc
1902
{
1903
1904
    /** @var string */
1905
    public $method = 'GET';
1906
}
1907
1908
class GetAgentDownloadUrl extends Rpc
1909
{
1910
1911
    /** @var string */
1912
    public $method = 'GET';
1913
}
1914
1915
/**
1916
 * @method string getAlertStatus()
1917
 * @method $this withAlertStatus($value)
1918
 * @method string getAlertNames()
1919
 * @method $this withAlertNames($value)
1920
 * @method string getAlertType()
1921
 * @method $this withAlertType($value)
1922
 * @method string getSize()
1923
 * @method $this withSize($value)
1924
 * @method string getAlertIds()
1925
 * @method $this withAlertIds($value)
1926
 * @method string getPage()
1927
 * @method $this withPage($value)
1928
 */
1929
class GetAlertRules extends Rpc
1930
{
1931
}
1932
1933
/**
1934
 * @method string getEndTime()
1935
 * @method $this withEndTime($value)
1936
 * @method string getCurrentPage()
1937
 * @method $this withCurrentPage($value)
1938
 * @method string getPId()
1939
 * @method $this withPId($value)
1940
 * @method string getStartTime()
1941
 * @method $this withStartTime($value)
1942
 * @method string getPageSize()
1943
 * @method $this withPageSize($value)
1944
 * @method string getIntervalMills()
1945
 * @method $this withIntervalMills($value)
1946
 */
1947
class GetAppApiByPage extends Rpc
1948
{
1949
}
1950
1951
/**
1952
 * @method string getClusterId()
1953
 * @method $this withClusterId($value)
1954
 */
1955
class GetAuthToken extends Rpc
1956
{
1957
}
1958
1959
/**
1960
 * @method string getClusterId()
1961
 * @method $this withClusterId($value)
1962
 */
1963
class GetClusterAllUrl extends Rpc
1964
{
1965
}
1966
1967
/**
1968
 * @method string getExpression()
1969
 * @method $this withExpression($value)
1970
 * @method string getClusterId()
1971
 * @method $this withClusterId($value)
1972
 * @method string getType()
1973
 * @method $this withType($value)
1974
 */
1975
class GetExploreUrl extends Rpc
1976
{
1977
}
1978
1979
/**
1980
 * @method string getIntegration()
1981
 * @method $this withIntegration($value)
1982
 * @method string getClusterId()
1983
 * @method $this withClusterId($value)
1984
 */
1985
class GetIntegrationState extends Rpc
1986
{
1987
}
1988
1989
/**
1990
 * @method array getTraceIDs()
1991
 */
1992
class GetMultipleTrace extends Rpc
1993
{
1994
1995
    /**
1996
     * @param array $traceIDs
1997
     *
1998
     * @return $this
1999
     */
2000
	public function withTraceIDs(array $traceIDs)
2001
	{
2002
	    $this->data['TraceIDs'] = $traceIDs;
2003
		foreach ($traceIDs as $i => $iValue) {
2004
			$this->options['query']['TraceIDs.' . ($i + 1)] = $iValue;
2005
		}
2006
2007
		return $this;
2008
    }
2009
}
2010
2011
/**
2012
 * @method string getEndTime()
2013
 * @method $this withEndTime($value)
2014
 * @method string getId()
2015
 * @method $this withId($value)
2016
 * @method string getStartTime()
2017
 * @method $this withStartTime($value)
2018
 */
2019
class GetOnCallSchedulesDetail extends Rpc
2020
{
2021
2022
    /** @var string */
2023
    public $method = 'GET';
2024
}
2025
2026
class GetPrometheusApiToken extends Rpc
2027
{
2028
}
2029
2030
/**
2031
 * @method string getGlobalViewClusterId()
2032
 * @method $this withGlobalViewClusterId($value)
2033
 */
2034
class GetPrometheusGlobalView extends Rpc
2035
{
2036
}
2037
2038
/**
2039
 * @method string getClusterId()
2040
 * @method $this withClusterId($value)
2041
 */
2042
class GetRecordingRule extends Rpc
2043
{
2044
}
2045
2046
/**
2047
 * @method string getPid()
2048
 * @method $this withPid($value)
2049
 */
2050
class GetRetcodeShareUrl extends Rpc
2051
{
2052
}
2053
2054
/**
2055
 * @method string getEdition()
2056
 * @method $this withEdition($value)
2057
 * @method string getVersion()
2058
 * @method $this withVersion($value)
2059
 * @method string getID()
2060
 * @method $this withID($value)
2061
 * @method string getKeyword()
2062
 * @method $this withKeyword($value)
2063
 * @method string getAscendingSequence()
2064
 * @method $this withAscendingSequence($value)
2065
 * @method string getOrderField()
2066
 * @method $this withOrderField($value)
2067
 */
2068
class GetSourceMapInfo extends Rpc
2069
{
2070
}
2071
2072
/**
2073
 * @method string getTraceID()
2074
 * @method $this withTraceID($value)
2075
 * @method string getEndTime()
2076
 * @method $this withEndTime($value)
2077
 * @method string getRpcID()
2078
 * @method $this withRpcID($value)
2079
 * @method string getPid()
2080
 * @method $this withPid($value)
2081
 * @method string getStartTime()
2082
 * @method $this withStartTime($value)
2083
 */
2084
class GetStack extends Rpc
2085
{
2086
}
2087
2088
class GetSyntheticTaskMonitors extends Rpc
2089
{
2090
}
2091
2092
/**
2093
 * @method string getTraceID()
2094
 * @method $this withTraceID($value)
2095
 * @method string getEndTime()
2096
 * @method $this withEndTime($value)
2097
 * @method string getStartTime()
2098
 * @method $this withStartTime($value)
2099
 */
2100
class GetTrace extends Rpc
2101
{
2102
}
2103
2104
/**
2105
 * @method string getPid()
2106
 * @method $this withPid($value)
2107
 */
2108
class GetTraceApp extends Rpc
2109
{
2110
}
2111
2112
/**
2113
 * @method string getIsAutoStart()
2114
 * @method $this withIsAutoStart($value)
2115
 * @method string getProxyUserId()
2116
 * @method $this withProxyUserId($value)
2117
 * @method string getContactGroupIds()
2118
 * @method $this withContactGroupIds($value)
2119
 * @method string getPids()
2120
 * @method $this withPids($value)
2121
 * @method string getTemplageAlertConfig()
2122
 * @method $this withTemplageAlertConfig($value)
2123
 * @method string getTemplateAlertId()
2124
 * @method $this withTemplateAlertId($value)
2125
 */
2126
class ImportAppAlertRules extends Rpc
2127
{
2128
}
2129
2130
/**
2131
 * @method string getClusterId()
2132
 * @method $this withClusterId($value)
2133
 * @method string getDirectArgs()
2134
 * @method $this withDirectArgs($value)
2135
 * @method string getCmsArgs()
2136
 * @method $this withCmsArgs($value)
2137
 * @method string getEnableTag()
2138
 * @method $this withEnableTag($value)
2139
 */
2140
class InstallCmsExporter extends Rpc
2141
{
2142
}
2143
2144
/**
2145
 * @method string getSecurityGroupId()
2146
 * @method $this withSecurityGroupId($value)
2147
 * @method string getClusterId()
2148
 * @method $this withClusterId($value)
2149
 * @method string getKubeConfig()
2150
 * @method $this withKubeConfig($value)
2151
 * @method string getClusterType()
2152
 * @method $this withClusterType($value)
2153
 * @method string getVSwitchId()
2154
 * @method $this withVSwitchId($value)
2155
 * @method string getVpcId()
2156
 * @method $this withVpcId($value)
2157
 */
2158
class InstallManagedPrometheus extends Rpc
2159
{
2160
}
2161
2162
/**
2163
 * @method string getFilter()
2164
 * @method $this withFilter($value)
2165
 * @method string getPageSize()
2166
 * @method $this withPageSize($value)
2167
 * @method string getCurrentPage()
2168
 * @method $this withCurrentPage($value)
2169
 * @method string getProxyUserId()
2170
 * @method $this withProxyUserId($value)
2171
 */
2172
class ListActivatedAlerts extends Rpc
2173
{
2174
}
2175
2176
/**
2177
 * @method string getSeverity()
2178
 * @method $this withSeverity($value)
2179
 * @method string getIntegrationType()
2180
 * @method $this withIntegrationType($value)
2181
 * @method string getAlertName()
2182
 * @method $this withAlertName($value)
2183
 * @method string getShowActivities()
2184
 * @method $this withShowActivities($value)
2185
 * @method string getEndTime()
2186
 * @method $this withEndTime($value)
2187
 * @method string getDispatchRuleId()
2188
 * @method $this withDispatchRuleId($value)
2189
 * @method string getStartTime()
2190
 * @method $this withStartTime($value)
2191
 * @method string getShowEvents()
2192
 * @method $this withShowEvents($value)
2193
 * @method string getSize()
2194
 * @method $this withSize($value)
2195
 * @method string getState()
2196
 * @method $this withState($value)
2197
 * @method string getPage()
2198
 * @method $this withPage($value)
2199
 */
2200
class ListAlerts extends Rpc
2201
{
2202
}
2203
2204
class ListClusterFromGrafana extends Rpc
2205
{
2206
}
2207
2208
/**
2209
 * @method string getClusterId()
2210
 * @method $this withClusterId($value)
2211
 */
2212
class ListCmsInstances extends Rpc
2213
{
2214
}
2215
2216
/**
2217
 * @method string getDashboardName()
2218
 * @method $this withDashboardName($value)
2219
 * @method string getProduct()
2220
 * @method $this withProduct($value)
2221
 * @method string getRecreateSwitch()
2222
 * @method $this withRecreateSwitch($value)
2223
 * @method string getLanguage()
2224
 * @method $this withLanguage($value)
2225
 * @method string getClusterId()
2226
 * @method $this withClusterId($value)
2227
 * @method string getProxyUserId()
2228
 * @method $this withProxyUserId($value)
2229
 * @method string getTitle()
2230
 * @method $this withTitle($value)
2231
 * @method string getClusterType()
2232
 * @method $this withClusterType($value)
2233
 */
2234
class ListDashboards extends Rpc
2235
{
2236
}
2237
2238
/**
2239
 * @method string getDataSourceType()
2240
 * @method $this withDataSourceType($value)
2241
 * @method string getDashBoardName()
2242
 * @method $this withDashBoardName($value)
2243
 * @method string getProductCode()
2244
 * @method $this withProductCode($value)
2245
 * @method string getClusterId()
2246
 * @method $this withClusterId($value)
2247
 * @method string getOnlyQuery()
2248
 * @method $this withOnlyQuery($value)
2249
 * @method string getGroupName()
2250
 * @method $this withGroupName($value)
2251
 * @method string getClusterType()
2252
 * @method $this withClusterType($value)
2253
 * @method string getDashBoardVersion()
2254
 * @method $this withDashBoardVersion($value)
2255
 */
2256
class ListDashboardsByName extends Rpc
2257
{
2258
}
2259
2260
/**
2261
 * @method string getSystem()
2262
 * @method $this withSystem($value)
2263
 * @method string getName()
2264
 * @method $this withName($value)
2265
 * @method string getProxyUserId()
2266
 * @method $this withProxyUserId($value)
2267
 */
2268
class ListDispatchRule extends Rpc
2269
{
2270
}
2271
2272
/**
2273
 * @method string getSize()
2274
 * @method $this withSize($value)
2275
 * @method string getName()
2276
 * @method $this withName($value)
2277
 * @method string getPage()
2278
 * @method $this withPage($value)
2279
 */
2280
class ListEscalationPolicies extends Rpc
2281
{
2282
2283
    /** @var string */
2284
    public $method = 'GET';
2285
}
2286
2287
/**
2288
 * @method string getSize()
2289
 * @method $this withSize($value)
2290
 * @method string getName()
2291
 * @method $this withName($value)
2292
 * @method string getPage()
2293
 * @method $this withPage($value)
2294
 */
2295
class ListEventBridgeIntegrations extends Rpc
2296
{
2297
2298
    /** @var string */
2299
    public $method = 'GET';
2300
}
2301
2302
/**
2303
 * @method string getInsightsTypes()
2304
 * @method $this withInsightsTypes($value)
2305
 * @method string getEndTime()
2306
 * @method $this withEndTime($value)
2307
 * @method string getPid()
2308
 * @method $this withPid($value)
2309
 * @method string getStartTime()
2310
 * @method $this withStartTime($value)
2311
 */
2312
class ListInsightsEvents extends Rpc
2313
{
2314
}
2315
2316
/**
2317
 * @method string getSize()
2318
 * @method $this withSize($value)
2319
 * @method string getIntegrationName()
2320
 * @method $this withIntegrationName($value)
2321
 * @method string getIsDetail()
2322
 * @method $this withIsDetail($value)
2323
 * @method string getPage()
2324
 * @method $this withPage($value)
2325
 * @method string getIntegrationProductType()
2326
 * @method $this withIntegrationProductType($value)
2327
 */
2328
class ListIntegration extends Rpc
2329
{
2330
2331
    /** @var string */
2332
    public $method = 'GET';
2333
}
2334
2335
/**
2336
 * @method string getSize()
2337
 * @method $this withSize($value)
2338
 * @method string getName()
2339
 * @method $this withName($value)
2340
 * @method string getIsDetail()
2341
 * @method $this withIsDetail($value)
2342
 * @method string getPage()
2343
 * @method $this withPage($value)
2344
 */
2345
class ListNotificationPolicies extends Rpc
2346
{
2347
}
2348
2349
/**
2350
 * @method string getSize()
2351
 * @method $this withSize($value)
2352
 * @method string getName()
2353
 * @method $this withName($value)
2354
 * @method string getPage()
2355
 * @method $this withPage($value)
2356
 */
2357
class ListOnCallSchedules extends Rpc
2358
{
2359
2360
    /** @var string */
2361
    public $method = 'GET';
2362
}
2363
2364
/**
2365
 * @method string getClusterId()
2366
 * @method $this withClusterId($value)
2367
 * @method string getProxyUserId()
2368
 * @method $this withProxyUserId($value)
2369
 * @method string getType()
2370
 * @method $this withType($value)
2371
 * @method string getName()
2372
 * @method $this withName($value)
2373
 * @method string getMatchExpressions()
2374
 * @method $this withMatchExpressions($value)
2375
 * @method string getStatus()
2376
 * @method $this withStatus($value)
2377
 */
2378
class ListPrometheusAlertRules extends Rpc
2379
{
2380
}
2381
2382
/**
2383
 * @method string getProductCode()
2384
 * @method $this withProductCode($value)
2385
 * @method string getClusterId()
2386
 * @method $this withClusterId($value)
2387
 * @method string getProxyUserId()
2388
 * @method $this withProxyUserId($value)
2389
 */
2390
class ListPrometheusAlertTemplates extends Rpc
2391
{
2392
}
2393
2394
class ListPrometheusGlobalView extends Rpc
2395
{
2396
}
2397
2398
/**
2399
 * @method string getShowGlobalView()
2400
 * @method $this withShowGlobalView($value)
2401
 */
2402
class ListPrometheusInstances extends Rpc
2403
{
2404
}
2405
2406
/**
2407
 * @method string getSecurityToken()
2408
 * @method $this withSecurityToken($value)
2409
 */
2410
class ListRetcodeApps extends Rpc
2411
{
2412
}
2413
2414
/**
2415
 * @method string getScenario()
2416
 * @method $this withScenario($value)
2417
 * @method string getAppId()
2418
 * @method $this withAppId($value)
2419
 * @method string getName()
2420
 * @method $this withName($value)
2421
 * @method string getSign()
2422
 * @method $this withSign($value)
2423
 */
2424
class ListScenario extends Rpc
2425
{
2426
}
2427
2428
/**
2429
 * @method string getSize()
2430
 * @method $this withSize($value)
2431
 * @method string getName()
2432
 * @method $this withName($value)
2433
 * @method string getIsDetail()
2434
 * @method $this withIsDetail($value)
2435
 * @method string getPage()
2436
 * @method $this withPage($value)
2437
 */
2438
class ListSilencePolicies extends Rpc
2439
{
2440
}
2441
2442
class ListTraceApps extends Rpc
2443
{
2444
}
2445
2446
/**
2447
 * @method string getQueryUserId()
2448
 * @method $this withQueryUserId($value)
2449
 * @method string getClusterId()
2450
 * @method $this withClusterId($value)
2451
 */
2452
class ManageGetRecordingRule extends Rpc
2453
{
2454
}
2455
2456
/**
2457
 * @method string getRuleYaml()
2458
 * @method $this withRuleYaml($value)
2459
 * @method string getQueryUserId()
2460
 * @method $this withQueryUserId($value)
2461
 * @method string getClusterId()
2462
 * @method $this withClusterId($value)
2463
 */
2464
class ManageRecordingRule extends Rpc
2465
{
2466
}
2467
2468
class OpenArmsDefaultSLR extends Rpc
2469
{
2470
}
2471
2472
/**
2473
 * @method string getType()
2474
 * @method $this withType($value)
2475
 */
2476
class OpenArmsServiceSecondVersion extends Rpc
2477
{
2478
}
2479
2480
/**
2481
 * @method string getClusterType()
2482
 * @method $this withClusterType($value)
2483
 * @method string getProduct()
2484
 * @method $this withProduct($value)
2485
 * @method string getRecreateSwitch()
2486
 * @method $this withRecreateSwitch($value)
2487
 * @method string getLength()
2488
 * @method $this withLength($value)
2489
 */
2490
class OpenVCluster extends Rpc
2491
{
2492
}
2493
2494
class OpenXtraceDefaultSLR extends Rpc
2495
{
2496
}
2497
2498
/**
2499
 * @method string getConsistencyQueryStrategy()
2500
 * @method $this withConsistencyQueryStrategy($value)
2501
 * @method string getEndTime()
2502
 * @method $this withEndTime($value)
2503
 * @method string getOrderBy()
2504
 * @method $this withOrderBy($value)
2505
 * @method string getCurrentPage()
2506
 * @method $this withCurrentPage($value)
2507
 * @method string getStartTime()
2508
 * @method $this withStartTime($value)
2509
 * @method string getConsistencyDataKey()
2510
 * @method $this withConsistencyDataKey($value)
2511
 * @method array getFilters()
2512
 * @method string getProxyUserId()
2513
 * @method $this withProxyUserId($value)
2514
 * @method array getMeasures()
2515
 * @method string getIntervalInSec()
2516
 * @method $this withIntervalInSec($value)
2517
 * @method string getMetric()
2518
 * @method $this withMetric($value)
2519
 * @method array getCustomFilters()
2520
 * @method string getPageSize()
2521
 * @method $this withPageSize($value)
2522
 * @method string getOrder()
2523
 * @method $this withOrder($value)
2524
 * @method array getDimensions()
2525
 */
2526
class QueryMetricByPage extends Rpc
2527
{
2528
2529
    /**
2530
     * @param array $filters
2531
     *
2532
     * @return $this
2533
     */
2534
	public function withFilters(array $filters)
2535
	{
2536
	    $this->data['Filters'] = $filters;
2537
		foreach ($filters as $depth1 => $depth1Value) {
2538
			if(isset($depth1Value['Value'])){
2539
				$this->options['query']['Filters.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
2540
			}
2541
			if(isset($depth1Value['Key'])){
2542
				$this->options['query']['Filters.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key'];
2543
			}
2544
		}
2545
2546
		return $this;
2547
    }
2548
2549
    /**
2550
     * @param array $measures
2551
     *
2552
     * @return $this
2553
     */
2554
	public function withMeasures(array $measures)
2555
	{
2556
	    $this->data['Measures'] = $measures;
2557
		foreach ($measures as $i => $iValue) {
2558
			$this->options['query']['Measures.' . ($i + 1)] = $iValue;
2559
		}
2560
2561
		return $this;
2562
    }
2563
2564
    /**
2565
     * @param array $customFilters
2566
     *
2567
     * @return $this
2568
     */
2569
	public function withCustomFilters(array $customFilters)
2570
	{
2571
	    $this->data['CustomFilters'] = $customFilters;
2572
		foreach ($customFilters as $i => $iValue) {
2573
			$this->options['query']['CustomFilters.' . ($i + 1)] = $iValue;
2574
		}
2575
2576
		return $this;
2577
    }
2578
2579
    /**
2580
     * @param array $dimensions
2581
     *
2582
     * @return $this
2583
     */
2584
	public function withDimensions(array $dimensions)
2585
	{
2586
	    $this->data['Dimensions'] = $dimensions;
2587
		foreach ($dimensions as $i => $iValue) {
2588
			$this->options['query']['Dimensions.' . ($i + 1)] = $iValue;
2589
		}
2590
2591
		return $this;
2592
    }
2593
}
2594
2595
/**
2596
 * @method string getClusterId()
2597
 * @method $this withClusterId($value)
2598
 */
2599
class QueryPromInstallStatus extends Rpc
2600
{
2601
}
2602
2603
/**
2604
 * @method string getChangeOrderId()
2605
 * @method $this withChangeOrderId($value)
2606
 * @method string getMetricType()
2607
 * @method $this withMetricType($value)
2608
 * @method string getCreateTime()
2609
 * @method $this withCreateTime($value)
2610
 * @method string getPid()
2611
 * @method $this withPid($value)
2612
 * @method string getProxyUserId()
2613
 * @method $this withProxyUserId($value)
2614
 * @method string getReleaseEndTime()
2615
 * @method $this withReleaseEndTime($value)
2616
 * @method string getService()
2617
 * @method $this withService($value)
2618
 * @method string getReleaseStartTime()
2619
 * @method $this withReleaseStartTime($value)
2620
 */
2621
class QueryReleaseMetric extends Rpc
2622
{
2623
}
2624
2625
/**
2626
 * @method string getGlobalViewClusterId()
2627
 * @method $this withGlobalViewClusterId($value)
2628
 * @method string getClusterIds()
2629
 * @method $this withClusterIds($value)
2630
 * @method string getGroupName()
2631
 * @method $this withGroupName($value)
2632
 */
2633
class RemoveAliClusterIdsFromPrometheusGlobalView extends Rpc
2634
{
2635
}
2636
2637
/**
2638
 * @method string getSourceNames()
2639
 * @method $this withSourceNames($value)
2640
 * @method string getGlobalViewClusterId()
2641
 * @method $this withGlobalViewClusterId($value)
2642
 * @method string getGroupName()
2643
 * @method $this withGroupName($value)
2644
 */
2645
class RemoveSourcesFromPrometheusGlobalView extends Rpc
2646
{
2647
}
2648
2649
/**
2650
 * @method array getSettings()
2651
 * @method string getPid()
2652
 * @method $this withPid($value)
2653
 */
2654
class SaveTraceAppConfig extends Rpc
2655
{
2656
2657
    /**
2658
     * @param array $settings
2659
     *
2660
     * @return $this
2661
     */
2662
	public function withSettings(array $settings)
2663
	{
2664
	    $this->data['Settings'] = $settings;
2665
		foreach ($settings as $depth1 => $depth1Value) {
2666
			if(isset($depth1Value['Value'])){
2667
				$this->options['query']['Settings.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
2668
			}
2669
			if(isset($depth1Value['Key'])){
2670
				$this->options['query']['Settings.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key'];
2671
			}
2672
		}
2673
2674
		return $this;
2675
    }
2676
}
2677
2678
/**
2679
 * @method string getCurrentPage()
2680
 * @method $this withCurrentPage($value)
2681
 * @method string getProxyUserId()
2682
 * @method $this withProxyUserId($value)
2683
 * @method string getContactIds()
2684
 * @method $this withContactIds($value)
2685
 * @method string getContactName()
2686
 * @method $this withContactName($value)
2687
 * @method string getPhone()
2688
 * @method $this withPhone($value)
2689
 * @method string getPageSize()
2690
 * @method $this withPageSize($value)
2691
 * @method string getEmail()
2692
 * @method $this withEmail($value)
2693
 */
2694
class SearchAlertContact extends Rpc
2695
{
2696
}
2697
2698
/**
2699
 * @method string getContactId()
2700
 * @method $this withContactId($value)
2701
 * @method string getIsDetail()
2702
 * @method $this withIsDetail($value)
2703
 * @method string getContactGroupName()
2704
 * @method $this withContactGroupName($value)
2705
 * @method string getProxyUserId()
2706
 * @method $this withProxyUserId($value)
2707
 * @method string getContactName()
2708
 * @method $this withContactName($value)
2709
 * @method string getContactGroupIds()
2710
 * @method $this withContactGroupIds($value)
2711
 */
2712
class SearchAlertContactGroup extends Rpc
2713
{
2714
}
2715
2716
/**
2717
 * @method string getEndTime()
2718
 * @method $this withEndTime($value)
2719
 * @method string getCurrentPage()
2720
 * @method $this withCurrentPage($value)
2721
 * @method string getStartTime()
2722
 * @method $this withStartTime($value)
2723
 * @method string getProxyUserId()
2724
 * @method $this withProxyUserId($value)
2725
 * @method string getAlertType()
2726
 * @method $this withAlertType($value)
2727
 * @method string getPageSize()
2728
 * @method $this withPageSize($value)
2729
 * @method string getAlertId()
2730
 * @method $this withAlertId($value)
2731
 */
2732
class SearchAlertHistories extends Rpc
2733
{
2734
}
2735
2736
/**
2737
 * @method string getAppType()
2738
 * @method $this withAppType($value)
2739
 * @method string getCurrentPage()
2740
 * @method $this withCurrentPage($value)
2741
 * @method string getPid()
2742
 * @method $this withPid($value)
2743
 * @method string getSystemRegionId()
2744
 * @method $this withSystemRegionId($value)
2745
 * @method string getProxyUserId()
2746
 * @method $this withProxyUserId($value)
2747
 * @method string getTitle()
2748
 * @method $this withTitle($value)
2749
 * @method string getType()
2750
 * @method $this withType($value)
2751
 * @method string getPageSize()
2752
 * @method $this withPageSize($value)
2753
 */
2754
class SearchAlertRules extends Rpc
2755
{
2756
}
2757
2758
/**
2759
 * @method string getIsTrigger()
2760
 * @method $this withIsTrigger($value)
2761
 * @method string getAppType()
2762
 * @method $this withAppType($value)
2763
 * @method string getEndTime()
2764
 * @method $this withEndTime($value)
2765
 * @method string getPid()
2766
 * @method $this withPid($value)
2767
 * @method string getCurrentPage()
2768
 * @method $this withCurrentPage($value)
2769
 * @method string getStartTime()
2770
 * @method $this withStartTime($value)
2771
 * @method string getProxyUserId()
2772
 * @method $this withProxyUserId($value)
2773
 * @method string getAlertType()
2774
 * @method $this withAlertType($value)
2775
 * @method string getPageSize()
2776
 * @method $this withPageSize($value)
2777
 * @method string getAlertId()
2778
 * @method $this withAlertId($value)
2779
 */
2780
class SearchEvents extends Rpc
2781
{
2782
}
2783
2784
/**
2785
 * @method string getRetcodeAppName()
2786
 * @method $this withRetcodeAppName($value)
2787
 * @method string getPageSize()
2788
 * @method $this withPageSize($value)
2789
 * @method string getPageNumber()
2790
 * @method $this withPageNumber($value)
2791
 */
2792
class SearchRetcodeAppByPage extends Rpc
2793
{
2794
}
2795
2796
/**
2797
 * @method string getTraceAppName()
2798
 * @method $this withTraceAppName($value)
2799
 */
2800
class SearchTraceAppByName extends Rpc
2801
{
2802
}
2803
2804
/**
2805
 * @method string getTraceAppName()
2806
 * @method $this withTraceAppName($value)
2807
 * @method string getPageSize()
2808
 * @method $this withPageSize($value)
2809
 * @method string getPageNumber()
2810
 * @method $this withPageNumber($value)
2811
 */
2812
class SearchTraceAppByPage extends Rpc
2813
{
2814
}
2815
2816
/**
2817
 * @method string getEndTime()
2818
 * @method $this withEndTime($value)
2819
 * @method string getPid()
2820
 * @method $this withPid($value)
2821
 * @method string getStartTime()
2822
 * @method $this withStartTime($value)
2823
 * @method string getReverse()
2824
 * @method $this withReverse($value)
2825
 * @method string getMinDuration()
2826
 * @method $this withMinDuration($value)
2827
 * @method string getServiceIp()
2828
 * @method $this withServiceIp($value)
2829
 * @method array getExclusionFilters()
2830
 * @method string getOperationName()
2831
 * @method $this withOperationName($value)
2832
 * @method string getServiceName()
2833
 * @method $this withServiceName($value)
2834
 * @method array getTag()
2835
 */
2836
class SearchTraces extends Rpc
2837
{
2838
2839
    /**
2840
     * @param array $exclusionFilters
2841
     *
2842
     * @return $this
2843
     */
2844
	public function withExclusionFilters(array $exclusionFilters)
2845
	{
2846
	    $this->data['ExclusionFilters'] = $exclusionFilters;
2847
		foreach ($exclusionFilters as $depth1 => $depth1Value) {
2848
			if(isset($depth1Value['Value'])){
2849
				$this->options['query']['ExclusionFilters.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
2850
			}
2851
			if(isset($depth1Value['Key'])){
2852
				$this->options['query']['ExclusionFilters.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key'];
2853
			}
2854
		}
2855
2856
		return $this;
2857
    }
2858
2859
    /**
2860
     * @param array $tag
2861
     *
2862
     * @return $this
2863
     */
2864
	public function withTag(array $tag)
2865
	{
2866
	    $this->data['Tag'] = $tag;
2867
		foreach ($tag as $depth1 => $depth1Value) {
2868
			if(isset($depth1Value['Value'])){
2869
				$this->options['query']['Tag.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
2870
			}
2871
			if(isset($depth1Value['Key'])){
2872
				$this->options['query']['Tag.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key'];
2873
			}
2874
		}
2875
2876
		return $this;
2877
    }
2878
}
2879
2880
/**
2881
 * @method string getEndTime()
2882
 * @method $this withEndTime($value)
2883
 * @method string getPid()
2884
 * @method $this withPid($value)
2885
 * @method string getStartTime()
2886
 * @method $this withStartTime($value)
2887
 * @method string getReverse()
2888
 * @method $this withReverse($value)
2889
 * @method string getMinDuration()
2890
 * @method $this withMinDuration($value)
2891
 * @method string getPageNumber()
2892
 * @method $this withPageNumber($value)
2893
 * @method array getTags()
2894
 * @method string getServiceIp()
2895
 * @method $this withServiceIp($value)
2896
 * @method array getExclusionFilters()
2897
 * @method string getOperationName()
2898
 * @method $this withOperationName($value)
2899
 * @method string getPageSize()
2900
 * @method $this withPageSize($value)
2901
 * @method string getServiceName()
2902
 * @method $this withServiceName($value)
2903
 */
2904
class SearchTracesByPage extends Rpc
2905
{
2906
2907
    /**
2908
     * @param array $tags
2909
     *
2910
     * @return $this
2911
     */
2912
	public function withTags(array $tags)
2913
	{
2914
	    $this->data['Tags'] = $tags;
2915
		foreach ($tags as $depth1 => $depth1Value) {
2916
			if(isset($depth1Value['Value'])){
2917
				$this->options['query']['Tags.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
2918
			}
2919
			if(isset($depth1Value['Key'])){
2920
				$this->options['query']['Tags.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key'];
2921
			}
2922
		}
2923
2924
		return $this;
2925
    }
2926
2927
    /**
2928
     * @param array $exclusionFilters
2929
     *
2930
     * @return $this
2931
     */
2932
	public function withExclusionFilters(array $exclusionFilters)
2933
	{
2934
	    $this->data['ExclusionFilters'] = $exclusionFilters;
2935
		foreach ($exclusionFilters as $depth1 => $depth1Value) {
2936
			if(isset($depth1Value['Value'])){
2937
				$this->options['query']['ExclusionFilters.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
2938
			}
2939
			if(isset($depth1Value['Key'])){
2940
				$this->options['query']['ExclusionFilters.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key'];
2941
			}
2942
		}
2943
2944
		return $this;
2945
    }
2946
}
2947
2948
/**
2949
 * @method string getContactId()
2950
 * @method string getPhone()
2951
 */
2952
class SendTTSVerifyLink extends Rpc
2953
{
2954
2955
    /**
2956
     * @param string $value
2957
     *
2958
     * @return $this
2959
     */
2960
    public function withContactId($value)
2961
    {
2962
        $this->data['ContactId'] = $value;
2963
        $this->options['form_params']['ContactId'] = $value;
2964
2965
        return $this;
2966
    }
2967
2968
    /**
2969
     * @param string $value
2970
     *
2971
     * @return $this
2972
     */
2973
    public function withPhone($value)
2974
    {
2975
        $this->data['Phone'] = $value;
2976
        $this->options['form_params']['Phone'] = $value;
2977
2978
        return $this;
2979
    }
2980
}
2981
2982
/**
2983
 * @method string getPid()
2984
 * @method $this withPid($value)
2985
 * @method string getStatus()
2986
 * @method $this withStatus($value)
2987
 */
2988
class SetRetcodeShareStatus extends Rpc
2989
{
2990
}
2991
2992
/**
2993
 * @method string getAlertId()
2994
 * @method $this withAlertId($value)
2995
 * @method string getProxyUserId()
2996
 * @method $this withProxyUserId($value)
2997
 */
2998
class StartAlert extends Rpc
2999
{
3000
}
3001
3002
/**
3003
 * @method string getAlertId()
3004
 * @method $this withAlertId($value)
3005
 * @method string getProxyUserId()
3006
 * @method $this withProxyUserId($value)
3007
 */
3008
class StopAlert extends Rpc
3009
{
3010
}
3011
3012
/**
3013
 * @method string getPid()
3014
 * @method $this withPid($value)
3015
 * @method string getReleaseStartTime()
3016
 * @method $this withReleaseStartTime($value)
3017
 * @method string getProxyUserId()
3018
 * @method $this withProxyUserId($value)
3019
 */
3020
class TurnOnSecondSwitch extends Rpc
3021
{
3022
3023
    /** @var string */
3024
    public $method = 'GET';
3025
}
3026
3027
/**
3028
 * @method string getClusterType()
3029
 * @method $this withClusterType($value)
3030
 * @method string getVpcId()
3031
 * @method $this withVpcId($value)
3032
 * @method string getClusterId()
3033
 * @method $this withClusterId($value)
3034
 */
3035
class UninstallManagedPrometheus extends Rpc
3036
{
3037
}
3038
3039
/**
3040
 * @method string getClusterId()
3041
 * @method $this withClusterId($value)
3042
 */
3043
class UninstallPromCluster extends Rpc
3044
{
3045
}
3046
3047
/**
3048
 * @method string getContactId()
3049
 * @method $this withContactId($value)
3050
 * @method string getPhoneNum()
3051
 * @method $this withPhoneNum($value)
3052
 * @method string getProxyUserId()
3053
 * @method $this withProxyUserId($value)
3054
 * @method string getContactName()
3055
 * @method $this withContactName($value)
3056
 * @method string getDingRobotWebhookUrl()
3057
 * @method $this withDingRobotWebhookUrl($value)
3058
 * @method string getEmail()
3059
 * @method $this withEmail($value)
3060
 * @method string getSystemNoc()
3061
 * @method $this withSystemNoc($value)
3062
 */
3063
class UpdateAlertContact extends Rpc
3064
{
3065
}
3066
3067
/**
3068
 * @method string getContactGroupId()
3069
 * @method $this withContactGroupId($value)
3070
 * @method string getContactGroupName()
3071
 * @method $this withContactGroupName($value)
3072
 * @method string getProxyUserId()
3073
 * @method $this withProxyUserId($value)
3074
 * @method string getContactIds()
3075
 * @method $this withContactIds($value)
3076
 */
3077
class UpdateAlertContactGroup extends Rpc
3078
{
3079
}
3080
3081
/**
3082
 * @method string getIsAutoStart()
3083
 * @method $this withIsAutoStart($value)
3084
 * @method string getProxyUserId()
3085
 * @method $this withProxyUserId($value)
3086
 * @method string getContactGroupIds()
3087
 * @method $this withContactGroupIds($value)
3088
 * @method string getAlertId()
3089
 * @method $this withAlertId($value)
3090
 * @method string getTemplageAlertConfig()
3091
 * @method $this withTemplageAlertConfig($value)
3092
 */
3093
class UpdateAlertRule extends Rpc
3094
{
3095
}
3096
3097
/**
3098
 * @method string getDispatchRule()
3099
 * @method $this withDispatchRule($value)
3100
 * @method string getProxyUserId()
3101
 * @method $this withProxyUserId($value)
3102
 */
3103
class UpdateDispatchRule extends Rpc
3104
{
3105
}
3106
3107
/**
3108
 * @method string getShortToken()
3109
 * @method string getFieldRedefineRules()
3110
 * @method string getStat()
3111
 * @method string getInitiativeRecoverValue()
3112
 * @method string getLiveness()
3113
 * @method string getIntegrationId()
3114
 * @method string getDescription()
3115
 * @method string getApiEndpoint()
3116
 * @method string getAutoRecover()
3117
 * @method string getRecoverTime()
3118
 * @method string getDuplicateKey()
3119
 * @method string getIntegrationName()
3120
 * @method string getState()
3121
 * @method string getExtendedFieldRedefineRules()
3122
 * @method string getInitiativeRecoverField()
3123
 * @method string getIntegrationProductType()
3124
 */
3125
class UpdateIntegration extends Rpc
3126
{
3127
3128
    /**
3129
     * @param string $value
3130
     *
3131
     * @return $this
3132
     */
3133
    public function withShortToken($value)
3134
    {
3135
        $this->data['ShortToken'] = $value;
3136
        $this->options['form_params']['ShortToken'] = $value;
3137
3138
        return $this;
3139
    }
3140
3141
    /**
3142
     * @param string $value
3143
     *
3144
     * @return $this
3145
     */
3146
    public function withFieldRedefineRules($value)
3147
    {
3148
        $this->data['FieldRedefineRules'] = $value;
3149
        $this->options['form_params']['FieldRedefineRules'] = $value;
3150
3151
        return $this;
3152
    }
3153
3154
    /**
3155
     * @param string $value
3156
     *
3157
     * @return $this
3158
     */
3159
    public function withStat($value)
3160
    {
3161
        $this->data['Stat'] = $value;
3162
        $this->options['form_params']['Stat'] = $value;
3163
3164
        return $this;
3165
    }
3166
3167
    /**
3168
     * @param string $value
3169
     *
3170
     * @return $this
3171
     */
3172
    public function withInitiativeRecoverValue($value)
3173
    {
3174
        $this->data['InitiativeRecoverValue'] = $value;
3175
        $this->options['form_params']['InitiativeRecoverValue'] = $value;
3176
3177
        return $this;
3178
    }
3179
3180
    /**
3181
     * @param string $value
3182
     *
3183
     * @return $this
3184
     */
3185
    public function withLiveness($value)
3186
    {
3187
        $this->data['Liveness'] = $value;
3188
        $this->options['form_params']['Liveness'] = $value;
3189
3190
        return $this;
3191
    }
3192
3193
    /**
3194
     * @param string $value
3195
     *
3196
     * @return $this
3197
     */
3198
    public function withIntegrationId($value)
3199
    {
3200
        $this->data['IntegrationId'] = $value;
3201
        $this->options['form_params']['IntegrationId'] = $value;
3202
3203
        return $this;
3204
    }
3205
3206
    /**
3207
     * @param string $value
3208
     *
3209
     * @return $this
3210
     */
3211
    public function withDescription($value)
3212
    {
3213
        $this->data['Description'] = $value;
3214
        $this->options['form_params']['Description'] = $value;
3215
3216
        return $this;
3217
    }
3218
3219
    /**
3220
     * @param string $value
3221
     *
3222
     * @return $this
3223
     */
3224
    public function withApiEndpoint($value)
3225
    {
3226
        $this->data['ApiEndpoint'] = $value;
3227
        $this->options['form_params']['ApiEndpoint'] = $value;
3228
3229
        return $this;
3230
    }
3231
3232
    /**
3233
     * @param string $value
3234
     *
3235
     * @return $this
3236
     */
3237
    public function withAutoRecover($value)
3238
    {
3239
        $this->data['AutoRecover'] = $value;
3240
        $this->options['form_params']['AutoRecover'] = $value;
3241
3242
        return $this;
3243
    }
3244
3245
    /**
3246
     * @param string $value
3247
     *
3248
     * @return $this
3249
     */
3250
    public function withRecoverTime($value)
3251
    {
3252
        $this->data['RecoverTime'] = $value;
3253
        $this->options['form_params']['RecoverTime'] = $value;
3254
3255
        return $this;
3256
    }
3257
3258
    /**
3259
     * @param string $value
3260
     *
3261
     * @return $this
3262
     */
3263
    public function withDuplicateKey($value)
3264
    {
3265
        $this->data['DuplicateKey'] = $value;
3266
        $this->options['form_params']['DuplicateKey'] = $value;
3267
3268
        return $this;
3269
    }
3270
3271
    /**
3272
     * @param string $value
3273
     *
3274
     * @return $this
3275
     */
3276
    public function withIntegrationName($value)
3277
    {
3278
        $this->data['IntegrationName'] = $value;
3279
        $this->options['form_params']['IntegrationName'] = $value;
3280
3281
        return $this;
3282
    }
3283
3284
    /**
3285
     * @param string $value
3286
     *
3287
     * @return $this
3288
     */
3289
    public function withState($value)
3290
    {
3291
        $this->data['State'] = $value;
3292
        $this->options['form_params']['State'] = $value;
3293
3294
        return $this;
3295
    }
3296
3297
    /**
3298
     * @param string $value
3299
     *
3300
     * @return $this
3301
     */
3302
    public function withExtendedFieldRedefineRules($value)
3303
    {
3304
        $this->data['ExtendedFieldRedefineRules'] = $value;
3305
        $this->options['form_params']['ExtendedFieldRedefineRules'] = $value;
3306
3307
        return $this;
3308
    }
3309
3310
    /**
3311
     * @param string $value
3312
     *
3313
     * @return $this
3314
     */
3315
    public function withInitiativeRecoverField($value)
3316
    {
3317
        $this->data['InitiativeRecoverField'] = $value;
3318
        $this->options['form_params']['InitiativeRecoverField'] = $value;
3319
3320
        return $this;
3321
    }
3322
3323
    /**
3324
     * @param string $value
3325
     *
3326
     * @return $this
3327
     */
3328
    public function withIntegrationProductType($value)
3329
    {
3330
        $this->data['IntegrationProductType'] = $value;
3331
        $this->options['form_params']['IntegrationProductType'] = $value;
3332
3333
        return $this;
3334
    }
3335
}
3336
3337
/**
3338
 * @method string getExpression()
3339
 * @method $this withExpression($value)
3340
 * @method string getAlertName()
3341
 * @method $this withAlertName($value)
3342
 * @method string getAnnotations()
3343
 * @method $this withAnnotations($value)
3344
 * @method string getClusterId()
3345
 * @method $this withClusterId($value)
3346
 * @method string getDispatchRuleId()
3347
 * @method $this withDispatchRuleId($value)
3348
 * @method string getProxyUserId()
3349
 * @method $this withProxyUserId($value)
3350
 * @method string getType()
3351
 * @method $this withType($value)
3352
 * @method string getMessage()
3353
 * @method $this withMessage($value)
3354
 * @method string getLabels()
3355
 * @method $this withLabels($value)
3356
 * @method string getDuration()
3357
 * @method $this withDuration($value)
3358
 * @method string getAlertId()
3359
 * @method $this withAlertId($value)
3360
 * @method string getNotifyType()
3361
 * @method $this withNotifyType($value)
3362
 */
3363
class UpdatePrometheusAlertRule extends Rpc
3364
{
3365
}
3366
3367
/**
3368
 * @method string getHttpHeaders()
3369
 * @method $this withHttpHeaders($value)
3370
 * @method string getMethod()
3371
 * @method $this withMethod($value)
3372
 * @method string getContactId()
3373
 * @method $this withContactId($value)
3374
 * @method string getHttpParams()
3375
 * @method $this withHttpParams($value)
3376
 * @method string getProxyUserId()
3377
 * @method $this withProxyUserId($value)
3378
 * @method string getBody()
3379
 * @method $this withBody($value)
3380
 * @method string getUrl()
3381
 * @method $this withUrl($value)
3382
 * @method string getContactName()
3383
 * @method $this withContactName($value)
3384
 * @method string getRecoverBody()
3385
 * @method $this withRecoverBody($value)
3386
 */
3387
class UpdateWebhook extends Rpc
3388
{
3389
}
3390
3391
/**
3392
 * @method string getFileName()
3393
 * @method $this withFileName($value)
3394
 * @method string getFile()
3395
 * @method string getEdition()
3396
 * @method $this withEdition($value)
3397
 * @method string getPid()
3398
 * @method $this withPid($value)
3399
 * @method string getVersion()
3400
 * @method $this withVersion($value)
3401
 */
3402
class Upload extends Rpc
3403
{
3404
3405
    /**
3406
     * @param string $value
3407
     *
3408
     * @return $this
3409
     */
3410
    public function withFile($value)
3411
    {
3412
        $this->data['File'] = $value;
3413
        $this->options['form_params']['File'] = $value;
3414
3415
        return $this;
3416
    }
3417
}
3418