GitHub Access Token became invalid

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

CreateAccount::withAccountPubKey()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 3
nc 1
nop 1
dl 0
loc 6
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace AlibabaCloud\Baas\V20180731;
4
5
use AlibabaCloud\ApiResolverTrait;
6
use AlibabaCloud\Rpc;
7
8
/**
9
 * Resolve Api based on the method name.
10
 *
11
 * @method DescribeSmartContractJobsByName describeSmartContractJobsByName(array $options = [])
12
 * @method CreateOwnAccount createOwnAccount(array $options = [])
13
 * @method DescribeMemberRole describeMemberRole(array $options = [])
14
 * @method DescribeQRCodeAccessLog describeQRCodeAccessLog(array $options = [])
15
 * @method UpdateQRCodeAuthority updateQRCodeAuthority(array $options = [])
16
 * @method DescribeQRCodeAuthority describeQRCodeAuthority(array $options = [])
17
 * @method DescribeTransactionReceiptFor2CBrowser describeTransactionReceiptFor2CBrowser(array $options = [])
18
 * @method DescribeTransactionQRCode describeTransactionQRCode(array $options = [])
19
 * @method DescribeTransactionFor2CBrowser describeTransactionFor2CBrowser(array $options = [])
20
 * @method DescribeAntRegions describeAntRegions(array $options = [])
21
 * @method DescribeBlockchainConfigOption describeBlockchainConfigOption(array $options = [])
22
 * @method DescribeDownloadPathsOfContractChain describeDownloadPathsOfContractChain(array $options = [])
23
 * @method DescribeDownloadPathsOfNotaryChain describeDownloadPathsOfNotaryChain(array $options = [])
24
 * @method DescribeLatest15Blocks describeLatest15Blocks(array $options = [])
25
 * @method DescribeLatest15TransDigests describeLatest15TransDigests(array $options = [])
26
 * @method DescribeMembers describeMembers(array $options = [])
27
 * @method UpdateMemberRole updateMemberRole(array $options = [])
28
 * @method CreateAccount createAccount(array $options = [])
29
 * @method FreezeAccount freezeAccount(array $options = [])
30
 * @method UnfreezeAccount unfreezeAccount(array $options = [])
31
 * @method RenameBlockchain renameBlockchain(array $options = [])
32
 * @method DescribeEthereumNode describeEthereumNode(array $options = [])
33
 * @method DescribeEthereum describeEthereum(array $options = [])
34
 * @method DescribeEthereumInvitee describeEthereumInvitee(array $options = [])
35
 * @method ApproveEthereumInvitee approveEthereumInvitee(array $options = [])
36
 * @method DescribeExplorerURL describeExplorerURL(array $options = [])
37
 * @method DescribeNetstatURL describeNetstatURL(array $options = [])
38
 * @method AcceptEthereumInvitation acceptEthereumInvitation(array $options = [])
39
 * @method DescribeEthereumInvitaion describeEthereumInvitaion(array $options = [])
40
 * @method CreateEthereumInvitation createEthereumInvitation(array $options = [])
41
 * @method DescribeEthereumNodeLogs describeEthereumNodeLogs(array $options = [])
42
 * @method UpdateEthereumClientUserPassword updateEthereumClientUserPassword(array $options = [])
43
 * @method DescribeEthereumClientUsers describeEthereumClientUsers(array $options = [])
44
 * @method DescribeEthereumNodeInfo describeEthereumNodeInfo(array $options = [])
45
 * @method AddEthereumNode addEthereumNode(array $options = [])
46
 * @method UpdateEthereumNode updateEthereumNode(array $options = [])
47
 * @method DescribeEthereumNodes describeEthereumNodes(array $options = [])
48
 * @method UpdateEthereum updateEthereum(array $options = [])
49
 * @method DescribeEthereums describeEthereums(array $options = [])
50
 * @method CreateEthereum createEthereum(array $options = [])
51
 * @method UpdateEthereumNodeConfiguration updateEthereumNodeConfiguration(array $options = [])
52
 * @method DescribeEthereumNodeConfiguration describeEthereumNodeConfiguration(array $options = [])
53
 * @method DescribeEthereumDeletable describeEthereumDeletable(array $options = [])
54
 * @method QueryEthereumDeletable queryEthereumDeletable(array $options = [])
55
 * @method DestroyEthereum destroyEthereum(array $options = [])
56
 * @method DescribeChaincodeCollectionConfig describeChaincodeCollectionConfig(array $options = [])
57
 * @method DescribeResourceType describeResourceType(array $options = [])
58
 * @method DescribeTransaction describeTransaction(array $options = [])
59
 * @method DescribeMetric describeMetric(array $options = [])
60
 * @method DescribeBlock describeBlock(array $options = [])
61
 * @method DescribeSchemaDetail describeSchemaDetail(array $options = [])
62
 * @method DownloadSDK2 downloadSDK2(array $options = [])
63
 * @method DescribeMySuccessfulApplication describeMySuccessfulApplication(array $options = [])
64
 * @method CreateBlockchainApplication createBlockchainApplication(array $options = [])
65
 * @method DescribeBlockchainSchema describeBlockchainSchema(array $options = [])
66
 * @method ResetCertificate resetCertificate(array $options = [])
67
 * @method DescribeTemplates describeTemplates(array $options = [])
68
 * @method DescribeOssProperties describeOssProperties(array $options = [])
69
 * @method DescribeMySuccessApplies describeMySuccessApplies(array $options = [])
70
 * @method DescribeMyBlockchains describeMyBlockchains(array $options = [])
71
 * @method DescribeBlockchainInfo describeBlockchainInfo(array $options = [])
72
 * @method DescribeBlockchainCreateTask describeBlockchainCreateTask(array $options = [])
73
 * @method DescribeBcSchema describeBcSchema(array $options = [])
74
 * @method DescribeApplies describeApplies(array $options = [])
75
 * @method DownloadAll downloadAll(array $options = [])
76
 * @method GetBlockchainCreateTask getBlockchainCreateTask(array $options = [])
77
 * @method DescribePeerLogs describePeerLogs(array $options = [])
78
 * @method DescribeOrdererLogs describeOrdererLogs(array $options = [])
79
 * @method GetOssProperties getOssProperties(array $options = [])
80
 * @method UpdateSchema updateSchema(array $options = [])
81
 * @method SchemaDetail schemaDetail(array $options = [])
82
 * @method ResetUser resetUser(array $options = [])
83
 * @method RejectUser rejectUser(array $options = [])
84
 * @method QueryTransaction queryTransaction(array $options = [])
85
 * @method QueryMetric queryMetric(array $options = [])
86
 * @method QueryBlock queryBlock(array $options = [])
87
 * @method OperateUser operateUser(array $options = [])
88
 * @method InviteUser inviteUser(array $options = [])
89
 * @method GetTemplates getTemplates(array $options = [])
90
 * @method GetMySuccessApplies getMySuccessApplies(array $options = [])
91
 * @method GetMyBlockchains getMyBlockchains(array $options = [])
92
 * @method GetBlockchainInfo getBlockchainInfo(array $options = [])
93
 * @method GetBcSchema getBcSchema(array $options = [])
94
 * @method GetApplies getApplies(array $options = [])
95
 * @method DownloadSignedData downloadSignedData(array $options = [])
96
 * @method DownloadSdk downloadSdk(array $options = [])
97
 * @method DownloadBizview downloadBizview(array $options = [])
98
 * @method CreateBlockchainApply createBlockchainApply(array $options = [])
99
 * @method ApplyBlockchain applyBlockchain(array $options = [])
100
 * @method DescribeOrganizationDeletable describeOrganizationDeletable(array $options = [])
101
 * @method DescribeConsortiumDeletable describeConsortiumDeletable(array $options = [])
102
 * @method QueryConsortiumDeletable queryConsortiumDeletable(array $options = [])
103
 * @method QueryOrganizationDeletable queryOrganizationDeletable(array $options = [])
104
 * @method DeleteChaincode deleteChaincode(array $options = [])
105
 * @method DescribeExplorer describeExplorer(array $options = [])
106
 * @method DestroyOrganization destroyOrganization(array $options = [])
107
 * @method DestroyConsortium destroyConsortium(array $options = [])
108
 * @method DownloadOrganizationSDK downloadOrganizationSDK(array $options = [])
109
 * @method SynchronizeChaincode synchronizeChaincode(array $options = [])
110
 * @method ResetOrganizationUserPassword resetOrganizationUserPassword(array $options = [])
111
 * @method DescribeInvitationCode describeInvitationCode(array $options = [])
112
 * @method CheckOrganizationDomain checkOrganizationDomain(array $options = [])
113
 * @method CheckConsortiumDomain checkConsortiumDomain(array $options = [])
114
 * @method DescribeRootDomain describeRootDomain(array $options = [])
115
 * @method DescribeOrganizationSpecs describeOrganizationSpecs(array $options = [])
116
 * @method DescribeEcosphereSpecs describeEcosphereSpecs(array $options = [])
117
 * @method DescribeConsortiumSpecs describeConsortiumSpecs(array $options = [])
118
 * @method DescribeConsortiumOrderers describeConsortiumOrderers(array $options = [])
119
 * @method DescribeConsortiumConfig describeConsortiumConfig(array $options = [])
120
 * @method DescribeTasks describeTasks(array $options = [])
121
 * @method CreateOrganizationUser createOrganizationUser(array $options = [])
122
 * @method CreateEcosphere createEcosphere(array $options = [])
123
 * @method CreateConsortium createConsortium(array $options = [])
124
 * @method DescribeOrganizationUserCerts describeOrganizationUserCerts(array $options = [])
125
 * @method DescribeOrganizations describeOrganizations(array $options = [])
126
 * @method CreateOrganization createOrganization(array $options = [])
127
 * @method DescribeOrganizationChaincodes describeOrganizationChaincodes(array $options = [])
128
 * @method DescribeOrganizationChannels describeOrganizationChannels(array $options = [])
129
 * @method DescribeConsortiumChannels describeConsortiumChannels(array $options = [])
130
 * @method CreateChannel createChannel(array $options = [])
131
 * @method DescribeChannelMembers describeChannelMembers(array $options = [])
132
 * @method DescribeOrganization describeOrganization(array $options = [])
133
 * @method DescribeOrganizationPeers describeOrganizationPeers(array $options = [])
134
 * @method DescribeOrganizationUsers describeOrganizationUsers(array $options = [])
135
 * @method DescribeRegions describeRegions(array $options = [])
136
 * @method ConfirmConsortiumMember confirmConsortiumMember(array $options = [])
137
 * @method CreateConsortiumMember createConsortiumMember(array $options = [])
138
 * @method CreateChannelMember createChannelMember(array $options = [])
139
 * @method DescribeConsortiums describeConsortiums(array $options = [])
140
 * @method JoinChannel joinChannel(array $options = [])
141
 * @method DescribeOrgnaizationChaincodes describeOrgnaizationChaincodes(array $options = [])
142
 * @method DescribeConsortiumChaincodes describeConsortiumChaincodes(array $options = [])
143
 * @method CreateChaincode createChaincode(array $options = [])
144
 * @method InstallChaincode installChaincode(array $options = [])
145
 * @method UpgradeChaincode upgradeChaincode(array $options = [])
146
 * @method InstantiateChaincode instantiateChaincode(array $options = [])
147
 * @method DescribeConsortiumAdminStatus describeConsortiumAdminStatus(array $options = [])
148
 * @method DescribeChaincodeUploadPolicy describeChaincodeUploadPolicy(array $options = [])
149
 * @method DescribeInvitationList describeInvitationList(array $options = [])
150
 * @method DescribeOrganizationMembers describeOrganizationMembers(array $options = [])
151
 * @method DescribeConsortiumMembers describeConsortiumMembers(array $options = [])
152
 * @method DescribeCandidateOrganizations describeCandidateOrganizations(array $options = [])
153
 * @method DescribeInviter describeInviter(array $options = [])
154
 * @method DescribeConsortiumMemberApproval describeConsortiumMemberApproval(array $options = [])
155
 * @method AcceptInvitation acceptInvitation(array $options = [])
156
 */
157
class BaasApiResolver
158
{
159
    use ApiResolverTrait;
160
}
161
162
class V20180731Rpc extends Rpc
163
{
164
    /** @var string */
165
    public $product = 'Baas';
166
167
    /** @var string */
168
    public $version = '2018-07-31';
169
170
    /** @var string */
171
    public $method = 'POST';
172
}
173
174
/**
175
 * @method string getSize()
176
 * @method string getStart()
177
 * @method string getName()
178
 */
179
class DescribeSmartContractJobsByName extends V20180731Rpc
180
{
181
182
    /** @var string */
183
    public $method = 'PUT';
184
185
    /**
186
     * @param string $value
187
     *
188
     * @return $this
189
     */
190
    public function withSize($value)
191
    {
192
        $this->data['Size'] = $value;
193
        $this->options['form_params']['Size'] = $value;
194
195
        return $this;
196
    }
197
198
    /**
199
     * @param string $value
200
     *
201
     * @return $this
202
     */
203
    public function withStart($value)
204
    {
205
        $this->data['Start'] = $value;
206
        $this->options['form_params']['Start'] = $value;
207
208
        return $this;
209
    }
210
211
    /**
212
     * @param string $value
213
     *
214
     * @return $this
215
     */
216
    public function withName($value)
217
    {
218
        $this->data['Name'] = $value;
219
        $this->options['form_params']['Name'] = $value;
220
221
        return $this;
222
    }
223
}
224
225
/**
226
 * @method string getIdentity()
227
 * @method string getBizid()
228
 * @method string getPublicKey()
229
 * @method string getRecoveryKey()
230
 */
231
class CreateOwnAccount extends V20180731Rpc
232
{
233
234
    /** @var string */
235
    public $method = 'PUT';
236
237
    /**
238
     * @param string $value
239
     *
240
     * @return $this
241
     */
242
    public function withIdentity($value)
243
    {
244
        $this->data['Identity'] = $value;
245
        $this->options['form_params']['Identity'] = $value;
246
247
        return $this;
248
    }
249
250
    /**
251
     * @param string $value
252
     *
253
     * @return $this
254
     */
255
    public function withBizid($value)
256
    {
257
        $this->data['Bizid'] = $value;
258
        $this->options['form_params']['Bizid'] = $value;
259
260
        return $this;
261
    }
262
263
    /**
264
     * @param string $value
265
     *
266
     * @return $this
267
     */
268
    public function withPublicKey($value)
269
    {
270
        $this->data['PublicKey'] = $value;
271
        $this->options['form_params']['PublicKey'] = $value;
272
273
        return $this;
274
    }
275
276
    /**
277
     * @param string $value
278
     *
279
     * @return $this
280
     */
281
    public function withRecoveryKey($value)
282
    {
283
        $this->data['RecoveryKey'] = $value;
284
        $this->options['form_params']['RecoveryKey'] = $value;
285
286
        return $this;
287
    }
288
}
289
290
/**
291
 * @method string getBizid()
292
 */
293
class DescribeMemberRole extends V20180731Rpc
294
{
295
296
    /**
297
     * @param string $value
298
     *
299
     * @return $this
300
     */
301
    public function withBizid($value)
302
    {
303
        $this->data['Bizid'] = $value;
304
        $this->options['form_params']['Bizid'] = $value;
305
306
        return $this;
307
    }
308
}
309
310
/**
311
 * @method string getBizid()
312
 */
313
class DescribeQRCodeAccessLog extends V20180731Rpc
314
{
315
316
    /**
317
     * @param string $value
318
     *
319
     * @return $this
320
     */
321
    public function withBizid($value)
322
    {
323
        $this->data['Bizid'] = $value;
324
        $this->options['form_params']['Bizid'] = $value;
325
326
        return $this;
327
    }
328
}
329
330
/**
331
 * @method string getAuthorized()
332
 * @method string getBizid()
333
 */
334
class UpdateQRCodeAuthority extends V20180731Rpc
335
{
336
337
    /**
338
     * @param string $value
339
     *
340
     * @return $this
341
     */
342
    public function withAuthorized($value)
343
    {
344
        $this->data['Authorized'] = $value;
345
        $this->options['form_params']['Authorized'] = $value;
346
347
        return $this;
348
    }
349
350
    /**
351
     * @param string $value
352
     *
353
     * @return $this
354
     */
355
    public function withBizid($value)
356
    {
357
        $this->data['Bizid'] = $value;
358
        $this->options['form_params']['Bizid'] = $value;
359
360
        return $this;
361
    }
362
}
363
364
/**
365
 * @method string getBizid()
366
 */
367
class DescribeQRCodeAuthority extends V20180731Rpc
368
{
369
370
    /**
371
     * @param string $value
372
     *
373
     * @return $this
374
     */
375
    public function withBizid($value)
376
    {
377
        $this->data['Bizid'] = $value;
378
        $this->options['form_params']['Bizid'] = $value;
379
380
        return $this;
381
    }
382
}
383
384
/**
385
 * @method string getAlipayAuthCode()
386
 * @method string getBizid()
387
 * @method string getHash()
388
 */
