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 ( 6e85f4...788159 )
by
unknown
06:37
created

CreatePredictiveJobGroup::withJobsJson()   A

Complexity

Conditions 2
Paths 2

Size

Total Lines 8
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 6

Importance

Changes 0
Metric Value
eloc 4
dl 0
loc 8
c 0
b 0
f 0
ccs 0
cts 0
cp 0
rs 10
cc 2
nc 2
nop 1
crap 6
1
<?php
2
3
namespace AlibabaCloud\CCC\V20170705;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method AddAgentDevice addAgentDevice(array $options = [])
9
 * @method AddBulkPhoneNumbers addBulkPhoneNumbers(array $options = [])
10
 * @method AddPhoneNumber addPhoneNumber(array $options = [])
11
 * @method AssignJobs assignJobs(array $options = [])
12
 * @method AssignUsers assignUsers(array $options = [])
13
 * @method CallOnlinePrivacyNumber callOnlinePrivacyNumber(array $options = [])
14
 * @method CancelJobs cancelJobs(array $options = [])
15
 * @method CommitContactFlowVersionModification commitContactFlowVersionModification(array $options = [])
16
 * @method CreateBatchJobs createBatchJobs(array $options = [])
17
 * @method CreateCabInstance createCabInstance(array $options = [])
18
 * @method CreateContactFlow createContactFlow(array $options = [])
19
 * @method CreateFault createFault(array $options = [])
20
 * @method CreateInstance createInstance(array $options = [])
21
 * @method CreateJobGroup createJobGroup(array $options = [])
22
 * @method CreateMedia createMedia(array $options = [])
23
 * @method CreateScenario createScenario(array $options = [])
24
 * @method CreateScenarioFromTemplate createScenarioFromTemplate(array $options = [])
25
 * @method CreateSkillGroup createSkillGroup(array $options = [])
26
 * @method CreateSurvey createSurvey(array $options = [])
27
 * @method CreateUser createUser(array $options = [])
28
 * @method CreateVoiceAppraise createVoiceAppraise(array $options = [])
29
 * @method DeleteInstance deleteInstance(array $options = [])
30
 * @method DeleteJobGroup deleteJobGroup(array $options = [])
31
 * @method DeleteMedia deleteMedia(array $options = [])
32
 * @method DeleteSkillGroup deleteSkillGroup(array $options = [])
33
 * @method DeleteSurvey deleteSurvey(array $options = [])
34
 * @method DialEx dialEx(array $options = [])
35
 * @method Dialogue dialogue(array $options = [])
36
 * @method DownloadAllTypeRecording downloadAllTypeRecording(array $options = [])
37
 * @method DownloadCabRecording downloadCabRecording(array $options = [])
38
 * @method DownloadOriginalStatisticsReport downloadOriginalStatisticsReport(array $options = [])
39
 * @method DownloadRecording downloadRecording(array $options = [])
40
 * @method DownloadUnreachableContacts downloadUnreachableContacts(array $options = [])
41
 * @method FindUsers findUsers(array $options = [])
42
 * @method GenerateAgentStatisticReport generateAgentStatisticReport(array $options = [])
43
 * @method GetAgentData getAgentData(array $options = [])
44
 * @method GetCallMeasureSummaryReport getCallMeasureSummaryReport(array $options = [])
45
 * @method GetConfig getConfig(array $options = [])
46
 * @method GetConversationDetailByContactId getConversationDetailByContactId(array $options = [])
47
 * @method GetConversationList getConversationList(array $options = [])
48
 * @method GetInstance getInstance(array $options = [])
49
 * @method GetInstanceState getInstanceState(array $options = [])
50
 * @method GetInstanceSummaryReport getInstanceSummaryReport(array $options = [])
51
 * @method GetInstanceSummaryReportByInterval getInstanceSummaryReportByInterval(array $options = [])
52
 * @method GetInstanceSummaryReportSinceMidnight getInstanceSummaryReportSinceMidnight(array $options = [])
53
 * @method GetJob getJob(array $options = [])
54
 * @method GetJobDataUploadParams getJobDataUploadParams(array $options = [])
55
 * @method GetJobGroup getJobGroup(array $options = [])
56
 * @method GetJobList getJobList(array $options = [])
57
 * @method GetJobStatusByCallId getJobStatusByCallId(array $options = [])
58
 * @method GetJobTemplateDownloadParams getJobTemplateDownloadParams(array $options = [])
59
 * @method GetNumberRegionInfo getNumberRegionInfo(array $options = [])
60
 * @method GetRecordOssUploadParam getRecordOssUploadParam(array $options = [])
61
 * @method GetRoutePoint getRoutePoint(array $options = [])
62
 * @method GetScenario getScenario(array $options = [])
63
 * @method GetServiceExtensions getServiceExtensions(array $options = [])
64
 * @method GetSmsConfig getSmsConfig(array $options = [])
65
 * @method GetSurvey getSurvey(array $options = [])
66
 * @method GetTaskList getTaskList(array $options = [])
67
 * @method GetTURNCredentials getTURNCredentials(array $options = [])
68
 * @method GetTURNServerList getTURNServerList(array $options = [])
69
 * @method GetUser getUser(array $options = [])
70
 * @method LaunchAppraise launchAppraise(array $options = [])
71
 * @method LaunchShortMessageAppraise launchShortMessageAppraise(array $options = [])
72
 * @method ListAgentDevices listAgentDevices(array $options = [])
73
 * @method ListAgentEvents listAgentEvents(array $options = [])
74
 * @method ListAgentStates listAgentStates(array $options = [])
75
 * @method ListAgentSummaryReports listAgentSummaryReports(array $options = [])
76
 * @method ListAgentSummaryReportsByInterval listAgentSummaryReportsByInterval(array $options = [])
77
 * @method ListAgentSummaryReportsSinceMidnight listAgentSummaryReportsSinceMidnight(array $options = [])
78
 * @method ListBasicStatisticsReportSubItems listBasicStatisticsReportSubItems(array $options = [])
79
 * @method ListCallDetailRecords listCallDetailRecords(array $options = [])
80
 * @method ListCallEventDetailByContactId listCallEventDetailByContactId(array $options = [])
81
 * @method ListCallMeasureSummaryReports listCallMeasureSummaryReports(array $options = [])
82
 * @method ListConfig listConfig(array $options = [])
83
 * @method ListContactFlows listContactFlows(array $options = [])
84
 * @method ListInstancesOfUser listInstancesOfUser(array $options = [])
85
 * @method ListIvrTrackingDetail listIvrTrackingDetail(array $options = [])
86
 * @method ListJobGroups listJobGroups(array $options = [])
87
 * @method ListJobsByGroup listJobsByGroup(array $options = [])
88
 * @method ListJobStatus listJobStatus(array $options = [])
89
 * @method ListMedias listMedias(array $options = [])
90
 * @method ListOutboundPhoneNumberOfUser listOutboundPhoneNumberOfUser(array $options = [])
91
 * @method ListPhoneNumbers listPhoneNumbers(array $options = [])
92
 * @method ListRealTimeAgent listRealTimeAgent(array $options = [])
93
 * @method ListRecentCallRecords listRecentCallRecords(array $options = [])
94
 * @method ListRecordingOfDualTrack listRecordingOfDualTrack(array $options = [])
95
 * @method ListRecordings listRecordings(array $options = [])
96
 * @method ListRecordingsByContactId listRecordingsByContactId(array $options = [])
97
 * @method ListRoles listRoles(array $options = [])
98
 * @method ListScenarios listScenarios(array $options = [])
99
 * @method ListScenarioTemplates listScenarioTemplates(array $options = [])
100
 * @method ListSkillGroups listSkillGroups(array $options = [])
101
 * @method ListSkillGroupsOfUser listSkillGroupsOfUser(array $options = [])
102
 * @method ListSkillGroupStates listSkillGroupStates(array $options = [])
103
 * @method ListSkillGroupSummaryReports listSkillGroupSummaryReports(array $options = [])
104
 * @method ListSkillGroupSummaryReportsByInterval listSkillGroupSummaryReportsByInterval(array $options = [])
105
 * @method ListSkillGroupSummaryReportsSinceMidnight listSkillGroupSummaryReportsSinceMidnight(array $options = [])
106
 * @method ListSurveys listSurveys(array $options = [])
107
 * @method ListUnreachableContacts listUnreachableContacts(array $options = [])
108
 * @method ListUsers listUsers(array $options = [])
109
 * @method ListUsersOfSkillGroup listUsersOfSkillGroup(array $options = [])
110
 * @method ListVoiceAppraise listVoiceAppraise(array $options = [])
111
 * @method ModifyAgentDevice modifyAgentDevice(array $options = [])
112
 * @method ModifyCabInstance modifyCabInstance(array $options = [])
113
 * @method ModifyPhoneNumber modifyPhoneNumber(array $options = [])
114
 * @method ModifyPrivacyNumberCallDetail modifyPrivacyNumberCallDetail(array $options = [])
115
 * @method ModifyScenario modifyScenario(array $options = [])
116
 * @method ModifySkillGroup modifySkillGroup(array $options = [])
117
 * @method ModifySkillGroupOfUser modifySkillGroupOfUser(array $options = [])
118
 * @method ModifySkillGroupOutboundNumbers modifySkillGroupOutboundNumbers(array $options = [])
119
 * @method ModifySurvey modifySurvey(array $options = [])
120
 * @method ModifyUser modifyUser(array $options = [])
121
 * @method PickGlobalOutboundNumbers pickGlobalOutboundNumbers(array $options = [])
122
 * @method PickLocalNumber pickLocalNumber(array $options = [])
123
 * @method PickOutboundNumbers pickOutboundNumbers(array $options = [])
124
 * @method PublishContactFlowVersion publishContactFlowVersion(array $options = [])
125
 * @method PublishSurvey publishSurvey(array $options = [])
126
 * @method RefreshToken refreshToken(array $options = [])
127
 * @method RemovePhoneNumber removePhoneNumber(array $options = [])
128
 * @method RemoveUsers removeUsers(array $options = [])
129
 * @method RemoveUsersFromSkillGroup removeUsersFromSkillGroup(array $options = [])
130
 * @method RequestLoginInfo requestLoginInfo(array $options = [])
131
 * @method ResetUserStatus resetUserStatus(array $options = [])
132
 * @method ResumeJobs resumeJobs(array $options = [])
133
 * @method SaveStats saveStats(array $options = [])
134
 * @method SaveWebRTCStats saveWebRTCStats(array $options = [])
135
 * @method SendPredefinedShortMessage sendPredefinedShortMessage(array $options = [])
136
 * @method StartBack2BackCall startBack2BackCall(array $options = [])
137
 * @method StartJob startJob(array $options = [])
138
 * @method SubmitBatchJobs submitBatchJobs(array $options = [])
139
 * @method SubmitCabRecording submitCabRecording(array $options = [])
140
 * @method SuspendJobs suspendJobs(array $options = [])
141
 */
142
class CCCApiResolver extends ApiResolver
143
{
144
}
145
146
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
147
{
148
    /** @var string */
149
    public $product = 'CCC';
150
151
    /** @var string */
152
    public $version = '2017-07-05';
153
154
    /** @var string */
155
    public $method = 'POST';
156
}
157
158
/**
159
 * @method string getRemark()
160
 * @method string getClientPort()
161
 * @method $this withClientPort($value)
162
 * @method string getInstanceId()
163
 * @method $this withInstanceId($value)
164
 * @method string getClientIp()
165
 * @method $this withClientIp($value)
166
 * @method string getBrowserVersion()
167
 */
