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 ( ac319e...56b8c6 )
by
unknown
07:59
created

withAppVersionStrategy()   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
dl 0
loc 6
c 1
b 0
f 0
rs 10
cc 1
nc 1
nop 1
1
<?php
2
3
namespace AlibabaCloud\EmasAppmonitor\V20190611;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method GetAlarmLog getAlarmLog(array $options = [])
9
 * @method GetAppDailyDeviceCount getAppDailyDeviceCount(array $options = [])
10
 * @method GetAppFilePolicy getAppFilePolicy(array $options = [])
11
 * @method GetAppMonthlyDeviceCount getAppMonthlyDeviceCount(array $options = [])
12
 * @method GetAppStatus getAppStatus(array $options = [])
13
 * @method GetCrashSummary getCrashSummary(array $options = [])
14
 * @method GetSdkConfig getSdkConfig(array $options = [])
15
 * @method QueryApiAvgDurationGroupTrend queryApiAvgDurationGroupTrend(array $options = [])
16
 * @method QueryApiAvgDurationTrend queryApiAvgDurationTrend(array $options = [])
17
 * @method QueryApiDurationDistribution queryApiDurationDistribution(array $options = [])
18
 * @method QueryApiErrorGroupTrend queryApiErrorGroupTrend(array $options = [])
19
 * @method QueryApiErrorTrend queryApiErrorTrend(array $options = [])
20
 * @method QueryApiStatusCodeGroupTrend queryApiStatusCodeGroupTrend(array $options = [])
21
 * @method QueryApiStatusCodeTrend queryApiStatusCodeTrend(array $options = [])
22
 * @method QueryCrashTrend queryCrashTrend(array $options = [])
23
 * @method QueryLaunchTimeDistribution queryLaunchTimeDistribution(array $options = [])
24
 * @method QueryLaunchTimeTrend queryLaunchTimeTrend(array $options = [])
25
 * @method QueryLaunchTimeTrendGroupByProvince queryLaunchTimeTrendGroupByProvince(array $options = [])
26
 * @method QueryLaunchTimeTrendWithCarrier queryLaunchTimeTrendWithCarrier(array $options = [])
27
 * @method QueryPagePerfDistribution queryPagePerfDistribution(array $options = [])
28
 * @method QueryPagePerfTrend queryPagePerfTrend(array $options = [])
29
 * @method QueryPagePerfTrendGroupByPageName queryPagePerfTrendGroupByPageName(array $options = [])
30
 * @method QueryPagePerfTrendGroupByProvince queryPagePerfTrendGroupByProvince(array $options = [])
31
 * @method QuerySingleDomainApiAvgDurationGroupTrend querySingleDomainApiAvgDurationGroupTrend(array $options = [])
32
 * @method QuerySingleDomainApiErrorGroupTrend querySingleDomainApiErrorGroupTrend(array $options = [])
33
 * @method QuerySingleDomainApiStatusCodeGroupTrend querySingleDomainApiStatusCodeGroupTrend(array $options = [])
34
 * @method SaveAppFile saveAppFile(array $options = [])
35
 */
36
class EmasAppmonitorApiResolver extends ApiResolver
37
{
38
}
39
40
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
41
{
42
    /** @var string */
43
    public $product = 'emas-appmonitor';
44
45
    /** @var string */
46
    public $version = '2019-06-11';
47
48
    /** @var string */
49
    public $method = 'POST';
50
}
51
52
/**
53
 * @method string getAlarmItemType()
54
 * @method string getPageNumber()
55
 * @method string getFromDate()
56
 * @method string getPageSize()
57
 * @method string getAlarmItemId()
58
 * @method string getUniqueAppId()
59
 * @method string getUntilDate()
60
 */
61
class GetAlarmLog extends Rpc
62
{
63
64
    /**
65
     * @param string $value
66
     *
67
     * @return $this
68
     */
69
    public function withAlarmItemType($value)
70
    {
71
        $this->data['AlarmItemType'] = $value;
72
        $this->options['form_params']['AlarmItemType'] = $value;
73
74
        return $this;
75
    }
76
77
    /**
78
     * @param string $value
79
     *
80
     * @return $this
81
     */
82
    public function withPageNumber($value)
83
    {
84
        $this->data['PageNumber'] = $value;
85
        $this->options['form_params']['PageNumber'] = $value;
86
87
        return $this;
88
    }
89
90
    /**
91
     * @param string $value
92
     *
93
     * @return $this
94
     */
95
    public function withFromDate($value)
96
    {
97
        $this->data['FromDate'] = $value;
98
        $this->options['form_params']['FromDate'] = $value;
99
100
        return $this;
101
    }
102
103
    /**
104
     * @param string $value
105
     *
106
     * @return $this
107
     */
108
    public function withPageSize($value)
109
    {
110
        $this->data['PageSize'] = $value;
111
        $this->options['form_params']['PageSize'] = $value;
112
113
        return $this;
114
    }
115
116
    /**
117
     * @param string $value
118
     *
119
     * @return $this
120
     */
121
    public function withAlarmItemId($value)
122
    {
123
        $this->data['AlarmItemId'] = $value;
124
        $this->options['form_params']['AlarmItemId'] = $value;
125
126
        return $this;
127
    }
128
129
    /**
130
     * @param string $value
131
     *
132
     * @return $this
133
     */
134
    public function withUniqueAppId($value)
135
    {
136
        $this->data['UniqueAppId'] = $value;
137
        $this->options['form_params']['UniqueAppId'] = $value;
138
139
        return $this;
140
    }
141
142
    /**
143
     * @param string $value
144
     *
145
     * @return $this
146
     */
147
    public function withUntilDate($value)
148
    {
149
        $this->data['UntilDate'] = $value;
150
        $this->options['form_params']['UntilDate'] = $value;
151
152
        return $this;
153
    }
154
}
155
156
/**
157
 * @method string getUniqueAppId()
158
 * @method string getFromDateMs()
159
 * @method string getService()
160
 * @method string getUntilDateMs()
161
 */
162
class GetAppDailyDeviceCount extends Rpc
163
{
164
165
    /**
166
     * @param string $value
167
     *
168
     * @return $this
169
     */
170
    public function withUniqueAppId($value)
171
    {
172
        $this->data['UniqueAppId'] = $value;
173
        $this->options['form_params']['UniqueAppId'] = $value;
174
175
        return $this;
176
    }
177
178
    /**
179
     * @param string $value
180
     *
181
     * @return $this
182
     */
183
    public function withFromDateMs($value)
184
    {
185
        $this->data['FromDateMs'] = $value;
186
        $this->options['form_params']['FromDateMs'] = $value;
187
188
        return $this;
189
    }
190
191
    /**
192
     * @param string $value
193
     *
194
     * @return $this
195
     */
196
    public function withService($value)
197
    {
198
        $this->data['Service'] = $value;
199
        $this->options['form_params']['Service'] = $value;
200
201
        return $this;
202
    }
203
204
    /**
205
     * @param string $value
206
     *
207
     * @return $this
208
     */
209
    public function withUntilDateMs($value)
210
    {
211
        $this->data['UntilDateMs'] = $value;
212
        $this->options['form_params']['UntilDateMs'] = $value;
213
214
        return $this;
215
    }
216
}
217
218
/**
219
 * @method string getFileType()
220
 * @method string getUniqueAppId()
221
 */
222
class GetAppFilePolicy extends Rpc
223
{
224
225
    /**
226
     * @param string $value
227
     *
228
     * @return $this
229
     */
230
    public function withFileType($value)
231
    {
232
        $this->data['FileType'] = $value;
233
        $this->options['form_params']['FileType'] = $value;
234
235
        return $this;
236
    }
237
238
    /**
239
     * @param string $value
240
     *
241
     * @return $this
242
     */
243
    public function withUniqueAppId($value)
244
    {
245
        $this->data['UniqueAppId'] = $value;
246
        $this->options['form_params']['UniqueAppId'] = $value;
247
248
        return $this;
249
    }
250
}
251
252
/**
253
 * @method string getUniqueAppId()
254
 * @method string getFromDateMs()
255
 * @method string getService()
256
 * @method string getUntilDateMs()
257
 */
258
class GetAppMonthlyDeviceCount extends Rpc
259
{
260
261
    /**
262
     * @param string $value
263
     *
264
     * @return $this
265
     */
266
    public function withUniqueAppId($value)
267
    {
268
        $this->data['UniqueAppId'] = $value;
269
        $this->options['form_params']['UniqueAppId'] = $value;
270
271
        return $this;
272
    }
273
274
    /**
275
     * @param string $value
276
     *
277
     * @return $this
278
     */
279
    public function withFromDateMs($value)
280
    {
281
        $this->data['FromDateMs'] = $value;
282
        $this->options['form_params']['FromDateMs'] = $value;
283
284
        return $this;
285
    }
286
287
    /**
288
     * @param string $value
289
     *
290
     * @return $this
291
     */
292
    public function withService($value)
293
    {
294
        $this->data['Service'] = $value;
295
        $this->options['form_params']['Service'] = $value;
296
297
        return $this;
298
    }
299
300
    /**
301
     * @param string $value
302
     *
303
     * @return $this
304
     */
305
    public function withUntilDateMs($value)
306
    {
307
        $this->data['UntilDateMs'] = $value;
308
        $this->options['form_params']['UntilDateMs'] = $value;
309
310
        return $this;
311
    }
312
}
313
314
/**
315
 * @method string getUniqueAppId()
316
 */
317
class GetAppStatus extends Rpc
318
{
319
320
    /**
321
     * @param string $value
322
     *
323
     * @return $this
324
     */
325
    public function withUniqueAppId($value)
326
    {
327
        $this->data['UniqueAppId'] = $value;
328
        $this->options['form_params']['UniqueAppId'] = $value;
329
330
        return $this;
331
    }
332
}
333
334
/**
335
 * @method string getUniqueAppId()
336
 * @method string getDateTimeMs()
337
 * @method string getAppVersion()
338
 */
