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 ( ff4c81...67a23d )
by
unknown
08:28
created

SendOutboundCommand::withCustomerInfo()   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 AppMessagePush appMessagePush(array $options = [])
10
 * @method AssignTicket assignTicket(array $options = [])
11
 * @method ChangeChatAgentStatus changeChatAgentStatus(array $options = [])
12
 * @method CloseTicket closeTicket(array $options = [])
13
 * @method CreateAgent createAgent(array $options = [])
14
 * @method CreateCustomer createCustomer(array $options = [])
15
 * @method CreateEntityIvrRoute createEntityIvrRoute(array $options = [])
16
 * @method CreateOuterCallCenterData createOuterCallCenterData(array $options = [])
17
 * @method CreateRole createRole(array $options = [])
18
 * @method CreateSkillGroup createSkillGroup(array $options = [])
19
 * @method CreateThirdSsoAgent createThirdSsoAgent(array $options = [])
20
 * @method CreateTicket createTicket(array $options = [])
21
 * @method CreateTicketWithBizData createTicketWithBizData(array $options = [])
22
 * @method DeleteAgent deleteAgent(array $options = [])
23
 * @method DeleteEntityRoute deleteEntityRoute(array $options = [])
24
 * @method DisableRole disableRole(array $options = [])
25
 * @method EditEntityRoute editEntityRoute(array $options = [])
26
 * @method EnableRole enableRole(array $options = [])
27
 * @method ExecuteActivity executeActivity(array $options = [])
28
 * @method FetchCall fetchCall(array $options = [])
29
 * @method FinishHotlineService finishHotlineService(array $options = [])
30
 * @method GenerateWebSocketSign generateWebSocketSign(array $options = [])
31
 * @method GetAgent getAgent(array $options = [])
32
 * @method GetAuthInfo getAuthInfo(array $options = [])
33
 * @method GetCallsPerDay getCallsPerDay(array $options = [])
34
 * @method GetCMSIdByForeignId getCMSIdByForeignId(array $options = [])
35
 * @method GetEntityRoute getEntityRoute(array $options = [])
36
 * @method GetEntityRouteList getEntityRouteList(array $options = [])
37
 * @method GetEntityTagRelation getEntityTagRelation(array $options = [])
38
 * @method GetGrantedRoleIds getGrantedRoleIds(array $options = [])
39
 * @method GetHotlineAgentDetail getHotlineAgentDetail(array $options = [])
40
 * @method GetHotlineAgentDetailReport getHotlineAgentDetailReport(array $options = [])
41
 * @method GetHotlineAgentStatus getHotlineAgentStatus(array $options = [])
42
 * @method GetHotlineGroupDetailReport getHotlineGroupDetailReport(array $options = [])
43
 * @method GetHotlineWaitingNumber getHotlineWaitingNumber(array $options = [])
44
 * @method GetNumLocation getNumLocation(array $options = [])
45
 * @method GetOutbounNumList getOutbounNumList(array $options = [])
46
 * @method GetOuterCallCenterDataList getOuterCallCenterDataList(array $options = [])
47
 * @method GetTagList getTagList(array $options = [])
48
 * @method GetTicketTemplateSchema getTicketTemplateSchema(array $options = [])
49
 * @method GetUserToken getUserToken(array $options = [])
50
 * @method GrantRoles grantRoles(array $options = [])
51
 * @method HangupCall hangupCall(array $options = [])
52
 * @method HangupThirdCall hangupThirdCall(array $options = [])
53
 * @method HoldCall holdCall(array $options = [])
54
 * @method JoinThirdCall joinThirdCall(array $options = [])
55
 * @method ListAgentBySkillGroupId listAgentBySkillGroupId(array $options = [])
56
 * @method ListHotlineRecord listHotlineRecord(array $options = [])
57
 * @method ListOutboundPhoneNumber listOutboundPhoneNumber(array $options = [])
58
 * @method ListSkillGroup listSkillGroup(array $options = [])
59
 * @method QueryHotlineSession queryHotlineSession(array $options = [])
60
 * @method QueryRingDetailList queryRingDetailList(array $options = [])
61
 * @method QueryServiceConfig queryServiceConfig(array $options = [])
62
 * @method QuerySkillGroups querySkillGroups(array $options = [])
63
 * @method QueryTicketActions queryTicketActions(array $options = [])
64
 * @method QueryTicketCount queryTicketCount(array $options = [])
65
 * @method QueryTickets queryTickets(array $options = [])
66
 * @method RemoveSkillGroup removeSkillGroup(array $options = [])
67
 * @method SearchTicketById searchTicketById(array $options = [])
68
 * @method SearchTicketByPhone searchTicketByPhone(array $options = [])
69
 * @method SearchTicketList searchTicketList(array $options = [])
70
 * @method SendHotlineHeartBeat sendHotlineHeartBeat(array $options = [])
71
 * @method SendOutboundCommand sendOutboundCommand(array $options = [])
72
 * @method StartCall startCall(array $options = [])
73
 * @method StartCallV2 startCallV2(array $options = [])
74
 * @method StartChatWork startChatWork(array $options = [])
75
 * @method StartHotlineService startHotlineService(array $options = [])
76
 * @method SuspendHotlineService suspendHotlineService(array $options = [])
77
 * @method TransferCallToAgent transferCallToAgent(array $options = [])
78
 * @method TransferCallToPhone transferCallToPhone(array $options = [])
79
 * @method TransferCallToSkillGroup transferCallToSkillGroup(array $options = [])
80
 * @method TransferToThirdCall transferToThirdCall(array $options = [])
81
 * @method UpdateAgent updateAgent(array $options = [])
82
 * @method UpdateCustomer updateCustomer(array $options = [])
83
 * @method UpdateEntityTagRelation updateEntityTagRelation(array $options = [])
84
 * @method UpdateRingStatus updateRingStatus(array $options = [])
85
 * @method UpdateRole updateRole(array $options = [])
86
 * @method UpdateSkillGroup updateSkillGroup(array $options = [])
87
 * @method UpdateTicket updateTicket(array $options = [])
88
 */
89
class ScspApiResolver extends ApiResolver
90
{
91
}
92
93
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
94
{
95
    /** @var string */
96
    public $product = 'scsp';
97
98
    /** @var string */
99
    public $version = '2020-07-02';
100
101
    /** @var string */
102
    public $method = 'POST';
103
}
104
105
/**
106
 * @method string getClientToken()
107
 * @method string getInstanceId()
108
 * @method string getAccountName()
109
 * @method string getCallId()
110
 * @method string getJobId()
111
 * @method string getConnectionId()
112
 */
113
class AnswerCall extends Rpc
114
{
115
116
    /**
117
     * @param string $value
118
     *
119
     * @return $this
120
     */
121
    public function withClientToken($value)
122
    {
123
        $this->data['ClientToken'] = $value;
124
        $this->options['form_params']['ClientToken'] = $value;
125
126
        return $this;
127
    }
128
129
    /**
130
     * @param string $value
131
     *
132
     * @return $this
133
     */
134
    public function withInstanceId($value)
135
    {
136
        $this->data['InstanceId'] = $value;
137
        $this->options['form_params']['InstanceId'] = $value;
138
139
        return $this;
140
    }
141
142
    /**
143
     * @param string $value
144
     *
145
     * @return $this
146
     */
147
    public function withAccountName($value)
148
    {
149
        $this->data['AccountName'] = $value;
150
        $this->options['form_params']['AccountName'] = $value;
151
152
        return $this;
153
    }
154
155
    /**
156
     * @param string $value
157
     *
158
     * @return $this
159
     */
160
    public function withCallId($value)
161
    {
162
        $this->data['CallId'] = $value;
163
        $this->options['form_params']['CallId'] = $value;
164
165
        return $this;
166
    }
167
168
    /**
169
     * @param string $value
170
     *
171
     * @return $this
172
     */
173
    public function withJobId($value)
174
    {
175
        $this->data['JobId'] = $value;
176
        $this->options['form_params']['JobId'] = $value;
177
178
        return $this;
179
    }
180
181
    /**
182
     * @param string $value
183
     *
184
     * @return $this
185
     */
186
    public function withConnectionId($value)
187
    {
188
        $this->data['ConnectionId'] = $value;
189
        $this->options['form_params']['ConnectionId'] = $value;
190
191
        return $this;
192
    }
193
}
194
195
/**
196
 * @method string getInstanceId()
197
 * @method $this withInstanceId($value)
198
 * @method string getExpirationTime()
199
 * @method $this withExpirationTime($value)
200
 * @method string getUserId()
201
 * @method $this withUserId($value)
202
 * @method string getStatus()
203
 * @method $this withStatus($value)
204
 */
205
class AppMessagePush extends Rpc
206
{
207
}
208
209
/**
210
 * @method string getClientToken()
211
 * @method string getInstanceId()
212
 * @method string getTicketId()
213
 * @method string getOperatorId()
214
 * @method string getAcceptorId()
215
 */
216
class AssignTicket extends Rpc
217
{
218
219
    /**
220
     * @param string $value
221
     *
222
     * @return $this
223
     */
224
    public function withClientToken($value)
225
    {
226
        $this->data['ClientToken'] = $value;
227
        $this->options['form_params']['ClientToken'] = $value;
228
229
        return $this;
230
    }
231
232
    /**
233
     * @param string $value
234
     *
235
     * @return $this
236
     */
237
    public function withInstanceId($value)
238
    {
239
        $this->data['InstanceId'] = $value;
240
        $this->options['form_params']['InstanceId'] = $value;
241
242
        return $this;
243
    }
244
245
    /**
246
     * @param string $value
247
     *
248
     * @return $this
249
     */
250
    public function withTicketId($value)
251
    {
252
        $this->data['TicketId'] = $value;
253
        $this->options['form_params']['TicketId'] = $value;
254
255
        return $this;
256
    }
257
258
    /**
259
     * @param string $value
260
     *
261
     * @return $this
262
     */
263
    public function withOperatorId($value)
264
    {
265
        $this->data['OperatorId'] = $value;
266
        $this->options['form_params']['OperatorId'] = $value;
267
268
        return $this;
269
    }
270
271
    /**
272
     * @param string $value
273
     *
274
     * @return $this
275
     */
276
    public function withAcceptorId($value)
277
    {
278
        $this->data['AcceptorId'] = $value;
279
        $this->options['form_params']['AcceptorId'] = $value;
280
281
        return $this;
282
    }
283
}
284
285
/**
286
 * @method string getClientToken()
287
 * @method string getInstanceId()
288
 * @method string getAccountName()
289
 * @method string getMethod()
290
 */
291
class ChangeChatAgentStatus extends Rpc
292
{
293
294
    /**
295
     * @param string $value
296
     *
297
     * @return $this
298
     */
299
    public function withClientToken($value)
300
    {
301
        $this->data['ClientToken'] = $value;
302
        $this->options['form_params']['ClientToken'] = $value;
303
304
        return $this;
305
    }
306
307
    /**
308
     * @param string $value
309
     *
310
     * @return $this
311
     */
312
    public function withInstanceId($value)
313
    {
314
        $this->data['InstanceId'] = $value;
315
        $this->options['form_params']['InstanceId'] = $value;
316
317
        return $this;
318
    }
319
320
    /**
321
     * @param string $value
322
     *
323
     * @return $this
324
     */
325
    public function withAccountName($value)
326
    {
327
        $this->data['AccountName'] = $value;
328
        $this->options['form_params']['AccountName'] = $value;
329
330
        return $this;
331
    }
332
333
    /**
334
     * @param string $value
335
     *
336
     * @return $this
337
     */
338
    public function withMethod($value)
339
    {
340
        $this->data['Method'] = $value;
341
        $this->options['form_params']['Method'] = $value;
342
343
        return $this;
344
    }
345
}
346
347
/**
348
 * @method string getClientToken()
349
 * @method string getInstanceId()
350
 * @method string getTicketId()
351
 * @method string getActionItems()
352
 * @method string getOperatorId()
353
 */
354
class CloseTicket extends Rpc
355
{
356
357
    /**
358
     * @param string $value
359
     *
360
     * @return $this
361
     */
362
    public function withClientToken($value)
363
    {
364
        $this->data['ClientToken'] = $value;
365
        $this->options['form_params']['ClientToken'] = $value;
366
367
        return $this;
368
    }
369
370
    /**
371
     * @param string $value
372
     *
373
     * @return $this
374
     */
375
    public function withInstanceId($value)
376
    {
377
        $this->data['InstanceId'] = $value;
378
        $this->options['form_params']['InstanceId'] = $value;
379
380
        return $this;
381
    }
382
383
    /**
384
     * @param string $value
385
     *
386
     * @return $this
387
     */
388
    public function withTicketId($value)
389
    {
390
        $this->data['TicketId'] = $value;
391
        $this->options['form_params']['TicketId'] = $value;
392
393
        return $this;
394
    }
395
396
    /**
397
     * @param string $value
398
     *
399
     * @return $this
400
     */
401
    public function withActionItems($value)
402
    {
403
        $this->data['ActionItems'] = $value;
404
        $this->options['form_params']['ActionItems'] = $value;
405
406
        return $this;
407
    }
408
409
    /**
410
     * @param string $value
411
     *
412
     * @return $this
413
     */
414
    public function withOperatorId($value)
415
    {
416
        $this->data['OperatorId'] = $value;
417
        $this->options['form_params']['OperatorId'] = $value;
418
419
        return $this;
420
    }
421
}
422
423
/**
424
 * @method string getClientToken()
425
 * @method string getInstanceId()
426
 * @method string getAccountName()
427
 * @method string getDisplayName()
428
 * @method string getSkillGroupId()
429
 * @method string getSkillGroupIdList()
430
 */
431
class CreateAgent extends Rpc
432
{
433
434
    /**
435
     * @param string $value
436
     *
437
     * @return $this
438
     */
439
    public function withClientToken($value)
440
    {
441
        $this->data['ClientToken'] = $value;
442
        $this->options['form_params']['ClientToken'] = $value;
443
444
        return $this;
445
    }
446
447
    /**
448
     * @param string $value
449
     *
450
     * @return $this
451
     */
452
    public function withInstanceId($value)
453
    {
454
        $this->data['InstanceId'] = $value;
455
        $this->options['form_params']['InstanceId'] = $value;
456
457
        return $this;
458
    }
459
460
    /**
461
     * @param string $value
462
     *
463
     * @return $this
464
     */
465
    public function withAccountName($value)
466
    {
467
        $this->data['AccountName'] = $value;
468
        $this->options['form_params']['AccountName'] = $value;
469
470
        return $this;
471
    }
472
473
    /**
474
     * @param string $value
475
     *
476
     * @return $this
477
     */
478
    public function withDisplayName($value)
479
    {
480
        $this->data['DisplayName'] = $value;
481
        $this->options['form_params']['DisplayName'] = $value;
482
483
        return $this;
484
    }
485
486
    /**
487
     * @param string $value
488
     *
489
     * @return $this
490
     */
491
    public function withSkillGroupId($value)
492
    {
493
        $this->data['SkillGroupId'] = $value;
494
        $this->options['form_params']['SkillGroupId'] = $value;
495
496
        return $this;
497
    }
498
499
    /**
500
     * @param string $value
501
     *
502
     * @return $this
503
     */
504
    public function withSkillGroupIdList($value)
505
    {
506
        $this->data['SkillGroupIdList'] = $value;
507
        $this->options['form_params']['SkillGroupIdList'] = $value;
508
509
        return $this;
510
    }
511
}
512
513
/**
514
 * @method string getIndustry()
515
 * @method $this withIndustry($value)
516
 * @method string getOuterIdType()
517
 * @method $this withOuterIdType($value)
518
 * @method string getDingding()
519
 * @method $this withDingding($value)
520
 * @method string getBizType()
521
 * @method $this withBizType($value)
522
 * @method string getTypeCode()
523
 * @method $this withTypeCode($value)
524
 * @method string getInstanceId()
525
 * @method $this withInstanceId($value)
526
 * @method string getContacter()
527
 * @method $this withContacter($value)
528
 * @method string getProdLineId()
529
 * @method $this withProdLineId($value)
530
 * @method string getPhone()
531
 * @method $this withPhone($value)
532
 * @method string getName()
533
 * @method $this withName($value)
534
 * @method string getManagerName()
535
 * @method $this withManagerName($value)
536
 * @method string getOuterId()
537
 * @method $this withOuterId($value)
538
 * @method string getPosition()
539
 * @method $this withPosition($value)
540
 * @method string getEmail()
541
 * @method $this withEmail($value)
542
 */
543
class CreateCustomer extends Rpc
544
{
545
}
546
547
/**
548
 * @method string getExtInfo()
549
 * @method string getDepartmentId()
550
 * @method string getGroupId()
551
 * @method string getEntityName()
552
 * @method string getEntityId()
553
 * @method string getEntityBizCodeType()
554
 * @method string getEntityBizCode()
555
 * @method string getInstanceId()
556
 * @method string getEntityRelationNumber()
557
 * @method string getServiceId()
558
 */
