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.
Passed
Push — master ( 1cffae...889023 )
by
unknown
06:04
created

SearchTicketList::withOperatorId()   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\Scsp\V20200702;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method AnswerCall answerCall(array $options = [])
9
 * @method AssignTicket assignTicket(array $options = [])
10
 * @method CloseTicket closeTicket(array $options = [])
11
 * @method CreateAgent createAgent(array $options = [])
12
 * @method CreateRole createRole(array $options = [])
13
 * @method CreateSkillGroup createSkillGroup(array $options = [])
14
 * @method CreateTicket createTicket(array $options = [])
15
 * @method DeleteAgent deleteAgent(array $options = [])
16
 * @method DisableRole disableRole(array $options = [])
17
 * @method EnableRole enableRole(array $options = [])
18
 * @method ExecuteActivity executeActivity(array $options = [])
19
 * @method FinishHotlineService finishHotlineService(array $options = [])
20
 * @method GenerateWebSocketSign generateWebSocketSign(array $options = [])
21
 * @method GetAgent getAgent(array $options = [])
22
 * @method GetGrantedRoleIds getGrantedRoleIds(array $options = [])
23
 * @method GetHotlineAgentDetail getHotlineAgentDetail(array $options = [])
24
 * @method GetTicketTemplateSchema getTicketTemplateSchema(array $options = [])
25
 * @method GetUserToken getUserToken(array $options = [])
26
 * @method GrantRoles grantRoles(array $options = [])
27
 * @method HangupCall hangupCall(array $options = [])
28
 * @method ListAgentBySkillGroupId listAgentBySkillGroupId(array $options = [])
29
 * @method ListHotlineRecord listHotlineRecord(array $options = [])
30
 * @method ListOutboundPhoneNumber listOutboundPhoneNumber(array $options = [])
31
 * @method ListSkillGroup listSkillGroup(array $options = [])
32
 * @method QueryHotlineSession queryHotlineSession(array $options = [])
33
 * @method QuerySkillGroups querySkillGroups(array $options = [])
34
 * @method RemoveSkillGroup removeSkillGroup(array $options = [])
35
 * @method SearchTicketById searchTicketById(array $options = [])
36
 * @method SearchTicketList searchTicketList(array $options = [])
37
 * @method SendHotlineHeartBeat sendHotlineHeartBeat(array $options = [])
38
 * @method StartCall startCall(array $options = [])
39
 * @method StartHotlineService startHotlineService(array $options = [])
40
 * @method SuspendHotlineService suspendHotlineService(array $options = [])
41
 * @method TransferCallToAgent transferCallToAgent(array $options = [])
42
 * @method TransferCallToPhone transferCallToPhone(array $options = [])
43
 * @method TransferCallToSkillGroup transferCallToSkillGroup(array $options = [])
44
 * @method UpdateAgent updateAgent(array $options = [])
45
 * @method UpdateRole updateRole(array $options = [])
46
 * @method UpdateSkillGroup updateSkillGroup(array $options = [])
47
 * @method UpdateTicket updateTicket(array $options = [])
48
 */
49
class ScspApiResolver extends ApiResolver
50
{
51
}
52
53
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
54
{
55
    /** @var string */
56
    public $product = 'scsp';
57
58
    /** @var string */
59
    public $version = '2020-07-02';
60
61
    /** @var string */
62
    public $method = 'POST';
63
}
64
65
/**
66
 * @method string getClientToken()
67
 * @method string getInstanceId()
68
 * @method string getAccountName()
69
 * @method string getCallId()
70
 * @method string getJobId()
71
 * @method string getConnectionId()
72
 */
73
class AnswerCall extends Rpc
74
{
75
76
    /**
77
     * @param string $value
78
     *
79
     * @return $this
80
     */
81
    public function withClientToken($value)
82
    {
83
        $this->data['ClientToken'] = $value;
84
        $this->options['form_params']['ClientToken'] = $value;
85
86
        return $this;
87
    }
88
89
    /**
90
     * @param string $value
91
     *
92
     * @return $this
93
     */
94
    public function withInstanceId($value)
95
    {
96
        $this->data['InstanceId'] = $value;
97
        $this->options['form_params']['InstanceId'] = $value;
98
99
        return $this;
100
    }
101
102
    /**
103
     * @param string $value
104
     *
105
     * @return $this
106
     */
107
    public function withAccountName($value)
108
    {
109
        $this->data['AccountName'] = $value;
110
        $this->options['form_params']['AccountName'] = $value;
111
112
        return $this;
113
    }
114
115
    /**
116
     * @param string $value
117
     *
118
     * @return $this
119
     */
120
    public function withCallId($value)
121
    {
122
        $this->data['CallId'] = $value;
123
        $this->options['form_params']['CallId'] = $value;
124
125
        return $this;
126
    }
127
128
    /**
129
     * @param string $value
130
     *
131
     * @return $this
132
     */
133
    public function withJobId($value)
134
    {
135
        $this->data['JobId'] = $value;
136
        $this->options['form_params']['JobId'] = $value;
137
138
        return $this;
139
    }
140
141
    /**
142
     * @param string $value
143
     *
144
     * @return $this
145
     */
146
    public function withConnectionId($value)
147
    {
148
        $this->data['ConnectionId'] = $value;
149
        $this->options['form_params']['ConnectionId'] = $value;
150
151
        return $this;
152
    }
153
}
154
155
/**
156
 * @method string getClientToken()
157
 * @method string getInstanceId()
158
 * @method string getTicketId()
159
 * @method string getOperatorId()
160
 * @method string getAcceptorId()
161
 */
162
class AssignTicket extends Rpc
163
{
164
165
    /**
166
     * @param string $value
167
     *
168
     * @return $this
169
     */
170
    public function withClientToken($value)
171
    {
172
        $this->data['ClientToken'] = $value;
173
        $this->options['form_params']['ClientToken'] = $value;
174
175
        return $this;
176
    }
177
178
    /**
179
     * @param string $value
180
     *
181
     * @return $this
182
     */
183
    public function withInstanceId($value)
184
    {
185
        $this->data['InstanceId'] = $value;
186
        $this->options['form_params']['InstanceId'] = $value;
187
188
        return $this;
189
    }
190
191
    /**
192
     * @param string $value
193
     *
194
     * @return $this
195
     */
196
    public function withTicketId($value)
197
    {
198
        $this->data['TicketId'] = $value;
199
        $this->options['form_params']['TicketId'] = $value;
200
201
        return $this;
202
    }
203
204
    /**
205
     * @param string $value
206
     *
207
     * @return $this
208
     */
209
    public function withOperatorId($value)
210
    {
211
        $this->data['OperatorId'] = $value;
212
        $this->options['form_params']['OperatorId'] = $value;
213
214
        return $this;
215
    }
216
217
    /**
218
     * @param string $value
219
     *
220
     * @return $this
221
     */
222
    public function withAcceptorId($value)
223
    {
224
        $this->data['AcceptorId'] = $value;
225
        $this->options['form_params']['AcceptorId'] = $value;
226
227
        return $this;
228
    }
229
}
230
231
/**
232
 * @method string getClientToken()
233
 * @method string getInstanceId()
234
 * @method string getTicketId()
235
 * @method string getActionItems()
236
 * @method string getOperatorId()
237
 */