339
class GetCrashSummary extends Rpc
340
{
341
342
    /**
343
     * @param string $value
344
     *
345
     * @return $this
346
     */
347
    public function withUniqueAppId($value)
348
    {
349
        $this->data['UniqueAppId'] = $value;
350
        $this->options['form_params']['UniqueAppId'] = $value;
351
352
        return $this;
353
    }
354
355
    /**
356
     * @param string $value
357
     *
358
     * @return $this
359
     */
360
    public function withDateTimeMs($value)
361
    {
362
        $this->data['DateTimeMs'] = $value;
363
        $this->options['form_params']['DateTimeMs'] = $value;
364
365
        return $this;
366
    }
367
368
    /**
369
     * @param string $value
370
     *
371
     * @return $this
372
     */
373
    public function withAppVersion($value)
374
    {
375
        $this->data['AppVersion'] = $value;
376
        $this->options['form_params']['AppVersion'] = $value;
377
378
        return $this;
379
    }
380
}
381
382
/**
383
 * @method string getUniqueAppId()
384
 */
385
class GetSdkConfig extends Rpc
386
{
387
388
    /**
389
     * @param string $value
390
     *
391
     * @return $this
392
     */
393
    public function withUniqueAppId($value)
394
    {
395
        $this->data['UniqueAppId'] = $value;
396
        $this->options['form_params']['UniqueAppId'] = $value;
397
398
        return $this;
399
    }
400
}
401
402
/**
403
 * @method string getAppVersionStrategy()
404
 * @method string getStartTime()
405
 * @method string getGroup()
406
 * @method string getIntervalMinutes()
407
 * @method string getUniqueAppId()
408
 * @method string getEndTime()
409
 * @method array getAppVersion()
410
 */
411
class QueryApiAvgDurationGroupTrend extends Rpc
412
{
413
414
    /**
415
     * @param string $value
416
     *
417
     * @return $this
418
     */
419
    public function withAppVersionStrategy($value)
420
    {
421
        $this->data['AppVersionStrategy'] = $value;
422
        $this->options['form_params']['AppVersionStrategy'] = $value;
423
424
        return $this;
425
    }
426
427
    /**
428
     * @param string $value
429
     *
430
     * @return $this
431
     */
432
    public function withStartTime($value)
433
    {
434
        $this->data['StartTime'] = $value;
435
        $this->options['form_params']['StartTime'] = $value;
436
437
        return $this;
438
    }
439
440
    /**
441
     * @param string $value
442
     *
443
     * @return $this
444
     */
445
    public function withGroup($value)
446
    {
447
        $this->data['Group'] = $value;
448
        $this->options['form_params']['Group'] = $value;
449
450
        return $this;
451
    }
452
453
    /**
454
     * @param string $value
455
     *
456
     * @return $this
457
     */
458
    public function withIntervalMinutes($value)
459
    {
460
        $this->data['IntervalMinutes'] = $value;
461
        $this->options['form_params']['IntervalMinutes'] = $value;
462
463
        return $this;
464
    }
465
466
    /**
467
     * @param string $value
468
     *
469
     * @return $this
470
     */
471
    public function withUniqueAppId($value)
472
    {
473
        $this->data['UniqueAppId'] = $value;
474
        $this->options['form_params']['UniqueAppId'] = $value;
475
476
        return $this;
477
    }
478
479
    /**
480
     * @param string $value
481
     *
482
     * @return $this
483
     */
484
    public function withEndTime($value)
485
    {
486
        $this->data['EndTime'] = $value;
487
        $this->options['form_params']['EndTime'] = $value;
488
489
        return $this;
490
    }
491
492
    /**
493
     * @param array $appVersion
494
     *
495
     * @return $this
496
     */
497
	public function withAppVersion(array $appVersion)
498
	{
499
	    $this->data['AppVersion'] = $appVersion;
500
		foreach ($appVersion as $i => $iValue) {
501
			$this->options['form_params']['AppVersion.' . ($i + 1)] = $iValue;
502
		}
503
504
		return $this;
505
    }
506
}
507
508
/**
509
 * @method string getAppVersionStrategy()
510
 * @method string getStartTime()
511
 * @method string getIntervalMinutes()
512
 * @method string getUniqueAppId()
513
 * @method array getIp()
514
 * @method string getEndTime()
515
 * @method array getAppVersion()
516
 * @method array getUrlPath()
517
 * @method string getDomain()
518
 */
519
class QueryApiAvgDurationTrend extends Rpc
520
{
521
522
    /**
523
     * @param string $value
524
     *
525
     * @return $this
526
     */
527
    public function withAppVersionStrategy($value)
528
    {
529
        $this->data['AppVersionStrategy'] = $value;
530
        $this->options['form_params']['AppVersionStrategy'] = $value;
531
532
        return $this;
533
    }
534
535
    /**
536
     * @param string $value
537
     *
538
     * @return $this
539
     */
540
    public function withStartTime($value)
541
    {
542
        $this->data['StartTime'] = $value;
543
        $this->options['form_params']['StartTime'] = $value;
544
545
        return $this;
546
    }
547
548
    /**
549
     * @param string $value
550
     *
551
     * @return $this
552
     */
553
    public function withIntervalMinutes($value)
554
    {
555
        $this->data['IntervalMinutes'] = $value;
556
        $this->options['form_params']['IntervalMinutes'] = $value;
557
558
        return $this;
559
    }
560
561
    /**
562
     * @param string $value
563
     *
564
     * @return $this
565
     */
566
    public function withUniqueAppId($value)
567
    {
568
        $this->data['UniqueAppId'] = $value;
569
        $this->options['form_params']['UniqueAppId'] = $value;
570
571
        return $this;
572
    }
573
574
    /**
575
     * @param array $ip
576
     *
577
     * @return $this
578
     */
579
	public function withIp(array $ip)
580
	{
581
	    $this->data['Ip'] = $ip;
582
		foreach ($ip as $i => $iValue) {
583
			$this->options['form_params']['Ip.' . ($i + 1)] = $iValue;
584
		}
585
586
		return $this;
587
    }
588
589
    /**
590
     * @param string $value
591
     *
592
     * @return $this
593
     */
594
    public function withEndTime($value)
595
    {
596
        $this->data['EndTime'] = $value;
597
        $this->options['form_params']['EndTime'] = $value;
598
599
        return $this;
600
    }
601
602
    /**
603
     * @param array $appVersion
604
     *
605
     * @return $this
606
     */
607
	public function withAppVersion(array $appVersion)
608
	{
609
	    $this->data['AppVersion'] = $appVersion;
610
		foreach ($appVersion as $i => $iValue) {
611
			$this->options['form_params']['AppVersion.' . ($i + 1)] = $iValue;
612
		}
613
614
		return $this;
615
    }
616
617
    /**
618
     * @param array $urlPath
619
     *
620
     * @return $this
621
     */
622
	public function withUrlPath(array $urlPath)
623
	{
624
	    $this->data['UrlPath'] = $urlPath;
625
		foreach ($urlPath as $i => $iValue) {
626
			$this->options['form_params']['UrlPath.' . ($i + 1)] = $iValue;
627
		}
628
629
		return $this;
630
    }
631
632
    /**
633
     * @param string $value
634
     *
635
     * @return $this
636
     */
637
    public function withDomain($value)
638
    {
639
        $this->data['Domain'] = $value;
640
        $this->options['form_params']['Domain'] = $value;
641
642
        return $this;
643
    }
644
}
645
646
/**
647
 * @method string getAppVersionStrategy()
648
 * @method string getStartTime()
649
 * @method string getStatType()
650
 * @method string getIntervalMinutes()
651
 * @method string getUniqueAppId()
652
 * @method array getIp()
653
 * @method string getEndTime()
654
 * @method array getAppVersion()
655
 * @method array getUrlPath()
656
 * @method string getDomain()
657
 */
658
class QueryApiDurationDistribution extends Rpc
659
{
660
661
    /**
662
     * @param string $value
663
     *
664
     * @return $this
665
     */
666
    public function withAppVersionStrategy($value)
667
    {
668
        $this->data['AppVersionStrategy'] = $value;
669
        $this->options['form_params']['AppVersionStrategy'] = $value;
670
671
        return $this;
672
    }
673
674
    /**
675
     * @param string $value
676
     *
677
     * @return $this
678
     */
679
    public function withStartTime($value)
680
    {
681
        $this->data['StartTime'] = $value;
682
        $this->options['form_params']['StartTime'] = $value;
683
684
        return $this;
685
    }
686
687
    /**
688
     * @param string $value
689
     *
690
     * @return $this
691
     */
692
    public function withStatType($value)
693
    {
694
        $this->data['StatType'] = $value;
695
        $this->options['form_params']['StatType'] = $value;
696
697
        return $this;
698
    }
699
700
    /**
701
     * @param string $value
702
     *
703
     * @return $this
704
     */
705
    public function withIntervalMinutes($value)
706
    {
707
        $this->data['IntervalMinutes'] = $value;
708
        $this->options['form_params']['IntervalMinutes'] = $value;
709
710
        return $this;
711
    }
712
713
    /**
714
     * @param string $value
715
     *
716
     * @return $this
717
     */
718
    public function withUniqueAppId($value)
719
    {
720
        $this->data['UniqueAppId'] = $value;
721
        $this->options['form_params']['UniqueAppId'] = $value;
722
723
        return $this;
724
    }
725
726
    /**
727
     * @param array $ip
728
     *
729
     * @return $this
730
     */
731
	public function withIp(array $ip)
732
	{
733
	    $this->data['Ip'] = $ip;
734
		foreach ($ip as $i => $iValue) {
735
			$this->options['form_params']['Ip.' . ($i + 1)] = $iValue;
736
		}
737
738
		return $this;
739
    }
740
741
    /**
742
     * @param string $value
743
     *
744
     * @return $this
745
     */
746
    public function withEndTime($value)
747
    {
748
        $this->data['EndTime'] = $value;
749
        $this->options['form_params']['EndTime'] = $value;
750
751
        return $this;
752
    }
753
754
    /**
755
     * @param array $appVersion
756
     *
757
     * @return $this
758
     */
759
	public function withAppVersion(array $appVersion)
760
	{
761
	    $this->data['AppVersion'] = $appVersion;
762
		foreach ($appVersion as $i => $iValue) {
763
			$this->options['form_params']['AppVersion.' . ($i + 1)] = $iValue;
764
		}
765
766
		return $this;
767
    }
768
769
    /**
770
     * @param array $urlPath
771
     *
772
     * @return $this
773
     */
774
	public function withUrlPath(array $urlPath)
775
	{
776
	    $this->data['UrlPath'] = $urlPath;
777
		foreach ($urlPath as $i => $iValue) {
778
			$this->options['form_params']['UrlPath.' . ($i + 1)] = $iValue;
779
		}
780
781
		return $this;
782
    }
783
784
    /**
785
     * @param string $value
786
     *
787
     * @return $this
788
     */
789
    public function withDomain($value)
790
    {
791
        $this->data['Domain'] = $value;
792
        $this->options['form_params']['Domain'] = $value;
793
794
        return $this;
795
    }
796
}
797
798
/**
799
 * @method string getAppVersionStrategy()
800
 * @method string getStartTime()
801
 * @method string getGroup()
802
 * @method string getIntervalMinutes()
803
 * @method string getUniqueAppId()
804
 * @method string getEndTime()
805
 * @method array getAppVersion()
806
 */
