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 ( a36efc...1ef13c )
by
unknown
08:28
created

GetOutbounNumList   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 40
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 3
eloc 10
c 1
b 0
f 0
dl 0
loc 40
rs 10

3 Methods

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