238
class CloseTicket extends Rpc
239
{
240
241
    /**
242
     * @param string $value
243
     *
244
     * @return $this
245
     */
246
    public function withClientToken($value)
247
    {
248
        $this->data['ClientToken'] = $value;
249
        $this->options['form_params']['ClientToken'] = $value;
250
251
        return $this;
252
    }
253
254
    /**
255
     * @param string $value
256
     *
257
     * @return $this
258
     */
259
    public function withInstanceId($value)
260
    {
261
        $this->data['InstanceId'] = $value;
262
        $this->options['form_params']['InstanceId'] = $value;
263
264
        return $this;
265
    }
266
267
    /**
268
     * @param string $value
269
     *
270
     * @return $this
271
     */
272
    public function withTicketId($value)
273
    {
274
        $this->data['TicketId'] = $value;
275
        $this->options['form_params']['TicketId'] = $value;
276
277
        return $this;
278
    }
279
280
    /**
281
     * @param string $value
282
     *
283
     * @return $this
284
     */
285
    public function withActionItems($value)
286
    {
287
        $this->data['ActionItems'] = $value;
288
        $this->options['form_params']['ActionItems'] = $value;
289
290
        return $this;
291
    }
292
293
    /**
294
     * @param string $value
295
     *
296
     * @return $this
297
     */
298
    public function withOperatorId($value)
299
    {
300
        $this->data['OperatorId'] = $value;
301
        $this->options['form_params']['OperatorId'] = $value;
302
303
        return $this;
304
    }
305
}
306
307
/**
308
 * @method string getClientToken()
309
 * @method string getInstanceId()
310
 * @method string getAccountName()
311
 * @method string getDisplayName()
312
 * @method array getSkillGroupIdList()
313
 */
314
class CreateAgent extends Rpc
315
{
316
317
    /**
318
     * @param string $value
319
     *
320
     * @return $this
321
     */
322
    public function withClientToken($value)
323
    {
324
        $this->data['ClientToken'] = $value;
325
        $this->options['form_params']['ClientToken'] = $value;
326
327
        return $this;
328
    }
329
330
    /**
331
     * @param string $value
332
     *
333
     * @return $this
334
     */
335
    public function withInstanceId($value)
336
    {
337
        $this->data['InstanceId'] = $value;
338
        $this->options['form_params']['InstanceId'] = $value;
339
340
        return $this;
341
    }
342
343
    /**
344
     * @param string $value
345
     *
346
     * @return $this
347
     */
348
    public function withAccountName($value)
349
    {
350
        $this->data['AccountName'] = $value;
351
        $this->options['form_params']['AccountName'] = $value;
352
353
        return $this;
354
    }
355
356
    /**
357
     * @param string $value
358
     *
359
     * @return $this
360
     */
361
    public function withDisplayName($value)
362
    {
363
        $this->data['DisplayName'] = $value;
364
        $this->options['form_params']['DisplayName'] = $value;
365
366
        return $this;
367
    }
368
369
    /**
370
     * @param array $skillGroupIdList
371
     *
372
     * @return $this
373
     */
374
	public function withSkillGroupIdList(array $skillGroupIdList)
375
	{
376
	    $this->data['SkillGroupIdList'] = $skillGroupIdList;
377
		foreach ($skillGroupIdList as $i => $iValue) {
378
			$this->options['form_params']['SkillGroupIdList.' . ($i + 1)] = $iValue;
379
		}
380
381
		return $this;
382
    }
383
}
384
385
/**
386
 * @method string getClientToken()
387
 * @method string getInstanceId()
388
 * @method string getRoleName()
389
 * @method array getPermissionId()
390
 * @method string getOperator()
391
 */
392
class CreateRole extends Rpc
393
{
394
395
    /**
396
     * @param string $value
397
     *
398
     * @return $this
399
     */
400
    public function withClientToken($value)
401
    {
402
        $this->data['ClientToken'] = $value;
403
        $this->options['form_params']['ClientToken'] = $value;
404
405
        return $this;
406
    }
407
408
    /**
409
     * @param string $value
410
     *
411
     * @return $this
412
     */
413
    public function withInstanceId($value)
414
    {
415
        $this->data['InstanceId'] = $value;
416
        $this->options['form_params']['InstanceId'] = $value;
417
418
        return $this;
419
    }
420
421
    /**
422
     * @param string $value
423
     *
424
     * @return $this
425
     */
426
    public function withRoleName($value)
427
    {
428
        $this->data['RoleName'] = $value;
429
        $this->options['form_params']['RoleName'] = $value;
430
431
        return $this;
432
    }
433
434
    /**
435
     * @param array $permissionId
436
     *
437
     * @return $this
438
     */
439
	public function withPermissionId(array $permissionId)
440
	{
441
	    $this->data['PermissionId'] = $permissionId;
442
		foreach ($permissionId as $i => $iValue) {
443
			$this->options['form_params']['PermissionId.' . ($i + 1)] = $iValue;
444
		}
445
446
		return $this;
447
    }
448
449
    /**
450
     * @param string $value
451
     *
452
     * @return $this
453
     */
454
    public function withOperator($value)
455
    {
456
        $this->data['Operator'] = $value;
457
        $this->options['form_params']['Operator'] = $value;
458
459
        return $this;
460
    }
461
}
462
463
/**
464
 * @method string getInstanceId()
465
 * @method string getClientToken()
466
 * @method string getDisplayName()
467
 * @method string getChannelType()
468
 * @method string getSkillGroupName()
469
 * @method string getDescription()
470
 */
471
class CreateSkillGroup extends Rpc
472
{
473
474
    /**
475
     * @param string $value
476
     *
477
     * @return $this
478
     */
479
    public function withInstanceId($value)
480
    {
481
        $this->data['InstanceId'] = $value;
482
        $this->options['form_params']['InstanceId'] = $value;
483
484
        return $this;
485
    }
486
487
    /**
488
     * @param string $value
489
     *
490
     * @return $this
491
     */
492
    public function withClientToken($value)
493
    {
494
        $this->data['ClientToken'] = $value;
495
        $this->options['form_params']['ClientToken'] = $value;
496
497
        return $this;
498
    }
499
500
    /**
501
     * @param string $value
502
     *
503
     * @return $this
504
     */
505
    public function withDisplayName($value)
506
    {
507
        $this->data['DisplayName'] = $value;
508
        $this->options['form_params']['DisplayName'] = $value;
509
510
        return $this;
511
    }
512
513
    /**
514
     * @param string $value
515
     *
516
     * @return $this
517
     */
518
    public function withChannelType($value)
519
    {
520
        $this->data['ChannelType'] = $value;
521
        $this->options['form_params']['ChannelType'] = $value;
522
523
        return $this;
524
    }
525
526
    /**
527
     * @param string $value
528
     *
529
     * @return $this
530
     */
531
    public function withSkillGroupName($value)
532
    {
533
        $this->data['SkillGroupName'] = $value;
534
        $this->options['form_params']['SkillGroupName'] = $value;
535
536
        return $this;
537
    }
538
539
    /**
540
     * @param string $value
541
     *
542
     * @return $this
543
     */
544
    public function withDescription($value)
545
    {
546
        $this->data['Description'] = $value;
547
        $this->options['form_params']['Description'] = $value;
548
549
        return $this;
550
    }
551
}
552
553
/**
554
 * @method string getClientToken()
555
 * @method string getInstanceId()
556
 * @method string getTemplateId()
557
 * @method string getCategoryId()
558
 * @method string getCreatorId()
559
 * @method string getCreatorType()
560
 * @method string getCreatorName()
561
 * @method string getMemberId()
562
 * @method string getMemberName()
563
 * @method string getFromInfo()
564
 * @method string getPriority()
565
 * @method string getCarbonCopy()
566
 * @method string getFormData()
567
 */