807
class QueryApiErrorGroupTrend extends Rpc
808
{
809
810
    /**
811
     * @param string $value
812
     *
813
     * @return $this
814
     */
815
    public function withAppVersionStrategy($value)
816
    {
817
        $this->data['AppVersionStrategy'] = $value;
818
        $this->options['form_params']['AppVersionStrategy'] = $value;
819
820
        return $this;
821
    }
822
823
    /**
824
     * @param string $value
825
     *
826
     * @return $this
827
     */
828
    public function withStartTime($value)
829
    {
830
        $this->data['StartTime'] = $value;
831
        $this->options['form_params']['StartTime'] = $value;
832
833
        return $this;
834
    }
835
836
    /**
837
     * @param string $value
838
     *
839
     * @return $this
840
     */
841
    public function withGroup($value)
842
    {
843
        $this->data['Group'] = $value;
844
        $this->options['form_params']['Group'] = $value;
845
846
        return $this;
847
    }
848
849
    /**
850
     * @param string $value
851
     *
852
     * @return $this
853
     */
854
    public function withIntervalMinutes($value)
855
    {
856
        $this->data['IntervalMinutes'] = $value;
857
        $this->options['form_params']['IntervalMinutes'] = $value;
858
859
        return $this;
860
    }
861
862
    /**
863
     * @param string $value
864
     *
865
     * @return $this
866
     */
867
    public function withUniqueAppId($value)
868
    {
869
        $this->data['UniqueAppId'] = $value;
870
        $this->options['form_params']['UniqueAppId'] = $value;
871
872
        return $this;
873
    }
874
875
    /**
876
     * @param string $value
877
     *
878
     * @return $this
879
     */
880
    public function withEndTime($value)
881
    {
882
        $this->data['EndTime'] = $value;
883
        $this->options['form_params']['EndTime'] = $value;
884
885
        return $this;
886
    }
887
888
    /**
889
     * @param array $appVersion
890
     *
891
     * @return $this
892
     */
893
	public function withAppVersion(array $appVersion)
894
	{
895
	    $this->data['AppVersion'] = $appVersion;
896
		foreach ($appVersion as $i => $iValue) {
897
			$this->options['form_params']['AppVersion.' . ($i + 1)] = $iValue;
898
		}
899
900
		return $this;
901
    }
902
}
903
904
/**
905
 * @method string getAppVersionStrategy()
906
 * @method string getStartTime()
907
 * @method string getIntervalMinutes()
908
 * @method string getUniqueAppId()
909
 * @method array getIp()
910
 * @method string getEndTime()
911
 * @method array getAppVersion()
912
 * @method array getUrlPath()
913
 * @method string getDomain()
914
 */
915
class QueryApiErrorTrend extends Rpc
916
{
917
918
    /**
919
     * @param string $value
920
     *
921
     * @return $this
922
     */
923
    public function withAppVersionStrategy($value)
924
    {
925
        $this->data['AppVersionStrategy'] = $value;
926
        $this->options['form_params']['AppVersionStrategy'] = $value;
927
928
        return $this;
929
    }
930
931
    /**
932
     * @param string $value
933
     *
934
     * @return $this
935
     */
936
    public function withStartTime($value)
937
    {
938
        $this->data['StartTime'] = $value;
939
        $this->options['form_params']['StartTime'] = $value;
940
941
        return $this;
942
    }
943
944
    /**
945
     * @param string $value
946
     *
947
     * @return $this
948
     */
949
    public function withIntervalMinutes($value)
950
    {
951
        $this->data['IntervalMinutes'] = $value;
952
        $this->options['form_params']['IntervalMinutes'] = $value;
953
954
        return $this;
955
    }
956
957
    /**
958
     * @param string $value
959
     *
960
     * @return $this
961
     */
962
    public function withUniqueAppId($value)
963
    {
964
        $this->data['UniqueAppId'] = $value;
965
        $this->options['form_params']['UniqueAppId'] = $value;
966
967
        return $this;
968
    }
969
970
    /**
971
     * @param array $ip
972
     *
973
     * @return $this
974
     */
975
	public function withIp(array $ip)
976
	{
977
	    $this->data['Ip'] = $ip;
978
		foreach ($ip as $i => $iValue) {
979
			$this->options['form_params']['Ip.' . ($i + 1)] = $iValue;
980
		}
981
982
		return $this;
983
    }
984
985
    /**
986
     * @param string $value
987
     *
988
     * @return $this
989
     */
990
    public function withEndTime($value)
991
    {
992
        $this->data['EndTime'] = $value;
993
        $this->options['form_params']['EndTime'] = $value;
994
995
        return $this;
996
    }
997
998
    /**
999
     * @param array $appVersion
1000
     *
1001
     * @return $this
1002
     */
1003
	public function withAppVersion(array $appVersion)
1004
	{
1005
	    $this->data['AppVersion'] = $appVersion;
1006
		foreach ($appVersion as $i => $iValue) {
1007
			$this->options['form_params']['AppVersion.' . ($i + 1)] = $iValue;
1008
		}
1009
1010
		return $this;
1011
    }
1012
1013
    /**
1014
     * @param array $urlPath
1015
     *
1016
     * @return $this
1017
     */
1018
	public function withUrlPath(array $urlPath)
1019
	{
1020
	    $this->data['UrlPath'] = $urlPath;
1021
		foreach ($urlPath as $i => $iValue) {
1022
			$this->options['form_params']['UrlPath.' . ($i + 1)] = $iValue;
1023
		}
1024
1025
		return $this;
1026
    }
1027
1028
    /**
1029
     * @param string $value
1030
     *
1031
     * @return $this
1032
     */
1033
    public function withDomain($value)
1034
    {
1035
        $this->data['Domain'] = $value;
1036
        $this->options['form_params']['Domain'] = $value;
1037
1038
        return $this;
1039
    }
1040
}
1041
1042
/**
1043
 * @method string getAppVersionStrategy()
1044
 * @method string getStartTime()
1045
 * @method string getGroup()
1046
 * @method string getIntervalMinutes()
1047
 * @method string getUniqueAppId()
1048
 * @method string getEndTime()
1049
 * @method array getAppVersion()
1050
 */
1051
class QueryApiStatusCodeGroupTrend extends Rpc
1052
{
1053
1054
    /**
1055
     * @param string $value
1056
     *
1057
     * @return $this
1058
     */
1059
    public function withAppVersionStrategy($value)
1060
    {
1061
        $this->data['AppVersionStrategy'] = $value;
1062
        $this->options['form_params']['AppVersionStrategy'] = $value;
1063
1064
        return $this;
1065
    }
1066
1067
    /**
1068
     * @param string $value
1069
     *
1070
     * @return $this
1071
     */
1072
    public function withStartTime($value)
1073
    {
1074
        $this->data['StartTime'] = $value;
1075
        $this->options['form_params']['StartTime'] = $value;
1076
1077
        return $this;
1078
    }
1079
1080
    /**
1081
     * @param string $value
1082
     *
1083
     * @return $this
1084
     */
1085
    public function withGroup($value)
1086
    {
1087
        $this->data['Group'] = $value;
1088
        $this->options['form_params']['Group'] = $value;
1089
1090
        return $this;
1091
    }
1092
1093
    /**
1094
     * @param string $value
1095
     *
1096
     * @return $this
1097
     */
1098
    public function withIntervalMinutes($value)
1099
    {
1100
        $this->data['IntervalMinutes'] = $value;
1101
        $this->options['form_params']['IntervalMinutes'] = $value;
1102
1103
        return $this;
1104
    }
1105
1106
    /**
1107
     * @param string $value
1108
     *
1109
     * @return $this
1110
     */
1111
    public function withUniqueAppId($value)
1112
    {
1113
        $this->data['UniqueAppId'] = $value;
1114
        $this->options['form_params']['UniqueAppId'] = $value;
1115
1116
        return $this;
1117
    }
1118
1119
    /**
1120
     * @param string $value
1121
     *
1122
     * @return $this
1123
     */
1124
    public function withEndTime($value)
1125
    {
1126
        $this->data['EndTime'] = $value;
1127
        $this->options['form_params']['EndTime'] = $value;
1128
1129
        return $this;
1130
    }
1131
1132
    /**
1133
     * @param array $appVersion
1134
     *
1135
     * @return $this
1136
     */
1137
	public function withAppVersion(array $appVersion)
1138
	{
1139
	    $this->data['AppVersion'] = $appVersion;
1140
		foreach ($appVersion as $i => $iValue) {
1141
			$this->options['form_params']['AppVersion.' . ($i + 1)] = $iValue;
1142
		}
1143
1144
		return $this;
1145
    }
1146
}
1147
1148
/**
1149
 * @method string getAppVersionStrategy()
1150
 * @method string getStartTime()
1151
 * @method string getIntervalMinutes()
1152
 * @method string getUniqueAppId()
1153
 * @method array getIp()
1154
 * @method string getEndTime()
1155
 * @method array getAppVersion()
1156
 * @method array getUrlPath()
1157
 * @method string getDomain()
1158
 */