168
class AddAgentDevice extends Rpc
169
{
170
171
    /**
172
     * @param string $value
173
     *
174
     * @return $this
175
     */
176
    public function withRemark($value)
177
    {
178
        $this->data['Remark'] = $value;
179
        $this->options['form_params']['Remark'] = $value;
180
181
        return $this;
182
    }
183
184
    /**
185
     * @param string $value
186
     *
187
     * @return $this
188
     */
189
    public function withBrowserVersion($value)
190
    {
191
        $this->data['BrowserVersion'] = $value;
192
        $this->options['form_params']['BrowserVersion'] = $value;
193
194
        return $this;
195
    }
196
}
197
198
/**
199
 * @method string getContactFlowId()
200
 * @method $this withContactFlowId($value)
201
 * @method string getUsage()
202
 * @method $this withUsage($value)
203
 * @method array getPhoneNumber()
204
 * @method string getInstanceId()
205
 * @method $this withInstanceId($value)
206
 * @method array getSkillGroupId()
207
 */
208
class AddBulkPhoneNumbers extends Rpc
209
{
210
211
    /**
212
     * @param array $phoneNumber
213
     *
214
     * @return $this
215
     */
216
	public function withPhoneNumber(array $phoneNumber)
217
	{
218
	    $this->data['PhoneNumber'] = $phoneNumber;
219
		foreach ($phoneNumber as $i => $iValue) {
220
			$this->options['query']['PhoneNumber.' . ($i + 1)] = $iValue;
221
		}
222
223
		return $this;
224
    }
225
226
    /**
227
     * @param array $skillGroupId
228
     *
229
     * @return $this
230
     */
231
	public function withSkillGroupId(array $skillGroupId)
232
	{
233
	    $this->data['SkillGroupId'] = $skillGroupId;
234
		foreach ($skillGroupId as $i => $iValue) {
235
			$this->options['query']['SkillGroupId.' . ($i + 1)] = $iValue;
236
		}
237
238
		return $this;
239
    }
240
}
241
242
/**
243
 * @method string getContactFlowId()
244
 * @method $this withContactFlowId($value)
245
 * @method string getUsage()
246
 * @method $this withUsage($value)
247
 * @method string getPhoneNumber()
248
 * @method $this withPhoneNumber($value)
249
 * @method string getInstanceId()
250
 * @method $this withInstanceId($value)
251
 */
252
class AddPhoneNumber extends Rpc
253
{
254
}
255
256
/**
257
 * @method string getGroupId()
258
 * @method $this withGroupId($value)
259
 * @method array getJobsJson()
260
 * @method array getCallingNumber()
261
 * @method string getInstanceId()
262
 * @method $this withInstanceId($value)
263
 * @method string getStrategyJson()
264
 * @method $this withStrategyJson($value)
265
 * @method string getScenarioId()
266
 * @method $this withScenarioId($value)
267
 */
268
class AssignJobs extends Rpc
269
{
270
271
    /**
272
     * @param array $jobsJson
273
     *
274
     * @return $this
275
     */
276
	public function withJobsJson(array $jobsJson)
277
	{
278
	    $this->data['JobsJson'] = $jobsJson;
279
		foreach ($jobsJson as $i => $iValue) {
280
			$this->options['query']['JobsJson.' . ($i + 1)] = $iValue;
281
		}
282
283
		return $this;
284
    }
285
286
    /**
287
     * @param array $callingNumber
288
     *
289
     * @return $this
290
     */
291
	public function withCallingNumber(array $callingNumber)
292
	{
293
	    $this->data['CallingNumber'] = $callingNumber;
294
		foreach ($callingNumber as $i => $iValue) {
295
			$this->options['query']['CallingNumber.' . ($i + 1)] = $iValue;
296
		}
297
298
		return $this;
299
    }
300
}
301
302
/**
303
 * @method array getRoleId()
304
 * @method array getUserRamId()
305
 * @method array getSkillLevel()
306
 * @method string getInstanceId()
307
 * @method $this withInstanceId($value)
308
 * @method array getSkillGroupId()
309
 */
310
class AssignUsers extends Rpc
311
{
312
313
    /**
314
     * @param array $roleId
315
     *
316
     * @return $this
317
     */
318
	public function withRoleId(array $roleId)
319
	{
320
	    $this->data['RoleId'] = $roleId;
321
		foreach ($roleId as $i => $iValue) {
322
			$this->options['query']['RoleId.' . ($i + 1)] = $iValue;
323
		}
324
325
		return $this;
326
    }
327
328
    /**
329
     * @param array $userRamId
330
     *
331
     * @return $this
332
     */
333
	public function withUserRamId(array $userRamId)
334
	{
335
	    $this->data['UserRamId'] = $userRamId;
336
		foreach ($userRamId as $i => $iValue) {
337
			$this->options['query']['UserRamId.' . ($i + 1)] = $iValue;
338
		}
339
340
		return $this;
341
    }
342
343
    /**
344
     * @param array $skillLevel
345
     *
346
     * @return $this
347
     */
348
	public function withSkillLevel(array $skillLevel)
349
	{
350
	    $this->data['SkillLevel'] = $skillLevel;
351
		foreach ($skillLevel as $i => $iValue) {
352
			$this->options['query']['SkillLevel.' . ($i + 1)] = $iValue;
353
		}
354
355
		return $this;
356
    }
357
358
    /**
359
     * @param array $skillGroupId
360
     *
361
     * @return $this
362
     */
363
	public function withSkillGroupId(array $skillGroupId)
364
	{
365
	    $this->data['SkillGroupId'] = $skillGroupId;
366
		foreach ($skillGroupId as $i => $iValue) {
367
			$this->options['query']['SkillGroupId.' . ($i + 1)] = $iValue;
368
		}
369
370
		return $this;
371
    }
372
}
373
374
/**
375
 * @method string getTelA()
376
 * @method $this withTelA($value)
377
 * @method string getTelB()
378
 * @method $this withTelB($value)
379
 * @method string getInstanceId()
380
 * @method $this withInstanceId($value)
381
 */
382
class CallOnlinePrivacyNumber extends Rpc
383
{
384
}
385
386
/**
387
 * @method string getAll()
388
 * @method $this withAll($value)
389
 * @method array getJobReferenceId()
390
 * @method string getGroupId()
391
 * @method $this withGroupId($value)
392
 * @method array getJobId()
393
 * @method string getInstanceId()
394
 * @method $this withInstanceId($value)
395
 * @method string getScenarioId()
396
 * @method $this withScenarioId($value)
397
 */
398
class CancelJobs extends Rpc
399
{
400
401
    /**
402
     * @param array $jobReferenceId
403
     *
404
     * @return $this
405
     */
406
	public function withJobReferenceId(array $jobReferenceId)
407
	{
408
	    $this->data['JobReferenceId'] = $jobReferenceId;
409
		foreach ($jobReferenceId as $i => $iValue) {
410
			$this->options['query']['JobReferenceId.' . ($i + 1)] = $iValue;
411
		}
412
413
		return $this;
414
    }
415
416
    /**
417
     * @param array $jobId
418
     *
419
     * @return $this
420
     */
421
	public function withJobId(array $jobId)
422
	{
423
	    $this->data['JobId'] = $jobId;
424
		foreach ($jobId as $i => $iValue) {
425
			$this->options['query']['JobId.' . ($i + 1)] = $iValue;
426
		}
427
428
		return $this;
429
    }
430
}
431
432
/**
433
 * @method string getCanvas()
434
 * @method string getContent()
435
 * @method string getInstanceId()
436
 * @method $this withInstanceId($value)
437
 * @method string getContactFlowVersionId()
438
 * @method $this withContactFlowVersionId($value)
439
 */
440
class CommitContactFlowVersionModification extends Rpc
441
{
442
443
    /**
444
     * @param string $value
445
     *
446
     * @return $this
447
     */
448
    public function withCanvas($value)
449
    {
450
        $this->data['Canvas'] = $value;
451
        $this->options['form_params']['Canvas'] = $value;
452
453
        return $this;
454
    }
455
456
    /**
457
     * @param string $value
458
     *
459
     * @return $this
460
     */
461
    public function withContent($value)
462
    {
463
        $this->data['Content'] = $value;
464
        $this->options['form_params']['Content'] = $value;
465
466
        return $this;
467
    }
468
}
469
470
/**
471
 * @method string getDescription()
472
 * @method $this withDescription($value)
473
 * @method string getJobFilePath()
474
 * @method $this withJobFilePath($value)
475
 * @method array getCallingNumber()
476
 * @method string getInstanceId()
477
 * @method $this withInstanceId($value)
478
 * @method string getSubmitted()
479
 * @method $this withSubmitted($value)
480
 * @method string getStrategyJson()
481
 * @method $this withStrategyJson($value)
482
 * @method string getName()
483
 * @method $this withName($value)
484
 * @method string getScenarioId()
485
 * @method $this withScenarioId($value)
486
 */
487
class CreateBatchJobs extends Rpc
488
{
489
490
    /**
491
     * @param array $callingNumber
492
     *
493
     * @return $this
494
     */
495
	public function withCallingNumber(array $callingNumber)
496
	{
497
	    $this->data['CallingNumber'] = $callingNumber;
498
		foreach ($callingNumber as $i => $iValue) {
499
			$this->options['query']['CallingNumber.' . ($i + 1)] = $iValue;
500
		}
501
502
		return $this;
503
    }
504
}
505
506
/**
507
 * @method string getMaxConcurrentConversation()
508
 * @method $this withMaxConcurrentConversation($value)
509
 * @method string getInstanceName()
510
 * @method $this withInstanceName($value)
511
 * @method string getCallCenterInstanceId()
512
 * @method $this withCallCenterInstanceId($value)
513
 * @method string getInstanceDescription()
514
 * @method $this withInstanceDescription($value)
515
 */
516
class CreateCabInstance extends Rpc
517
{
518
}
519
520
/**
521
 * @method string getCanvas()
522
 * @method string getDescription()
523
 * @method $this withDescription($value)
524
 * @method string getType()
525
 * @method $this withType($value)
526
 * @method string getContent()
527
 * @method string getInstanceId()
528
 * @method $this withInstanceId($value)
529
 * @method string getName()
530
 * @method $this withName($value)
531
 */
532
class CreateContactFlow extends Rpc
533
{
534
535
    /**
536
     * @param string $value
537
     *
538
     * @return $this
539
     */
540
    public function withCanvas($value)
541
    {
542
        $this->data['Canvas'] = $value;
543
        $this->options['form_params']['Canvas'] = $value;
544
545
        return $this;
546
    }
547
548
    /**
549
     * @param string $value
550
     *
551
     * @return $this
552
     */
553
    public function withContent($value)
554
    {
555
        $this->data['Content'] = $value;
556
        $this->options['form_params']['Content'] = $value;
557
558
        return $this;
559
    }
560
}
561
562
/**
563
 * @method string getAgentOssFileName()
564
 * @method $this withAgentOssFileName($value)
565
 * @method string getDescription()
566
 * @method $this withDescription($value)
567
 * @method string getOperatingSystemVersion()
568
 * @method $this withOperatingSystemVersion($value)
569
 * @method string getStartTime()
570
 * @method $this withStartTime($value)
571
 * @method string getMicrophoneList()
572
 * @method $this withMicrophoneList($value)
573
 * @method string getClientPort()
574
 * @method $this withClientPort($value)
575
 * @method string getCustomFilePath()
576
 * @method $this withCustomFilePath($value)
577
 * @method string getClientIp()
578
 * @method $this withClientIp($value)
579
 * @method string getSpeakerList()
580
 * @method $this withSpeakerList($value)
581
 * @method string getAgentId()
582
 * @method $this withAgentId($value)
583
 * @method string getEndTime()
584
 * @method $this withEndTime($value)
585
 * @method string getSpeakerEquipment()
586
 * @method $this withSpeakerEquipment($value)
587
 * @method string getServicePort()
588
 * @method $this withServicePort($value)
589
 * @method string getServiceIp()
590
 * @method $this withServiceIp($value)
591
 * @method string getInstanceId()
592
 * @method $this withInstanceId($value)
593
 * @method string getAgentFilePath()
594
 * @method $this withAgentFilePath($value)
595
 * @method string getConnectId()
596
 * @method $this withConnectId($value)
597
 * @method string getCustomOssFileName()
598
 * @method $this withCustomOssFileName($value)
599
 * @method string getMicrophoneEquipment()
600
 * @method $this withMicrophoneEquipment($value)
601
 * @method string getBrowserVersion()
602
 * @method $this withBrowserVersion($value)
603
 */