568
class CreateTicket extends Rpc
569
{
570
571
    /**
572
     * @param string $value
573
     *
574
     * @return $this
575
     */
576
    public function withClientToken($value)
577
    {
578
        $this->data['ClientToken'] = $value;
579
        $this->options['form_params']['ClientToken'] = $value;
580
581
        return $this;
582
    }
583
584
    /**
585
     * @param string $value
586
     *
587
     * @return $this
588
     */
589
    public function withInstanceId($value)
590
    {
591
        $this->data['InstanceId'] = $value;
592
        $this->options['form_params']['InstanceId'] = $value;
593
594
        return $this;
595
    }
596
597
    /**
598
     * @param string $value
599
     *
600
     * @return $this
601
     */
602
    public function withTemplateId($value)
603
    {
604
        $this->data['TemplateId'] = $value;
605
        $this->options['form_params']['TemplateId'] = $value;
606
607
        return $this;
608
    }
609
610
    /**
611
     * @param string $value
612
     *
613
     * @return $this
614
     */
615
    public function withCategoryId($value)
616
    {
617
        $this->data['CategoryId'] = $value;
618
        $this->options['form_params']['CategoryId'] = $value;
619
620
        return $this;
621
    }
622
623
    /**
624
     * @param string $value
625
     *
626
     * @return $this
627
     */
628
    public function withCreatorId($value)
629
    {
630
        $this->data['CreatorId'] = $value;
631
        $this->options['form_params']['CreatorId'] = $value;
632
633
        return $this;
634
    }
635
636
    /**
637
     * @param string $value
638
     *
639
     * @return $this
640
     */
641
    public function withCreatorType($value)
642
    {
643
        $this->data['CreatorType'] = $value;
644
        $this->options['form_params']['CreatorType'] = $value;
645
646
        return $this;
647
    }
648
649
    /**
650
     * @param string $value
651
     *
652
     * @return $this
653
     */
654
    public function withCreatorName($value)
655
    {
656
        $this->data['CreatorName'] = $value;
657
        $this->options['form_params']['CreatorName'] = $value;
658
659
        return $this;
660
    }
661
662
    /**
663
     * @param string $value
664
     *
665
     * @return $this
666
     */
667
    public function withMemberId($value)
668
    {
669
        $this->data['MemberId'] = $value;
670
        $this->options['form_params']['MemberId'] = $value;
671
672
        return $this;
673
    }
674
675
    /**
676
     * @param string $value
677
     *
678
     * @return $this
679
     */
680
    public function withMemberName($value)
681
    {
682
        $this->data['MemberName'] = $value;
683
        $this->options['form_params']['MemberName'] = $value;
684
685
        return $this;
686
    }
687
688
    /**
689
     * @param string $value
690
     *
691
     * @return $this
692
     */
693
    public function withFromInfo($value)
694
    {
695
        $this->data['FromInfo'] = $value;
696
        $this->options['form_params']['FromInfo'] = $value;
697
698
        return $this;
699
    }
700
701
    /**
702
     * @param string $value
703
     *
704
     * @return $this
705
     */
706
    public function withPriority($value)
707
    {
708
        $this->data['Priority'] = $value;
709
        $this->options['form_params']['Priority'] = $value;
710
711
        return $this;
712
    }
713
714
    /**
715
     * @param string $value
716
     *
717
     * @return $this
718
     */
719
    public function withCarbonCopy($value)
720
    {
721
        $this->data['CarbonCopy'] = $value;
722
        $this->options['form_params']['CarbonCopy'] = $value;
723
724
        return $this;
725
    }
726
727
    /**
728
     * @param string $value
729
     *
730
     * @return $this
731
     */
732
    public function withFormData($value)
733
    {
734
        $this->data['FormData'] = $value;
735
        $this->options['form_params']['FormData'] = $value;
736
737
        return $this;
738
    }
739
}
740
741
/**
742
 * @method string getClientToken()
743
 * @method $this withClientToken($value)
744
 * @method string getInstanceId()
745
 * @method $this withInstanceId($value)
746
 * @method string getAccountName()
747
 * @method $this withAccountName($value)
748
 */
749
class DeleteAgent extends Rpc
750
{
751
752
    /** @var string */
753
    public $method = 'DELETE';
754
}
755
756
/**
757
 * @method string getClientToken()
758
 * @method string getInstanceId()
759
 * @method string getRoleId()
760
 */
761
class DisableRole extends Rpc
762
{
763
764
    /**
765
     * @param string $value
766
     *
767
     * @return $this
768
     */
769
    public function withClientToken($value)
770
    {
771
        $this->data['ClientToken'] = $value;
772
        $this->options['form_params']['ClientToken'] = $value;
773
774
        return $this;
775
    }
776
777
    /**
778
     * @param string $value
779
     *
780
     * @return $this
781
     */
782
    public function withInstanceId($value)
783
    {
784
        $this->data['InstanceId'] = $value;
785
        $this->options['form_params']['InstanceId'] = $value;
786
787
        return $this;
788
    }
789
790
    /**
791
     * @param string $value
792
     *
793
     * @return $this
794
     */
795
    public function withRoleId($value)
796
    {
797
        $this->data['RoleId'] = $value;
798
        $this->options['form_params']['RoleId'] = $value;
799
800
        return $this;
801
    }
802
}
803
804
/**
805
 * @method string getClientToken()
806
 * @method string getInstanceId()
807
 * @method string getRoleId()
808
 */
809
class EnableRole extends Rpc
810
{
811
812
    /**
813
     * @param string $value
814
     *
815
     * @return $this
816
     */
817
    public function withClientToken($value)
818
    {
819
        $this->data['ClientToken'] = $value;
820
        $this->options['form_params']['ClientToken'] = $value;
821
822
        return $this;
823
    }
824
825
    /**
826
     * @param string $value
827
     *
828
     * @return $this
829
     */
830
    public function withInstanceId($value)
831
    {
832
        $this->data['InstanceId'] = $value;
833
        $this->options['form_params']['InstanceId'] = $value;
834
835
        return $this;
836
    }
837
838
    /**
839
     * @param string $value
840
     *
841
     * @return $this
842
     */
843
    public function withRoleId($value)
844
    {
845
        $this->data['RoleId'] = $value;
846
        $this->options['form_params']['RoleId'] = $value;
847
848
        return $this;
849
    }
850
}
851
852
/**
853
 * @method string getClientToken()
854
 * @method string getInstanceId()
855
 * @method string getTicketId()
856
 * @method string getOperatorId()
857
 * @method string getActivityCode()
858
 * @method string getActivityForm()
859
 */
860
class ExecuteActivity extends Rpc
861
{
862
863
    /**
864
     * @param string $value
865
     *
866
     * @return $this
867
     */
868
    public function withClientToken($value)
869
    {
870
        $this->data['ClientToken'] = $value;
871
        $this->options['form_params']['ClientToken'] = $value;
872
873
        return $this;
874
    }
875
876
    /**
877
     * @param string $value
878
     *
879
     * @return $this
880
     */
881
    public function withInstanceId($value)
882
    {
883
        $this->data['InstanceId'] = $value;
884
        $this->options['form_params']['InstanceId'] = $value;
885
886
        return $this;
887
    }
888
889
    /**
890
     * @param string $value
891
     *
892
     * @return $this
893
     */
894
    public function withTicketId($value)
895
    {
896
        $this->data['TicketId'] = $value;
897
        $this->options['form_params']['TicketId'] = $value;
898
899
        return $this;
900
    }
901
902
    /**
903
     * @param string $value
904
     *
905
     * @return $this
906
     */
907
    public function withOperatorId($value)
908
    {
909
        $this->data['OperatorId'] = $value;
910
        $this->options['form_params']['OperatorId'] = $value;
911
912
        return $this;
913
    }
914
915
    /**
916
     * @param string $value
917
     *
918
     * @return $this
919
     */
920
    public function withActivityCode($value)
921
    {
922
        $this->data['ActivityCode'] = $value;
923
        $this->options['form_params']['ActivityCode'] = $value;
924
925
        return $this;
926
    }
927
928
    /**
929
     * @param string $value
930
     *
931
     * @return $this
932
     */
933
    public function withActivityForm($value)
934
    {
935
        $this->data['ActivityForm'] = $value;
936
        $this->options['form_params']['ActivityForm'] = $value;
937
938
        return $this;
939
    }
940
}
941
942
/**
943
 * @method string getClientToken()
944
 * @method string getInstanceId()
945
 * @method string getAccountName()
946
 */