389
class DescribeTransactionReceiptFor2CBrowser extends V20180731Rpc
390
{
391
392
    /**
393
     * @param string $value
394
     *
395
     * @return $this
396
     */
397
    public function withAlipayAuthCode($value)
398
    {
399
        $this->data['AlipayAuthCode'] = $value;
400
        $this->options['form_params']['AlipayAuthCode'] = $value;
401
402
        return $this;
403
    }
404
405
    /**
406
     * @param string $value
407
     *
408
     * @return $this
409
     */
410
    public function withBizid($value)
411
    {
412
        $this->data['Bizid'] = $value;
413
        $this->options['form_params']['Bizid'] = $value;
414
415
        return $this;
416
    }
417
418
    /**
419
     * @param string $value
420
     *
421
     * @return $this
422
     */
423
    public function withHash($value)
424
    {
425
        $this->data['Hash'] = $value;
426
        $this->options['form_params']['Hash'] = $value;
427
428
        return $this;
429
    }
430
}
431
432
/**
433
 * @method string getBizid()
434
 * @method string getHash()
435
 */
436
class DescribeTransactionQRCode extends V20180731Rpc
437
{
438
439
    /**
440
     * @param string $value
441
     *
442
     * @return $this
443
     */
444
    public function withBizid($value)
445
    {
446
        $this->data['Bizid'] = $value;
447
        $this->options['form_params']['Bizid'] = $value;
448
449
        return $this;
450
    }
451
452
    /**
453
     * @param string $value
454
     *
455
     * @return $this
456
     */
457
    public function withHash($value)
458
    {
459
        $this->data['Hash'] = $value;
460
        $this->options['form_params']['Hash'] = $value;
461
462
        return $this;
463
    }
464
}
465
466
/**
467
 * @method string getAlipayAuthCode()
468
 * @method string getBizid()
469
 * @method string getHash()
470
 */
471
class DescribeTransactionFor2CBrowser extends V20180731Rpc
472
{
473
474
    /**
475
     * @param string $value
476
     *
477
     * @return $this
478
     */
479
    public function withAlipayAuthCode($value)
480
    {
481
        $this->data['AlipayAuthCode'] = $value;
482
        $this->options['form_params']['AlipayAuthCode'] = $value;
483
484
        return $this;
485
    }
486
487
    /**
488
     * @param string $value
489
     *
490
     * @return $this
491
     */
492
    public function withBizid($value)
493
    {
494
        $this->data['Bizid'] = $value;
495
        $this->options['form_params']['Bizid'] = $value;
496
497
        return $this;
498
    }
499
500
    /**
501
     * @param string $value
502
     *
503
     * @return $this
504
     */
505
    public function withHash($value)
506
    {
507
        $this->data['Hash'] = $value;
508
        $this->options['form_params']['Hash'] = $value;
509
510
        return $this;
511
    }
512
}
513
514
/**
515
 * @method string getLocale()
516
 */
517
class DescribeAntRegions extends V20180731Rpc
518
{
519
520
    /** @var string */
521
    public $method = 'PUT';
522
523
    /**
524
     * @param string $value
525
     *
526
     * @return $this
527
     */
528
    public function withLocale($value)
529
    {
530
        $this->data['Locale'] = $value;
531
        $this->options['form_params']['Locale'] = $value;
532
533
        return $this;
534
    }
535
}
536
537
/**
538
 * @method string getPurpose()
539
 * @method $this withPurpose($value)
540
 */
541
class DescribeBlockchainConfigOption extends V20180731Rpc
542
{
543
544
    /** @var string */
545
    public $method = 'PUT';
546
}
547
548
/**
549
 * @method string getBizid()
550
 */
551
class DescribeDownloadPathsOfContractChain extends V20180731Rpc
552
{
553
554
    /**
555
     * @param string $value
556
     *
557
     * @return $this
558
     */
559
    public function withBizid($value)
560
    {
561
        $this->data['Bizid'] = $value;
562
        $this->options['form_params']['Bizid'] = $value;
563
564
        return $this;
565
    }
566
}
567
568
/**
569
 * @method string getBizid()
570
 */
571
class DescribeDownloadPathsOfNotaryChain extends V20180731Rpc
572
{
573
574
    /**
575
     * @param string $value
576
     *
577
     * @return $this
578
     */
579
    public function withBizid($value)
580
    {
581
        $this->data['Bizid'] = $value;
582
        $this->options['form_params']['Bizid'] = $value;
583
584
        return $this;
585
    }
586
}
587
588
/**
589
 * @method string getBizid()
590
 */
591
class DescribeLatest15Blocks extends V20180731Rpc
592
{
593
594
    /**
595
     * @param string $value
596
     *
597
     * @return $this
598
     */
599
    public function withBizid($value)
600
    {
601
        $this->data['Bizid'] = $value;
602
        $this->options['form_params']['Bizid'] = $value;
603
604
        return $this;
605
    }
606
}
607
608
/**
609
 * @method string getBizid()
610
 */
611
class DescribeLatest15TransDigests extends V20180731Rpc
612
{
613
614
    /**
615
     * @param string $value
616
     *
617
     * @return $this
618
     */
619
    public function withBizid($value)
620
    {
621
        $this->data['Bizid'] = $value;
622
        $this->options['form_params']['Bizid'] = $value;
623
624
        return $this;
625
    }
626
}
627
628
/**
629
 * @method string getCurrent()
630
 * @method string getBizid()
631
 * @method string getPageSize()
632
 */
633
class DescribeMembers extends V20180731Rpc
634
{
635
636
    /**
637
     * @param string $value
638
     *
639
     * @return $this
640
     */
641
    public function withCurrent($value)
642
    {
643
        $this->data['Current'] = $value;
644
        $this->options['form_params']['Current'] = $value;
645
646
        return $this;
647
    }
648
649
    /**
650
     * @param string $value
651
     *
652
     * @return $this
653
     */
654
    public function withBizid($value)
655
    {
656
        $this->data['Bizid'] = $value;
657
        $this->options['form_params']['Bizid'] = $value;
658
659
        return $this;
660
    }
661
662
    /**
663
     * @param string $value
664
     *
665
     * @return $this
666
     */
667
    public function withPageSize($value)
668
    {
669
        $this->data['PageSize'] = $value;
670
        $this->options['form_params']['PageSize'] = $value;
671
672
        return $this;
673
    }
674
}
675
676
/**
677
 * @method string getRole()
678
 * @method string getBizid()
679
 * @method string getBid()
680
 * @method string getUserId()
681
 */
682
class UpdateMemberRole extends V20180731Rpc
683
{
684
685
    /** @var string */
686
    public $method = 'PUT';
687
688
    /**
689
     * @param string $value
690
     *
691
     * @return $this
692
     */
693
    public function withRole($value)
694
    {
695
        $this->data['Role'] = $value;
696
        $this->options['form_params']['Role'] = $value;
697
698
        return $this;
699
    }
700
701
    /**
702
     * @param string $value
703
     *
704
     * @return $this
705
     */
706
    public function withBizid($value)
707
    {
708
        $this->data['Bizid'] = $value;
709
        $this->options['form_params']['Bizid'] = $value;
710
711
        return $this;
712
    }
713
714
    /**
715
     * @param string $value
716
     *
717
     * @return $this
718
     */
719
    public function withBid($value)
720
    {
721
        $this->data['Bid'] = $value;
722
        $this->options['form_params']['Bid'] = $value;
723
724
        return $this;
725
    }
726
727
    /**
728
     * @param string $value
729
     *
730
     * @return $this
731
     */
732
    public function withUserId($value)
733
    {
734
        $this->data['UserId'] = $value;
735
        $this->options['form_params']['UserId'] = $value;
736
737
        return $this;
738
    }
739
}
740
741
/**
742
 * @method string getAccountPubKey()
743
 * @method string getBizid()
744
 * @method string getAccount()
745
 * @method string getAccountRecoverPubKey()
746
 */
747
class CreateAccount extends V20180731Rpc
748
{
749
750
    /** @var string */
751
    public $method = 'PUT';
752
753
    /**
754
     * @param string $value
755
     *
756
     * @return $this
757
     */
758
    public function withAccountPubKey($value)
759
    {
760
        $this->data['AccountPubKey'] = $value;
761
        $this->options['form_params']['AccountPubKey'] = $value;
762
763
        return $this;
764
    }
765
766
    /**
767
     * @param string $value
768
     *
769
     * @return $this
770
     */
771
    public function withBizid($value)
772
    {
773
        $this->data['Bizid'] = $value;
774
        $this->options['form_params']['Bizid'] = $value;
775
776
        return $this;
777
    }
778
779
    /**
780
     * @param string $value
781
     *
782
     * @return $this
783
     */
784
    public function withAccount($value)
785
    {
786
        $this->data['Account'] = $value;
787
        $this->options['form_params']['Account'] = $value;
788
789
        return $this;
790
    }
791
792
    /**
793
     * @param string $value
794
     *
795
     * @return $this
796
     */
797
    public function withAccountRecoverPubKey($value)
798
    {
799
        $this->data['AccountRecoverPubKey'] = $value;
800
        $this->options['form_params']['AccountRecoverPubKey'] = $value;
801
802
        return $this;
803
    }
804
}
805
806
/**
807
 * @method string getBizid()
808
 * @method string getAccount()
809
 */
810
class FreezeAccount extends V20180731Rpc
811
{
812
813
    /** @var string */
814
    public $method = 'PUT';
815
816
    /**
817
     * @param string $value
818
     *
819
     * @return $this
820
     */
821
    public function withBizid($value)
822
    {
823
        $this->data['Bizid'] = $value;
824
        $this->options['form_params']['Bizid'] = $value;
825
826
        return $this;
827
    }
828
829
    /**
830
     * @param string $value
831
     *
832
     * @return $this
833
     */
834
    public function withAccount($value)
835
    {
836
        $this->data['Account'] = $value;
837
        $this->options['form_params']['Account'] = $value;
838
839
        return $this;
840
    }
841
}
842
843
/**
844
 * @method string getBizid()
845
 * @method string getAccount()
846
 */
847
class UnfreezeAccount extends V20180731Rpc
848
{
849
850
    /** @var string */
851
    public $method = 'PUT';
852
853
    /**
854
     * @param string $value
855
     *
856
     * @return $this
857
     */
858
    public function withBizid($value)
859
    {
860
        $this->data['Bizid'] = $value;
861
        $this->options['form_params']['Bizid'] = $value;
862
863
        return $this;
864
    }
865
866
    /**
867
     * @param string $value
868
     *
869
     * @return $this
870
     */
871
    public function withAccount($value)
872
    {
873
        $this->data['Account'] = $value;
874
        $this->options['form_params']['Account'] = $value;
875
876
        return $this;
877
    }
878
}
879
880
/**
881
 * @method string getBizid()
882
 * @method string getNewName()
883
 */
884
class RenameBlockchain extends V20180731Rpc
885
{
886
887
    /** @var string */
888
    public $method = 'PUT';
889
890
    /**
891
     * @param string $value
892
     *
893
     * @return $this
894
     */
895
    public function withBizid($value)
896
    {
897
        $this->data['Bizid'] = $value;
898
        $this->options['form_params']['Bizid'] = $value;
899
900
        return $this;
901
    }
902
903
    /**
904
     * @param string $value
905
     *
906
     * @return $this
907
     */
908
    public function withNewName($value)
909
    {
910
        $this->data['NewName'] = $value;
911
        $this->options['form_params']['NewName'] = $value;
912
913
        return $this;
914
    }
915
}
916
917
/**
918
 * @method string getId()
919
 */
920
class DescribeEthereumNode extends V20180731Rpc
921
{
922
923
    /** @var string */
924
    public $method = 'PUT';
925
926
    /**
927
     * @param string $value
928
     *
929
     * @return $this
930
     */
931
    public function withId($value)
932
    {
933
        $this->data['Id'] = $value;
934
        $this->options['form_params']['Id'] = $value;
935
936
        return $this;
937
    }
938
}
939
940
/**
941
 * @method string getId()
942
 */
943
class DescribeEthereum extends V20180731Rpc
944
{
945
946
    /** @var string */
947
    public $method = 'PUT';
948
949
    /**
950
     * @param string $value
951
     *
952
     * @return $this
953
     */
954
    public function withId($value)
955
    {
956
        $this->data['Id'] = $value;
957
        $this->options['form_params']['Id'] = $value;
958
959
        return $this;
960
    }
961
}
962
963
/**
964
 * @method string getId()
965
 */
966
class DescribeEthereumInvitee extends V20180731Rpc
967
{
968
969
    /** @var string */
970
    public $method = 'PUT';
971
972
    /**
973
     * @param string $value
974
     *
975
     * @return $this
976
     */
977
    public function withId($value)
978
    {
979
        $this->data['Id'] = $value;
980
        $this->options['form_params']['Id'] = $value;
981
982
        return $this;
983
    }
984
}
985
986
/**
987
 * @method string getId()
988
 * @method array getInvitee()
989
 */
990
class ApproveEthereumInvitee extends V20180731Rpc
991
{
992
993
    /** @var string */
994
    public $method = 'PUT';
995
996
    /**
997
     * @param string $value
998
     *
999
     * @return $this
1000
     */
1001
    public function withId($value)
1002
    {
1003
        $this->data['Id'] = $value;
1004
        $this->options['form_params']['Id'] = $value;
1005
1006
        return $this;
1007
    }
1008
1009
    /**
1010
     * @param array $invitee
1011
     *
1012
     * @return $this
1013
     */
1014
    public function withInvitee(array $invitee)
1015
    {
1016
        $this->data['Invitee'] = $invitee;
1017
        foreach ($invitee as $depth1 => $depth1Value) {
1018
            $this->options['form_params']['Invitee.' . ($depth1 + 1) . '.Id'] = $depth1Value['Id'];
1019
        }
1020
1021
        return $this;
1022
    }
1023
}
1024
1025
/**
1026
 * @method string getNodeId()
1027
 */
1028
class DescribeExplorerURL extends V20180731Rpc
1029
{
1030
1031
    /** @var string */
1032
    public $method = 'PUT';
1033
1034
    /**
1035
     * @param string $value
1036
     *
1037
     * @return $this
1038
     */
1039
    public function withNodeId($value)
1040
    {
1041
        $this->data['NodeId'] = $value;
1042
        $this->options['form_params']['NodeId'] = $value;
1043
1044
        return $this;
1045
    }
1046
}
1047
1048
/**
1049
 * @method string getId()
1050
 */
1051
class DescribeNetstatURL extends V20180731Rpc
1052
{
1053
1054
    /** @var string */
1055
    public $method = 'PUT';
1056
1057
    /**
1058
     * @param string $value
1059
     *
1060
     * @return $this
1061
     */
1062
    public function withId($value)
1063
    {
1064
        $this->data['Id'] = $value;
1065
        $this->options['form_params']['Id'] = $value;
1066
1067
        return $this;
1068
    }
1069
}
1070
1071
/**
1072
 * @method string getCode()
1073
 * @method string getToken()
1074
 */
1075
class AcceptEthereumInvitation extends V20180731Rpc
1076
{
1077
1078
    /** @var string */
1079
    public $method = 'PUT';
1080
1081
    /**
1082
     * @param string $value
1083
     *
1084
     * @return $this
1085
     */
1086
    public function withCode($value)
1087
    {
1088
        $this->data['Code'] = $value;
1089
        $this->options['form_params']['Code'] = $value;
1090
1091
        return $this;
1092
    }
1093
1094
    /**
1095
     * @param string $value
1096
     *
1097
     * @return $this
1098
     */
1099
    public function withToken($value)
1100
    {
1101
        $this->data['Token'] = $value;
1102
        $this->options['form_params']['Token'] = $value;
1103
1104
        return $this;
1105
    }
1106
}
1107
1108
/**
1109
 * @method string getToken()
1110
 */
1111
class DescribeEthereumInvitaion extends V20180731Rpc
1112
{
1113
1114
    /** @var string */
1115
    public $method = 'PUT';
1116
1117
    /**
1118
     * @param string $value
1119
     *
1120
     * @return $this
1121
     */
1122
    public function withToken($value)
1123
    {
1124
        $this->data['Token'] = $value;
1125
        $this->options['form_params']['Token'] = $value;
1126
1127
        return $this;
1128
    }
1129
}
1130
1131
/**
1132
 * @method string getEthereumId()
1133
 */
1134
class CreateEthereumInvitation extends V20180731Rpc
1135
{
1136
1137
    /** @var string */
1138
    public $method = 'PUT';
1139
1140
    /**
1141
     * @param string $value
1142
     *
1143
     * @return $this
1144
     */
1145
    public function withEthereumId($value)
1146
    {
1147
        $this->data['EthereumId'] = $value;
1148
        $this->options['form_params']['EthereumId'] = $value;
1149
1150
        return $this;
1151
    }
1152
}
1153
1154
/**
1155
 * @method string getLines()
1156
 * @method string getNodeId()
1157
 * @method string getTarget()
1158
 */