559
class CreateEntityIvrRoute extends Rpc
560
{
561
562
    /**
563
     * @param string $value
564
     *
565
     * @return $this
566
     */
567
    public function withExtInfo($value)
568
    {
569
        $this->data['ExtInfo'] = $value;
570
        $this->options['form_params']['ExtInfo'] = $value;
571
572
        return $this;
573
    }
574
575
    /**
576
     * @param string $value
577
     *
578
     * @return $this
579
     */
580
    public function withDepartmentId($value)
581
    {
582
        $this->data['DepartmentId'] = $value;
583
        $this->options['form_params']['DepartmentId'] = $value;
584
585
        return $this;
586
    }
587
588
    /**
589
     * @param string $value
590
     *
591
     * @return $this
592
     */
593
    public function withGroupId($value)
594
    {
595
        $this->data['GroupId'] = $value;
596
        $this->options['form_params']['GroupId'] = $value;
597
598
        return $this;
599
    }
600
601
    /**
602
     * @param string $value
603
     *
604
     * @return $this
605
     */
606
    public function withEntityName($value)
607
    {
608
        $this->data['EntityName'] = $value;
609
        $this->options['form_params']['EntityName'] = $value;
610
611
        return $this;
612
    }
613
614
    /**
615
     * @param string $value
616
     *
617
     * @return $this
618
     */
619
    public function withEntityId($value)
620
    {
621
        $this->data['EntityId'] = $value;
622
        $this->options['form_params']['EntityId'] = $value;
623
624
        return $this;
625
    }
626
627
    /**
628
     * @param string $value
629
     *
630
     * @return $this
631
     */
632
    public function withEntityBizCodeType($value)
633
    {
634
        $this->data['EntityBizCodeType'] = $value;
635
        $this->options['form_params']['EntityBizCodeType'] = $value;
636
637
        return $this;
638
    }
639
640
    /**
641
     * @param string $value
642
     *
643
     * @return $this
644
     */
645
    public function withEntityBizCode($value)
646
    {
647
        $this->data['EntityBizCode'] = $value;
648
        $this->options['form_params']['EntityBizCode'] = $value;
649
650
        return $this;
651
    }
652
653
    /**
654
     * @param string $value
655
     *
656
     * @return $this
657
     */
658
    public function withInstanceId($value)
659
    {
660
        $this->data['InstanceId'] = $value;
661
        $this->options['form_params']['InstanceId'] = $value;
662
663
        return $this;
664
    }
665
666
    /**
667
     * @param string $value
668
     *
669
     * @return $this
670
     */
671
    public function withEntityRelationNumber($value)
672
    {
673
        $this->data['EntityRelationNumber'] = $value;
674
        $this->options['form_params']['EntityRelationNumber'] = $value;
675
676
        return $this;
677
    }
678
679
    /**
680
     * @param string $value
681
     *
682
     * @return $this
683
     */
684
    public function withServiceId($value)
685
    {
686
        $this->data['ServiceId'] = $value;
687
        $this->options['form_params']['ServiceId'] = $value;
688
689
        return $this;
690
    }
691
}
692
693
/**
694
 * @method string getExtInfo()
695
 * @method string getRecordUrl()
696
 * @method string getEndReason()
697
 * @method string getSessionId()
698
 * @method string getFromPhoneNum()
699
 * @method string getInterveneTime()
700
 * @method string getBizType()
701
 * @method string getInstanceId()
702
 * @method string getToPhoneNum()
703
 * @method string getBizId()
704
 * @method string getTenantId()
705
 * @method string getCallType()
706
 * @method string getUserInfo()
707
 */
708
class CreateOuterCallCenterData extends Rpc
709
{
710
711
    /**
712
     * @param string $value
713
     *
714
     * @return $this
715
     */
716
    public function withExtInfo($value)
717
    {
718
        $this->data['ExtInfo'] = $value;
719
        $this->options['form_params']['ExtInfo'] = $value;
720
721
        return $this;
722
    }
723
724
    /**
725
     * @param string $value
726
     *
727
     * @return $this
728
     */
729
    public function withRecordUrl($value)
730
    {
731
        $this->data['RecordUrl'] = $value;
732
        $this->options['form_params']['RecordUrl'] = $value;
733
734
        return $this;
735
    }
736
737
    /**
738
     * @param string $value
739
     *
740
     * @return $this
741
     */
742
    public function withEndReason($value)
743
    {
744
        $this->data['EndReason'] = $value;
745
        $this->options['form_params']['EndReason'] = $value;
746
747
        return $this;
748
    }
749
750
    /**
751
     * @param string $value
752
     *
753
     * @return $this
754
     */
755
    public function withSessionId($value)
756
    {
757
        $this->data['SessionId'] = $value;
758
        $this->options['form_params']['SessionId'] = $value;
759
760
        return $this;
761
    }
762
763
    /**
764
     * @param string $value
765
     *
766
     * @return $this
767
     */
768
    public function withFromPhoneNum($value)
769
    {
770
        $this->data['FromPhoneNum'] = $value;
771
        $this->options['form_params']['FromPhoneNum'] = $value;
772
773
        return $this;
774
    }
775
776
    /**
777
     * @param string $value
778
     *
779
     * @return $this
780
     */
781
    public function withInterveneTime($value)
782
    {
783
        $this->data['InterveneTime'] = $value;
784
        $this->options['form_params']['InterveneTime'] = $value;
785
786
        return $this;
787
    }
788
789
    /**
790
     * @param string $value
791
     *
792
     * @return $this
793
     */
794
    public function withBizType($value)
795
    {
796
        $this->data['BizType'] = $value;
797
        $this->options['form_params']['BizType'] = $value;
798
799
        return $this;
800
    }
801
802
    /**
803
     * @param string $value
804
     *
805
     * @return $this
806
     */
807
    public function withInstanceId($value)
808
    {
809
        $this->data['InstanceId'] = $value;
810
        $this->options['form_params']['InstanceId'] = $value;
811
812
        return $this;
813
    }
814
815
    /**
816
     * @param string $value
817
     *
818
     * @return $this
819
     */
820
    public function withToPhoneNum($value)
821
    {
822
        $this->data['ToPhoneNum'] = $value;
823
        $this->options['form_params']['ToPhoneNum'] = $value;
824
825
        return $this;
826
    }
827
828
    /**
829
     * @param string $value
830
     *
831
     * @return $this
832
     */
833
    public function withBizId($value)
834
    {
835
        $this->data['BizId'] = $value;
836
        $this->options['form_params']['BizId'] = $value;
837
838
        return $this;
839
    }
840
841
    /**
842
     * @param string $value
843
     *
844
     * @return $this
845
     */
846
    public function withTenantId($value)
847
    {
848
        $this->data['TenantId'] = $value;
849
        $this->options['form_params']['TenantId'] = $value;
850
851
        return $this;
852
    }
853
854
    /**
855
     * @param string $value
856
     *
857
     * @return $this
858
     */
859
    public function withCallType($value)
860
    {
861
        $this->data['CallType'] = $value;
862
        $this->options['form_params']['CallType'] = $value;
863
864
        return $this;
865
    }
866
867
    /**
868
     * @param string $value
869
     *
870
     * @return $this
871
     */
872
    public function withUserInfo($value)
873
    {
874
        $this->data['UserInfo'] = $value;
875
        $this->options['form_params']['UserInfo'] = $value;
876
877
        return $this;
878
    }
879
}
880
881
/**
882
 * @method string getClientToken()
883
 * @method string getInstanceId()
884
 * @method string getRoleName()
885
 * @method array getPermissionId()
886
 * @method string getOperator()
887
 */
888
class CreateRole extends Rpc
889
{
890
891
    /**
892
     * @param string $value
893
     *
894
     * @return $this
895
     */
896
    public function withClientToken($value)
897
    {
898
        $this->data['ClientToken'] = $value;
899
        $this->options['form_params']['ClientToken'] = $value;
900
901
        return $this;
902
    }
903
904
    /**
905
     * @param string $value
906
     *
907
     * @return $this
908
     */
909
    public function withInstanceId($value)
910
    {
911
        $this->data['InstanceId'] = $value;
912
        $this->options['form_params']['InstanceId'] = $value;
913
914
        return $this;
915
    }
916
917
    /**
918
     * @param string $value
919
     *
920
     * @return $this
921
     */
922
    public function withRoleName($value)
923
    {
924
        $this->data['RoleName'] = $value;
925
        $this->options['form_params']['RoleName'] = $value;
926
927
        return $this;
928
    }
929
930
    /**
931
     * @param array $permissionId
932
     *
933
     * @return $this
934
     */
935
	public function withPermissionId(array $permissionId)
936
	{
937
	    $this->data['PermissionId'] = $permissionId;
938
		foreach ($permissionId as $i => $iValue) {
939
			$this->options['form_params']['PermissionId.' . ($i + 1)] = $iValue;
940
		}
941
942
		return $this;
943
    }
944
945
    /**
946
     * @param string $value
947
     *
948
     * @return $this
949
     */
950
    public function withOperator($value)
951
    {
952
        $this->data['Operator'] = $value;
953
        $this->options['form_params']['Operator'] = $value;
954
955
        return $this;
956
    }
957
}
958
959
/**
960
 * @method string getInstanceId()
961
 * @method string getClientToken()
962
 * @method string getDisplayName()
963
 * @method string getChannelType()
964
 * @method string getSkillGroupName()
965
 * @method string getDescription()
966
 */
967
class CreateSkillGroup extends Rpc
968
{
969
970
    /**
971
     * @param string $value
972
     *
973
     * @return $this
974
     */
975
    public function withInstanceId($value)
976
    {
977
        $this->data['InstanceId'] = $value;
978
        $this->options['form_params']['InstanceId'] = $value;
979
980
        return $this;
981
    }
982
983
    /**
984
     * @param string $value
985
     *
986
     * @return $this
987
     */
988
    public function withClientToken($value)
989
    {
990
        $this->data['ClientToken'] = $value;
991
        $this->options['form_params']['ClientToken'] = $value;
992
993
        return $this;
994
    }
995
996
    /**
997
     * @param string $value
998
     *
999
     * @return $this
1000
     */
1001
    public function withDisplayName($value)
1002
    {
1003
        $this->data['DisplayName'] = $value;
1004
        $this->options['form_params']['DisplayName'] = $value;
1005
1006
        return $this;
1007
    }
1008
1009
    /**
1010
     * @param string $value
1011
     *
1012
     * @return $this
1013
     */
1014
    public function withChannelType($value)
1015
    {
1016
        $this->data['ChannelType'] = $value;
1017
        $this->options['form_params']['ChannelType'] = $value;
1018
1019
        return $this;
1020
    }
1021
1022
    /**
1023
     * @param string $value
1024
     *
1025
     * @return $this
1026
     */
1027
    public function withSkillGroupName($value)
1028
    {
1029
        $this->data['SkillGroupName'] = $value;
1030
        $this->options['form_params']['SkillGroupName'] = $value;
1031
1032
        return $this;
1033
    }
1034
1035
    /**
1036
     * @param string $value
1037
     *
1038
     * @return $this
1039
     */
1040
    public function withDescription($value)
1041
    {
1042
        $this->data['Description'] = $value;
1043
        $this->options['form_params']['Description'] = $value;
1044
1045
        return $this;
1046
    }
1047
}
1048
1049
/**
1050
 * @method string getClientToken()
1051
 * @method string getInstanceId()
1052
 * @method string getClientId()
1053
 * @method string getAccountId()
1054
 * @method string getAccountName()
1055
 * @method string getDisplayName()
1056
 * @method string getSkillGroupIds()
1057
 * @method string getRoleIds()
1058
 */
1059
class CreateThirdSsoAgent extends Rpc
1060
{
1061
1062
    /**
1063
     * @param string $value
1064
     *
1065
     * @return $this
1066
     */
1067
    public function withClientToken($value)
1068
    {
1069
        $this->data['ClientToken'] = $value;
1070
        $this->options['form_params']['ClientToken'] = $value;
1071
1072
        return $this;
1073
    }
1074
1075
    /**
1076
     * @param string $value
1077
     *
1078
     * @return $this
1079
     */
1080
    public function withInstanceId($value)
1081
    {
1082
        $this->data['InstanceId'] = $value;
1083
        $this->options['form_params']['InstanceId'] = $value;
1084
1085
        return $this;
1086
    }
1087
1088
    /**
1089
     * @param string $value
1090
     *
1091
     * @return $this
1092
     */
1093
    public function withClientId($value)
1094
    {
1095
        $this->data['ClientId'] = $value;
1096
        $this->options['form_params']['ClientId'] = $value;
1097
1098
        return $this;
1099
    }
1100
1101
    /**
1102
     * @param string $value
1103
     *
1104
     * @return $this
1105
     */
1106
    public function withAccountId($value)
1107
    {
1108
        $this->data['AccountId'] = $value;
1109
        $this->options['form_params']['AccountId'] = $value;
1110
1111
        return $this;
1112
    }
1113
1114
    /**
1115
     * @param string $value
1116
     *
1117
     * @return $this
1118
     */
1119
    public function withAccountName($value)
1120
    {
1121
        $this->data['AccountName'] = $value;
1122
        $this->options['form_params']['AccountName'] = $value;
1123
1124
        return $this;
1125
    }
1126
1127
    /**
1128
     * @param string $value
1129
     *
1130
     * @return $this
1131
     */
1132
    public function withDisplayName($value)
1133
    {
1134
        $this->data['DisplayName'] = $value;
1135
        $this->options['form_params']['DisplayName'] = $value;
1136
1137
        return $this;
1138
    }
1139
1140
    /**
1141
     * @param string $value
1142
     *
1143
     * @return $this
1144
     */
1145
    public function withSkillGroupIds($value)
1146
    {
1147
        $this->data['SkillGroupIds'] = $value;
1148
        $this->options['form_params']['SkillGroupIds'] = $value;
1149
1150
        return $this;
1151
    }
1152
1153
    /**
1154
     * @param string $value
1155
     *
1156
     * @return $this
1157
     */
1158
    public function withRoleIds($value)
1159
    {
1160
        $this->data['RoleIds'] = $value;
1161
        $this->options['form_params']['RoleIds'] = $value;
1162
1163
        return $this;
1164
    }
1165
}
1166
1167
/**
1168
 * @method string getClientToken()
1169
 * @method string getInstanceId()
1170
 * @method string getTemplateId()
1171
 * @method string getCategoryId()
1172
 * @method string getCreatorId()
1173
 * @method string getCreatorType()
1174
 * @method string getCreatorName()
1175
 * @method string getMemberId()
1176
 * @method string getMemberName()
1177
 * @method string getFromInfo()
1178
 * @method string getPriority()
1179
 * @method string getCarbonCopy()
1180
 * @method string getFormData()
1181
 */
1182
class CreateTicket extends Rpc
1183
{
1184
1185
    /**
1186
     * @param string $value
1187
     *
1188
     * @return $this
1189
     */
1190
    public function withClientToken($value)
1191
    {
1192
        $this->data['ClientToken'] = $value;
1193
        $this->options['form_params']['ClientToken'] = $value;
1194
1195
        return $this;
1196
    }
1197
1198
    /**
1199
     * @param string $value
1200
     *
1201
     * @return $this
1202
     */
1203
    public function withInstanceId($value)
1204
    {
1205
        $this->data['InstanceId'] = $value;
1206
        $this->options['form_params']['InstanceId'] = $value;
1207
1208
        return $this;
1209
    }
1210
1211
    /**
1212
     * @param string $value
1213
     *
1214
     * @return $this
1215
     */
1216
    public function withTemplateId($value)
1217
    {
1218
        $this->data['TemplateId'] = $value;
1219
        $this->options['form_params']['TemplateId'] = $value;
1220
1221
        return $this;
1222
    }
1223
1224
    /**
1225
     * @param string $value
1226
     *
1227
     * @return $this
1228
     */
1229
    public function withCategoryId($value)
1230
    {
1231
        $this->data['CategoryId'] = $value;
1232
        $this->options['form_params']['CategoryId'] = $value;
1233
1234
        return $this;
1235
    }
1236
1237
    /**
1238
     * @param string $value
1239
     *
1240
     * @return $this
1241
     */
1242
    public function withCreatorId($value)
1243
    {
1244
        $this->data['CreatorId'] = $value;
1245
        $this->options['form_params']['CreatorId'] = $value;
1246
1247
        return $this;
1248
    }
1249
1250
    /**
1251
     * @param string $value
1252
     *
1253
     * @return $this
1254
     */
1255
    public function withCreatorType($value)
1256
    {
1257
        $this->data['CreatorType'] = $value;
1258
        $this->options['form_params']['CreatorType'] = $value;
1259
1260
        return $this;
1261
    }
1262
1263
    /**
1264
     * @param string $value
1265
     *
1266
     * @return $this
1267
     */
1268
    public function withCreatorName($value)
1269
    {
1270
        $this->data['CreatorName'] = $value;
1271
        $this->options['form_params']['CreatorName'] = $value;
1272
1273
        return $this;
1274
    }
1275
1276
    /**
1277
     * @param string $value
1278
     *
1279
     * @return $this
1280
     */
1281
    public function withMemberId($value)
1282
    {
1283
        $this->data['MemberId'] = $value;
1284
        $this->options['form_params']['MemberId'] = $value;
1285
1286
        return $this;
1287
    }
1288
1289
    /**
1290
     * @param string $value
1291
     *
1292
     * @return $this
1293
     */
1294
    public function withMemberName($value)
1295
    {
1296
        $this->data['MemberName'] = $value;
1297
        $this->options['form_params']['MemberName'] = $value;
1298
1299
        return $this;
1300
    }
1301
1302
    /**
1303
     * @param string $value
1304
     *
1305
     * @return $this
1306
     */
1307
    public function withFromInfo($value)
1308
    {
1309
        $this->data['FromInfo'] = $value;
1310
        $this->options['form_params']['FromInfo'] = $value;
1311
1312
        return $this;
1313
    }
1314
1315
    /**
1316
     * @param string $value
1317
     *
1318
     * @return $this
1319
     */
1320
    public function withPriority($value)
1321
    {
1322
        $this->data['Priority'] = $value;
1323
        $this->options['form_params']['Priority'] = $value;
1324
1325
        return $this;
1326
    }
1327
1328
    /**
1329
     * @param string $value
1330
     *
1331
     * @return $this
1332
     */
1333
    public function withCarbonCopy($value)
1334
    {
1335
        $this->data['CarbonCopy'] = $value;
1336
        $this->options['form_params']['CarbonCopy'] = $value;
1337
1338
        return $this;
1339
    }
1340
1341
    /**
1342
     * @param string $value
1343
     *
1344
     * @return $this
1345
     */
1346
    public function withFormData($value)
1347
    {
1348
        $this->data['FormData'] = $value;
1349
        $this->options['form_params']['FormData'] = $value;
1350
1351
        return $this;
1352
    }
1353
}
1354
1355
/**
1356
 * @method string getFromInfo()
1357
 * @method string getClientToken()
1358
 * @method string getCarbonCopy()
1359
 * @method string getCreatorId()
1360
 * @method string getBizData()
1361
 * @method string getTemplateId()
1362
 * @method string getPriority()
1363
 * @method string getFormData()
1364
 * @method string getInstanceId()
1365
 * @method string getCreatorType()
1366
 * @method string getCreatorName()
1367
 * @method string getCategoryId()
1368
 * @method string getMemberName()
1369
 * @method string getMemberId()
1370
 */
