GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Test Failed
Push — master ( 43c83c...13eed7 )
by
unknown
07:25
created

MoveUserOrg   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 29
Duplicated Lines 0 %

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A withEndUserIds() 0 8 2
A withOrgId() 0 6 1
1
<?php
2
3
namespace AlibabaCloud\EdsUser\V20210308;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method BatchSetDesktopManager batchSetDesktopManager(array $options = [])
9
 * @method ChangeUserPassword changeUserPassword(array $options = [])
10
 * @method CheckUsedProperty checkUsedProperty(array $options = [])
11
 * @method CheckUsedPropertyValue checkUsedPropertyValue(array $options = [])
12
 * @method CreateGroup createGroup(array $options = [])
13
 * @method CreateOrg createOrg(array $options = [])
14
 * @method CreateProperty createProperty(array $options = [])
15
 * @method CreateResourceGroup createResourceGroup(array $options = [])
16
 * @method CreateUsers createUsers(array $options = [])
17
 * @method DeleteResourceGroup deleteResourceGroup(array $options = [])
18
 * @method DeleteUserPropertyValue deleteUserPropertyValue(array $options = [])
19
 * @method DescribeGroups describeGroups(array $options = [])
20
 * @method DescribeGroupUser describeGroupUser(array $options = [])
21
 * @method DescribeMfaDevices describeMfaDevices(array $options = [])
22
 * @method DescribeOrgByLayer describeOrgByLayer(array $options = [])
23
 * @method DescribeOrgs describeOrgs(array $options = [])
24
 * @method DescribeResourceGroups describeResourceGroups(array $options = [])
25
 * @method DescribeUsers describeUsers(array $options = [])
26
 * @method FilterUsers filterUsers(array $options = [])
27
 * @method GetManagerInfoByAuthCode getManagerInfoByAuthCode(array $options = [])
28
 * @method InitTenantAlias initTenantAlias(array $options = [])
29
 * @method ListProperty listProperty(array $options = [])
30
 * @method ListPropertyValue listPropertyValue(array $options = [])
31
 * @method LockMfaDevice lockMfaDevice(array $options = [])
32
 * @method LockUsers lockUsers(array $options = [])
33
 * @method ModifyGroup modifyGroup(array $options = [])
34
 * @method ModifyOrg modifyOrg(array $options = [])
35
 * @method ModifyUser modifyUser(array $options = [])
36
 * @method MoveOrg moveOrg(array $options = [])
37
 * @method MoveUserOrg moveUserOrg(array $options = [])
38
 * @method QuerySyncStatusByAliUid querySyncStatusByAliUid(array $options = [])
39
 * @method RemoveGroup removeGroup(array $options = [])
40
 * @method RemoveMfaDevice removeMfaDevice(array $options = [])
41
 * @method RemoveOrg removeOrg(array $options = [])
42
 * @method RemoveProperty removeProperty(array $options = [])
43
 * @method RemoveUsers removeUsers(array $options = [])
44
 * @method ResetUserPassword resetUserPassword(array $options = [])
45
 * @method SetUserPropertyValue setUserPropertyValue(array $options = [])
46
 * @method SyncAllEduInfo syncAllEduInfo(array $options = [])
47
 * @method UnlockMfaDevice unlockMfaDevice(array $options = [])
48
 * @method UnlockUsers unlockUsers(array $options = [])
49
 * @method UpdateProperty updateProperty(array $options = [])
50
 * @method UserBatchJoinGroup userBatchJoinGroup(array $options = [])
51
 * @method UserBatchQuitGroup userBatchQuitGroup(array $options = [])
52
 */
53
class EdsUserApiResolver extends ApiResolver
54
{
55
}
56
57
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
58
{
59
    /** @var string */
60
    public $product = 'eds-user';
61
62
    /** @var string */
63
    public $version = '2021-03-08';
64
65
    /** @var string */
66
    public $method = 'POST';
67
68
    /** @var string */
69
    public $serviceCode = 'eds-user';
70
}
71
72
/**
73
 * @method string getIsDesktopManager()
74
 * @method array getUsers()
75
 */
76
class BatchSetDesktopManager extends Rpc
77
{
78
79
    /**
80
     * @param string $value
81
     *
82
     * @return $this
83
     */
84
    public function withIsDesktopManager($value)
85
    {
86
        $this->data['IsDesktopManager'] = $value;
87
        $this->options['form_params']['IsDesktopManager'] = $value;
88
89
        return $this;
90
    }
91
92
    /**
93
     * @param array $users
94
     *
95
     * @return $this
96
     */
97
	public function withUsers(array $users)
98
	{
99
	    $this->data['Users'] = $users;
100
		foreach ($users as $i => $iValue) {
101
			$this->options['form_params']['Users.' . ($i + 1)] = $iValue;
102
		}
103
104
		return $this;
105
    }
106
}
107
108
/**
109
 * @method string getNewPassword()
110
 * @method string getEndUserId()
111
 * @method string getNotifyType()
112
 */