1159
class DescribeEthereumNodeLogs extends V20180731Rpc
1160
{
1161
1162
    /** @var string */
1163
    public $method = 'PUT';
1164
1165
    /**
1166
     * @param string $value
1167
     *
1168
     * @return $this
1169
     */
1170
    public function withLines($value)
1171
    {
1172
        $this->data['Lines'] = $value;
1173
        $this->options['form_params']['Lines'] = $value;
1174
1175
        return $this;
1176
    }
1177
1178
    /**
1179
     * @param string $value
1180
     *
1181
     * @return $this
1182
     */
1183
    public function withNodeId($value)
1184
    {
1185
        $this->data['NodeId'] = $value;
1186
        $this->options['form_params']['NodeId'] = $value;
1187
1188
        return $this;
1189
    }
1190
1191
    /**
1192
     * @param string $value
1193
     *
1194
     * @return $this
1195
     */
1196
    public function withTarget($value)
1197
    {
1198
        $this->data['Target'] = $value;
1199
        $this->options['form_params']['Target'] = $value;
1200
1201
        return $this;
1202
    }
1203
}
1204
1205
/**
1206
 * @method string getPassword()
1207
 * @method string getNodeId()
1208
 * @method string getUsername()
1209
 */
1210
class UpdateEthereumClientUserPassword extends V20180731Rpc
1211
{
1212
1213
    /** @var string */
1214
    public $method = 'PUT';
1215
1216
    /**
1217
     * @param string $value
1218
     *
1219
     * @return $this
1220
     */
1221
    public function withPassword($value)
1222
    {
1223
        $this->data['Password'] = $value;
1224
        $this->options['form_params']['Password'] = $value;
1225
1226
        return $this;
1227
    }
1228
1229
    /**
1230
     * @param string $value
1231
     *
1232
     * @return $this
1233
     */
1234
    public function withNodeId($value)
1235
    {
1236
        $this->data['NodeId'] = $value;
1237
        $this->options['form_params']['NodeId'] = $value;
1238
1239
        return $this;
1240
    }
1241
1242
    /**
1243
     * @param string $value
1244
     *
1245
     * @return $this
1246
     */
1247
    public function withUsername($value)
1248
    {
1249
        $this->data['Username'] = $value;
1250
        $this->options['form_params']['Username'] = $value;
1251
1252
        return $this;
1253
    }
1254
}
1255
1256
/**
1257
 * @method string getNodeId()
1258
 */
1259
class DescribeEthereumClientUsers extends V20180731Rpc
1260
{
1261
1262
    /** @var string */
1263
    public $method = 'PUT';
1264
1265
    /**
1266
     * @param string $value
1267
     *
1268
     * @return $this
1269
     */
1270
    public function withNodeId($value)
1271
    {
1272
        $this->data['NodeId'] = $value;
1273
        $this->options['form_params']['NodeId'] = $value;
1274
1275
        return $this;
1276
    }
1277
}
1278
1279
/**
1280
 * @method string getNodeId()
1281
 */
1282
class DescribeEthereumNodeInfo extends V20180731Rpc
1283
{
1284
1285
    /** @var string */
1286
    public $method = 'PUT';
1287
1288
    /**
1289
     * @param string $value
1290
     *
1291
     * @return $this
1292
     */
1293
    public function withNodeId($value)
1294
    {
1295
        $this->data['NodeId'] = $value;
1296
        $this->options['form_params']['NodeId'] = $value;
1297
1298
        return $this;
1299
    }
1300
}
1301
1302
/**
1303
 * @method string getNodeName()
1304
 * @method string getEthereumId()
1305
 * @method string getDescription()
1306
 * @method string getExternalNode()
1307
 */
1308
class AddEthereumNode extends V20180731Rpc
1309
{
1310
1311
    /** @var string */
1312
    public $method = 'PUT';
1313
1314
    /**
1315
     * @param string $value
1316
     *
1317
     * @return $this
1318
     */
1319
    public function withNodeName($value)
1320
    {
1321
        $this->data['NodeName'] = $value;
1322
        $this->options['form_params']['NodeName'] = $value;
1323
1324
        return $this;
1325
    }
1326
1327
    /**
1328
     * @param string $value
1329
     *
1330
     * @return $this
1331
     */
1332
    public function withEthereumId($value)
1333
    {
1334
        $this->data['EthereumId'] = $value;
1335
        $this->options['form_params']['EthereumId'] = $value;
1336
1337
        return $this;
1338
    }
1339
1340
    /**
1341
     * @param string $value
1342
     *
1343
     * @return $this
1344
     */
1345
    public function withDescription($value)
1346
    {
1347
        $this->data['Description'] = $value;
1348
        $this->options['form_params']['Description'] = $value;
1349
1350
        return $this;
1351
    }
1352
1353
    /**
1354
     * @param string $value
1355
     *
1356
     * @return $this
1357
     */
1358
    public function withExternalNode($value)
1359
    {
1360
        $this->data['ExternalNode'] = $value;
1361
        $this->options['form_params']['ExternalNode'] = $value;
1362
1363
        return $this;
1364
    }
1365
}
1366
1367
/**
1368
 * @method string getNodeName()
1369
 * @method string getDescription()
1370
 * @method string getNodeId()
1371
 */
1372
class UpdateEthereumNode extends V20180731Rpc
1373
{
1374
1375
    /** @var string */
1376
    public $method = 'PUT';
1377
1378
    /**
1379
     * @param string $value
1380
     *
1381
     * @return $this
1382
     */
1383
    public function withNodeName($value)
1384
    {
1385
        $this->data['NodeName'] = $value;
1386
        $this->options['form_params']['NodeName'] = $value;
1387
1388
        return $this;
1389
    }
1390
1391
    /**
1392
     * @param string $value
1393
     *
1394
     * @return $this
1395
     */
1396
    public function withDescription($value)
1397
    {
1398
        $this->data['Description'] = $value;
1399
        $this->options['form_params']['Description'] = $value;
1400
1401
        return $this;
1402
    }
1403
1404
    /**
1405
     * @param string $value
1406
     *
1407
     * @return $this
1408
     */
1409
    public function withNodeId($value)
1410
    {
1411
        $this->data['NodeId'] = $value;
1412
        $this->options['form_params']['NodeId'] = $value;
1413
1414
        return $this;
1415
    }
1416
}
1417
1418
class DescribeEthereumNodes extends V20180731Rpc
1419
{
1420
1421
    /** @var string */
1422
    public $method = 'PUT';
1423
}
1424
1425
/**
1426
 * @method string getName()
1427
 * @method string getEthereumId()
1428
 * @method string getDescription()
1429
 */
1430
class UpdateEthereum extends V20180731Rpc
1431
{
1432
1433
    /** @var string */
1434
    public $method = 'PUT';
1435
1436
    /**
1437
     * @param string $value
1438
     *
1439
     * @return $this
1440
     */
1441
    public function withName($value)
1442
    {
1443
        $this->data['Name'] = $value;
1444
        $this->options['form_params']['Name'] = $value;
1445
1446
        return $this;
1447
    }
1448
1449
    /**
1450
     * @param string $value
1451
     *
1452
     * @return $this
1453
     */
1454
    public function withEthereumId($value)
1455
    {
1456
        $this->data['EthereumId'] = $value;
1457
        $this->options['form_params']['EthereumId'] = $value;
1458
1459
        return $this;
1460
    }
1461
1462
    /**
1463
     * @param string $value
1464
     *
1465
     * @return $this
1466
     */
1467
    public function withDescription($value)
1468
    {
1469
        $this->data['Description'] = $value;
1470
        $this->options['form_params']['Description'] = $value;
1471
1472
        return $this;
1473
    }
1474
}
1475
1476
class DescribeEthereums extends V20180731Rpc
1477
{
1478
1479
    /** @var string */
1480
    public $method = 'PUT';
1481
}
1482
1483
/**
1484
 * @method string getConsensus()
1485
 * @method string getDifficulty()
1486
 * @method array getNode()
1487
 * @method string getName()
1488
 * @method string getGas()
1489
 * @method string getDescription()
1490
 * @method string getNetworkId()
1491
 * @method string getRegion()
1492
 */
1493
class CreateEthereum extends V20180731Rpc
1494
{
1495
1496
    /** @var string */
1497
    public $method = 'PUT';
1498
1499
    /**
1500
     * @param string $value
1501
     *
1502
     * @return $this
1503
     */
1504
    public function withConsensus($value)
1505
    {
1506
        $this->data['Consensus'] = $value;
1507
        $this->options['form_params']['Consensus'] = $value;
1508
1509
        return $this;
1510
    }
1511
1512
    /**
1513
     * @param string $value
1514
     *
1515
     * @return $this
1516
     */
1517
    public function withDifficulty($value)
1518
    {
1519
        $this->data['Difficulty'] = $value;
1520
        $this->options['form_params']['Difficulty'] = $value;
1521
1522
        return $this;
1523
    }
1524
1525
    /**
1526
     * @param array $node
1527
     *
1528
     * @return $this
1529
     */
1530
    public function withNode(array $node)
1531
    {
1532
        $this->data['Node'] = $node;
1533
        foreach ($node as $depth1 => $depth1Value) {
1534
            $this->options['form_params']['Node.' . ($depth1 + 1) . '.Name'] = $depth1Value['Name'];
1535
        }
1536
1537
        return $this;
1538
    }
1539
1540
    /**
1541
     * @param string $value
1542
     *
1543
     * @return $this
1544
     */
1545
    public function withName($value)
1546
    {
1547
        $this->data['Name'] = $value;
1548
        $this->options['form_params']['Name'] = $value;
1549
1550
        return $this;
1551
    }
1552
1553
    /**
1554
     * @param string $value
1555
     *
1556
     * @return $this
1557
     */
1558
    public function withGas($value)
1559
    {
1560
        $this->data['Gas'] = $value;
1561
        $this->options['form_params']['Gas'] = $value;
1562
1563
        return $this;
1564
    }
1565
1566
    /**
1567
     * @param string $value
1568
     *
1569
     * @return $this
1570
     */
1571
    public function withDescription($value)
1572
    {
1573
        $this->data['Description'] = $value;
1574
        $this->options['form_params']['Description'] = $value;
1575
1576
        return $this;
1577
    }
1578
1579
    /**
1580
     * @param string $value
1581
     *
1582
     * @return $this
1583
     */
1584
    public function withNetworkId($value)
1585
    {
1586
        $this->data['NetworkId'] = $value;
1587
        $this->options['form_params']['NetworkId'] = $value;
1588
1589
        return $this;
1590
    }
1591
1592
    /**
1593
     * @param string $value
1594
     *
1595
     * @return $this
1596
     */
1597
    public function withRegion($value)
1598
    {
1599
        $this->data['Region'] = $value;
1600
        $this->options['form_params']['Region'] = $value;
1601
1602
        return $this;
1603
    }
1604
}
1605
1606
/**
1607
 * @method string getTMPub()
1608
 * @method string getNodePub()
1609
 * @method string getP2pPort()
1610
 * @method string getWSPort()
1611
 * @method string getIP()
1612
 * @method string getRaftPort()
1613
 * @method string getRpcPort()
1614
 * @method string getTMPort()
1615
 * @method string getNodeId()
1616
 */
1617
class UpdateEthereumNodeConfiguration extends V20180731Rpc
1618
{
1619
1620
    /** @var string */
1621
    public $method = 'PUT';
1622
1623
    /**
1624
     * @param string $value
1625
     *
1626
     * @return $this
1627
     */
1628
    public function withTMPub($value)
1629
    {
1630
        $this->data['TMPub'] = $value;
1631
        $this->options['form_params']['TMPub'] = $value;
1632
1633
        return $this;
1634
    }
1635
1636
    /**
1637
     * @param string $value
1638
     *
1639
     * @return $this
1640
     */
1641
    public function withNodePub($value)
1642
    {
1643
        $this->data['NodePub'] = $value;
1644
        $this->options['form_params']['NodePub'] = $value;
1645
1646
        return $this;
1647
    }
1648
1649
    /**
1650
     * @param string $value
1651
     *
1652
     * @return $this
1653
     */
1654
    public function withP2pPort($value)
1655
    {
1656
        $this->data['P2pPort'] = $value;
1657
        $this->options['form_params']['P2pPort'] = $value;
1658
1659
        return $this;
1660
    }
1661
1662
    /**
1663
     * @param string $value
1664
     *
1665
     * @return $this
1666
     */
1667
    public function withWSPort($value)
1668
    {
1669
        $this->data['WSPort'] = $value;
1670
        $this->options['form_params']['WSPort'] = $value;
1671
1672
        return $this;
1673
    }
1674
1675
    /**
1676
     * @param string $value
1677
     *
1678
     * @return $this
1679
     */
1680
    public function withIP($value)
1681
    {
1682
        $this->data['IP'] = $value;
1683
        $this->options['form_params']['IP'] = $value;
1684
1685
        return $this;
1686
    }
1687
1688
    /**
1689
     * @param string $value
1690
     *
1691
     * @return $this
1692
     */
1693
    public function withRaftPort($value)
1694
    {
1695
        $this->data['RaftPort'] = $value;
1696
        $this->options['form_params']['RaftPort'] = $value;
1697
1698
        return $this;
1699
    }
1700
1701
    /**
1702
     * @param string $value
1703
     *
1704
     * @return $this
1705
     */
1706
    public function withRpcPort($value)
1707
    {
1708
        $this->data['RpcPort'] = $value;
1709
        $this->options['form_params']['RpcPort'] = $value;
1710
1711
        return $this;
1712
    }
1713
1714
    /**
1715
     * @param string $value
1716
     *
1717
     * @return $this
1718
     */
1719
    public function withTMPort($value)
1720
    {
1721
        $this->data['TMPort'] = $value;
1722
        $this->options['form_params']['TMPort'] = $value;
1723
1724
        return $this;
1725
    }
1726
1727
    /**
1728
     * @param string $value
1729
     *
1730
     * @return $this
1731
     */
1732
    public function withNodeId($value)
1733
    {
1734
        $this->data['NodeId'] = $value;
1735
        $this->options['form_params']['NodeId'] = $value;
1736
1737
        return $this;
1738
    }
1739
}
1740
1741
/**
1742
 * @method string getNodeId()
1743
 */
1744
class DescribeEthereumNodeConfiguration extends V20180731Rpc
1745
{
1746
1747
    /** @var string */
1748
    public $method = 'PUT';
1749
1750
    /**
1751
     * @param string $value
1752
     *
1753
     * @return $this
1754
     */
1755
    public function withNodeId($value)
1756
    {
1757
        $this->data['NodeId'] = $value;
1758
        $this->options['form_params']['NodeId'] = $value;
1759
1760
        return $this;
1761
    }
1762
}
1763
1764
/**
1765
 * @method string getEthereumId()
1766
 */
1767
class DescribeEthereumDeletable extends V20180731Rpc
1768
{
1769
1770
    /** @var string */
1771
    public $method = 'PUT';
1772
1773
    /**
1774
     * @param string $value
1775
     *
1776
     * @return $this
1777
     */
1778
    public function withEthereumId($value)
1779
    {
1780
        $this->data['EthereumId'] = $value;
1781
        $this->options['form_params']['EthereumId'] = $value;
1782
1783
        return $this;
1784
    }
1785
}
1786
1787
/**
1788
 * @method string getEthereumId()
1789
 */
1790
class QueryEthereumDeletable extends V20180731Rpc
1791
{
1792
1793
    /** @var string */
1794
    public $method = 'PUT';
1795
1796
    /**
1797
     * @param string $value
1798
     *
1799
     * @return $this
1800
     */
1801
    public function withEthereumId($value)
1802
    {
1803
        $this->data['EthereumId'] = $value;
1804
        $this->options['form_params']['EthereumId'] = $value;
1805
1806
        return $this;
1807
    }
1808
}
1809
1810
/**
1811
 * @method string getEthereumId()
1812
 */
1813
class DestroyEthereum extends V20180731Rpc
1814
{
1815
1816
    /** @var string */
1817
    public $method = 'PUT';
1818
1819
    /**
1820
     * @param string $value
1821
     *
1822
     * @return $this
1823
     */
1824
    public function withEthereumId($value)
1825
    {
1826
        $this->data['EthereumId'] = $value;
1827
        $this->options['form_params']['EthereumId'] = $value;
1828
1829
        return $this;
1830
    }
1831
}
1832
1833
/**
1834
 * @method string getChaincodeId()
1835
 * @method string getLocation()
1836
 */
