GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Passed
Pull Request — master (#129)
by Yong
05:51
created

AddAgentDevice   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 27
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 2
eloc 7
dl 0
loc 27
c 0
b 0
f 0
ccs 0
cts 0
cp 0
rs 10

2 Methods

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