1371
class CreateTicketWithBizData extends Rpc
1372
{
1373
1374
    /**
1375
     * @param string $value
1376
     *
1377
     * @return $this
1378
     */
1379
    public function withFromInfo($value)
1380
    {
1381
        $this->data['FromInfo'] = $value;
1382
        $this->options['form_params']['FromInfo'] = $value;
1383
1384
        return $this;
1385
    }
1386
1387
    /**
1388
     * @param string $value
1389
     *
1390
     * @return $this
1391
     */
1392
    public function withClientToken($value)
1393
    {
1394
        $this->data['ClientToken'] = $value;
1395
        $this->options['form_params']['ClientToken'] = $value;
1396
1397
        return $this;
1398
    }
1399
1400
    /**
1401
     * @param string $value
1402
     *
1403
     * @return $this
1404
     */
1405
    public function withCarbonCopy($value)
1406
    {
1407
        $this->data['CarbonCopy'] = $value;
1408
        $this->options['form_params']['CarbonCopy'] = $value;
1409
1410
        return $this;
1411
    }
1412
1413
    /**
1414
     * @param string $value
1415
     *
1416
     * @return $this
1417
     */
1418
    public function withCreatorId($value)
1419
    {
1420
        $this->data['CreatorId'] = $value;
1421
        $this->options['form_params']['CreatorId'] = $value;
1422
1423
        return $this;
1424
    }
1425
1426
    /**
1427
     * @param string $value
1428
     *
1429
     * @return $this
1430
     */
1431
    public function withBizData($value)
1432
    {
1433
        $this->data['BizData'] = $value;
1434
        $this->options['form_params']['BizData'] = $value;
1435
1436
        return $this;
1437
    }
1438
1439
    /**
1440
     * @param string $value
1441
     *
1442
     * @return $this
1443
     */
1444
    public function withTemplateId($value)
1445
    {
1446
        $this->data['TemplateId'] = $value;
1447
        $this->options['form_params']['TemplateId'] = $value;
1448
1449
        return $this;
1450
    }
1451
1452
    /**
1453
     * @param string $value
1454
     *
1455
     * @return $this
1456
     */
1457
    public function withPriority($value)
1458
    {
1459
        $this->data['Priority'] = $value;
1460
        $this->options['form_params']['Priority'] = $value;
1461
1462
        return $this;
1463
    }
1464
1465
    /**
1466
     * @param string $value
1467
     *
1468
     * @return $this
1469
     */
1470
    public function withFormData($value)
1471
    {
1472
        $this->data['FormData'] = $value;
1473
        $this->options['form_params']['FormData'] = $value;
1474
1475
        return $this;
1476
    }
1477
1478
    /**
1479
     * @param string $value
1480
     *
1481
     * @return $this
1482
     */
1483
    public function withInstanceId($value)
1484
    {
1485
        $this->data['InstanceId'] = $value;
1486
        $this->options['form_params']['InstanceId'] = $value;
1487
1488
        return $this;
1489
    }
1490
1491
    /**
1492
     * @param string $value
1493
     *
1494
     * @return $this
1495
     */
1496
    public function withCreatorType($value)
1497
    {
1498
        $this->data['CreatorType'] = $value;
1499
        $this->options['form_params']['CreatorType'] = $value;
1500
1501
        return $this;
1502
    }
1503
1504
    /**
1505
     * @param string $value
1506
     *
1507
     * @return $this
1508
     */
1509
    public function withCreatorName($value)
1510
    {
1511
        $this->data['CreatorName'] = $value;
1512
        $this->options['form_params']['CreatorName'] = $value;
1513
1514
        return $this;
1515
    }
1516
1517
    /**
1518
     * @param string $value
1519
     *
1520
     * @return $this
1521
     */
1522
    public function withCategoryId($value)
1523
    {
1524
        $this->data['CategoryId'] = $value;
1525
        $this->options['form_params']['CategoryId'] = $value;
1526
1527
        return $this;
1528
    }
1529
1530
    /**
1531
     * @param string $value
1532
     *
1533
     * @return $this
1534
     */
1535
    public function withMemberName($value)
1536
    {
1537
        $this->data['MemberName'] = $value;
1538
        $this->options['form_params']['MemberName'] = $value;
1539
1540
        return $this;
1541
    }
1542
1543
    /**
1544
     * @param string $value
1545
     *
1546
     * @return $this
1547
     */
1548
    public function withMemberId($value)
1549
    {
1550
        $this->data['MemberId'] = $value;
1551
        $this->options['form_params']['MemberId'] = $value;
1552
1553
        return $this;
1554
    }
1555
}
1556
1557
/**
1558
 * @method string getClientToken()
1559
 * @method $this withClientToken($value)
1560
 * @method string getInstanceId()
1561
 * @method $this withInstanceId($value)
1562
 * @method string getAccountName()
1563
 * @method $this withAccountName($value)
1564
 */
1565
class DeleteAgent extends Rpc
1566
{
1567
1568
    /** @var string */
1569
    public $method = 'DELETE';
1570
}
1571
1572
/**
1573
 * @method string getInstanceId()
1574
 * @method string getUniqueId()
1575
 */
1576
class DeleteEntityRoute extends Rpc
1577
{
1578
1579
    /**
1580
     * @param string $value
1581
     *
1582
     * @return $this
1583
     */
1584
    public function withInstanceId($value)
1585
    {
1586
        $this->data['InstanceId'] = $value;
1587
        $this->options['form_params']['InstanceId'] = $value;
1588
1589
        return $this;
1590
    }
1591
1592
    /**
1593
     * @param string $value
1594
     *
1595
     * @return $this
1596
     */
1597
    public function withUniqueId($value)
1598
    {
1599
        $this->data['UniqueId'] = $value;
1600
        $this->options['form_params']['UniqueId'] = $value;
1601
1602
        return $this;
1603
    }
1604
}
1605
1606
/**
1607
 * @method string getClientToken()
1608
 * @method string getInstanceId()
1609
 * @method string getRoleId()
1610
 */
1611
class DisableRole extends Rpc
1612
{
1613
1614
    /**
1615
     * @param string $value
1616
     *
1617
     * @return $this
1618
     */
1619
    public function withClientToken($value)
1620
    {
1621
        $this->data['ClientToken'] = $value;
1622
        $this->options['form_params']['ClientToken'] = $value;
1623
1624
        return $this;
1625
    }
1626
1627
    /**
1628
     * @param string $value
1629
     *
1630
     * @return $this
1631
     */
1632
    public function withInstanceId($value)
1633
    {
1634
        $this->data['InstanceId'] = $value;
1635
        $this->options['form_params']['InstanceId'] = $value;
1636
1637
        return $this;
1638
    }
1639
1640
    /**
1641
     * @param string $value
1642
     *
1643
     * @return $this
1644
     */
1645
    public function withRoleId($value)
1646
    {
1647
        $this->data['RoleId'] = $value;
1648
        $this->options['form_params']['RoleId'] = $value;
1649
1650
        return $this;
1651
    }
1652
}
1653
1654
/**
1655
 * @method string getExtInfo()
1656
 * @method string getDepartmentId()
1657
 * @method string getGroupId()
1658
 * @method string getEntityName()
1659
 * @method string getEntityId()
1660
 * @method string getEntityBizCodeType()
1661
 * @method string getEntityBizCode()
1662
 * @method string getInstanceId()
1663
 * @method string getEntityRelationNumber()
1664
 * @method string getServiceId()
1665
 * @method string getUniqueId()
1666
 */
1667
class EditEntityRoute extends Rpc
1668
{
1669
1670
    /**
1671
     * @param string $value
1672
     *
1673
     * @return $this
1674
     */
1675
    public function withExtInfo($value)
1676
    {
1677
        $this->data['ExtInfo'] = $value;
1678
        $this->options['form_params']['ExtInfo'] = $value;
1679
1680
        return $this;
1681
    }
1682
1683
    /**
1684
     * @param string $value
1685
     *
1686
     * @return $this
1687
     */
1688
    public function withDepartmentId($value)
1689
    {
1690
        $this->data['DepartmentId'] = $value;
1691
        $this->options['form_params']['DepartmentId'] = $value;
1692
1693
        return $this;
1694
    }
1695
1696
    /**
1697
     * @param string $value
1698
     *
1699
     * @return $this
1700
     */
1701
    public function withGroupId($value)
1702
    {
1703
        $this->data['GroupId'] = $value;
1704
        $this->options['form_params']['GroupId'] = $value;
1705
1706
        return $this;
1707
    }
1708
1709
    /**
1710
     * @param string $value
1711
     *
1712
     * @return $this
1713
     */
1714
    public function withEntityName($value)
1715
    {
1716
        $this->data['EntityName'] = $value;
1717
        $this->options['form_params']['EntityName'] = $value;
1718
1719
        return $this;
1720
    }
1721
1722
    /**
1723
     * @param string $value
1724
     *
1725
     * @return $this
1726
     */
1727
    public function withEntityId($value)
1728
    {
1729
        $this->data['EntityId'] = $value;
1730
        $this->options['form_params']['EntityId'] = $value;
1731
1732
        return $this;
1733
    }
1734
1735
    /**
1736
     * @param string $value
1737
     *
1738
     * @return $this
1739
     */
1740
    public function withEntityBizCodeType($value)
1741
    {
1742
        $this->data['EntityBizCodeType'] = $value;
1743
        $this->options['form_params']['EntityBizCodeType'] = $value;
1744
1745
        return $this;
1746
    }
1747
1748
    /**
1749
     * @param string $value
1750
     *
1751
     * @return $this
1752
     */
1753
    public function withEntityBizCode($value)
1754
    {
1755
        $this->data['EntityBizCode'] = $value;
1756
        $this->options['form_params']['EntityBizCode'] = $value;
1757
1758
        return $this;
1759
    }
1760
1761
    /**
1762
     * @param string $value
1763
     *
1764
     * @return $this
1765
     */
1766
    public function withInstanceId($value)
1767
    {
1768
        $this->data['InstanceId'] = $value;
1769
        $this->options['form_params']['InstanceId'] = $value;
1770
1771
        return $this;
1772
    }
1773
1774
    /**
1775
     * @param string $value
1776
     *
1777
     * @return $this
1778
     */
1779
    public function withEntityRelationNumber($value)
1780
    {
1781
        $this->data['EntityRelationNumber'] = $value;
1782
        $this->options['form_params']['EntityRelationNumber'] = $value;
1783
1784
        return $this;
1785
    }
1786
1787
    /**
1788
     * @param string $value
1789
     *
1790
     * @return $this
1791
     */
1792
    public function withServiceId($value)
1793
    {
1794
        $this->data['ServiceId'] = $value;
1795
        $this->options['form_params']['ServiceId'] = $value;
1796
1797
        return $this;
1798
    }
1799
1800
    /**
1801
     * @param string $value
1802
     *
1803
     * @return $this
1804
     */
1805
    public function withUniqueId($value)
1806
    {
1807
        $this->data['UniqueId'] = $value;
1808
        $this->options['form_params']['UniqueId'] = $value;
1809
1810
        return $this;
1811
    }
1812
}
1813
1814
/**
1815
 * @method string getClientToken()
1816
 * @method string getInstanceId()
1817
 * @method string getRoleId()
1818
 */
1819
class EnableRole extends Rpc
1820
{
1821
1822
    /**
1823
     * @param string $value
1824
     *
1825
     * @return $this
1826
     */
1827
    public function withClientToken($value)
1828
    {
1829
        $this->data['ClientToken'] = $value;
1830
        $this->options['form_params']['ClientToken'] = $value;
1831
1832
        return $this;
1833
    }
1834
1835
    /**
1836
     * @param string $value
1837
     *
1838
     * @return $this
1839
     */
1840
    public function withInstanceId($value)
1841
    {
1842
        $this->data['InstanceId'] = $value;
1843
        $this->options['form_params']['InstanceId'] = $value;
1844
1845
        return $this;
1846
    }
1847
1848
    /**
1849
     * @param string $value
1850
     *
1851
     * @return $this
1852
     */
1853
    public function withRoleId($value)
1854
    {
1855
        $this->data['RoleId'] = $value;
1856
        $this->options['form_params']['RoleId'] = $value;
1857
1858
        return $this;
1859
    }
1860
}
1861
1862
/**
1863
 * @method string getClientToken()
1864
 * @method string getInstanceId()
1865
 * @method string getTicketId()
1866
 * @method string getOperatorId()
1867
 * @method string getActivityCode()
1868
 * @method string getActivityForm()
1869
 */
1870
class ExecuteActivity extends Rpc
1871
{
1872
1873
    /**
1874
     * @param string $value
1875
     *
1876
     * @return $this
1877
     */
1878
    public function withClientToken($value)
1879
    {
1880
        $this->data['ClientToken'] = $value;
1881
        $this->options['form_params']['ClientToken'] = $value;
1882
1883
        return $this;
1884
    }
1885
1886
    /**
1887
     * @param string $value
1888
     *
1889
     * @return $this
1890
     */
1891
    public function withInstanceId($value)
1892
    {
1893
        $this->data['InstanceId'] = $value;
1894
        $this->options['form_params']['InstanceId'] = $value;
1895
1896
        return $this;
1897
    }
1898
1899
    /**
1900
     * @param string $value
1901
     *
1902
     * @return $this
1903
     */
1904
    public function withTicketId($value)
1905
    {
1906
        $this->data['TicketId'] = $value;
1907
        $this->options['form_params']['TicketId'] = $value;
1908
1909
        return $this;
1910
    }
1911
1912
    /**
1913
     * @param string $value
1914
     *
1915
     * @return $this
1916
     */
1917
    public function withOperatorId($value)
1918
    {
1919
        $this->data['OperatorId'] = $value;
1920
        $this->options['form_params']['OperatorId'] = $value;
1921
1922
        return $this;
1923
    }
1924
1925
    /**
1926
     * @param string $value
1927
     *
1928
     * @return $this
1929
     */
1930
    public function withActivityCode($value)
1931
    {
1932
        $this->data['ActivityCode'] = $value;
1933
        $this->options['form_params']['ActivityCode'] = $value;
1934
1935
        return $this;
1936
    }
1937
1938
    /**
1939
     * @param string $value
1940
     *
1941
     * @return $this
1942
     */
1943
    public function withActivityForm($value)
1944
    {
1945
        $this->data['ActivityForm'] = $value;
1946
        $this->options['form_params']['ActivityForm'] = $value;
1947
1948
        return $this;
1949
    }
1950
}
1951
1952
/**
1953
 * @method string getClientToken()
1954
 * @method string getInstanceId()
1955
 * @method string getAccountName()
1956
 * @method string getCallId()
1957
 * @method string getJobId()
1958
 * @method string getConnectionId()
1959
 * @method string getHoldConnectionId()
1960
 */
1961
class FetchCall extends Rpc
1962
{
1963
1964
    /**
1965
     * @param string $value
1966
     *
1967
     * @return $this
1968
     */
1969
    public function withClientToken($value)
1970
    {
1971
        $this->data['ClientToken'] = $value;
1972
        $this->options['form_params']['ClientToken'] = $value;
1973
1974
        return $this;
1975
    }
1976
1977
    /**
1978
     * @param string $value
1979
     *
1980
     * @return $this
1981
     */
1982
    public function withInstanceId($value)
1983
    {
1984
        $this->data['InstanceId'] = $value;
1985
        $this->options['form_params']['InstanceId'] = $value;
1986
1987
        return $this;
1988
    }
1989
1990
    /**
1991
     * @param string $value
1992
     *
1993
     * @return $this
1994
     */
1995
    public function withAccountName($value)
1996
    {
1997
        $this->data['AccountName'] = $value;
1998
        $this->options['form_params']['AccountName'] = $value;
1999
2000
        return $this;
2001
    }
2002
2003
    /**
2004
     * @param string $value
2005
     *
2006
     * @return $this
2007
     */
2008
    public function withCallId($value)
2009
    {
2010
        $this->data['CallId'] = $value;
2011
        $this->options['form_params']['CallId'] = $value;
2012
2013
        return $this;
2014
    }
2015
2016
    /**
2017
     * @param string $value
2018
     *
2019
     * @return $this
2020
     */
2021
    public function withJobId($value)
2022
    {
2023
        $this->data['JobId'] = $value;
2024
        $this->options['form_params']['JobId'] = $value;
2025
2026
        return $this;
2027
    }
2028
2029
    /**
2030
     * @param string $value
2031
     *
2032
     * @return $this
2033
     */
2034
    public function withConnectionId($value)
2035
    {
2036
        $this->data['ConnectionId'] = $value;
2037
        $this->options['form_params']['ConnectionId'] = $value;
2038
2039
        return $this;
2040
    }
2041
2042
    /**
2043
     * @param string $value
2044
     *
2045
     * @return $this
2046
     */
2047
    public function withHoldConnectionId($value)
2048
    {
2049
        $this->data['HoldConnectionId'] = $value;
2050
        $this->options['form_params']['HoldConnectionId'] = $value;
2051
2052
        return $this;
2053
    }
2054
}
2055
2056
/**
2057
 * @method string getClientToken()
2058
 * @method string getInstanceId()
2059
 * @method string getAccountName()
2060
 */