1837
class DescribeChaincodeCollectionConfig extends V20180731Rpc
1838
{
1839
1840
    /**
1841
     * @param string $value
1842
     *
1843
     * @return $this
1844
     */
1845
    public function withChaincodeId($value)
1846
    {
1847
        $this->data['ChaincodeId'] = $value;
1848
        $this->options['form_params']['ChaincodeId'] = $value;
1849
1850
        return $this;
1851
    }
1852
1853
    /**
1854
     * @param string $value
1855
     *
1856
     * @return $this
1857
     */
1858
    public function withLocation($value)
1859
    {
1860
        $this->data['Location'] = $value;
1861
        $this->options['form_params']['Location'] = $value;
1862
1863
        return $this;
1864
    }
1865
}
1866
1867
class DescribeResourceType extends V20180731Rpc
1868
{
1869
}
1870
1871
/**
1872
 * @method string getBizid()
1873
 * @method string getHash()
1874
 */
1875
class DescribeTransaction extends V20180731Rpc
1876
{
1877
1878
    /**
1879
     * @param string $value
1880
     *
1881
     * @return $this
1882
     */
1883
    public function withBizid($value)
1884
    {
1885
        $this->data['Bizid'] = $value;
1886
        $this->options['form_params']['Bizid'] = $value;
1887
1888
        return $this;
1889
    }
1890
1891
    /**
1892
     * @param string $value
1893
     *
1894
     * @return $this
1895
     */
1896
    public function withHash($value)
1897
    {
1898
        $this->data['Hash'] = $value;
1899
        $this->options['form_params']['Hash'] = $value;
1900
1901
        return $this;
1902
    }
1903
}
1904
1905
/**
1906
 * @method string getPeriod()
1907
 * @method string getMetric()
1908
 * @method string getPort()
1909
 * @method string getBizid()
1910
 * @method $this withBizid($value)
1911
 * @method string getTimeArea()
1912
 * @method string getInnerIp()
1913
 */
1914
class DescribeMetric extends V20180731Rpc
1915
{
1916
1917
    /**
1918
     * @param string $value
1919
     *
1920
     * @return $this
1921
     */
1922
    public function withPeriod($value)
1923
    {
1924
        $this->data['Period'] = $value;
1925
        $this->options['form_params']['Period'] = $value;
1926
1927
        return $this;
1928
    }
1929
1930
    /**
1931
     * @param string $value
1932
     *
1933
     * @return $this
1934
     */
1935
    public function withMetric($value)
1936
    {
1937
        $this->data['Metric'] = $value;
1938
        $this->options['form_params']['Metric'] = $value;
1939
1940
        return $this;
1941
    }
1942
1943
    /**
1944
     * @param string $value
1945
     *
1946
     * @return $this
1947
     */
1948
    public function withPort($value)
1949
    {
1950
        $this->data['Port'] = $value;
1951
        $this->options['form_params']['Port'] = $value;
1952
1953
        return $this;
1954
    }
1955
1956
    /**
1957
     * @param string $value
1958
     *
1959
     * @return $this
1960
     */
1961
    public function withTimeArea($value)
1962
    {
1963
        $this->data['TimeArea'] = $value;
1964
        $this->options['form_params']['TimeArea'] = $value;
1965
1966
        return $this;
1967
    }
1968
1969
    /**
1970
     * @param string $value
1971
     *
1972
     * @return $this
1973
     */
1974
    public function withInnerIp($value)
1975
    {
1976
        $this->data['InnerIp'] = $value;
1977
        $this->options['form_params']['InnerIp'] = $value;
1978
1979
        return $this;
1980
    }
1981
}
1982
1983
/**
1984
 * @method string getBizid()
1985
 * @method string getHeight()
1986
 */
1987
class DescribeBlock extends V20180731Rpc
1988
{
1989
1990
    /**
1991
     * @param string $value
1992
     *
1993
     * @return $this
1994
     */
1995
    public function withBizid($value)
1996
    {
1997
        $this->data['Bizid'] = $value;
1998
        $this->options['form_params']['Bizid'] = $value;
1999
2000
        return $this;
2001
    }
2002
2003
    /**
2004
     * @param string $value
2005
     *
2006
     * @return $this
2007
     */
2008
    public function withHeight($value)
2009
    {
2010
        $this->data['Height'] = $value;
2011
        $this->options['form_params']['Height'] = $value;
2012
2013
        return $this;
2014
    }
2015
}
2016
2017
/**
2018
 * @method string getSchemaId()
2019
 * @method string getBizid()
2020
 */
2021
class DescribeSchemaDetail extends V20180731Rpc
2022
{
2023
2024
    /**
2025
     * @param string $value
2026
     *
2027
     * @return $this
2028
     */
2029
    public function withSchemaId($value)
2030
    {
2031
        $this->data['SchemaId'] = $value;
2032
        $this->options['form_params']['SchemaId'] = $value;
2033
2034
        return $this;
2035
    }
2036
2037
    /**
2038
     * @param string $value
2039
     *
2040
     * @return $this
2041
     */
2042
    public function withBizid($value)
2043
    {
2044
        $this->data['Bizid'] = $value;
2045
        $this->options['form_params']['Bizid'] = $value;
2046
2047
        return $this;
2048
    }
2049
}
2050
2051
/**
2052
 * @method string getBizid()
2053
 */
2054
class DownloadSDK2 extends V20180731Rpc
2055
{
2056
2057
    /**
2058
     * @param string $value
2059
     *
2060
     * @return $this
2061
     */
2062
    public function withBizid($value)
2063
    {
2064
        $this->data['Bizid'] = $value;
2065
        $this->options['form_params']['Bizid'] = $value;
2066
2067
        return $this;
2068
    }
2069
}
2070
2071
class DescribeMySuccessfulApplication extends V20180731Rpc
2072
{
2073
}
2074
2075
/**
2076
 * @method string getCipherSuit()
2077
 * @method string getSize()
2078
 * @method string getMachineNum()
2079
 * @method string getLiveTime()
2080
 * @method string getBizid()
2081
 * @method string getBlockchainType()
2082
 * @method string getBlockchainRegionId()
2083
 * @method string getTlsAlgo()
2084
 * @method string getMerkleTreeSuit()
2085
 */
2086
class CreateBlockchainApplication extends V20180731Rpc
2087
{
2088
2089
    /**
2090
     * @param string $value
2091
     *
2092
     * @return $this
2093
     */
2094
    public function withCipherSuit($value)
2095
    {
2096
        $this->data['CipherSuit'] = $value;
2097
        $this->options['form_params']['CipherSuit'] = $value;
2098
2099
        return $this;
2100
    }
2101
2102
    /**
2103
     * @param string $value
2104
     *
2105
     * @return $this
2106
     */
2107
    public function withSize($value)
2108
    {
2109
        $this->data['Size'] = $value;
2110
        $this->options['form_params']['Size'] = $value;
2111
2112
        return $this;
2113
    }
2114
2115
    /**
2116
     * @param string $value
2117
     *
2118
     * @return $this
2119
     */
2120
    public function withMachineNum($value)
2121
    {
2122
        $this->data['MachineNum'] = $value;
2123
        $this->options['form_params']['MachineNum'] = $value;
2124
2125
        return $this;
2126
    }
2127
2128
    /**
2129
     * @param string $value
2130
     *
2131
     * @return $this
2132
     */
2133
    public function withLiveTime($value)
2134
    {
2135
        $this->data['LiveTime'] = $value;
2136
        $this->options['form_params']['LiveTime'] = $value;
2137
2138
        return $this;
2139
    }
2140
2141
    /**
2142
     * @param string $value
2143
     *
2144
     * @return $this
2145
     */
2146
    public function withBizid($value)
2147
    {
2148
        $this->data['Bizid'] = $value;
2149
        $this->options['form_params']['Bizid'] = $value;
2150
2151
        return $this;
2152
    }
2153
2154
    /**
2155
     * @param string $value
2156
     *
2157
     * @return $this
2158
     */
2159
    public function withBlockchainType($value)
2160
    {
2161
        $this->data['BlockchainType'] = $value;
2162
        $this->options['form_params']['BlockchainType'] = $value;
2163
2164
        return $this;
2165
    }
2166
2167
    /**
2168
     * @param string $value
2169
     *
2170
     * @return $this
2171
     */
2172
    public function withBlockchainRegionId($value)
2173
    {
2174
        $this->data['BlockchainRegionId'] = $value;
2175
        $this->options['form_params']['BlockchainRegionId'] = $value;
2176
2177
        return $this;
2178
    }
2179
2180
    /**
2181
     * @param string $value
2182
     *
2183
     * @return $this
2184
     */
2185
    public function withTlsAlgo($value)
2186
    {
2187
        $this->data['TlsAlgo'] = $value;
2188
        $this->options['form_params']['TlsAlgo'] = $value;
2189
2190
        return $this;
2191
    }
2192
2193
    /**
2194
     * @param string $value
2195
     *
2196
     * @return $this
2197
     */
2198
    public function withMerkleTreeSuit($value)
2199
    {
2200
        $this->data['MerkleTreeSuit'] = $value;
2201
        $this->options['form_params']['MerkleTreeSuit'] = $value;
2202
2203
        return $this;
2204
    }
2205
}
2206
2207
/**
2208
 * @method string getBizid()
2209
 */
2210
class DescribeBlockchainSchema extends V20180731Rpc
2211
{
2212
2213
    /**
2214
     * @param string $value
2215
     *
2216
     * @return $this
2217
     */
2218
    public function withBizid($value)
2219
    {
2220
        $this->data['Bizid'] = $value;
2221
        $this->options['form_params']['Bizid'] = $value;
2222
2223
        return $this;
2224
    }
2225
}
2226
2227
/**
2228
 * @method string getBizid()
2229
 */
2230
class ResetCertificate extends V20180731Rpc
2231
{
2232
2233
    /**
2234
     * @param string $value
2235
     *
2236
     * @return $this
2237
     */
2238
    public function withBizid($value)
2239
    {
2240
        $this->data['Bizid'] = $value;
2241
        $this->options['form_params']['Bizid'] = $value;
2242
2243
        return $this;
2244
    }
2245
}
2246
2247
class DescribeTemplates extends V20180731Rpc
2248
{
2249
}
2250
2251
/**
2252
 * @method string getBizid()
2253
 */
2254
class DescribeOssProperties extends V20180731Rpc
2255
{
2256
2257
    /**
2258
     * @param string $value
2259
     *
2260
     * @return $this
2261
     */
2262
    public function withBizid($value)
2263
    {
2264
        $this->data['Bizid'] = $value;
2265
        $this->options['form_params']['Bizid'] = $value;
2266
2267
        return $this;
2268
    }
2269
}
2270
2271
class DescribeMySuccessApplies extends V20180731Rpc
2272
{
2273
}
2274
2275
class DescribeMyBlockchains extends V20180731Rpc
2276
{
2277
}
2278
2279
/**
2280
 * @method string getBizid()
2281
 */
2282
class DescribeBlockchainInfo extends V20180731Rpc
2283
{
2284
2285
    /**
2286
     * @param string $value
2287
     *
2288
     * @return $this
2289
     */
2290
    public function withBizid($value)
2291
    {
2292
        $this->data['Bizid'] = $value;
2293
        $this->options['form_params']['Bizid'] = $value;
2294
2295
        return $this;
2296
    }
2297
}
2298
2299
/**
2300
 * @method string getCurrent()
2301
 * @method string getPageSize()
2302
 */
2303
class DescribeBlockchainCreateTask extends V20180731Rpc
2304
{
2305
2306
    /**
2307
     * @param string $value
2308
     *
2309
     * @return $this
2310
     */
2311
    public function withCurrent($value)
2312
    {
2313
        $this->data['Current'] = $value;
2314
        $this->options['form_params']['Current'] = $value;
2315
2316
        return $this;
2317
    }
2318
2319
    /**
2320
     * @param string $value
2321
     *
2322
     * @return $this
2323
     */
2324
    public function withPageSize($value)
2325
    {
2326
        $this->data['PageSize'] = $value;
2327
        $this->options['form_params']['PageSize'] = $value;
2328
2329
        return $this;
2330
    }
2331
}
2332
2333
/**
2334
 * @method string getBizid()
2335
 */
2336
class DescribeBcSchema extends V20180731Rpc
2337
{
2338
2339
    /**
2340
     * @param string $value
2341
     *
2342
     * @return $this
2343
     */
2344
    public function withBizid($value)
2345
    {
2346
        $this->data['Bizid'] = $value;
2347
        $this->options['form_params']['Bizid'] = $value;
2348
2349
        return $this;
2350
    }
2351
}
2352
2353
/**
2354
 * @method string getCurrent()
2355
 * @method string getBizid()
2356
 * @method string getPageSize()
2357
 * @method string getStatus()
2358
 */
2359
class DescribeApplies extends V20180731Rpc
2360
{
2361
2362
    /**
2363
     * @param string $value
2364
     *
2365
     * @return $this
2366
     */
2367
    public function withCurrent($value)
2368
    {
2369
        $this->data['Current'] = $value;
2370
        $this->options['form_params']['Current'] = $value;
2371
2372
        return $this;
2373
    }
2374
2375
    /**
2376
     * @param string $value
2377
     *
2378
     * @return $this
2379
     */
2380
    public function withBizid($value)
2381
    {
2382
        $this->data['Bizid'] = $value;
2383
        $this->options['form_params']['Bizid'] = $value;
2384
2385
        return $this;
2386
    }
2387
2388
    /**
2389
     * @param string $value
2390
     *
2391
     * @return $this
2392
     */
2393
    public function withPageSize($value)
2394
    {
2395
        $this->data['PageSize'] = $value;
2396
        $this->options['form_params']['PageSize'] = $value;
2397
2398
        return $this;
2399
    }
2400
2401
    /**
2402
     * @param string $value
2403
     *
2404
     * @return $this
2405
     */
2406
    public function withStatus($value)
2407
    {
2408
        $this->data['Status'] = $value;
2409
        $this->options['form_params']['Status'] = $value;
2410
2411
        return $this;
2412
    }
2413
}
2414
2415
/**
2416
 * @method string getBizid()
2417
 */
2418
class DownloadAll extends V20180731Rpc
2419
{
2420
2421
    /**
2422
     * @param string $value
2423
     *
2424
     * @return $this
2425
     */
2426
    public function withBizid($value)
2427
    {
2428
        $this->data['Bizid'] = $value;
2429
        $this->options['form_params']['Bizid'] = $value;
2430
2431
        return $this;
2432
    }
2433
}
2434
2435
/**
2436
 * @method string getCurrent()
2437
 * @method string getPageSize()
2438
 */
2439
class GetBlockchainCreateTask extends V20180731Rpc
2440
{
2441
2442
    /**
2443
     * @param string $value
2444
     *
2445
     * @return $this
2446
     */
2447
    public function withCurrent($value)
2448
    {
2449
        $this->data['Current'] = $value;
2450
        $this->options['form_params']['Current'] = $value;
2451
2452
        return $this;
2453
    }
2454
2455
    /**
2456
     * @param string $value
2457
     *
2458
     * @return $this
2459
     */
2460
    public function withPageSize($value)
2461
    {
2462
        $this->data['PageSize'] = $value;
2463
        $this->options['form_params']['PageSize'] = $value;
2464
2465
        return $this;
2466
    }
2467
}
2468
2469
/**
2470
 * @method string getOrganizationId()
2471
 * @method $this withOrganizationId($value)
2472
 * @method string getPeerName()
2473
 * @method $this withPeerName($value)
2474
 * @method string getLines()
2475
 * @method $this withLines($value)
2476
 */
2477
class DescribePeerLogs extends V20180731Rpc
2478
{
2479
}
2480
2481
/**
2482
 * @method string getLines()
2483
 * @method $this withLines($value)
2484
 * @method string getConsortiumId()
2485
 * @method $this withConsortiumId($value)
2486
 * @method string getOrdererName()
2487
 * @method $this withOrdererName($value)
2488
 */
2489
class DescribeOrdererLogs extends V20180731Rpc
2490
{
2491
}
2492
2493
/**
2494
 * @method string getBizid()
2495
 */
2496
class GetOssProperties extends V20180731Rpc
2497
{
2498
2499
    /**
2500
     * @param string $value
2501
     *
2502
     * @return $this
2503
     */
2504
    public function withBizid($value)
2505
    {
2506
        $this->data['Bizid'] = $value;
2507
        $this->options['form_params']['Bizid'] = $value;
2508
2509
        return $this;
2510
    }
2511
}
2512
2513
/**
2514
 * @method string getSchemaName()
2515
 * @method string getSchemaId()
2516
 * @method string getBizid()
2517
 * @method string getDescription()
2518
 * @method string getCategoryConfigs()
2519
 */
