GitHub Access Token became invalid

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

UpdateAntChainConsortium::withName()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

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