113
class ChangeUserPassword extends Rpc
114
{
115
116
    /**
117
     * @param string $value
118
     *
119
     * @return $this
120
     */
121
    public function withNewPassword($value)
122
    {
123
        $this->data['NewPassword'] = $value;
124
        $this->options['form_params']['NewPassword'] = $value;
125
126
        return $this;
127
    }
128
129
    /**
130
     * @param string $value
131
     *
132
     * @return $this
133
     */
134
    public function withEndUserId($value)
135
    {
136
        $this->data['EndUserId'] = $value;
137
        $this->options['form_params']['EndUserId'] = $value;
138
139
        return $this;
140
    }
141
142
    /**
143
     * @param string $value
144
     *
145
     * @return $this
146
     */
147
    public function withNotifyType($value)
148
    {
149
        $this->data['NotifyType'] = $value;
150
        $this->options['form_params']['NotifyType'] = $value;
151
152
        return $this;
153
    }
154
}
155
156
/**
157
 * @method string getPropertyId()
158
 * @method $this withPropertyId($value)
159
 */
160
class CheckUsedProperty extends Rpc
161
{
162
}
163
164
/**
165
 * @method string getPropertyValueId()
166
 * @method $this withPropertyValueId($value)
167
 * @method string getPropertyId()
168
 * @method $this withPropertyId($value)
169
 */
170
class CheckUsedPropertyValue extends Rpc
171
{
172
}
173
174
/**
175
 * @method string getGroupName()
176
 * @method $this withGroupName($value)
177
 * @method string getBizType()
178
 * @method $this withBizType($value)
179
 * @method string getParentGroupId()
180
 * @method $this withParentGroupId($value)
181
 * @method string getSolutionId()
182
 * @method $this withSolutionId($value)
183
 */
184
class CreateGroup extends Rpc
185
{
186
}
187
188
/**
189
 * @method string getIcon()
190
 * @method $this withIcon($value)
191
 * @method string getOrgName()
192
 * @method $this withOrgName($value)
193
 * @method string getParentOrgId()
194
 * @method $this withParentOrgId($value)
195
 */
196
class CreateOrg extends Rpc
197
{
198
}
199
200
/**
201
 * @method string getPropertyKey()
202
 * @method array getPropertyValues()
203
 */
204
class CreateProperty extends Rpc
205
{
206
207
    /**
208
     * @param string $value
209
     *
210
     * @return $this
211
     */
212
    public function withPropertyKey($value)
213
    {
214
        $this->data['PropertyKey'] = $value;
215
        $this->options['form_params']['PropertyKey'] = $value;
216
217
        return $this;
218
    }
219
220
    /**
221
     * @param array $propertyValues
222
     *
223
     * @return $this
224
     */
225
	public function withPropertyValues(array $propertyValues)
226
	{
227
	    $this->data['PropertyValues'] = $propertyValues;
228
		foreach ($propertyValues as $i => $iValue) {
229
			$this->options['form_params']['PropertyValues.' . ($i + 1)] = $iValue;
230
		}
231
232
		return $this;
233
    }
234
}
235
236
/**
237
 * @method string getResourceGroupName()
238
 * @method $this withResourceGroupName($value)
239
 * @method string getPlatform()
240
 * @method $this withPlatform($value)
241
 * @method string getIsResourceGroupWithOfficeSite()
242
 * @method $this withIsResourceGroupWithOfficeSite($value)
243
 */
244
class CreateResourceGroup extends Rpc
245
{
246
}
247
248
/**
249
 * @method string getAutoLockTime()
250
 * @method $this withAutoLockTime($value)
251
 * @method string getIsLocalAdmin()
252
 * @method $this withIsLocalAdmin($value)
253
 * @method array getUsers()
254
 * @method string getPassword()
255
 * @method string getPasswordExpireDays()
256
 * @method $this withPasswordExpireDays($value)
257
 */