2520
class UpdateSchema extends V20180731Rpc
2521
{
2522
2523
    /**
2524
     * @param string $value
2525
     *
2526
     * @return $this
2527
     */
2528
    public function withSchemaName($value)
2529
    {
2530
        $this->data['SchemaName'] = $value;
2531
        $this->options['form_params']['SchemaName'] = $value;
2532
2533
        return $this;
2534
    }
2535
2536
    /**
2537
     * @param string $value
2538
     *
2539
     * @return $this
2540
     */
2541
    public function withSchemaId($value)
2542
    {
2543
        $this->data['SchemaId'] = $value;
2544
        $this->options['form_params']['SchemaId'] = $value;
2545
2546
        return $this;
2547
    }
2548
2549
    /**
2550
     * @param string $value
2551
     *
2552
     * @return $this
2553
     */
2554
    public function withBizid($value)
2555
    {
2556
        $this->data['Bizid'] = $value;
2557
        $this->options['form_params']['Bizid'] = $value;
2558
2559
        return $this;
2560
    }
2561
2562
    /**
2563
     * @param string $value
2564
     *
2565
     * @return $this
2566
     */
2567
    public function withDescription($value)
2568
    {
2569
        $this->data['Description'] = $value;
2570
        $this->options['form_params']['Description'] = $value;
2571
2572
        return $this;
2573
    }
2574
2575
    /**
2576
     * @param string $value
2577
     *
2578
     * @return $this
2579
     */
2580
    public function withCategoryConfigs($value)
2581
    {
2582
        $this->data['CategoryConfigs'] = $value;
2583
        $this->options['form_params']['CategoryConfigs'] = $value;
2584
2585
        return $this;
2586
    }
2587
}
2588
2589
/**
2590
 * @method string getSchemaId()
2591
 * @method string getBizid()
2592
 */
2593
class SchemaDetail extends V20180731Rpc
2594
{
2595
2596
    /**
2597
     * @param string $value
2598
     *
2599
     * @return $this
2600
     */
2601
    public function withSchemaId($value)
2602
    {
2603
        $this->data['SchemaId'] = $value;
2604
        $this->options['form_params']['SchemaId'] = $value;
2605
2606
        return $this;
2607
    }
2608
2609
    /**
2610
     * @param string $value
2611
     *
2612
     * @return $this
2613
     */
2614
    public function withBizid($value)
2615
    {
2616
        $this->data['Bizid'] = $value;
2617
        $this->options['form_params']['Bizid'] = $value;
2618
2619
        return $this;
2620
    }
2621
}
2622
2623
/**
2624
 * @method string getBizid()
2625
 * @method string getBid()
2626
 * @method string getOperation()
2627
 * @method string getUserName()
2628
 */
2629
class ResetUser extends V20180731Rpc
2630
{
2631
2632
    /**
2633
     * @param string $value
2634
     *
2635
     * @return $this
2636
     */
2637
    public function withBizid($value)
2638
    {
2639
        $this->data['Bizid'] = $value;
2640
        $this->options['form_params']['Bizid'] = $value;
2641
2642
        return $this;
2643
    }
2644
2645
    /**
2646
     * @param string $value
2647
     *
2648
     * @return $this
2649
     */
2650
    public function withBid($value)
2651
    {
2652
        $this->data['Bid'] = $value;
2653
        $this->options['form_params']['Bid'] = $value;
2654
2655
        return $this;
2656
    }
2657
2658
    /**
2659
     * @param string $value
2660
     *
2661
     * @return $this
2662
     */
2663
    public function withOperation($value)
2664
    {
2665
        $this->data['Operation'] = $value;
2666
        $this->options['form_params']['Operation'] = $value;
2667
2668
        return $this;
2669
    }
2670
2671
    /**
2672
     * @param string $value
2673
     *
2674
     * @return $this
2675
     */
2676
    public function withUserName($value)
2677
    {
2678
        $this->data['UserName'] = $value;
2679
        $this->options['form_params']['UserName'] = $value;
2680
2681
        return $this;
2682
    }
2683
}
2684
2685
/**
2686
 * @method string getReason()
2687
 * @method string getBizid()
2688
 * @method string getBid()
2689
 * @method string getUserName()
2690
 */
2691
class RejectUser extends V20180731Rpc
2692
{
2693
2694
    /**
2695
     * @param string $value
2696
     *
2697
     * @return $this
2698
     */
2699
    public function withReason($value)
2700
    {
2701
        $this->data['Reason'] = $value;
2702
        $this->options['form_params']['Reason'] = $value;
2703
2704
        return $this;
2705
    }
2706
2707
    /**
2708
     * @param string $value
2709
     *
2710
     * @return $this
2711
     */
2712
    public function withBizid($value)
2713
    {
2714
        $this->data['Bizid'] = $value;
2715
        $this->options['form_params']['Bizid'] = $value;
2716
2717
        return $this;
2718
    }
2719
2720
    /**
2721
     * @param string $value
2722
     *
2723
     * @return $this
2724
     */
2725
    public function withBid($value)
2726
    {
2727
        $this->data['Bid'] = $value;
2728
        $this->options['form_params']['Bid'] = $value;
2729
2730
        return $this;
2731
    }
2732
2733
    /**
2734
     * @param string $value
2735
     *
2736
     * @return $this
2737
     */
2738
    public function withUserName($value)
2739
    {
2740
        $this->data['UserName'] = $value;
2741
        $this->options['form_params']['UserName'] = $value;
2742
2743
        return $this;
2744
    }
2745
}
2746
2747
/**
2748
 * @method string getBizid()
2749
 * @method string getHash()
2750
 */
2751
class QueryTransaction extends V20180731Rpc
2752
{
2753
2754
    /**
2755
     * @param string $value
2756
     *
2757
     * @return $this
2758
     */
2759
    public function withBizid($value)
2760
    {
2761
        $this->data['Bizid'] = $value;
2762
        $this->options['form_params']['Bizid'] = $value;
2763
2764
        return $this;
2765
    }
2766
2767
    /**
2768
     * @param string $value
2769
     *
2770
     * @return $this
2771
     */
2772
    public function withHash($value)
2773
    {
2774
        $this->data['Hash'] = $value;
2775
        $this->options['form_params']['Hash'] = $value;
2776
2777
        return $this;
2778
    }
2779
}
2780
2781
/**
2782
 * @method string getPeriod()
2783
 * @method string getMetric()
2784
 * @method string getPort()
2785
 * @method string getBizid()
2786
 * @method $this withBizid($value)
2787
 * @method string getTimeArea()
2788
 * @method string getInnerIp()
2789
 */
2790
class QueryMetric extends V20180731Rpc
2791
{
2792
2793
    /**
2794
     * @param string $value
2795
     *
2796
     * @return $this
2797
     */
2798
    public function withPeriod($value)
2799
    {
2800
        $this->data['Period'] = $value;
2801
        $this->options['form_params']['Period'] = $value;
2802
2803
        return $this;
2804
    }
2805
2806
    /**
2807
     * @param string $value
2808
     *
2809
     * @return $this
2810
     */
2811
    public function withMetric($value)
2812
    {
2813
        $this->data['Metric'] = $value;
2814
        $this->options['form_params']['Metric'] = $value;
2815
2816
        return $this;
2817
    }
2818
2819
    /**
2820
     * @param string $value
2821
     *
2822
     * @return $this
2823
     */
2824
    public function withPort($value)
2825
    {
2826
        $this->data['Port'] = $value;
2827
        $this->options['form_params']['Port'] = $value;
2828
2829
        return $this;
2830
    }
2831
2832
    /**
2833
     * @param string $value
2834
     *
2835
     * @return $this
2836
     */
2837
    public function withTimeArea($value)
2838
    {
2839
        $this->data['TimeArea'] = $value;
2840
        $this->options['form_params']['TimeArea'] = $value;
2841
2842
        return $this;
2843
    }
2844
2845
    /**
2846
     * @param string $value
2847
     *
2848
     * @return $this
2849
     */
2850
    public function withInnerIp($value)
2851
    {
2852
        $this->data['InnerIp'] = $value;
2853
        $this->options['form_params']['InnerIp'] = $value;
2854
2855
        return $this;
2856
    }
2857
}
2858
2859
/**
2860
 * @method string getBizid()
2861
 * @method string getHeight()
2862
 */
2863
class QueryBlock extends V20180731Rpc
2864
{
2865
2866
    /**
2867
     * @param string $value
2868
     *
2869
     * @return $this
2870
     */
2871
    public function withBizid($value)
2872
    {
2873
        $this->data['Bizid'] = $value;
2874
        $this->options['form_params']['Bizid'] = $value;
2875
2876
        return $this;
2877
    }
2878
2879
    /**
2880
     * @param string $value
2881
     *
2882
     * @return $this
2883
     */
2884
    public function withHeight($value)
2885
    {
2886
        $this->data['Height'] = $value;
2887
        $this->options['form_params']['Height'] = $value;
2888
2889
        return $this;
2890
    }
2891
}
2892
2893
/**
2894
 * @method string getBizid()
2895
 * @method string getBid()
2896
 * @method string getOperation()
2897
 * @method string getUserName()
2898
 */
2899
class OperateUser extends V20180731Rpc
2900
{
2901
2902
    /**
2903
     * @param string $value
2904
     *
2905
     * @return $this
2906
     */
2907
    public function withBizid($value)
2908
    {
2909
        $this->data['Bizid'] = $value;
2910
        $this->options['form_params']['Bizid'] = $value;
2911
2912
        return $this;
2913
    }
2914
2915
    /**
2916
     * @param string $value
2917
     *
2918
     * @return $this
2919
     */
2920
    public function withBid($value)
2921
    {
2922
        $this->data['Bid'] = $value;
2923
        $this->options['form_params']['Bid'] = $value;
2924
2925
        return $this;
2926
    }
2927
2928
    /**
2929
     * @param string $value
2930
     *
2931
     * @return $this
2932
     */
2933
    public function withOperation($value)
2934
    {
2935
        $this->data['Operation'] = $value;
2936
        $this->options['form_params']['Operation'] = $value;
2937
2938
        return $this;
2939
    }
2940
2941
    /**
2942
     * @param string $value
2943
     *
2944
     * @return $this
2945
     */
2946
    public function withUserName($value)
2947
    {
2948
        $this->data['UserName'] = $value;
2949
        $this->options['form_params']['UserName'] = $value;
2950
2951
        return $this;
2952
    }
2953
}
2954
2955
/**
2956
 * @method string getBizid()
2957
 * @method string getBid()
2958
 * @method string getUserId()
2959
 * @method string getUserEmail()
2960
 */
2961
class InviteUser extends V20180731Rpc
2962
{
2963
2964
    /**
2965
     * @param string $value
2966
     *
2967
     * @return $this
2968
     */
2969
    public function withBizid($value)
2970
    {
2971
        $this->data['Bizid'] = $value;
2972
        $this->options['form_params']['Bizid'] = $value;
2973
2974
        return $this;
2975
    }
2976
2977
    /**
2978
     * @param string $value
2979
     *
2980
     * @return $this
2981
     */
2982
    public function withBid($value)
2983
    {
2984
        $this->data['Bid'] = $value;
2985
        $this->options['form_params']['Bid'] = $value;
2986
2987
        return $this;
2988
    }
2989
2990
    /**
2991
     * @param string $value
2992
     *
2993
     * @return $this
2994
     */
2995
    public function withUserId($value)
2996
    {
2997
        $this->data['UserId'] = $value;
2998
        $this->options['form_params']['UserId'] = $value;
2999
3000
        return $this;
3001
    }
3002
3003
    /**
3004
     * @param string $value
3005
     *
3006
     * @return $this
3007
     */
3008
    public function withUserEmail($value)
3009
    {
3010
        $this->data['UserEmail'] = $value;
3011
        $this->options['form_params']['UserEmail'] = $value;
3012
3013
        return $this;
3014
    }
3015
}
3016
3017
class GetTemplates extends V20180731Rpc
3018
{
3019
}
3020
3021
class GetMySuccessApplies extends V20180731Rpc
3022
{
3023
}
3024
3025
class GetMyBlockchains extends V20180731Rpc
3026
{
3027
}
3028
3029
/**
3030
 * @method string getBizid()
3031
 */
3032
class GetBlockchainInfo extends V20180731Rpc
3033
{
3034
3035
    /**
3036
     * @param string $value
3037
     *
3038
     * @return $this
3039
     */
3040
    public function withBizid($value)
3041
    {
3042
        $this->data['Bizid'] = $value;
3043
        $this->options['form_params']['Bizid'] = $value;
3044
3045
        return $this;
3046
    }
3047
}
3048
3049
/**
3050
 * @method string getBizid()
3051
 */
3052
class GetBcSchema extends V20180731Rpc
3053
{
3054
3055
    /**
3056
     * @param string $value
3057
     *
3058
     * @return $this
3059
     */
3060
    public function withBizid($value)
3061
    {
3062
        $this->data['Bizid'] = $value;
3063
        $this->options['form_params']['Bizid'] = $value;
3064
3065
        return $this;
3066
    }
3067
}
3068
3069
/**
3070
 * @method string getCurrent()
3071
 * @method string getBizid()
3072
 * @method string getPageSize()
3073
 * @method string getStatus()
3074
 */
3075
class GetApplies extends V20180731Rpc
3076
{
3077
3078
    /**
3079
     * @param string $value
3080
     *
3081
     * @return $this
3082
     */
3083
    public function withCurrent($value)
3084
    {
3085
        $this->data['Current'] = $value;
3086
        $this->options['form_params']['Current'] = $value;
3087
3088
        return $this;
3089
    }
3090
3091
    /**
3092
     * @param string $value
3093
     *
3094
     * @return $this
3095
     */
3096
    public function withBizid($value)
3097
    {
3098
        $this->data['Bizid'] = $value;
3099
        $this->options['form_params']['Bizid'] = $value;
3100
3101
        return $this;
3102
    }
3103
3104
    /**
3105
     * @param string $value
3106
     *
3107
     * @return $this
3108
     */
3109
    public function withPageSize($value)
3110
    {
3111
        $this->data['PageSize'] = $value;
3112
        $this->options['form_params']['PageSize'] = $value;
3113
3114
        return $this;
3115
    }
3116
3117
    /**
3118
     * @param string $value
3119
     *
3120
     * @return $this
3121
     */
3122
    public function withStatus($value)
3123
    {
3124
        $this->data['Status'] = $value;
3125
        $this->options['form_params']['Status'] = $value;
3126
3127
        return $this;
3128
    }
3129
}
3130
3131
/**
3132
 * @method string getPath()
3133
 * @method string getBizid()
3134
 */
3135
class DownloadSignedData extends V20180731Rpc
3136
{
3137
3138
    /**
3139
     * @param string $value
3140
     *
3141
     * @return $this
3142
     */
3143
    public function withPath($value)
3144
    {
3145
        $this->data['Path'] = $value;
3146
        $this->options['form_params']['Path'] = $value;
3147
3148
        return $this;
3149
    }
3150
3151
    /**
3152
     * @param string $value
3153
     *
3154
     * @return $this
3155
     */
3156
    public function withBizid($value)
3157
    {
3158
        $this->data['Bizid'] = $value;
3159
        $this->options['form_params']['Bizid'] = $value;
3160
3161
        return $this;
3162
    }
3163
}
3164
3165
/**
3166
 * @method string getBizid()
3167
 */
3168
class DownloadSdk extends V20180731Rpc
3169
{
3170
3171
    /**
3172
     * @param string $value
3173
     *
3174
     * @return $this
3175
     */
3176
    public function withBizid($value)
3177
    {
3178
        $this->data['Bizid'] = $value;
3179
        $this->options['form_params']['Bizid'] = $value;
3180
3181
        return $this;
3182
    }
3183
}
3184
3185
/**
3186
 * @method string getBizid()
3187
 */
3188
class DownloadBizview extends V20180731Rpc
3189
{
3190
3191
    /**
3192
     * @param string $value
3193
     *
3194
     * @return $this
3195
     */
3196
    public function withBizid($value)
3197
    {
3198
        $this->data['Bizid'] = $value;
3199
        $this->options['form_params']['Bizid'] = $value;
3200
3201
        return $this;
3202
    }
3203
}
3204
3205
/**
3206
 * @method string getSize()
3207
 * @method string getMachineNum()
3208
 * @method string getLiveTime()
3209
 * @method string getBizid()
3210
 */