1159
class QueryApiStatusCodeTrend extends Rpc
1160
{
1161
1162
    /**
1163
     * @param string $value
1164
     *
1165
     * @return $this
1166
     */
1167
    public function withAppVersionStrategy($value)
1168
    {
1169
        $this->data['AppVersionStrategy'] = $value;
1170
        $this->options['form_params']['AppVersionStrategy'] = $value;
1171
1172
        return $this;
1173
    }
1174
1175
    /**
1176
     * @param string $value
1177
     *
1178
     * @return $this
1179
     */
1180
    public function withStartTime($value)
1181
    {
1182
        $this->data['StartTime'] = $value;
1183
        $this->options['form_params']['StartTime'] = $value;
1184
1185
        return $this;
1186
    }
1187
1188
    /**
1189
     * @param string $value
1190
     *
1191
     * @return $this
1192
     */
1193
    public function withIntervalMinutes($value)
1194
    {
1195
        $this->data['IntervalMinutes'] = $value;
1196
        $this->options['form_params']['IntervalMinutes'] = $value;
1197
1198
        return $this;
1199
    }
1200
1201
    /**
1202
     * @param string $value
1203
     *
1204
     * @return $this
1205
     */
1206
    public function withUniqueAppId($value)
1207
    {
1208
        $this->data['UniqueAppId'] = $value;
1209
        $this->options['form_params']['UniqueAppId'] = $value;
1210
1211
        return $this;
1212
    }
1213
1214
    /**
1215
     * @param array $ip
1216
     *
1217
     * @return $this
1218
     */
1219
	public function withIp(array $ip)
1220
	{
1221
	    $this->data['Ip'] = $ip;
1222
		foreach ($ip as $i => $iValue) {
1223
			$this->options['form_params']['Ip.' . ($i + 1)] = $iValue;
1224
		}
1225
1226
		return $this;
1227
    }
1228
1229
    /**
1230
     * @param string $value
1231
     *
1232
     * @return $this
1233
     */
1234
    public function withEndTime($value)
1235
    {
1236
        $this->data['EndTime'] = $value;
1237
        $this->options['form_params']['EndTime'] = $value;
1238
1239
        return $this;
1240
    }
1241
1242
    /**
1243
     * @param array $appVersion
1244
     *
1245
     * @return $this
1246
     */
1247
	public function withAppVersion(array $appVersion)
1248
	{
1249
	    $this->data['AppVersion'] = $appVersion;
1250
		foreach ($appVersion as $i => $iValue) {
1251
			$this->options['form_params']['AppVersion.' . ($i + 1)] = $iValue;
1252
		}
1253
1254
		return $this;
1255
    }
1256
1257
    /**
1258
     * @param array $urlPath
1259
     *
1260
     * @return $this
1261
     */
1262
	public function withUrlPath(array $urlPath)
1263
	{
1264
	    $this->data['UrlPath'] = $urlPath;
1265
		foreach ($urlPath as $i => $iValue) {
1266
			$this->options['form_params']['UrlPath.' . ($i + 1)] = $iValue;
1267
		}
1268
1269
		return $this;
1270
    }
1271
1272
    /**
1273
     * @param string $value
1274
     *
1275
     * @return $this
1276
     */
1277
    public function withDomain($value)
1278
    {
1279
        $this->data['Domain'] = $value;
1280
        $this->options['form_params']['Domain'] = $value;
1281
1282
        return $this;
1283
    }
1284
}
1285
1286
/**
1287
 * @method string getAppVersionStrategy()
1288
 * @method string getStartTime()
1289
 * @method string getIntervalMinutes()
1290
 * @method string getUniqueAppId()
1291
 * @method string getCrashStatType()
1292
 * @method string getEndTime()
1293
 * @method array getAppVersion()
1294
 * @method array getErrorType()
1295
 * @method string getErrorCategory()
1296
 */
1297
class QueryCrashTrend extends Rpc
1298
{
1299
1300
    /**
1301
     * @param string $value
1302
     *
1303
     * @return $this
1304
     */
1305
    public function withAppVersionStrategy($value)
1306
    {
1307
        $this->data['AppVersionStrategy'] = $value;
1308
        $this->options['form_params']['AppVersionStrategy'] = $value;
1309
1310
        return $this;
1311
    }
1312
1313
    /**
1314
     * @param string $value
1315
     *
1316
     * @return $this
1317
     */
1318
    public function withStartTime($value)
1319
    {
1320
        $this->data['StartTime'] = $value;
1321
        $this->options['form_params']['StartTime'] = $value;
1322
1323
        return $this;
1324
    }
1325
1326
    /**
1327
     * @param string $value
1328
     *
1329
     * @return $this
1330
     */
1331
    public function withIntervalMinutes($value)
1332
    {
1333
        $this->data['IntervalMinutes'] = $value;
1334
        $this->options['form_params']['IntervalMinutes'] = $value;
1335
1336
        return $this;
1337
    }
1338
1339
    /**
1340
     * @param string $value
1341
     *
1342
     * @return $this
1343
     */
1344
    public function withUniqueAppId($value)
1345
    {
1346
        $this->data['UniqueAppId'] = $value;
1347
        $this->options['form_params']['UniqueAppId'] = $value;
1348
1349
        return $this;
1350
    }
1351
1352
    /**
1353
     * @param string $value
1354
     *
1355
     * @return $this
1356
     */
1357
    public function withCrashStatType($value)
1358
    {
1359
        $this->data['CrashStatType'] = $value;
1360
        $this->options['form_params']['CrashStatType'] = $value;
1361
1362
        return $this;
1363
    }
1364
1365
    /**
1366
     * @param string $value
1367
     *
1368
     * @return $this
1369
     */
1370
    public function withEndTime($value)
1371
    {
1372
        $this->data['EndTime'] = $value;
1373
        $this->options['form_params']['EndTime'] = $value;
1374
1375
        return $this;
1376
    }
1377
1378
    /**
1379
     * @param array $appVersion
1380
     *
1381
     * @return $this
1382
     */
1383
	public function withAppVersion(array $appVersion)
1384
	{
1385
	    $this->data['AppVersion'] = $appVersion;
1386
		foreach ($appVersion as $i => $iValue) {
1387
			$this->options['form_params']['AppVersion.' . ($i + 1)] = $iValue;
1388
		}
1389
1390
		return $this;
1391
    }
1392
1393
    /**
1394
     * @param array $errorType
1395
     *
1396
     * @return $this
1397
     */
1398
	public function withErrorType(array $errorType)
1399
	{
1400
	    $this->data['ErrorType'] = $errorType;
1401
		foreach ($errorType as $i => $iValue) {
1402
			$this->options['form_params']['ErrorType.' . ($i + 1)] = $iValue;
1403
		}
1404
1405
		return $this;
1406
    }
1407
1408
    /**
1409
     * @param string $value
1410
     *
1411
     * @return $this
1412
     */
1413
    public function withErrorCategory($value)
1414
    {
1415
        $this->data['ErrorCategory'] = $value;
1416
        $this->options['form_params']['ErrorCategory'] = $value;
1417
1418
        return $this;
1419
    }
1420
}
1421
1422
/**
1423
 * @method string getAppVersionStrategy()
1424
 * @method string getStartTime()
1425
 * @method string getLaunchType()
1426
 * @method string getDeviceLevel()
1427
 * @method array getProvince()
1428
 * @method string getStatType()
1429
 * @method string getIntervalMinutes()
1430
 * @method string getUniqueAppId()
1431
 * @method string getEndTime()
1432
 * @method array getAppVersion()
1433
 */
1434
class QueryLaunchTimeDistribution extends Rpc
1435
{
1436
1437
    /**
1438
     * @param string $value
1439
     *
1440
     * @return $this
1441
     */
1442
    public function withAppVersionStrategy($value)
1443
    {
1444
        $this->data['AppVersionStrategy'] = $value;
1445
        $this->options['form_params']['AppVersionStrategy'] = $value;
1446
1447
        return $this;
1448
    }
1449
1450
    /**
1451
     * @param string $value
1452
     *
1453
     * @return $this
1454
     */
1455
    public function withStartTime($value)
1456
    {
1457
        $this->data['StartTime'] = $value;
1458
        $this->options['form_params']['StartTime'] = $value;
1459
1460
        return $this;
1461
    }
1462
1463
    /**
1464
     * @param string $value
1465
     *
1466
     * @return $this
1467
     */
1468
    public function withLaunchType($value)
1469
    {
1470
        $this->data['LaunchType'] = $value;
1471
        $this->options['form_params']['LaunchType'] = $value;
1472
1473
        return $this;
1474
    }
1475
1476
    /**
1477
     * @param string $value
1478
     *
1479
     * @return $this
1480
     */
1481
    public function withDeviceLevel($value)
1482
    {
1483
        $this->data['DeviceLevel'] = $value;
1484
        $this->options['form_params']['DeviceLevel'] = $value;
1485
1486
        return $this;
1487
    }
1488
1489
    /**
1490
     * @param array $province
1491
     *
1492
     * @return $this
1493
     */
1494
	public function withProvince(array $province)
1495
	{
1496
	    $this->data['Province'] = $province;
1497
		foreach ($province as $i => $iValue) {
1498
			$this->options['form_params']['Province.' . ($i + 1)] = $iValue;
1499
		}
1500
1501
		return $this;
1502
    }
1503
1504
    /**
1505
     * @param string $value
1506
     *
1507
     * @return $this
1508
     */
1509
    public function withStatType($value)
1510
    {
1511
        $this->data['StatType'] = $value;
1512
        $this->options['form_params']['StatType'] = $value;
1513
1514
        return $this;
1515
    }
1516
1517
    /**
1518
     * @param string $value
1519
     *
1520
     * @return $this
1521
     */
1522
    public function withIntervalMinutes($value)
1523
    {
1524
        $this->data['IntervalMinutes'] = $value;
1525
        $this->options['form_params']['IntervalMinutes'] = $value;
1526
1527
        return $this;
1528
    }
1529
1530
    /**
1531
     * @param string $value
1532
     *
1533
     * @return $this
1534
     */
1535
    public function withUniqueAppId($value)
1536
    {
1537
        $this->data['UniqueAppId'] = $value;
1538
        $this->options['form_params']['UniqueAppId'] = $value;
1539
1540
        return $this;
1541
    }
1542
1543
    /**
1544
     * @param string $value
1545
     *
1546
     * @return $this
1547
     */
1548
    public function withEndTime($value)
1549
    {
1550
        $this->data['EndTime'] = $value;
1551
        $this->options['form_params']['EndTime'] = $value;
1552
1553
        return $this;
1554
    }
1555
1556
    /**
1557
     * @param array $appVersion
1558
     *
1559
     * @return $this
1560
     */
1561
	public function withAppVersion(array $appVersion)
1562
	{
1563
	    $this->data['AppVersion'] = $appVersion;
1564
		foreach ($appVersion as $i => $iValue) {
1565
			$this->options['form_params']['AppVersion.' . ($i + 1)] = $iValue;
1566
		}
1567
1568
		return $this;
1569
    }
1570
}
1571
1572
/**
1573
 * @method string getAppVersionStrategy()
1574
 * @method string getStartTime()
1575
 * @method string getLaunchType()
1576
 * @method string getDeviceLevel()
1577
 * @method array getProvince()
1578
 * @method string getStatType()
1579
 * @method string getIntervalMinutes()
1580
 * @method string getUniqueAppId()
1581
 * @method string getEndTime()
1582
 * @method array getAppVersion()
1583
 */