258
class CreateUsers extends Rpc
259
{
260
261
    /**
262
     * @param array $users
263
     *
264
     * @return $this
265
     */
266
	public function withUsers(array $users)
267
	{
268
	    $this->data['Users'] = $users;
269
		foreach ($users as $depth1 => $depth1Value) {
270
			if(isset($depth1Value['Password'])){
271
				$this->options['form_params']['Users.' . ($depth1 + 1) . '.Password'] = $depth1Value['Password'];
272
			}
273
			if(isset($depth1Value['RealNickName'])){
274
				$this->options['form_params']['Users.' . ($depth1 + 1) . '.RealNickName'] = $depth1Value['RealNickName'];
275
			}
276
			if(isset($depth1Value['Phone'])){
277
				$this->options['form_params']['Users.' . ($depth1 + 1) . '.Phone'] = $depth1Value['Phone'];
278
			}
279
			if(isset($depth1Value['OwnerType'])){
280
				$this->options['form_params']['Users.' . ($depth1 + 1) . '.OwnerType'] = $depth1Value['OwnerType'];
281
			}
282
			if(isset($depth1Value['EndUserId'])){
283
				$this->options['form_params']['Users.' . ($depth1 + 1) . '.EndUserId'] = $depth1Value['EndUserId'];
284
			}
285
			if(isset($depth1Value['Remark'])){
286
				$this->options['form_params']['Users.' . ($depth1 + 1) . '.Remark'] = $depth1Value['Remark'];
287
			}
288
			if(isset($depth1Value['Email'])){
289
				$this->options['form_params']['Users.' . ($depth1 + 1) . '.Email'] = $depth1Value['Email'];
290
			}
291
			if(isset($depth1Value['OrgId'])){
292
				$this->options['form_params']['Users.' . ($depth1 + 1) . '.OrgId'] = $depth1Value['OrgId'];
293
			}
294
		}
295
296
		return $this;
297
    }
298
299
    /**
300
     * @param string $value
301
     *
302
     * @return $this
303
     */
304
    public function withPassword($value)
305
    {
306
        $this->data['Password'] = $value;
307
        $this->options['form_params']['Password'] = $value;
308
309
        return $this;
310
    }
311
}
312
313
/**
314
 * @method string getPlatform()
315
 * @method $this withPlatform($value)
316
 * @method string getResourceGroupId()
317
 * @method $this withResourceGroupId($value)
318
 * @method string getResourceGroupIds()
319
 * @method $this withResourceGroupIds($value)
320
 */
321
class DeleteResourceGroup extends Rpc
322
{
323
}
324
325
/**
326
 * @method string getPropertyValueId()
327
 * @method string getUserId()
328
 * @method string getPropertyId()
329
 */
330
class DeleteUserPropertyValue extends Rpc
331
{
332
333
    /**
334
     * @param string $value
335
     *
336
     * @return $this
337
     */
338
    public function withPropertyValueId($value)
339
    {
340
        $this->data['PropertyValueId'] = $value;
341
        $this->options['form_params']['PropertyValueId'] = $value;
342
343
        return $this;
344
    }
345
346
    /**
347
     * @param string $value
348
     *
349
     * @return $this
350
     */
351
    public function withUserId($value)
352
    {
353
        $this->data['UserId'] = $value;
354
        $this->options['form_params']['UserId'] = $value;
355
356
        return $this;
357
    }
358
359
    /**
360
     * @param string $value
361
     *
362
     * @return $this
363
     */
364
    public function withPropertyId($value)
365
    {
366
        $this->data['PropertyId'] = $value;
367
        $this->options['form_params']['PropertyId'] = $value;
368
369
        return $this;
370
    }
371
}
372
373
/**
374
 * @method string getGroupId()
375
 * @method $this withGroupId($value)
376
 * @method string getGroupName()
377
 * @method $this withGroupName($value)
378
 * @method string getBizType()
379
 * @method $this withBizType($value)
380
 * @method string getSolutionId()
381
 * @method $this withSolutionId($value)
382
 */
383
class DescribeGroups extends Rpc
384
{
385
}
386
387
/**
388
 * @method string getGroupId()
389
 * @method $this withGroupId($value)
390
 * @method string getBizType()
391
 * @method $this withBizType($value)
392
 * @method string getSolutionId()
393
 * @method $this withSolutionId($value)
394
 */
395
class DescribeGroupUser extends Rpc
396
{
397
}
398
399
/**
400
 * @method array getEndUserIds()
401
 * @method array getSerialNumbers()
402
 * @method string getAdDomain()
403
 * @method $this withAdDomain($value)
404
 * @method string getNextToken()
405
 * @method $this withNextToken($value)
406
 * @method string getMaxResults()
407
 * @method $this withMaxResults($value)
408
 */