3211
class CreateBlockchainApply extends V20180731Rpc
3212
{
3213
3214
    /**
3215
     * @param string $value
3216
     *
3217
     * @return $this
3218
     */
3219
    public function withSize($value)
3220
    {
3221
        $this->data['Size'] = $value;
3222
        $this->options['form_params']['Size'] = $value;
3223
3224
        return $this;
3225
    }
3226
3227
    /**
3228
     * @param string $value
3229
     *
3230
     * @return $this
3231
     */
3232
    public function withMachineNum($value)
3233
    {
3234
        $this->data['MachineNum'] = $value;
3235
        $this->options['form_params']['MachineNum'] = $value;
3236
3237
        return $this;
3238
    }
3239
3240
    /**
3241
     * @param string $value
3242
     *
3243
     * @return $this
3244
     */
3245
    public function withLiveTime($value)
3246
    {
3247
        $this->data['LiveTime'] = $value;
3248
        $this->options['form_params']['LiveTime'] = $value;
3249
3250
        return $this;
3251
    }
3252
3253
    /**
3254
     * @param string $value
3255
     *
3256
     * @return $this
3257
     */
3258
    public function withBizid($value)
3259
    {
3260
        $this->data['Bizid'] = $value;
3261
        $this->options['form_params']['Bizid'] = $value;
3262
3263
        return $this;
3264
    }
3265
}
3266
3267
/**
3268
 * @method string getBlockchain()
3269
 * @method string getAccountPubKey()
3270
 * @method string getUploadReq()
3271
 * @method string getAccountRecoverPubKey()
3272
 * @method string getAccount()
3273
 */
3274
class ApplyBlockchain extends V20180731Rpc
3275
{
3276
3277
    /**
3278
     * @param string $value
3279
     *
3280
     * @return $this
3281
     */
3282
    public function withBlockchain($value)
3283
    {
3284
        $this->data['Blockchain'] = $value;
3285
        $this->options['form_params']['Blockchain'] = $value;
3286
3287
        return $this;
3288
    }
3289
3290
    /**
3291
     * @param string $value
3292
     *
3293
     * @return $this
3294
     */
3295
    public function withAccountPubKey($value)
3296
    {
3297
        $this->data['AccountPubKey'] = $value;
3298
        $this->options['form_params']['AccountPubKey'] = $value;
3299
3300
        return $this;
3301
    }
3302
3303
    /**
3304
     * @param string $value
3305
     *
3306
     * @return $this
3307
     */
3308
    public function withUploadReq($value)
3309
    {
3310
        $this->data['UploadReq'] = $value;
3311
        $this->options['form_params']['UploadReq'] = $value;
3312
3313
        return $this;
3314
    }
3315
3316
    /**
3317
     * @param string $value
3318
     *
3319
     * @return $this
3320
     */
3321
    public function withAccountRecoverPubKey($value)
3322
    {
3323
        $this->data['AccountRecoverPubKey'] = $value;
3324
        $this->options['form_params']['AccountRecoverPubKey'] = $value;
3325
3326
        return $this;
3327
    }
3328
3329
    /**
3330
     * @param string $value
3331
     *
3332
     * @return $this
3333
     */
3334
    public function withAccount($value)
3335
    {
3336
        $this->data['Account'] = $value;
3337
        $this->options['form_params']['Account'] = $value;
3338
3339
        return $this;
3340
    }
3341
}
3342
3343
/**
3344
 * @method string getOrganizationId()
3345
 * @method $this withOrganizationId($value)
3346
 * @method string getLocation()
3347
 */
3348
class DescribeOrganizationDeletable extends V20180731Rpc
3349
{
3350
3351
    /**
3352
     * @param string $value
3353
     *
3354
     * @return $this
3355
     */
3356
    public function withLocation($value)
3357
    {
3358
        $this->data['Location'] = $value;
3359
        $this->options['form_params']['Location'] = $value;
3360
3361
        return $this;
3362
    }
3363
}
3364
3365
/**
3366
 * @method string getLocation()
3367
 * @method string getConsortiumId()
3368
 * @method $this withConsortiumId($value)
3369
 */
3370
class DescribeConsortiumDeletable extends V20180731Rpc
3371
{
3372
3373
    /** @var string */
3374
    public $method = 'PUT';
3375
3376
    /**
3377
     * @param string $value
3378
     *
3379
     * @return $this
3380
     */
3381
    public function withLocation($value)
3382
    {
3383
        $this->data['Location'] = $value;
3384
        $this->options['form_params']['Location'] = $value;
3385
3386
        return $this;
3387
    }
3388
}
3389
3390
/**
3391
 * @method string getLocation()
3392
 * @method string getConsortiumId()
3393
 * @method $this withConsortiumId($value)
3394
 */
3395
class QueryConsortiumDeletable extends V20180731Rpc
3396
{
3397
3398
    /** @var string */
3399
    public $method = 'PUT';
3400
3401
    /**
3402
     * @param string $value
3403
     *
3404
     * @return $this
3405
     */
3406
    public function withLocation($value)
3407
    {
3408
        $this->data['Location'] = $value;
3409
        $this->options['form_params']['Location'] = $value;
3410
3411
        return $this;
3412
    }
3413
}
3414
3415
/**
3416
 * @method string getOrganizationId()
3417
 * @method $this withOrganizationId($value)
3418
 * @method string getLocation()
3419
 */
3420
class QueryOrganizationDeletable extends V20180731Rpc
3421
{
3422
3423
    /**
3424
     * @param string $value
3425
     *
3426
     * @return $this
3427
     */
3428
    public function withLocation($value)
3429
    {
3430
        $this->data['Location'] = $value;
3431
        $this->options['form_params']['Location'] = $value;
3432
3433
        return $this;
3434
    }
3435
}
3436
3437
/**
3438
 * @method string getChaincodeId()
3439
 */
3440
class DeleteChaincode extends V20180731Rpc
3441
{
3442
3443
    /**
3444
     * @param string $value
3445
     *
3446
     * @return $this
3447
     */
3448
    public function withChaincodeId($value)
3449
    {
3450
        $this->data['ChaincodeId'] = $value;
3451
        $this->options['form_params']['ChaincodeId'] = $value;
3452
3453
        return $this;
3454
    }
3455
}
3456
3457
/**
3458
 * @method string getOrganizationId()
3459
 * @method string getExBody()
3460
 * @method $this withExBody($value)
3461
 * @method string getExUrl()
3462
 * @method $this withExUrl($value)
3463
 * @method string getExMethod()
3464
 * @method $this withExMethod($value)
3465
 */
3466
class DescribeExplorer extends V20180731Rpc
3467
{
3468
3469
    /** @var string */
3470
    public $method = 'PUT';
3471
3472
    /**
3473
     * @param string $value
3474
     *
3475
     * @return $this
3476
     */
3477
    public function withOrganizationId($value)
3478
    {
3479
        $this->data['OrganizationId'] = $value;
3480
        $this->options['form_params']['OrganizationId'] = $value;
3481
3482
        return $this;
3483
    }
3484
}
3485
3486
/**
3487
 * @method string getOrganizationId()
3488
 */
3489
class DestroyOrganization extends V20180731Rpc
3490
{
3491
3492
    /** @var string */
3493
    public $method = 'PUT';
3494
3495
    /**
3496
     * @param string $value
3497
     *
3498
     * @return $this
3499
     */
3500
    public function withOrganizationId($value)
3501
    {
3502
        $this->data['OrganizationId'] = $value;
3503
        $this->options['form_params']['OrganizationId'] = $value;
3504
3505
        return $this;
3506
    }
3507
}
3508
3509
/**
3510
 * @method string getConsortiumId()
3511
 */
3512
class DestroyConsortium extends V20180731Rpc
3513
{
3514
3515
    /** @var string */
3516
    public $method = 'PUT';
3517
3518
    /**
3519
     * @param string $value
3520
     *
3521
     * @return $this
3522
     */
3523
    public function withConsortiumId($value)
3524
    {
3525
        $this->data['ConsortiumId'] = $value;
3526
        $this->options['form_params']['ConsortiumId'] = $value;
3527
3528
        return $this;
3529
    }
3530
}
3531
3532
/**
3533
 * @method string getOrganizationId()
3534
 * @method $this withOrganizationId($value)
3535
 * @method string getLocation()
3536
 * @method string getUsername()
3537
 * @method $this withUsername($value)
3538
 */
3539
class DownloadOrganizationSDK extends V20180731Rpc
3540
{
3541
3542
    /**
3543
     * @param string $value
3544
     *
3545
     * @return $this
3546
     */
3547
    public function withLocation($value)
3548
    {
3549
        $this->data['Location'] = $value;
3550
        $this->options['form_params']['Location'] = $value;
3551
3552
        return $this;
3553
    }
3554
}
3555
3556
/**
3557
 * @method string getOrganizationId()
3558
 * @method string getChaincodeId()
3559
 */
3560
class SynchronizeChaincode extends V20180731Rpc
3561
{
3562
3563
    /** @var string */
3564
    public $method = 'PUT';
3565
3566
    /**
3567
     * @param string $value
3568
     *
3569
     * @return $this
3570
     */
3571
    public function withOrganizationId($value)
3572
    {
3573
        $this->data['OrganizationId'] = $value;
3574
        $this->options['form_params']['OrganizationId'] = $value;
3575
3576
        return $this;
3577
    }
3578
3579
    /**
3580
     * @param string $value
3581
     *
3582
     * @return $this
3583
     */
3584
    public function withChaincodeId($value)
3585
    {
3586
        $this->data['ChaincodeId'] = $value;
3587
        $this->options['form_params']['ChaincodeId'] = $value;
3588
3589
        return $this;
3590
    }
3591
}
3592
3593
/**
3594
 * @method string getOrganizationId()
3595
 * @method string getPassword()
3596
 * @method string getLocation()
3597
 * @method string getUsername()
3598
 */
3599
class ResetOrganizationUserPassword extends V20180731Rpc
3600
{
3601
3602
    /**
3603
     * @param string $value
3604
     *
3605
     * @return $this
3606
     */
3607
    public function withOrganizationId($value)
3608
    {
3609
        $this->data['OrganizationId'] = $value;
3610
        $this->options['form_params']['OrganizationId'] = $value;
3611
3612
        return $this;
3613
    }
3614
3615
    /**
3616
     * @param string $value
3617
     *
3618
     * @return $this
3619
     */
3620
    public function withPassword($value)
3621
    {
3622
        $this->data['Password'] = $value;
3623
        $this->options['form_params']['Password'] = $value;
3624
3625
        return $this;
3626
    }
3627
3628
    /**
3629
     * @param string $value
3630
     *
3631
     * @return $this
3632
     */
3633
    public function withLocation($value)
3634
    {
3635
        $this->data['Location'] = $value;
3636
        $this->options['form_params']['Location'] = $value;
3637
3638
        return $this;
3639
    }
3640
3641
    /**
3642
     * @param string $value
3643
     *
3644
     * @return $this
3645
     */
3646
    public function withUsername($value)
3647
    {
3648
        $this->data['Username'] = $value;
3649
        $this->options['form_params']['Username'] = $value;
3650
3651
        return $this;
3652
    }
3653
}
3654
3655
/**
3656
 * @method string getConsortiumId()
3657
 */
3658
class DescribeInvitationCode extends V20180731Rpc
3659
{
3660
3661
    /**
3662
     * @param string $value
3663
     *
3664
     * @return $this
3665
     */
3666
    public function withConsortiumId($value)
3667
    {
3668
        $this->data['ConsortiumId'] = $value;
3669
        $this->options['form_params']['ConsortiumId'] = $value;
3670
3671
        return $this;
3672
    }
3673
}
3674
3675
/**
3676
 * @method string getDomainCode()
3677
 * @method string getDomain()
3678
 */
3679
class CheckOrganizationDomain extends V20180731Rpc
3680
{
3681
3682
    /**
3683
     * @param string $value
3684
     *
3685
     * @return $this
3686
     */
3687
    public function withDomainCode($value)
3688
    {
3689
        $this->data['DomainCode'] = $value;
3690
        $this->options['form_params']['DomainCode'] = $value;
3691
3692
        return $this;
3693
    }
3694
3695
    /**
3696
     * @param string $value
3697
     *
3698
     * @return $this
3699
     */
3700
    public function withDomain($value)
3701
    {
3702
        $this->data['Domain'] = $value;
3703
        $this->options['form_params']['Domain'] = $value;
3704
3705
        return $this;
3706
    }
3707
}
3708
3709
/**
3710
 * @method string getDomainCode()
3711
 */
3712
class CheckConsortiumDomain extends V20180731Rpc
3713
{
3714
3715
    /**
3716
     * @param string $value
3717
     *
3718
     * @return $this
3719
     */
3720
    public function withDomainCode($value)
3721
    {
3722
        $this->data['DomainCode'] = $value;
3723
        $this->options['form_params']['DomainCode'] = $value;
3724
3725
        return $this;
3726
    }
3727
}
3728
3729
class DescribeRootDomain extends V20180731Rpc
3730
{
3731
}
3732
3733
class DescribeOrganizationSpecs extends V20180731Rpc
3734
{
3735
}
3736
3737
class DescribeEcosphereSpecs extends V20180731Rpc
3738
{
3739
}
3740
3741
class DescribeConsortiumSpecs extends V20180731Rpc
3742
{
3743
}
3744
3745
/**
3746
 * @method string getLocation()
3747
 * @method string getConsortiumId()
3748
 */
3749
class DescribeConsortiumOrderers extends V20180731Rpc
3750
{
3751
3752
    /**
3753
     * @param string $value
3754
     *
3755
     * @return $this
3756
     */
3757
    public function withLocation($value)
3758
    {
3759
        $this->data['Location'] = $value;
3760
        $this->options['form_params']['Location'] = $value;
3761
3762
        return $this;
3763
    }
3764
3765
    /**
3766
     * @param string $value
3767
     *
3768
     * @return $this
3769
     */
3770
    public function withConsortiumId($value)
3771
    {
3772
        $this->data['ConsortiumId'] = $value;
3773
        $this->options['form_params']['ConsortiumId'] = $value;
3774
3775
        return $this;
3776
    }
3777
}
3778
3779
class DescribeConsortiumConfig extends V20180731Rpc
3780
{
3781
}
3782
3783
class DescribeTasks extends V20180731Rpc
3784
{
3785
}
3786
3787
/**
3788
 * @method string getOrganizationId()
3789
 * @method string getPassword()
3790
 * @method string getUsername()
3791
 * @method string getAttrs()
3792
 */
3793
class CreateOrganizationUser extends V20180731Rpc
3794
{
3795
3796
    /**
3797
     * @param string $value
3798
     *
3799
     * @return $this
3800
     */
3801
    public function withOrganizationId($value)
3802
    {
3803
        $this->data['OrganizationId'] = $value;
3804
        $this->options['form_params']['OrganizationId'] = $value;
3805
3806
        return $this;
3807
    }
3808
3809
    /**
3810
     * @param string $value
3811
     *
3812
     * @return $this
3813
     */
3814
    public function withPassword($value)
3815
    {
3816
        $this->data['Password'] = $value;
3817
        $this->options['form_params']['Password'] = $value;
3818
3819
        return $this;
3820
    }
3821
3822
    /**
3823
     * @param string $value
3824
     *
3825
     * @return $this
3826
     */
3827
    public function withUsername($value)
3828
    {
3829
        $this->data['Username'] = $value;
3830
        $this->options['form_params']['Username'] = $value;
3831
3832
        return $this;
3833
    }
3834
3835
    /**
3836
     * @param string $value
3837
     *
3838
     * @return $this
3839
     */
3840
    public function withAttrs($value)
3841
    {
3842
        $this->data['Attrs'] = $value;
3843
        $this->options['form_params']['Attrs'] = $value;
3844
3845
        return $this;
3846
    }
3847
}
3848
3849
/**
3850
 * @method string getOrderersCount()
3851
 * @method string getConsortiumName()
3852
 * @method string getSpecName()
3853
 * @method string getDescription()
3854
 * @method string getChannelPolicy()
3855
 * @method string getDuration()
3856
 * @method array getOrganization()
3857
 * @method string getZoneId()
3858
 * @method string getOrdererType()
3859
 * @method string getOrdererDomain()
3860
 * @method string getLocation()
3861
 * @method string getPeersCount()
3862
 * @method string getPricingCycle()
3863
 */