2061
class FinishHotlineService extends Rpc
2062
{
2063
2064
    /**
2065
     * @param string $value
2066
     *
2067
     * @return $this
2068
     */
2069
    public function withClientToken($value)
2070
    {
2071
        $this->data['ClientToken'] = $value;
2072
        $this->options['form_params']['ClientToken'] = $value;
2073
2074
        return $this;
2075
    }
2076
2077
    /**
2078
     * @param string $value
2079
     *
2080
     * @return $this
2081
     */
2082
    public function withInstanceId($value)
2083
    {
2084
        $this->data['InstanceId'] = $value;
2085
        $this->options['form_params']['InstanceId'] = $value;
2086
2087
        return $this;
2088
    }
2089
2090
    /**
2091
     * @param string $value
2092
     *
2093
     * @return $this
2094
     */
2095
    public function withAccountName($value)
2096
    {
2097
        $this->data['AccountName'] = $value;
2098
        $this->options['form_params']['AccountName'] = $value;
2099
2100
        return $this;
2101
    }
2102
}
2103
2104
/**
2105
 * @method string getClientToken()
2106
 * @method string getInstanceId()
2107
 * @method string getAccountName()
2108
 */
2109
class GenerateWebSocketSign extends Rpc
2110
{
2111
2112
    /**
2113
     * @param string $value
2114
     *
2115
     * @return $this
2116
     */
2117
    public function withClientToken($value)
2118
    {
2119
        $this->data['ClientToken'] = $value;
2120
        $this->options['form_params']['ClientToken'] = $value;
2121
2122
        return $this;
2123
    }
2124
2125
    /**
2126
     * @param string $value
2127
     *
2128
     * @return $this
2129
     */
2130
    public function withInstanceId($value)
2131
    {
2132
        $this->data['InstanceId'] = $value;
2133
        $this->options['form_params']['InstanceId'] = $value;
2134
2135
        return $this;
2136
    }
2137
2138
    /**
2139
     * @param string $value
2140
     *
2141
     * @return $this
2142
     */
2143
    public function withAccountName($value)
2144
    {
2145
        $this->data['AccountName'] = $value;
2146
        $this->options['form_params']['AccountName'] = $value;
2147
2148
        return $this;
2149
    }
2150
}
2151
2152
/**
2153
 * @method string getClientToken()
2154
 * @method $this withClientToken($value)
2155
 * @method string getInstanceId()
2156
 * @method $this withInstanceId($value)
2157
 * @method string getAccountName()
2158
 * @method $this withAccountName($value)
2159
 */
2160
class GetAgent extends Rpc
2161
{
2162
2163
    /** @var string */
2164
    public $method = 'GET';
2165
}
2166
2167
/**
2168
 * @method string getInstanceId()
2169
 * @method $this withInstanceId($value)
2170
 * @method string getForeignId()
2171
 * @method $this withForeignId($value)
2172
 * @method string getAppKey()
2173
 * @method $this withAppKey($value)
2174
 */
2175
class GetAuthInfo extends Rpc
2176
{
2177
}
2178
2179
/**
2180
 * @method string getInstanceId()
2181
 * @method $this withInstanceId($value)
2182
 * @method string getDataIdStart()
2183
 * @method $this withDataIdStart($value)
2184
 * @method string getDataIdEnd()
2185
 * @method $this withDataIdEnd($value)
2186
 * @method string getDataId()
2187
 * @method $this withDataId($value)
2188
 * @method string getHourId()
2189
 * @method $this withHourId($value)
2190
 * @method string getMinuteId()
2191
 * @method $this withMinuteId($value)
2192
 * @method string getPhoneNumbers()
2193
 * @method $this withPhoneNumbers($value)
2194
 * @method string getHavePhoneNumbers()
2195
 * @method $this withHavePhoneNumbers($value)
2196
 * @method string getPageNo()
2197
 * @method $this withPageNo($value)
2198
 * @method string getPageSize()
2199
 * @method $this withPageSize($value)
2200
 */
2201
class GetCallsPerDay extends Rpc
2202
{
2203
2204
    /** @var string */
2205
    public $method = 'GET';
2206
}
2207
2208
/**
2209
 * @method string getNick()
2210
 * @method $this withNick($value)
2211
 * @method string getSourceId()
2212
 * @method $this withSourceId($value)
2213
 * @method string getForeignId()
2214
 * @method $this withForeignId($value)
2215
 * @method string getInstanceId()
2216
 * @method $this withInstanceId($value)
2217
 */
2218
class GetCMSIdByForeignId extends Rpc
2219
{
2220
}
2221
2222
/**
2223
 * @method string getEntityBizCode()
2224
 * @method string getInstanceId()
2225
 * @method string getEntityName()
2226
 * @method string getEntityId()
2227
 * @method string getEntityRelationNumber()
2228
 * @method string getUniqueId()
2229
 */
2230
class GetEntityRoute extends Rpc
2231
{
2232
2233
    /**
2234
     * @param string $value
2235
     *
2236
     * @return $this
2237
     */
2238
    public function withEntityBizCode($value)
2239
    {
2240
        $this->data['EntityBizCode'] = $value;
2241
        $this->options['form_params']['EntityBizCode'] = $value;
2242
2243
        return $this;
2244
    }
2245
2246
    /**
2247
     * @param string $value
2248
     *
2249
     * @return $this
2250
     */
2251
    public function withInstanceId($value)
2252
    {
2253
        $this->data['InstanceId'] = $value;
2254
        $this->options['form_params']['InstanceId'] = $value;
2255
2256
        return $this;
2257
    }
2258
2259
    /**
2260
     * @param string $value
2261
     *
2262
     * @return $this
2263
     */
2264
    public function withEntityName($value)
2265
    {
2266
        $this->data['EntityName'] = $value;
2267
        $this->options['form_params']['EntityName'] = $value;
2268
2269
        return $this;
2270
    }
2271
2272
    /**
2273
     * @param string $value
2274
     *
2275
     * @return $this
2276
     */
2277
    public function withEntityId($value)
2278
    {
2279
        $this->data['EntityId'] = $value;
2280
        $this->options['form_params']['EntityId'] = $value;
2281
2282
        return $this;
2283
    }
2284
2285
    /**
2286
     * @param string $value
2287
     *
2288
     * @return $this
2289
     */
2290
    public function withEntityRelationNumber($value)
2291
    {
2292
        $this->data['EntityRelationNumber'] = $value;
2293
        $this->options['form_params']['EntityRelationNumber'] = $value;
2294
2295
        return $this;
2296
    }
2297
2298
    /**
2299
     * @param string $value
2300
     *
2301
     * @return $this
2302
     */
2303
    public function withUniqueId($value)
2304
    {
2305
        $this->data['UniqueId'] = $value;
2306
        $this->options['form_params']['UniqueId'] = $value;
2307
2308
        return $this;
2309
    }
2310
}
2311
2312
/**
2313
 * @method string getInstanceId()
2314
 * @method string getPageNo()
2315
 * @method string getPageSize()
2316
 * @method string getEntityName()
2317
 * @method string getEntityRelationNumber()
2318
 */
2319
class GetEntityRouteList extends Rpc
2320
{
2321
2322
    /**
2323
     * @param string $value
2324
     *
2325
     * @return $this
2326
     */
2327
    public function withInstanceId($value)
2328
    {
2329
        $this->data['InstanceId'] = $value;
2330
        $this->options['form_params']['InstanceId'] = $value;
2331
2332
        return $this;
2333
    }
2334
2335
    /**
2336
     * @param string $value
2337
     *
2338
     * @return $this
2339
     */
2340
    public function withPageNo($value)
2341
    {
2342
        $this->data['PageNo'] = $value;
2343
        $this->options['form_params']['PageNo'] = $value;
2344
2345
        return $this;
2346
    }
2347
2348
    /**
2349
     * @param string $value
2350
     *
2351
     * @return $this
2352
     */
2353
    public function withPageSize($value)
2354
    {
2355
        $this->data['PageSize'] = $value;
2356
        $this->options['form_params']['PageSize'] = $value;
2357
2358
        return $this;
2359
    }
2360
2361
    /**
2362
     * @param string $value
2363
     *
2364
     * @return $this
2365
     */
2366
    public function withEntityName($value)
2367
    {
2368
        $this->data['EntityName'] = $value;
2369
        $this->options['form_params']['EntityName'] = $value;
2370
2371
        return $this;
2372
    }
2373
2374
    /**
2375
     * @param string $value
2376
     *
2377
     * @return $this
2378
     */
2379
    public function withEntityRelationNumber($value)
2380
    {
2381
        $this->data['EntityRelationNumber'] = $value;
2382
        $this->options['form_params']['EntityRelationNumber'] = $value;
2383
2384
        return $this;
2385
    }
2386
}
2387
2388
/**
2389
 * @method string getInstanceId()
2390
 * @method string getEntityType()
2391
 * @method string getEntityId()
2392
 */
2393
class GetEntityTagRelation extends Rpc
2394
{
2395
2396
    /**
2397
     * @param string $value
2398
     *
2399
     * @return $this
2400
     */
2401
    public function withInstanceId($value)
2402
    {
2403
        $this->data['InstanceId'] = $value;
2404
        $this->options['form_params']['InstanceId'] = $value;
2405
2406
        return $this;
2407
    }
2408
2409
    /**
2410
     * @param string $value
2411
     *
2412
     * @return $this
2413
     */
2414
    public function withEntityType($value)
2415
    {
2416
        $this->data['EntityType'] = $value;
2417
        $this->options['form_params']['EntityType'] = $value;
2418
2419
        return $this;
2420
    }
2421
2422
    /**
2423
     * @param string $value
2424
     *
2425
     * @return $this
2426
     */
2427
    public function withEntityId($value)
2428
    {
2429
        $this->data['EntityId'] = $value;
2430
        $this->options['form_params']['EntityId'] = $value;
2431
2432
        return $this;
2433
    }
2434
}
2435
2436
/**
2437
 * @method string getClientToken()
2438
 * @method $this withClientToken($value)
2439
 * @method string getInstanceId()
2440
 * @method $this withInstanceId($value)
2441
 * @method string getAccountName()
2442
 * @method $this withAccountName($value)
2443
 */
2444
class GetGrantedRoleIds extends Rpc
2445
{
2446
2447
    /** @var string */
2448
    public $method = 'GET';
2449
}
2450
2451
/**
2452
 * @method string getClientToken()
2453
 * @method $this withClientToken($value)
2454
 * @method string getInstanceId()
2455
 * @method $this withInstanceId($value)
2456
 * @method string getAccountName()
2457
 * @method $this withAccountName($value)
2458
 */
2459
class GetHotlineAgentDetail extends Rpc
2460
{
2461
2462
    /** @var string */
2463
    public $method = 'GET';
2464
}
2465
2466
/**
2467
 * @method array getDepIds()
2468
 * @method string getEndDate()
2469
 * @method $this withEndDate($value)
2470
 * @method string getInstanceId()
2471
 * @method $this withInstanceId($value)
2472
 * @method array getGroupIds()
2473
 * @method string getPageSize()
2474
 * @method $this withPageSize($value)
2475
 * @method string getCurrentPage()
2476
 * @method $this withCurrentPage($value)
2477
 * @method string getStartDate()
2478
 * @method $this withStartDate($value)
2479
 */
2480
class GetHotlineAgentDetailReport extends Rpc
2481
{
2482
2483
    /**
2484
     * @param array $depIds
2485
     *
2486
     * @return $this
2487
     */
2488
	public function withDepIds(array $depIds)
2489
	{
2490
	    $this->data['DepIds'] = $depIds;
2491
		foreach ($depIds as $i => $iValue) {
2492
			$this->options['query']['DepIds.' . ($i + 1)] = $iValue;
2493
		}
2494
2495
		return $this;
2496
    }
2497
2498
    /**
2499
     * @param array $groupIds
2500
     *
2501
     * @return $this
2502
     */
2503
	public function withGroupIds(array $groupIds)
2504
	{
2505
	    $this->data['GroupIds'] = $groupIds;
2506
		foreach ($groupIds as $i => $iValue) {
2507
			$this->options['query']['GroupIds.' . ($i + 1)] = $iValue;
2508
		}
2509
2510
		return $this;
2511
    }
2512
}
2513
2514
/**
2515
 * @method string getInstanceId()
2516
 * @method string getAccountName()
2517
 */
2518
class GetHotlineAgentStatus extends Rpc
2519
{
2520
2521
    /**
2522
     * @param string $value
2523
     *
2524
     * @return $this
2525
     */
2526
    public function withInstanceId($value)
2527
    {
2528
        $this->data['InstanceId'] = $value;
2529
        $this->options['form_params']['InstanceId'] = $value;
2530
2531
        return $this;
2532
    }
2533
2534
    /**
2535
     * @param string $value
2536
     *
2537
     * @return $this
2538
     */
2539
    public function withAccountName($value)
2540
    {
2541
        $this->data['AccountName'] = $value;
2542
        $this->options['form_params']['AccountName'] = $value;
2543
2544
        return $this;
2545
    }
2546
}
2547
2548
/**
2549
 * @method array getDepIds()
2550
 * @method string getEndDate()
2551
 * @method $this withEndDate($value)
2552
 * @method string getInstanceId()
2553
 * @method $this withInstanceId($value)
2554
 * @method array getGroupIds()
2555
 * @method string getPageSize()
2556
 * @method $this withPageSize($value)
2557
 * @method string getCurrentPage()
2558
 * @method $this withCurrentPage($value)
2559
 * @method string getStartDate()
2560
 * @method $this withStartDate($value)
2561
 */
2562
class GetHotlineGroupDetailReport extends Rpc
2563
{
2564
2565
    /**
2566
     * @param array $depIds
2567
     *
2568
     * @return $this
2569
     */
2570
	public function withDepIds(array $depIds)
2571
	{
2572
	    $this->data['DepIds'] = $depIds;
2573
		foreach ($depIds as $i => $iValue) {
2574
			$this->options['query']['DepIds.' . ($i + 1)] = $iValue;
2575
		}
2576
2577
		return $this;
2578
    }
2579
2580
    /**
2581
     * @param array $groupIds
2582
     *
2583
     * @return $this
2584
     */
2585
	public function withGroupIds(array $groupIds)
2586
	{
2587
	    $this->data['GroupIds'] = $groupIds;
2588
		foreach ($groupIds as $i => $iValue) {
2589
			$this->options['query']['GroupIds.' . ($i + 1)] = $iValue;
2590
		}
2591
2592
		return $this;
2593
    }
2594
}
2595
2596
/**
2597
 * @method string getClientToken()
2598
 * @method $this withClientToken($value)
2599
 * @method string getInstanceId()
2600
 * @method $this withInstanceId($value)
2601
 * @method string getAccountName()
2602
 * @method $this withAccountName($value)
2603
 */
2604
class GetHotlineWaitingNumber extends Rpc
2605
{
2606
2607
    /** @var string */
2608
    public $method = 'GET';
2609
}
2610
2611
/**
2612
 * @method string getClientToken()
2613
 * @method $this withClientToken($value)
2614
 * @method string getInstanceId()
2615
 * @method $this withInstanceId($value)
2616
 * @method string getPhoneNum()
2617
 * @method $this withPhoneNum($value)
2618
 */
2619
class GetNumLocation extends Rpc
2620
{
2621
2622
    /** @var string */
2623
    public $method = 'GET';
2624
}
2625
2626
/**
2627
 * @method string getClientToken()
2628
 * @method string getInstanceId()
2629
 * @method string getAccountName()
2630
 */
2631
class GetOutbounNumList extends Rpc
2632
{
2633
2634
    /**
2635
     * @param string $value
2636
     *
2637
     * @return $this
2638
     */
2639
    public function withClientToken($value)
2640
    {
2641
        $this->data['ClientToken'] = $value;
2642
        $this->options['form_params']['ClientToken'] = $value;
2643
2644
        return $this;
2645
    }
2646
2647
    /**
2648
     * @param string $value
2649
     *
2650
     * @return $this
2651
     */
2652
    public function withInstanceId($value)
2653
    {
2654
        $this->data['InstanceId'] = $value;
2655
        $this->options['form_params']['InstanceId'] = $value;
2656
2657
        return $this;
2658
    }
2659
2660
    /**
2661
     * @param string $value
2662
     *
2663
     * @return $this
2664
     */
2665
    public function withAccountName($value)
2666
    {
2667
        $this->data['AccountName'] = $value;
2668
        $this->options['form_params']['AccountName'] = $value;
2669
2670
        return $this;
2671
    }
2672
}
2673
2674
/**
2675
 * @method string getQueryEndTime()
2676
 * @method string getInstanceId()
2677
 * @method string getToPhoneNum()
2678
 * @method string getQueryStartTime()
2679
 * @method string getBizId()
2680
 * @method string getSessionId()
2681
 * @method string getFromPhoneNum()
2682
 */