1584
class QueryLaunchTimeTrend extends Rpc
1585
{
1586
1587
    /**
1588
     * @param string $value
1589
     *
1590
     * @return $this
1591
     */
1592
    public function withAppVersionStrategy($value)
1593
    {
1594
        $this->data['AppVersionStrategy'] = $value;
1595
        $this->options['form_params']['AppVersionStrategy'] = $value;
1596
1597
        return $this;
1598
    }
1599
1600
    /**
1601
     * @param string $value
1602
     *
1603
     * @return $this
1604
     */
1605
    public function withStartTime($value)
1606
    {
1607
        $this->data['StartTime'] = $value;
1608
        $this->options['form_params']['StartTime'] = $value;
1609
1610
        return $this;
1611
    }
1612
1613
    /**
1614
     * @param string $value
1615
     *
1616
     * @return $this
1617
     */
1618
    public function withLaunchType($value)
1619
    {
1620
        $this->data['LaunchType'] = $value;
1621
        $this->options['form_params']['LaunchType'] = $value;
1622
1623
        return $this;
1624
    }
1625
1626
    /**
1627
     * @param string $value
1628
     *
1629
     * @return $this
1630
     */
1631
    public function withDeviceLevel($value)
1632
    {
1633
        $this->data['DeviceLevel'] = $value;
1634
        $this->options['form_params']['DeviceLevel'] = $value;
1635
1636
        return $this;
1637
    }
1638
1639
    /**
1640
     * @param array $province
1641
     *
1642
     * @return $this
1643
     */
1644
	public function withProvince(array $province)
1645
	{
1646
	    $this->data['Province'] = $province;
1647
		foreach ($province as $i => $iValue) {
1648
			$this->options['form_params']['Province.' . ($i + 1)] = $iValue;
1649
		}
1650
1651
		return $this;
1652
    }
1653
1654
    /**
1655
     * @param string $value
1656
     *
1657
     * @return $this
1658
     */
1659
    public function withStatType($value)
1660
    {
1661
        $this->data['StatType'] = $value;
1662
        $this->options['form_params']['StatType'] = $value;
1663
1664
        return $this;
1665
    }
1666
1667
    /**
1668
     * @param string $value
1669
     *
1670
     * @return $this
1671
     */
1672
    public function withIntervalMinutes($value)
1673
    {
1674
        $this->data['IntervalMinutes'] = $value;
1675
        $this->options['form_params']['IntervalMinutes'] = $value;
1676
1677
        return $this;
1678
    }
1679
1680
    /**
1681
     * @param string $value
1682
     *
1683
     * @return $this
1684
     */
1685
    public function withUniqueAppId($value)
1686
    {
1687
        $this->data['UniqueAppId'] = $value;
1688
        $this->options['form_params']['UniqueAppId'] = $value;
1689
1690
        return $this;
1691
    }
1692
1693
    /**
1694
     * @param string $value
1695
     *
1696
     * @return $this
1697
     */
1698
    public function withEndTime($value)
1699
    {
1700
        $this->data['EndTime'] = $value;
1701
        $this->options['form_params']['EndTime'] = $value;
1702
1703
        return $this;
1704
    }
1705
1706
    /**
1707
     * @param array $appVersion
1708
     *
1709
     * @return $this
1710
     */
1711
	public function withAppVersion(array $appVersion)
1712
	{
1713
	    $this->data['AppVersion'] = $appVersion;
1714
		foreach ($appVersion as $i => $iValue) {
1715
			$this->options['form_params']['AppVersion.' . ($i + 1)] = $iValue;
1716
		}
1717
1718
		return $this;
1719
    }
1720
}
1721
1722
/**
1723
 * @method string getAppVersionStrategy()
1724
 * @method string getStartTime()
1725
 * @method string getLaunchType()
1726
 * @method string getDeviceLevel()
1727
 * @method string getStatType()
1728
 * @method string getIntervalMinutes()
1729
 * @method string getUniqueAppId()
1730
 * @method string getEndTime()
1731
 * @method array getAppVersion()
1732
 * @method string getGroupByDistrict()
1733
 */
1734
class QueryLaunchTimeTrendGroupByProvince extends Rpc
1735
{
1736
1737
    /**
1738
     * @param string $value
1739
     *
1740
     * @return $this
1741
     */
1742
    public function withAppVersionStrategy($value)
1743
    {
1744
        $this->data['AppVersionStrategy'] = $value;
1745
        $this->options['form_params']['AppVersionStrategy'] = $value;
1746
1747
        return $this;
1748
    }
1749
1750
    /**
1751
     * @param string $value
1752
     *
1753
     * @return $this
1754
     */
1755
    public function withStartTime($value)
1756
    {
1757
        $this->data['StartTime'] = $value;
1758
        $this->options['form_params']['StartTime'] = $value;
1759
1760
        return $this;
1761
    }
1762
1763
    /**
1764
     * @param string $value
1765
     *
1766
     * @return $this
1767
     */
1768
    public function withLaunchType($value)
1769
    {
1770
        $this->data['LaunchType'] = $value;
1771
        $this->options['form_params']['LaunchType'] = $value;
1772
1773
        return $this;
1774
    }
1775
1776
    /**
1777
     * @param string $value
1778
     *
1779
     * @return $this
1780
     */
1781
    public function withDeviceLevel($value)
1782
    {
1783
        $this->data['DeviceLevel'] = $value;
1784
        $this->options['form_params']['DeviceLevel'] = $value;
1785
1786
        return $this;
1787
    }
1788
1789
    /**
1790
     * @param string $value
1791
     *
1792
     * @return $this
1793
     */
1794
    public function withStatType($value)
1795
    {
1796
        $this->data['StatType'] = $value;
1797
        $this->options['form_params']['StatType'] = $value;
1798
1799
        return $this;
1800
    }
1801
1802
    /**
1803
     * @param string $value
1804
     *
1805
     * @return $this
1806
     */
1807
    public function withIntervalMinutes($value)
1808
    {
1809
        $this->data['IntervalMinutes'] = $value;
1810
        $this->options['form_params']['IntervalMinutes'] = $value;
1811
1812
        return $this;
1813
    }
1814
1815
    /**
1816
     * @param string $value
1817
     *
1818
     * @return $this
1819
     */
1820
    public function withUniqueAppId($value)
1821
    {
1822
        $this->data['UniqueAppId'] = $value;
1823
        $this->options['form_params']['UniqueAppId'] = $value;
1824
1825
        return $this;
1826
    }
1827
1828
    /**
1829
     * @param string $value
1830
     *
1831
     * @return $this
1832
     */
1833
    public function withEndTime($value)
1834
    {
1835
        $this->data['EndTime'] = $value;
1836
        $this->options['form_params']['EndTime'] = $value;
1837
1838
        return $this;
1839
    }
1840
1841
    /**
1842
     * @param array $appVersion
1843
     *
1844
     * @return $this
1845
     */
1846
	public function withAppVersion(array $appVersion)
1847
	{
1848
	    $this->data['AppVersion'] = $appVersion;
1849
		foreach ($appVersion as $i => $iValue) {
1850
			$this->options['form_params']['AppVersion.' . ($i + 1)] = $iValue;
1851
		}
1852
1853
		return $this;
1854
    }
1855
1856
    /**
1857
     * @param string $value
1858
     *
1859
     * @return $this
1860
     */
1861
    public function withGroupByDistrict($value)
1862
    {
1863
        $this->data['GroupByDistrict'] = $value;
1864
        $this->options['form_params']['GroupByDistrict'] = $value;
1865
1866
        return $this;
1867
    }
1868
}
1869
1870
/**
1871
 * @method string getAppVersionStrategy()
1872
 * @method string getStartTime()
1873
 * @method string getLaunchType()
1874
 * @method string getStatType()
1875
 * @method string getIntervalMinutes()
1876
 * @method string getUniqueAppId()
1877
 * @method string getEndTime()
1878
 * @method array getAppVersion()
1879
 * @method array getCarrier()
1880
 */