604
class CreateFault extends Rpc
605
{
606
}
607
608
/**
609
 * @method array getPhoneNumbers()
610
 * @method array getUserObject()
611
 * @method string getDomainName()
612
 * @method $this withDomainName($value)
613
 * @method string getPhoneNumber()
614
 * @method $this withPhoneNumber($value)
615
 * @method string getDescription()
616
 * @method $this withDescription($value)
617
 * @method string getStorageMaxDays()
618
 * @method $this withStorageMaxDays($value)
619
 * @method array getAdminRamId()
620
 * @method string getName()
621
 * @method $this withName($value)
622
 * @method string getStorageMaxSize()
623
 * @method $this withStorageMaxSize($value)
624
 * @method string getDirectoryId()
625
 * @method $this withDirectoryId($value)
626
 */
627
class CreateInstance extends Rpc
628
{
629
630
    /**
631
     * @param array $phoneNumbers
632
     *
633
     * @return $this
634
     */
635
	public function withPhoneNumbers(array $phoneNumbers)
636
	{
637
	    $this->data['PhoneNumbers'] = $phoneNumbers;
638
		foreach ($phoneNumbers as $i => $iValue) {
639
			$this->options['query']['PhoneNumbers.' . ($i + 1)] = $iValue;
640
		}
641
642
		return $this;
643
    }
644
645
    /**
646
     * @param array $userObject
647
     *
648
     * @return $this
649
     */
650
	public function withUserObject(array $userObject)
651
	{
652
	    $this->data['UserObject'] = $userObject;
653
		foreach ($userObject as $i => $iValue) {
654
			$this->options['query']['UserObject.' . ($i + 1)] = $iValue;
655
		}
656
657
		return $this;
658
    }
659
660
    /**
661
     * @param array $adminRamId
662
     *
663
     * @return $this
664
     */
665
	public function withAdminRamId(array $adminRamId)
666
	{
667
	    $this->data['AdminRamId'] = $adminRamId;
668
		foreach ($adminRamId as $i => $iValue) {
669
			$this->options['query']['AdminRamId.' . ($i + 1)] = $iValue;
670
		}
671
672
		return $this;
673
    }
674
}
675
676
/**
677
 * @method string getDescription()
678
 * @method $this withDescription($value)
679
 * @method array getCallingNumber()
680
 * @method string getInstanceId()
681
 * @method $this withInstanceId($value)
682
 * @method string getStrategyJson()
683
 * @method $this withStrategyJson($value)
684
 * @method string getName()
685
 * @method $this withName($value)
686
 * @method string getScenarioId()
687
 * @method $this withScenarioId($value)
688
 */
689
class CreateJobGroup extends Rpc
690
{
691
692
    /**
693
     * @param array $callingNumber
694
     *
695
     * @return $this
696
     */
697
	public function withCallingNumber(array $callingNumber)
698
	{
699
	    $this->data['CallingNumber'] = $callingNumber;
700
		foreach ($callingNumber as $i => $iValue) {
701
			$this->options['query']['CallingNumber.' . ($i + 1)] = $iValue;
702
		}
703
704
		return $this;
705
    }
706
}
707
708
/**
709
 * @method string getDescription()
710
 * @method $this withDescription($value)
711
 * @method string getOssFilePath()
712
 * @method $this withOssFilePath($value)
713
 * @method string getUploadResult()
714
 * @method $this withUploadResult($value)
715
 * @method string getType()
716
 * @method $this withType($value)
717
 * @method string getContent()
718
 * @method $this withContent($value)
719
 * @method string getOssFileName()
720
 * @method $this withOssFileName($value)
721
 * @method string getInstanceId()
722
 * @method $this withInstanceId($value)
723
 * @method string getFileName()
724
 * @method $this withFileName($value)
725
 * @method string getName()
726
 * @method $this withName($value)
727
 */
728
class CreateMedia extends Rpc
729
{
730
}
731
732
/**
733
 * @method array getSurveysJson()
734
 * @method string getDescription()
735
 * @method $this withDescription($value)
736
 * @method string getType()
737
 * @method $this withType($value)
738
 * @method string getInstanceId()
739
 * @method $this withInstanceId($value)
740
 * @method string getStrategyJson()
741
 * @method $this withStrategyJson($value)
742
 * @method string getName()
743
 * @method $this withName($value)
744
 */
745
class CreateScenario extends Rpc
746
{
747
748
    /**
749
     * @param array $surveysJson
750
     *
751
     * @return $this
752
     */
753
	public function withSurveysJson(array $surveysJson)
754
	{
755
	    $this->data['SurveysJson'] = $surveysJson;
756
		foreach ($surveysJson as $i => $iValue) {
757
			$this->options['query']['SurveysJson.' . ($i + 1)] = $iValue;
758
		}
759
760
		return $this;
761
    }
762
}
763
764
/**
765
 * @method string getVariables()
766
 * @method $this withVariables($value)
767
 * @method string getDescription()
768
 * @method $this withDescription($value)
769
 * @method string getTemplateId()
770
 * @method $this withTemplateId($value)
771
 * @method string getInstanceId()
772
 * @method $this withInstanceId($value)
773
 * @method string getName()
774
 * @method $this withName($value)
775
 */
776
class CreateScenarioFromTemplate extends Rpc
777
{
778
}
779
780
/**
781
 * @method string getAllowPrivateOutboundNumber()
782
 * @method $this withAllowPrivateOutboundNumber($value)
783
 * @method string getDescription()
784
 * @method $this withDescription($value)
785
 * @method string getRoutingStrategy()
786
 * @method $this withRoutingStrategy($value)
787
 * @method array getUserId()
788
 * @method array getSkillLevel()
789
 * @method string getInstanceId()
790
 * @method $this withInstanceId($value)
791
 * @method array getOutboundPhoneNumberId()
792
 * @method string getName()
793
 * @method $this withName($value)
794
 */
795
class CreateSkillGroup extends Rpc
796
{
797
798
    /**
799
     * @param array $userId
800
     *
801
     * @return $this
802
     */
803
	public function withUserId(array $userId)
804
	{
805
	    $this->data['UserId'] = $userId;
806
		foreach ($userId as $i => $iValue) {
807
			$this->options['query']['UserId.' . ($i + 1)] = $iValue;
808
		}
809
810
		return $this;
811
    }
812
813
    /**
814
     * @param array $skillLevel
815
     *
816
     * @return $this
817
     */
818
	public function withSkillLevel(array $skillLevel)
819
	{
820
	    $this->data['SkillLevel'] = $skillLevel;
821
		foreach ($skillLevel as $i => $iValue) {
822
			$this->options['query']['SkillLevel.' . ($i + 1)] = $iValue;
823
		}
824
825
		return $this;
826
    }
827
828
    /**
829
     * @param array $outboundPhoneNumberId
830
     *
831
     * @return $this
832
     */
833
	public function withOutboundPhoneNumberId(array $outboundPhoneNumberId)
834
	{
835
	    $this->data['OutboundPhoneNumberId'] = $outboundPhoneNumberId;
836
		foreach ($outboundPhoneNumberId as $i => $iValue) {
837
			$this->options['query']['OutboundPhoneNumberId.' . ($i + 1)] = $iValue;
838
		}
839
840
		return $this;
841
    }
842
}
843
844
/**
845
 * @method string getRole()
846
 * @method $this withRole($value)
847
 * @method string getDescription()
848
 * @method $this withDescription($value)
849
 * @method string getSpeechOptimizationParam()
850
 * @method $this withSpeechOptimizationParam($value)
851
 * @method string getInstanceId()
852
 * @method $this withInstanceId($value)
853
 * @method string getRound()
854
 * @method $this withRound($value)
855
 * @method string getFlowJson()
856
 * @method $this withFlowJson($value)
857
 * @method string getName()
858
 * @method $this withName($value)
859
 * @method string getGlobalQuestions()
860
 * @method $this withGlobalQuestions($value)
861
 * @method string getCorpora()
862
 * @method $this withCorpora($value)
863
 * @method string getScenarioId()
864
 * @method $this withScenarioId($value)
865
 */
866
class CreateSurvey extends Rpc
867
{
868
}
869
870
/**
871
 * @method string getPrivateOutboundNumberId()
872
 * @method $this withPrivateOutboundNumberId($value)
873
 * @method string getLoginName()
874
 * @method $this withLoginName($value)
875
 * @method array getRoleId()
876
 * @method array getSkillLevel()
877
 * @method string getInstanceId()
878
 * @method $this withInstanceId($value)
879
 * @method string getPhone()
880
 * @method $this withPhone($value)
881
 * @method string getDisplayName()
882
 * @method $this withDisplayName($value)
883
 * @method array getSkillGroupId()
884
 * @method string getEmail()
885
 * @method $this withEmail($value)
886
 */
887
class CreateUser extends Rpc
888
{
889
890
    /**
891
     * @param array $roleId
892
     *
893
     * @return $this
894
     */
895
	public function withRoleId(array $roleId)
896
	{
897
	    $this->data['RoleId'] = $roleId;
898
		foreach ($roleId as $i => $iValue) {
899
			$this->options['query']['RoleId.' . ($i + 1)] = $iValue;
900
		}
901
902
		return $this;
903
    }
904
905
    /**
906
     * @param array $skillLevel
907
     *
908
     * @return $this
909
     */
910
	public function withSkillLevel(array $skillLevel)
911
	{
912
	    $this->data['SkillLevel'] = $skillLevel;
913
		foreach ($skillLevel as $i => $iValue) {
914
			$this->options['query']['SkillLevel.' . ($i + 1)] = $iValue;
915
		}
916
917
		return $this;
918
    }
919
920
    /**
921
     * @param array $skillGroupId
922
     *
923
     * @return $this
924
     */
925
	public function withSkillGroupId(array $skillGroupId)
926
	{
927
	    $this->data['SkillGroupId'] = $skillGroupId;
928
		foreach ($skillGroupId as $i => $iValue) {
929
			$this->options['query']['SkillGroupId.' . ($i + 1)] = $iValue;
930
		}
931
932
		return $this;
933
    }
934
}
935
936
/**
937
 * @method string getIsAppraise()
938
 * @method $this withIsAppraise($value)
939
 * @method string getContent()
940
 * @method string getInstanceId()
941
 * @method $this withInstanceId($value)
942
 * @method string getContactFlowVersionId()
943
 * @method $this withContactFlowVersionId($value)
944
 */
945
class CreateVoiceAppraise extends Rpc
946
{
947
948
    /**
949
     * @param string $value
950
     *
951
     * @return $this
952
     */
953
    public function withContent($value)
954
    {
955
        $this->data['Content'] = $value;
956
        $this->options['form_params']['Content'] = $value;
957
958
        return $this;
959
    }
960
}
961
962
/**
963
 * @method string getInstanceId()
964
 * @method $this withInstanceId($value)
965
 */
966
class DeleteInstance extends Rpc
967
{
968
}
969
970
/**
971
 * @method string getInstanceId()
972
 * @method $this withInstanceId($value)
973
 * @method string getJobGroupId()
974
 * @method $this withJobGroupId($value)
975
 */
976
class DeleteJobGroup extends Rpc
977
{
978
}
979
980
/**
981
 * @method string getInstanceId()
982
 * @method $this withInstanceId($value)
983
 * @method string getName()
984
 * @method $this withName($value)
985
 */