2683
class GetOuterCallCenterDataList extends Rpc
2684
{
2685
2686
    /**
2687
     * @param string $value
2688
     *
2689
     * @return $this
2690
     */
2691
    public function withQueryEndTime($value)
2692
    {
2693
        $this->data['QueryEndTime'] = $value;
2694
        $this->options['form_params']['QueryEndTime'] = $value;
2695
2696
        return $this;
2697
    }
2698
2699
    /**
2700
     * @param string $value
2701
     *
2702
     * @return $this
2703
     */
2704
    public function withInstanceId($value)
2705
    {
2706
        $this->data['InstanceId'] = $value;
2707
        $this->options['form_params']['InstanceId'] = $value;
2708
2709
        return $this;
2710
    }
2711
2712
    /**
2713
     * @param string $value
2714
     *
2715
     * @return $this
2716
     */
2717
    public function withToPhoneNum($value)
2718
    {
2719
        $this->data['ToPhoneNum'] = $value;
2720
        $this->options['form_params']['ToPhoneNum'] = $value;
2721
2722
        return $this;
2723
    }
2724
2725
    /**
2726
     * @param string $value
2727
     *
2728
     * @return $this
2729
     */
2730
    public function withQueryStartTime($value)
2731
    {
2732
        $this->data['QueryStartTime'] = $value;
2733
        $this->options['form_params']['QueryStartTime'] = $value;
2734
2735
        return $this;
2736
    }
2737
2738
    /**
2739
     * @param string $value
2740
     *
2741
     * @return $this
2742
     */
2743
    public function withBizId($value)
2744
    {
2745
        $this->data['BizId'] = $value;
2746
        $this->options['form_params']['BizId'] = $value;
2747
2748
        return $this;
2749
    }
2750
2751
    /**
2752
     * @param string $value
2753
     *
2754
     * @return $this
2755
     */
2756
    public function withSessionId($value)
2757
    {
2758
        $this->data['SessionId'] = $value;
2759
        $this->options['form_params']['SessionId'] = $value;
2760
2761
        return $this;
2762
    }
2763
2764
    /**
2765
     * @param string $value
2766
     *
2767
     * @return $this
2768
     */
2769
    public function withFromPhoneNum($value)
2770
    {
2771
        $this->data['FromPhoneNum'] = $value;
2772
        $this->options['form_params']['FromPhoneNum'] = $value;
2773
2774
        return $this;
2775
    }
2776
}
2777
2778
/**
2779
 * @method string getInstanceId()
2780
 * @method string getEntityType()
2781
 * @method string getEntityId()
2782
 */
2783
class GetTagList extends Rpc
2784
{
2785
2786
    /**
2787
     * @param string $value
2788
     *
2789
     * @return $this
2790
     */
2791
    public function withInstanceId($value)
2792
    {
2793
        $this->data['InstanceId'] = $value;
2794
        $this->options['form_params']['InstanceId'] = $value;
2795
2796
        return $this;
2797
    }
2798
2799
    /**
2800
     * @param string $value
2801
     *
2802
     * @return $this
2803
     */
2804
    public function withEntityType($value)
2805
    {
2806
        $this->data['EntityType'] = $value;
2807
        $this->options['form_params']['EntityType'] = $value;
2808
2809
        return $this;
2810
    }
2811
2812
    /**
2813
     * @param string $value
2814
     *
2815
     * @return $this
2816
     */
2817
    public function withEntityId($value)
2818
    {
2819
        $this->data['EntityId'] = $value;
2820
        $this->options['form_params']['EntityId'] = $value;
2821
2822
        return $this;
2823
    }
2824
}
2825
2826
/**
2827
 * @method string getClientToken()
2828
 * @method $this withClientToken($value)
2829
 * @method string getInstanceId()
2830
 * @method $this withInstanceId($value)
2831
 * @method string getTemplateId()
2832
 * @method $this withTemplateId($value)
2833
 */
2834
class GetTicketTemplateSchema extends Rpc
2835
{
2836
2837
    /** @var string */
2838
    public $method = 'GET';
2839
}
2840
2841
/**
2842
 * @method string getNick()
2843
 * @method string getInstanceId()
2844
 * @method string getAppKey()
2845
 * @method string getUserId()
2846
 */
2847
class GetUserToken extends Rpc
2848
{
2849
2850
    /**
2851
     * @param string $value
2852
     *
2853
     * @return $this
2854
     */
2855
    public function withNick($value)
2856
    {
2857
        $this->data['Nick'] = $value;
2858
        $this->options['form_params']['Nick'] = $value;
2859
2860
        return $this;
2861
    }
2862
2863
    /**
2864
     * @param string $value
2865
     *
2866
     * @return $this
2867
     */
2868
    public function withInstanceId($value)
2869
    {
2870
        $this->data['InstanceId'] = $value;
2871
        $this->options['form_params']['InstanceId'] = $value;
2872
2873
        return $this;
2874
    }
2875
2876
    /**
2877
     * @param string $value
2878
     *
2879
     * @return $this
2880
     */
2881
    public function withAppKey($value)
2882
    {
2883
        $this->data['AppKey'] = $value;
2884
        $this->options['form_params']['AppKey'] = $value;
2885
2886
        return $this;
2887
    }
2888
2889
    /**
2890
     * @param string $value
2891
     *
2892
     * @return $this
2893
     */
2894
    public function withUserId($value)
2895
    {
2896
        $this->data['UserId'] = $value;
2897
        $this->options['form_params']['UserId'] = $value;
2898
2899
        return $this;
2900
    }
2901
}
2902
2903
/**
2904
 * @method string getClientToken()
2905
 * @method string getInstanceId()
2906
 * @method string getAccountName()
2907
 * @method array getRoleId()
2908
 * @method string getOperator()
2909
 */
2910
class GrantRoles extends Rpc
2911
{
2912
2913
    /**
2914
     * @param string $value
2915
     *
2916
     * @return $this
2917
     */
2918
    public function withClientToken($value)
2919
    {
2920
        $this->data['ClientToken'] = $value;
2921
        $this->options['form_params']['ClientToken'] = $value;
2922
2923
        return $this;
2924
    }
2925
2926
    /**
2927
     * @param string $value
2928
     *
2929
     * @return $this
2930
     */
2931
    public function withInstanceId($value)
2932
    {
2933
        $this->data['InstanceId'] = $value;
2934
        $this->options['form_params']['InstanceId'] = $value;
2935
2936
        return $this;
2937
    }
2938
2939
    /**
2940
     * @param string $value
2941
     *
2942
     * @return $this
2943
     */
2944
    public function withAccountName($value)
2945
    {
2946
        $this->data['AccountName'] = $value;
2947
        $this->options['form_params']['AccountName'] = $value;
2948
2949
        return $this;
2950
    }
2951
2952
    /**
2953
     * @param array $roleId
2954
     *
2955
     * @return $this
2956
     */
2957
	public function withRoleId(array $roleId)
2958
	{
2959
	    $this->data['RoleId'] = $roleId;
2960
		foreach ($roleId as $i => $iValue) {
2961
			$this->options['form_params']['RoleId.' . ($i + 1)] = $iValue;
2962
		}
2963
2964
		return $this;
2965
    }
2966
2967
    /**
2968
     * @param string $value
2969
     *
2970
     * @return $this
2971
     */
2972
    public function withOperator($value)
2973
    {
2974
        $this->data['Operator'] = $value;
2975
        $this->options['form_params']['Operator'] = $value;
2976
2977
        return $this;
2978
    }
2979
}
2980
2981
/**
2982
 * @method string getClientToken()
2983
 * @method string getInstanceId()
2984
 * @method string getAccountName()
2985
 * @method string getCallId()
2986
 * @method string getJobId()
2987
 * @method string getConnectionId()
2988
 */
2989
class HangupCall extends Rpc
2990
{
2991
2992
    /**
2993
     * @param string $value
2994
     *
2995
     * @return $this
2996
     */
2997
    public function withClientToken($value)
2998
    {
2999
        $this->data['ClientToken'] = $value;
3000
        $this->options['form_params']['ClientToken'] = $value;
3001
3002
        return $this;
3003
    }
3004
3005
    /**
3006
     * @param string $value
3007
     *
3008
     * @return $this
3009
     */
3010
    public function withInstanceId($value)
3011
    {
3012
        $this->data['InstanceId'] = $value;
3013
        $this->options['form_params']['InstanceId'] = $value;
3014
3015
        return $this;
3016
    }
3017
3018
    /**
3019
     * @param string $value
3020
     *
3021
     * @return $this
3022
     */
3023
    public function withAccountName($value)
3024
    {
3025
        $this->data['AccountName'] = $value;
3026
        $this->options['form_params']['AccountName'] = $value;
3027
3028
        return $this;
3029
    }
3030
3031
    /**
3032
     * @param string $value
3033
     *
3034
     * @return $this
3035
     */
3036
    public function withCallId($value)
3037
    {
3038
        $this->data['CallId'] = $value;
3039
        $this->options['form_params']['CallId'] = $value;
3040
3041
        return $this;
3042
    }
3043
3044
    /**
3045
     * @param string $value
3046
     *
3047
     * @return $this
3048
     */
3049
    public function withJobId($value)
3050
    {
3051
        $this->data['JobId'] = $value;
3052
        $this->options['form_params']['JobId'] = $value;
3053
3054
        return $this;
3055
    }
3056
3057
    /**
3058
     * @param string $value
3059
     *
3060
     * @return $this
3061
     */
3062
    public function withConnectionId($value)
3063
    {
3064
        $this->data['ConnectionId'] = $value;
3065
        $this->options['form_params']['ConnectionId'] = $value;
3066
3067
        return $this;
3068
    }
3069
}
3070
3071
/**
3072
 * @method string getClientToken()
3073
 * @method string getInstanceId()
3074
 * @method string getAccountName()
3075
 * @method string getCallId()
3076
 * @method string getJobId()
3077
 * @method string getConnectionId()
3078
 */
3079
class HangupThirdCall extends Rpc
3080
{
3081
3082
    /**
3083
     * @param string $value
3084
     *
3085
     * @return $this
3086
     */
3087
    public function withClientToken($value)
3088
    {
3089
        $this->data['ClientToken'] = $value;
3090
        $this->options['form_params']['ClientToken'] = $value;
3091
3092
        return $this;
3093
    }
3094
3095
    /**
3096
     * @param string $value
3097
     *
3098
     * @return $this
3099
     */
3100
    public function withInstanceId($value)
3101
    {
3102
        $this->data['InstanceId'] = $value;
3103
        $this->options['form_params']['InstanceId'] = $value;
3104
3105
        return $this;
3106
    }
3107
3108
    /**
3109
     * @param string $value
3110
     *
3111
     * @return $this
3112
     */
3113
    public function withAccountName($value)
3114
    {
3115
        $this->data['AccountName'] = $value;
3116
        $this->options['form_params']['AccountName'] = $value;
3117
3118
        return $this;
3119
    }
3120
3121
    /**
3122
     * @param string $value
3123
     *
3124
     * @return $this
3125
     */
3126
    public function withCallId($value)
3127
    {
3128
        $this->data['CallId'] = $value;
3129
        $this->options['form_params']['CallId'] = $value;
3130
3131
        return $this;
3132
    }
3133
3134
    /**
3135
     * @param string $value
3136
     *
3137
     * @return $this
3138
     */
3139
    public function withJobId($value)
3140
    {
3141
        $this->data['JobId'] = $value;
3142
        $this->options['form_params']['JobId'] = $value;
3143
3144
        return $this;
3145
    }
3146
3147
    /**
3148
     * @param string $value
3149
     *
3150
     * @return $this
3151
     */
3152
    public function withConnectionId($value)
3153
    {
3154
        $this->data['ConnectionId'] = $value;
3155
        $this->options['form_params']['ConnectionId'] = $value;
3156
3157
        return $this;
3158
    }
3159
}
3160
3161
/**
3162
 * @method string getClientToken()
3163
 * @method string getInstanceId()
3164
 * @method string getAccountName()
3165
 * @method string getCallId()
3166
 * @method string getJobId()
3167
 * @method string getConnectionId()
3168
 */
3169
class HoldCall extends Rpc
3170
{
3171
3172
    /**
3173
     * @param string $value
3174
     *
3175
     * @return $this
3176
     */
3177
    public function withClientToken($value)
3178
    {
3179
        $this->data['ClientToken'] = $value;
3180
        $this->options['form_params']['ClientToken'] = $value;
3181
3182
        return $this;
3183
    }
3184
3185
    /**
3186
     * @param string $value
3187
     *
3188
     * @return $this
3189
     */
3190
    public function withInstanceId($value)
3191
    {
3192
        $this->data['InstanceId'] = $value;
3193
        $this->options['form_params']['InstanceId'] = $value;
3194
3195
        return $this;
3196
    }
3197
3198
    /**
3199
     * @param string $value
3200
     *
3201
     * @return $this
3202
     */
3203
    public function withAccountName($value)
3204
    {
3205
        $this->data['AccountName'] = $value;
3206
        $this->options['form_params']['AccountName'] = $value;
3207
3208
        return $this;
3209
    }
3210
3211
    /**
3212
     * @param string $value
3213
     *
3214
     * @return $this
3215
     */
3216
    public function withCallId($value)
3217
    {
3218
        $this->data['CallId'] = $value;
3219
        $this->options['form_params']['CallId'] = $value;
3220
3221
        return $this;
3222
    }
3223
3224
    /**
3225
     * @param string $value
3226
     *
3227
     * @return $this
3228
     */
3229
    public function withJobId($value)
3230
    {
3231
        $this->data['JobId'] = $value;
3232
        $this->options['form_params']['JobId'] = $value;
3233
3234
        return $this;
3235
    }
3236
3237
    /**
3238
     * @param string $value
3239
     *
3240
     * @return $this
3241
     */
3242
    public function withConnectionId($value)
3243
    {
3244
        $this->data['ConnectionId'] = $value;
3245
        $this->options['form_params']['ConnectionId'] = $value;
3246
3247
        return $this;
3248
    }
3249
}
3250
3251
/**
3252
 * @method string getClientToken()
3253
 * @method string getInstanceId()
3254
 * @method string getAccountName()
3255
 * @method string getCallId()
3256
 * @method string getJobId()
3257
 * @method string getConnectionId()
3258
 * @method string getHoldConnectionId()
3259
 */
3260
class JoinThirdCall extends Rpc
3261
{
3262
3263
    /**
3264
     * @param string $value
3265
     *
3266
     * @return $this
3267
     */
3268
    public function withClientToken($value)
3269
    {
3270
        $this->data['ClientToken'] = $value;
3271
        $this->options['form_params']['ClientToken'] = $value;
3272
3273
        return $this;
3274
    }
3275
3276
    /**
3277
     * @param string $value
3278
     *
3279
     * @return $this
3280
     */
3281
    public function withInstanceId($value)
3282
    {
3283
        $this->data['InstanceId'] = $value;
3284
        $this->options['form_params']['InstanceId'] = $value;
3285
3286
        return $this;
3287
    }
3288
3289
    /**
3290
     * @param string $value
3291
     *
3292
     * @return $this
3293
     */
3294
    public function withAccountName($value)
3295
    {
3296
        $this->data['AccountName'] = $value;
3297
        $this->options['form_params']['AccountName'] = $value;
3298
3299
        return $this;
3300
    }
3301
3302
    /**
3303
     * @param string $value
3304
     *
3305
     * @return $this
3306
     */
3307
    public function withCallId($value)
3308
    {
3309
        $this->data['CallId'] = $value;
3310
        $this->options['form_params']['CallId'] = $value;
3311
3312
        return $this;
3313
    }
3314
3315
    /**
3316
     * @param string $value
3317
     *
3318
     * @return $this
3319
     */
3320
    public function withJobId($value)
3321
    {
3322
        $this->data['JobId'] = $value;
3323
        $this->options['form_params']['JobId'] = $value;
3324
3325
        return $this;
3326
    }
3327
3328
    /**
3329
     * @param string $value
3330
     *
3331
     * @return $this
3332
     */
3333
    public function withConnectionId($value)
3334
    {
3335
        $this->data['ConnectionId'] = $value;
3336
        $this->options['form_params']['ConnectionId'] = $value;
3337
3338
        return $this;
3339
    }
3340
3341
    /**
3342
     * @param string $value
3343
     *
3344
     * @return $this
3345
     */
3346
    public function withHoldConnectionId($value)
3347
    {
3348
        $this->data['HoldConnectionId'] = $value;
3349
        $this->options['form_params']['HoldConnectionId'] = $value;
3350
3351
        return $this;
3352
    }
3353
}
3354
3355
/**
3356
 * @method string getClientToken()
3357
 * @method $this withClientToken($value)
3358
 * @method string getInstanceId()
3359
 * @method $this withInstanceId($value)
3360
 * @method string getSkillGroupId()
3361
 * @method $this withSkillGroupId($value)
3362
 */
3363
class ListAgentBySkillGroupId extends Rpc
3364
{
3365
3366
    /** @var string */
3367
    public $method = 'GET';
3368
}
3369
3370
/**
3371
 * @method string getClientToken()
3372
 * @method $this withClientToken($value)
3373
 * @method string getInstanceId()
3374
 * @method $this withInstanceId($value)
3375
 * @method string getCallId()
3376
 * @method $this withCallId($value)
3377
 */
3378
class ListHotlineRecord extends Rpc
3379
{
3380
3381
    /** @var string */
3382
    public $method = 'GET';
3383
}
3384
3385
/**
3386
 * @method string getClientToken()
3387
 * @method $this withClientToken($value)
3388
 * @method string getInstanceId()
3389
 * @method $this withInstanceId($value)
3390
 * @method string getAccountName()
3391
 * @method $this withAccountName($value)
3392
 */
3393
class ListOutboundPhoneNumber extends Rpc
3394
{
3395
3396
    /** @var string */
3397
    public $method = 'GET';
3398
}
3399
3400
/**
3401
 * @method string getClientToken()
3402
 * @method $this withClientToken($value)
3403
 * @method string getInstanceId()
3404
 * @method $this withInstanceId($value)
3405
 * @method string getChannelType()
3406
 * @method $this withChannelType($value)
3407
 */