3864
class CreateEcosphere extends V20180731Rpc
3865
{
3866
3867
    /** @var string */
3868
    public $method = 'PUT';
3869
3870
    /**
3871
     * @param string $value
3872
     *
3873
     * @return $this
3874
     */
3875
    public function withOrderersCount($value)
3876
    {
3877
        $this->data['OrderersCount'] = $value;
3878
        $this->options['form_params']['OrderersCount'] = $value;
3879
3880
        return $this;
3881
    }
3882
3883
    /**
3884
     * @param string $value
3885
     *
3886
     * @return $this
3887
     */
3888
    public function withConsortiumName($value)
3889
    {
3890
        $this->data['ConsortiumName'] = $value;
3891
        $this->options['form_params']['ConsortiumName'] = $value;
3892
3893
        return $this;
3894
    }
3895
3896
    /**
3897
     * @param string $value
3898
     *
3899
     * @return $this
3900
     */
3901
    public function withSpecName($value)
3902
    {
3903
        $this->data['SpecName'] = $value;
3904
        $this->options['form_params']['SpecName'] = $value;
3905
3906
        return $this;
3907
    }
3908
3909
    /**
3910
     * @param string $value
3911
     *
3912
     * @return $this
3913
     */
3914
    public function withDescription($value)
3915
    {
3916
        $this->data['Description'] = $value;
3917
        $this->options['form_params']['Description'] = $value;
3918
3919
        return $this;
3920
    }
3921
3922
    /**
3923
     * @param string $value
3924
     *
3925
     * @return $this
3926
     */
3927
    public function withChannelPolicy($value)
3928
    {
3929
        $this->data['ChannelPolicy'] = $value;
3930
        $this->options['form_params']['ChannelPolicy'] = $value;
3931
3932
        return $this;
3933
    }
3934
3935
    /**
3936
     * @param string $value
3937
     *
3938
     * @return $this
3939
     */
3940
    public function withDuration($value)
3941
    {
3942
        $this->data['Duration'] = $value;
3943
        $this->options['form_params']['Duration'] = $value;
3944
3945
        return $this;
3946
    }
3947
3948
    /**
3949
     * @param array $organization
3950
     *
3951
     * @return $this
3952
     */
3953
    public function withOrganization(array $organization)
3954
    {
3955
        $this->data['Organization'] = $organization;
3956
        foreach ($organization as $depth1 => $depth1Value) {
3957
            $this->options['form_params']['Organization.' . ($depth1 + 1) . '.Domain'] = $depth1Value['Domain'];
3958
            $this->options['form_params']['Organization.' . ($depth1 + 1) . '.Name'] = $depth1Value['Name'];
3959
            $this->options['form_params']['Organization.' . ($depth1 + 1) . '.Description'] = $depth1Value['Description'];
3960
        }
3961
3962
        return $this;
3963
    }
3964
3965
    /**
3966
     * @param string $value
3967
     *
3968
     * @return $this
3969
     */
3970
    public function withZoneId($value)
3971
    {
3972
        $this->data['ZoneId'] = $value;
3973
        $this->options['form_params']['ZoneId'] = $value;
3974
3975
        return $this;
3976
    }
3977
3978
    /**
3979
     * @param string $value
3980
     *
3981
     * @return $this
3982
     */
3983
    public function withOrdererType($value)
3984
    {
3985
        $this->data['OrdererType'] = $value;
3986
        $this->options['form_params']['OrdererType'] = $value;
3987
3988
        return $this;
3989
    }
3990
3991
    /**
3992
     * @param string $value
3993
     *
3994
     * @return $this
3995
     */
3996
    public function withOrdererDomain($value)
3997
    {
3998
        $this->data['OrdererDomain'] = $value;
3999
        $this->options['form_params']['OrdererDomain'] = $value;
4000
4001
        return $this;
4002
    }
4003
4004
    /**
4005
     * @param string $value
4006
     *
4007
     * @return $this
4008
     */
4009
    public function withLocation($value)
4010
    {
4011
        $this->data['Location'] = $value;
4012
        $this->options['form_params']['Location'] = $value;
4013
4014
        return $this;
4015
    }
4016
4017
    /**
4018
     * @param string $value
4019
     *
4020
     * @return $this
4021
     */
4022
    public function withPeersCount($value)
4023
    {
4024
        $this->data['PeersCount'] = $value;
4025
        $this->options['form_params']['PeersCount'] = $value;
4026
4027
        return $this;
4028
    }
4029
4030
    /**
4031
     * @param string $value
4032
     *
4033
     * @return $this
4034
     */
4035
    public function withPricingCycle($value)
4036
    {
4037
        $this->data['PricingCycle'] = $value;
4038
        $this->options['form_params']['PricingCycle'] = $value;
4039
4040
        return $this;
4041
    }
4042
}
4043
4044
/**
4045
 * @method string getOrderersCount()
4046
 * @method string getSpecName()
4047
 * @method string getDescription()
4048
 * @method string getChannelPolicy()
4049
 * @method string getDuration()
4050
 * @method string getDomain()
4051
 * @method array getOrganization()
4052
 * @method string getName()
4053
 * @method string getOrdererType()
4054
 * @method string getZoneId()
4055
 * @method string getLocation()
4056
 * @method string getPeersCount()
4057
 * @method string getPricingCycle()
4058
 */
4059
class CreateConsortium extends V20180731Rpc
4060
{
4061
4062
    /**
4063
     * @param string $value
4064
     *
4065
     * @return $this
4066
     */
4067
    public function withOrderersCount($value)
4068
    {
4069
        $this->data['OrderersCount'] = $value;
4070
        $this->options['form_params']['OrderersCount'] = $value;
4071
4072
        return $this;
4073
    }
4074
4075
    /**
4076
     * @param string $value
4077
     *
4078
     * @return $this
4079
     */
4080
    public function withSpecName($value)
4081
    {
4082
        $this->data['SpecName'] = $value;
4083
        $this->options['form_params']['SpecName'] = $value;
4084
4085
        return $this;
4086
    }
4087
4088
    /**
4089
     * @param string $value
4090
     *
4091
     * @return $this
4092
     */
4093
    public function withDescription($value)
4094
    {
4095
        $this->data['Description'] = $value;
4096
        $this->options['form_params']['Description'] = $value;
4097
4098
        return $this;
4099
    }
4100
4101
    /**
4102
     * @param string $value
4103
     *
4104
     * @return $this
4105
     */
4106
    public function withChannelPolicy($value)
4107
    {
4108
        $this->data['ChannelPolicy'] = $value;
4109
        $this->options['form_params']['ChannelPolicy'] = $value;
4110
4111
        return $this;
4112
    }
4113
4114
    /**
4115
     * @param string $value
4116
     *
4117
     * @return $this
4118
     */
4119
    public function withDuration($value)
4120
    {
4121
        $this->data['Duration'] = $value;
4122
        $this->options['form_params']['Duration'] = $value;
4123
4124
        return $this;
4125
    }
4126
4127
    /**
4128
     * @param string $value
4129
     *
4130
     * @return $this
4131
     */
4132
    public function withDomain($value)
4133
    {
4134
        $this->data['Domain'] = $value;
4135
        $this->options['form_params']['Domain'] = $value;
4136
4137
        return $this;
4138
    }
4139
4140
    /**
4141
     * @param array $organization
4142
     *
4143
     * @return $this
4144
     */
4145
    public function withOrganization(array $organization)
4146
    {
4147
        $this->data['Organization'] = $organization;
4148
        foreach ($organization as $depth1 => $depth1Value) {
4149
            $this->options['form_params']['Organization.' . ($depth1 + 1) . '.Id'] = $depth1Value['Id'];
4150
        }
4151
4152
        return $this;
4153
    }
4154
4155
    /**
4156
     * @param string $value
4157
     *
4158
     * @return $this
4159
     */
4160
    public function withName($value)
4161
    {
4162
        $this->data['Name'] = $value;
4163
        $this->options['form_params']['Name'] = $value;
4164
4165
        return $this;
4166
    }
4167
4168
    /**
4169
     * @param string $value
4170
     *
4171
     * @return $this
4172
     */
4173
    public function withOrdererType($value)
4174
    {
4175
        $this->data['OrdererType'] = $value;
4176
        $this->options['form_params']['OrdererType'] = $value;
4177
4178
        return $this;
4179
    }
4180
4181
    /**
4182
     * @param string $value
4183
     *
4184
     * @return $this
4185
     */
4186
    public function withZoneId($value)
4187
    {
4188
        $this->data['ZoneId'] = $value;
4189
        $this->options['form_params']['ZoneId'] = $value;
4190
4191
        return $this;
4192
    }
4193
4194
    /**
4195
     * @param string $value
4196
     *
4197
     * @return $this
4198
     */
4199
    public function withLocation($value)
4200
    {
4201
        $this->data['Location'] = $value;
4202
        $this->options['form_params']['Location'] = $value;
4203
4204
        return $this;
4205
    }
4206
4207
    /**
4208
     * @param string $value
4209
     *
4210
     * @return $this
4211
     */
4212
    public function withPeersCount($value)
4213
    {
4214
        $this->data['PeersCount'] = $value;
4215
        $this->options['form_params']['PeersCount'] = $value;
4216
4217
        return $this;
4218
    }
4219
4220
    /**
4221
     * @param string $value
4222
     *
4223
     * @return $this
4224
     */
4225
    public function withPricingCycle($value)
4226
    {
4227
        $this->data['PricingCycle'] = $value;
4228
        $this->options['form_params']['PricingCycle'] = $value;
4229
4230
        return $this;
4231
    }
4232
}
4233
4234
/**
4235
 * @method string getOrganizationId()
4236
 * @method string getUsername()
4237
 */
4238
class DescribeOrganizationUserCerts extends V20180731Rpc
4239
{
4240
4241
    /** @var string */
4242
    public $method = 'PUT';
4243
4244
    /**
4245
     * @param string $value
4246
     *
4247
     * @return $this
4248
     */
4249
    public function withOrganizationId($value)
4250
    {
4251
        $this->data['OrganizationId'] = $value;
4252
        $this->options['form_params']['OrganizationId'] = $value;
4253
4254
        return $this;
4255
    }
4256
4257
    /**
4258
     * @param string $value
4259
     *
4260
     * @return $this
4261
     */
4262
    public function withUsername($value)
4263
    {
4264
        $this->data['Username'] = $value;
4265
        $this->options['form_params']['Username'] = $value;
4266
4267
        return $this;
4268
    }
4269
}
4270
4271
/**
4272
 * @method string getLocation()
4273
 */
4274
class DescribeOrganizations extends V20180731Rpc
4275
{
4276
4277
    /** @var string */
4278
    public $method = 'PUT';
4279
4280
    /**
4281
     * @param string $value
4282
     *
4283
     * @return $this
4284
     */
4285
    public function withLocation($value)
4286
    {
4287
        $this->data['Location'] = $value;
4288
        $this->options['form_params']['Location'] = $value;
4289
4290
        return $this;
4291
    }
4292
}
4293
4294
/**
4295
 * @method string getDuration()
4296
 * @method $this withDuration($value)
4297
 * @method string getDomain()
4298
 * @method $this withDomain($value)
4299
 * @method string getSpecName()
4300
 * @method $this withSpecName($value)
4301
 * @method string getName()
4302
 * @method $this withName($value)
4303
 * @method string getDescription()
4304
 * @method $this withDescription($value)
4305
 * @method string getLocation()
4306
 * @method $this withLocation($value)
4307
 * @method string getPeersCount()
4308
 * @method $this withPeersCount($value)
4309
 * @method string getPricingCycle()
4310
 * @method $this withPricingCycle($value)
4311
 */
4312
class CreateOrganization extends V20180731Rpc
4313
{
4314
}
4315
4316
/**
4317
 * @method string getOrganizationId()
4318
 * @method string getLocation()
4319
 */
4320
class DescribeOrganizationChaincodes extends V20180731Rpc
4321
{
4322
4323
    /**
4324
     * @param string $value
4325
     *
4326
     * @return $this
4327
     */
4328
    public function withOrganizationId($value)
4329
    {
4330
        $this->data['OrganizationId'] = $value;
4331
        $this->options['form_params']['OrganizationId'] = $value;
4332
4333
        return $this;
4334
    }
4335
4336
    /**
4337
     * @param string $value
4338
     *
4339
     * @return $this
4340
     */
4341
    public function withLocation($value)
4342
    {
4343
        $this->data['Location'] = $value;
4344
        $this->options['form_params']['Location'] = $value;
4345
4346
        return $this;
4347
    }
4348
}
4349
4350
/**
4351
 * @method string getOrganizationId()
4352
 * @method $this withOrganizationId($value)
4353
 * @method string getLocation()
4354
 */
4355
class DescribeOrganizationChannels extends V20180731Rpc
4356
{
4357
4358
    /** @var string */
4359
    public $method = 'PUT';
4360
4361
    /**
4362
     * @param string $value
4363
     *
4364
     * @return $this
4365
     */
4366
    public function withLocation($value)
4367
    {
4368
        $this->data['Location'] = $value;
4369
        $this->options['form_params']['Location'] = $value;
4370
4371
        return $this;
4372
    }
4373
}
4374
4375
/**
4376
 * @method string getLocation()
4377
 * @method string getConsortiumId()
4378
 * @method $this withConsortiumId($value)
4379
 */
4380
class DescribeConsortiumChannels extends V20180731Rpc
4381
{
4382
4383
    /** @var string */
4384
    public $method = 'PUT';
4385
4386
    /**
4387
     * @param string $value
4388
     *
4389
     * @return $this
4390
     */
4391
    public function withLocation($value)
4392
    {
4393
        $this->data['Location'] = $value;
4394
        $this->options['form_params']['Location'] = $value;
4395
4396
        return $this;
4397
    }
4398
}
4399
4400
/**
4401
 * @method array getOrganization()
4402
 * @method string getChannelName()
4403
 * @method $this withChannelName($value)
4404
 * @method string getConsortiumId()
4405
 * @method $this withConsortiumId($value)
4406
 */
4407
class CreateChannel extends V20180731Rpc
4408
{
4409
4410
    /**
4411
     * @param array $organization
4412
     *
4413
     * @return $this
4414
     */
4415
    public function withOrganization(array $organization)
4416
    {
4417
        $this->data['Organization'] = $organization;
4418
        foreach ($organization as $depth1 => $depth1Value) {
4419
            $this->options['query']['Organization.' . ($depth1 + 1) . '.Id'] = $depth1Value['Id'];
4420
        }
4421
4422
        return $this;
4423
    }
4424
}
4425
4426
/**
4427
 * @method string getChannelId()
4428
 * @method $this withChannelId($value)
4429
 */
4430
class DescribeChannelMembers extends V20180731Rpc
4431
{
4432
}
4433
4434
/**
4435
 * @method string getOrganizationId()
4436
 * @method $this withOrganizationId($value)
4437
 * @method string getLocation()
4438
 */
4439
class DescribeOrganization extends V20180731Rpc
4440
{
4441
4442
    /**
4443
     * @param string $value
4444
     *
4445
     * @return $this
4446
     */
4447
    public function withLocation($value)
4448
    {
4449
        $this->data['Location'] = $value;
4450
        $this->options['form_params']['Location'] = $value;
4451
4452
        return $this;
4453
    }
4454
}
4455
4456
/**
4457
 * @method string getOrganizationId()
4458
 * @method $this withOrganizationId($value)
4459
 * @method string getLocation()
4460
 */
4461
class DescribeOrganizationPeers extends V20180731Rpc
4462
{
4463
4464
    /**
4465
     * @param string $value
4466
     *
4467
     * @return $this
4468
     */
4469
    public function withLocation($value)
4470
    {
4471
        $this->data['Location'] = $value;
4472
        $this->options['form_params']['Location'] = $value;
4473
4474
        return $this;
4475
    }
4476
}
4477
4478
/**
4479
 * @method string getOrganizationId()
4480
 * @method $this withOrganizationId($value)
4481
 * @method string getLocation()
4482
 */
4483
class DescribeOrganizationUsers extends V20180731Rpc
4484
{
4485
4486
    /**
4487
     * @param string $value
4488
     *
4489
     * @return $this
4490
     */
4491
    public function withLocation($value)
4492
    {
4493
        $this->data['Location'] = $value;
4494
        $this->options['form_params']['Location'] = $value;
4495
4496
        return $this;
4497
    }
4498
}
4499
4500
class DescribeRegions extends V20180731Rpc
4501
{
4502
4503
    /** @var string */
4504
    public $method = 'PUT';
4505
}
4506
4507
/**
4508
 * @method array getOrganization()
4509
 * @method string getConsortiumId()
4510
 * @method $this withConsortiumId($value)
4511
 */
4512
class ConfirmConsortiumMember extends V20180731Rpc
4513
{
4514
4515
    /** @var string */
4516
    public $method = 'PUT';
4517
4518
    /**
4519
     * @param array $organization
4520
     *
4521
     * @return $this
4522
     */
4523
    public function withOrganization(array $organization)
4524
    {
4525
        $this->data['Organization'] = $organization;
4526
        foreach ($organization as $depth1 => $depth1Value) {
4527
            $this->options['query']['Organization.' . ($depth1 + 1) . '.Id'] = $depth1Value['Id'];
4528
        }
4529
4530
        return $this;
4531
    }
4532
}
4533
4534
/**
4535
 * @method string getCode()
4536
 * @method $this withCode($value)
4537
 * @method array getOrganization()
4538
 * @method string getConsortiumId()
4539
 * @method $this withConsortiumId($value)
4540
 */
4541
class CreateConsortiumMember extends V20180731Rpc
4542
{
4543
4544
    /**
4545
     * @param array $organization
4546
     *
4547
     * @return $this
4548
     */
4549
    public function withOrganization(array $organization)
4550
    {
4551
        $this->data['Organization'] = $organization;
4552
        foreach ($organization as $depth1 => $depth1Value) {
4553
            $this->options['query']['Organization.' . ($depth1 + 1) . '.Id'] = $depth1Value['Id'];
4554
        }
4555
4556
        return $this;
4557
    }
4558
}
4559
4560
/**
4561
 * @method array getOrganization()
4562
 * @method string getChannelId()
4563
 * @method $this withChannelId($value)
4564
 */