986
class DeleteMedia extends Rpc
987
{
988
}
989
990
/**
991
 * @method string getInstanceId()
992
 * @method $this withInstanceId($value)
993
 * @method string getSkillGroupId()
994
 * @method $this withSkillGroupId($value)
995
 */
996
class DeleteSkillGroup extends Rpc
997
{
998
}
999
1000
/**
1001
 * @method string getSurveyId()
1002
 * @method $this withSurveyId($value)
1003
 * @method string getInstanceId()
1004
 * @method $this withInstanceId($value)
1005
 * @method string getScenarioId()
1006
 * @method $this withScenarioId($value)
1007
 */
1008
class DeleteSurvey extends Rpc
1009
{
1010
}
1011
1012
/**
1013
 * @method string getCallee()
1014
 * @method $this withCallee($value)
1015
 * @method string getRoutPoint()
1016
 * @method $this withRoutPoint($value)
1017
 * @method string getCaller()
1018
 * @method $this withCaller($value)
1019
 * @method string getInstanceId()
1020
 * @method $this withInstanceId($value)
1021
 * @method string getProvider()
1022
 * @method $this withProvider($value)
1023
 * @method string getAnswerMode()
1024
 * @method $this withAnswerMode($value)
1025
 */
1026
class DialEx extends Rpc
1027
{
1028
}
1029
1030
/**
1031
 * @method string getCallId()
1032
 * @method $this withCallId($value)
1033
 * @method string getActionParams()
1034
 * @method $this withActionParams($value)
1035
 * @method string getCallingNumber()
1036
 * @method $this withCallingNumber($value)
1037
 * @method string getInstanceId()
1038
 * @method $this withInstanceId($value)
1039
 * @method string getCalledNumber()
1040
 * @method $this withCalledNumber($value)
1041
 * @method string getInstanceOwnerId()
1042
 * @method $this withInstanceOwnerId($value)
1043
 * @method string getActionKey()
1044
 * @method $this withActionKey($value)
1045
 * @method string getCallType()
1046
 * @method $this withCallType($value)
1047
 * @method string getScenarioId()
1048
 * @method $this withScenarioId($value)
1049
 * @method string getTaskId()
1050
 * @method $this withTaskId($value)
1051
 * @method string getUtterance()
1052
 * @method $this withUtterance($value)
1053
 */
1054
class Dialogue extends Rpc
1055
{
1056
}
1057
1058
/**
1059
 * @method string getContactId()
1060
 * @method $this withContactId($value)
1061
 * @method string getChannel()
1062
 * @method $this withChannel($value)
1063
 * @method string getInstanceId()
1064
 * @method $this withInstanceId($value)
1065
 */
1066
class DownloadAllTypeRecording extends Rpc
1067
{
1068
}
1069
1070
/**
1071
 * @method string getInstanceId()
1072
 * @method $this withInstanceId($value)
1073
 * @method string getTaskId()
1074
 * @method $this withTaskId($value)
1075
 */
1076
class DownloadCabRecording extends Rpc
1077
{
1078
}
1079
1080
/**
1081
 * @method string getInstanceId()
1082
 * @method $this withInstanceId($value)
1083
 * @method string getJobGroupId()
1084
 * @method $this withJobGroupId($value)
1085
 */
1086
class DownloadOriginalStatisticsReport extends Rpc
1087
{
1088
}
1089
1090
/**
1091
 * @method string getChannel()
1092
 * @method $this withChannel($value)
1093
 * @method string getInstanceId()
1094
 * @method $this withInstanceId($value)
1095
 * @method string getFileName()
1096
 * @method $this withFileName($value)
1097
 */
1098
class DownloadRecording extends Rpc
1099
{
1100
}
1101
1102
/**
1103
 * @method string getInstanceId()
1104
 * @method $this withInstanceId($value)
1105
 * @method string getJobGroupId()
1106
 * @method $this withJobGroupId($value)
1107
 */
1108
class DownloadUnreachableContacts extends Rpc
1109
{
1110
}
1111
1112
/**
1113
 * @method string getCriteria()
1114
 * @method $this withCriteria($value)
1115
 * @method string getPageNumber()
1116
 * @method $this withPageNumber($value)
1117
 * @method string getInstanceId()
1118
 * @method $this withInstanceId($value)
1119
 * @method string getPageSize()
1120
 * @method $this withPageSize($value)
1121
 */
1122
class FindUsers extends Rpc
1123
{
1124
}
1125
1126
/**
1127
 * @method string getAgentId()
1128
 * @method $this withAgentId($value)
1129
 * @method string getStartDate()
1130
 * @method $this withStartDate($value)
1131
 * @method string getPageNumber()
1132
 * @method $this withPageNumber($value)
1133
 * @method string getInstanceId()
1134
 * @method $this withInstanceId($value)
1135
 * @method string getEndDate()
1136
 * @method $this withEndDate($value)
1137
 * @method string getPageSize()
1138
 * @method $this withPageSize($value)
1139
 */
1140
class GenerateAgentStatisticReport extends Rpc
1141
{
1142
}
1143
1144
/**
1145
 * @method string getStartDay()
1146
 * @method $this withStartDay($value)
1147
 * @method string getUserId()
1148
 * @method $this withUserId($value)
1149
 * @method string getPageNumber()
1150
 * @method $this withPageNumber($value)
1151
 * @method string getInstanceId()
1152
 * @method $this withInstanceId($value)
1153
 * @method string getEndDay()
1154
 * @method $this withEndDay($value)
1155
 * @method string getPageSize()
1156
 * @method $this withPageSize($value)
1157
 */
1158
class GetAgentData extends Rpc
1159
{
1160
}
1161
1162
/**
1163
 * @method string getIntervalType()
1164
 * @method $this withIntervalType($value)
1165
 * @method string getYear()
1166
 * @method $this withYear($value)
1167
 * @method string getPageNumber()
1168
 * @method $this withPageNumber($value)
1169
 * @method string getMonth()
1170
 * @method $this withMonth($value)
1171
 * @method string getPageSize()
1172
 * @method $this withPageSize($value)
1173
 * @method string getDay()
1174
 * @method $this withDay($value)
1175
 */
1176
class GetCallMeasureSummaryReport extends Rpc
1177
{
1178
}
1179
1180
/**
1181
 * @method string getInstanceId()
1182
 * @method $this withInstanceId($value)
1183
 * @method string getName()
1184
 * @method $this withName($value)
1185
 * @method string getObjectType()
1186
 * @method $this withObjectType($value)
1187
 * @method string getObjectId()
1188
 * @method $this withObjectId($value)
1189
 */
1190
class GetConfig extends Rpc
1191
{
1192
}
1193
1194
/**
1195
 * @method string getContactId()
1196
 * @method $this withContactId($value)
1197
 * @method string getPageNumber()
1198
 * @method $this withPageNumber($value)
1199
 * @method string getInstanceId()
1200
 * @method $this withInstanceId($value)
1201
 * @method string getPageSize()
1202
 * @method $this withPageSize($value)
1203
 */
1204
class GetConversationDetailByContactId extends Rpc
1205
{
1206
}
1207
1208
/**
1209
 * @method string getInstanceId()
1210
 * @method $this withInstanceId($value)
1211
 * @method string getTaskId()
1212
 * @method $this withTaskId($value)
1213
 */
1214
class GetConversationList extends Rpc
1215
{
1216
}
1217
1218
/**
1219
 * @method string getInstanceId()
1220
 * @method $this withInstanceId($value)
1221
 */
1222
class GetInstance extends Rpc
1223
{
1224
}
1225
1226
/**
1227
 * @method string getInstanceId()
1228
 * @method $this withInstanceId($value)
1229
 */
1230
class GetInstanceState extends Rpc
1231
{
1232
}
1233
1234
/**
1235
 * @method string getEndTime()
1236
 * @method $this withEndTime($value)
1237
 * @method string getStartTime()
1238
 * @method $this withStartTime($value)
1239
 * @method string getPageNumber()
1240
 * @method $this withPageNumber($value)
1241
 * @method string getInstanceId()
1242
 * @method $this withInstanceId($value)
1243
 * @method string getPageSize()
1244
 * @method $this withPageSize($value)
1245
 */
1246
class GetInstanceSummaryReport extends Rpc
1247
{
1248
}
1249
1250
/**
1251
 * @method string getEndTime()
1252
 * @method $this withEndTime($value)
1253
 * @method string getStartTime()
1254
 * @method $this withStartTime($value)
1255
 * @method string getPageNumber()
1256
 * @method $this withPageNumber($value)
1257
 * @method string getInstanceId()
1258
 * @method $this withInstanceId($value)
1259
 * @method string getPageSize()
1260
 * @method $this withPageSize($value)
1261
 * @method string getInterval()
1262
 * @method $this withInterval($value)
1263
 */
1264
class GetInstanceSummaryReportByInterval extends Rpc
1265
{
1266
}
1267
1268
/**
1269
 * @method string getPageNumber()
1270
 * @method $this withPageNumber($value)
1271
 * @method string getInstanceId()
1272
 * @method $this withInstanceId($value)
1273
 * @method string getPageSize()
1274
 * @method $this withPageSize($value)
1275
 */
1276
class GetInstanceSummaryReportSinceMidnight extends Rpc
1277
{
1278
}
1279
1280
/**
1281
 * @method string getJobId()
1282
 * @method $this withJobId($value)
1283
 * @method string getInstanceId()
1284
 * @method $this withInstanceId($value)
1285
 */
1286
class GetJob extends Rpc
1287
{
1288
}
1289
1290
/**
1291
 * @method string getInstanceId()
1292
 * @method $this withInstanceId($value)
1293
 * @method string getFileName()
1294
 * @method $this withFileName($value)
1295
 */
1296
class GetJobDataUploadParams extends Rpc
1297
{
1298
}
1299
1300
/**
1301
 * @method string getInstanceId()
1302
 * @method $this withInstanceId($value)
1303
 * @method string getJobGroupId()
1304
 * @method $this withJobGroupId($value)
1305
 */
1306
class GetJobGroup extends Rpc
1307
{
1308
}
1309
1310
/**
1311
 * @method string getPageNumber()
1312
 * @method $this withPageNumber($value)
1313
 * @method string getQueryAll()
1314
 * @method $this withQueryAll($value)
1315
 * @method string getInstanceId()
1316
 * @method $this withInstanceId($value)
1317
 * @method string getJobGroupId()
1318
 * @method $this withJobGroupId($value)
1319
 * @method string getPageSize()
1320
 * @method $this withPageSize($value)
1321
 * @method string getStatus()
1322
 * @method $this withStatus($value)
1323
 */
1324
class GetJobList extends Rpc
1325
{
1326
}
1327
1328
/**
1329
 * @method string getCallId()
1330
 * @method $this withCallId($value)
1331
 * @method string getInstanceId()
1332
 * @method $this withInstanceId($value)
1333
 */
1334
class GetJobStatusByCallId extends Rpc
1335
{
1336
}
1337
1338
/**
1339
 * @method string getInstanceId()
1340
 * @method $this withInstanceId($value)
1341
 * @method string getScenarioId()
1342
 * @method $this withScenarioId($value)
1343
 */
1344
class GetJobTemplateDownloadParams extends Rpc
1345
{
1346
}
1347
1348
/**
1349
 * @method string getNumber()
1350
 * @method $this withNumber($value)
1351
 * @method string getInstanceId()
1352
 * @method $this withInstanceId($value)
1353
 */
1354
class GetNumberRegionInfo extends Rpc
1355
{
1356
}
1357
1358
/**
1359
 * @method string getInstanceId()
1360
 * @method $this withInstanceId($value)
1361
 * @method string getFileName()
1362
 * @method $this withFileName($value)
1363
 */