3408
class ListSkillGroup extends Rpc
3409
{
3410
3411
    /** @var string */
3412
    public $method = 'GET';
3413
}
3414
3415
/**
3416
 * @method string getGroupId()
3417
 * @method $this withGroupId($value)
3418
 * @method string getServicerId()
3419
 * @method $this withServicerId($value)
3420
 * @method string getParams()
3421
 * @method $this withParams($value)
3422
 * @method string getGroupName()
3423
 * @method $this withGroupName($value)
3424
 * @method string getAcid()
3425
 * @method $this withAcid($value)
3426
 * @method string getCallingNumber()
3427
 * @method $this withCallingNumber($value)
3428
 * @method string getQueryEndTime()
3429
 * @method $this withQueryEndTime($value)
3430
 * @method string getInstanceId()
3431
 * @method $this withInstanceId($value)
3432
 * @method string getCalledNumber()
3433
 * @method $this withCalledNumber($value)
3434
 * @method string getRequestId()
3435
 * @method $this withRequestId($value)
3436
 * @method string getPageNo()
3437
 * @method $this withPageNo($value)
3438
 * @method string getQueryStartTime()
3439
 * @method $this withQueryStartTime($value)
3440
 * @method string getServicerName()
3441
 * @method $this withServicerName($value)
3442
 * @method string getPageSize()
3443
 * @method $this withPageSize($value)
3444
 * @method string getCallResult()
3445
 * @method $this withCallResult($value)
3446
 * @method string getCallType()
3447
 * @method $this withCallType($value)
3448
 * @method string getMemberName()
3449
 * @method $this withMemberName($value)
3450
 * @method string getMemberId()
3451
 * @method $this withMemberId($value)
3452
 */
3453
class QueryHotlineSession extends Rpc
3454
{
3455
}
3456
3457
/**
3458
 * @method string getFromPhoneNumList()
3459
 * @method string getCallOutStatus()
3460
 * @method string getStartDate()
3461
 * @method string getEndDate()
3462
 * @method string getInstanceId()
3463
 * @method string getPageNo()
3464
 * @method string getExtra()
3465
 * @method string getPageSize()
3466
 * @method string getToPhoneNumList()
3467
 */
3468
class QueryRingDetailList extends Rpc
3469
{
3470
3471
    /**
3472
     * @param string $value
3473
     *
3474
     * @return $this
3475
     */
3476
    public function withFromPhoneNumList($value)
3477
    {
3478
        $this->data['FromPhoneNumList'] = $value;
3479
        $this->options['form_params']['FromPhoneNumList'] = $value;
3480
3481
        return $this;
3482
    }
3483
3484
    /**
3485
     * @param string $value
3486
     *
3487
     * @return $this
3488
     */
3489
    public function withCallOutStatus($value)
3490
    {
3491
        $this->data['CallOutStatus'] = $value;
3492
        $this->options['form_params']['CallOutStatus'] = $value;
3493
3494
        return $this;
3495
    }
3496
3497
    /**
3498
     * @param string $value
3499
     *
3500
     * @return $this
3501
     */
3502
    public function withStartDate($value)
3503
    {
3504
        $this->data['StartDate'] = $value;
3505
        $this->options['form_params']['StartDate'] = $value;
3506
3507
        return $this;
3508
    }
3509
3510
    /**
3511
     * @param string $value
3512
     *
3513
     * @return $this
3514
     */
3515
    public function withEndDate($value)
3516
    {
3517
        $this->data['EndDate'] = $value;
3518
        $this->options['form_params']['EndDate'] = $value;
3519
3520
        return $this;
3521
    }
3522
3523
    /**
3524
     * @param string $value
3525
     *
3526
     * @return $this
3527
     */
3528
    public function withInstanceId($value)
3529
    {
3530
        $this->data['InstanceId'] = $value;
3531
        $this->options['form_params']['InstanceId'] = $value;
3532
3533
        return $this;
3534
    }
3535
3536
    /**
3537
     * @param string $value
3538
     *
3539
     * @return $this
3540
     */
3541
    public function withPageNo($value)
3542
    {
3543
        $this->data['PageNo'] = $value;
3544
        $this->options['form_params']['PageNo'] = $value;
3545
3546
        return $this;
3547
    }
3548
3549
    /**
3550
     * @param string $value
3551
     *
3552
     * @return $this
3553
     */
3554
    public function withExtra($value)
3555
    {
3556
        $this->data['Extra'] = $value;
3557
        $this->options['form_params']['Extra'] = $value;
3558
3559
        return $this;
3560
    }
3561
3562
    /**
3563
     * @param string $value
3564
     *
3565
     * @return $this
3566
     */
3567
    public function withPageSize($value)
3568
    {
3569
        $this->data['PageSize'] = $value;
3570
        $this->options['form_params']['PageSize'] = $value;
3571
3572
        return $this;
3573
    }
3574
3575
    /**
3576
     * @param string $value
3577
     *
3578
     * @return $this
3579
     */
3580
    public function withToPhoneNumList($value)
3581
    {
3582
        $this->data['ToPhoneNumList'] = $value;
3583
        $this->options['form_params']['ToPhoneNumList'] = $value;
3584
3585
        return $this;
3586
    }
3587
}
3588
3589
/**
3590
 * @method string getInstanceId()
3591
 * @method $this withInstanceId($value)
3592
 * @method string getViewCode()
3593
 * @method $this withViewCode($value)
3594
 * @method string getParameters()
3595
 * @method $this withParameters($value)
3596
 */
3597
class QueryServiceConfig extends Rpc
3598
{
3599
3600
    /** @var string */
3601
    public $method = 'GET';
3602
}
3603
3604
/**
3605
 * @method string getInstanceId()
3606
 * @method $this withInstanceId($value)
3607
 * @method string getGroupType()
3608
 * @method $this withGroupType($value)
3609
 * @method string getClientToken()
3610
 * @method $this withClientToken($value)
3611
 * @method string getPageNo()
3612
 * @method $this withPageNo($value)
3613
 * @method string getGroupId()
3614
 * @method $this withGroupId($value)
3615
 * @method string getPageSize()
3616
 * @method $this withPageSize($value)
3617
 * @method string getGroupName()
3618
 * @method $this withGroupName($value)
3619
 */
3620
class QuerySkillGroups extends Rpc
3621
{
3622
}
3623
3624
/**
3625
 * @method string getInstanceId()
3626
 * @method string getTicketId()
3627
 * @method array getActionCodeList()
3628
 */
3629
class QueryTicketActions extends Rpc
3630
{
3631
3632
    /**
3633
     * @param string $value
3634
     *
3635
     * @return $this
3636
     */
3637
    public function withInstanceId($value)
3638
    {
3639
        $this->data['InstanceId'] = $value;
3640
        $this->options['form_params']['InstanceId'] = $value;
3641
3642
        return $this;
3643
    }
3644
3645
    /**
3646
     * @param string $value
3647
     *
3648
     * @return $this
3649
     */
3650
    public function withTicketId($value)
3651
    {
3652
        $this->data['TicketId'] = $value;
3653
        $this->options['form_params']['TicketId'] = $value;
3654
3655
        return $this;
3656
    }
3657
3658
    /**
3659
     * @param array $actionCodeList
3660
     *
3661
     * @return $this
3662
     */
3663
	public function withActionCodeList(array $actionCodeList)
3664
	{
3665
	    $this->data['ActionCodeList'] = $actionCodeList;
3666
		foreach ($actionCodeList as $i => $iValue) {
3667
			$this->options['form_params']['ActionCodeList.' . ($i + 1)] = $iValue;
3668
		}
3669
3670
		return $this;
3671
    }
3672
}
3673
3674
/**
3675
 * @method string getClientToken()
3676
 * @method $this withClientToken($value)
3677
 * @method string getInstanceId()
3678
 * @method $this withInstanceId($value)
3679
 * @method string getOperatorId()
3680
 * @method $this withOperatorId($value)
3681
 */
3682
class QueryTicketCount extends Rpc
3683
{
3684
}
3685
3686
/**
3687
 * @method string getSrType()
3688
 * @method string getTouchId()
3689
 * @method string getDealId()
3690
 * @method string getCurrentPage()
3691
 * @method string getTaskStatus()
3692
 * @method string getInstanceId()
3693
 * @method string getAccountName()
3694
 * @method string getCaseId()
3695
 * @method string getExtra()
3696
 * @method string getChannelType()
3697
 * @method string getPageSize()
3698
 * @method string getCaseType()
3699
 * @method string getCaseStatus()
3700
 * @method string getChannelId()
3701
 */
3702
class QueryTickets extends Rpc
3703
{
3704
3705
    /**
3706
     * @param string $value
3707
     *
3708
     * @return $this
3709
     */
3710
    public function withSrType($value)
3711
    {
3712
        $this->data['SrType'] = $value;
3713
        $this->options['form_params']['SrType'] = $value;
3714
3715
        return $this;
3716
    }
3717
3718
    /**
3719
     * @param string $value
3720
     *
3721
     * @return $this
3722
     */
3723
    public function withTouchId($value)
3724
    {
3725
        $this->data['TouchId'] = $value;
3726
        $this->options['form_params']['TouchId'] = $value;
3727
3728
        return $this;
3729
    }
3730
3731
    /**
3732
     * @param string $value
3733
     *
3734
     * @return $this
3735
     */
3736
    public function withDealId($value)
3737
    {
3738
        $this->data['DealId'] = $value;
3739
        $this->options['form_params']['DealId'] = $value;
3740
3741
        return $this;
3742
    }
3743
3744
    /**
3745
     * @param string $value
3746
     *
3747
     * @return $this
3748
     */
3749
    public function withCurrentPage($value)
3750
    {
3751
        $this->data['CurrentPage'] = $value;
3752
        $this->options['form_params']['CurrentPage'] = $value;
3753
3754
        return $this;
3755
    }
3756
3757
    /**
3758
     * @param string $value
3759
     *
3760
     * @return $this
3761
     */
3762
    public function withTaskStatus($value)
3763
    {
3764
        $this->data['TaskStatus'] = $value;
3765
        $this->options['form_params']['TaskStatus'] = $value;
3766
3767
        return $this;
3768
    }
3769
3770
    /**
3771
     * @param string $value
3772
     *
3773
     * @return $this
3774
     */
3775
    public function withInstanceId($value)
3776
    {
3777
        $this->data['InstanceId'] = $value;
3778
        $this->options['form_params']['InstanceId'] = $value;
3779
3780
        return $this;
3781
    }
3782
3783
    /**
3784
     * @param string $value
3785
     *
3786
     * @return $this
3787
     */
3788
    public function withAccountName($value)
3789
    {
3790
        $this->data['AccountName'] = $value;
3791
        $this->options['form_params']['AccountName'] = $value;
3792
3793
        return $this;
3794
    }
3795
3796
    /**
3797
     * @param string $value
3798
     *
3799
     * @return $this
3800
     */
3801
    public function withCaseId($value)
3802
    {
3803
        $this->data['CaseId'] = $value;
3804
        $this->options['form_params']['CaseId'] = $value;
3805
3806
        return $this;
3807
    }
3808
3809
    /**
3810
     * @param string $value
3811
     *
3812
     * @return $this
3813
     */
3814
    public function withExtra($value)
3815
    {
3816
        $this->data['Extra'] = $value;
3817
        $this->options['form_params']['Extra'] = $value;
3818
3819
        return $this;
3820
    }
3821
3822
    /**
3823
     * @param string $value
3824
     *
3825
     * @return $this
3826
     */
3827
    public function withChannelType($value)
3828
    {
3829
        $this->data['ChannelType'] = $value;
3830
        $this->options['form_params']['ChannelType'] = $value;
3831
3832
        return $this;
3833
    }
3834
3835
    /**
3836
     * @param string $value
3837
     *
3838
     * @return $this
3839
     */
3840
    public function withPageSize($value)
3841
    {
3842
        $this->data['PageSize'] = $value;
3843
        $this->options['form_params']['PageSize'] = $value;
3844
3845
        return $this;
3846
    }
3847
3848
    /**
3849
     * @param string $value
3850
     *
3851
     * @return $this
3852
     */
3853
    public function withCaseType($value)
3854
    {
3855
        $this->data['CaseType'] = $value;
3856
        $this->options['form_params']['CaseType'] = $value;
3857
3858
        return $this;
3859
    }
3860
3861
    /**
3862
     * @param string $value
3863
     *
3864
     * @return $this
3865
     */
3866
    public function withCaseStatus($value)
3867
    {
3868
        $this->data['CaseStatus'] = $value;
3869
        $this->options['form_params']['CaseStatus'] = $value;
3870
3871
        return $this;
3872
    }
3873
3874
    /**
3875
     * @param string $value
3876
     *
3877
     * @return $this
3878
     */
3879
    public function withChannelId($value)
3880
    {
3881
        $this->data['ChannelId'] = $value;
3882
        $this->options['form_params']['ChannelId'] = $value;
3883
3884
        return $this;
3885
    }
3886
}
3887
3888
/**
3889
 * @method string getInstanceId()
3890
 * @method string getClientToken()
3891
 * @method string getSkillGroupId()
3892
 */
3893
class RemoveSkillGroup extends Rpc
3894
{
3895
3896
    /**
3897
     * @param string $value
3898
     *
3899
     * @return $this
3900
     */
3901
    public function withInstanceId($value)
3902
    {
3903
        $this->data['InstanceId'] = $value;
3904
        $this->options['form_params']['InstanceId'] = $value;
3905
3906
        return $this;
3907
    }
3908
3909
    /**
3910
     * @param string $value
3911
     *
3912
     * @return $this
3913
     */
3914
    public function withClientToken($value)
3915
    {
3916
        $this->data['ClientToken'] = $value;
3917
        $this->options['form_params']['ClientToken'] = $value;
3918
3919
        return $this;
3920
    }
3921
3922
    /**
3923
     * @param string $value
3924
     *
3925
     * @return $this
3926
     */
3927
    public function withSkillGroupId($value)
3928
    {
3929
        $this->data['SkillGroupId'] = $value;
3930
        $this->options['form_params']['SkillGroupId'] = $value;
3931
3932
        return $this;
3933
    }
3934
}
3935
3936
/**
3937
 * @method string getClientToken()
3938
 * @method $this withClientToken($value)
3939
 * @method string getInstanceId()
3940
 * @method $this withInstanceId($value)
3941
 * @method string getTicketId()
3942
 * @method $this withTicketId($value)
3943
 * @method string getStatusCode()
3944
 * @method $this withStatusCode($value)
3945
 */
3946
class SearchTicketById extends Rpc
3947
{
3948
3949
    /** @var string */
3950
    public $method = 'GET';
3951
}
3952
3953
/**
3954
 * @method string getClientToken()
3955
 * @method $this withClientToken($value)
3956
 * @method string getInstanceId()
3957
 * @method $this withInstanceId($value)
3958
 * @method string getPhone()
3959
 * @method $this withPhone($value)
3960
 * @method string getTemplateId()
3961
 * @method $this withTemplateId($value)
3962
 * @method string getTicketStatus()
3963
 * @method $this withTicketStatus($value)
3964
 * @method string getPageNo()
3965
 * @method $this withPageNo($value)
3966
 * @method string getPageSize()
3967
 * @method $this withPageSize($value)
3968
 * @method string getStartTime()
3969
 * @method $this withStartTime($value)
3970
 * @method string getEndTime()
3971
 * @method $this withEndTime($value)
3972
 */
3973
class SearchTicketByPhone extends Rpc
3974
{
3975
3976
    /** @var string */
3977
    public $method = 'GET';
3978
}
3979
3980
/**
3981
 * @method string getClientToken()
3982
 * @method $this withClientToken($value)
3983
 * @method string getInstanceId()
3984
 * @method $this withInstanceId($value)
3985
 * @method string getOperatorId()
3986
 * @method $this withOperatorId($value)
3987
 * @method string getTicketStatus()
3988
 * @method $this withTicketStatus($value)
3989
 * @method string getPageNo()
3990
 * @method $this withPageNo($value)
3991
 * @method string getPageSize()
3992
 * @method $this withPageSize($value)
3993
 * @method string getStartTime()
3994
 * @method $this withStartTime($value)
3995
 * @method string getEndTime()
3996
 * @method $this withEndTime($value)
3997
 */
3998
class SearchTicketList extends Rpc
3999
{
4000
4001
    /** @var string */
4002
    public $method = 'GET';
4003
}
4004
4005
/**
4006
 * @method string getClientToken()
4007
 * @method string getInstanceId()
4008
 * @method string getAccountName()
4009
 * @method string getToken()
4010
 */
4011
class SendHotlineHeartBeat extends Rpc
4012
{
4013
4014
    /**
4015
     * @param string $value
4016
     *
4017
     * @return $this
4018
     */
4019
    public function withClientToken($value)
4020
    {
4021
        $this->data['ClientToken'] = $value;
4022
        $this->options['form_params']['ClientToken'] = $value;
4023
4024
        return $this;
4025
    }
4026
4027
    /**
4028
     * @param string $value
4029
     *
4030
     * @return $this
4031
     */
4032
    public function withInstanceId($value)
4033
    {
4034
        $this->data['InstanceId'] = $value;
4035
        $this->options['form_params']['InstanceId'] = $value;
4036
4037
        return $this;
4038
    }
4039
4040
    /**
4041
     * @param string $value
4042
     *
4043
     * @return $this
4044
     */
4045
    public function withAccountName($value)
4046
    {
4047
        $this->data['AccountName'] = $value;
4048
        $this->options['form_params']['AccountName'] = $value;
4049
4050
        return $this;
4051
    }
4052
4053
    /**
4054
     * @param string $value
4055
     *
4056
     * @return $this
4057
     */
4058
    public function withToken($value)
4059
    {
4060
        $this->data['Token'] = $value;
4061
        $this->options['form_params']['Token'] = $value;
4062
4063
        return $this;
4064
    }
4065
}
4066
4067
/**
4068
 * @method string getCallingNumber()
4069
 * @method string getInstanceId()
4070
 * @method string getAccountName()
4071
 * @method string getCalledNumber()
4072
 * @method string getCustomerInfo()
4073
 */