1881
class QueryLaunchTimeTrendWithCarrier extends Rpc
1882
{
1883
1884
    /**
1885
     * @param string $value
1886
     *
1887
     * @return $this
1888
     */
1889
    public function withAppVersionStrategy($value)
1890
    {
1891
        $this->data['AppVersionStrategy'] = $value;
1892
        $this->options['form_params']['AppVersionStrategy'] = $value;
1893
1894
        return $this;
1895
    }
1896
1897
    /**
1898
     * @param string $value
1899
     *
1900
     * @return $this
1901
     */
1902
    public function withStartTime($value)
1903
    {
1904
        $this->data['StartTime'] = $value;
1905
        $this->options['form_params']['StartTime'] = $value;
1906
1907
        return $this;
1908
    }
1909
1910
    /**
1911
     * @param string $value
1912
     *
1913
     * @return $this
1914
     */
1915
    public function withLaunchType($value)
1916
    {
1917
        $this->data['LaunchType'] = $value;
1918
        $this->options['form_params']['LaunchType'] = $value;
1919
1920
        return $this;
1921
    }
1922
1923
    /**
1924
     * @param string $value
1925
     *
1926
     * @return $this
1927
     */
1928
    public function withStatType($value)
1929
    {
1930
        $this->data['StatType'] = $value;
1931
        $this->options['form_params']['StatType'] = $value;
1932
1933
        return $this;
1934
    }
1935
1936
    /**
1937
     * @param string $value
1938
     *
1939
     * @return $this
1940
     */
1941
    public function withIntervalMinutes($value)
1942
    {
1943
        $this->data['IntervalMinutes'] = $value;
1944
        $this->options['form_params']['IntervalMinutes'] = $value;
1945
1946
        return $this;
1947
    }
1948
1949
    /**
1950
     * @param string $value
1951
     *
1952
     * @return $this
1953
     */
1954
    public function withUniqueAppId($value)
1955
    {
1956
        $this->data['UniqueAppId'] = $value;
1957
        $this->options['form_params']['UniqueAppId'] = $value;
1958
1959
        return $this;
1960
    }
1961
1962
    /**
1963
     * @param string $value
1964
     *
1965
     * @return $this
1966
     */
1967
    public function withEndTime($value)
1968
    {
1969
        $this->data['EndTime'] = $value;
1970
        $this->options['form_params']['EndTime'] = $value;
1971
1972
        return $this;
1973
    }
1974
1975
    /**
1976
     * @param array $appVersion
1977
     *
1978
     * @return $this
1979
     */
1980
	public function withAppVersion(array $appVersion)
1981
	{
1982
	    $this->data['AppVersion'] = $appVersion;
1983
		foreach ($appVersion as $i => $iValue) {
1984
			$this->options['form_params']['AppVersion.' . ($i + 1)] = $iValue;
1985
		}
1986
1987
		return $this;
1988
    }
1989
1990
    /**
1991
     * @param array $carrier
1992
     *
1993
     * @return $this
1994
     */
1995
	public function withCarrier(array $carrier)
1996
	{
1997
	    $this->data['Carrier'] = $carrier;
1998
		foreach ($carrier as $i => $iValue) {
1999
			$this->options['form_params']['Carrier.' . ($i + 1)] = $iValue;
2000
		}
2001
2002
		return $this;
2003
    }
2004
}
2005
2006
/**
2007
 * @method string getMetricType()
2008
 * @method string getAppVersionStrategy()
2009
 * @method string getStartTime()
2010
 * @method string getDeviceLevel()
2011
 * @method array getProvince()
2012
 * @method string getStatType()
2013
 * @method string getIntervalMinutes()
2014
 * @method string getUniqueAppId()
2015
 * @method string getEndTime()
2016
 * @method array getAppVersion()
2017
 * @method array getPage()
2018
 */
2019
class QueryPagePerfDistribution extends Rpc
2020
{
2021
2022
    /**
2023
     * @param string $value
2024
     *
2025
     * @return $this
2026
     */
2027
    public function withMetricType($value)
2028
    {
2029
        $this->data['MetricType'] = $value;
2030
        $this->options['form_params']['MetricType'] = $value;
2031
2032
        return $this;
2033
    }
2034
2035
    /**
2036
     * @param string $value
2037
     *
2038
     * @return $this
2039
     */
2040
    public function withAppVersionStrategy($value)
2041
    {
2042
        $this->data['AppVersionStrategy'] = $value;
2043
        $this->options['form_params']['AppVersionStrategy'] = $value;
2044
2045
        return $this;
2046
    }
2047
2048
    /**
2049
     * @param string $value
2050
     *
2051
     * @return $this
2052
     */
2053
    public function withStartTime($value)
2054
    {
2055
        $this->data['StartTime'] = $value;
2056
        $this->options['form_params']['StartTime'] = $value;
2057
2058
        return $this;
2059
    }
2060
2061
    /**
2062
     * @param string $value
2063
     *
2064
     * @return $this
2065
     */
2066
    public function withDeviceLevel($value)
2067
    {
2068
        $this->data['DeviceLevel'] = $value;
2069
        $this->options['form_params']['DeviceLevel'] = $value;
2070
2071
        return $this;
2072
    }
2073
2074
    /**
2075
     * @param array $province
2076
     *
2077
     * @return $this
2078
     */
2079
	public function withProvince(array $province)
2080
	{
2081
	    $this->data['Province'] = $province;
2082
		foreach ($province as $i => $iValue) {
2083
			$this->options['form_params']['Province.' . ($i + 1)] = $iValue;
2084
		}
2085
2086
		return $this;
2087
    }
2088
2089
    /**
2090
     * @param string $value
2091
     *
2092
     * @return $this
2093
     */
2094
    public function withStatType($value)
2095
    {
2096
        $this->data['StatType'] = $value;
2097
        $this->options['form_params']['StatType'] = $value;
2098
2099
        return $this;
2100
    }
2101
2102
    /**
2103
     * @param string $value
2104
     *
2105
     * @return $this
2106
     */
2107
    public function withIntervalMinutes($value)
2108
    {
2109
        $this->data['IntervalMinutes'] = $value;
2110
        $this->options['form_params']['IntervalMinutes'] = $value;
2111
2112
        return $this;
2113
    }
2114
2115
    /**
2116
     * @param string $value
2117
     *
2118
     * @return $this
2119
     */
2120
    public function withUniqueAppId($value)
2121
    {
2122
        $this->data['UniqueAppId'] = $value;
2123
        $this->options['form_params']['UniqueAppId'] = $value;
2124
2125
        return $this;
2126
    }
2127
2128
    /**
2129
     * @param string $value
2130
     *
2131
     * @return $this
2132
     */
2133
    public function withEndTime($value)
2134
    {
2135
        $this->data['EndTime'] = $value;
2136
        $this->options['form_params']['EndTime'] = $value;
2137
2138
        return $this;
2139
    }
2140
2141
    /**
2142
     * @param array $appVersion
2143
     *
2144
     * @return $this
2145
     */
2146
	public function withAppVersion(array $appVersion)
2147
	{
2148
	    $this->data['AppVersion'] = $appVersion;
2149
		foreach ($appVersion as $i => $iValue) {
2150
			$this->options['form_params']['AppVersion.' . ($i + 1)] = $iValue;
2151
		}
2152
2153
		return $this;
2154
    }
2155
2156
    /**
2157
     * @param array $page
2158
     *
2159
     * @return $this
2160
     */
2161
	public function withPage(array $page)
2162
	{
2163
	    $this->data['Page'] = $page;
2164
		foreach ($page as $i => $iValue) {
2165
			$this->options['form_params']['Page.' . ($i + 1)] = $iValue;
2166
		}
2167
2168
		return $this;
2169
    }
2170
}
2171
2172
/**
2173
 * @method string getMetricType()
2174
 * @method string getAppVersionStrategy()
2175
 * @method string getStartTime()
2176
 * @method string getDeviceLevel()
2177
 * @method array getProvince()
2178
 * @method string getStatType()
2179
 * @method string getIntervalMinutes()
2180
 * @method string getUniqueAppId()
2181
 * @method string getEndTime()
2182
 * @method array getAppVersion()
2183
 * @method array getPage()
2184
 */
2185
class QueryPagePerfTrend extends Rpc
2186
{
2187
2188
    /**
2189
     * @param string $value
2190
     *
2191
     * @return $this
2192
     */
2193
    public function withMetricType($value)
2194
    {
2195
        $this->data['MetricType'] = $value;
2196
        $this->options['form_params']['MetricType'] = $value;
2197
2198
        return $this;
2199
    }
2200
2201
    /**
2202
     * @param string $value
2203
     *
2204
     * @return $this
2205
     */
2206
    public function withAppVersionStrategy($value)
2207
    {
2208
        $this->data['AppVersionStrategy'] = $value;
2209
        $this->options['form_params']['AppVersionStrategy'] = $value;
2210
2211
        return $this;
2212
    }
2213
2214
    /**
2215
     * @param string $value
2216
     *
2217
     * @return $this
2218
     */
2219
    public function withStartTime($value)
2220
    {
2221
        $this->data['StartTime'] = $value;
2222
        $this->options['form_params']['StartTime'] = $value;
2223
2224
        return $this;
2225
    }
2226
2227
    /**
2228
     * @param string $value
2229
     *
2230
     * @return $this
2231
     */
2232
    public function withDeviceLevel($value)
2233
    {
2234
        $this->data['DeviceLevel'] = $value;
2235
        $this->options['form_params']['DeviceLevel'] = $value;
2236
2237
        return $this;
2238
    }
2239
2240
    /**
2241
     * @param array $province
2242
     *
2243
     * @return $this
2244
     */
2245
	public function withProvince(array $province)
2246
	{
2247
	    $this->data['Province'] = $province;
2248
		foreach ($province as $i => $iValue) {
2249
			$this->options['form_params']['Province.' . ($i + 1)] = $iValue;
2250
		}
2251
2252
		return $this;
2253
    }
2254
2255
    /**
2256
     * @param string $value
2257
     *
2258
     * @return $this
2259
     */
2260
    public function withStatType($value)
2261
    {
2262
        $this->data['StatType'] = $value;
2263
        $this->options['form_params']['StatType'] = $value;
2264
2265
        return $this;
2266
    }
2267
2268
    /**
2269
     * @param string $value
2270
     *
2271
     * @return $this
2272
     */
2273
    public function withIntervalMinutes($value)
2274
    {
2275
        $this->data['IntervalMinutes'] = $value;
2276
        $this->options['form_params']['IntervalMinutes'] = $value;
2277
2278
        return $this;
2279
    }
2280
2281
    /**
2282
     * @param string $value
2283
     *
2284
     * @return $this
2285
     */
2286
    public function withUniqueAppId($value)
2287
    {
2288
        $this->data['UniqueAppId'] = $value;
2289
        $this->options['form_params']['UniqueAppId'] = $value;
2290
2291
        return $this;
2292
    }
2293
2294
    /**
2295
     * @param string $value
2296
     *
2297
     * @return $this
2298
     */
2299
    public function withEndTime($value)
2300
    {
2301
        $this->data['EndTime'] = $value;
2302
        $this->options['form_params']['EndTime'] = $value;
2303
2304
        return $this;
2305
    }
2306
2307
    /**
2308
     * @param array $appVersion
2309
     *
2310
     * @return $this
2311
     */
2312
	public function withAppVersion(array $appVersion)
2313
	{
2314
	    $this->data['AppVersion'] = $appVersion;
2315
		foreach ($appVersion as $i => $iValue) {
2316
			$this->options['form_params']['AppVersion.' . ($i + 1)] = $iValue;
2317
		}
2318
2319
		return $this;
2320
    }
2321
2322
    /**
2323
     * @param array $page
2324
     *
2325
     * @return $this
2326
     */
2327
	public function withPage(array $page)
2328
	{
2329
	    $this->data['Page'] = $page;
2330
		foreach ($page as $i => $iValue) {
2331
			$this->options['form_params']['Page.' . ($i + 1)] = $iValue;
2332
		}
2333
2334
		return $this;
2335
    }
2336
}
2337
2338
/**
2339
 * @method string getMetricType()
2340
 * @method string getAppVersionStrategy()
2341
 * @method string getStartTime()
2342
 * @method string getDeviceLevel()
2343
 * @method array getProvince()
2344
 * @method string getStatType()
2345
 * @method string getIntervalMinutes()
2346
 * @method string getUniqueAppId()
2347
 * @method string getGroupByPageName()
2348
 * @method string getEndTime()
2349
 * @method array getAppVersion()
2350
 */