1364
class GetRecordOssUploadParam extends Rpc
1365
{
1366
}
1367
1368
/**
1369
 * @method string getContactFlowId()
1370
 * @method $this withContactFlowId($value)
1371
 * @method string getInstanceId()
1372
 * @method $this withInstanceId($value)
1373
 */
1374
class GetRoutePoint extends Rpc
1375
{
1376
}
1377
1378
/**
1379
 * @method string getInstanceId()
1380
 * @method $this withInstanceId($value)
1381
 * @method string getScenarioId()
1382
 * @method $this withScenarioId($value)
1383
 */
1384
class GetScenario extends Rpc
1385
{
1386
}
1387
1388
/**
1389
 * @method string getServiceType()
1390
 * @method $this withServiceType($value)
1391
 * @method string getInstanceId()
1392
 * @method $this withInstanceId($value)
1393
 */
1394
class GetServiceExtensions extends Rpc
1395
{
1396
}
1397
1398
/**
1399
 * @method string getInstanceId()
1400
 * @method $this withInstanceId($value)
1401
 * @method array getScenario()
1402
 */
1403
class GetSmsConfig extends Rpc
1404
{
1405
1406
    /**
1407
     * @param array $scenario
1408
     *
1409
     * @return $this
1410
     */
1411
	public function withScenario(array $scenario)
1412
	{
1413
	    $this->data['Scenario'] = $scenario;
1414
		foreach ($scenario as $i => $iValue) {
1415
			$this->options['query']['Scenario.' . ($i + 1)] = $iValue;
1416
		}
1417
1418
		return $this;
1419
    }
1420
}
1421
1422
/**
1423
 * @method string getSurveyId()
1424
 * @method $this withSurveyId($value)
1425
 * @method string getInstanceId()
1426
 * @method $this withInstanceId($value)
1427
 * @method string getScenarioId()
1428
 * @method $this withScenarioId($value)
1429
 */
1430
class GetSurvey extends Rpc
1431
{
1432
}
1433
1434
/**
1435
 * @method string getJobId()
1436
 * @method $this withJobId($value)
1437
 * @method string getInstanceId()
1438
 * @method $this withInstanceId($value)
1439
 */
1440
class GetTaskList extends Rpc
1441
{
1442
}
1443
1444
/**
1445
 * @method string getInstanceId()
1446
 * @method $this withInstanceId($value)
1447
 * @method string getUserName()
1448
 * @method $this withUserName($value)
1449
 */
1450
class GetTURNCredentials extends Rpc
1451
{
1452
}
1453
1454
/**
1455
 * @method string getInstanceId()
1456
 * @method $this withInstanceId($value)
1457
 */
1458
class GetTURNServerList extends Rpc
1459
{
1460
}
1461
1462
/**
1463
 * @method string getInstanceId()
1464
 * @method $this withInstanceId($value)
1465
 * @method string getUserId()
1466
 * @method $this withUserId($value)
1467
 */
1468
class GetUser extends Rpc
1469
{
1470
}
1471
1472
/**
1473
 * @method string getAcid()
1474
 * @method $this withAcid($value)
1475
 * @method string getInstanceId()
1476
 * @method $this withInstanceId($value)
1477
 */
1478
class LaunchAppraise extends Rpc
1479
{
1480
}
1481
1482
/**
1483
 * @method string getContactType()
1484
 * @method $this withContactType($value)
1485
 * @method string getPhoneNumbers()
1486
 * @method $this withPhoneNumbers($value)
1487
 * @method string getAcid()
1488
 * @method $this withAcid($value)
1489
 * @method string getInstanceId()
1490
 * @method $this withInstanceId($value)
1491
 * @method string getSkillGroupId()
1492
 * @method $this withSkillGroupId($value)
1493
 */
1494
class LaunchShortMessageAppraise extends Rpc
1495
{
1496
}
1497
1498
/**
1499
 * @method string getRamIds()
1500
 * @method $this withRamIds($value)
1501
 * @method string getStartTime()
1502
 * @method $this withStartTime($value)
1503
 * @method string getStopTime()
1504
 * @method $this withStopTime($value)
1505
 * @method string getInstanceId()
1506
 * @method $this withInstanceId($value)
1507
 */
1508
class ListAgentDevices extends Rpc
1509
{
1510
}
1511
1512
/**
1513
 * @method string getStartTime()
1514
 * @method $this withStartTime($value)
1515
 * @method string getStopTime()
1516
 * @method $this withStopTime($value)
1517
 * @method array getRamId()
1518
 * @method string getInstanceId()
1519
 * @method $this withInstanceId($value)
1520
 * @method array getEvent()
1521
 */
1522
class ListAgentEvents extends Rpc
1523
{
1524
1525
    /**
1526
     * @param array $ramId
1527
     *
1528
     * @return $this
1529
     */
1530
	public function withRamId(array $ramId)
1531
	{
1532
	    $this->data['RamId'] = $ramId;
1533
		foreach ($ramId as $i => $iValue) {
1534
			$this->options['query']['RamId.' . ($i + 1)] = $iValue;
1535
		}
1536
1537
		return $this;
1538
    }
1539
1540
    /**
1541
     * @param array $event
1542
     *
1543
     * @return $this
1544
     */
1545
	public function withEvent(array $event)
1546
	{
1547
	    $this->data['Event'] = $event;
1548
		foreach ($event as $i => $iValue) {
1549
			$this->options['query']['Event.' . ($i + 1)] = $iValue;
1550
		}
1551
1552
		return $this;
1553
    }
1554
}
1555
1556
/**
1557
 * @method string getAgentIds()
1558
 * @method $this withAgentIds($value)
1559
 * @method string getPageNumber()
1560
 * @method $this withPageNumber($value)
1561
 * @method string getInstanceId()
1562
 * @method $this withInstanceId($value)
1563
 * @method string getSkillGroupId()
1564
 * @method $this withSkillGroupId($value)
1565
 * @method string getPageSize()
1566
 * @method $this withPageSize($value)
1567
 * @method string getState()
1568
 * @method $this withState($value)
1569
 */
1570
class ListAgentStates extends Rpc
1571
{
1572
}
1573
1574
/**
1575
 * @method string getAgentIds()
1576
 * @method $this withAgentIds($value)
1577
 * @method string getEndTime()
1578
 * @method $this withEndTime($value)
1579
 * @method string getStartTime()
1580
 * @method $this withStartTime($value)
1581
 * @method string getPageNumber()
1582
 * @method $this withPageNumber($value)
1583
 * @method string getInstanceId()
1584
 * @method $this withInstanceId($value)
1585
 * @method string getSkillGroupId()
1586
 * @method $this withSkillGroupId($value)
1587
 * @method string getPageSize()
1588
 * @method $this withPageSize($value)
1589
 */
1590
class ListAgentSummaryReports extends Rpc
1591
{
1592
}
1593
1594
/**
1595
 * @method string getAgentIds()
1596
 * @method $this withAgentIds($value)
1597
 * @method string getEndTime()
1598
 * @method $this withEndTime($value)
1599
 * @method string getStartTime()
1600
 * @method $this withStartTime($value)
1601
 * @method string getPageNumber()
1602
 * @method $this withPageNumber($value)
1603
 * @method string getInstanceId()
1604
 * @method $this withInstanceId($value)
1605
 * @method string getSkillGroupId()
1606
 * @method $this withSkillGroupId($value)
1607
 * @method string getPageSize()
1608
 * @method $this withPageSize($value)
1609
 * @method string getInterval()
1610
 * @method $this withInterval($value)
1611
 */
1612
class ListAgentSummaryReportsByInterval extends Rpc
1613
{
1614
}
1615
1616
/**
1617
 * @method string getAgentIds()
1618
 * @method $this withAgentIds($value)
1619
 * @method string getPageNumber()
1620
 * @method $this withPageNumber($value)
1621
 * @method string getInstanceId()
1622
 * @method $this withInstanceId($value)
1623
 * @method string getSkillGroupId()
1624
 * @method $this withSkillGroupId($value)
1625
 * @method string getPageSize()
1626
 * @method $this withPageSize($value)
1627
 */
1628
class ListAgentSummaryReportsSinceMidnight extends Rpc
1629
{
1630
}
1631
1632
/**
1633
 * @method string getTitle()
1634
 * @method $this withTitle($value)
1635
 * @method string getPageNumber()
1636
 * @method $this withPageNumber($value)
1637
 * @method string getInstanceId()
1638
 * @method $this withInstanceId($value)
1639
 * @method string getJobGroupId()
1640
 * @method $this withJobGroupId($value)
1641
 * @method string getPageSize()
1642
 * @method $this withPageSize($value)
1643
 */
1644
class ListBasicStatisticsReportSubItems extends Rpc
1645
{
1646
}
1647
1648
/**
1649
 * @method string getContactType()
1650
 * @method $this withContactType($value)
1651
 * @method string getContactId()
1652
 * @method $this withContactId($value)
1653
 * @method string getCriteria()
1654
 * @method $this withCriteria($value)
1655
 * @method string getPhoneNumber()
1656
 * @method $this withPhoneNumber($value)
1657
 * @method string getOrderBy()
1658
 * @method $this withOrderBy($value)
1659
 * @method string getStartTime()
1660
 * @method $this withStartTime($value)
1661
 * @method string getStopTime()
1662
 * @method $this withStopTime($value)
1663
 * @method string getPageNumber()
1664
 * @method $this withPageNumber($value)
1665
 * @method string getInstanceId()
1666
 * @method $this withInstanceId($value)
1667
 * @method string getContactDisposition()
1668
 * @method $this withContactDisposition($value)
1669
 * @method string getPageSize()
1670
 * @method $this withPageSize($value)
1671
 * @method string getWithRecording()
1672
 * @method $this withWithRecording($value)
1673
 */
1674
class ListCallDetailRecords extends Rpc
1675
{
1676
}
1677
1678
/**
1679
 * @method string getInstanceId()
1680
 * @method $this withInstanceId($value)
1681
 * @method string getContactId()
1682
 * @method $this withContactId($value)
1683
 */
1684
class ListCallEventDetailByContactId extends Rpc
1685
{
1686
}
1687
1688
/**
1689
 * @method string getIntervalType()
1690
 * @method $this withIntervalType($value)
1691
 */
1692
class ListCallMeasureSummaryReports extends Rpc
1693
{
1694
}
1695
1696
/**
1697
 * @method string getInstanceId()
1698
 * @method $this withInstanceId($value)
1699
 * @method array getConfigItem()
1700
 */
1701
class ListConfig extends Rpc
1702
{
1703
1704
    /**
1705
     * @param array $configItem
1706
     *
1707
     * @return $this
1708
     */
1709
	public function withConfigItem(array $configItem)
1710
	{
1711
	    $this->data['ConfigItem'] = $configItem;
1712
		foreach ($configItem as $i => $iValue) {
1713
			$this->options['query']['ConfigItem.' . ($i + 1)] = $iValue;
1714
		}
1715
1716
		return $this;
1717
    }
1718
}
1719
1720
/**
1721
 * @method string getInstanceId()
1722
 * @method $this withInstanceId($value)
1723
 */
1724
class ListContactFlows extends Rpc
1725
{
1726
}
1727
1728
class ListInstancesOfUser extends Rpc
1729
{
1730
}
1731
1732
/**
1733
 * @method string getContactId()
1734
 * @method $this withContactId($value)
1735
 * @method string getStartTime()
1736
 * @method $this withStartTime($value)
1737
 * @method string getStopTime()
1738
 * @method $this withStopTime($value)
1739
 * @method string getPageNumber()
1740
 * @method $this withPageNumber($value)
1741
 * @method string getCallingNumber()
1742
 * @method $this withCallingNumber($value)
1743
 * @method string getInstanceId()
1744
 * @method $this withInstanceId($value)
1745
 * @method string getCalledNumber()
1746
 * @method $this withCalledNumber($value)
1747
 * @method string getPageSize()
1748
 * @method $this withPageSize($value)
1749
 */