947
class FinishHotlineService extends Rpc
948
{
949
950
    /**
951
     * @param string $value
952
     *
953
     * @return $this
954
     */
955
    public function withClientToken($value)
956
    {
957
        $this->data['ClientToken'] = $value;
958
        $this->options['form_params']['ClientToken'] = $value;
959
960
        return $this;
961
    }
962
963
    /**
964
     * @param string $value
965
     *
966
     * @return $this
967
     */
968
    public function withInstanceId($value)
969
    {
970
        $this->data['InstanceId'] = $value;
971
        $this->options['form_params']['InstanceId'] = $value;
972
973
        return $this;
974
    }
975
976
    /**
977
     * @param string $value
978
     *
979
     * @return $this
980
     */
981
    public function withAccountName($value)
982
    {
983
        $this->data['AccountName'] = $value;
984
        $this->options['form_params']['AccountName'] = $value;
985
986
        return $this;
987
    }
988
}
989
990
/**
991
 * @method string getClientToken()
992
 * @method string getInstanceId()
993
 * @method string getAccountName()
994
 */
995
class GenerateWebSocketSign extends Rpc
996
{
997
998
    /**
999
     * @param string $value
1000
     *
1001
     * @return $this
1002
     */
1003
    public function withClientToken($value)
1004
    {
1005
        $this->data['ClientToken'] = $value;
1006
        $this->options['form_params']['ClientToken'] = $value;
1007
1008
        return $this;
1009
    }
1010
1011
    /**
1012
     * @param string $value
1013
     *
1014
     * @return $this
1015
     */
1016
    public function withInstanceId($value)
1017
    {
1018
        $this->data['InstanceId'] = $value;
1019
        $this->options['form_params']['InstanceId'] = $value;
1020
1021
        return $this;
1022
    }
1023
1024
    /**
1025
     * @param string $value
1026
     *
1027
     * @return $this
1028
     */
1029
    public function withAccountName($value)
1030
    {
1031
        $this->data['AccountName'] = $value;
1032
        $this->options['form_params']['AccountName'] = $value;
1033
1034
        return $this;
1035
    }
1036
}
1037
1038
/**
1039
 * @method string getClientToken()
1040
 * @method $this withClientToken($value)
1041
 * @method string getInstanceId()
1042
 * @method $this withInstanceId($value)
1043
 * @method string getAccountName()
1044
 * @method $this withAccountName($value)
1045
 */
1046
class GetAgent extends Rpc
1047
{
1048
1049
    /** @var string */
1050
    public $method = 'GET';
1051
}
1052
1053
/**
1054
 * @method string getClientToken()
1055
 * @method $this withClientToken($value)
1056
 * @method string getInstanceId()
1057
 * @method $this withInstanceId($value)
1058
 * @method string getAccountName()
1059
 * @method $this withAccountName($value)
1060
 */
1061
class GetGrantedRoleIds extends Rpc
1062
{
1063
1064
    /** @var string */
1065
    public $method = 'GET';
1066
}
1067
1068
/**
1069
 * @method string getClientToken()
1070
 * @method $this withClientToken($value)
1071
 * @method string getInstanceId()
1072
 * @method $this withInstanceId($value)
1073
 * @method string getAccountName()
1074
 * @method $this withAccountName($value)
1075
 */
1076
class GetHotlineAgentDetail extends Rpc
1077
{
1078
1079
    /** @var string */
1080
    public $method = 'GET';
1081
}
1082
1083
/**
1084
 * @method string getClientToken()
1085
 * @method $this withClientToken($value)
1086
 * @method string getInstanceId()
1087
 * @method $this withInstanceId($value)
1088
 * @method string getTemplateId()
1089
 * @method $this withTemplateId($value)
1090
 */
1091
class GetTicketTemplateSchema extends Rpc
1092
{
1093
1094
    /** @var string */
1095
    public $method = 'GET';
1096
}
1097
1098
/**
1099
 * @method string getNick()
1100
 * @method string getInstanceId()
1101
 * @method string getAppKey()
1102
 * @method string getUserId()
1103
 */
1104
class GetUserToken extends Rpc
1105
{
1106
1107
    /**
1108
     * @param string $value
1109
     *
1110
     * @return $this
1111
     */
1112
    public function withNick($value)
1113
    {
1114
        $this->data['Nick'] = $value;
1115
        $this->options['form_params']['Nick'] = $value;
1116
1117
        return $this;
1118
    }
1119
1120
    /**
1121
     * @param string $value
1122
     *
1123
     * @return $this
1124
     */
1125
    public function withInstanceId($value)
1126
    {
1127
        $this->data['InstanceId'] = $value;
1128
        $this->options['form_params']['InstanceId'] = $value;
1129
1130
        return $this;
1131
    }
1132
1133
    /**
1134
     * @param string $value
1135
     *
1136
     * @return $this
1137
     */
1138
    public function withAppKey($value)
1139
    {
1140
        $this->data['AppKey'] = $value;
1141
        $this->options['form_params']['AppKey'] = $value;
1142
1143
        return $this;
1144
    }
1145
1146
    /**
1147
     * @param string $value
1148
     *
1149
     * @return $this
1150
     */
1151
    public function withUserId($value)
1152
    {
1153
        $this->data['UserId'] = $value;
1154
        $this->options['form_params']['UserId'] = $value;
1155
1156
        return $this;
1157
    }
1158
}
1159
1160
/**
1161
 * @method string getClientToken()
1162
 * @method string getInstanceId()
1163
 * @method string getAccountName()
1164
 * @method array getRoleId()
1165
 * @method string getOperator()
1166
 */
1167
class GrantRoles extends Rpc
1168
{
1169
1170
    /**
1171
     * @param string $value
1172
     *
1173
     * @return $this
1174
     */
1175
    public function withClientToken($value)
1176
    {
1177
        $this->data['ClientToken'] = $value;
1178
        $this->options['form_params']['ClientToken'] = $value;
1179
1180
        return $this;
1181
    }
1182
1183
    /**
1184
     * @param string $value
1185
     *
1186
     * @return $this
1187
     */
1188
    public function withInstanceId($value)
1189
    {
1190
        $this->data['InstanceId'] = $value;
1191
        $this->options['form_params']['InstanceId'] = $value;
1192
1193
        return $this;
1194
    }
1195
1196
    /**
1197
     * @param string $value
1198
     *
1199
     * @return $this
1200
     */
1201
    public function withAccountName($value)
1202
    {
1203
        $this->data['AccountName'] = $value;
1204
        $this->options['form_params']['AccountName'] = $value;
1205
1206
        return $this;
1207
    }
1208
1209
    /**
1210
     * @param array $roleId
1211
     *
1212
     * @return $this
1213
     */
1214
	public function withRoleId(array $roleId)
1215
	{
1216
	    $this->data['RoleId'] = $roleId;
1217
		foreach ($roleId as $i => $iValue) {
1218
			$this->options['form_params']['RoleId.' . ($i + 1)] = $iValue;
1219
		}
1220
1221
		return $this;
1222
    }
1223
1224
    /**
1225
     * @param string $value
1226
     *
1227
     * @return $this
1228
     */
1229
    public function withOperator($value)
1230
    {
1231
        $this->data['Operator'] = $value;
1232
        $this->options['form_params']['Operator'] = $value;
1233
1234
        return $this;
1235
    }
1236
}
1237
1238
/**
1239
 * @method string getClientToken()
1240
 * @method string getInstanceId()
1241
 * @method string getAccountName()
1242
 * @method string getCallId()
1243
 * @method string getJobId()
1244
 * @method string getConnectionId()
1245
 */