4074
class SendOutboundCommand extends Rpc
4075
{
4076
4077
    /**
4078
     * @param string $value
4079
     *
4080
     * @return $this
4081
     */
4082
    public function withCallingNumber($value)
4083
    {
4084
        $this->data['CallingNumber'] = $value;
4085
        $this->options['form_params']['CallingNumber'] = $value;
4086
4087
        return $this;
4088
    }
4089
4090
    /**
4091
     * @param string $value
4092
     *
4093
     * @return $this
4094
     */
4095
    public function withInstanceId($value)
4096
    {
4097
        $this->data['InstanceId'] = $value;
4098
        $this->options['form_params']['InstanceId'] = $value;
4099
4100
        return $this;
4101
    }
4102
4103
    /**
4104
     * @param string $value
4105
     *
4106
     * @return $this
4107
     */
4108
    public function withAccountName($value)
4109
    {
4110
        $this->data['AccountName'] = $value;
4111
        $this->options['form_params']['AccountName'] = $value;
4112
4113
        return $this;
4114
    }
4115
4116
    /**
4117
     * @param string $value
4118
     *
4119
     * @return $this
4120
     */
4121
    public function withCalledNumber($value)
4122
    {
4123
        $this->data['CalledNumber'] = $value;
4124
        $this->options['form_params']['CalledNumber'] = $value;
4125
4126
        return $this;
4127
    }
4128
4129
    /**
4130
     * @param string $value
4131
     *
4132
     * @return $this
4133
     */
4134
    public function withCustomerInfo($value)
4135
    {
4136
        $this->data['CustomerInfo'] = $value;
4137
        $this->options['form_params']['CustomerInfo'] = $value;
4138
4139
        return $this;
4140
    }
4141
}
4142
4143
/**
4144
 * @method string getClientToken()
4145
 * @method string getInstanceId()
4146
 * @method string getAccountName()
4147
 * @method string getCaller()
4148
 * @method string getCallee()
4149
 */
4150
class StartCall extends Rpc
4151
{
4152
4153
    /**
4154
     * @param string $value
4155
     *
4156
     * @return $this
4157
     */
4158
    public function withClientToken($value)
4159
    {
4160
        $this->data['ClientToken'] = $value;
4161
        $this->options['form_params']['ClientToken'] = $value;
4162
4163
        return $this;
4164
    }
4165
4166
    /**
4167
     * @param string $value
4168
     *
4169
     * @return $this
4170
     */
4171
    public function withInstanceId($value)
4172
    {
4173
        $this->data['InstanceId'] = $value;
4174
        $this->options['form_params']['InstanceId'] = $value;
4175
4176
        return $this;
4177
    }
4178
4179
    /**
4180
     * @param string $value
4181
     *
4182
     * @return $this
4183
     */
4184
    public function withAccountName($value)
4185
    {
4186
        $this->data['AccountName'] = $value;
4187
        $this->options['form_params']['AccountName'] = $value;
4188
4189
        return $this;
4190
    }
4191
4192
    /**
4193
     * @param string $value
4194
     *
4195
     * @return $this
4196
     */
4197
    public function withCaller($value)
4198
    {
4199
        $this->data['Caller'] = $value;
4200
        $this->options['form_params']['Caller'] = $value;
4201
4202
        return $this;
4203
    }
4204
4205
    /**
4206
     * @param string $value
4207
     *
4208
     * @return $this
4209
     */
4210
    public function withCallee($value)
4211
    {
4212
        $this->data['Callee'] = $value;
4213
        $this->options['form_params']['Callee'] = $value;
4214
4215
        return $this;
4216
    }
4217
}
4218
4219
/**
4220
 * @method string getClientToken()
4221
 * @method string getInstanceId()
4222
 * @method string getAccountName()
4223
 * @method string getCaller()
4224
 * @method string getCallee()
4225
 * @method string getJsonMsg()
4226
 */
4227
class StartCallV2 extends Rpc
4228
{
4229
4230
    /**
4231
     * @param string $value
4232
     *
4233
     * @return $this
4234
     */
4235
    public function withClientToken($value)
4236
    {
4237
        $this->data['ClientToken'] = $value;
4238
        $this->options['form_params']['ClientToken'] = $value;
4239
4240
        return $this;
4241
    }
4242
4243
    /**
4244
     * @param string $value
4245
     *
4246
     * @return $this
4247
     */
4248
    public function withInstanceId($value)
4249
    {
4250
        $this->data['InstanceId'] = $value;
4251
        $this->options['form_params']['InstanceId'] = $value;
4252
4253
        return $this;
4254
    }
4255
4256
    /**
4257
     * @param string $value
4258
     *
4259
     * @return $this
4260
     */
4261
    public function withAccountName($value)
4262
    {
4263
        $this->data['AccountName'] = $value;
4264
        $this->options['form_params']['AccountName'] = $value;
4265
4266
        return $this;
4267
    }
4268
4269
    /**
4270
     * @param string $value
4271
     *
4272
     * @return $this
4273
     */
4274
    public function withCaller($value)
4275
    {
4276
        $this->data['Caller'] = $value;
4277
        $this->options['form_params']['Caller'] = $value;
4278
4279
        return $this;
4280
    }
4281
4282
    /**
4283
     * @param string $value
4284
     *
4285
     * @return $this
4286
     */
4287
    public function withCallee($value)
4288
    {
4289
        $this->data['Callee'] = $value;
4290
        $this->options['form_params']['Callee'] = $value;
4291
4292
        return $this;
4293
    }
4294
4295
    /**
4296
     * @param string $value
4297
     *
4298
     * @return $this
4299
     */
4300
    public function withJsonMsg($value)
4301
    {
4302
        $this->data['JsonMsg'] = $value;
4303
        $this->options['form_params']['JsonMsg'] = $value;
4304
4305
        return $this;
4306
    }
4307
}
4308
4309
/**
4310
 * @method string getInstanceId()
4311
 * @method string getAccountName()
4312
 * @method string getStationType()
4313
 * @method string getWorkType()
4314
 * @method string getUserAgent()
4315
 */
4316
class StartChatWork extends Rpc
4317
{
4318
4319
    /**
4320
     * @param string $value
4321
     *
4322
     * @return $this
4323
     */
4324
    public function withInstanceId($value)
4325
    {
4326
        $this->data['InstanceId'] = $value;
4327
        $this->options['form_params']['InstanceId'] = $value;
4328
4329
        return $this;
4330
    }
4331
4332
    /**
4333
     * @param string $value
4334
     *
4335
     * @return $this
4336
     */
4337
    public function withAccountName($value)
4338
    {
4339
        $this->data['AccountName'] = $value;
4340
        $this->options['form_params']['AccountName'] = $value;
4341
4342
        return $this;
4343
    }
4344
4345
    /**
4346
     * @param string $value
4347
     *
4348
     * @return $this
4349
     */
4350
    public function withStationType($value)
4351
    {
4352
        $this->data['StationType'] = $value;
4353
        $this->options['form_params']['StationType'] = $value;
4354
4355
        return $this;
4356
    }
4357
4358
    /**
4359
     * @param string $value
4360
     *
4361
     * @return $this
4362
     */
4363
    public function withWorkType($value)
4364
    {
4365
        $this->data['WorkType'] = $value;
4366
        $this->options['form_params']['WorkType'] = $value;
4367
4368
        return $this;
4369
    }
4370
4371
    /**
4372
     * @param string $value
4373
     *
4374
     * @return $this
4375
     */
4376
    public function withUserAgent($value)
4377
    {
4378
        $this->data['UserAgent'] = $value;
4379
        $this->options['form_params']['UserAgent'] = $value;
4380
4381
        return $this;
4382
    }
4383
}
4384
4385
/**
4386
 * @method string getClientToken()
4387
 * @method string getInstanceId()
4388
 * @method string getAccountName()
4389
 */
4390
class StartHotlineService extends Rpc
4391
{
4392
4393
    /**
4394
     * @param string $value
4395
     *
4396
     * @return $this
4397
     */
4398
    public function withClientToken($value)
4399
    {
4400
        $this->data['ClientToken'] = $value;
4401
        $this->options['form_params']['ClientToken'] = $value;
4402
4403
        return $this;
4404
    }
4405
4406
    /**
4407
     * @param string $value
4408
     *
4409
     * @return $this
4410
     */
4411
    public function withInstanceId($value)
4412
    {
4413
        $this->data['InstanceId'] = $value;
4414
        $this->options['form_params']['InstanceId'] = $value;
4415
4416
        return $this;
4417
    }
4418
4419
    /**
4420
     * @param string $value
4421
     *
4422
     * @return $this
4423
     */
4424
    public function withAccountName($value)
4425
    {
4426
        $this->data['AccountName'] = $value;
4427
        $this->options['form_params']['AccountName'] = $value;
4428
4429
        return $this;
4430
    }
4431
}
4432
4433
/**
4434
 * @method string getClientToken()
4435
 * @method string getInstanceId()
4436
 * @method string getAccountName()
4437
 * @method string getType()
4438
 */
4439
class SuspendHotlineService extends Rpc
4440
{
4441
4442
    /**
4443
     * @param string $value
4444
     *
4445
     * @return $this
4446
     */
4447
    public function withClientToken($value)
4448
    {
4449
        $this->data['ClientToken'] = $value;
4450
        $this->options['form_params']['ClientToken'] = $value;
4451
4452
        return $this;
4453
    }
4454
4455
    /**
4456
     * @param string $value
4457
     *
4458
     * @return $this
4459
     */
4460
    public function withInstanceId($value)
4461
    {
4462
        $this->data['InstanceId'] = $value;
4463
        $this->options['form_params']['InstanceId'] = $value;
4464
4465
        return $this;
4466
    }
4467
4468
    /**
4469
     * @param string $value
4470
     *
4471
     * @return $this
4472
     */
4473
    public function withAccountName($value)
4474
    {
4475
        $this->data['AccountName'] = $value;
4476
        $this->options['form_params']['AccountName'] = $value;
4477
4478
        return $this;
4479
    }
4480
4481
    /**
4482
     * @param string $value
4483
     *
4484
     * @return $this
4485
     */
4486
    public function withType($value)
4487
    {
4488
        $this->data['Type'] = $value;
4489
        $this->options['form_params']['Type'] = $value;
4490
4491
        return $this;
4492
    }
4493
}
4494
4495
/**
4496
 * @method string getClientToken()
4497
 * @method string getInstanceId()
4498
 * @method string getAccountName()
4499
 * @method string getTargetAccountName()
4500
 * @method string getCallId()
4501
 * @method string getJobId()
4502
 * @method string getConnectionId()
4503
 * @method string getHoldConnectionId()
4504
 * @method string getType()
4505
 * @method string getIsSingleTransfer()
4506
 */
4507
class TransferCallToAgent extends Rpc
4508
{
4509
4510
    /**
4511
     * @param string $value
4512
     *
4513
     * @return $this
4514
     */
4515
    public function withClientToken($value)
4516
    {
4517
        $this->data['ClientToken'] = $value;
4518
        $this->options['form_params']['ClientToken'] = $value;
4519
4520
        return $this;
4521
    }
4522
4523
    /**
4524
     * @param string $value
4525
     *
4526
     * @return $this
4527
     */
4528
    public function withInstanceId($value)
4529
    {
4530
        $this->data['InstanceId'] = $value;
4531
        $this->options['form_params']['InstanceId'] = $value;
4532
4533
        return $this;
4534
    }
4535
4536
    /**
4537
     * @param string $value
4538
     *
4539
     * @return $this
4540
     */
4541
    public function withAccountName($value)
4542
    {
4543
        $this->data['AccountName'] = $value;
4544
        $this->options['form_params']['AccountName'] = $value;
4545
4546
        return $this;
4547
    }
4548
4549
    /**
4550
     * @param string $value
4551
     *
4552
     * @return $this
4553
     */
4554
    public function withTargetAccountName($value)
4555
    {
4556
        $this->data['TargetAccountName'] = $value;
4557
        $this->options['form_params']['TargetAccountName'] = $value;
4558
4559
        return $this;
4560
    }
4561
4562
    /**
4563
     * @param string $value
4564
     *
4565
     * @return $this
4566
     */
4567
    public function withCallId($value)
4568
    {
4569
        $this->data['CallId'] = $value;
4570
        $this->options['form_params']['CallId'] = $value;
4571
4572
        return $this;
4573
    }
4574
4575
    /**
4576
     * @param string $value
4577
     *
4578
     * @return $this
4579
     */
4580
    public function withJobId($value)
4581
    {
4582
        $this->data['JobId'] = $value;
4583
        $this->options['form_params']['JobId'] = $value;
4584
4585
        return $this;
4586
    }
4587
4588
    /**
4589
     * @param string $value
4590
     *
4591
     * @return $this
4592
     */
4593
    public function withConnectionId($value)
4594
    {
4595
        $this->data['ConnectionId'] = $value;
4596
        $this->options['form_params']['ConnectionId'] = $value;
4597
4598
        return $this;
4599
    }
4600
4601
    /**
4602
     * @param string $value
4603
     *
4604
     * @return $this
4605
     */
4606
    public function withHoldConnectionId($value)
4607
    {
4608
        $this->data['HoldConnectionId'] = $value;
4609
        $this->options['form_params']['HoldConnectionId'] = $value;
4610
4611
        return $this;
4612
    }
4613
4614
    /**
4615
     * @param string $value
4616
     *
4617
     * @return $this
4618
     */
4619
    public function withType($value)
4620
    {
4621
        $this->data['Type'] = $value;
4622
        $this->options['form_params']['Type'] = $value;
4623
4624
        return $this;
4625
    }
4626
4627
    /**
4628
     * @param string $value
4629
     *
4630
     * @return $this
4631
     */
4632
    public function withIsSingleTransfer($value)
4633
    {
4634
        $this->data['IsSingleTransfer'] = $value;
4635
        $this->options['form_params']['IsSingleTransfer'] = $value;
4636
4637
        return $this;
4638
    }
4639
}
4640
4641
/**
4642
 * @method string getClientToken()
4643
 * @method string getInstanceId()
4644
 * @method string getAccountName()
4645
 * @method string getCaller()
4646
 * @method string getCallee()
4647
 * @method string getCallId()
4648
 * @method string getJobId()
4649
 * @method string getConnectionId()
4650
 * @method string getHoldConnectionId()
4651
 * @method string getType()
4652
 * @method string getIsSingleTransfer()
4653
 * @method string getCallerPhone()
4654
 * @method string getCalleePhone()
4655
 */
4656
class TransferCallToPhone extends Rpc
4657
{
4658
4659
    /**
4660
     * @param string $value
4661
     *
4662
     * @return $this
4663
     */
4664
    public function withClientToken($value)
4665
    {
4666
        $this->data['ClientToken'] = $value;
4667
        $this->options['form_params']['ClientToken'] = $value;
4668
4669
        return $this;
4670
    }
4671
4672
    /**
4673
     * @param string $value
4674
     *
4675
     * @return $this
4676
     */
4677
    public function withInstanceId($value)
4678
    {
4679
        $this->data['InstanceId'] = $value;
4680
        $this->options['form_params']['InstanceId'] = $value;
4681
4682
        return $this;
4683
    }
4684
4685
    /**
4686
     * @param string $value
4687
     *
4688
     * @return $this
4689
     */
4690
    public function withAccountName($value)
4691
    {
4692
        $this->data['AccountName'] = $value;
4693
        $this->options['form_params']['AccountName'] = $value;
4694
4695
        return $this;
4696
    }
4697
4698
    /**
4699
     * @param string $value
4700
     *
4701
     * @return $this
4702
     */
4703
    public function withCaller($value)
4704
    {
4705
        $this->data['Caller'] = $value;
4706
        $this->options['form_params']['Caller'] = $value;
4707
4708
        return $this;
4709
    }
4710
4711
    /**
4712
     * @param string $value
4713
     *
4714
     * @return $this
4715
     */
4716
    public function withCallee($value)
4717
    {
4718
        $this->data['Callee'] = $value;
4719
        $this->options['form_params']['Callee'] = $value;
4720
4721
        return $this;
4722
    }
4723
4724
    /**
4725
     * @param string $value
4726
     *
4727
     * @return $this
4728
     */
4729
    public function withCallId($value)
4730
    {
4731
        $this->data['CallId'] = $value;
4732
        $this->options['form_params']['CallId'] = $value;
4733
4734
        return $this;
4735
    }
4736
4737
    /**
4738
     * @param string $value
4739
     *
4740
     * @return $this
4741
     */
4742
    public function withJobId($value)
4743
    {
4744
        $this->data['JobId'] = $value;
4745
        $this->options['form_params']['JobId'] = $value;
4746
4747
        return $this;
4748
    }
4749
4750
    /**
4751
     * @param string $value
4752
     *
4753
     * @return $this
4754
     */
4755
    public function withConnectionId($value)
4756
    {
4757
        $this->data['ConnectionId'] = $value;
4758
        $this->options['form_params']['ConnectionId'] = $value;
4759
4760
        return $this;
4761
    }
4762
4763
    /**
4764
     * @param string $value
4765
     *
4766
     * @return $this
4767
     */
4768
    public function withHoldConnectionId($value)
4769
    {
4770
        $this->data['HoldConnectionId'] = $value;
4771
        $this->options['form_params']['HoldConnectionId'] = $value;
4772
4773
        return $this;
4774
    }
4775
4776
    /**
4777
     * @param string $value
4778
     *
4779
     * @return $this
4780
     */
4781
    public function withType($value)
4782
    {
4783
        $this->data['Type'] = $value;
4784
        $this->options['form_params']['Type'] = $value;
4785
4786
        return $this;
4787
    }
4788
4789
    /**
4790
     * @param string $value
4791
     *
4792
     * @return $this
4793
     */
4794
    public function withIsSingleTransfer($value)
4795
    {
4796
        $this->data['IsSingleTransfer'] = $value;
4797
        $this->options['form_params']['IsSingleTransfer'] = $value;
4798
4799
        return $this;
4800
    }
4801
4802
    /**
4803
     * @param string $value
4804
     *
4805
     * @return $this
4806
     */
4807
    public function withCallerPhone($value)
4808
    {
4809
        $this->data['CallerPhone'] = $value;
4810
        $this->options['form_params']['callerPhone'] = $value;
4811
4812
        return $this;
4813
    }
4814
4815
    /**
4816
     * @param string $value
4817
     *
4818
     * @return $this
4819
     */
4820
    public function withCalleePhone($value)
4821
    {
4822
        $this->data['CalleePhone'] = $value;
4823
        $this->options['form_params']['calleePhone'] = $value;
4824
4825
        return $this;
4826
    }
4827
}
4828
4829
/**
4830
 * @method string getClientToken()
4831
 * @method string getInstanceId()
4832
 * @method string getAccountName()
4833
 * @method string getSkillGroupId()
4834
 * @method string getCallId()
4835
 * @method string getJobId()
4836
 * @method string getConnectionId()
4837
 * @method string getHoldConnectionId()
4838
 * @method string getType()
4839
 * @method string getIsSingleTransfer()
4840
 */