409
class DescribeMfaDevices extends Rpc
410
{
411
412
    /**
413
     * @param array $endUserIds
414
     *
415
     * @return $this
416
     */
417
	public function withEndUserIds(array $endUserIds)
418
	{
419
	    $this->data['EndUserIds'] = $endUserIds;
420
		foreach ($endUserIds as $i => $iValue) {
421
			$this->options['query']['EndUserIds.' . ($i + 1)] = $iValue;
422
		}
423
424
		return $this;
425
    }
426
427
    /**
428
     * @param array $serialNumbers
429
     *
430
     * @return $this
431
     */
432
	public function withSerialNumbers(array $serialNumbers)
433
	{
434
	    $this->data['SerialNumbers'] = $serialNumbers;
435
		foreach ($serialNumbers as $i => $iValue) {
436
			$this->options['query']['SerialNumbers.' . ($i + 1)] = $iValue;
437
		}
438
439
		return $this;
440
    }
441
}
442
443
/**
444
 * @method string getOrgName()
445
 * @method string getParentOrgId()
446
 */
447
class DescribeOrgByLayer extends Rpc
448
{
449
450
    /**
451
     * @param string $value
452
     *
453
     * @return $this
454
     */
455
    public function withOrgName($value)
456
    {
457
        $this->data['OrgName'] = $value;
458
        $this->options['form_params']['OrgName'] = $value;
459
460
        return $this;
461
    }
462
463
    /**
464
     * @param string $value
465
     *
466
     * @return $this
467
     */
468
    public function withParentOrgId($value)
469
    {
470
        $this->data['ParentOrgId'] = $value;
471
        $this->options['form_params']['ParentOrgId'] = $value;
472
473
        return $this;
474
    }
475
}
476
477
/**
478
 * @method string getOrgName()
479
 * @method $this withOrgName($value)
480
 * @method string getNextToken()
481
 * @method $this withNextToken($value)
482
 * @method string getParentOrgId()
483
 * @method $this withParentOrgId($value)
484
 * @method string getMaxResults()
485
 * @method $this withMaxResults($value)
486
 */
487
class DescribeOrgs extends Rpc
488
{
489
}
490
491
/**
492
 * @method string getResourceGroupName()
493
 * @method $this withResourceGroupName($value)
494
 * @method string getNeedContainResourceGroupWithOfficeSite()
495
 * @method $this withNeedContainResourceGroupWithOfficeSite($value)
496
 * @method string getPageNumber()
497
 * @method $this withPageNumber($value)
498
 * @method string getPlatform()
499
 * @method $this withPlatform($value)
500
 * @method string getResourceGroupIds()
501
 * @method $this withResourceGroupIds($value)
502
 * @method string getPageSize()
503
 * @method $this withPageSize($value)
504
 */
505
class DescribeResourceGroups extends Rpc
506
{
507
}
508
509
/**
510
 * @method string getIsQueryAllSubOrgs()
511
 * @method array getEndUserIds()
512
 * @method array getExcludeEndUserIds()
513
 * @method string getNextToken()
514
 * @method $this withNextToken($value)
515
 * @method string getSolutionId()
516
 * @method string getFilterWithAssignedResources()
517
 * @method string getGroupId()
518
 * @method string getOrgId()
519
 * @method string getFilterWithAssignedResource()
520
 * @method $this withFilterWithAssignedResource($value)
521
 * @method string getFilter()
522
 * @method $this withFilter($value)
523
 * @method string getBizType()
524
 * @method string getMaxResults()
525
 * @method $this withMaxResults($value)
526
 * @method string getShowExtras()
527
 * @method string getStatus()
528
 * @method $this withStatus($value)
529
 */