1246
class HangupCall extends Rpc
1247
{
1248
1249
    /**
1250
     * @param string $value
1251
     *
1252
     * @return $this
1253
     */
1254
    public function withClientToken($value)
1255
    {
1256
        $this->data['ClientToken'] = $value;
1257
        $this->options['form_params']['ClientToken'] = $value;
1258
1259
        return $this;
1260
    }
1261
1262
    /**
1263
     * @param string $value
1264
     *
1265
     * @return $this
1266
     */
1267
    public function withInstanceId($value)
1268
    {
1269
        $this->data['InstanceId'] = $value;
1270
        $this->options['form_params']['InstanceId'] = $value;
1271
1272
        return $this;
1273
    }
1274
1275
    /**
1276
     * @param string $value
1277
     *
1278
     * @return $this
1279
     */
1280
    public function withAccountName($value)
1281
    {
1282
        $this->data['AccountName'] = $value;
1283
        $this->options['form_params']['AccountName'] = $value;
1284
1285
        return $this;
1286
    }
1287
1288
    /**
1289
     * @param string $value
1290
     *
1291
     * @return $this
1292
     */
1293
    public function withCallId($value)
1294
    {
1295
        $this->data['CallId'] = $value;
1296
        $this->options['form_params']['CallId'] = $value;
1297
1298
        return $this;
1299
    }
1300
1301
    /**
1302
     * @param string $value
1303
     *
1304
     * @return $this
1305
     */
1306
    public function withJobId($value)
1307
    {
1308
        $this->data['JobId'] = $value;
1309
        $this->options['form_params']['JobId'] = $value;
1310
1311
        return $this;
1312
    }
1313
1314
    /**
1315
     * @param string $value
1316
     *
1317
     * @return $this
1318
     */
1319
    public function withConnectionId($value)
1320
    {
1321
        $this->data['ConnectionId'] = $value;
1322
        $this->options['form_params']['ConnectionId'] = $value;
1323
1324
        return $this;
1325
    }
1326
}
1327
1328
/**
1329
 * @method string getClientToken()
1330
 * @method $this withClientToken($value)
1331
 * @method string getInstanceId()
1332
 * @method $this withInstanceId($value)
1333
 * @method string getSkillGroupId()
1334
 * @method $this withSkillGroupId($value)
1335
 */
1336
class ListAgentBySkillGroupId extends Rpc
1337
{
1338
1339
    /** @var string */
1340
    public $method = 'GET';
1341
}
1342
1343
/**
1344
 * @method string getClientToken()
1345
 * @method $this withClientToken($value)
1346
 * @method string getInstanceId()
1347
 * @method $this withInstanceId($value)
1348
 * @method string getCallId()
1349
 * @method $this withCallId($value)
1350
 */
1351
class ListHotlineRecord extends Rpc
1352
{
1353
1354
    /** @var string */
1355
    public $method = 'GET';
1356
}
1357
1358
/**
1359
 * @method string getClientToken()
1360
 * @method $this withClientToken($value)
1361
 * @method string getInstanceId()
1362
 * @method $this withInstanceId($value)
1363
 * @method string getAccountName()
1364
 * @method $this withAccountName($value)
1365
 */
1366
class ListOutboundPhoneNumber extends Rpc
1367
{
1368
1369
    /** @var string */
1370
    public $method = 'GET';
1371
}
1372
1373
/**
1374
 * @method string getClientToken()
1375
 * @method $this withClientToken($value)
1376
 * @method string getInstanceId()
1377
 * @method $this withInstanceId($value)
1378
 * @method string getChannelType()
1379
 * @method $this withChannelType($value)
1380
 */
1381
class ListSkillGroup extends Rpc
1382
{
1383
1384
    /** @var string */
1385
    public $method = 'GET';
1386
}
1387
1388
/**
1389
 * @method string getGroupId()
1390
 * @method $this withGroupId($value)
1391
 * @method string getServicerId()
1392
 * @method $this withServicerId($value)
1393
 * @method string getParams()
1394
 * @method $this withParams($value)
1395
 * @method string getGroupName()
1396
 * @method $this withGroupName($value)
1397
 * @method string getAcid()
1398
 * @method $this withAcid($value)
1399
 * @method string getCallingNumber()
1400
 * @method $this withCallingNumber($value)
1401
 * @method string getQueryEndTime()
1402
 * @method $this withQueryEndTime($value)
1403
 * @method string getInstanceId()
1404
 * @method $this withInstanceId($value)
1405
 * @method string getCalledNumber()
1406
 * @method $this withCalledNumber($value)
1407
 * @method string getRequestId()
1408
 * @method $this withRequestId($value)
1409
 * @method string getPageNo()
1410
 * @method $this withPageNo($value)
1411
 * @method string getQueryStartTime()
1412
 * @method $this withQueryStartTime($value)
1413
 * @method string getServicerName()
1414
 * @method $this withServicerName($value)
1415
 * @method string getPageSize()
1416
 * @method $this withPageSize($value)
1417
 * @method string getCallResult()
1418
 * @method $this withCallResult($value)
1419
 * @method string getCallType()
1420
 * @method $this withCallType($value)
1421
 * @method string getMemberName()
1422
 * @method $this withMemberName($value)
1423
 * @method string getMemberId()
1424
 * @method $this withMemberId($value)
1425
 */
1426
class QueryHotlineSession extends Rpc
1427
{
1428
}
1429
1430
/**
1431
 * @method string getInstanceId()
1432
 * @method $this withInstanceId($value)
1433
 * @method string getClientToken()
1434
 * @method $this withClientToken($value)
1435
 * @method string getPageNo()
1436
 * @method $this withPageNo($value)
1437
 * @method string getPageSize()
1438
 * @method $this withPageSize($value)
1439
 */
1440
class QuerySkillGroups extends Rpc
1441
{
1442
}
1443
1444
/**
1445
 * @method string getInstanceId()
1446
 * @method string getClientToken()
1447
 * @method string getSkillGroupId()
1448
 */
1449
class RemoveSkillGroup extends Rpc
1450
{
1451
1452
    /**
1453
     * @param string $value
1454
     *
1455
     * @return $this
1456
     */
1457
    public function withInstanceId($value)
1458
    {
1459
        $this->data['InstanceId'] = $value;
1460
        $this->options['form_params']['InstanceId'] = $value;
1461
1462
        return $this;
1463
    }
1464
1465
    /**
1466
     * @param string $value
1467
     *
1468
     * @return $this
1469
     */
1470
    public function withClientToken($value)
1471
    {
1472
        $this->data['ClientToken'] = $value;
1473
        $this->options['form_params']['ClientToken'] = $value;
1474
1475
        return $this;
1476
    }
1477
1478
    /**
1479
     * @param string $value
1480
     *
1481
     * @return $this
1482
     */
1483
    public function withSkillGroupId($value)
1484
    {
1485
        $this->data['SkillGroupId'] = $value;
1486
        $this->options['form_params']['SkillGroupId'] = $value;
1487
1488
        return $this;
1489
    }
1490
}
1491
1492
/**
1493
 * @method string getClientToken()
1494
 * @method $this withClientToken($value)
1495
 * @method string getInstanceId()
1496
 * @method $this withInstanceId($value)
1497
 * @method string getTicketId()
1498
 * @method $this withTicketId($value)
1499
 */
1500
class SearchTicketById extends Rpc
1501
{
1502
1503
    /** @var string */
1504
    public $method = 'GET';
1505
}
1506
1507
/**
1508
 * @method string getClientToken()
1509
 * @method $this withClientToken($value)
1510
 * @method string getInstanceId()
1511
 * @method $this withInstanceId($value)
1512
 * @method string getOperatorId()
1513
 * @method $this withOperatorId($value)
1514
 * @method string getTicketStatus()
1515
 * @method $this withTicketStatus($value)
1516
 * @method string getPageNo()
1517
 * @method $this withPageNo($value)
1518
 * @method string getPageSize()
1519
 * @method $this withPageSize($value)
1520
 */
1521
class SearchTicketList extends Rpc
1522
{
1523
1524
    /** @var string */
1525
    public $method = 'GET';
1526
}
1527
1528
/**
1529
 * @method string getClientToken()
1530
 * @method string getInstanceId()
1531
 * @method string getAccountName()
1532
 * @method string getToken()
1533
 */