1750
class ListIvrTrackingDetail extends Rpc
1751
{
1752
}
1753
1754
/**
1755
 * @method string getEndTime()
1756
 * @method $this withEndTime($value)
1757
 * @method string getStartTime()
1758
 * @method $this withStartTime($value)
1759
 * @method string getPageNumber()
1760
 * @method $this withPageNumber($value)
1761
 * @method string getInstanceId()
1762
 * @method $this withInstanceId($value)
1763
 * @method string getPageSize()
1764
 * @method $this withPageSize($value)
1765
 */
1766
class ListJobGroups extends Rpc
1767
{
1768
}
1769
1770
/**
1771
 * @method string getJobStatus()
1772
 * @method $this withJobStatus($value)
1773
 * @method string getPageNumber()
1774
 * @method $this withPageNumber($value)
1775
 * @method string getInstanceId()
1776
 * @method $this withInstanceId($value)
1777
 * @method string getJobFailureReason()
1778
 * @method $this withJobFailureReason($value)
1779
 * @method string getJobGroupId()
1780
 * @method $this withJobGroupId($value)
1781
 * @method string getPageSize()
1782
 * @method $this withPageSize($value)
1783
 */
1784
class ListJobsByGroup extends Rpc
1785
{
1786
}
1787
1788
/**
1789
 * @method string getTimeAlignment()
1790
 * @method $this withTimeAlignment($value)
1791
 * @method string getGroupId()
1792
 * @method $this withGroupId($value)
1793
 * @method string getPhoneNumber()
1794
 * @method $this withPhoneNumber($value)
1795
 * @method string getEndTime()
1796
 * @method $this withEndTime($value)
1797
 * @method string getStartTime()
1798
 * @method $this withStartTime($value)
1799
 * @method string getPageNumber()
1800
 * @method $this withPageNumber($value)
1801
 * @method string getContactName()
1802
 * @method $this withContactName($value)
1803
 * @method string getInstanceId()
1804
 * @method $this withInstanceId($value)
1805
 * @method string getPageSize()
1806
 * @method $this withPageSize($value)
1807
 * @method string getScenarioId()
1808
 * @method $this withScenarioId($value)
1809
 */
1810
class ListJobStatus extends Rpc
1811
{
1812
}
1813
1814
/**
1815
 * @method string getPageNumber()
1816
 * @method $this withPageNumber($value)
1817
 * @method string getInstanceId()
1818
 * @method $this withInstanceId($value)
1819
 * @method string getPageSize()
1820
 * @method $this withPageSize($value)
1821
 * @method string getNamePrefix()
1822
 * @method $this withNamePrefix($value)
1823
 */
1824
class ListMedias extends Rpc
1825
{
1826
}
1827
1828
/**
1829
 * @method string getInstanceId()
1830
 * @method $this withInstanceId($value)
1831
 * @method string getUserId()
1832
 * @method $this withUserId($value)
1833
 */
1834
class ListOutboundPhoneNumberOfUser extends Rpc
1835
{
1836
}
1837
1838
/**
1839
 * @method string getOutboundOnly()
1840
 * @method $this withOutboundOnly($value)
1841
 * @method string getInstanceId()
1842
 * @method $this withInstanceId($value)
1843
 */
1844
class ListPhoneNumbers extends Rpc
1845
{
1846
}
1847
1848
/**
1849
 * @method string getInstanceId()
1850
 * @method $this withInstanceId($value)
1851
 */
1852
class ListRealTimeAgent extends Rpc
1853
{
1854
}
1855
1856
/**
1857
 * @method string getCriteria()
1858
 * @method $this withCriteria($value)
1859
 * @method string getStartTime()
1860
 * @method $this withStartTime($value)
1861
 * @method string getStopTime()
1862
 * @method $this withStopTime($value)
1863
 * @method string getPageNumber()
1864
 * @method $this withPageNumber($value)
1865
 * @method string getInstanceId()
1866
 * @method $this withInstanceId($value)
1867
 * @method string getPageSize()
1868
 * @method $this withPageSize($value)
1869
 */
1870
class ListRecentCallRecords extends Rpc
1871
{
1872
}
1873
1874
/**
1875
 * @method string getAgentId()
1876
 * @method $this withAgentId($value)
1877
 * @method string getStartTime()
1878
 * @method $this withStartTime($value)
1879
 * @method string getStopTime()
1880
 * @method $this withStopTime($value)
1881
 * @method string getPageNumber()
1882
 * @method $this withPageNumber($value)
1883
 * @method string getCallingNumber()
1884
 * @method $this withCallingNumber($value)
1885
 * @method string getInstanceId()
1886
 * @method $this withInstanceId($value)
1887
 * @method string getCalledNumber()
1888
 * @method $this withCalledNumber($value)
1889
 * @method string getPageSize()
1890
 * @method $this withPageSize($value)
1891
 * @method string getConnectId()
1892
 * @method $this withConnectId($value)
1893
 */
1894
class ListRecordingOfDualTrack extends Rpc
1895
{
1896
}
1897
1898
/**
1899
 * @method string getAgentId()
1900
 * @method $this withAgentId($value)
1901
 * @method string getCriteria()
1902
 * @method $this withCriteria($value)
1903
 * @method string getPhoneNumber()
1904
 * @method $this withPhoneNumber($value)
1905
 * @method string getStopTime()
1906
 * @method $this withStopTime($value)
1907
 * @method string getStartTime()
1908
 * @method $this withStartTime($value)
1909
 * @method string getPageNumber()
1910
 * @method $this withPageNumber($value)
1911
 * @method string getInstanceId()
1912
 * @method $this withInstanceId($value)
1913
 * @method string getPageSize()
1914
 * @method $this withPageSize($value)
1915
 */
1916
class ListRecordings extends Rpc
1917
{
1918
}
1919
1920
/**
1921
 * @method string getInstanceId()
1922
 * @method $this withInstanceId($value)
1923
 * @method string getContactId()
1924
 * @method $this withContactId($value)
1925
 */
1926
class ListRecordingsByContactId extends Rpc
1927
{
1928
}
1929
1930
/**
1931
 * @method string getInstanceId()
1932
 * @method $this withInstanceId($value)
1933
 */
1934
class ListRoles extends Rpc
1935
{
1936
}
1937
1938
/**
1939
 * @method string getInstanceId()
1940
 * @method $this withInstanceId($value)
1941
 */
1942
class ListScenarios extends Rpc
1943
{
1944
}
1945
1946
class ListScenarioTemplates extends Rpc
1947
{
1948
}
1949
1950
/**
1951
 * @method string getInstanceId()
1952
 * @method $this withInstanceId($value)
1953
 */
1954
class ListSkillGroups extends Rpc
1955
{
1956
}
1957
1958
/**
1959
 * @method string getInstanceId()
1960
 * @method $this withInstanceId($value)
1961
 * @method string getUserId()
1962
 * @method $this withUserId($value)
1963
 */
1964
class ListSkillGroupsOfUser extends Rpc
1965
{
1966
}
1967
1968
/**
1969
 * @method string getPageNumber()
1970
 * @method $this withPageNumber($value)
1971
 * @method string getInstanceId()
1972
 * @method $this withInstanceId($value)
1973
 * @method string getSkillGroupIds()
1974
 * @method $this withSkillGroupIds($value)
1975
 * @method string getPageSize()
1976
 * @method $this withPageSize($value)
1977
 */
1978
class ListSkillGroupStates extends Rpc
1979
{
1980
}
1981
1982
/**
1983
 * @method string getEndTime()
1984
 * @method $this withEndTime($value)
1985
 * @method string getStartTime()
1986
 * @method $this withStartTime($value)
1987
 * @method string getPageNumber()
1988
 * @method $this withPageNumber($value)
1989
 * @method string getInstanceId()
1990
 * @method $this withInstanceId($value)
1991
 * @method string getSkillGroupIds()
1992
 * @method $this withSkillGroupIds($value)
1993
 * @method string getPageSize()
1994
 * @method $this withPageSize($value)
1995
 */
1996
class ListSkillGroupSummaryReports extends Rpc
1997
{
1998
}
1999
2000
/**
2001
 * @method string getEndTime()
2002
 * @method $this withEndTime($value)
2003
 * @method string getStartTime()
2004
 * @method $this withStartTime($value)
2005
 * @method string getPageNumber()
2006
 * @method $this withPageNumber($value)
2007
 * @method string getInstanceId()
2008
 * @method $this withInstanceId($value)
2009
 * @method string getSkillGroupIds()
2010
 * @method $this withSkillGroupIds($value)
2011
 * @method string getPageSize()
2012
 * @method $this withPageSize($value)
2013
 * @method string getInterval()
2014
 * @method $this withInterval($value)
2015
 */
2016
class ListSkillGroupSummaryReportsByInterval extends Rpc
2017
{
2018
}
2019
2020
/**
2021
 * @method string getPageNumber()
2022
 * @method $this withPageNumber($value)
2023
 * @method string getInstanceId()
2024
 * @method $this withInstanceId($value)
2025
 * @method string getSkillGroups()
2026
 * @method $this withSkillGroups($value)
2027
 * @method string getPageSize()
2028
 * @method $this withPageSize($value)
2029
 */
2030
class ListSkillGroupSummaryReportsSinceMidnight extends Rpc
2031
{
2032
}
2033
2034
/**
2035
 * @method string getInstanceId()
2036
 * @method $this withInstanceId($value)
2037
 * @method string getScenarioId()
2038
 * @method $this withScenarioId($value)
2039
 */
2040
class ListSurveys extends Rpc
2041
{
2042
}
2043
2044
/**
2045
 * @method string getPageNumber()
2046
 * @method $this withPageNumber($value)
2047
 * @method string getInstanceId()
2048
 * @method $this withInstanceId($value)
2049
 * @method string getJobGroupId()
2050
 * @method $this withJobGroupId($value)
2051
 * @method string getPageSize()
2052
 * @method $this withPageSize($value)
2053
 */
2054
class ListUnreachableContacts extends Rpc
2055
{
2056
}
2057
2058
/**
2059
 * @method string getPageNumber()
2060
 * @method $this withPageNumber($value)
2061
 * @method string getInstanceId()
2062
 * @method $this withInstanceId($value)
2063
 * @method string getPageSize()
2064
 * @method $this withPageSize($value)
2065
 */
2066
class ListUsers extends Rpc
2067
{
2068
}
2069
2070
/**
2071
 * @method string getPageNumber()
2072
 * @method $this withPageNumber($value)
2073
 * @method string getInstanceId()
2074
 * @method $this withInstanceId($value)
2075
 * @method string getSkillGroupId()
2076
 * @method $this withSkillGroupId($value)
2077
 * @method string getPageSize()
2078
 * @method $this withPageSize($value)
2079
 */
2080
class ListUsersOfSkillGroup extends Rpc
2081
{
2082
}
2083
2084
/**
2085
 * @method string getInstanceId()
2086
 * @method $this withInstanceId($value)
2087
 */
2088
class ListVoiceAppraise extends Rpc
2089
{
2090
}
2091
2092
/**
2093
 * @method string getIsLogin()
2094
 * @method $this withIsLogin($value)
2095
 * @method string getAgentDeviceId()
2096
 * @method $this withAgentDeviceId($value)
2097
 * @method string getInstanceId()
2098
 * @method $this withInstanceId($value)
2099
 */
2100
class ModifyAgentDevice extends Rpc
2101
{
2102
}
2103
2104
/**
2105
 * @method string getMaxConcurrentConversation()
2106
 * @method $this withMaxConcurrentConversation($value)
2107
 * @method string getInstanceId()
2108
 * @method $this withInstanceId($value)
2109
 * @method string getInstanceName()
2110
 * @method $this withInstanceName($value)
2111
 * @method string getCallCenterInstanceId()
2112
 * @method $this withCallCenterInstanceId($value)
2113
 * @method string getInstanceDescription()
2114
 * @method $this withInstanceDescription($value)
2115
 */