530
class DescribeUsers extends Rpc
531
{
532
533
    /**
534
     * @param string $value
535
     *
536
     * @return $this
537
     */
538
    public function withIsQueryAllSubOrgs($value)
539
    {
540
        $this->data['IsQueryAllSubOrgs'] = $value;
541
        $this->options['form_params']['IsQueryAllSubOrgs'] = $value;
542
543
        return $this;
544
    }
545
546
    /**
547
     * @param array $endUserIds
548
     *
549
     * @return $this
550
     */
551
	public function withEndUserIds(array $endUserIds)
552
	{
553
	    $this->data['EndUserIds'] = $endUserIds;
554
		foreach ($endUserIds as $i => $iValue) {
555
			$this->options['form_params']['EndUserIds.' . ($i + 1)] = $iValue;
556
		}
557
558
		return $this;
559
    }
560
561
    /**
562
     * @param array $excludeEndUserIds
563
     *
564
     * @return $this
565
     */
566
	public function withExcludeEndUserIds(array $excludeEndUserIds)
567
	{
568
	    $this->data['ExcludeEndUserIds'] = $excludeEndUserIds;
569
		foreach ($excludeEndUserIds as $i => $iValue) {
570
			$this->options['form_params']['ExcludeEndUserIds.' . ($i + 1)] = $iValue;
571
		}
572
573
		return $this;
574
    }
575
576
    /**
577
     * @param string $value
578
     *
579
     * @return $this
580
     */
581
    public function withSolutionId($value)
582
    {
583
        $this->data['SolutionId'] = $value;
584
        $this->options['form_params']['SolutionId'] = $value;
585
586
        return $this;
587
    }
588
589
    /**
590
     * @param string $value
591
     *
592
     * @return $this
593
     */
594
    public function withFilterWithAssignedResources($value)
595
    {
596
        $this->data['FilterWithAssignedResources'] = $value;
597
        $this->options['form_params']['FilterWithAssignedResources'] = $value;
598
599
        return $this;
600
    }
601
602
    /**
603
     * @param string $value
604
     *
605
     * @return $this
606
     */
607
    public function withGroupId($value)
608
    {
609
        $this->data['GroupId'] = $value;
610
        $this->options['form_params']['GroupId'] = $value;
611
612
        return $this;
613
    }
614
615
    /**
616
     * @param string $value
617
     *
618
     * @return $this
619
     */
620
    public function withOrgId($value)
621
    {
622
        $this->data['OrgId'] = $value;
623
        $this->options['form_params']['OrgId'] = $value;
624
625
        return $this;
626
    }
627
628
    /**
629
     * @param string $value
630
     *
631
     * @return $this
632
     */
633
    public function withBizType($value)
634
    {
635
        $this->data['BizType'] = $value;
636
        $this->options['form_params']['BizType'] = $value;
637
638
        return $this;
639
    }
640
641
    /**
642
     * @param string $value
643
     *
644
     * @return $this
645
     */
646
    public function withShowExtras($value)
647
    {
648
        $this->data['ShowExtras'] = $value;
649
        $this->options['form_params']['ShowExtras'] = $value;
650
651
        return $this;
652
    }
653
}
654
655
/**
656
 * @method string getIsQueryAllSubOrgs()
657
 * @method $this withIsQueryAllSubOrgs($value)
658
 * @method string getOrderParam()
659
 * @method $this withOrderParam($value)
660
 * @method array getExcludeEndUserIds()
661
 * @method string getNextToken()
662
 * @method $this withNextToken($value)
663
 * @method string getIncludeDesktopCount()
664
 * @method $this withIncludeDesktopCount($value)
665
 * @method string getIncludeSupportIdps()
666
 * @method $this withIncludeSupportIdps($value)
667
 * @method array getPropertyFilterParam()
668
 * @method string getIncludeOrgInfo()
669
 * @method $this withIncludeOrgInfo($value)
670
 * @method string getIncludeDesktopGroupCount()
671
 * @method $this withIncludeDesktopGroupCount($value)
672
 * @method string getOrgId()
673
 * @method $this withOrgId($value)
674
 * @method string getFilter()
675
 * @method $this withFilter($value)
676
 * @method array getPropertyKeyValueFilterParam()
677
 * @method string getOwnerType()
678
 * @method $this withOwnerType($value)
679
 * @method string getMaxResults()
680
 * @method $this withMaxResults($value)
681
 * @method string getStatus()
682
 * @method $this withStatus($value)
683
 */
684
class FilterUsers extends Rpc
685
{
686
687
    /**
688
     * @param array $excludeEndUserIds
689
     *
690
     * @return $this
691
     */
692
	public function withExcludeEndUserIds(array $excludeEndUserIds)
693
	{
694
	    $this->data['ExcludeEndUserIds'] = $excludeEndUserIds;
695
		foreach ($excludeEndUserIds as $i => $iValue) {
696
			$this->options['query']['ExcludeEndUserIds.' . ($i + 1)] = $iValue;
697
		}
698
699
		return $this;
700
    }
701
702
    /**
703
     * @param array $propertyFilterParam
704
     *
705
     * @return $this
706
     */
707
	public function withPropertyFilterParam(array $propertyFilterParam)
708
	{
709
	    $this->data['PropertyFilterParam'] = $propertyFilterParam;
710
		foreach ($propertyFilterParam as $depth1 => $depth1Value) {
711
			if(isset($depth1Value['PropertyId'])){
712
				$this->options['query']['PropertyFilterParam.' . ($depth1 + 1) . '.PropertyId'] = $depth1Value['PropertyId'];
713
			}
714
			if(isset($depth1Value['PropertyValueIds'])){
715
				$this->options['query']['PropertyFilterParam.' . ($depth1 + 1) . '.PropertyValueIds'] = $depth1Value['PropertyValueIds'];
716
			}
717
		}
718
719
		return $this;
720
    }
721
722
    /**
723
     * @param array $propertyKeyValueFilterParam
724
     *
725
     * @return $this
726
     */
727
	public function withPropertyKeyValueFilterParam(array $propertyKeyValueFilterParam)
728
	{
729
	    $this->data['PropertyKeyValueFilterParam'] = $propertyKeyValueFilterParam;
730
		foreach ($propertyKeyValueFilterParam as $depth1 => $depth1Value) {
731
			if(isset($depth1Value['PropertyKey'])){
732
				$this->options['query']['PropertyKeyValueFilterParam.' . ($depth1 + 1) . '.PropertyKey'] = $depth1Value['PropertyKey'];
733
			}
734
			if(isset($depth1Value['PropertyValues'])){
735
				$this->options['query']['PropertyKeyValueFilterParam.' . ($depth1 + 1) . '.PropertyValues'] = $depth1Value['PropertyValues'];
736
			}
737
		}
738
739
		return $this;
740
    }
741
}
742
743
/**
744
 * @method string getAuthCode()
745
 * @method $this withAuthCode($value)
746
 */