1534
class SendHotlineHeartBeat extends Rpc
1535
{
1536
1537
    /**
1538
     * @param string $value
1539
     *
1540
     * @return $this
1541
     */
1542
    public function withClientToken($value)
1543
    {
1544
        $this->data['ClientToken'] = $value;
1545
        $this->options['form_params']['ClientToken'] = $value;
1546
1547
        return $this;
1548
    }
1549
1550
    /**
1551
     * @param string $value
1552
     *
1553
     * @return $this
1554
     */
1555
    public function withInstanceId($value)
1556
    {
1557
        $this->data['InstanceId'] = $value;
1558
        $this->options['form_params']['InstanceId'] = $value;
1559
1560
        return $this;
1561
    }
1562
1563
    /**
1564
     * @param string $value
1565
     *
1566
     * @return $this
1567
     */
1568
    public function withAccountName($value)
1569
    {
1570
        $this->data['AccountName'] = $value;
1571
        $this->options['form_params']['AccountName'] = $value;
1572
1573
        return $this;
1574
    }
1575
1576
    /**
1577
     * @param string $value
1578
     *
1579
     * @return $this
1580
     */
1581
    public function withToken($value)
1582
    {
1583
        $this->data['Token'] = $value;
1584
        $this->options['form_params']['Token'] = $value;
1585
1586
        return $this;
1587
    }
1588
}
1589
1590
/**
1591
 * @method string getClientToken()
1592
 * @method string getInstanceId()
1593
 * @method string getAccountName()
1594
 * @method string getCaller()
1595
 * @method string getCallee()
1596
 */
1597
class StartCall extends Rpc
1598
{
1599
1600
    /**
1601
     * @param string $value
1602
     *
1603
     * @return $this
1604
     */
1605
    public function withClientToken($value)
1606
    {
1607
        $this->data['ClientToken'] = $value;
1608
        $this->options['form_params']['ClientToken'] = $value;
1609
1610
        return $this;
1611
    }
1612
1613
    /**
1614
     * @param string $value
1615
     *
1616
     * @return $this
1617
     */
1618
    public function withInstanceId($value)
1619
    {
1620
        $this->data['InstanceId'] = $value;
1621
        $this->options['form_params']['InstanceId'] = $value;
1622
1623
        return $this;
1624
    }
1625
1626
    /**
1627
     * @param string $value
1628
     *
1629
     * @return $this
1630
     */
1631
    public function withAccountName($value)
1632
    {
1633
        $this->data['AccountName'] = $value;
1634
        $this->options['form_params']['AccountName'] = $value;
1635
1636
        return $this;
1637
    }
1638
1639
    /**
1640
     * @param string $value
1641
     *
1642
     * @return $this
1643
     */
1644
    public function withCaller($value)
1645
    {
1646
        $this->data['Caller'] = $value;
1647
        $this->options['form_params']['Caller'] = $value;
1648
1649
        return $this;
1650
    }
1651
1652
    /**
1653
     * @param string $value
1654
     *
1655
     * @return $this
1656
     */
1657
    public function withCallee($value)
1658
    {
1659
        $this->data['Callee'] = $value;
1660
        $this->options['form_params']['Callee'] = $value;
1661
1662
        return $this;
1663
    }
1664
}
1665
1666
/**
1667
 * @method string getClientToken()
1668
 * @method string getInstanceId()
1669
 * @method string getAccountName()
1670
 */
1671
class StartHotlineService extends Rpc
1672
{
1673
1674
    /**
1675
     * @param string $value
1676
     *
1677
     * @return $this
1678
     */
1679
    public function withClientToken($value)
1680
    {
1681
        $this->data['ClientToken'] = $value;
1682
        $this->options['form_params']['ClientToken'] = $value;
1683
1684
        return $this;
1685
    }
1686
1687
    /**
1688
     * @param string $value
1689
     *
1690
     * @return $this
1691
     */
1692
    public function withInstanceId($value)
1693
    {
1694
        $this->data['InstanceId'] = $value;
1695
        $this->options['form_params']['InstanceId'] = $value;
1696
1697
        return $this;
1698
    }
1699
1700
    /**
1701
     * @param string $value
1702
     *
1703
     * @return $this
1704
     */
1705
    public function withAccountName($value)
1706
    {
1707
        $this->data['AccountName'] = $value;
1708
        $this->options['form_params']['AccountName'] = $value;
1709
1710
        return $this;
1711
    }
1712
}
1713
1714
/**
1715
 * @method string getClientToken()
1716
 * @method string getInstanceId()
1717
 * @method string getAccountName()
1718
 * @method string getType()
1719
 */
1720
class SuspendHotlineService extends Rpc
1721
{
1722
1723
    /**
1724
     * @param string $value
1725
     *
1726
     * @return $this
1727
     */
1728
    public function withClientToken($value)
1729
    {
1730
        $this->data['ClientToken'] = $value;
1731
        $this->options['form_params']['ClientToken'] = $value;
1732
1733
        return $this;
1734
    }
1735
1736
    /**
1737
     * @param string $value
1738
     *
1739
     * @return $this
1740
     */
1741
    public function withInstanceId($value)
1742
    {
1743
        $this->data['InstanceId'] = $value;
1744
        $this->options['form_params']['InstanceId'] = $value;
1745
1746
        return $this;
1747
    }
1748
1749
    /**
1750
     * @param string $value
1751
     *
1752
     * @return $this
1753
     */
1754
    public function withAccountName($value)
1755
    {
1756
        $this->data['AccountName'] = $value;
1757
        $this->options['form_params']['AccountName'] = $value;
1758
1759
        return $this;
1760
    }
1761
1762
    /**
1763
     * @param string $value
1764
     *
1765
     * @return $this
1766
     */
1767
    public function withType($value)
1768
    {
1769
        $this->data['Type'] = $value;
1770
        $this->options['form_params']['Type'] = $value;
1771
1772
        return $this;
1773
    }
1774
}
1775
1776
/**
1777
 * @method string getClientToken()
1778
 * @method string getInstanceId()
1779
 * @method string getAccountName()
1780
 * @method string getTargetAccountName()
1781
 * @method string getCallId()
1782
 * @method string getJobId()
1783
 * @method string getConnectionId()
1784
 * @method string getHoldConnectionId()
1785
 * @method string getIsSingleTransfer()
1786
 */