2351
class QueryPagePerfTrendGroupByPageName extends Rpc
2352
{
2353
2354
    /**
2355
     * @param string $value
2356
     *
2357
     * @return $this
2358
     */
2359
    public function withMetricType($value)
2360
    {
2361
        $this->data['MetricType'] = $value;
2362
        $this->options['form_params']['MetricType'] = $value;
2363
2364
        return $this;
2365
    }
2366
2367
    /**
2368
     * @param string $value
2369
     *
2370
     * @return $this
2371
     */
2372
    public function withAppVersionStrategy($value)
2373
    {
2374
        $this->data['AppVersionStrategy'] = $value;
2375
        $this->options['form_params']['AppVersionStrategy'] = $value;
2376
2377
        return $this;
2378
    }
2379
2380
    /**
2381
     * @param string $value
2382
     *
2383
     * @return $this
2384
     */
2385
    public function withStartTime($value)
2386
    {
2387
        $this->data['StartTime'] = $value;
2388
        $this->options['form_params']['StartTime'] = $value;
2389
2390
        return $this;
2391
    }
2392
2393
    /**
2394
     * @param string $value
2395
     *
2396
     * @return $this
2397
     */
2398
    public function withDeviceLevel($value)
2399
    {
2400
        $this->data['DeviceLevel'] = $value;
2401
        $this->options['form_params']['DeviceLevel'] = $value;
2402
2403
        return $this;
2404
    }
2405
2406
    /**
2407
     * @param array $province
2408
     *
2409
     * @return $this
2410
     */
2411
	public function withProvince(array $province)
2412
	{
2413
	    $this->data['Province'] = $province;
2414
		foreach ($province as $i => $iValue) {
2415
			$this->options['form_params']['Province.' . ($i + 1)] = $iValue;
2416
		}
2417
2418
		return $this;
2419
    }
2420
2421
    /**
2422
     * @param string $value
2423
     *
2424
     * @return $this
2425
     */
2426
    public function withStatType($value)
2427
    {
2428
        $this->data['StatType'] = $value;
2429
        $this->options['form_params']['StatType'] = $value;
2430
2431
        return $this;
2432
    }
2433
2434
    /**
2435
     * @param string $value
2436
     *
2437
     * @return $this
2438
     */
2439
    public function withIntervalMinutes($value)
2440
    {
2441
        $this->data['IntervalMinutes'] = $value;
2442
        $this->options['form_params']['IntervalMinutes'] = $value;
2443
2444
        return $this;
2445
    }
2446
2447
    /**
2448
     * @param string $value
2449
     *
2450
     * @return $this
2451
     */
2452
    public function withUniqueAppId($value)
2453
    {
2454
        $this->data['UniqueAppId'] = $value;
2455
        $this->options['form_params']['UniqueAppId'] = $value;
2456
2457
        return $this;
2458
    }
2459
2460
    /**
2461
     * @param string $value
2462
     *
2463
     * @return $this
2464
     */
2465
    public function withGroupByPageName($value)
2466
    {
2467
        $this->data['GroupByPageName'] = $value;
2468
        $this->options['form_params']['GroupByPageName'] = $value;
2469
2470
        return $this;
2471
    }
2472
2473
    /**
2474
     * @param string $value
2475
     *
2476
     * @return $this
2477
     */
2478
    public function withEndTime($value)
2479
    {
2480
        $this->data['EndTime'] = $value;
2481
        $this->options['form_params']['EndTime'] = $value;
2482
2483
        return $this;
2484
    }
2485
2486
    /**
2487
     * @param array $appVersion
2488
     *
2489
     * @return $this
2490
     */
2491
	public function withAppVersion(array $appVersion)
2492
	{
2493
	    $this->data['AppVersion'] = $appVersion;
2494
		foreach ($appVersion as $i => $iValue) {
2495
			$this->options['form_params']['AppVersion.' . ($i + 1)] = $iValue;
2496
		}
2497
2498
		return $this;
2499
    }
2500
}
2501
2502
/**
2503
 * @method string getMetricType()
2504
 * @method string getAppVersionStrategy()
2505
 * @method string getStartTime()
2506
 * @method string getDeviceLevel()
2507
 * @method string getStatType()
2508
 * @method string getIntervalMinutes()
2509
 * @method string getUniqueAppId()
2510
 * @method string getEndTime()
2511
 * @method array getAppVersion()
2512
 * @method string getGroupByDistrict()
2513
 */
2514
class QueryPagePerfTrendGroupByProvince extends Rpc
2515
{
2516
2517
    /**
2518
     * @param string $value
2519
     *
2520
     * @return $this
2521
     */
2522
    public function withMetricType($value)
2523
    {
2524
        $this->data['MetricType'] = $value;
2525
        $this->options['form_params']['MetricType'] = $value;
2526
2527
        return $this;
2528
    }
2529
2530
    /**
2531
     * @param string $value
2532
     *
2533
     * @return $this
2534
     */
2535
    public function withAppVersionStrategy($value)
2536
    {
2537
        $this->data['AppVersionStrategy'] = $value;
2538
        $this->options['form_params']['AppVersionStrategy'] = $value;
2539
2540
        return $this;
2541
    }
2542
2543
    /**
2544
     * @param string $value
2545
     *
2546
     * @return $this
2547
     */
2548
    public function withStartTime($value)
2549
    {
2550
        $this->data['StartTime'] = $value;
2551
        $this->options['form_params']['StartTime'] = $value;
2552
2553
        return $this;
2554
    }
2555
2556
    /**
2557
     * @param string $value
2558
     *
2559
     * @return $this
2560
     */
2561
    public function withDeviceLevel($value)
2562
    {
2563
        $this->data['DeviceLevel'] = $value;
2564
        $this->options['form_params']['DeviceLevel'] = $value;
2565
2566
        return $this;
2567
    }
2568
2569
    /**
2570
     * @param string $value
2571
     *
2572
     * @return $this
2573
     */
2574
    public function withStatType($value)
2575
    {
2576
        $this->data['StatType'] = $value;
2577
        $this->options['form_params']['StatType'] = $value;
2578
2579
        return $this;
2580
    }
2581
2582
    /**
2583
     * @param string $value
2584
     *
2585
     * @return $this
2586
     */
2587
    public function withIntervalMinutes($value)
2588
    {
2589
        $this->data['IntervalMinutes'] = $value;
2590
        $this->options['form_params']['IntervalMinutes'] = $value;
2591
2592
        return $this;
2593
    }
2594
2595
    /**
2596
     * @param string $value
2597
     *
2598
     * @return $this
2599
     */
2600
    public function withUniqueAppId($value)
2601
    {
2602
        $this->data['UniqueAppId'] = $value;
2603
        $this->options['form_params']['UniqueAppId'] = $value;
2604
2605
        return $this;
2606
    }
2607
2608
    /**
2609
     * @param string $value
2610
     *
2611
     * @return $this
2612
     */
2613
    public function withEndTime($value)
2614
    {
2615
        $this->data['EndTime'] = $value;
2616
        $this->options['form_params']['EndTime'] = $value;
2617
2618
        return $this;
2619
    }
2620
2621
    /**
2622
     * @param array $appVersion
2623
     *
2624
     * @return $this
2625
     */
2626
	public function withAppVersion(array $appVersion)
2627
	{
2628
	    $this->data['AppVersion'] = $appVersion;
2629
		foreach ($appVersion as $i => $iValue) {
2630
			$this->options['form_params']['AppVersion.' . ($i + 1)] = $iValue;
2631
		}
2632
2633
		return $this;
2634
    }
2635
2636
    /**
2637
     * @param string $value
2638
     *
2639
     * @return $this
2640
     */
2641
    public function withGroupByDistrict($value)
2642
    {
2643
        $this->data['GroupByDistrict'] = $value;
2644
        $this->options['form_params']['GroupByDistrict'] = $value;
2645
2646
        return $this;
2647
    }
2648
}
2649
2650
/**
2651
 * @method string getAppVersionStrategy()
2652
 * @method string getStartTime()
2653
 * @method string getGroup()
2654
 * @method string getIntervalMinutes()
2655
 * @method string getUniqueAppId()
2656
 * @method string getEndTime()
2657
 * @method array getAppVersion()
2658
 * @method string getDomain()
2659
 */