747
class GetManagerInfoByAuthCode extends Rpc
748
{
749
}
750
751
class InitTenantAlias extends Rpc
752
{
753
}
754
755
class ListProperty extends Rpc
756
{
757
}
758
759
/**
760
 * @method string getPropertyId()
761
 * @method $this withPropertyId($value)
762
 */
763
class ListPropertyValue extends Rpc
764
{
765
}
766
767
/**
768
 * @method string getSerialNumber()
769
 * @method $this withSerialNumber($value)
770
 * @method string getAdDomain()
771
 * @method $this withAdDomain($value)
772
 */
773
class LockMfaDevice extends Rpc
774
{
775
}
776
777
/**
778
 * @method string getLogoutSession()
779
 * @method $this withLogoutSession($value)
780
 * @method array getUsers()
781
 */
782
class LockUsers extends Rpc
783
{
784
785
    /**
786
     * @param array $users
787
     *
788
     * @return $this
789
     */
790
	public function withUsers(array $users)
791
	{
792
	    $this->data['Users'] = $users;
793
		foreach ($users as $i => $iValue) {
794
			$this->options['form_params']['Users.' . ($i + 1)] = $iValue;
795
		}
796
797
		return $this;
798
    }
799
}
800
801
/**
802
 * @method string getGroupId()
803
 * @method $this withGroupId($value)
804
 * @method string getNewGroupName()
805
 * @method $this withNewGroupName($value)
806
 */
807
class ModifyGroup extends Rpc
808
{
809
}
810
811
/**
812
 * @method string getIcon()
813
 * @method $this withIcon($value)
814
 * @method string getOrgId()
815
 * @method $this withOrgId($value)
816
 * @method string getOrgName()
817
 * @method $this withOrgName($value)
818
 */
819
class ModifyOrg extends Rpc
820
{
821
}
822
823
/**
824
 * @method string getPhone()
825
 * @method $this withPhone($value)
826
 * @method string getEndUserId()
827
 * @method $this withEndUserId($value)
828
 * @method string getEmail()
829
 * @method $this withEmail($value)
830
 */
831
class ModifyUser extends Rpc
832
{
833
}
834
835
/**
836
 * @method string getNewParentOrgId()
837
 * @method string getOrgId()
838
 */
839
class MoveOrg extends Rpc
840
{
841
842
    /**
843
     * @param string $value
844
     *
845
     * @return $this
846
     */
847
    public function withNewParentOrgId($value)
848
    {
849
        $this->data['NewParentOrgId'] = $value;
850
        $this->options['form_params']['NewParentOrgId'] = $value;
851
852
        return $this;
853
    }
854
855
    /**
856
     * @param string $value
857
     *
858
     * @return $this
859
     */
860
    public function withOrgId($value)
861
    {
862
        $this->data['OrgId'] = $value;
863
        $this->options['form_params']['OrgId'] = $value;
864
865
        return $this;
866
    }
867
}
868
869
/**
870
 * @method array getEndUserIds()
871
 * @method string getOrgId()
872
 */
873
class MoveUserOrg extends Rpc
874
{
875
876
    /**
877
     * @param array $endUserIds
878
     *
879
     * @return $this
880
     */
881
	public function withEndUserIds(array $endUserIds)
882
	{
883
	    $this->data['EndUserIds'] = $endUserIds;
884
		foreach ($endUserIds as $i => $iValue) {
885
			$this->options['form_params']['EndUserIds.' . ($i + 1)] = $iValue;
886
		}
887
888
		return $this;
889
    }
890
891
    /**
892
     * @param string $value
893
     *
894
     * @return $this
895
     */
896
    public function withOrgId($value)
897
    {
898
        $this->data['OrgId'] = $value;
899
        $this->options['form_params']['OrgId'] = $value;
900
901
        return $this;
902
    }
903
}
904
905
class QuerySyncStatusByAliUid extends Rpc
906
{
907
}
908
909
/**
910
 * @method string getGroupId()
911
 * @method $this withGroupId($value)
912
 */