1787
class TransferCallToAgent extends Rpc
1788
{
1789
1790
    /**
1791
     * @param string $value
1792
     *
1793
     * @return $this
1794
     */
1795
    public function withClientToken($value)
1796
    {
1797
        $this->data['ClientToken'] = $value;
1798
        $this->options['form_params']['ClientToken'] = $value;
1799
1800
        return $this;
1801
    }
1802
1803
    /**
1804
     * @param string $value
1805
     *
1806
     * @return $this
1807
     */
1808
    public function withInstanceId($value)
1809
    {
1810
        $this->data['InstanceId'] = $value;
1811
        $this->options['form_params']['InstanceId'] = $value;
1812
1813
        return $this;
1814
    }
1815
1816
    /**
1817
     * @param string $value
1818
     *
1819
     * @return $this
1820
     */
1821
    public function withAccountName($value)
1822
    {
1823
        $this->data['AccountName'] = $value;
1824
        $this->options['form_params']['AccountName'] = $value;
1825
1826
        return $this;
1827
    }
1828
1829
    /**
1830
     * @param string $value
1831
     *
1832
     * @return $this
1833
     */
1834
    public function withTargetAccountName($value)
1835
    {
1836
        $this->data['TargetAccountName'] = $value;
1837
        $this->options['form_params']['TargetAccountName'] = $value;
1838
1839
        return $this;
1840
    }
1841
1842
    /**
1843
     * @param string $value
1844
     *
1845
     * @return $this
1846
     */
1847
    public function withCallId($value)
1848
    {
1849
        $this->data['CallId'] = $value;
1850
        $this->options['form_params']['CallId'] = $value;
1851
1852
        return $this;
1853
    }
1854
1855
    /**
1856
     * @param string $value
1857
     *
1858
     * @return $this
1859
     */
1860
    public function withJobId($value)
1861
    {
1862
        $this->data['JobId'] = $value;
1863
        $this->options['form_params']['JobId'] = $value;
1864
1865
        return $this;
1866
    }
1867
1868
    /**
1869
     * @param string $value
1870
     *
1871
     * @return $this
1872
     */
1873
    public function withConnectionId($value)
1874
    {
1875
        $this->data['ConnectionId'] = $value;
1876
        $this->options['form_params']['ConnectionId'] = $value;
1877
1878
        return $this;
1879
    }
1880
1881
    /**
1882
     * @param string $value
1883
     *
1884
     * @return $this
1885
     */
1886
    public function withHoldConnectionId($value)
1887
    {
1888
        $this->data['HoldConnectionId'] = $value;
1889
        $this->options['form_params']['HoldConnectionId'] = $value;
1890
1891
        return $this;
1892
    }
1893
1894
    /**
1895
     * @param string $value
1896
     *
1897
     * @return $this
1898
     */
1899
    public function withIsSingleTransfer($value)
1900
    {
1901
        $this->data['IsSingleTransfer'] = $value;
1902
        $this->options['form_params']['IsSingleTransfer'] = $value;
1903
1904
        return $this;
1905
    }
1906
}
1907
1908
/**
1909
 * @method string getClientToken()
1910
 * @method string getInstanceId()
1911
 * @method string getAccountName()
1912
 * @method string getCaller()
1913
 * @method string getCallee()
1914
 * @method string getCallId()
1915
 * @method string getJobId()
1916
 * @method string getConnectionId()
1917
 * @method string getHoldConnectionId()
1918
 * @method string getIsSingleTransfer()
1919
 */
1920
class TransferCallToPhone extends Rpc
1921
{
1922
1923
    /**
1924
     * @param string $value
1925
     *
1926
     * @return $this
1927
     */
1928
    public function withClientToken($value)
1929
    {
1930
        $this->data['ClientToken'] = $value;
1931
        $this->options['form_params']['ClientToken'] = $value;
1932
1933
        return $this;
1934
    }
1935
1936
    /**
1937
     * @param string $value
1938
     *
1939
     * @return $this
1940
     */
1941
    public function withInstanceId($value)
1942
    {
1943
        $this->data['InstanceId'] = $value;
1944
        $this->options['form_params']['InstanceId'] = $value;
1945
1946
        return $this;
1947
    }
1948
1949
    /**
1950
     * @param string $value
1951
     *
1952
     * @return $this
1953
     */
1954
    public function withAccountName($value)
1955
    {
1956
        $this->data['AccountName'] = $value;
1957
        $this->options['form_params']['AccountName'] = $value;
1958
1959
        return $this;
1960
    }
1961
1962
    /**
1963
     * @param string $value
1964
     *
1965
     * @return $this
1966
     */
1967
    public function withCaller($value)
1968
    {
1969
        $this->data['Caller'] = $value;
1970
        $this->options['form_params']['Caller'] = $value;
1971
1972
        return $this;
1973
    }
1974
1975
    /**
1976
     * @param string $value
1977
     *
1978
     * @return $this
1979
     */
1980
    public function withCallee($value)
1981
    {
1982
        $this->data['Callee'] = $value;
1983
        $this->options['form_params']['Callee'] = $value;
1984
1985
        return $this;
1986
    }
1987
1988
    /**
1989
     * @param string $value
1990
     *
1991
     * @return $this
1992
     */
1993
    public function withCallId($value)
1994
    {
1995
        $this->data['CallId'] = $value;
1996
        $this->options['form_params']['CallId'] = $value;
1997
1998
        return $this;
1999
    }
2000
2001
    /**
2002
     * @param string $value
2003
     *
2004
     * @return $this
2005
     */
2006
    public function withJobId($value)
2007
    {
2008
        $this->data['JobId'] = $value;
2009
        $this->options['form_params']['JobId'] = $value;
2010
2011
        return $this;
2012
    }
2013
2014
    /**
2015
     * @param string $value
2016
     *
2017
     * @return $this
2018
     */
2019
    public function withConnectionId($value)
2020
    {
2021
        $this->data['ConnectionId'] = $value;
2022
        $this->options['form_params']['ConnectionId'] = $value;
2023
2024
        return $this;
2025
    }
2026
2027
    /**
2028
     * @param string $value
2029
     *
2030
     * @return $this
2031
     */
2032
    public function withHoldConnectionId($value)
2033
    {
2034
        $this->data['HoldConnectionId'] = $value;
2035
        $this->options['form_params']['HoldConnectionId'] = $value;
2036
2037
        return $this;
2038
    }
2039
2040
    /**
2041
     * @param string $value
2042
     *
2043
     * @return $this
2044
     */
2045
    public function withIsSingleTransfer($value)
2046
    {
2047
        $this->data['IsSingleTransfer'] = $value;
2048
        $this->options['form_params']['IsSingleTransfer'] = $value;
2049
2050
        return $this;
2051
    }
2052
}
2053
2054
/**
2055
 * @method string getClientToken()
2056
 * @method string getInstanceId()
2057
 * @method string getAccountName()
2058
 * @method string getSkillGroupId()
2059
 * @method string getCallId()
2060
 * @method string getJobId()
2061
 * @method string getConnectionId()
2062
 * @method string getHoldConnectionId()
2063
 * @method string getIsSingleTransfer()
2064
 */
2065
class TransferCallToSkillGroup extends Rpc
2066
{
2067
2068
    /**
2069
     * @param string $value
2070
     *
2071
     * @return $this
2072
     */
2073
    public function withClientToken($value)
2074
    {
2075
        $this->data['ClientToken'] = $value;
2076
        $this->options['form_params']['ClientToken'] = $value;
2077
2078
        return $this;
2079
    }
2080
2081
    /**
2082
     * @param string $value
2083
     *
2084
     * @return $this
2085
     */
2086
    public function withInstanceId($value)
2087
    {
2088
        $this->data['InstanceId'] = $value;
2089
        $this->options['form_params']['InstanceId'] = $value;
2090
2091
        return $this;
2092
    }
2093
2094
    /**
2095
     * @param string $value
2096
     *
2097
     * @return $this
2098
     */
2099
    public function withAccountName($value)
2100
    {
2101
        $this->data['AccountName'] = $value;
2102
        $this->options['form_params']['AccountName'] = $value;
2103
2104
        return $this;
2105
    }
2106
2107
    /**
2108
     * @param string $value
2109
     *
2110
     * @return $this
2111
     */
2112
    public function withSkillGroupId($value)
2113
    {
2114
        $this->data['SkillGroupId'] = $value;
2115
        $this->options['form_params']['SkillGroupId'] = $value;
2116
2117
        return $this;
2118
    }
2119
2120
    /**
2121
     * @param string $value
2122
     *
2123
     * @return $this
2124
     */
2125
    public function withCallId($value)
2126
    {
2127
        $this->data['CallId'] = $value;
2128
        $this->options['form_params']['CallId'] = $value;
2129
2130
        return $this;
2131
    }
2132
2133
    /**
2134
     * @param string $value
2135
     *
2136
     * @return $this
2137
     */
2138
    public function withJobId($value)
2139
    {
2140
        $this->data['JobId'] = $value;
2141
        $this->options['form_params']['JobId'] = $value;
2142
2143
        return $this;
2144
    }
2145
2146
    /**
2147
     * @param string $value
2148
     *
2149
     * @return $this
2150
     */
2151
    public function withConnectionId($value)
2152
    {
2153
        $this->data['ConnectionId'] = $value;
2154
        $this->options['form_params']['ConnectionId'] = $value;
2155
2156
        return $this;
2157
    }
2158
2159
    /**
2160
     * @param string $value
2161
     *
2162
     * @return $this
2163
     */
2164
    public function withHoldConnectionId($value)
2165
    {
2166
        $this->data['HoldConnectionId'] = $value;
2167
        $this->options['form_params']['HoldConnectionId'] = $value;
2168
2169
        return $this;
2170
    }
2171
2172
    /**
2173
     * @param string $value
2174
     *
2175
     * @return $this
2176
     */
2177
    public function withIsSingleTransfer($value)
2178
    {
2179
        $this->data['IsSingleTransfer'] = $value;
2180
        $this->options['form_params']['IsSingleTransfer'] = $value;
2181
2182
        return $this;
2183
    }
2184
}
2185
2186
/**
2187
 * @method string getClientToken()
2188
 * @method string getInstanceId()
2189
 * @method string getAccountName()
2190
 * @method string getDisplayName()
2191
 * @method array getSkillGroupIdList()
2192
 */