4565
class CreateChannelMember extends V20180731Rpc
4566
{
4567
4568
    /**
4569
     * @param array $organization
4570
     *
4571
     * @return $this
4572
     */
4573
    public function withOrganization(array $organization)
4574
    {
4575
        $this->data['Organization'] = $organization;
4576
        foreach ($organization as $depth1 => $depth1Value) {
4577
            $this->options['query']['Organization.' . ($depth1 + 1) . '.Id'] = $depth1Value['Id'];
4578
        }
4579
4580
        return $this;
4581
    }
4582
}
4583
4584
/**
4585
 * @method string getLocation()
4586
 * @method string getConsortiumId()
4587
 * @method $this withConsortiumId($value)
4588
 */
4589
class DescribeConsortiums extends V20180731Rpc
4590
{
4591
4592
    /** @var string */
4593
    public $method = 'PUT';
4594
4595
    /**
4596
     * @param string $value
4597
     *
4598
     * @return $this
4599
     */
4600
    public function withLocation($value)
4601
    {
4602
        $this->data['Location'] = $value;
4603
        $this->options['form_params']['Location'] = $value;
4604
4605
        return $this;
4606
    }
4607
}
4608
4609
/**
4610
 * @method string getLocation()
4611
 * @method string getDo()
4612
 * @method $this withDo($value)
4613
 * @method string getChannelId()
4614
 * @method $this withChannelId($value)
4615
 */
4616
class JoinChannel extends V20180731Rpc
4617
{
4618
4619
    /**
4620
     * @param string $value
4621
     *
4622
     * @return $this
4623
     */
4624
    public function withLocation($value)
4625
    {
4626
        $this->data['Location'] = $value;
4627
        $this->options['form_params']['Location'] = $value;
4628
4629
        return $this;
4630
    }
4631
}
4632
4633
/**
4634
 * @method string getOrganizationId()
4635
 * @method string getLocation()
4636
 */
4637
class DescribeOrgnaizationChaincodes extends V20180731Rpc
4638
{
4639
4640
    /**
4641
     * @param string $value
4642
     *
4643
     * @return $this
4644
     */
4645
    public function withOrganizationId($value)
4646
    {
4647
        $this->data['OrganizationId'] = $value;
4648
        $this->options['form_params']['OrganizationId'] = $value;
4649
4650
        return $this;
4651
    }
4652
4653
    /**
4654
     * @param string $value
4655
     *
4656
     * @return $this
4657
     */
4658
    public function withLocation($value)
4659
    {
4660
        $this->data['Location'] = $value;
4661
        $this->options['form_params']['Location'] = $value;
4662
4663
        return $this;
4664
    }
4665
}
4666
4667
/**
4668
 * @method string getLocation()
4669
 * @method string getConsortiumId()
4670
 */
4671
class DescribeConsortiumChaincodes extends V20180731Rpc
4672
{
4673
4674
    /**
4675
     * @param string $value
4676
     *
4677
     * @return $this
4678
     */
4679
    public function withLocation($value)
4680
    {
4681
        $this->data['Location'] = $value;
4682
        $this->options['form_params']['Location'] = $value;
4683
4684
        return $this;
4685
    }
4686
4687
    /**
4688
     * @param string $value
4689
     *
4690
     * @return $this
4691
     */
4692
    public function withConsortiumId($value)
4693
    {
4694
        $this->data['ConsortiumId'] = $value;
4695
        $this->options['form_params']['ConsortiumId'] = $value;
4696
4697
        return $this;
4698
    }
4699
}
4700
4701
/**
4702
 * @method string getOrganizationId()
4703
 * @method string getOssBucket()
4704
 * @method string getOssUrl()
4705
 * @method string getEndorsePolicy()
4706
 * @method string getLocation()
4707
 * @method string getChannelId()
4708
 * @method string getConsortiumId()
4709
 */
4710
class CreateChaincode extends V20180731Rpc
4711
{
4712
4713
    /** @var string */
4714
    public $method = 'PUT';
4715
4716
    /**
4717
     * @param string $value
4718
     *
4719
     * @return $this
4720
     */
4721
    public function withOrganizationId($value)
4722
    {
4723
        $this->data['OrganizationId'] = $value;
4724
        $this->options['form_params']['OrganizationId'] = $value;
4725
4726
        return $this;
4727
    }
4728
4729
    /**
4730
     * @param string $value
4731
     *
4732
     * @return $this
4733
     */
4734
    public function withOssBucket($value)
4735
    {
4736
        $this->data['OssBucket'] = $value;
4737
        $this->options['form_params']['OssBucket'] = $value;
4738
4739
        return $this;
4740
    }
4741
4742
    /**
4743
     * @param string $value
4744
     *
4745
     * @return $this
4746
     */
4747
    public function withOssUrl($value)
4748
    {
4749
        $this->data['OssUrl'] = $value;
4750
        $this->options['form_params']['OssUrl'] = $value;
4751
4752
        return $this;
4753
    }
4754
4755
    /**
4756
     * @param string $value
4757
     *
4758
     * @return $this
4759
     */
4760
    public function withEndorsePolicy($value)
4761
    {
4762
        $this->data['EndorsePolicy'] = $value;
4763
        $this->options['form_params']['EndorsePolicy'] = $value;
4764
4765
        return $this;
4766
    }
4767
4768
    /**
4769
     * @param string $value
4770
     *
4771
     * @return $this
4772
     */
4773
    public function withLocation($value)
4774
    {
4775
        $this->data['Location'] = $value;
4776
        $this->options['form_params']['Location'] = $value;
4777
4778
        return $this;
4779
    }
4780
4781
    /**
4782
     * @param string $value
4783
     *
4784
     * @return $this
4785
     */
4786
    public function withChannelId($value)
4787
    {
4788
        $this->data['ChannelId'] = $value;
4789
        $this->options['form_params']['ChannelId'] = $value;
4790
4791
        return $this;
4792
    }
4793
4794
    /**
4795
     * @param string $value
4796
     *
4797
     * @return $this
4798
     */
4799
    public function withConsortiumId($value)
4800
    {
4801
        $this->data['ConsortiumId'] = $value;
4802
        $this->options['form_params']['ConsortiumId'] = $value;
4803
4804
        return $this;
4805
    }
4806
}
4807
4808
/**
4809
 * @method string getOrganizationId()
4810
 * @method string getChaincodeId()
4811
 * @method string getLocation()
4812
 */
4813
class InstallChaincode extends V20180731Rpc
4814
{
4815
4816
    /**
4817
     * @param string $value
4818
     *
4819
     * @return $this
4820
     */
4821
    public function withOrganizationId($value)
4822
    {
4823
        $this->data['OrganizationId'] = $value;
4824
        $this->options['form_params']['OrganizationId'] = $value;
4825
4826
        return $this;
4827
    }
4828
4829
    /**
4830
     * @param string $value
4831
     *
4832
     * @return $this
4833
     */
4834
    public function withChaincodeId($value)
4835
    {
4836
        $this->data['ChaincodeId'] = $value;
4837
        $this->options['form_params']['ChaincodeId'] = $value;
4838
4839
        return $this;
4840
    }
4841
4842
    /**
4843
     * @param string $value
4844
     *
4845
     * @return $this
4846
     */
4847
    public function withLocation($value)
4848
    {
4849
        $this->data['Location'] = $value;
4850
        $this->options['form_params']['Location'] = $value;
4851
4852
        return $this;
4853
    }
4854
}
4855
4856
/**
4857
 * @method string getOrganizationId()
4858
 * @method string getChaincodeId()
4859
 * @method string getCollectionConfig()
4860
 * @method string getEndorsePolicy()
4861
 * @method string getLocation()
4862
 */
4863
class UpgradeChaincode extends V20180731Rpc
4864
{
4865
4866
    /**
4867
     * @param string $value
4868
     *
4869
     * @return $this
4870
     */
4871
    public function withOrganizationId($value)
4872
    {
4873
        $this->data['OrganizationId'] = $value;
4874
        $this->options['form_params']['OrganizationId'] = $value;
4875
4876
        return $this;
4877
    }
4878
4879
    /**
4880
     * @param string $value
4881
     *
4882
     * @return $this
4883
     */
4884
    public function withChaincodeId($value)
4885
    {
4886
        $this->data['ChaincodeId'] = $value;
4887
        $this->options['form_params']['ChaincodeId'] = $value;
4888
4889
        return $this;
4890
    }
4891
4892
    /**
4893
     * @param string $value
4894
     *
4895
     * @return $this
4896
     */
4897
    public function withCollectionConfig($value)
4898
    {
4899
        $this->data['CollectionConfig'] = $value;
4900
        $this->options['form_params']['CollectionConfig'] = $value;
4901
4902
        return $this;
4903
    }
4904
4905
    /**
4906
     * @param string $value
4907
     *
4908
     * @return $this
4909
     */
4910
    public function withEndorsePolicy($value)
4911
    {
4912
        $this->data['EndorsePolicy'] = $value;
4913
        $this->options['form_params']['EndorsePolicy'] = $value;
4914
4915
        return $this;
4916
    }
4917
4918
    /**
4919
     * @param string $value
4920
     *
4921
     * @return $this
4922
     */
4923
    public function withLocation($value)
4924
    {
4925
        $this->data['Location'] = $value;
4926
        $this->options['form_params']['Location'] = $value;
4927
4928
        return $this;
4929
    }
4930
}
4931
4932
/**
4933
 * @method string getOrganizationId()
4934
 * @method string getChaincodeId()
4935
 * @method string getCollectionConfig()
4936
 * @method string getEndorsePolicy()
4937
 * @method string getLocation()
4938
 */
4939
class InstantiateChaincode extends V20180731Rpc
4940
{
4941
4942
    /**
4943
     * @param string $value
4944
     *
4945
     * @return $this
4946
     */
4947
    public function withOrganizationId($value)
4948
    {
4949
        $this->data['OrganizationId'] = $value;
4950
        $this->options['form_params']['OrganizationId'] = $value;
4951
4952
        return $this;
4953
    }
4954
4955
    /**
4956
     * @param string $value
4957
     *
4958
     * @return $this
4959
     */
4960
    public function withChaincodeId($value)
4961
    {
4962
        $this->data['ChaincodeId'] = $value;
4963
        $this->options['form_params']['ChaincodeId'] = $value;
4964
4965
        return $this;
4966
    }
4967
4968
    /**
4969
     * @param string $value
4970
     *
4971
     * @return $this
4972
     */
4973
    public function withCollectionConfig($value)
4974
    {
4975
        $this->data['CollectionConfig'] = $value;
4976
        $this->options['form_params']['CollectionConfig'] = $value;
4977
4978
        return $this;
4979
    }
4980
4981
    /**
4982
     * @param string $value
4983
     *
4984
     * @return $this
4985
     */
4986
    public function withEndorsePolicy($value)
4987
    {
4988
        $this->data['EndorsePolicy'] = $value;
4989
        $this->options['form_params']['EndorsePolicy'] = $value;
4990
4991
        return $this;
4992
    }
4993
4994
    /**
4995
     * @param string $value
4996
     *
4997
     * @return $this
4998
     */
4999
    public function withLocation($value)
5000
    {
5001
        $this->data['Location'] = $value;
5002
        $this->options['form_params']['Location'] = $value;
5003
5004
        return $this;
5005
    }
5006
}
5007
5008
/**
5009
 * @method string getLocation()
5010
 */
5011
class DescribeConsortiumAdminStatus extends V20180731Rpc
5012
{
5013
5014
    /**
5015
     * @param string $value
5016
     *
5017
     * @return $this
5018
     */
5019
    public function withLocation($value)
5020
    {
5021
        $this->data['Location'] = $value;
5022
        $this->options['form_params']['Location'] = $value;
5023
5024
        return $this;
5025
    }
5026
}
5027
5028
/**
5029
 * @method string getOrganizationId()
5030
 */
5031
class DescribeChaincodeUploadPolicy extends V20180731Rpc
5032
{
5033
5034
    /**
5035
     * @param string $value
5036
     *
5037
     * @return $this
5038
     */
5039
    public function withOrganizationId($value)
5040
    {
5041
        $this->data['OrganizationId'] = $value;
5042
        $this->options['form_params']['OrganizationId'] = $value;
5043
5044
        return $this;
5045
    }
5046
}
5047
5048
/**
5049
 * @method string getConsortiumId()
5050
 */
5051
class DescribeInvitationList extends V20180731Rpc
5052
{
5053
5054
    /**
5055
     * @param string $value
5056
     *
5057
     * @return $this
5058
     */
5059
    public function withConsortiumId($value)
5060
    {
5061
        $this->data['ConsortiumId'] = $value;
5062
        $this->options['form_params']['ConsortiumId'] = $value;
5063
5064
        return $this;
5065
    }
5066
}
5067
5068
/**
5069
 * @method string getOrganizationId()
5070
 * @method string getLocation()
5071
 */
5072
class DescribeOrganizationMembers extends V20180731Rpc
5073
{
5074
5075
    /**
5076
     * @param string $value
5077
     *
5078
     * @return $this
5079
     */
5080
    public function withOrganizationId($value)
5081
    {
5082
        $this->data['OrganizationId'] = $value;
5083
        $this->options['form_params']['OrganizationId'] = $value;
5084
5085
        return $this;
5086
    }
5087
5088
    /**
5089
     * @param string $value
5090
     *
5091
     * @return $this
5092
     */
5093
    public function withLocation($value)
5094
    {
5095
        $this->data['Location'] = $value;
5096
        $this->options['form_params']['Location'] = $value;
5097
5098
        return $this;
5099
    }
5100
}
5101
5102
/**
5103
 * @method string getLocation()
5104
 * @method string getConsortiumId()
5105
 */
5106
class DescribeConsortiumMembers extends V20180731Rpc
5107
{
5108
5109
    /**
5110
     * @param string $value
5111
     *
5112
     * @return $this
5113
     */
5114
    public function withLocation($value)
5115
    {
5116
        $this->data['Location'] = $value;
5117
        $this->options['form_params']['Location'] = $value;
5118
5119
        return $this;
5120
    }
5121
5122
    /**
5123
     * @param string $value
5124
     *
5125
     * @return $this
5126
     */
5127
    public function withConsortiumId($value)
5128
    {
5129
        $this->data['ConsortiumId'] = $value;
5130
        $this->options['form_params']['ConsortiumId'] = $value;
5131
5132
        return $this;
5133
    }
5134
}
5135
5136
/**
5137
 * @method string getLocation()
5138
 */
5139
class DescribeCandidateOrganizations extends V20180731Rpc
5140
{
5141
5142
    /**
5143
     * @param string $value
5144
     *
5145
     * @return $this
5146
     */
5147
    public function withLocation($value)
5148
    {
5149
        $this->data['Location'] = $value;
5150
        $this->options['form_params']['Location'] = $value;
5151
5152
        return $this;
5153
    }
5154
}
5155
5156
/**
5157
 * @method string getCode()
5158
 */
5159
class DescribeInviter extends V20180731Rpc
5160
{
5161
5162
    /**
5163
     * @param string $value
5164
     *
5165
     * @return $this
5166
     */
5167
    public function withCode($value)
5168
    {
5169
        $this->data['Code'] = $value;
5170
        $this->options['form_params']['Code'] = $value;
5171
5172
        return $this;
5173
    }
5174
}
5175
5176
/**
5177
 * @method string getLocation()
5178
 * @method string getConsortiumId()
5179
 * @method $this withConsortiumId($value)
5180
 */
5181
class DescribeConsortiumMemberApproval extends V20180731Rpc
5182
{
5183
5184
    /**
5185
     * @param string $value
5186
     *
5187
     * @return $this
5188
     */
5189
    public function withLocation($value)
5190
    {
5191
        $this->data['Location'] = $value;
5192
        $this->options['form_params']['Location'] = $value;
5193
5194
        return $this;
5195
    }
5196
}
5197
5198
/**
5199
 * @method string getCode()
5200
 * @method string getIsAccepted()
5201
 */
5202
class AcceptInvitation extends V20180731Rpc
5203
{
5204
5205
    /** @var string */
5206
    public $method = 'PUT';
5207
5208
    /**
5209
     * @param string $value
5210
     *
5211
     * @return $this
5212
     */
5213
    public function withCode($value)
5214
    {
5215
        $this->data['Code'] = $value;
5216
        $this->options['form_params']['Code'] = $value;
5217
5218
        return $this;
5219
    }
5220
5221
    /**
5222
     * @param string $value
5223
     *
5224
     * @return $this
5225
     */
5226
    public function withIsAccepted($value)
5227
    {
5228
        $this->data['IsAccepted'] = $value;
5229
        $this->options['form_params']['IsAccepted'] = $value;
5230
5231
        return $this;
5232
    }
5233
}
5234