GitHub Access Token became invalid

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

ModifySkillGroupOutboundNumbers   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 2
eloc 5
dl 0
loc 16
c 0
b 0
f 0
rs 10

1 Method

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