913
class RemoveGroup extends Rpc
914
{
915
}
916
917
/**
918
 * @method string getSerialNumber()
919
 * @method $this withSerialNumber($value)
920
 * @method string getAdDomain()
921
 * @method $this withAdDomain($value)
922
 */
923
class RemoveMfaDevice extends Rpc
924
{
925
}
926
927
/**
928
 * @method string getOrgId()
929
 */
930
class RemoveOrg extends Rpc
931
{
932
933
    /**
934
     * @param string $value
935
     *
936
     * @return $this
937
     */
938
    public function withOrgId($value)
939
    {
940
        $this->data['OrgId'] = $value;
941
        $this->options['form_params']['OrgId'] = $value;
942
943
        return $this;
944
    }
945
}
946
947
/**
948
 * @method string getPropertyId()
949
 */
950
class RemoveProperty extends Rpc
951
{
952
953
    /**
954
     * @param string $value
955
     *
956
     * @return $this
957
     */
958
    public function withPropertyId($value)
959
    {
960
        $this->data['PropertyId'] = $value;
961
        $this->options['form_params']['PropertyId'] = $value;
962
963
        return $this;
964
    }
965
}
966
967
/**
968
 * @method array getUsers()
969
 */
970
class RemoveUsers extends Rpc
971
{
972
973
    /**
974
     * @param array $users
975
     *
976
     * @return $this
977
     */
978
	public function withUsers(array $users)
979
	{
980
	    $this->data['Users'] = $users;
981
		foreach ($users as $i => $iValue) {
982
			$this->options['form_params']['Users.' . ($i + 1)] = $iValue;
983
		}
984
985
		return $this;
986
    }
987
}
988
989
/**
990
 * @method array getUsers()
991
 * @method string getNotifyType()
992
 */
993
class ResetUserPassword extends Rpc
994
{
995
996
    /**
997
     * @param array $users
998
     *
999
     * @return $this
1000
     */
1001
	public function withUsers(array $users)
1002
	{
1003
	    $this->data['Users'] = $users;
1004
		foreach ($users as $i => $iValue) {
1005
			$this->options['form_params']['Users.' . ($i + 1)] = $iValue;
1006
		}
1007
1008
		return $this;
1009
    }
1010
1011
    /**
1012
     * @param string $value
1013
     *
1014
     * @return $this
1015
     */
1016
    public function withNotifyType($value)
1017
    {
1018
        $this->data['NotifyType'] = $value;
1019
        $this->options['form_params']['NotifyType'] = $value;
1020
1021
        return $this;
1022
    }
1023
}
1024
1025
/**
1026
 * @method string getPropertyValueId()
1027
 * @method string getUserId()
1028
 * @method string getPropertyId()
1029
 * @method string getUserName()
1030
 */
1031
class SetUserPropertyValue extends Rpc
1032
{
1033
1034
    /**
1035
     * @param string $value
1036
     *
1037
     * @return $this
1038
     */
1039
    public function withPropertyValueId($value)
1040
    {
1041
        $this->data['PropertyValueId'] = $value;
1042
        $this->options['form_params']['PropertyValueId'] = $value;
1043
1044
        return $this;
1045
    }
1046
1047
    /**
1048
     * @param string $value
1049
     *
1050
     * @return $this
1051
     */
1052
    public function withUserId($value)
1053
    {
1054
        $this->data['UserId'] = $value;
1055
        $this->options['form_params']['UserId'] = $value;
1056
1057
        return $this;
1058
    }
1059
1060
    /**
1061
     * @param string $value
1062
     *
1063
     * @return $this
1064
     */
1065
    public function withPropertyId($value)
1066
    {
1067
        $this->data['PropertyId'] = $value;
1068
        $this->options['form_params']['PropertyId'] = $value;
1069
1070
        return $this;
1071
    }
1072
1073
    /**
1074
     * @param string $value
1075
     *
1076
     * @return $this
1077
     */
1078
    public function withUserName($value)
1079
    {
1080
        $this->data['UserName'] = $value;
1081
        $this->options['form_params']['UserName'] = $value;
1082
1083
        return $this;
1084
    }
1085
}
1086
1087
class SyncAllEduInfo extends Rpc
1088
{
1089
}
1090
1091
/**
1092
 * @method string getSerialNumber()
1093
 * @method $this withSerialNumber($value)
1094
 * @method string getAdDomain()
1095
 * @method $this withAdDomain($value)
1096
 */