2660
class QuerySingleDomainApiAvgDurationGroupTrend extends Rpc
2661
{
2662
2663
    /**
2664
     * @param string $value
2665
     *
2666
     * @return $this
2667
     */
2668
    public function withAppVersionStrategy($value)
2669
    {
2670
        $this->data['AppVersionStrategy'] = $value;
2671
        $this->options['form_params']['AppVersionStrategy'] = $value;
2672
2673
        return $this;
2674
    }
2675
2676
    /**
2677
     * @param string $value
2678
     *
2679
     * @return $this
2680
     */
2681
    public function withStartTime($value)
2682
    {
2683
        $this->data['StartTime'] = $value;
2684
        $this->options['form_params']['StartTime'] = $value;
2685
2686
        return $this;
2687
    }
2688
2689
    /**
2690
     * @param string $value
2691
     *
2692
     * @return $this
2693
     */
2694
    public function withGroup($value)
2695
    {
2696
        $this->data['Group'] = $value;
2697
        $this->options['form_params']['Group'] = $value;
2698
2699
        return $this;
2700
    }
2701
2702
    /**
2703
     * @param string $value
2704
     *
2705
     * @return $this
2706
     */
2707
    public function withIntervalMinutes($value)
2708
    {
2709
        $this->data['IntervalMinutes'] = $value;
2710
        $this->options['form_params']['IntervalMinutes'] = $value;
2711
2712
        return $this;
2713
    }
2714
2715
    /**
2716
     * @param string $value
2717
     *
2718
     * @return $this
2719
     */
2720
    public function withUniqueAppId($value)
2721
    {
2722
        $this->data['UniqueAppId'] = $value;
2723
        $this->options['form_params']['UniqueAppId'] = $value;
2724
2725
        return $this;
2726
    }
2727
2728
    /**
2729
     * @param string $value
2730
     *
2731
     * @return $this
2732
     */
2733
    public function withEndTime($value)
2734
    {
2735
        $this->data['EndTime'] = $value;
2736
        $this->options['form_params']['EndTime'] = $value;
2737
2738
        return $this;
2739
    }
2740
2741
    /**
2742
     * @param array $appVersion
2743
     *
2744
     * @return $this
2745
     */
2746
	public function withAppVersion(array $appVersion)
2747
	{
2748
	    $this->data['AppVersion'] = $appVersion;
2749
		foreach ($appVersion as $i => $iValue) {
2750
			$this->options['form_params']['AppVersion.' . ($i + 1)] = $iValue;
2751
		}
2752
2753
		return $this;
2754
    }
2755
2756
    /**
2757
     * @param string $value
2758
     *
2759
     * @return $this
2760
     */
2761
    public function withDomain($value)
2762
    {
2763
        $this->data['Domain'] = $value;
2764
        $this->options['form_params']['Domain'] = $value;
2765
2766
        return $this;
2767
    }
2768
}
2769
2770
/**
2771
 * @method string getAppVersionStrategy()
2772
 * @method string getStartTime()
2773
 * @method string getGroup()
2774
 * @method string getIntervalMinutes()
2775
 * @method string getUniqueAppId()
2776
 * @method string getEndTime()
2777
 * @method array getAppVersion()
2778
 * @method string getDomain()
2779
 */
2780
class QuerySingleDomainApiErrorGroupTrend extends Rpc
2781
{
2782
2783
    /**
2784
     * @param string $value
2785
     *
2786
     * @return $this
2787
     */
2788
    public function withAppVersionStrategy($value)
2789
    {
2790
        $this->data['AppVersionStrategy'] = $value;
2791
        $this->options['form_params']['AppVersionStrategy'] = $value;
2792
2793
        return $this;
2794
    }
2795
2796
    /**
2797
     * @param string $value
2798
     *
2799
     * @return $this
2800
     */
2801
    public function withStartTime($value)
2802
    {
2803
        $this->data['StartTime'] = $value;
2804
        $this->options['form_params']['StartTime'] = $value;
2805
2806
        return $this;
2807
    }
2808
2809
    /**
2810
     * @param string $value
2811
     *
2812
     * @return $this
2813
     */
2814
    public function withGroup($value)
2815
    {
2816
        $this->data['Group'] = $value;
2817
        $this->options['form_params']['Group'] = $value;
2818
2819
        return $this;
2820
    }
2821
2822
    /**
2823
     * @param string $value
2824
     *
2825
     * @return $this
2826
     */
2827
    public function withIntervalMinutes($value)
2828
    {
2829
        $this->data['IntervalMinutes'] = $value;
2830
        $this->options['form_params']['IntervalMinutes'] = $value;
2831
2832
        return $this;
2833
    }
2834
2835
    /**
2836
     * @param string $value
2837
     *
2838
     * @return $this
2839
     */
2840
    public function withUniqueAppId($value)
2841
    {
2842
        $this->data['UniqueAppId'] = $value;
2843
        $this->options['form_params']['UniqueAppId'] = $value;
2844
2845
        return $this;
2846
    }
2847
2848
    /**
2849
     * @param string $value
2850
     *
2851
     * @return $this
2852
     */
2853
    public function withEndTime($value)
2854
    {
2855
        $this->data['EndTime'] = $value;
2856
        $this->options['form_params']['EndTime'] = $value;
2857
2858
        return $this;
2859
    }
2860
2861
    /**
2862
     * @param array $appVersion
2863
     *
2864
     * @return $this
2865
     */
2866
	public function withAppVersion(array $appVersion)
2867
	{
2868
	    $this->data['AppVersion'] = $appVersion;
2869
		foreach ($appVersion as $i => $iValue) {
2870
			$this->options['form_params']['AppVersion.' . ($i + 1)] = $iValue;
2871
		}
2872
2873
		return $this;
2874
    }
2875
2876
    /**
2877
     * @param string $value
2878
     *
2879
     * @return $this
2880
     */
2881
    public function withDomain($value)
2882
    {
2883
        $this->data['Domain'] = $value;
2884
        $this->options['form_params']['Domain'] = $value;
2885
2886
        return $this;
2887
    }
2888
}
2889
2890
/**
2891
 * @method string getAppVersionStrategy()
2892
 * @method string getStartTime()
2893
 * @method string getGroup()
2894
 * @method string getIntervalMinutes()
2895
 * @method string getUniqueAppId()
2896
 * @method string getEndTime()
2897
 * @method array getAppVersion()
2898
 * @method string getDomain()
2899
 */
2900
class QuerySingleDomainApiStatusCodeGroupTrend extends Rpc
2901
{
2902
2903
    /**
2904
     * @param string $value
2905
     *
2906
     * @return $this
2907
     */
2908
    public function withAppVersionStrategy($value)
2909
    {
2910
        $this->data['AppVersionStrategy'] = $value;
2911
        $this->options['form_params']['AppVersionStrategy'] = $value;
2912
2913
        return $this;
2914
    }
2915
2916
    /**
2917
     * @param string $value
2918
     *
2919
     * @return $this
2920
     */
2921
    public function withStartTime($value)
2922
    {
2923
        $this->data['StartTime'] = $value;
2924
        $this->options['form_params']['StartTime'] = $value;
2925
2926
        return $this;
2927
    }
2928
2929
    /**
2930
     * @param string $value
2931
     *
2932
     * @return $this
2933
     */
2934
    public function withGroup($value)
2935
    {
2936
        $this->data['Group'] = $value;
2937
        $this->options['form_params']['Group'] = $value;
2938
2939
        return $this;
2940
    }
2941
2942
    /**
2943
     * @param string $value
2944
     *
2945
     * @return $this
2946
     */
2947
    public function withIntervalMinutes($value)
2948
    {
2949
        $this->data['IntervalMinutes'] = $value;
2950
        $this->options['form_params']['IntervalMinutes'] = $value;
2951
2952
        return $this;
2953
    }
2954
2955
    /**
2956
     * @param string $value
2957
     *
2958
     * @return $this
2959
     */
2960
    public function withUniqueAppId($value)
2961
    {
2962
        $this->data['UniqueAppId'] = $value;
2963
        $this->options['form_params']['UniqueAppId'] = $value;
2964
2965
        return $this;
2966
    }
2967
2968
    /**
2969
     * @param string $value
2970
     *
2971
     * @return $this
2972
     */
2973
    public function withEndTime($value)
2974
    {
2975
        $this->data['EndTime'] = $value;
2976
        $this->options['form_params']['EndTime'] = $value;
2977
2978
        return $this;
2979
    }
2980
2981
    /**
2982
     * @param array $appVersion
2983
     *
2984
     * @return $this
2985
     */
2986
	public function withAppVersion(array $appVersion)
2987
	{
2988
	    $this->data['AppVersion'] = $appVersion;
2989
		foreach ($appVersion as $i => $iValue) {
2990
			$this->options['form_params']['AppVersion.' . ($i + 1)] = $iValue;
2991
		}
2992
2993
		return $this;
2994
    }
2995
2996
    /**
2997
     * @param string $value
2998
     *
2999
     * @return $this
3000
     */
3001
    public function withDomain($value)
3002
    {
3003
        $this->data['Domain'] = $value;
3004
        $this->options['form_params']['Domain'] = $value;
3005
3006
        return $this;
3007
    }
3008
}
3009
3010
/**
3011
 * @method string getFileType()
3012
 * @method string getFilePath()
3013
 * @method string getUniqueAppId()
3014
 * @method string getAppVersion()
3015
 * @method string getFileName()
3016
 */
3017
class SaveAppFile extends Rpc
3018
{
3019
3020
    /**
3021
     * @param string $value
3022
     *
3023
     * @return $this
3024
     */
3025
    public function withFileType($value)
3026
    {
3027
        $this->data['FileType'] = $value;
3028
        $this->options['form_params']['FileType'] = $value;
3029
3030
        return $this;
3031
    }
3032
3033
    /**
3034
     * @param string $value
3035
     *
3036
     * @return $this
3037
     */
3038
    public function withFilePath($value)
3039
    {
3040
        $this->data['FilePath'] = $value;
3041
        $this->options['form_params']['FilePath'] = $value;
3042
3043
        return $this;
3044
    }
3045
3046
    /**
3047
     * @param string $value
3048
     *
3049
     * @return $this
3050
     */
3051
    public function withUniqueAppId($value)
3052
    {
3053
        $this->data['UniqueAppId'] = $value;
3054
        $this->options['form_params']['UniqueAppId'] = $value;
3055
3056
        return $this;
3057
    }
3058
3059
    /**
3060
     * @param string $value
3061
     *
3062
     * @return $this
3063
     */
3064
    public function withAppVersion($value)
3065
    {
3066
        $this->data['AppVersion'] = $value;
3067
        $this->options['form_params']['AppVersion'] = $value;
3068
3069
        return $this;
3070
    }
3071
3072
    /**
3073
     * @param string $value
3074
     *
3075
     * @return $this
3076
     */
3077
    public function withFileName($value)
3078
    {
3079
        $this->data['FileName'] = $value;
3080
        $this->options['form_params']['FileName'] = $value;
3081
3082
        return $this;
3083
    }
3084
}
3085