2116
class ModifyCabInstance extends Rpc
2117
{
2118
}
2119
2120
/**
2121
 * @method string getContactFlowId()
2122
 * @method $this withContactFlowId($value)
2123
 * @method string getUsage()
2124
 * @method $this withUsage($value)
2125
 * @method string getInstanceId()
2126
 * @method $this withInstanceId($value)
2127
 * @method string getPhoneNumberId()
2128
 * @method $this withPhoneNumberId($value)
2129
 * @method array getSkillGroupId()
2130
 */
2131
class ModifyPhoneNumber extends Rpc
2132
{
2133
2134
    /**
2135
     * @param array $skillGroupId
2136
     *
2137
     * @return $this
2138
     */
2139
	public function withSkillGroupId(array $skillGroupId)
2140
	{
2141
	    $this->data['SkillGroupId'] = $skillGroupId;
2142
		foreach ($skillGroupId as $i => $iValue) {
2143
			$this->options['query']['SkillGroupId.' . ($i + 1)] = $iValue;
2144
		}
2145
2146
		return $this;
2147
    }
2148
}
2149
2150
/**
2151
 * @method string getCallId()
2152
 * @method $this withCallId($value)
2153
 * @method string getContactId()
2154
 * @method $this withContactId($value)
2155
 * @method string getInstanceId()
2156
 * @method $this withInstanceId($value)
2157
 */
2158
class ModifyPrivacyNumberCallDetail extends Rpc
2159
{
2160
}
2161
2162
/**
2163
 * @method string getVariables()
2164
 * @method $this withVariables($value)
2165
 * @method string getDescription()
2166
 * @method $this withDescription($value)
2167
 * @method string getInstanceId()
2168
 * @method $this withInstanceId($value)
2169
 * @method string getName()
2170
 * @method $this withName($value)
2171
 * @method string getScenarioId()
2172
 * @method $this withScenarioId($value)
2173
 */
2174
class ModifyScenario extends Rpc
2175
{
2176
}
2177
2178
/**
2179
 * @method string getAllowPrivateOutboundNumber()
2180
 * @method $this withAllowPrivateOutboundNumber($value)
2181
 * @method string getDescription()
2182
 * @method $this withDescription($value)
2183
 * @method string getRoutingStrategy()
2184
 * @method $this withRoutingStrategy($value)
2185
 * @method array getUserId()
2186
 * @method array getSkillLevel()
2187
 * @method string getInstanceId()
2188
 * @method $this withInstanceId($value)
2189
 * @method array getOutboundPhoneNumberId()
2190
 * @method string getSkillGroupId()
2191
 * @method $this withSkillGroupId($value)
2192
 * @method string getName()
2193
 * @method $this withName($value)
2194
 */
2195
class ModifySkillGroup extends Rpc
2196
{
2197
2198
    /**
2199
     * @param array $userId
2200
     *
2201
     * @return $this
2202
     */
2203
	public function withUserId(array $userId)
2204
	{
2205
	    $this->data['UserId'] = $userId;
2206
		foreach ($userId as $i => $iValue) {
2207
			$this->options['query']['UserId.' . ($i + 1)] = $iValue;
2208
		}
2209
2210
		return $this;
2211
    }
2212
2213
    /**
2214
     * @param array $skillLevel
2215
     *
2216
     * @return $this
2217
     */
2218
	public function withSkillLevel(array $skillLevel)
2219
	{
2220
	    $this->data['SkillLevel'] = $skillLevel;
2221
		foreach ($skillLevel as $i => $iValue) {
2222
			$this->options['query']['SkillLevel.' . ($i + 1)] = $iValue;
2223
		}
2224
2225
		return $this;
2226
    }
2227
2228
    /**
2229
     * @param array $outboundPhoneNumberId
2230
     *
2231
     * @return $this
2232
     */
2233
	public function withOutboundPhoneNumberId(array $outboundPhoneNumberId)
2234
	{
2235
	    $this->data['OutboundPhoneNumberId'] = $outboundPhoneNumberId;
2236
		foreach ($outboundPhoneNumberId as $i => $iValue) {
2237
			$this->options['query']['OutboundPhoneNumberId.' . ($i + 1)] = $iValue;
2238
		}
2239
2240
		return $this;
2241
    }
2242
}
2243
2244
/**
2245
 * @method array getRoleId()
2246
 * @method string getUserId()
2247
 * @method $this withUserId($value)
2248
 * @method array getSkillLevel()
2249
 * @method string getInstanceId()
2250
 * @method $this withInstanceId($value)
2251
 * @method array getSkillGroupId()
2252
 */
2253
class ModifySkillGroupOfUser extends Rpc
2254
{
2255
2256
    /**
2257
     * @param array $roleId
2258
     *
2259
     * @return $this
2260
     */
2261
	public function withRoleId(array $roleId)
2262
	{
2263
	    $this->data['RoleId'] = $roleId;
2264
		foreach ($roleId as $i => $iValue) {
2265
			$this->options['query']['RoleId.' . ($i + 1)] = $iValue;
2266
		}
2267
2268
		return $this;
2269
    }
2270
2271
    /**
2272
     * @param array $skillLevel
2273
     *
2274
     * @return $this
2275
     */
2276
	public function withSkillLevel(array $skillLevel)
2277
	{
2278
	    $this->data['SkillLevel'] = $skillLevel;
2279
		foreach ($skillLevel as $i => $iValue) {
2280
			$this->options['query']['SkillLevel.' . ($i + 1)] = $iValue;
2281
		}
2282
2283
		return $this;
2284
    }
2285
2286
    /**
2287
     * @param array $skillGroupId
2288
     *
2289
     * @return $this
2290
     */
2291
	public function withSkillGroupId(array $skillGroupId)
2292
	{
2293
	    $this->data['SkillGroupId'] = $skillGroupId;
2294
		foreach ($skillGroupId as $i => $iValue) {
2295
			$this->options['query']['SkillGroupId.' . ($i + 1)] = $iValue;
2296
		}
2297
2298
		return $this;
2299
    }
2300
}
2301
2302
/**
2303
 * @method string getOperationType()
2304
 * @method $this withOperationType($value)
2305
 * @method string getInstanceId()
2306
 * @method $this withInstanceId($value)
2307
 * @method array getOutboundPhoneNumberId()
2308
 * @method string getSkillGroupId()
2309
 * @method $this withSkillGroupId($value)
2310
 */
2311
class ModifySkillGroupOutboundNumbers extends Rpc
2312
{
2313
2314
    /**
2315
     * @param array $outboundPhoneNumberId
2316
     *
2317
     * @return $this
2318
     */
2319
	public function withOutboundPhoneNumberId(array $outboundPhoneNumberId)
2320
	{
2321
	    $this->data['OutboundPhoneNumberId'] = $outboundPhoneNumberId;
2322
		foreach ($outboundPhoneNumberId as $i => $iValue) {
2323
			$this->options['query']['OutboundPhoneNumberId.' . ($i + 1)] = $iValue;
2324
		}
2325
2326
		return $this;
2327
    }
2328
}
2329
2330
/**
2331
 * @method string getRole()
2332
 * @method $this withRole($value)
2333
 * @method string getDescription()
2334
 * @method $this withDescription($value)
2335
 * @method string getFlowJson()
2336
 * @method $this withFlowJson($value)
2337
 * @method string getGlobalQuestions()
2338
 * @method $this withGlobalQuestions($value)
2339
 * @method string getCorpora()
2340
 * @method $this withCorpora($value)
2341
 * @method string getScenarioId()
2342
 * @method $this withScenarioId($value)
2343
 * @method string getSurveyId()
2344
 * @method $this withSurveyId($value)
2345
 * @method string getSpeechOptimizationParam()
2346
 * @method $this withSpeechOptimizationParam($value)
2347
 * @method string getInstanceId()
2348
 * @method $this withInstanceId($value)
2349
 * @method string getRound()
2350
 * @method $this withRound($value)
2351
 * @method string getName()
2352
 * @method $this withName($value)
2353
 * @method string getFlowId()
2354
 * @method $this withFlowId($value)
2355
 */
2356
class ModifySurvey extends Rpc
2357
{
2358
}
2359
2360
/**
2361
 * @method string getPrivateOutboundNumberId()
2362
 * @method $this withPrivateOutboundNumberId($value)
2363
 * @method array getRoleId()
2364
 * @method string getUserId()
2365
 * @method $this withUserId($value)
2366
 * @method array getSkillLevel()
2367
 * @method string getInstanceId()
2368
 * @method $this withInstanceId($value)
2369
 * @method string getPhone()
2370
 * @method $this withPhone($value)
2371
 * @method string getDisplayName()
2372
 * @method $this withDisplayName($value)
2373
 * @method array getSkillGroupId()
2374
 * @method string getEmail()
2375
 * @method $this withEmail($value)
2376
 */
2377
class ModifyUser extends Rpc
2378
{
2379
2380
    /**
2381
     * @param array $roleId
2382
     *
2383
     * @return $this
2384
     */
2385
	public function withRoleId(array $roleId)
2386
	{
2387
	    $this->data['RoleId'] = $roleId;
2388
		foreach ($roleId as $i => $iValue) {
2389
			$this->options['query']['RoleId.' . ($i + 1)] = $iValue;
2390
		}
2391
2392
		return $this;
2393
    }
2394
2395
    /**
2396
     * @param array $skillLevel
2397
     *
2398
     * @return $this
2399
     */
2400
	public function withSkillLevel(array $skillLevel)
2401
	{
2402
	    $this->data['SkillLevel'] = $skillLevel;
2403
		foreach ($skillLevel as $i => $iValue) {
2404
			$this->options['query']['SkillLevel.' . ($i + 1)] = $iValue;
2405
		}
2406
2407
		return $this;
2408
    }
2409
2410
    /**
2411
     * @param array $skillGroupId
2412
     *
2413
     * @return $this
2414
     */
2415
	public function withSkillGroupId(array $skillGroupId)
2416
	{
2417
	    $this->data['SkillGroupId'] = $skillGroupId;
2418
		foreach ($skillGroupId as $i => $iValue) {
2419
			$this->options['query']['SkillGroupId.' . ($i + 1)] = $iValue;
2420
		}
2421
2422
		return $this;
2423
    }
2424
}
2425
2426
/**
2427
 * @method string getIsVirtual()
2428
 * @method $this withIsVirtual($value)
2429
 * @method string getCount()
2430
 * @method $this withCount($value)
2431
 * @method string getInstanceId()
2432
 * @method $this withInstanceId($value)
2433
 * @method array getSkillGroupId()
2434
 * @method string getCalleeNumber()
2435
 * @method $this withCalleeNumber($value)
2436
 */
2437
class PickGlobalOutboundNumbers extends Rpc
2438
{
2439
2440
    /**
2441
     * @param array $skillGroupId
2442
     *
2443
     * @return $this
2444
     */
2445
	public function withSkillGroupId(array $skillGroupId)
2446
	{
2447
	    $this->data['SkillGroupId'] = $skillGroupId;
2448
		foreach ($skillGroupId as $i => $iValue) {
2449
			$this->options['query']['SkillGroupId.' . ($i + 1)] = $iValue;
2450
		}
2451
2452
		return $this;
2453
    }
2454
}
2455
2456
/**
2457
 * @method string getInstanceId()
2458
 * @method $this withInstanceId($value)
2459
 * @method array getCandidateNumber()
2460
 * @method string getCalleeNumber()
2461
 * @method $this withCalleeNumber($value)
2462
 */