1097
class UnlockMfaDevice extends Rpc
1098
{
1099
}
1100
1101
/**
1102
 * @method string getAutoLockTime()
1103
 * @method $this withAutoLockTime($value)
1104
 * @method array getUsers()
1105
 */
1106
class UnlockUsers extends Rpc
1107
{
1108
1109
    /**
1110
     * @param array $users
1111
     *
1112
     * @return $this
1113
     */
1114
	public function withUsers(array $users)
1115
	{
1116
	    $this->data['Users'] = $users;
1117
		foreach ($users as $i => $iValue) {
1118
			$this->options['form_params']['Users.' . ($i + 1)] = $iValue;
1119
		}
1120
1121
		return $this;
1122
    }
1123
}
1124
1125
/**
1126
 * @method string getPropertyKey()
1127
 * @method string getPropertyId()
1128
 * @method array getPropertyValues()
1129
 */
1130
class UpdateProperty extends Rpc
1131
{
1132
1133
    /**
1134
     * @param string $value
1135
     *
1136
     * @return $this
1137
     */
1138
    public function withPropertyKey($value)
1139
    {
1140
        $this->data['PropertyKey'] = $value;
1141
        $this->options['form_params']['PropertyKey'] = $value;
1142
1143
        return $this;
1144
    }
1145
1146
    /**
1147
     * @param string $value
1148
     *
1149
     * @return $this
1150
     */
1151
    public function withPropertyId($value)
1152
    {
1153
        $this->data['PropertyId'] = $value;
1154
        $this->options['form_params']['PropertyId'] = $value;
1155
1156
        return $this;
1157
    }
1158
1159
    /**
1160
     * @param array $propertyValues
1161
     *
1162
     * @return $this
1163
     */
1164
	public function withPropertyValues(array $propertyValues)
1165
	{
1166
	    $this->data['PropertyValues'] = $propertyValues;
1167
		foreach ($propertyValues as $depth1 => $depth1Value) {
1168
			if(isset($depth1Value['PropertyValueId'])){
1169
				$this->options['form_params']['PropertyValues.' . ($depth1 + 1) . '.PropertyValueId'] = $depth1Value['PropertyValueId'];
1170
			}
1171
			if(isset($depth1Value['PropertyValue'])){
1172
				$this->options['form_params']['PropertyValues.' . ($depth1 + 1) . '.PropertyValue'] = $depth1Value['PropertyValue'];
1173
			}
1174
		}
1175
1176
		return $this;
1177
    }
1178
}
1179
1180
/**
1181
 * @method array getEndUserIds()
1182
 * @method string getGroupId()
1183
 */
1184
class UserBatchJoinGroup extends Rpc
1185
{
1186
1187
    /**
1188
     * @param array $endUserIds
1189
     *
1190
     * @return $this
1191
     */
1192
	public function withEndUserIds(array $endUserIds)
1193
	{
1194
	    $this->data['EndUserIds'] = $endUserIds;
1195
		foreach ($endUserIds as $i => $iValue) {
1196
			$this->options['form_params']['EndUserIds.' . ($i + 1)] = $iValue;
1197
		}
1198
1199
		return $this;
1200
    }
1201
1202
    /**
1203
     * @param string $value
1204
     *
1205
     * @return $this
1206
     */
1207
    public function withGroupId($value)
1208
    {
1209
        $this->data['GroupId'] = $value;
1210
        $this->options['form_params']['GroupId'] = $value;
1211
1212
        return $this;
1213
    }
1214
}
1215
1216
/**
1217
 * @method array getEndUserIds()
1218
 * @method string getGroupId()
1219
 */
1220
class UserBatchQuitGroup extends Rpc
1221
{
1222
1223
    /**
1224
     * @param array $endUserIds
1225
     *
1226
     * @return $this
1227
     */
1228
	public function withEndUserIds(array $endUserIds)
1229
	{
1230
	    $this->data['EndUserIds'] = $endUserIds;
1231
		foreach ($endUserIds as $i => $iValue) {
1232
			$this->options['form_params']['EndUserIds.' . ($i + 1)] = $iValue;
1233
		}
1234
1235
		return $this;
1236
    }
1237
1238
    /**
1239
     * @param string $value
1240
     *
1241
     * @return $this
1242
     */
1243
    public function withGroupId($value)
1244
    {
1245
        $this->data['GroupId'] = $value;
1246
        $this->options['form_params']['GroupId'] = $value;
1247
1248
        return $this;
1249
    }
1250
}
1251