4841
class TransferCallToSkillGroup extends Rpc
4842
{
4843
4844
    /**
4845
     * @param string $value
4846
     *
4847
     * @return $this
4848
     */
4849
    public function withClientToken($value)
4850
    {
4851
        $this->data['ClientToken'] = $value;
4852
        $this->options['form_params']['ClientToken'] = $value;
4853
4854
        return $this;
4855
    }
4856
4857
    /**
4858
     * @param string $value
4859
     *
4860
     * @return $this
4861
     */
4862
    public function withInstanceId($value)
4863
    {
4864
        $this->data['InstanceId'] = $value;
4865
        $this->options['form_params']['InstanceId'] = $value;
4866
4867
        return $this;
4868
    }
4869
4870
    /**
4871
     * @param string $value
4872
     *
4873
     * @return $this
4874
     */
4875
    public function withAccountName($value)
4876
    {
4877
        $this->data['AccountName'] = $value;
4878
        $this->options['form_params']['AccountName'] = $value;
4879
4880
        return $this;
4881
    }
4882
4883
    /**
4884
     * @param string $value
4885
     *
4886
     * @return $this
4887
     */
4888
    public function withSkillGroupId($value)
4889
    {
4890
        $this->data['SkillGroupId'] = $value;
4891
        $this->options['form_params']['SkillGroupId'] = $value;
4892
4893
        return $this;
4894
    }
4895
4896
    /**
4897
     * @param string $value
4898
     *
4899
     * @return $this
4900
     */
4901
    public function withCallId($value)
4902
    {
4903
        $this->data['CallId'] = $value;
4904
        $this->options['form_params']['CallId'] = $value;
4905
4906
        return $this;
4907
    }
4908
4909
    /**
4910
     * @param string $value
4911
     *
4912
     * @return $this
4913
     */
4914
    public function withJobId($value)
4915
    {
4916
        $this->data['JobId'] = $value;
4917
        $this->options['form_params']['JobId'] = $value;
4918
4919
        return $this;
4920
    }
4921
4922
    /**
4923
     * @param string $value
4924
     *
4925
     * @return $this
4926
     */
4927
    public function withConnectionId($value)
4928
    {
4929
        $this->data['ConnectionId'] = $value;
4930
        $this->options['form_params']['ConnectionId'] = $value;
4931
4932
        return $this;
4933
    }
4934
4935
    /**
4936
     * @param string $value
4937
     *
4938
     * @return $this
4939
     */
4940
    public function withHoldConnectionId($value)
4941
    {
4942
        $this->data['HoldConnectionId'] = $value;
4943
        $this->options['form_params']['HoldConnectionId'] = $value;
4944
4945
        return $this;
4946
    }
4947
4948
    /**
4949
     * @param string $value
4950
     *
4951
     * @return $this
4952
     */
4953
    public function withType($value)
4954
    {
4955
        $this->data['Type'] = $value;
4956
        $this->options['form_params']['Type'] = $value;
4957
4958
        return $this;
4959
    }
4960
4961
    /**
4962
     * @param string $value
4963
     *
4964
     * @return $this
4965
     */
4966
    public function withIsSingleTransfer($value)
4967
    {
4968
        $this->data['IsSingleTransfer'] = $value;
4969
        $this->options['form_params']['IsSingleTransfer'] = $value;
4970
4971
        return $this;
4972
    }
4973
}
4974
4975
/**
4976
 * @method string getClientToken()
4977
 * @method string getInstanceId()
4978
 * @method string getAccountName()
4979
 * @method string getCallId()
4980
 * @method string getJobId()
4981
 * @method string getConnectionId()
4982
 * @method string getHoldConnectionId()
4983
 */
4984
class TransferToThirdCall extends Rpc
4985
{
4986
4987
    /**
4988
     * @param string $value
4989
     *
4990
     * @return $this
4991
     */
4992
    public function withClientToken($value)
4993
    {
4994
        $this->data['ClientToken'] = $value;
4995
        $this->options['form_params']['ClientToken'] = $value;
4996
4997
        return $this;
4998
    }
4999
5000
    /**
5001
     * @param string $value
5002
     *
5003
     * @return $this
5004
     */
5005
    public function withInstanceId($value)
5006
    {
5007
        $this->data['InstanceId'] = $value;
5008
        $this->options['form_params']['InstanceId'] = $value;
5009
5010
        return $this;
5011
    }
5012
5013
    /**
5014
     * @param string $value
5015
     *
5016
     * @return $this
5017
     */
5018
    public function withAccountName($value)
5019
    {
5020
        $this->data['AccountName'] = $value;
5021
        $this->options['form_params']['AccountName'] = $value;
5022
5023
        return $this;
5024
    }
5025
5026
    /**
5027
     * @param string $value
5028
     *
5029
     * @return $this
5030
     */
5031
    public function withCallId($value)
5032
    {
5033
        $this->data['CallId'] = $value;
5034
        $this->options['form_params']['CallId'] = $value;
5035
5036
        return $this;
5037
    }
5038
5039
    /**
5040
     * @param string $value
5041
     *
5042
     * @return $this
5043
     */
5044
    public function withJobId($value)
5045
    {
5046
        $this->data['JobId'] = $value;
5047
        $this->options['form_params']['JobId'] = $value;
5048
5049
        return $this;
5050
    }
5051
5052
    /**
5053
     * @param string $value
5054
     *
5055
     * @return $this
5056
     */
5057
    public function withConnectionId($value)
5058
    {
5059
        $this->data['ConnectionId'] = $value;
5060
        $this->options['form_params']['ConnectionId'] = $value;
5061
5062
        return $this;
5063
    }
5064
5065
    /**
5066
     * @param string $value
5067
     *
5068
     * @return $this
5069
     */
5070
    public function withHoldConnectionId($value)
5071
    {
5072
        $this->data['HoldConnectionId'] = $value;
5073
        $this->options['form_params']['HoldConnectionId'] = $value;
5074
5075
        return $this;
5076
    }
5077
}
5078
5079
/**
5080
 * @method string getClientToken()
5081
 * @method string getInstanceId()
5082
 * @method string getAccountName()
5083
 * @method string getDisplayName()
5084
 * @method array getSkillGroupId()
5085
 * @method array getSkillGroupIdList()
5086
 */
5087
class UpdateAgent extends Rpc
5088
{
5089
5090
    /** @var string */
5091
    public $method = 'PUT';
5092
5093
    /**
5094
     * @param string $value
5095
     *
5096
     * @return $this
5097
     */
5098
    public function withClientToken($value)
5099
    {
5100
        $this->data['ClientToken'] = $value;
5101
        $this->options['form_params']['ClientToken'] = $value;
5102
5103
        return $this;
5104
    }
5105
5106
    /**
5107
     * @param string $value
5108
     *
5109
     * @return $this
5110
     */
5111
    public function withInstanceId($value)
5112
    {
5113
        $this->data['InstanceId'] = $value;
5114
        $this->options['form_params']['InstanceId'] = $value;
5115
5116
        return $this;
5117
    }
5118
5119
    /**
5120
     * @param string $value
5121
     *
5122
     * @return $this
5123
     */
5124
    public function withAccountName($value)
5125
    {
5126
        $this->data['AccountName'] = $value;
5127
        $this->options['form_params']['AccountName'] = $value;
5128
5129
        return $this;
5130
    }
5131
5132
    /**
5133
     * @param string $value
5134
     *
5135
     * @return $this
5136
     */
5137
    public function withDisplayName($value)
5138
    {
5139
        $this->data['DisplayName'] = $value;
5140
        $this->options['form_params']['DisplayName'] = $value;
5141
5142
        return $this;
5143
    }
5144
5145
    /**
5146
     * @param array $skillGroupId
5147
     *
5148
     * @return $this
5149
     */
5150
	public function withSkillGroupId(array $skillGroupId)
5151
	{
5152
	    $this->data['SkillGroupId'] = $skillGroupId;
5153
		foreach ($skillGroupId as $i => $iValue) {
5154
			$this->options['form_params']['SkillGroupId.' . ($i + 1)] = $iValue;
5155
		}
5156
5157
		return $this;
5158
    }
5159
5160
    /**
5161
     * @param array $skillGroupIdList
5162
     *
5163
     * @return $this
5164
     */
5165
	public function withSkillGroupIdList(array $skillGroupIdList)
5166
	{
5167
	    $this->data['SkillGroupIdList'] = $skillGroupIdList;
5168
		foreach ($skillGroupIdList as $i => $iValue) {
5169
			$this->options['form_params']['SkillGroupIdList.' . ($i + 1)] = $iValue;
5170
		}
5171
5172
		return $this;
5173
    }
5174
}
5175
5176
/**
5177
 * @method string getIndustry()
5178
 * @method $this withIndustry($value)
5179
 * @method string getOuterIdType()
5180
 * @method $this withOuterIdType($value)
5181
 * @method string getDingding()
5182
 * @method $this withDingding($value)
5183
 * @method string getBizType()
5184
 * @method $this withBizType($value)
5185
 * @method string getTypeCode()
5186
 * @method $this withTypeCode($value)
5187
 * @method string getInstanceId()
5188
 * @method $this withInstanceId($value)
5189
 * @method string getContacter()
5190
 * @method $this withContacter($value)
5191
 * @method string getProdLineId()
5192
 * @method $this withProdLineId($value)
5193
 * @method string getPhone()
5194
 * @method $this withPhone($value)
5195
 * @method string getName()
5196
 * @method $this withName($value)
5197
 * @method string getCustomerId()
5198
 * @method $this withCustomerId($value)
5199
 * @method string getManagerName()
5200
 * @method $this withManagerName($value)
5201
 * @method string getOuterId()
5202
 * @method $this withOuterId($value)
5203
 * @method string getPosition()
5204
 * @method $this withPosition($value)
5205
 * @method string getEmail()
5206
 * @method $this withEmail($value)
5207
 */
5208
class UpdateCustomer extends Rpc
5209
{
5210
}
5211
5212
/**
5213
 * @method string getInstanceId()
5214
 * @method string getEntityTagParam()
5215
 */
5216
class UpdateEntityTagRelation extends Rpc
5217
{
5218
5219
    /**
5220
     * @param string $value
5221
     *
5222
     * @return $this
5223
     */
5224
    public function withInstanceId($value)
5225
    {
5226
        $this->data['InstanceId'] = $value;
5227
        $this->options['form_params']['InstanceId'] = $value;
5228
5229
        return $this;
5230
    }
5231
5232
    /**
5233
     * @param string $value
5234
     *
5235
     * @return $this
5236
     */
5237
    public function withEntityTagParam($value)
5238
    {
5239
        $this->data['EntityTagParam'] = $value;
5240
        $this->options['form_params']['EntityTagParam'] = $value;
5241
5242
        return $this;
5243
    }
5244
}
5245
5246
/**
5247
 * @method string getInstanceId()
5248
 * @method string getExtra()
5249
 * @method string getCallOutStatus()
5250
 * @method string getUniqueBizId()
5251
 */
5252
class UpdateRingStatus extends Rpc
5253
{
5254
5255
    /**
5256
     * @param string $value
5257
     *
5258
     * @return $this
5259
     */
5260
    public function withInstanceId($value)
5261
    {
5262
        $this->data['InstanceId'] = $value;
5263
        $this->options['form_params']['InstanceId'] = $value;
5264
5265
        return $this;
5266
    }
5267
5268
    /**
5269
     * @param string $value
5270
     *
5271
     * @return $this
5272
     */
5273
    public function withExtra($value)
5274
    {
5275
        $this->data['Extra'] = $value;
5276
        $this->options['form_params']['Extra'] = $value;
5277
5278
        return $this;
5279
    }
5280
5281
    /**
5282
     * @param string $value
5283
     *
5284
     * @return $this
5285
     */
5286
    public function withCallOutStatus($value)
5287
    {
5288
        $this->data['CallOutStatus'] = $value;
5289
        $this->options['form_params']['CallOutStatus'] = $value;
5290
5291
        return $this;
5292
    }
5293
5294
    /**
5295
     * @param string $value
5296
     *
5297
     * @return $this
5298
     */
5299
    public function withUniqueBizId($value)
5300
    {
5301
        $this->data['UniqueBizId'] = $value;
5302
        $this->options['form_params']['UniqueBizId'] = $value;
5303
5304
        return $this;
5305
    }
5306
}
5307
5308
/**
5309
 * @method string getClientToken()
5310
 * @method string getInstanceId()
5311
 * @method string getRoleId()
5312
 * @method string getRoleName()
5313
 * @method array getPermissionId()
5314
 * @method string getOperator()
5315
 */
5316
class UpdateRole extends Rpc
5317
{
5318
5319
    /**
5320
     * @param string $value
5321
     *
5322
     * @return $this
5323
     */
5324
    public function withClientToken($value)
5325
    {
5326
        $this->data['ClientToken'] = $value;
5327
        $this->options['form_params']['ClientToken'] = $value;
5328
5329
        return $this;
5330
    }
5331
5332
    /**
5333
     * @param string $value
5334
     *
5335
     * @return $this
5336
     */
5337
    public function withInstanceId($value)
5338
    {
5339
        $this->data['InstanceId'] = $value;
5340
        $this->options['form_params']['InstanceId'] = $value;
5341
5342
        return $this;
5343
    }
5344
5345
    /**
5346
     * @param string $value
5347
     *
5348
     * @return $this
5349
     */
5350
    public function withRoleId($value)
5351
    {
5352
        $this->data['RoleId'] = $value;
5353
        $this->options['form_params']['RoleId'] = $value;
5354
5355
        return $this;
5356
    }
5357
5358
    /**
5359
     * @param string $value
5360
     *
5361
     * @return $this
5362
     */
5363
    public function withRoleName($value)
5364
    {
5365
        $this->data['RoleName'] = $value;
5366
        $this->options['form_params']['RoleName'] = $value;
5367
5368
        return $this;
5369
    }
5370
5371
    /**
5372
     * @param array $permissionId
5373
     *
5374
     * @return $this
5375
     */
5376
	public function withPermissionId(array $permissionId)
5377
	{
5378
	    $this->data['PermissionId'] = $permissionId;
5379
		foreach ($permissionId as $i => $iValue) {
5380
			$this->options['form_params']['PermissionId.' . ($i + 1)] = $iValue;
5381
		}
5382
5383
		return $this;
5384
    }
5385
5386
    /**
5387
     * @param string $value
5388
     *
5389
     * @return $this
5390
     */
5391
    public function withOperator($value)
5392
    {
5393
        $this->data['Operator'] = $value;
5394
        $this->options['form_params']['Operator'] = $value;
5395
5396
        return $this;
5397
    }
5398
}
5399
5400
/**
5401
 * @method string getInstanceId()
5402
 * @method $this withInstanceId($value)
5403
 * @method string getClientToken()
5404
 * @method $this withClientToken($value)
5405
 * @method string getSkillGroupId()
5406
 * @method $this withSkillGroupId($value)
5407
 * @method string getDisplayName()
5408
 * @method $this withDisplayName($value)
5409
 * @method string getChannelType()
5410
 * @method $this withChannelType($value)
5411
 * @method string getSkillGroupName()
5412
 * @method $this withSkillGroupName($value)
5413
 * @method string getDescription()
5414
 * @method $this withDescription($value)
5415
 */
5416
class UpdateSkillGroup extends Rpc
5417
{
5418
}
5419
5420
/**
5421
 * @method string getClientToken()
5422
 * @method string getInstanceId()
5423
 * @method string getTicketId()
5424
 * @method string getOperatorId()
5425
 * @method string getFormData()
5426
 */
5427
class UpdateTicket extends Rpc
5428
{
5429
5430
    /**
5431
     * @param string $value
5432
     *
5433
     * @return $this
5434
     */
5435
    public function withClientToken($value)
5436
    {
5437
        $this->data['ClientToken'] = $value;
5438
        $this->options['form_params']['ClientToken'] = $value;
5439
5440
        return $this;
5441
    }
5442
5443
    /**
5444
     * @param string $value
5445
     *
5446
     * @return $this
5447
     */
5448
    public function withInstanceId($value)
5449
    {
5450
        $this->data['InstanceId'] = $value;
5451
        $this->options['form_params']['InstanceId'] = $value;
5452
5453
        return $this;
5454
    }
5455
5456
    /**
5457
     * @param string $value
5458
     *
5459
     * @return $this
5460
     */
5461
    public function withTicketId($value)
5462
    {
5463
        $this->data['TicketId'] = $value;
5464
        $this->options['form_params']['TicketId'] = $value;
5465
5466
        return $this;
5467
    }
5468
5469
    /**
5470
     * @param string $value
5471
     *
5472
     * @return $this
5473
     */
5474
    public function withOperatorId($value)
5475
    {
5476
        $this->data['OperatorId'] = $value;
5477
        $this->options['form_params']['OperatorId'] = $value;
5478
5479
        return $this;
5480
    }
5481
5482
    /**
5483
     * @param string $value
5484
     *
5485
     * @return $this
5486
     */
5487
    public function withFormData($value)
5488
    {
5489
        $this->data['FormData'] = $value;
5490
        $this->options['form_params']['FormData'] = $value;
5491
5492
        return $this;
5493
    }
5494
}
5495