2463
class PickLocalNumber extends Rpc
2464
{
2465
2466
    /**
2467
     * @param array $candidateNumber
2468
     *
2469
     * @return $this
2470
     */
2471
	public function withCandidateNumber(array $candidateNumber)
2472
	{
2473
	    $this->data['CandidateNumber'] = $candidateNumber;
2474
		foreach ($candidateNumber as $i => $iValue) {
2475
			$this->options['query']['CandidateNumber.' . ($i + 1)] = $iValue;
2476
		}
2477
2478
		return $this;
2479
    }
2480
}
2481
2482
/**
2483
 * @method string getCount()
2484
 * @method $this withCount($value)
2485
 * @method string getInstanceId()
2486
 * @method $this withInstanceId($value)
2487
 * @method array getCandidateNumber()
2488
 * @method string getCalleeNumber()
2489
 * @method $this withCalleeNumber($value)
2490
 */
2491
class PickOutboundNumbers extends Rpc
2492
{
2493
2494
    /**
2495
     * @param array $candidateNumber
2496
     *
2497
     * @return $this
2498
     */
2499
	public function withCandidateNumber(array $candidateNumber)
2500
	{
2501
	    $this->data['CandidateNumber'] = $candidateNumber;
2502
		foreach ($candidateNumber as $i => $iValue) {
2503
			$this->options['query']['CandidateNumber.' . ($i + 1)] = $iValue;
2504
		}
2505
2506
		return $this;
2507
    }
2508
}
2509
2510
/**
2511
 * @method string getInstanceId()
2512
 * @method $this withInstanceId($value)
2513
 * @method string getContactFlowVersionId()
2514
 * @method $this withContactFlowVersionId($value)
2515
 * @method string getUseTianGong()
2516
 * @method $this withUseTianGong($value)
2517
 */
2518
class PublishContactFlowVersion extends Rpc
2519
{
2520
}
2521
2522
/**
2523
 * @method string getSurveyId()
2524
 * @method $this withSurveyId($value)
2525
 * @method string getInstanceId()
2526
 * @method $this withInstanceId($value)
2527
 * @method string getScenarioId()
2528
 * @method $this withScenarioId($value)
2529
 */
2530
class PublishSurvey extends Rpc
2531
{
2532
}
2533
2534
/**
2535
 * @method string getInstanceId()
2536
 * @method $this withInstanceId($value)
2537
 */
2538
class RefreshToken extends Rpc
2539
{
2540
}
2541
2542
/**
2543
 * @method string getInstanceId()
2544
 * @method $this withInstanceId($value)
2545
 * @method string getPhoneNumberId()
2546
 * @method $this withPhoneNumberId($value)
2547
 */
2548
class RemovePhoneNumber extends Rpc
2549
{
2550
}
2551
2552
/**
2553
 * @method string getInstanceId()
2554
 * @method $this withInstanceId($value)
2555
 * @method array getUserId()
2556
 */
2557
class RemoveUsers extends Rpc
2558
{
2559
2560
    /**
2561
     * @param array $userId
2562
     *
2563
     * @return $this
2564
     */
2565
	public function withUserId(array $userId)
2566
	{
2567
	    $this->data['UserId'] = $userId;
2568
		foreach ($userId as $i => $iValue) {
2569
			$this->options['query']['UserId.' . ($i + 1)] = $iValue;
2570
		}
2571
2572
		return $this;
2573
    }
2574
}
2575
2576
/**
2577
 * @method array getUserId()
2578
 * @method string getInstanceId()
2579
 * @method $this withInstanceId($value)
2580
 * @method string getSkillGroupId()
2581
 * @method $this withSkillGroupId($value)
2582
 */
2583
class RemoveUsersFromSkillGroup extends Rpc
2584
{
2585
2586
    /**
2587
     * @param array $userId
2588
     *
2589
     * @return $this
2590
     */
2591
	public function withUserId(array $userId)
2592
	{
2593
	    $this->data['UserId'] = $userId;
2594
		foreach ($userId as $i => $iValue) {
2595
			$this->options['query']['UserId.' . ($i + 1)] = $iValue;
2596
		}
2597
2598
		return $this;
2599
    }
2600
}
2601
2602
/**
2603
 * @method string getInstanceId()
2604
 * @method $this withInstanceId($value)
2605
 */
2606
class RequestLoginInfo extends Rpc
2607
{
2608
}
2609
2610
/**
2611
 * @method string getInstanceId()
2612
 * @method $this withInstanceId($value)
2613
 */
2614
class ResetUserStatus extends Rpc
2615
{
2616
}
2617
2618
/**
2619
 * @method string getAll()
2620
 * @method $this withAll($value)
2621
 * @method array getJobReferenceId()
2622
 * @method string getGroupId()
2623
 * @method $this withGroupId($value)
2624
 * @method array getJobId()
2625
 * @method string getInstanceId()
2626
 * @method $this withInstanceId($value)
2627
 * @method string getScenarioId()
2628
 * @method $this withScenarioId($value)
2629
 */
2630
class ResumeJobs extends Rpc
2631
{
2632
2633
    /**
2634
     * @param array $jobReferenceId
2635
     *
2636
     * @return $this
2637
     */
2638
	public function withJobReferenceId(array $jobReferenceId)
2639
	{
2640
	    $this->data['JobReferenceId'] = $jobReferenceId;
2641
		foreach ($jobReferenceId as $i => $iValue) {
2642
			$this->options['query']['JobReferenceId.' . ($i + 1)] = $iValue;
2643
		}
2644
2645
		return $this;
2646
    }
2647
2648
    /**
2649
     * @param array $jobId
2650
     *
2651
     * @return $this
2652
     */
2653
	public function withJobId(array $jobId)
2654
	{
2655
	    $this->data['JobId'] = $jobId;
2656
		foreach ($jobId as $i => $iValue) {
2657
			$this->options['query']['JobId.' . ($i + 1)] = $iValue;
2658
		}
2659
2660
		return $this;
2661
    }
2662
}
2663
2664
/**
2665
 * @method string getCallId()
2666
 * @method $this withCallId($value)
2667
 * @method string getRecordTime()
2668
 * @method $this withRecordTime($value)
2669
 * @method string getCallStartTime()
2670
 * @method $this withCallStartTime($value)
2671
 * @method string getUid()
2672
 * @method $this withUid($value)
2673
 * @method string getInstanceId()
2674
 * @method $this withInstanceId($value)
2675
 * @method string getStats()
2676
 * @method $this withStats($value)
2677
 * @method string getTenantId()
2678
 * @method $this withTenantId($value)
2679
 * @method string getCalleeNumber()
2680
 * @method $this withCalleeNumber($value)
2681
 * @method string getCallerNumber()
2682
 * @method $this withCallerNumber($value)
2683
 */
2684
class SaveStats extends Rpc
2685
{
2686
}
2687
2688
/**
2689
 * @method string getCallId()
2690
 * @method $this withCallId($value)
2691
 * @method string getRecordTime()
2692
 * @method $this withRecordTime($value)
2693
 * @method string getCallStartTime()
2694
 * @method $this withCallStartTime($value)
2695
 * @method string getUid()
2696
 * @method $this withUid($value)
2697
 * @method string getInstanceId()
2698
 * @method $this withInstanceId($value)
2699
 * @method string getStats()
2700
 * @method $this withStats($value)
2701
 * @method string getTenantId()
2702
 * @method $this withTenantId($value)
2703
 * @method string getCalleeNumber()
2704
 * @method $this withCalleeNumber($value)
2705
 * @method string getCallerNumber()
2706
 * @method $this withCallerNumber($value)
2707
 */
2708
class SaveWebRTCStats extends Rpc
2709
{
2710
}
2711
2712
/**
2713
 * @method string getPhoneNumbers()
2714
 * @method $this withPhoneNumbers($value)
2715
 * @method string getInstanceId()
2716
 * @method $this withInstanceId($value)
2717
 * @method string getConfigId()
2718
 * @method $this withConfigId($value)
2719
 * @method string getTemplateParam()
2720
 * @method $this withTemplateParam($value)
2721
 */
2722
class SendPredefinedShortMessage extends Rpc
2723
{
2724
}
2725
2726
/**
2727
 * @method string getCallCenterNumber()
2728
 * @method $this withCallCenterNumber($value)
2729
 * @method string getCallee()
2730
 * @method $this withCallee($value)
2731
 * @method string getCaller()
2732
 * @method $this withCaller($value)
2733
 * @method string getInstanceId()
2734
 * @method $this withInstanceId($value)
2735
 * @method string getWorkflowId()
2736
 * @method $this withWorkflowId($value)
2737
 */
2738
class StartBack2BackCall extends Rpc
2739
{
2740
}
2741
2742
/**
2743
 * @method string getGroupId()
2744
 * @method $this withGroupId($value)
2745
 * @method string getJobJson()
2746
 * @method $this withJobJson($value)
2747
 * @method array getCallingNumber()
2748
 * @method string getInstanceId()
2749
 * @method $this withInstanceId($value)
2750
 * @method string getSelfHostedCallCenter()
2751
 * @method $this withSelfHostedCallCenter($value)
2752
 * @method string getScenarioId()
2753
 * @method $this withScenarioId($value)
2754
 */
2755
class StartJob extends Rpc
2756
{
2757
2758
    /**
2759
     * @param array $callingNumber
2760
     *
2761
     * @return $this
2762
     */
2763
	public function withCallingNumber(array $callingNumber)
2764
	{
2765
	    $this->data['CallingNumber'] = $callingNumber;
2766
		foreach ($callingNumber as $i => $iValue) {
2767
			$this->options['query']['CallingNumber.' . ($i + 1)] = $iValue;
2768
		}
2769
2770
		return $this;
2771
    }
2772
}
2773
2774
/**
2775
 * @method string getInstanceId()
2776
 * @method $this withInstanceId($value)
2777
 * @method string getJobGroupId()
2778
 * @method $this withJobGroupId($value)
2779
 */
2780
class SubmitBatchJobs extends Rpc
2781
{
2782
}
2783
2784
/**
2785
 * @method string getMergedRecording()
2786
 * @method $this withMergedRecording($value)
2787
 * @method string getResourceRecording()
2788
 * @method $this withResourceRecording($value)
2789
 * @method string getInstanceId()
2790
 * @method $this withInstanceId($value)
2791
 * @method string getInstanceOwnerId()
2792
 * @method $this withInstanceOwnerId($value)
2793
 * @method string getTaskId()
2794
 * @method $this withTaskId($value)
2795
 */
2796
class SubmitCabRecording extends Rpc
2797
{
2798
}
2799
2800
/**
2801
 * @method string getAll()
2802
 * @method $this withAll($value)
2803
 * @method array getJobReferenceId()
2804
 * @method string getGroupId()
2805
 * @method $this withGroupId($value)
2806
 * @method array getJobId()
2807
 * @method string getInstanceId()
2808
 * @method $this withInstanceId($value)
2809
 * @method string getScenarioId()
2810
 * @method $this withScenarioId($value)
2811
 */
2812
class SuspendJobs extends Rpc
2813
{
2814
2815
    /**
2816
     * @param array $jobReferenceId
2817
     *
2818
     * @return $this
2819
     */
2820
	public function withJobReferenceId(array $jobReferenceId)
2821
	{
2822
	    $this->data['JobReferenceId'] = $jobReferenceId;
2823
		foreach ($jobReferenceId as $i => $iValue) {
2824
			$this->options['query']['JobReferenceId.' . ($i + 1)] = $iValue;
2825
		}
2826
2827
		return $this;
2828
    }
2829
2830
    /**
2831
     * @param array $jobId
2832
     *
2833
     * @return $this
2834
     */
2835
	public function withJobId(array $jobId)
2836
	{
2837
	    $this->data['JobId'] = $jobId;
2838
		foreach ($jobId as $i => $iValue) {
2839
			$this->options['query']['JobId.' . ($i + 1)] = $iValue;
2840
		}
2841
2842
		return $this;
2843
    }
2844
}
2845