2193
class UpdateAgent extends Rpc
2194
{
2195
2196
    /** @var string */
2197
    public $method = 'PUT';
2198
2199
    /**
2200
     * @param string $value
2201
     *
2202
     * @return $this
2203
     */
2204
    public function withClientToken($value)
2205
    {
2206
        $this->data['ClientToken'] = $value;
2207
        $this->options['form_params']['ClientToken'] = $value;
2208
2209
        return $this;
2210
    }
2211
2212
    /**
2213
     * @param string $value
2214
     *
2215
     * @return $this
2216
     */
2217
    public function withInstanceId($value)
2218
    {
2219
        $this->data['InstanceId'] = $value;
2220
        $this->options['form_params']['InstanceId'] = $value;
2221
2222
        return $this;
2223
    }
2224
2225
    /**
2226
     * @param string $value
2227
     *
2228
     * @return $this
2229
     */
2230
    public function withAccountName($value)
2231
    {
2232
        $this->data['AccountName'] = $value;
2233
        $this->options['form_params']['AccountName'] = $value;
2234
2235
        return $this;
2236
    }
2237
2238
    /**
2239
     * @param string $value
2240
     *
2241
     * @return $this
2242
     */
2243
    public function withDisplayName($value)
2244
    {
2245
        $this->data['DisplayName'] = $value;
2246
        $this->options['form_params']['DisplayName'] = $value;
2247
2248
        return $this;
2249
    }
2250
2251
    /**
2252
     * @param array $skillGroupIdList
2253
     *
2254
     * @return $this
2255
     */
2256
	public function withSkillGroupIdList(array $skillGroupIdList)
2257
	{
2258
	    $this->data['SkillGroupIdList'] = $skillGroupIdList;
2259
		foreach ($skillGroupIdList as $i => $iValue) {
2260
			$this->options['form_params']['SkillGroupIdList.' . ($i + 1)] = $iValue;
2261
		}
2262
2263
		return $this;
2264
    }
2265
}
2266
2267
/**
2268
 * @method string getClientToken()
2269
 * @method string getInstanceId()
2270
 * @method string getRoleId()
2271
 * @method string getRoleName()
2272
 * @method array getPermissionId()
2273
 * @method string getOperator()
2274
 */
2275
class UpdateRole extends Rpc
2276
{
2277
2278
    /**
2279
     * @param string $value
2280
     *
2281
     * @return $this
2282
     */
2283
    public function withClientToken($value)
2284
    {
2285
        $this->data['ClientToken'] = $value;
2286
        $this->options['form_params']['ClientToken'] = $value;
2287
2288
        return $this;
2289
    }
2290
2291
    /**
2292
     * @param string $value
2293
     *
2294
     * @return $this
2295
     */
2296
    public function withInstanceId($value)
2297
    {
2298
        $this->data['InstanceId'] = $value;
2299
        $this->options['form_params']['InstanceId'] = $value;
2300
2301
        return $this;
2302
    }
2303
2304
    /**
2305
     * @param string $value
2306
     *
2307
     * @return $this
2308
     */
2309
    public function withRoleId($value)
2310
    {
2311
        $this->data['RoleId'] = $value;
2312
        $this->options['form_params']['RoleId'] = $value;
2313
2314
        return $this;
2315
    }
2316
2317
    /**
2318
     * @param string $value
2319
     *
2320
     * @return $this
2321
     */
2322
    public function withRoleName($value)
2323
    {
2324
        $this->data['RoleName'] = $value;
2325
        $this->options['form_params']['RoleName'] = $value;
2326
2327
        return $this;
2328
    }
2329
2330
    /**
2331
     * @param array $permissionId
2332
     *
2333
     * @return $this
2334
     */
2335
	public function withPermissionId(array $permissionId)
2336
	{
2337
	    $this->data['PermissionId'] = $permissionId;
2338
		foreach ($permissionId as $i => $iValue) {
2339
			$this->options['form_params']['PermissionId.' . ($i + 1)] = $iValue;
2340
		}
2341
2342
		return $this;
2343
    }
2344
2345
    /**
2346
     * @param string $value
2347
     *
2348
     * @return $this
2349
     */
2350
    public function withOperator($value)
2351
    {
2352
        $this->data['Operator'] = $value;
2353
        $this->options['form_params']['Operator'] = $value;
2354
2355
        return $this;
2356
    }
2357
}
2358
2359
/**
2360
 * @method string getInstanceId()
2361
 * @method $this withInstanceId($value)
2362
 * @method string getClientToken()
2363
 * @method $this withClientToken($value)
2364
 * @method string getSkillGroupId()
2365
 * @method $this withSkillGroupId($value)
2366
 * @method string getDisplayName()
2367
 * @method $this withDisplayName($value)
2368
 * @method string getSkillGroupName()
2369
 * @method $this withSkillGroupName($value)
2370
 * @method string getDescription()
2371
 * @method $this withDescription($value)
2372
 */
2373
class UpdateSkillGroup extends Rpc
2374
{
2375
}
2376
2377
/**
2378
 * @method string getClientToken()
2379
 * @method string getInstanceId()
2380
 * @method string getTicketId()
2381
 * @method string getOperatorId()
2382
 * @method string getFormData()
2383
 */
2384
class UpdateTicket extends Rpc
2385
{
2386
2387
    /**
2388
     * @param string $value
2389
     *
2390
     * @return $this
2391
     */
2392
    public function withClientToken($value)
2393
    {
2394
        $this->data['ClientToken'] = $value;
2395
        $this->options['form_params']['ClientToken'] = $value;
2396
2397
        return $this;
2398
    }
2399
2400
    /**
2401
     * @param string $value
2402
     *
2403
     * @return $this
2404
     */
2405
    public function withInstanceId($value)
2406
    {
2407
        $this->data['InstanceId'] = $value;
2408
        $this->options['form_params']['InstanceId'] = $value;
2409
2410
        return $this;
2411
    }
2412
2413
    /**
2414
     * @param string $value
2415
     *
2416
     * @return $this
2417
     */
2418
    public function withTicketId($value)
2419
    {
2420
        $this->data['TicketId'] = $value;
2421
        $this->options['form_params']['TicketId'] = $value;
2422
2423
        return $this;
2424
    }
2425
2426
    /**
2427
     * @param string $value
2428
     *
2429
     * @return $this
2430
     */
2431
    public function withOperatorId($value)
2432
    {
2433
        $this->data['OperatorId'] = $value;
2434
        $this->options['form_params']['OperatorId'] = $value;
2435
2436
        return $this;
2437
    }
2438
2439
    /**
2440
     * @param string $value
2441
     *
2442
     * @return $this
2443
     */
2444
    public function withFormData($value)
2445
    {
2446
        $this->data['FormData'] = $value;
2447
        $this->options['form_params']['FormData'] = $value;
2448
2449
        return $this;
2450
    }
2451
}
2452