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 ( a16117...697a1b )
by Yong
07:50
created

FreezeAntChainAccount::withAccount()   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\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method ApplyAntChainWithKeyAutoCreation applyAntChainWithKeyAutoCreation(array $options = [])
9
 * @method CreateAccountWithKeyPairAutoCreation createAccountWithKeyPairAutoCreation(array $options = [])
10
 * @method ApplyBlockchainWithKeyAutoCreation applyBlockchainWithKeyAutoCreation(array $options = [])
11
 * @method DescribeAntChainConfigOptions describeAntChainConfigOptions(array $options = [])
12
 * @method DeleteAntChainConsortium deleteAntChainConsortium(array $options = [])
13
 * @method InviteAntChainMember inviteAntChainMember(array $options = [])
14
 * @method AgreeAntChainInvitation agreeAntChainInvitation(array $options = [])
15
 * @method ApplyAntChain applyAntChain(array $options = [])
16
 * @method DescribeBlockchainApplication describeBlockchainApplication(array $options = [])
17
 * @method UpdateAntChainConsortium updateAntChainConsortium(array $options = [])
18
 * @method UpdateAntChainMember updateAntChainMember(array $options = [])
19
 * @method CreateAntChainConsortium createAntChainConsortium(array $options = [])
20
 * @method CreateBlockchain createBlockchain(array $options = [])
21
 * @method CreateAntChainAccount createAntChainAccount(array $options = [])
22
 * @method DescribeLatestBlocks describeLatestBlocks(array $options = [])
23
 * @method DescribeLatestTransactionDigests describeLatestTransactionDigests(array $options = [])
24
 * @method DescribeAntChainInformation describeAntChainInformation(array $options = [])
25
 * @method DescribeBlockchainCreationConfigOptions describeBlockchainCreationConfigOptions(array $options = [])
26
 * @method DescribeAntChainBlock describeAntChainBlock(array $options = [])
27
 * @method DescribeDownloadPaths describeDownloadPaths(array $options = [])
28
 * @method DescribeAntChainDownloadPaths describeAntChainDownloadPaths(array $options = [])
29
 * @method DescribeMyBlockchanInfos describeMyBlockchanInfos(array $options = [])
30
 * @method DescribeBlockchainSchemaFileOSSProperties describeBlockchainSchemaFileOSSProperties(array $options = [])
31
 * @method FreezeAntChainAccount freezeAntChainAccount(array $options = [])
32
 * @method DescribeResourceTypes describeResourceTypes(array $options = [])
33
 * @method DescribeBlockchainSchemaDetail describeBlockchainSchemaDetail(array $options = [])
34
 * @method UnfreezeAntChainAccount unfreezeAntChainAccount(array $options = [])
35
 * @method ResetAntChainCertificate resetAntChainCertificate(array $options = [])
36
 * @method DescribeBlockchainSchemaTemplates describeBlockchainSchemaTemplates(array $options = [])
37
 * @method DescribeAntChainConsortiums describeAntChainConsortiums(array $options = [])
38
 * @method UpdateBlockchainSchema updateBlockchainSchema(array $options = [])
39
 * @method DescribeAntChainMembers describeAntChainMembers(array $options = [])
40
 * @method DescribeAntChainApplications describeAntChainApplications(array $options = [])
41
 * @method CreateAntChain createAntChain(array $options = [])
42
 * @method ResetAntChainUserCertificate resetAntChainUserCertificate(array $options = [])
43
 * @method DescribeAntChainLatestBlocks describeAntChainLatestBlocks(array $options = [])
44
 * @method UpdateAntChain updateAntChain(array $options = [])
45
 * @method DescribeAntChainLatestTransactionDigests describeAntChainLatestTransactionDigests(array $options = [])
46
 * @method DescribeAntChainTransaction describeAntChainTransaction(array $options = [])
47
 * @method DescribeAntChainRegionNames describeAntChainRegionNames(array $options = [])
48
 * @method DescribeAntChainRegionsForSale describeAntChainRegionsForSale(array $options = [])
49
 * @method DescribeAntChainResourceTypes describeAntChainResourceTypes(array $options = [])
50
 * @method CreateOwnAccount createOwnAccount(array $options = [])
51
 * @method DescribeMemberRole describeMemberRole(array $options = [])
52
 * @method DescribeTransactionFor2CBrowser describeTransactionFor2CBrowser(array $options = [])
53
 * @method DescribeTransactionQRCode describeTransactionQRCode(array $options = [])
54
 * @method DescribeTransactionReceiptFor2CBrowser describeTransactionReceiptFor2CBrowser(array $options = [])
55
 * @method DescribeQRCodeAuthority describeQRCodeAuthority(array $options = [])
56
 * @method UpdateQRCodeAuthority updateQRCodeAuthority(array $options = [])
57
 * @method DescribeQRCodeAccessLog describeQRCodeAccessLog(array $options = [])
58
 * @method DescribeAntRegions describeAntRegions(array $options = [])
59
 * @method DescribeBlockchainConfigOption describeBlockchainConfigOption(array $options = [])
60
 * @method DescribeDownloadPathsOfContractChain describeDownloadPathsOfContractChain(array $options = [])
61
 * @method DescribeDownloadPathsOfNotaryChain describeDownloadPathsOfNotaryChain(array $options = [])
62
 * @method DescribeLatest15Blocks describeLatest15Blocks(array $options = [])
63
 * @method DescribeLatest15TransDigests describeLatest15TransDigests(array $options = [])
64
 * @method RenameBlockchain renameBlockchain(array $options = [])
65
 * @method DescribeMembers describeMembers(array $options = [])
66
 * @method UpdateMemberRole updateMemberRole(array $options = [])
67
 * @method CreateAccount createAccount(array $options = [])
68
 * @method FreezeAccount freezeAccount(array $options = [])
69
 * @method UnfreezeAccount unfreezeAccount(array $options = [])
70
 * @method DescribeEthereum describeEthereum(array $options = [])
71
 * @method DescribeEthereumNode describeEthereumNode(array $options = [])
72
 * @method DescribeChaincodeCollectionConfig describeChaincodeCollectionConfig(array $options = [])
73
 * @method QueryEthereumDeletable queryEthereumDeletable(array $options = [])
74
 * @method DestroyEthereum destroyEthereum(array $options = [])
75
 * @method DescribeEthereumDeletable describeEthereumDeletable(array $options = [])
76
 * @method CreateEthereum createEthereum(array $options = [])
77
 * @method DescribeEthereums describeEthereums(array $options = [])
78
 * @method UpdateEthereum updateEthereum(array $options = [])
79
 * @method DescribeEthereumNodes describeEthereumNodes(array $options = [])
80
 * @method UpdateEthereumNode updateEthereumNode(array $options = [])
81
 * @method AddEthereumNode addEthereumNode(array $options = [])
82
 * @method DescribeEthereumNodeInfo describeEthereumNodeInfo(array $options = [])
83
 * @method DescribeEthereumClientUsers describeEthereumClientUsers(array $options = [])
84
 * @method UpdateEthereumClientUserPassword updateEthereumClientUserPassword(array $options = [])
85
 * @method DescribeEthereumNodeLogs describeEthereumNodeLogs(array $options = [])
86
 * @method CreateEthereumInvitation createEthereumInvitation(array $options = [])
87
 * @method DescribeEthereumInvitaion describeEthereumInvitaion(array $options = [])
88
 * @method AcceptEthereumInvitation acceptEthereumInvitation(array $options = [])
89
 * @method DescribeNetstatURL describeNetstatURL(array $options = [])
90
 * @method DescribeExplorerURL describeExplorerURL(array $options = [])
91
 * @method ApproveEthereumInvitee approveEthereumInvitee(array $options = [])
92
 * @method DescribeEthereumInvitee describeEthereumInvitee(array $options = [])
93
 * @method DescribeEthereumNodeConfiguration describeEthereumNodeConfiguration(array $options = [])
94
 * @method UpdateEthereumNodeConfiguration updateEthereumNodeConfiguration(array $options = [])
95
 * @method DescribeResourceType describeResourceType(array $options = [])
96
 * @method DescribeBlockchainSchema describeBlockchainSchema(array $options = [])
97
 * @method CreateBlockchainApplication createBlockchainApplication(array $options = [])
98
 * @method DescribeMySuccessfulApplication describeMySuccessfulApplication(array $options = [])
99
 * @method DownloadSDK2 downloadSDK2(array $options = [])
100
 * @method DescribeSchemaDetail describeSchemaDetail(array $options = [])
101
 * @method DescribeBlock describeBlock(array $options = [])
102
 * @method DescribeMetric describeMetric(array $options = [])
103
 * @method DescribeTransaction describeTransaction(array $options = [])
104
 * @method ResetCertificate resetCertificate(array $options = [])
105
 * @method DescribeApplies describeApplies(array $options = [])
106
 * @method DescribeBcSchema describeBcSchema(array $options = [])
107
 * @method DescribeBlockchainCreateTask describeBlockchainCreateTask(array $options = [])
108
 * @method DescribeBlockchainInfo describeBlockchainInfo(array $options = [])
109
 * @method DescribeMyBlockchains describeMyBlockchains(array $options = [])
110
 * @method DescribeMySuccessApplies describeMySuccessApplies(array $options = [])
111
 * @method DescribeOssProperties describeOssProperties(array $options = [])
112
 * @method DescribeTemplates describeTemplates(array $options = [])
113
 * @method DownloadAll downloadAll(array $options = [])
114
 * @method DescribePeerLogs describePeerLogs(array $options = [])
115
 * @method DescribeOrdererLogs describeOrdererLogs(array $options = [])
116
 * @method GetBlockchainCreateTask getBlockchainCreateTask(array $options = [])
117
 * @method GetOssProperties getOssProperties(array $options = [])
118
 * @method UpdateSchema updateSchema(array $options = [])
119
 * @method SchemaDetail schemaDetail(array $options = [])
120
 * @method ResetUser resetUser(array $options = [])
121
 * @method RejectUser rejectUser(array $options = [])
122
 * @method QueryTransaction queryTransaction(array $options = [])
123
 * @method QueryMetric queryMetric(array $options = [])
124
 * @method QueryBlock queryBlock(array $options = [])
125
 * @method OperateUser operateUser(array $options = [])
126
 * @method InviteUser inviteUser(array $options = [])
127
 * @method GetTemplates getTemplates(array $options = [])
128
 * @method GetMySuccessApplies getMySuccessApplies(array $options = [])
129
 * @method GetMyBlockchains getMyBlockchains(array $options = [])
130
 * @method GetBlockchainInfo getBlockchainInfo(array $options = [])
131
 * @method GetBcSchema getBcSchema(array $options = [])
132
 * @method GetApplies getApplies(array $options = [])
133
 * @method DownloadSignedData downloadSignedData(array $options = [])
134
 * @method DownloadSdk downloadSdk(array $options = [])
135
 * @method DownloadBizview downloadBizview(array $options = [])
136
 * @method CreateBlockchainApply createBlockchainApply(array $options = [])
137
 * @method ApplyBlockchain applyBlockchain(array $options = [])
138
 * @method DescribeConsortiumDeletable describeConsortiumDeletable(array $options = [])
139
 * @method DescribeOrganizationDeletable describeOrganizationDeletable(array $options = [])
140
 * @method QueryOrganizationDeletable queryOrganizationDeletable(array $options = [])
141
 * @method QueryConsortiumDeletable queryConsortiumDeletable(array $options = [])
142
 * @method DeleteChaincode deleteChaincode(array $options = [])
143
 * @method DescribeConsortiumMembers describeConsortiumMembers(array $options = [])
144
 * @method DescribeOrganizations describeOrganizations(array $options = [])
145
 * @method DescribeOrganizationChannels describeOrganizationChannels(array $options = [])
146
 * @method AcceptInvitation acceptInvitation(array $options = [])
147
 * @method DescribeOrganizationChaincodes describeOrganizationChaincodes(array $options = [])
148
 * @method DescribeRegions describeRegions(array $options = [])
149
 * @method DescribeOrganizationUsers describeOrganizationUsers(array $options = [])
150
 * @method DescribeOrganizationPeers describeOrganizationPeers(array $options = [])
151
 * @method DescribeInvitationList describeInvitationList(array $options = [])
152
 * @method DescribeChaincodeUploadPolicy describeChaincodeUploadPolicy(array $options = [])
153
 * @method DescribeConsortiumAdminStatus describeConsortiumAdminStatus(array $options = [])
154
 * @method DescribeOrganization describeOrganization(array $options = [])
155
 * @method DescribeEcosphereSpecs describeEcosphereSpecs(array $options = [])
156
 * @method DescribeConsortiumSpecs describeConsortiumSpecs(array $options = [])
157
 * @method DescribeConsortiumConfig describeConsortiumConfig(array $options = [])
158
 * @method DescribeOrganizationSpecs describeOrganizationSpecs(array $options = [])
159
 * @method DescribeRootDomain describeRootDomain(array $options = [])
160
 * @method CreateEcosphere createEcosphere(array $options = [])
161
 * @method CreateConsortium createConsortium(array $options = [])
162
 * @method SynchronizeChaincode synchronizeChaincode(array $options = [])
163
 * @method DownloadOrganizationSDK downloadOrganizationSDK(array $options = [])
164
 * @method ResetOrganizationUserPassword resetOrganizationUserPassword(array $options = [])
165
 * @method DescribeInvitationCode describeInvitationCode(array $options = [])
166
 * @method DescribeOrganizationUserCerts describeOrganizationUserCerts(array $options = [])
167
 * @method CreateOrganizationUser createOrganizationUser(array $options = [])
168
 * @method DescribeTasks describeTasks(array $options = [])
169
 * @method CreateChannelMember createChannelMember(array $options = [])
170
 * @method DescribeConsortiumMemberApproval describeConsortiumMemberApproval(array $options = [])
171
 * @method JoinChannel joinChannel(array $options = [])
172
 * @method DescribeConsortiumOrderers describeConsortiumOrderers(array $options = [])
173
 * @method DescribeInviter describeInviter(array $options = [])
174
 * @method DescribeCandidateOrganizations describeCandidateOrganizations(array $options = [])
175
 * @method CreateConsortiumMember createConsortiumMember(array $options = [])
176
 * @method DescribeOrganizationMembers describeOrganizationMembers(array $options = [])
177
 * @method ConfirmConsortiumMember confirmConsortiumMember(array $options = [])
178
 * @method CheckConsortiumDomain checkConsortiumDomain(array $options = [])
179
 * @method CheckOrganizationDomain checkOrganizationDomain(array $options = [])
180
 * @method DestroyConsortium destroyConsortium(array $options = [])
181
 * @method DestroyOrganization destroyOrganization(array $options = [])
182
 * @method DescribeExplorer describeExplorer(array $options = [])
183
 * @method DescribeConsortiums describeConsortiums(array $options = [])
184
 * @method CreateOrganization createOrganization(array $options = [])
185
 * @method DescribeConsortiumChannels describeConsortiumChannels(array $options = [])
186
 * @method CreateChannel createChannel(array $options = [])
187
 * @method DescribeChannelMembers describeChannelMembers(array $options = [])
188
 * @method DescribeOrgnaizationChaincodes describeOrgnaizationChaincodes(array $options = [])
189
 * @method DescribeConsortiumChaincodes describeConsortiumChaincodes(array $options = [])
190
 * @method CreateChaincode createChaincode(array $options = [])
191
 * @method InstallChaincode installChaincode(array $options = [])
192
 * @method UpgradeChaincode upgradeChaincode(array $options = [])
193
 * @method InstantiateChaincode instantiateChaincode(array $options = [])
194
 */
195
class BaasApiResolver extends ApiResolver
196
{
197
}
198
199
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
200
{
201
    /** @var string */
202
    public $product = 'Baas';
203
204
    /** @var string */
205
    public $version = '2018-07-31';
206
207
    /** @var string */
208
    public $method = 'POST';
209
}
210
211
/**
212
 * @method string getOrganizationUnitName()
213
 * @method string getPassword()
214
 * @method string getLocalityName()
215
 * @method string getStateOrProvinceName()
216
 * @method string getCommonName()
217
 * @method string getOrganizationName()
218
 * @method string getBizid()
219
 * @method string getCountryName()
220
 * @method string getConsortiumId()
221
 */
222
class ApplyAntChainWithKeyAutoCreation extends Rpc
223
{
224
225
    /**
226
     * @param string $value
227
     *
228
     * @return $this
229
     */
230
    public function withOrganizationUnitName($value)
231
    {
232
        $this->data['OrganizationUnitName'] = $value;
233
        $this->options['form_params']['OrganizationUnitName'] = $value;
234
235
        return $this;
236
    }
237
238
    /**
239
     * @param string $value
240
     *
241
     * @return $this
242
     */
243
    public function withPassword($value)
244
    {
245
        $this->data['Password'] = $value;
246
        $this->options['form_params']['Password'] = $value;
247
248
        return $this;
249
    }
250
251
    /**
252
     * @param string $value
253
     *
254
     * @return $this
255
     */
256
    public function withLocalityName($value)
257
    {
258
        $this->data['LocalityName'] = $value;
259
        $this->options['form_params']['LocalityName'] = $value;
260
261
        return $this;
262
    }
263
264
    /**
265
     * @param string $value
266
     *
267
     * @return $this
268
     */
269
    public function withStateOrProvinceName($value)
270
    {
271
        $this->data['StateOrProvinceName'] = $value;
272
        $this->options['form_params']['StateOrProvinceName'] = $value;
273
274
        return $this;
275
    }
276
277
    /**
278
     * @param string $value
279
     *
280
     * @return $this
281
     */
282
    public function withCommonName($value)
283
    {
284
        $this->data['CommonName'] = $value;
285
        $this->options['form_params']['CommonName'] = $value;
286
287
        return $this;
288
    }
289
290
    /**
291
     * @param string $value
292
     *
293
     * @return $this
294
     */
295
    public function withOrganizationName($value)
296
    {
297
        $this->data['OrganizationName'] = $value;
298
        $this->options['form_params']['OrganizationName'] = $value;
299
300
        return $this;
301
    }
302
303
    /**
304
     * @param string $value
305
     *
306
     * @return $this
307
     */
308
    public function withBizid($value)
309
    {
310
        $this->data['Bizid'] = $value;
311
        $this->options['form_params']['Bizid'] = $value;
312
313
        return $this;
314
    }
315
316
    /**
317
     * @param string $value
318
     *
319
     * @return $this
320
     */
321
    public function withCountryName($value)
322
    {
323
        $this->data['CountryName'] = $value;
324
        $this->options['form_params']['CountryName'] = $value;
325
326
        return $this;
327
    }
328
329
    /**
330
     * @param string $value
331
     *
332
     * @return $this
333
     */
334
    public function withConsortiumId($value)
335
    {
336
        $this->data['ConsortiumId'] = $value;
337
        $this->options['form_params']['ConsortiumId'] = $value;
338
339
        return $this;
340
    }
341
}
342
343
/**
344
 * @method string getPassword()
345
 * @method string getBizid()
346
 * @method string getAccount()
347
 */
348
class CreateAccountWithKeyPairAutoCreation extends Rpc
349
{
350
351
    /** @var string */
352
    public $method = 'PUT';
353
354
    /**
355
     * @param string $value
356
     *
357
     * @return $this
358
     */
359
    public function withPassword($value)
360
    {
361
        $this->data['Password'] = $value;
362
        $this->options['form_params']['Password'] = $value;
363
364
        return $this;
365
    }
366
367
    /**
368
     * @param string $value
369
     *
370
     * @return $this
371
     */
372
    public function withBizid($value)
373
    {
374
        $this->data['Bizid'] = $value;
375
        $this->options['form_params']['Bizid'] = $value;
376
377
        return $this;
378
    }
379
380
    /**
381
     * @param string $value
382
     *
383
     * @return $this
384
     */
385
    public function withAccount($value)
386
    {
387
        $this->data['Account'] = $value;
388
        $this->options['form_params']['Account'] = $value;
389
390
        return $this;
391
    }
392
}
393
394
/**
395
 * @method string getOrganizationUnitName()
396
 * @method string getPassword()
397
 * @method string getLocalityName()
398
 * @method string getStateOrProvinceName()
399
 * @method string getCommonName()
400
 * @method string getOrganizationName()
401
 * @method string getBizid()
402
 * @method string getCountryName()
403
 */
404
class ApplyBlockchainWithKeyAutoCreation extends Rpc
405
{
406
407
    /**
408
     * @param string $value
409
     *
410
     * @return $this
411
     */
412
    public function withOrganizationUnitName($value)
413
    {
414
        $this->data['OrganizationUnitName'] = $value;
415
        $this->options['form_params']['OrganizationUnitName'] = $value;
416
417
        return $this;
418
    }
419
420
    /**
421
     * @param string $value
422
     *
423
     * @return $this
424
     */
425
    public function withPassword($value)
426
    {
427
        $this->data['Password'] = $value;
428
        $this->options['form_params']['Password'] = $value;
429
430
        return $this;
431
    }
432
433
    /**
434
     * @param string $value
435
     *
436
     * @return $this
437
     */
438
    public function withLocalityName($value)
439
    {
440
        $this->data['LocalityName'] = $value;
441
        $this->options['form_params']['LocalityName'] = $value;
442
443
        return $this;
444
    }
445
446
    /**
447
     * @param string $value
448
     *
449
     * @return $this
450
     */
451
    public function withStateOrProvinceName($value)
452
    {
453
        $this->data['StateOrProvinceName'] = $value;
454
        $this->options['form_params']['StateOrProvinceName'] = $value;
455
456
        return $this;
457
    }
458
459
    /**
460
     * @param string $value
461
     *
462
     * @return $this
463
     */
464
    public function withCommonName($value)
465
    {
466
        $this->data['CommonName'] = $value;
467
        $this->options['form_params']['CommonName'] = $value;
468
469
        return $this;
470
    }
471
472
    /**
473
     * @param string $value
474
     *
475
     * @return $this
476
     */
477
    public function withOrganizationName($value)
478
    {
479
        $this->data['OrganizationName'] = $value;
480
        $this->options['form_params']['OrganizationName'] = $value;
481
482
        return $this;
483
    }
484
485
    /**
486
     * @param string $value
487
     *
488
     * @return $this
489
     */
490
    public function withBizid($value)
491
    {
492
        $this->data['Bizid'] = $value;
493
        $this->options['form_params']['Bizid'] = $value;
494
495
        return $this;
496
    }
497
498
    /**
499
     * @param string $value
500
     *
501
     * @return $this
502
     */
503
    public function withCountryName($value)
504
    {
505
        $this->data['CountryName'] = $value;
506
        $this->options['form_params']['CountryName'] = $value;
507
508
        return $this;
509
    }
510
}
511
512
/**
513
 * @method string getPurpose()
514
 * @method $this withPurpose($value)
515
 */
516
class DescribeAntChainConfigOptions extends Rpc
517
{
518
519
    /** @var string */
520
    public $method = 'PUT';
521
}
522
523
/**
524
 * @method string getConsortiumId()
525
 */
526
class DeleteAntChainConsortium extends Rpc
527
{
528
529
    /** @var string */
530
    public $method = 'PUT';
531
532
    /**
533
     * @param string $value
534
     *
535
     * @return $this
536
     */
537
    public function withConsortiumId($value)
538
    {
539
        $this->data['ConsortiumId'] = $value;
540
        $this->options['form_params']['ConsortiumId'] = $value;
541
542
        return $this;
543
    }
544
}
545
546
/**
547
 * @method string getInviteBid()
548
 * @method string getInviteUserId()
549
 * @method string getConsortiumId()
550
 */
551
class InviteAntChainMember extends Rpc
552
{
553
554
    /** @var string */
555
    public $method = 'PUT';
556
557
    /**
558
     * @param string $value
559
     *
560
     * @return $this
561
     */
562
    public function withInviteBid($value)
563
    {
564
        $this->data['InviteBid'] = $value;
565
        $this->options['form_params']['InviteBid'] = $value;
566
567
        return $this;
568
    }
569
570
    /**
571
     * @param string $value
572
     *
573
     * @return $this
574
     */
575
    public function withInviteUserId($value)
576
    {
577
        $this->data['InviteUserId'] = $value;
578
        $this->options['form_params']['InviteUserId'] = $value;
579
580
        return $this;
581
    }
582
583
    /**
584
     * @param string $value
585
     *
586
     * @return $this
587
     */
588
    public function withConsortiumId($value)
589
    {
590
        $this->data['ConsortiumId'] = $value;
591
        $this->options['form_params']['ConsortiumId'] = $value;
592
593
        return $this;
594
    }
595
}
596
597
/**
598
 * @method string getCode()
599
 */
600
class AgreeAntChainInvitation extends Rpc
601
{
602
603
    /** @var string */
604
    public $method = 'PUT';
605
606
    /**
607
     * @param string $value
608
     *
609
     * @return $this
610
     */
611
    public function withCode($value)
612
    {
613
        $this->data['Code'] = $value;
614
        $this->options['form_params']['Code'] = $value;
615
616
        return $this;
617
    }
618
}
619
620
/**
621
 * @method string getUploadReq()
622
 * @method string getBizid()
623
 * @method string getConsortiumId()
624
 */
625
class ApplyAntChain extends Rpc
626
{
627
628
    /**
629
     * @param string $value
630
     *
631
     * @return $this
632
     */
633
    public function withUploadReq($value)
634
    {
635
        $this->data['UploadReq'] = $value;
636
        $this->options['form_params']['UploadReq'] = $value;
637
638
        return $this;
639
    }
640
641
    /**
642
     * @param string $value
643
     *
644
     * @return $this
645
     */
646
    public function withBizid($value)
647
    {
648
        $this->data['Bizid'] = $value;
649
        $this->options['form_params']['Bizid'] = $value;
650
651
        return $this;
652
    }
653
654
    /**
655
     * @param string $value
656
     *
657
     * @return $this
658
     */
659
    public function withConsortiumId($value)
660
    {
661
        $this->data['ConsortiumId'] = $value;
662
        $this->options['form_params']['ConsortiumId'] = $value;
663
664
        return $this;
665
    }
666
}
667
668
/**
669
 * @method string getCurrent()
670
 * @method string getBizid()
671
 * @method string getPageSize()
672
 * @method string getStatus()
673
 */
674
class DescribeBlockchainApplication extends Rpc
675
{
676
677
    /**
678
     * @param string $value
679
     *
680
     * @return $this
681
     */
682
    public function withCurrent($value)
683
    {
684
        $this->data['Current'] = $value;
685
        $this->options['form_params']['Current'] = $value;
686
687
        return $this;
688
    }
689
690
    /**
691
     * @param string $value
692
     *
693
     * @return $this
694
     */
695
    public function withBizid($value)
696
    {
697
        $this->data['Bizid'] = $value;
698
        $this->options['form_params']['Bizid'] = $value;
699
700
        return $this;
701
    }
702
703
    /**
704
     * @param string $value
705
     *
706
     * @return $this
707
     */
708
    public function withPageSize($value)
709
    {
710
        $this->data['PageSize'] = $value;
711
        $this->options['form_params']['PageSize'] = $value;
712
713
        return $this;
714
    }
715
716
    /**
717
     * @param string $value
718
     *
719
     * @return $this
720
     */
721
    public function withStatus($value)
722
    {
723
        $this->data['Status'] = $value;
724
        $this->options['form_params']['Status'] = $value;
725
726
        return $this;
727
    }
728
}
729
730
/**
731
 * @method string getName()
732
 * @method string getDescription()
733
 * @method string getConsortiumId()
734
 */
735
class UpdateAntChainConsortium extends Rpc
736
{
737
738
    /** @var string */
739
    public $method = 'PUT';
740
741
    /**
742
     * @param string $value
743
     *
744
     * @return $this
745
     */
746
    public function withName($value)
747
    {
748
        $this->data['Name'] = $value;
749
        $this->options['form_params']['Name'] = $value;
750
751
        return $this;
752
    }
753
754
    /**
755
     * @param string $value
756
     *
757
     * @return $this
758
     */
759
    public function withDescription($value)
760
    {
761
        $this->data['Description'] = $value;
762
        $this->options['form_params']['Description'] = $value;
763
764
        return $this;
765
    }
766
767
    /**
768
     * @param string $value
769
     *
770
     * @return $this
771
     */
772
    public function withConsortiumId($value)
773
    {
774
        $this->data['ConsortiumId'] = $value;
775
        $this->options['form_params']['ConsortiumId'] = $value;
776
777
        return $this;
778
    }
779
}
780
781
/**
782
 * @method string getUserId()
783
 * @method string getMemberName()
784
 * @method string getConsortiumId()
785
 */
786
class UpdateAntChainMember extends Rpc
787
{
788
789
    /** @var string */
790
    public $method = 'PUT';
791
792
    /**
793
     * @param string $value
794
     *
795
     * @return $this
796
     */
797
    public function withUserId($value)
798
    {
799
        $this->data['UserId'] = $value;
800
        $this->options['form_params']['UserId'] = $value;
801
802
        return $this;
803
    }
804
805
    /**
806
     * @param string $value
807
     *
808
     * @return $this
809
     */
810
    public function withMemberName($value)
811
    {
812
        $this->data['MemberName'] = $value;
813
        $this->options['form_params']['MemberName'] = $value;
814
815
        return $this;
816
    }
817
818
    /**
819
     * @param string $value
820
     *
821
     * @return $this
822
     */
823
    public function withConsortiumId($value)
824
    {
825
        $this->data['ConsortiumId'] = $value;
826
        $this->options['form_params']['ConsortiumId'] = $value;
827
828
        return $this;
829
    }
830
}
831
832
/**
833
 * @method string getName()
834
 * @method string getDescription()
835
 */
836
class CreateAntChainConsortium extends Rpc
837
{
838
839
    /** @var string */
840
    public $method = 'PUT';
841
842
    /**
843
     * @param string $value
844
     *
845
     * @return $this
846
     */
847
    public function withName($value)
848
    {
849
        $this->data['Name'] = $value;
850
        $this->options['form_params']['Name'] = $value;
851
852
        return $this;
853
    }
854
855
    /**
856
     * @param string $value
857
     *
858
     * @return $this
859
     */
860
    public function withDescription($value)
861
    {
862
        $this->data['Description'] = $value;
863
        $this->options['form_params']['Description'] = $value;
864
865
        return $this;
866
    }
867
}
868
869
/**
870
 * @method string getCipherSuit()
871
 * @method string getSize()
872
 * @method string getMachineNum()
873
 * @method string getLiveTime()
874
 * @method string getBizid()
875
 * @method string getBlockchainType()
876
 * @method string getBlockchainRegionId()
877
 * @method string getTlsAlgo()
878
 * @method string getMerkleTreeSuit()
879
 */
880
class CreateBlockchain extends Rpc
881
{
882
883
    /**
884
     * @param string $value
885
     *
886
     * @return $this
887
     */
888
    public function withCipherSuit($value)
889
    {
890
        $this->data['CipherSuit'] = $value;
891
        $this->options['form_params']['CipherSuit'] = $value;
892
893
        return $this;
894
    }
895
896
    /**
897
     * @param string $value
898
     *
899
     * @return $this
900
     */
901
    public function withSize($value)
902
    {
903
        $this->data['Size'] = $value;
904
        $this->options['form_params']['Size'] = $value;
905
906
        return $this;
907
    }
908
909
    /**
910
     * @param string $value
911
     *
912
     * @return $this
913
     */
914
    public function withMachineNum($value)
915
    {
916
        $this->data['MachineNum'] = $value;
917
        $this->options['form_params']['MachineNum'] = $value;
918
919
        return $this;
920
    }
921
922
    /**
923
     * @param string $value
924
     *
925
     * @return $this
926
     */
927
    public function withLiveTime($value)
928
    {
929
        $this->data['LiveTime'] = $value;
930
        $this->options['form_params']['LiveTime'] = $value;
931
932
        return $this;
933
    }
934
935
    /**
936
     * @param string $value
937
     *
938
     * @return $this
939
     */
940
    public function withBizid($value)
941
    {
942
        $this->data['Bizid'] = $value;
943
        $this->options['form_params']['Bizid'] = $value;
944
945
        return $this;
946
    }
947
948
    /**
949
     * @param string $value
950
     *
951
     * @return $this
952
     */
953
    public function withBlockchainType($value)
954
    {
955
        $this->data['BlockchainType'] = $value;
956
        $this->options['form_params']['BlockchainType'] = $value;
957
958
        return $this;
959
    }
960
961
    /**
962
     * @param string $value
963
     *
964
     * @return $this
965
     */
966
    public function withBlockchainRegionId($value)
967
    {
968
        $this->data['BlockchainRegionId'] = $value;
969
        $this->options['form_params']['BlockchainRegionId'] = $value;
970
971
        return $this;
972
    }
973
974
    /**
975
     * @param string $value
976
     *
977
     * @return $this
978
     */
979
    public function withTlsAlgo($value)
980
    {
981
        $this->data['TlsAlgo'] = $value;
982
        $this->options['form_params']['TlsAlgo'] = $value;
983
984
        return $this;
985
    }
986
987
    /**
988
     * @param string $value
989
     *
990
     * @return $this
991
     */
992
    public function withMerkleTreeSuit($value)
993
    {
994
        $this->data['MerkleTreeSuit'] = $value;
995
        $this->options['form_params']['MerkleTreeSuit'] = $value;
996
997
        return $this;
998
    }
999
}
1000
1001
/**
1002
 * @method string getAccountPubKey()
1003
 * @method string getBizid()
1004
 * @method string getAccount()
1005
 * @method string getAccountRecoverPubKey()
1006
 */
1007
class CreateAntChainAccount extends Rpc
1008
{
1009
1010
    /** @var string */
1011
    public $method = 'PUT';
1012
1013
    /**
1014
     * @param string $value
1015
     *
1016
     * @return $this
1017
     */
1018
    public function withAccountPubKey($value)
1019
    {
1020
        $this->data['AccountPubKey'] = $value;
1021
        $this->options['form_params']['AccountPubKey'] = $value;
1022
1023
        return $this;
1024
    }
1025
1026
    /**
1027
     * @param string $value
1028
     *
1029
     * @return $this
1030
     */
1031
    public function withBizid($value)
1032
    {
1033
        $this->data['Bizid'] = $value;
1034
        $this->options['form_params']['Bizid'] = $value;
1035
1036
        return $this;
1037
    }
1038
1039
    /**
1040
     * @param string $value
1041
     *
1042
     * @return $this
1043
     */
1044
    public function withAccount($value)
1045
    {
1046
        $this->data['Account'] = $value;
1047
        $this->options['form_params']['Account'] = $value;
1048
1049
        return $this;
1050
    }
1051
1052
    /**
1053
     * @param string $value
1054
     *
1055
     * @return $this
1056
     */
1057
    public function withAccountRecoverPubKey($value)
1058
    {
1059
        $this->data['AccountRecoverPubKey'] = $value;
1060
        $this->options['form_params']['AccountRecoverPubKey'] = $value;
1061
1062
        return $this;
1063
    }
1064
}
1065
1066
/**
1067
 * @method string getBizid()
1068
 */
1069
class DescribeLatestBlocks extends Rpc
1070
{
1071
1072
    /**
1073
     * @param string $value
1074
     *
1075
     * @return $this
1076
     */
1077
    public function withBizid($value)
1078
    {
1079
        $this->data['Bizid'] = $value;
1080
        $this->options['form_params']['Bizid'] = $value;
1081
1082
        return $this;
1083
    }
1084
}
1085
1086
/**
1087
 * @method string getBizid()
1088
 */
1089
class DescribeLatestTransactionDigests extends Rpc
1090
{
1091
1092
    /**
1093
     * @param string $value
1094
     *
1095
     * @return $this
1096
     */
1097
    public function withBizid($value)
1098
    {
1099
        $this->data['Bizid'] = $value;
1100
        $this->options['form_params']['Bizid'] = $value;
1101
1102
        return $this;
1103
    }
1104
}
1105
1106
/**
1107
 * @method string getBizid()
1108
 */
1109
class DescribeAntChainInformation extends Rpc
1110
{
1111
1112
    /**
1113
     * @param string $value
1114
     *
1115
     * @return $this
1116
     */
1117
    public function withBizid($value)
1118
    {
1119
        $this->data['Bizid'] = $value;
1120
        $this->options['form_params']['Bizid'] = $value;
1121
1122
        return $this;
1123
    }
1124
}
1125
1126
/**
1127
 * @method string getPurpose()
1128
 * @method $this withPurpose($value)
1129
 */
1130
class DescribeBlockchainCreationConfigOptions extends Rpc
1131
{
1132
1133
    /** @var string */
1134
    public $method = 'PUT';
1135
}
1136
1137
/**
1138
 * @method string getBizid()
1139
 * @method string getHeight()
1140
 */
1141
class DescribeAntChainBlock extends Rpc
1142
{
1143
1144
    /**
1145
     * @param string $value
1146
     *
1147
     * @return $this
1148
     */
1149
    public function withBizid($value)
1150
    {
1151
        $this->data['Bizid'] = $value;
1152
        $this->options['form_params']['Bizid'] = $value;
1153
1154
        return $this;
1155
    }
1156
1157
    /**
1158
     * @param string $value
1159
     *
1160
     * @return $this
1161
     */
1162
    public function withHeight($value)
1163
    {
1164
        $this->data['Height'] = $value;
1165
        $this->options['form_params']['Height'] = $value;
1166
1167
        return $this;
1168
    }
1169
}
1170
1171
/**
1172
 * @method string getBizid()
1173
 */
1174
class DescribeDownloadPaths extends Rpc
1175
{
1176
1177
    /**
1178
     * @param string $value
1179
     *
1180
     * @return $this
1181
     */
1182
    public function withBizid($value)
1183
    {
1184
        $this->data['Bizid'] = $value;
1185
        $this->options['form_params']['Bizid'] = $value;
1186
1187
        return $this;
1188
    }
1189
}
1190
1191
/**
1192
 * @method string getBizid()
1193
 */
1194
class DescribeAntChainDownloadPaths extends Rpc
1195
{
1196
1197
    /**
1198
     * @param string $value
1199
     *
1200
     * @return $this
1201
     */
1202
    public function withBizid($value)
1203
    {
1204
        $this->data['Bizid'] = $value;
1205
        $this->options['form_params']['Bizid'] = $value;
1206
1207
        return $this;
1208
    }
1209
}
1210
1211
class DescribeMyBlockchanInfos extends Rpc
1212
{
1213
}
1214
1215
/**
1216
 * @method string getBizid()
1217
 */
1218
class DescribeBlockchainSchemaFileOSSProperties extends Rpc
1219
{
1220
1221
    /**
1222
     * @param string $value
1223
     *
1224
     * @return $this
1225
     */
1226
    public function withBizid($value)
1227
    {
1228
        $this->data['Bizid'] = $value;
1229
        $this->options['form_params']['Bizid'] = $value;
1230
1231
        return $this;
1232
    }
1233
}
1234
1235
/**
1236
 * @method string getBizid()
1237
 * @method string getAccount()
1238
 */
1239
class FreezeAntChainAccount extends Rpc
1240
{
1241
1242
    /** @var string */
1243
    public $method = 'PUT';
1244
1245
    /**
1246
     * @param string $value
1247
     *
1248
     * @return $this
1249
     */
1250
    public function withBizid($value)
1251
    {
1252
        $this->data['Bizid'] = $value;
1253
        $this->options['form_params']['Bizid'] = $value;
1254
1255
        return $this;
1256
    }
1257
1258
    /**
1259
     * @param string $value
1260
     *
1261
     * @return $this
1262
     */
1263
    public function withAccount($value)
1264
    {
1265
        $this->data['Account'] = $value;
1266
        $this->options['form_params']['Account'] = $value;
1267
1268
        return $this;
1269
    }
1270
}
1271
1272
class DescribeResourceTypes extends Rpc
1273
{
1274
}
1275
1276
/**
1277
 * @method string getSchemaId()
1278
 * @method string getBizid()
1279
 */
1280
class DescribeBlockchainSchemaDetail extends Rpc
1281
{
1282
1283
    /**
1284
     * @param string $value
1285
     *
1286
     * @return $this
1287
     */
1288
    public function withSchemaId($value)
1289
    {
1290
        $this->data['SchemaId'] = $value;
1291
        $this->options['form_params']['SchemaId'] = $value;
1292
1293
        return $this;
1294
    }
1295
1296
    /**
1297
     * @param string $value
1298
     *
1299
     * @return $this
1300
     */
1301
    public function withBizid($value)
1302
    {
1303
        $this->data['Bizid'] = $value;
1304
        $this->options['form_params']['Bizid'] = $value;
1305
1306
        return $this;
1307
    }
1308
}
1309
1310
/**
1311
 * @method string getBizid()
1312
 * @method string getAccount()
1313
 */
1314
class UnfreezeAntChainAccount extends Rpc
1315
{
1316
1317
    /** @var string */
1318
    public $method = 'PUT';
1319
1320
    /**
1321
     * @param string $value
1322
     *
1323
     * @return $this
1324
     */
1325
    public function withBizid($value)
1326
    {
1327
        $this->data['Bizid'] = $value;
1328
        $this->options['form_params']['Bizid'] = $value;
1329
1330
        return $this;
1331
    }
1332
1333
    /**
1334
     * @param string $value
1335
     *
1336
     * @return $this
1337
     */
1338
    public function withAccount($value)
1339
    {
1340
        $this->data['Account'] = $value;
1341
        $this->options['form_params']['Account'] = $value;
1342
1343
        return $this;
1344
    }
1345
}
1346
1347
/**
1348
 * @method string getBizid()
1349
 */
1350
class ResetAntChainCertificate extends Rpc
1351
{
1352
1353
    /**
1354
     * @param string $value
1355
     *
1356
     * @return $this
1357
     */
1358
    public function withBizid($value)
1359
    {
1360
        $this->data['Bizid'] = $value;
1361
        $this->options['form_params']['Bizid'] = $value;
1362
1363
        return $this;
1364
    }
1365
}
1366
1367
class DescribeBlockchainSchemaTemplates extends Rpc
1368
{
1369
}
1370
1371
/**
1372
 * @method string getCurrent()
1373
 * @method string getPageSize()
1374
 */
1375
class DescribeAntChainConsortiums extends Rpc
1376
{
1377
1378
    /** @var string */
1379
    public $method = 'PUT';
1380
1381
    /**
1382
     * @param string $value
1383
     *
1384
     * @return $this
1385
     */
1386
    public function withCurrent($value)
1387
    {
1388
        $this->data['Current'] = $value;
1389
        $this->options['form_params']['Current'] = $value;
1390
1391
        return $this;
1392
    }
1393
1394
    /**
1395
     * @param string $value
1396
     *
1397
     * @return $this
1398
     */
1399
    public function withPageSize($value)
1400
    {
1401
        $this->data['PageSize'] = $value;
1402
        $this->options['form_params']['PageSize'] = $value;
1403
1404
        return $this;
1405
    }
1406
}
1407
1408
/**
1409
 * @method string getSchemaName()
1410
 * @method string getSchemaId()
1411
 * @method string getBizid()
1412
 * @method string getDescription()
1413
 * @method string getCategoryConfigs()
1414
 */
1415
class UpdateBlockchainSchema extends Rpc
1416
{
1417
1418
    /**
1419
     * @param string $value
1420
     *
1421
     * @return $this
1422
     */
1423
    public function withSchemaName($value)
1424
    {
1425
        $this->data['SchemaName'] = $value;
1426
        $this->options['form_params']['SchemaName'] = $value;
1427
1428
        return $this;
1429
    }
1430
1431
    /**
1432
     * @param string $value
1433
     *
1434
     * @return $this
1435
     */
1436
    public function withSchemaId($value)
1437
    {
1438
        $this->data['SchemaId'] = $value;
1439
        $this->options['form_params']['SchemaId'] = $value;
1440
1441
        return $this;
1442
    }
1443
1444
    /**
1445
     * @param string $value
1446
     *
1447
     * @return $this
1448
     */
1449
    public function withBizid($value)
1450
    {
1451
        $this->data['Bizid'] = $value;
1452
        $this->options['form_params']['Bizid'] = $value;
1453
1454
        return $this;
1455
    }
1456
1457
    /**
1458
     * @param string $value
1459
     *
1460
     * @return $this
1461
     */
1462
    public function withDescription($value)
1463
    {
1464
        $this->data['Description'] = $value;
1465
        $this->options['form_params']['Description'] = $value;
1466
1467
        return $this;
1468
    }
1469
1470
    /**
1471
     * @param string $value
1472
     *
1473
     * @return $this
1474
     */
1475
    public function withCategoryConfigs($value)
1476
    {
1477
        $this->data['CategoryConfigs'] = $value;
1478
        $this->options['form_params']['CategoryConfigs'] = $value;
1479
1480
        return $this;
1481
    }
1482
}
1483
1484
/**
1485
 * @method string getCurrent()
1486
 * @method string getPageSize()
1487
 * @method string getConsortiumId()
1488
 */
1489
class DescribeAntChainMembers extends Rpc
1490
{
1491
1492
    /**
1493
     * @param string $value
1494
     *
1495
     * @return $this
1496
     */
1497
    public function withCurrent($value)
1498
    {
1499
        $this->data['Current'] = $value;
1500
        $this->options['form_params']['Current'] = $value;
1501
1502
        return $this;
1503
    }
1504
1505
    /**
1506
     * @param string $value
1507
     *
1508
     * @return $this
1509
     */
1510
    public function withPageSize($value)
1511
    {
1512
        $this->data['PageSize'] = $value;
1513
        $this->options['form_params']['PageSize'] = $value;
1514
1515
        return $this;
1516
    }
1517
1518
    /**
1519
     * @param string $value
1520
     *
1521
     * @return $this
1522
     */
1523
    public function withConsortiumId($value)
1524
    {
1525
        $this->data['ConsortiumId'] = $value;
1526
        $this->options['form_params']['ConsortiumId'] = $value;
1527
1528
        return $this;
1529
    }
1530
}
1531
1532
/**
1533
 * @method string getCurrent()
1534
 * @method string getBizid()
1535
 * @method string getPageSize()
1536
 * @method string getStatus()
1537
 */
1538
class DescribeAntChainApplications extends Rpc
1539
{
1540
1541
    /** @var string */
1542
    public $method = 'PUT';
1543
1544
    /**
1545
     * @param string $value
1546
     *
1547
     * @return $this
1548
     */
1549
    public function withCurrent($value)
1550
    {
1551
        $this->data['Current'] = $value;
1552
        $this->options['form_params']['Current'] = $value;
1553
1554
        return $this;
1555
    }
1556
1557
    /**
1558
     * @param string $value
1559
     *
1560
     * @return $this
1561
     */
1562
    public function withBizid($value)
1563
    {
1564
        $this->data['Bizid'] = $value;
1565
        $this->options['form_params']['Bizid'] = $value;
1566
1567
        return $this;
1568
    }
1569
1570
    /**
1571
     * @param string $value
1572
     *
1573
     * @return $this
1574
     */
1575
    public function withPageSize($value)
1576
    {
1577
        $this->data['PageSize'] = $value;
1578
        $this->options['form_params']['PageSize'] = $value;
1579
1580
        return $this;
1581
    }
1582
1583
    /**
1584
     * @param string $value
1585
     *
1586
     * @return $this
1587
     */
1588
    public function withStatus($value)
1589
    {
1590
        $this->data['Status'] = $value;
1591
        $this->options['form_params']['Status'] = $value;
1592
1593
        return $this;
1594
    }
1595
}
1596
1597
/**
1598
 * @method string getCipherSuit()
1599
 * @method string getLiveTime()
1600
 * @method string getName()
1601
 * @method string getResourceSize()
1602
 * @method string getNodeNum()
1603
 * @method string getBlockchainRegionId()
1604
 * @method string getTlsAlgo()
1605
 * @method string getMerkleTreeSuit()
1606
 * @method string getConsortiumId()
1607
 */
1608
class CreateAntChain extends Rpc
1609
{
1610
1611
    /** @var string */
1612
    public $method = 'PUT';
1613
1614
    /**
1615
     * @param string $value
1616
     *
1617
     * @return $this
1618
     */
1619
    public function withCipherSuit($value)
1620
    {
1621
        $this->data['CipherSuit'] = $value;
1622
        $this->options['form_params']['CipherSuit'] = $value;
1623
1624
        return $this;
1625
    }
1626
1627
    /**
1628
     * @param string $value
1629
     *
1630
     * @return $this
1631
     */
1632
    public function withLiveTime($value)
1633
    {
1634
        $this->data['LiveTime'] = $value;
1635
        $this->options['form_params']['LiveTime'] = $value;
1636
1637
        return $this;
1638
    }
1639
1640
    /**
1641
     * @param string $value
1642
     *
1643
     * @return $this
1644
     */
1645
    public function withName($value)
1646
    {
1647
        $this->data['Name'] = $value;
1648
        $this->options['form_params']['Name'] = $value;
1649
1650
        return $this;
1651
    }
1652
1653
    /**
1654
     * @param string $value
1655
     *
1656
     * @return $this
1657
     */
1658
    public function withResourceSize($value)
1659
    {
1660
        $this->data['ResourceSize'] = $value;
1661
        $this->options['form_params']['ResourceSize'] = $value;
1662
1663
        return $this;
1664
    }
1665
1666
    /**
1667
     * @param string $value
1668
     *
1669
     * @return $this
1670
     */
1671
    public function withNodeNum($value)
1672
    {
1673
        $this->data['NodeNum'] = $value;
1674
        $this->options['form_params']['NodeNum'] = $value;
1675
1676
        return $this;
1677
    }
1678
1679
    /**
1680
     * @param string $value
1681
     *
1682
     * @return $this
1683
     */
1684
    public function withBlockchainRegionId($value)
1685
    {
1686
        $this->data['BlockchainRegionId'] = $value;
1687
        $this->options['form_params']['BlockchainRegionId'] = $value;
1688
1689
        return $this;
1690
    }
1691
1692
    /**
1693
     * @param string $value
1694
     *
1695
     * @return $this
1696
     */
1697
    public function withTlsAlgo($value)
1698
    {
1699
        $this->data['TlsAlgo'] = $value;
1700
        $this->options['form_params']['TlsAlgo'] = $value;
1701
1702
        return $this;
1703
    }
1704
1705
    /**
1706
     * @param string $value
1707
     *
1708
     * @return $this
1709
     */
1710
    public function withMerkleTreeSuit($value)
1711
    {
1712
        $this->data['MerkleTreeSuit'] = $value;
1713
        $this->options['form_params']['MerkleTreeSuit'] = $value;
1714
1715
        return $this;
1716
    }
1717
1718
    /**
1719
     * @param string $value
1720
     *
1721
     * @return $this
1722
     */
1723
    public function withConsortiumId($value)
1724
    {
1725
        $this->data['ConsortiumId'] = $value;
1726
        $this->options['form_params']['ConsortiumId'] = $value;
1727
1728
        return $this;
1729
    }
1730
}
1731
1732
/**
1733
 * @method string getBizid()
1734
 * @method string getBid()
1735
 * @method string getOperation()
1736
 * @method string getUserName()
1737
 */
1738
class ResetAntChainUserCertificate extends Rpc
1739
{
1740
1741
    /**
1742
     * @param string $value
1743
     *
1744
     * @return $this
1745
     */
1746
    public function withBizid($value)
1747
    {
1748
        $this->data['Bizid'] = $value;
1749
        $this->options['form_params']['Bizid'] = $value;
1750
1751
        return $this;
1752
    }
1753
1754
    /**
1755
     * @param string $value
1756
     *
1757
     * @return $this
1758
     */
1759
    public function withBid($value)
1760
    {
1761
        $this->data['Bid'] = $value;
1762
        $this->options['form_params']['Bid'] = $value;
1763
1764
        return $this;
1765
    }
1766
1767
    /**
1768
     * @param string $value
1769
     *
1770
     * @return $this
1771
     */
1772
    public function withOperation($value)
1773
    {
1774
        $this->data['Operation'] = $value;
1775
        $this->options['form_params']['Operation'] = $value;
1776
1777
        return $this;
1778
    }
1779
1780
    /**
1781
     * @param string $value
1782
     *
1783
     * @return $this
1784
     */
1785
    public function withUserName($value)
1786
    {
1787
        $this->data['UserName'] = $value;
1788
        $this->options['form_params']['UserName'] = $value;
1789
1790
        return $this;
1791
    }
1792
}
1793
1794
/**
1795
 * @method string getBizid()
1796
 */
1797
class DescribeAntChainLatestBlocks extends Rpc
1798
{
1799
1800
    /**
1801
     * @param string $value
1802
     *
1803
     * @return $this
1804
     */
1805
    public function withBizid($value)
1806
    {
1807
        $this->data['Bizid'] = $value;
1808
        $this->options['form_params']['Bizid'] = $value;
1809
1810
        return $this;
1811
    }
1812
}
1813
1814
/**
1815
 * @method string getBizid()
1816
 * @method string getName()
1817
 * @method string getConsortiumId()
1818
 */
1819
class UpdateAntChain extends Rpc
1820
{
1821
1822
    /** @var string */
1823
    public $method = 'PUT';
1824
1825
    /**
1826
     * @param string $value
1827
     *
1828
     * @return $this
1829
     */
1830
    public function withBizid($value)
1831
    {
1832
        $this->data['Bizid'] = $value;
1833
        $this->options['form_params']['Bizid'] = $value;
1834
1835
        return $this;
1836
    }
1837
1838
    /**
1839
     * @param string $value
1840
     *
1841
     * @return $this
1842
     */
1843
    public function withName($value)
1844
    {
1845
        $this->data['Name'] = $value;
1846
        $this->options['form_params']['Name'] = $value;
1847
1848
        return $this;
1849
    }
1850
1851
    /**
1852
     * @param string $value
1853
     *
1854
     * @return $this
1855
     */
1856
    public function withConsortiumId($value)
1857
    {
1858
        $this->data['ConsortiumId'] = $value;
1859
        $this->options['form_params']['ConsortiumId'] = $value;
1860
1861
        return $this;
1862
    }
1863
}
1864
1865
/**
1866
 * @method string getBizid()
1867
 */
1868
class DescribeAntChainLatestTransactionDigests extends Rpc
1869
{
1870
1871
    /**
1872
     * @param string $value
1873
     *
1874
     * @return $this
1875
     */
1876
    public function withBizid($value)
1877
    {
1878
        $this->data['Bizid'] = $value;
1879
        $this->options['form_params']['Bizid'] = $value;
1880
1881
        return $this;
1882
    }
1883
}
1884
1885
/**
1886
 * @method string getBizid()
1887
 * @method string getHash()
1888
 */
1889
class DescribeAntChainTransaction extends Rpc
1890
{
1891
1892
    /**
1893
     * @param string $value
1894
     *
1895
     * @return $this
1896
     */
1897
    public function withBizid($value)
1898
    {
1899
        $this->data['Bizid'] = $value;
1900
        $this->options['form_params']['Bizid'] = $value;
1901
1902
        return $this;
1903
    }
1904
1905
    /**
1906
     * @param string $value
1907
     *
1908
     * @return $this
1909
     */
1910
    public function withHash($value)
1911
    {
1912
        $this->data['Hash'] = $value;
1913
        $this->options['form_params']['Hash'] = $value;
1914
1915
        return $this;
1916
    }
1917
}
1918
1919
/**
1920
 * @method string getLocale()
1921
 */
1922
class DescribeAntChainRegionNames extends Rpc
1923
{
1924
1925
    /** @var string */
1926
    public $method = 'PUT';
1927
1928
    /**
1929
     * @param string $value
1930
     *
1931
     * @return $this
1932
     */
1933
    public function withLocale($value)
1934
    {
1935
        $this->data['Locale'] = $value;
1936
        $this->options['form_params']['Locale'] = $value;
1937
1938
        return $this;
1939
    }
1940
}
1941
1942
class DescribeAntChainRegionsForSale extends Rpc
1943
{
1944
1945
    /** @var string */
1946
    public $method = 'PUT';
1947
}
1948
1949
class DescribeAntChainResourceTypes extends Rpc
1950
{
1951
1952
    /** @var string */
1953
    public $method = 'PUT';
1954
}
1955
1956
/**
1957
 * @method string getIdentity()
1958
 * @method string getBizid()
1959
 * @method string getPublicKey()
1960
 * @method string getRecoveryKey()
1961
 */
1962
class CreateOwnAccount extends Rpc
1963
{
1964
1965
    /** @var string */
1966
    public $method = 'PUT';
1967
1968
    /**
1969
     * @param string $value
1970
     *
1971
     * @return $this
1972
     */
1973
    public function withIdentity($value)
1974
    {
1975
        $this->data['Identity'] = $value;
1976
        $this->options['form_params']['Identity'] = $value;
1977
1978
        return $this;
1979
    }
1980
1981
    /**
1982
     * @param string $value
1983
     *
1984
     * @return $this
1985
     */
1986
    public function withBizid($value)
1987
    {
1988
        $this->data['Bizid'] = $value;
1989
        $this->options['form_params']['Bizid'] = $value;
1990
1991
        return $this;
1992
    }
1993
1994
    /**
1995
     * @param string $value
1996
     *
1997
     * @return $this
1998
     */
1999
    public function withPublicKey($value)
2000
    {
2001
        $this->data['PublicKey'] = $value;
2002
        $this->options['form_params']['PublicKey'] = $value;
2003
2004
        return $this;
2005
    }
2006
2007
    /**
2008
     * @param string $value
2009
     *
2010
     * @return $this
2011
     */
2012
    public function withRecoveryKey($value)
2013
    {
2014
        $this->data['RecoveryKey'] = $value;
2015
        $this->options['form_params']['RecoveryKey'] = $value;
2016
2017
        return $this;
2018
    }
2019
}
2020
2021
/**
2022
 * @method string getBizid()
2023
 */
2024
class DescribeMemberRole extends Rpc
2025
{
2026
2027
    /**
2028
     * @param string $value
2029
     *
2030
     * @return $this
2031
     */
2032
    public function withBizid($value)
2033
    {
2034
        $this->data['Bizid'] = $value;
2035
        $this->options['form_params']['Bizid'] = $value;
2036
2037
        return $this;
2038
    }
2039
}
2040
2041
/**
2042
 * @method string getAlipayAuthCode()
2043
 * @method string getBizid()
2044
 * @method string getHash()
2045
 */
2046
class DescribeTransactionFor2CBrowser extends Rpc
2047
{
2048
2049
    /**
2050
     * @param string $value
2051
     *
2052
     * @return $this
2053
     */
2054
    public function withAlipayAuthCode($value)
2055
    {
2056
        $this->data['AlipayAuthCode'] = $value;
2057
        $this->options['form_params']['AlipayAuthCode'] = $value;
2058
2059
        return $this;
2060
    }
2061
2062
    /**
2063
     * @param string $value
2064
     *
2065
     * @return $this
2066
     */
2067
    public function withBizid($value)
2068
    {
2069
        $this->data['Bizid'] = $value;
2070
        $this->options['form_params']['Bizid'] = $value;
2071
2072
        return $this;
2073
    }
2074
2075
    /**
2076
     * @param string $value
2077
     *
2078
     * @return $this
2079
     */
2080
    public function withHash($value)
2081
    {
2082
        $this->data['Hash'] = $value;
2083
        $this->options['form_params']['Hash'] = $value;
2084
2085
        return $this;
2086
    }
2087
}
2088
2089
/**
2090
 * @method string getBizid()
2091
 * @method string getHash()
2092
 */
2093
class DescribeTransactionQRCode extends Rpc
2094
{
2095
2096
    /**
2097
     * @param string $value
2098
     *
2099
     * @return $this
2100
     */
2101
    public function withBizid($value)
2102
    {
2103
        $this->data['Bizid'] = $value;
2104
        $this->options['form_params']['Bizid'] = $value;
2105
2106
        return $this;
2107
    }
2108
2109
    /**
2110
     * @param string $value
2111
     *
2112
     * @return $this
2113
     */
2114
    public function withHash($value)
2115
    {
2116
        $this->data['Hash'] = $value;
2117
        $this->options['form_params']['Hash'] = $value;
2118
2119
        return $this;
2120
    }
2121
}
2122
2123
/**
2124
 * @method string getAlipayAuthCode()
2125
 * @method string getBizid()
2126
 * @method string getHash()
2127
 */
2128
class DescribeTransactionReceiptFor2CBrowser extends Rpc
2129
{
2130
2131
    /**
2132
     * @param string $value
2133
     *
2134
     * @return $this
2135
     */
2136
    public function withAlipayAuthCode($value)
2137
    {
2138
        $this->data['AlipayAuthCode'] = $value;
2139
        $this->options['form_params']['AlipayAuthCode'] = $value;
2140
2141
        return $this;
2142
    }
2143
2144
    /**
2145
     * @param string $value
2146
     *
2147
     * @return $this
2148
     */
2149
    public function withBizid($value)
2150
    {
2151
        $this->data['Bizid'] = $value;
2152
        $this->options['form_params']['Bizid'] = $value;
2153
2154
        return $this;
2155
    }
2156
2157
    /**
2158
     * @param string $value
2159
     *
2160
     * @return $this
2161
     */
2162
    public function withHash($value)
2163
    {
2164
        $this->data['Hash'] = $value;
2165
        $this->options['form_params']['Hash'] = $value;
2166
2167
        return $this;
2168
    }
2169
}
2170
2171
/**
2172
 * @method string getBizid()
2173
 */
2174
class DescribeQRCodeAuthority extends Rpc
2175
{
2176
2177
    /**
2178
     * @param string $value
2179
     *
2180
     * @return $this
2181
     */
2182
    public function withBizid($value)
2183
    {
2184
        $this->data['Bizid'] = $value;
2185
        $this->options['form_params']['Bizid'] = $value;
2186
2187
        return $this;
2188
    }
2189
}
2190
2191
/**
2192
 * @method string getAuthorized()
2193
 * @method string getBizid()
2194
 */
2195
class UpdateQRCodeAuthority extends Rpc
2196
{
2197
2198
    /**
2199
     * @param string $value
2200
     *
2201
     * @return $this
2202
     */
2203
    public function withAuthorized($value)
2204
    {
2205
        $this->data['Authorized'] = $value;
2206
        $this->options['form_params']['Authorized'] = $value;
2207
2208
        return $this;
2209
    }
2210
2211
    /**
2212
     * @param string $value
2213
     *
2214
     * @return $this
2215
     */
2216
    public function withBizid($value)
2217
    {
2218
        $this->data['Bizid'] = $value;
2219
        $this->options['form_params']['Bizid'] = $value;
2220
2221
        return $this;
2222
    }
2223
}
2224
2225
/**
2226
 * @method string getBizid()
2227
 */
2228
class DescribeQRCodeAccessLog extends Rpc
2229
{
2230
2231
    /**
2232
     * @param string $value
2233
     *
2234
     * @return $this
2235
     */
2236
    public function withBizid($value)
2237
    {
2238
        $this->data['Bizid'] = $value;
2239
        $this->options['form_params']['Bizid'] = $value;
2240
2241
        return $this;
2242
    }
2243
}
2244
2245
/**
2246
 * @method string getLocale()
2247
 */
2248
class DescribeAntRegions extends Rpc
2249
{
2250
2251
    /** @var string */
2252
    public $method = 'PUT';
2253
2254
    /**
2255
     * @param string $value
2256
     *
2257
     * @return $this
2258
     */
2259
    public function withLocale($value)
2260
    {
2261
        $this->data['Locale'] = $value;
2262
        $this->options['form_params']['Locale'] = $value;
2263
2264
        return $this;
2265
    }
2266
}
2267
2268
/**
2269
 * @method string getPurpose()
2270
 * @method $this withPurpose($value)
2271
 */
2272
class DescribeBlockchainConfigOption extends Rpc
2273
{
2274
2275
    /** @var string */
2276
    public $method = 'PUT';
2277
}
2278
2279
/**
2280
 * @method string getBizid()
2281
 */
2282
class DescribeDownloadPathsOfContractChain extends Rpc
2283
{
2284
2285
    /**
2286
     * @param string $value
2287
     *
2288
     * @return $this
2289
     */
2290
    public function withBizid($value)
2291
    {
2292
        $this->data['Bizid'] = $value;
2293
        $this->options['form_params']['Bizid'] = $value;
2294
2295
        return $this;
2296
    }
2297
}
2298
2299
/**
2300
 * @method string getBizid()
2301
 */
2302
class DescribeDownloadPathsOfNotaryChain extends Rpc
2303
{
2304
2305
    /**
2306
     * @param string $value
2307
     *
2308
     * @return $this
2309
     */
2310
    public function withBizid($value)
2311
    {
2312
        $this->data['Bizid'] = $value;
2313
        $this->options['form_params']['Bizid'] = $value;
2314
2315
        return $this;
2316
    }
2317
}
2318
2319
/**
2320
 * @method string getBizid()
2321
 */
2322
class DescribeLatest15Blocks extends Rpc
2323
{
2324
2325
    /**
2326
     * @param string $value
2327
     *
2328
     * @return $this
2329
     */
2330
    public function withBizid($value)
2331
    {
2332
        $this->data['Bizid'] = $value;
2333
        $this->options['form_params']['Bizid'] = $value;
2334
2335
        return $this;
2336
    }
2337
}
2338
2339
/**
2340
 * @method string getBizid()
2341
 */
2342
class DescribeLatest15TransDigests extends Rpc
2343
{
2344
2345
    /**
2346
     * @param string $value
2347
     *
2348
     * @return $this
2349
     */
2350
    public function withBizid($value)
2351
    {
2352
        $this->data['Bizid'] = $value;
2353
        $this->options['form_params']['Bizid'] = $value;
2354
2355
        return $this;
2356
    }
2357
}
2358
2359
/**
2360
 * @method string getBizid()
2361
 * @method string getNewName()
2362
 */
2363
class RenameBlockchain extends Rpc
2364
{
2365
2366
    /** @var string */
2367
    public $method = 'PUT';
2368
2369
    /**
2370
     * @param string $value
2371
     *
2372
     * @return $this
2373
     */
2374
    public function withBizid($value)
2375
    {
2376
        $this->data['Bizid'] = $value;
2377
        $this->options['form_params']['Bizid'] = $value;
2378
2379
        return $this;
2380
    }
2381
2382
    /**
2383
     * @param string $value
2384
     *
2385
     * @return $this
2386
     */
2387
    public function withNewName($value)
2388
    {
2389
        $this->data['NewName'] = $value;
2390
        $this->options['form_params']['NewName'] = $value;
2391
2392
        return $this;
2393
    }
2394
}
2395
2396
/**
2397
 * @method string getCurrent()
2398
 * @method string getBizid()
2399
 * @method string getPageSize()
2400
 */
2401
class DescribeMembers extends Rpc
2402
{
2403
2404
    /**
2405
     * @param string $value
2406
     *
2407
     * @return $this
2408
     */
2409
    public function withCurrent($value)
2410
    {
2411
        $this->data['Current'] = $value;
2412
        $this->options['form_params']['Current'] = $value;
2413
2414
        return $this;
2415
    }
2416
2417
    /**
2418
     * @param string $value
2419
     *
2420
     * @return $this
2421
     */
2422
    public function withBizid($value)
2423
    {
2424
        $this->data['Bizid'] = $value;
2425
        $this->options['form_params']['Bizid'] = $value;
2426
2427
        return $this;
2428
    }
2429
2430
    /**
2431
     * @param string $value
2432
     *
2433
     * @return $this
2434
     */
2435
    public function withPageSize($value)
2436
    {
2437
        $this->data['PageSize'] = $value;
2438
        $this->options['form_params']['PageSize'] = $value;
2439
2440
        return $this;
2441
    }
2442
}
2443
2444
/**
2445
 * @method string getRole()
2446
 * @method string getBizid()
2447
 * @method string getBid()
2448
 * @method string getUserId()
2449
 */
2450
class UpdateMemberRole extends Rpc
2451
{
2452
2453
    /** @var string */
2454
    public $method = 'PUT';
2455
2456
    /**
2457
     * @param string $value
2458
     *
2459
     * @return $this
2460
     */
2461
    public function withRole($value)
2462
    {
2463
        $this->data['Role'] = $value;
2464
        $this->options['form_params']['Role'] = $value;
2465
2466
        return $this;
2467
    }
2468
2469
    /**
2470
     * @param string $value
2471
     *
2472
     * @return $this
2473
     */
2474
    public function withBizid($value)
2475
    {
2476
        $this->data['Bizid'] = $value;
2477
        $this->options['form_params']['Bizid'] = $value;
2478
2479
        return $this;
2480
    }
2481
2482
    /**
2483
     * @param string $value
2484
     *
2485
     * @return $this
2486
     */
2487
    public function withBid($value)
2488
    {
2489
        $this->data['Bid'] = $value;
2490
        $this->options['form_params']['Bid'] = $value;
2491
2492
        return $this;
2493
    }
2494
2495
    /**
2496
     * @param string $value
2497
     *
2498
     * @return $this
2499
     */
2500
    public function withUserId($value)
2501
    {
2502
        $this->data['UserId'] = $value;
2503
        $this->options['form_params']['UserId'] = $value;
2504
2505
        return $this;
2506
    }
2507
}
2508
2509
/**
2510
 * @method string getAccountPubKey()
2511
 * @method string getBizid()
2512
 * @method string getAccount()
2513
 * @method string getAccountRecoverPubKey()
2514
 */
2515
class CreateAccount extends Rpc
2516
{
2517
2518
    /** @var string */
2519
    public $method = 'PUT';
2520
2521
    /**
2522
     * @param string $value
2523
     *
2524
     * @return $this
2525
     */
2526
    public function withAccountPubKey($value)
2527
    {
2528
        $this->data['AccountPubKey'] = $value;
2529
        $this->options['form_params']['AccountPubKey'] = $value;
2530
2531
        return $this;
2532
    }
2533
2534
    /**
2535
     * @param string $value
2536
     *
2537
     * @return $this
2538
     */
2539
    public function withBizid($value)
2540
    {
2541
        $this->data['Bizid'] = $value;
2542
        $this->options['form_params']['Bizid'] = $value;
2543
2544
        return $this;
2545
    }
2546
2547
    /**
2548
     * @param string $value
2549
     *
2550
     * @return $this
2551
     */
2552
    public function withAccount($value)
2553
    {
2554
        $this->data['Account'] = $value;
2555
        $this->options['form_params']['Account'] = $value;
2556
2557
        return $this;
2558
    }
2559
2560
    /**
2561
     * @param string $value
2562
     *
2563
     * @return $this
2564
     */
2565
    public function withAccountRecoverPubKey($value)
2566
    {
2567
        $this->data['AccountRecoverPubKey'] = $value;
2568
        $this->options['form_params']['AccountRecoverPubKey'] = $value;
2569
2570
        return $this;
2571
    }
2572
}
2573
2574
/**
2575
 * @method string getBizid()
2576
 * @method string getAccount()
2577
 */
2578
class FreezeAccount extends Rpc
2579
{
2580
2581
    /** @var string */
2582
    public $method = 'PUT';
2583
2584
    /**
2585
     * @param string $value
2586
     *
2587
     * @return $this
2588
     */
2589
    public function withBizid($value)
2590
    {
2591
        $this->data['Bizid'] = $value;
2592
        $this->options['form_params']['Bizid'] = $value;
2593
2594
        return $this;
2595
    }
2596
2597
    /**
2598
     * @param string $value
2599
     *
2600
     * @return $this
2601
     */
2602
    public function withAccount($value)
2603
    {
2604
        $this->data['Account'] = $value;
2605
        $this->options['form_params']['Account'] = $value;
2606
2607
        return $this;
2608
    }
2609
}
2610
2611
/**
2612
 * @method string getBizid()
2613
 * @method string getAccount()
2614
 */
2615
class UnfreezeAccount extends Rpc
2616
{
2617
2618
    /** @var string */
2619
    public $method = 'PUT';
2620
2621
    /**
2622
     * @param string $value
2623
     *
2624
     * @return $this
2625
     */
2626
    public function withBizid($value)
2627
    {
2628
        $this->data['Bizid'] = $value;
2629
        $this->options['form_params']['Bizid'] = $value;
2630
2631
        return $this;
2632
    }
2633
2634
    /**
2635
     * @param string $value
2636
     *
2637
     * @return $this
2638
     */
2639
    public function withAccount($value)
2640
    {
2641
        $this->data['Account'] = $value;
2642
        $this->options['form_params']['Account'] = $value;
2643
2644
        return $this;
2645
    }
2646
}
2647
2648
/**
2649
 * @method string getId()
2650
 */
2651
class DescribeEthereum extends Rpc
2652
{
2653
2654
    /** @var string */
2655
    public $method = 'PUT';
2656
2657
    /**
2658
     * @param string $value
2659
     *
2660
     * @return $this
2661
     */
2662
    public function withId($value)
2663
    {
2664
        $this->data['Id'] = $value;
2665
        $this->options['form_params']['Id'] = $value;
2666
2667
        return $this;
2668
    }
2669
}
2670
2671
/**
2672
 * @method string getId()
2673
 */
2674
class DescribeEthereumNode extends Rpc
2675
{
2676
2677
    /** @var string */
2678
    public $method = 'PUT';
2679
2680
    /**
2681
     * @param string $value
2682
     *
2683
     * @return $this
2684
     */
2685
    public function withId($value)
2686
    {
2687
        $this->data['Id'] = $value;
2688
        $this->options['form_params']['Id'] = $value;
2689
2690
        return $this;
2691
    }
2692
}
2693
2694
/**
2695
 * @method string getChaincodeId()
2696
 * @method string getLocation()
2697
 */
2698
class DescribeChaincodeCollectionConfig extends Rpc
2699
{
2700
2701
    /**
2702
     * @param string $value
2703
     *
2704
     * @return $this
2705
     */
2706
    public function withChaincodeId($value)
2707
    {
2708
        $this->data['ChaincodeId'] = $value;
2709
        $this->options['form_params']['ChaincodeId'] = $value;
2710
2711
        return $this;
2712
    }
2713
2714
    /**
2715
     * @param string $value
2716
     *
2717
     * @return $this
2718
     */
2719
    public function withLocation($value)
2720
    {
2721
        $this->data['Location'] = $value;
2722
        $this->options['form_params']['Location'] = $value;
2723
2724
        return $this;
2725
    }
2726
}
2727
2728
/**
2729
 * @method string getEthereumId()
2730
 */
2731
class QueryEthereumDeletable extends Rpc
2732
{
2733
2734
    /** @var string */
2735
    public $method = 'PUT';
2736
2737
    /**
2738
     * @param string $value
2739
     *
2740
     * @return $this
2741
     */
2742
    public function withEthereumId($value)
2743
    {
2744
        $this->data['EthereumId'] = $value;
2745
        $this->options['form_params']['EthereumId'] = $value;
2746
2747
        return $this;
2748
    }
2749
}
2750
2751
/**
2752
 * @method string getEthereumId()
2753
 */
2754
class DestroyEthereum extends Rpc
2755
{
2756
2757
    /** @var string */
2758
    public $method = 'PUT';
2759
2760
    /**
2761
     * @param string $value
2762
     *
2763
     * @return $this
2764
     */
2765
    public function withEthereumId($value)
2766
    {
2767
        $this->data['EthereumId'] = $value;
2768
        $this->options['form_params']['EthereumId'] = $value;
2769
2770
        return $this;
2771
    }
2772
}
2773
2774
/**
2775
 * @method string getEthereumId()
2776
 */
2777
class DescribeEthereumDeletable extends Rpc
2778
{
2779
2780
    /** @var string */
2781
    public $method = 'PUT';
2782
2783
    /**
2784
     * @param string $value
2785
     *
2786
     * @return $this
2787
     */
2788
    public function withEthereumId($value)
2789
    {
2790
        $this->data['EthereumId'] = $value;
2791
        $this->options['form_params']['EthereumId'] = $value;
2792
2793
        return $this;
2794
    }
2795
}
2796
2797
/**
2798
 * @method string getConsensus()
2799
 * @method string getDifficulty()
2800
 * @method array getNode()
2801
 * @method string getName()
2802
 * @method string getGas()
2803
 * @method string getDescription()
2804
 * @method string getNetworkId()
2805
 * @method string getRegion()
2806
 */
2807
class CreateEthereum extends Rpc
2808
{
2809
2810
    /** @var string */
2811
    public $method = 'PUT';
2812
2813
    /**
2814
     * @param string $value
2815
     *
2816
     * @return $this
2817
     */
2818
    public function withConsensus($value)
2819
    {
2820
        $this->data['Consensus'] = $value;
2821
        $this->options['form_params']['Consensus'] = $value;
2822
2823
        return $this;
2824
    }
2825
2826
    /**
2827
     * @param string $value
2828
     *
2829
     * @return $this
2830
     */
2831
    public function withDifficulty($value)
2832
    {
2833
        $this->data['Difficulty'] = $value;
2834
        $this->options['form_params']['Difficulty'] = $value;
2835
2836
        return $this;
2837
    }
2838
2839
    /**
2840
     * @param array $node
2841
     *
2842
     * @return $this
2843
     */
2844
    public function withNode(array $node)
2845
    {
2846
        $this->data['Node'] = $node;
2847
        foreach ($node as $depth1 => $depth1Value) {
2848
            $this->options['form_params']['Node.' . ($depth1 + 1) . '.Name'] = $depth1Value['Name'];
2849
        }
2850
2851
        return $this;
2852
    }
2853
2854
    /**
2855
     * @param string $value
2856
     *
2857
     * @return $this
2858
     */
2859
    public function withName($value)
2860
    {
2861
        $this->data['Name'] = $value;
2862
        $this->options['form_params']['Name'] = $value;
2863
2864
        return $this;
2865
    }
2866
2867
    /**
2868
     * @param string $value
2869
     *
2870
     * @return $this
2871
     */
2872
    public function withGas($value)
2873
    {
2874
        $this->data['Gas'] = $value;
2875
        $this->options['form_params']['Gas'] = $value;
2876
2877
        return $this;
2878
    }
2879
2880
    /**
2881
     * @param string $value
2882
     *
2883
     * @return $this
2884
     */
2885
    public function withDescription($value)
2886
    {
2887
        $this->data['Description'] = $value;
2888
        $this->options['form_params']['Description'] = $value;
2889
2890
        return $this;
2891
    }
2892
2893
    /**
2894
     * @param string $value
2895
     *
2896
     * @return $this
2897
     */
2898
    public function withNetworkId($value)
2899
    {
2900
        $this->data['NetworkId'] = $value;
2901
        $this->options['form_params']['NetworkId'] = $value;
2902
2903
        return $this;
2904
    }
2905
2906
    /**
2907
     * @param string $value
2908
     *
2909
     * @return $this
2910
     */
2911
    public function withRegion($value)
2912
    {
2913
        $this->data['Region'] = $value;
2914
        $this->options['form_params']['Region'] = $value;
2915
2916
        return $this;
2917
    }
2918
}
2919
2920
class DescribeEthereums extends Rpc
2921
{
2922
2923
    /** @var string */
2924
    public $method = 'PUT';
2925
}
2926
2927
/**
2928
 * @method string getName()
2929
 * @method string getEthereumId()
2930
 * @method string getDescription()
2931
 */
2932
class UpdateEthereum extends Rpc
2933
{
2934
2935
    /** @var string */
2936
    public $method = 'PUT';
2937
2938
    /**
2939
     * @param string $value
2940
     *
2941
     * @return $this
2942
     */
2943
    public function withName($value)
2944
    {
2945
        $this->data['Name'] = $value;
2946
        $this->options['form_params']['Name'] = $value;
2947
2948
        return $this;
2949
    }
2950
2951
    /**
2952
     * @param string $value
2953
     *
2954
     * @return $this
2955
     */
2956
    public function withEthereumId($value)
2957
    {
2958
        $this->data['EthereumId'] = $value;
2959
        $this->options['form_params']['EthereumId'] = $value;
2960
2961
        return $this;
2962
    }
2963
2964
    /**
2965
     * @param string $value
2966
     *
2967
     * @return $this
2968
     */
2969
    public function withDescription($value)
2970
    {
2971
        $this->data['Description'] = $value;
2972
        $this->options['form_params']['Description'] = $value;
2973
2974
        return $this;
2975
    }
2976
}
2977
2978
class DescribeEthereumNodes extends Rpc
2979
{
2980
2981
    /** @var string */
2982
    public $method = 'PUT';
2983
}
2984
2985
/**
2986
 * @method string getNodeName()
2987
 * @method string getDescription()
2988
 * @method string getNodeId()
2989
 */
2990
class UpdateEthereumNode extends Rpc
2991
{
2992
2993
    /** @var string */
2994
    public $method = 'PUT';
2995
2996
    /**
2997
     * @param string $value
2998
     *
2999
     * @return $this
3000
     */
3001
    public function withNodeName($value)
3002
    {
3003
        $this->data['NodeName'] = $value;
3004
        $this->options['form_params']['NodeName'] = $value;
3005
3006
        return $this;
3007
    }
3008
3009
    /**
3010
     * @param string $value
3011
     *
3012
     * @return $this
3013
     */
3014
    public function withDescription($value)
3015
    {
3016
        $this->data['Description'] = $value;
3017
        $this->options['form_params']['Description'] = $value;
3018
3019
        return $this;
3020
    }
3021
3022
    /**
3023
     * @param string $value
3024
     *
3025
     * @return $this
3026
     */
3027
    public function withNodeId($value)
3028
    {
3029
        $this->data['NodeId'] = $value;
3030
        $this->options['form_params']['NodeId'] = $value;
3031
3032
        return $this;
3033
    }
3034
}
3035
3036
/**
3037
 * @method string getNodeName()
3038
 * @method string getEthereumId()
3039
 * @method string getDescription()
3040
 * @method string getExternalNode()
3041
 */
3042
class AddEthereumNode extends Rpc
3043
{
3044
3045
    /** @var string */
3046
    public $method = 'PUT';
3047
3048
    /**
3049
     * @param string $value
3050
     *
3051
     * @return $this
3052
     */
3053
    public function withNodeName($value)
3054
    {
3055
        $this->data['NodeName'] = $value;
3056
        $this->options['form_params']['NodeName'] = $value;
3057
3058
        return $this;
3059
    }
3060
3061
    /**
3062
     * @param string $value
3063
     *
3064
     * @return $this
3065
     */
3066
    public function withEthereumId($value)
3067
    {
3068
        $this->data['EthereumId'] = $value;
3069
        $this->options['form_params']['EthereumId'] = $value;
3070
3071
        return $this;
3072
    }
3073
3074
    /**
3075
     * @param string $value
3076
     *
3077
     * @return $this
3078
     */
3079
    public function withDescription($value)
3080
    {
3081
        $this->data['Description'] = $value;
3082
        $this->options['form_params']['Description'] = $value;
3083
3084
        return $this;
3085
    }
3086
3087
    /**
3088
     * @param string $value
3089
     *
3090
     * @return $this
3091
     */
3092
    public function withExternalNode($value)
3093
    {
3094
        $this->data['ExternalNode'] = $value;
3095
        $this->options['form_params']['ExternalNode'] = $value;
3096
3097
        return $this;
3098
    }
3099
}
3100
3101
/**
3102
 * @method string getNodeId()
3103
 */
3104
class DescribeEthereumNodeInfo extends Rpc
3105
{
3106
3107
    /** @var string */
3108
    public $method = 'PUT';
3109
3110
    /**
3111
     * @param string $value
3112
     *
3113
     * @return $this
3114
     */
3115
    public function withNodeId($value)
3116
    {
3117
        $this->data['NodeId'] = $value;
3118
        $this->options['form_params']['NodeId'] = $value;
3119
3120
        return $this;
3121
    }
3122
}
3123
3124
/**
3125
 * @method string getNodeId()
3126
 */
3127
class DescribeEthereumClientUsers extends Rpc
3128
{
3129
3130
    /** @var string */
3131
    public $method = 'PUT';
3132
3133
    /**
3134
     * @param string $value
3135
     *
3136
     * @return $this
3137
     */
3138
    public function withNodeId($value)
3139
    {
3140
        $this->data['NodeId'] = $value;
3141
        $this->options['form_params']['NodeId'] = $value;
3142
3143
        return $this;
3144
    }
3145
}
3146
3147
/**
3148
 * @method string getPassword()
3149
 * @method string getNodeId()
3150
 * @method string getUsername()
3151
 */
3152
class UpdateEthereumClientUserPassword extends Rpc
3153
{
3154
3155
    /** @var string */
3156
    public $method = 'PUT';
3157
3158
    /**
3159
     * @param string $value
3160
     *
3161
     * @return $this
3162
     */
3163
    public function withPassword($value)
3164
    {
3165
        $this->data['Password'] = $value;
3166
        $this->options['form_params']['Password'] = $value;
3167
3168
        return $this;
3169
    }
3170
3171
    /**
3172
     * @param string $value
3173
     *
3174
     * @return $this
3175
     */
3176
    public function withNodeId($value)
3177
    {
3178
        $this->data['NodeId'] = $value;
3179
        $this->options['form_params']['NodeId'] = $value;
3180
3181
        return $this;
3182
    }
3183
3184
    /**
3185
     * @param string $value
3186
     *
3187
     * @return $this
3188
     */
3189
    public function withUsername($value)
3190
    {
3191
        $this->data['Username'] = $value;
3192
        $this->options['form_params']['Username'] = $value;
3193
3194
        return $this;
3195
    }
3196
}
3197
3198
/**
3199
 * @method string getLines()
3200
 * @method string getNodeId()
3201
 * @method string getTarget()
3202
 */
3203
class DescribeEthereumNodeLogs extends Rpc
3204
{
3205
3206
    /** @var string */
3207
    public $method = 'PUT';
3208
3209
    /**
3210
     * @param string $value
3211
     *
3212
     * @return $this
3213
     */
3214
    public function withLines($value)
3215
    {
3216
        $this->data['Lines'] = $value;
3217
        $this->options['form_params']['Lines'] = $value;
3218
3219
        return $this;
3220
    }
3221
3222
    /**
3223
     * @param string $value
3224
     *
3225
     * @return $this
3226
     */
3227
    public function withNodeId($value)
3228
    {
3229
        $this->data['NodeId'] = $value;
3230
        $this->options['form_params']['NodeId'] = $value;
3231
3232
        return $this;
3233
    }
3234
3235
    /**
3236
     * @param string $value
3237
     *
3238
     * @return $this
3239
     */
3240
    public function withTarget($value)
3241
    {
3242
        $this->data['Target'] = $value;
3243
        $this->options['form_params']['Target'] = $value;
3244
3245
        return $this;
3246
    }
3247
}
3248
3249
/**
3250
 * @method string getEthereumId()
3251
 */
3252
class CreateEthereumInvitation extends Rpc
3253
{
3254
3255
    /** @var string */
3256
    public $method = 'PUT';
3257
3258
    /**
3259
     * @param string $value
3260
     *
3261
     * @return $this
3262
     */
3263
    public function withEthereumId($value)
3264
    {
3265
        $this->data['EthereumId'] = $value;
3266
        $this->options['form_params']['EthereumId'] = $value;
3267
3268
        return $this;
3269
    }
3270
}
3271
3272
/**
3273
 * @method string getToken()
3274
 */
3275
class DescribeEthereumInvitaion extends Rpc
3276
{
3277
3278
    /** @var string */
3279
    public $method = 'PUT';
3280
3281
    /**
3282
     * @param string $value
3283
     *
3284
     * @return $this
3285
     */
3286
    public function withToken($value)
3287
    {
3288
        $this->data['Token'] = $value;
3289
        $this->options['form_params']['Token'] = $value;
3290
3291
        return $this;
3292
    }
3293
}
3294
3295
/**
3296
 * @method string getCode()
3297
 * @method string getToken()
3298
 */
3299
class AcceptEthereumInvitation extends Rpc
3300
{
3301
3302
    /** @var string */
3303
    public $method = 'PUT';
3304
3305
    /**
3306
     * @param string $value
3307
     *
3308
     * @return $this
3309
     */
3310
    public function withCode($value)
3311
    {
3312
        $this->data['Code'] = $value;
3313
        $this->options['form_params']['Code'] = $value;
3314
3315
        return $this;
3316
    }
3317
3318
    /**
3319
     * @param string $value
3320
     *
3321
     * @return $this
3322
     */
3323
    public function withToken($value)
3324
    {
3325
        $this->data['Token'] = $value;
3326
        $this->options['form_params']['Token'] = $value;
3327
3328
        return $this;
3329
    }
3330
}
3331
3332
/**
3333
 * @method string getId()
3334
 */
3335
class DescribeNetstatURL extends Rpc
3336
{
3337
3338
    /** @var string */
3339
    public $method = 'PUT';
3340
3341
    /**
3342
     * @param string $value
3343
     *
3344
     * @return $this
3345
     */
3346
    public function withId($value)
3347
    {
3348
        $this->data['Id'] = $value;
3349
        $this->options['form_params']['Id'] = $value;
3350
3351
        return $this;
3352
    }
3353
}
3354
3355
/**
3356
 * @method string getNodeId()
3357
 */
3358
class DescribeExplorerURL extends Rpc
3359
{
3360
3361
    /** @var string */
3362
    public $method = 'PUT';
3363
3364
    /**
3365
     * @param string $value
3366
     *
3367
     * @return $this
3368
     */
3369
    public function withNodeId($value)
3370
    {
3371
        $this->data['NodeId'] = $value;
3372
        $this->options['form_params']['NodeId'] = $value;
3373
3374
        return $this;
3375
    }
3376
}
3377
3378
/**
3379
 * @method string getId()
3380
 * @method array getInvitee()
3381
 */
3382
class ApproveEthereumInvitee extends Rpc
3383
{
3384
3385
    /** @var string */
3386
    public $method = 'PUT';
3387
3388
    /**
3389
     * @param string $value
3390
     *
3391
     * @return $this
3392
     */
3393
    public function withId($value)
3394
    {
3395
        $this->data['Id'] = $value;
3396
        $this->options['form_params']['Id'] = $value;
3397
3398
        return $this;
3399
    }
3400
3401
    /**
3402
     * @param array $invitee
3403
     *
3404
     * @return $this
3405
     */
3406
    public function withInvitee(array $invitee)
3407
    {
3408
        $this->data['Invitee'] = $invitee;
3409
        foreach ($invitee as $depth1 => $depth1Value) {
3410
            $this->options['form_params']['Invitee.' . ($depth1 + 1) . '.Id'] = $depth1Value['Id'];
3411
        }
3412
3413
        return $this;
3414
    }
3415
}
3416
3417
/**
3418
 * @method string getId()
3419
 */
3420
class DescribeEthereumInvitee extends Rpc
3421
{
3422
3423
    /** @var string */
3424
    public $method = 'PUT';
3425
3426
    /**
3427
     * @param string $value
3428
     *
3429
     * @return $this
3430
     */
3431
    public function withId($value)
3432
    {
3433
        $this->data['Id'] = $value;
3434
        $this->options['form_params']['Id'] = $value;
3435
3436
        return $this;
3437
    }
3438
}
3439
3440
/**
3441
 * @method string getNodeId()
3442
 */
3443
class DescribeEthereumNodeConfiguration extends Rpc
3444
{
3445
3446
    /** @var string */
3447
    public $method = 'PUT';
3448
3449
    /**
3450
     * @param string $value
3451
     *
3452
     * @return $this
3453
     */
3454
    public function withNodeId($value)
3455
    {
3456
        $this->data['NodeId'] = $value;
3457
        $this->options['form_params']['NodeId'] = $value;
3458
3459
        return $this;
3460
    }
3461
}
3462
3463
/**
3464
 * @method string getTMPub()
3465
 * @method string getNodePub()
3466
 * @method string getP2pPort()
3467
 * @method string getWSPort()
3468
 * @method string getIP()
3469
 * @method string getRaftPort()
3470
 * @method string getRpcPort()
3471
 * @method string getTMPort()
3472
 * @method string getNodeId()
3473
 */
3474
class UpdateEthereumNodeConfiguration extends Rpc
3475
{
3476
3477
    /** @var string */
3478
    public $method = 'PUT';
3479
3480
    /**
3481
     * @param string $value
3482
     *
3483
     * @return $this
3484
     */
3485
    public function withTMPub($value)
3486
    {
3487
        $this->data['TMPub'] = $value;
3488
        $this->options['form_params']['TMPub'] = $value;
3489
3490
        return $this;
3491
    }
3492
3493
    /**
3494
     * @param string $value
3495
     *
3496
     * @return $this
3497
     */
3498
    public function withNodePub($value)
3499
    {
3500
        $this->data['NodePub'] = $value;
3501
        $this->options['form_params']['NodePub'] = $value;
3502
3503
        return $this;
3504
    }
3505
3506
    /**
3507
     * @param string $value
3508
     *
3509
     * @return $this
3510
     */
3511
    public function withP2pPort($value)
3512
    {
3513
        $this->data['P2pPort'] = $value;
3514
        $this->options['form_params']['P2pPort'] = $value;
3515
3516
        return $this;
3517
    }
3518
3519
    /**
3520
     * @param string $value
3521
     *
3522
     * @return $this
3523
     */
3524
    public function withWSPort($value)
3525
    {
3526
        $this->data['WSPort'] = $value;
3527
        $this->options['form_params']['WSPort'] = $value;
3528
3529
        return $this;
3530
    }
3531
3532
    /**
3533
     * @param string $value
3534
     *
3535
     * @return $this
3536
     */
3537
    public function withIP($value)
3538
    {
3539
        $this->data['IP'] = $value;
3540
        $this->options['form_params']['IP'] = $value;
3541
3542
        return $this;
3543
    }
3544
3545
    /**
3546
     * @param string $value
3547
     *
3548
     * @return $this
3549
     */
3550
    public function withRaftPort($value)
3551
    {
3552
        $this->data['RaftPort'] = $value;
3553
        $this->options['form_params']['RaftPort'] = $value;
3554
3555
        return $this;
3556
    }
3557
3558
    /**
3559
     * @param string $value
3560
     *
3561
     * @return $this
3562
     */
3563
    public function withRpcPort($value)
3564
    {
3565
        $this->data['RpcPort'] = $value;
3566
        $this->options['form_params']['RpcPort'] = $value;
3567
3568
        return $this;
3569
    }
3570
3571
    /**
3572
     * @param string $value
3573
     *
3574
     * @return $this
3575
     */
3576
    public function withTMPort($value)
3577
    {
3578
        $this->data['TMPort'] = $value;
3579
        $this->options['form_params']['TMPort'] = $value;
3580
3581
        return $this;
3582
    }
3583
3584
    /**
3585
     * @param string $value
3586
     *
3587
     * @return $this
3588
     */
3589
    public function withNodeId($value)
3590
    {
3591
        $this->data['NodeId'] = $value;
3592
        $this->options['form_params']['NodeId'] = $value;
3593
3594
        return $this;
3595
    }
3596
}
3597
3598
class DescribeResourceType extends Rpc
3599
{
3600
}
3601
3602
/**
3603
 * @method string getBizid()
3604
 */
3605
class DescribeBlockchainSchema extends Rpc
3606
{
3607
3608
    /**
3609
     * @param string $value
3610
     *
3611
     * @return $this
3612
     */
3613
    public function withBizid($value)
3614
    {
3615
        $this->data['Bizid'] = $value;
3616
        $this->options['form_params']['Bizid'] = $value;
3617
3618
        return $this;
3619
    }
3620
}
3621
3622
/**
3623
 * @method string getCipherSuit()
3624
 * @method string getSize()
3625
 * @method string getMachineNum()
3626
 * @method string getLiveTime()
3627
 * @method string getBizid()
3628
 * @method string getBlockchainType()
3629
 * @method string getBlockchainRegionId()
3630
 * @method string getTlsAlgo()
3631
 * @method string getMerkleTreeSuit()
3632
 */
3633
class CreateBlockchainApplication extends Rpc
3634
{
3635
3636
    /**
3637
     * @param string $value
3638
     *
3639
     * @return $this
3640
     */
3641
    public function withCipherSuit($value)
3642
    {
3643
        $this->data['CipherSuit'] = $value;
3644
        $this->options['form_params']['CipherSuit'] = $value;
3645
3646
        return $this;
3647
    }
3648
3649
    /**
3650
     * @param string $value
3651
     *
3652
     * @return $this
3653
     */
3654
    public function withSize($value)
3655
    {
3656
        $this->data['Size'] = $value;
3657
        $this->options['form_params']['Size'] = $value;
3658
3659
        return $this;
3660
    }
3661
3662
    /**
3663
     * @param string $value
3664
     *
3665
     * @return $this
3666
     */
3667
    public function withMachineNum($value)
3668
    {
3669
        $this->data['MachineNum'] = $value;
3670
        $this->options['form_params']['MachineNum'] = $value;
3671
3672
        return $this;
3673
    }
3674
3675
    /**
3676
     * @param string $value
3677
     *
3678
     * @return $this
3679
     */
3680
    public function withLiveTime($value)
3681
    {
3682
        $this->data['LiveTime'] = $value;
3683
        $this->options['form_params']['LiveTime'] = $value;
3684
3685
        return $this;
3686
    }
3687
3688
    /**
3689
     * @param string $value
3690
     *
3691
     * @return $this
3692
     */
3693
    public function withBizid($value)
3694
    {
3695
        $this->data['Bizid'] = $value;
3696
        $this->options['form_params']['Bizid'] = $value;
3697
3698
        return $this;
3699
    }
3700
3701
    /**
3702
     * @param string $value
3703
     *
3704
     * @return $this
3705
     */
3706
    public function withBlockchainType($value)
3707
    {
3708
        $this->data['BlockchainType'] = $value;
3709
        $this->options['form_params']['BlockchainType'] = $value;
3710
3711
        return $this;
3712
    }
3713
3714
    /**
3715
     * @param string $value
3716
     *
3717
     * @return $this
3718
     */
3719
    public function withBlockchainRegionId($value)
3720
    {
3721
        $this->data['BlockchainRegionId'] = $value;
3722
        $this->options['form_params']['BlockchainRegionId'] = $value;
3723
3724
        return $this;
3725
    }
3726
3727
    /**
3728
     * @param string $value
3729
     *
3730
     * @return $this
3731
     */
3732
    public function withTlsAlgo($value)
3733
    {
3734
        $this->data['TlsAlgo'] = $value;
3735
        $this->options['form_params']['TlsAlgo'] = $value;
3736
3737
        return $this;
3738
    }
3739
3740
    /**
3741
     * @param string $value
3742
     *
3743
     * @return $this
3744
     */
3745
    public function withMerkleTreeSuit($value)
3746
    {
3747
        $this->data['MerkleTreeSuit'] = $value;
3748
        $this->options['form_params']['MerkleTreeSuit'] = $value;
3749
3750
        return $this;
3751
    }
3752
}
3753
3754
class DescribeMySuccessfulApplication extends Rpc
3755
{
3756
}
3757
3758
/**
3759
 * @method string getBizid()
3760
 */
3761
class DownloadSDK2 extends Rpc
3762
{
3763
3764
    /**
3765
     * @param string $value
3766
     *
3767
     * @return $this
3768
     */
3769
    public function withBizid($value)
3770
    {
3771
        $this->data['Bizid'] = $value;
3772
        $this->options['form_params']['Bizid'] = $value;
3773
3774
        return $this;
3775
    }
3776
}
3777
3778
/**
3779
 * @method string getSchemaId()
3780
 * @method string getBizid()
3781
 */
3782
class DescribeSchemaDetail extends Rpc
3783
{
3784
3785
    /**
3786
     * @param string $value
3787
     *
3788
     * @return $this
3789
     */
3790
    public function withSchemaId($value)
3791
    {
3792
        $this->data['SchemaId'] = $value;
3793
        $this->options['form_params']['SchemaId'] = $value;
3794
3795
        return $this;
3796
    }
3797
3798
    /**
3799
     * @param string $value
3800
     *
3801
     * @return $this
3802
     */
3803
    public function withBizid($value)
3804
    {
3805
        $this->data['Bizid'] = $value;
3806
        $this->options['form_params']['Bizid'] = $value;
3807
3808
        return $this;
3809
    }
3810
}
3811
3812
/**
3813
 * @method string getBizid()
3814
 * @method string getHeight()
3815
 */
3816
class DescribeBlock extends Rpc
3817
{
3818
3819
    /**
3820
     * @param string $value
3821
     *
3822
     * @return $this
3823
     */
3824
    public function withBizid($value)
3825
    {
3826
        $this->data['Bizid'] = $value;
3827
        $this->options['form_params']['Bizid'] = $value;
3828
3829
        return $this;
3830
    }
3831
3832
    /**
3833
     * @param string $value
3834
     *
3835
     * @return $this
3836
     */
3837
    public function withHeight($value)
3838
    {
3839
        $this->data['Height'] = $value;
3840
        $this->options['form_params']['Height'] = $value;
3841
3842
        return $this;
3843
    }
3844
}
3845
3846
/**
3847
 * @method string getPeriod()
3848
 * @method string getMetric()
3849
 * @method string getPort()
3850
 * @method string getBizid()
3851
 * @method $this withBizid($value)
3852
 * @method string getTimeArea()
3853
 * @method string getInnerIp()
3854
 */
3855
class DescribeMetric extends Rpc
3856
{
3857
3858
    /**
3859
     * @param string $value
3860
     *
3861
     * @return $this
3862
     */
3863
    public function withPeriod($value)
3864
    {
3865
        $this->data['Period'] = $value;
3866
        $this->options['form_params']['Period'] = $value;
3867
3868
        return $this;
3869
    }
3870
3871
    /**
3872
     * @param string $value
3873
     *
3874
     * @return $this
3875
     */
3876
    public function withMetric($value)
3877
    {
3878
        $this->data['Metric'] = $value;
3879
        $this->options['form_params']['Metric'] = $value;
3880
3881
        return $this;
3882
    }
3883
3884
    /**
3885
     * @param string $value
3886
     *
3887
     * @return $this
3888
     */
3889
    public function withPort($value)
3890
    {
3891
        $this->data['Port'] = $value;
3892
        $this->options['form_params']['Port'] = $value;
3893
3894
        return $this;
3895
    }
3896
3897
    /**
3898
     * @param string $value
3899
     *
3900
     * @return $this
3901
     */
3902
    public function withTimeArea($value)
3903
    {
3904
        $this->data['TimeArea'] = $value;
3905
        $this->options['form_params']['TimeArea'] = $value;
3906
3907
        return $this;
3908
    }
3909
3910
    /**
3911
     * @param string $value
3912
     *
3913
     * @return $this
3914
     */
3915
    public function withInnerIp($value)
3916
    {
3917
        $this->data['InnerIp'] = $value;
3918
        $this->options['form_params']['InnerIp'] = $value;
3919
3920
        return $this;
3921
    }
3922
}
3923
3924
/**
3925
 * @method string getBizid()
3926
 * @method string getHash()
3927
 */
3928
class DescribeTransaction extends Rpc
3929
{
3930
3931
    /**
3932
     * @param string $value
3933
     *
3934
     * @return $this
3935
     */
3936
    public function withBizid($value)
3937
    {
3938
        $this->data['Bizid'] = $value;
3939
        $this->options['form_params']['Bizid'] = $value;
3940
3941
        return $this;
3942
    }
3943
3944
    /**
3945
     * @param string $value
3946
     *
3947
     * @return $this
3948
     */
3949
    public function withHash($value)
3950
    {
3951
        $this->data['Hash'] = $value;
3952
        $this->options['form_params']['Hash'] = $value;
3953
3954
        return $this;
3955
    }
3956
}
3957
3958
/**
3959
 * @method string getBizid()
3960
 */
3961
class ResetCertificate extends Rpc
3962
{
3963
3964
    /**
3965
     * @param string $value
3966
     *
3967
     * @return $this
3968
     */
3969
    public function withBizid($value)
3970
    {
3971
        $this->data['Bizid'] = $value;
3972
        $this->options['form_params']['Bizid'] = $value;
3973
3974
        return $this;
3975
    }
3976
}
3977
3978
/**
3979
 * @method string getCurrent()
3980
 * @method string getBizid()
3981
 * @method string getPageSize()
3982
 * @method string getStatus()
3983
 */
3984
class DescribeApplies extends Rpc
3985
{
3986
3987
    /**
3988
     * @param string $value
3989
     *
3990
     * @return $this
3991
     */
3992
    public function withCurrent($value)
3993
    {
3994
        $this->data['Current'] = $value;
3995
        $this->options['form_params']['Current'] = $value;
3996
3997
        return $this;
3998
    }
3999
4000
    /**
4001
     * @param string $value
4002
     *
4003
     * @return $this
4004
     */
4005
    public function withBizid($value)
4006
    {
4007
        $this->data['Bizid'] = $value;
4008
        $this->options['form_params']['Bizid'] = $value;
4009
4010
        return $this;
4011
    }
4012
4013
    /**
4014
     * @param string $value
4015
     *
4016
     * @return $this
4017
     */
4018
    public function withPageSize($value)
4019
    {
4020
        $this->data['PageSize'] = $value;
4021
        $this->options['form_params']['PageSize'] = $value;
4022
4023
        return $this;
4024
    }
4025
4026
    /**
4027
     * @param string $value
4028
     *
4029
     * @return $this
4030
     */
4031
    public function withStatus($value)
4032
    {
4033
        $this->data['Status'] = $value;
4034
        $this->options['form_params']['Status'] = $value;
4035
4036
        return $this;
4037
    }
4038
}
4039
4040
/**
4041
 * @method string getBizid()
4042
 */
4043
class DescribeBcSchema extends Rpc
4044
{
4045
4046
    /**
4047
     * @param string $value
4048
     *
4049
     * @return $this
4050
     */
4051
    public function withBizid($value)
4052
    {
4053
        $this->data['Bizid'] = $value;
4054
        $this->options['form_params']['Bizid'] = $value;
4055
4056
        return $this;
4057
    }
4058
}
4059
4060
/**
4061
 * @method string getCurrent()
4062
 * @method string getPageSize()
4063
 */
4064
class DescribeBlockchainCreateTask extends Rpc
4065
{
4066
4067
    /**
4068
     * @param string $value
4069
     *
4070
     * @return $this
4071
     */
4072
    public function withCurrent($value)
4073
    {
4074
        $this->data['Current'] = $value;
4075
        $this->options['form_params']['Current'] = $value;
4076
4077
        return $this;
4078
    }
4079
4080
    /**
4081
     * @param string $value
4082
     *
4083
     * @return $this
4084
     */
4085
    public function withPageSize($value)
4086
    {
4087
        $this->data['PageSize'] = $value;
4088
        $this->options['form_params']['PageSize'] = $value;
4089
4090
        return $this;
4091
    }
4092
}
4093
4094
/**
4095
 * @method string getBizid()
4096
 */
4097
class DescribeBlockchainInfo extends Rpc
4098
{
4099
4100
    /**
4101
     * @param string $value
4102
     *
4103
     * @return $this
4104
     */
4105
    public function withBizid($value)
4106
    {
4107
        $this->data['Bizid'] = $value;
4108
        $this->options['form_params']['Bizid'] = $value;
4109
4110
        return $this;
4111
    }
4112
}
4113
4114
class DescribeMyBlockchains extends Rpc
4115
{
4116
}
4117
4118
class DescribeMySuccessApplies extends Rpc
4119
{
4120
}
4121
4122
/**
4123
 * @method string getBizid()
4124
 */
4125
class DescribeOssProperties extends Rpc
4126
{
4127
4128
    /**
4129
     * @param string $value
4130
     *
4131
     * @return $this
4132
     */
4133
    public function withBizid($value)
4134
    {
4135
        $this->data['Bizid'] = $value;
4136
        $this->options['form_params']['Bizid'] = $value;
4137
4138
        return $this;
4139
    }
4140
}
4141
4142
class DescribeTemplates extends Rpc
4143
{
4144
}
4145
4146
/**
4147
 * @method string getBizid()
4148
 */
4149
class DownloadAll extends Rpc
4150
{
4151
4152
    /**
4153
     * @param string $value
4154
     *
4155
     * @return $this
4156
     */
4157
    public function withBizid($value)
4158
    {
4159
        $this->data['Bizid'] = $value;
4160
        $this->options['form_params']['Bizid'] = $value;
4161
4162
        return $this;
4163
    }
4164
}
4165
4166
/**
4167
 * @method string getOrganizationId()
4168
 * @method $this withOrganizationId($value)
4169
 * @method string getPeerName()
4170
 * @method $this withPeerName($value)
4171
 * @method string getLines()
4172
 * @method $this withLines($value)
4173
 */
4174
class DescribePeerLogs extends Rpc
4175
{
4176
}
4177
4178
/**
4179
 * @method string getLines()
4180
 * @method $this withLines($value)
4181
 * @method string getConsortiumId()
4182
 * @method $this withConsortiumId($value)
4183
 * @method string getOrdererName()
4184
 * @method $this withOrdererName($value)
4185
 */
4186
class DescribeOrdererLogs extends Rpc
4187
{
4188
}
4189
4190
/**
4191
 * @method string getCurrent()
4192
 * @method string getPageSize()
4193
 */
4194
class GetBlockchainCreateTask extends Rpc
4195
{
4196
4197
    /**
4198
     * @param string $value
4199
     *
4200
     * @return $this
4201
     */
4202
    public function withCurrent($value)
4203
    {
4204
        $this->data['Current'] = $value;
4205
        $this->options['form_params']['Current'] = $value;
4206
4207
        return $this;
4208
    }
4209
4210
    /**
4211
     * @param string $value
4212
     *
4213
     * @return $this
4214
     */
4215
    public function withPageSize($value)
4216
    {
4217
        $this->data['PageSize'] = $value;
4218
        $this->options['form_params']['PageSize'] = $value;
4219
4220
        return $this;
4221
    }
4222
}
4223
4224
/**
4225
 * @method string getBizid()
4226
 */
4227
class GetOssProperties extends Rpc
4228
{
4229
4230
    /**
4231
     * @param string $value
4232
     *
4233
     * @return $this
4234
     */
4235
    public function withBizid($value)
4236
    {
4237
        $this->data['Bizid'] = $value;
4238
        $this->options['form_params']['Bizid'] = $value;
4239
4240
        return $this;
4241
    }
4242
}
4243
4244
/**
4245
 * @method string getSchemaName()
4246
 * @method string getSchemaId()
4247
 * @method string getBizid()
4248
 * @method string getDescription()
4249
 * @method string getCategoryConfigs()
4250
 */
4251
class UpdateSchema extends Rpc
4252
{
4253
4254
    /**
4255
     * @param string $value
4256
     *
4257
     * @return $this
4258
     */
4259
    public function withSchemaName($value)
4260
    {
4261
        $this->data['SchemaName'] = $value;
4262
        $this->options['form_params']['SchemaName'] = $value;
4263
4264
        return $this;
4265
    }
4266
4267
    /**
4268
     * @param string $value
4269
     *
4270
     * @return $this
4271
     */
4272
    public function withSchemaId($value)
4273
    {
4274
        $this->data['SchemaId'] = $value;
4275
        $this->options['form_params']['SchemaId'] = $value;
4276
4277
        return $this;
4278
    }
4279
4280
    /**
4281
     * @param string $value
4282
     *
4283
     * @return $this
4284
     */
4285
    public function withBizid($value)
4286
    {
4287
        $this->data['Bizid'] = $value;
4288
        $this->options['form_params']['Bizid'] = $value;
4289
4290
        return $this;
4291
    }
4292
4293
    /**
4294
     * @param string $value
4295
     *
4296
     * @return $this
4297
     */
4298
    public function withDescription($value)
4299
    {
4300
        $this->data['Description'] = $value;
4301
        $this->options['form_params']['Description'] = $value;
4302
4303
        return $this;
4304
    }
4305
4306
    /**
4307
     * @param string $value
4308
     *
4309
     * @return $this
4310
     */
4311
    public function withCategoryConfigs($value)
4312
    {
4313
        $this->data['CategoryConfigs'] = $value;
4314
        $this->options['form_params']['CategoryConfigs'] = $value;
4315
4316
        return $this;
4317
    }
4318
}
4319
4320
/**
4321
 * @method string getSchemaId()
4322
 * @method string getBizid()
4323
 */
4324
class SchemaDetail extends Rpc
4325
{
4326
4327
    /**
4328
     * @param string $value
4329
     *
4330
     * @return $this
4331
     */
4332
    public function withSchemaId($value)
4333
    {
4334
        $this->data['SchemaId'] = $value;
4335
        $this->options['form_params']['SchemaId'] = $value;
4336
4337
        return $this;
4338
    }
4339
4340
    /**
4341
     * @param string $value
4342
     *
4343
     * @return $this
4344
     */
4345
    public function withBizid($value)
4346
    {
4347
        $this->data['Bizid'] = $value;
4348
        $this->options['form_params']['Bizid'] = $value;
4349
4350
        return $this;
4351
    }
4352
}
4353
4354
/**
4355
 * @method string getBizid()
4356
 * @method string getBid()
4357
 * @method string getOperation()
4358
 * @method string getUserName()
4359
 */
4360
class ResetUser extends Rpc
4361
{
4362
4363
    /**
4364
     * @param string $value
4365
     *
4366
     * @return $this
4367
     */
4368
    public function withBizid($value)
4369
    {
4370
        $this->data['Bizid'] = $value;
4371
        $this->options['form_params']['Bizid'] = $value;
4372
4373
        return $this;
4374
    }
4375
4376
    /**
4377
     * @param string $value
4378
     *
4379
     * @return $this
4380
     */
4381
    public function withBid($value)
4382
    {
4383
        $this->data['Bid'] = $value;
4384
        $this->options['form_params']['Bid'] = $value;
4385
4386
        return $this;
4387
    }
4388
4389
    /**
4390
     * @param string $value
4391
     *
4392
     * @return $this
4393
     */
4394
    public function withOperation($value)
4395
    {
4396
        $this->data['Operation'] = $value;
4397
        $this->options['form_params']['Operation'] = $value;
4398
4399
        return $this;
4400
    }
4401
4402
    /**
4403
     * @param string $value
4404
     *
4405
     * @return $this
4406
     */
4407
    public function withUserName($value)
4408
    {
4409
        $this->data['UserName'] = $value;
4410
        $this->options['form_params']['UserName'] = $value;
4411
4412
        return $this;
4413
    }
4414
}
4415
4416
/**
4417
 * @method string getReason()
4418
 * @method string getBizid()
4419
 * @method string getBid()
4420
 * @method string getUserName()
4421
 */
4422
class RejectUser extends Rpc
4423
{
4424
4425
    /**
4426
     * @param string $value
4427
     *
4428
     * @return $this
4429
     */
4430
    public function withReason($value)
4431
    {
4432
        $this->data['Reason'] = $value;
4433
        $this->options['form_params']['Reason'] = $value;
4434
4435
        return $this;
4436
    }
4437
4438
    /**
4439
     * @param string $value
4440
     *
4441
     * @return $this
4442
     */
4443
    public function withBizid($value)
4444
    {
4445
        $this->data['Bizid'] = $value;
4446
        $this->options['form_params']['Bizid'] = $value;
4447
4448
        return $this;
4449
    }
4450
4451
    /**
4452
     * @param string $value
4453
     *
4454
     * @return $this
4455
     */
4456
    public function withBid($value)
4457
    {
4458
        $this->data['Bid'] = $value;
4459
        $this->options['form_params']['Bid'] = $value;
4460
4461
        return $this;
4462
    }
4463
4464
    /**
4465
     * @param string $value
4466
     *
4467
     * @return $this
4468
     */
4469
    public function withUserName($value)
4470
    {
4471
        $this->data['UserName'] = $value;
4472
        $this->options['form_params']['UserName'] = $value;
4473
4474
        return $this;
4475
    }
4476
}
4477
4478
/**
4479
 * @method string getBizid()
4480
 * @method string getHash()
4481
 */
4482
class QueryTransaction extends Rpc
4483
{
4484
4485
    /**
4486
     * @param string $value
4487
     *
4488
     * @return $this
4489
     */
4490
    public function withBizid($value)
4491
    {
4492
        $this->data['Bizid'] = $value;
4493
        $this->options['form_params']['Bizid'] = $value;
4494
4495
        return $this;
4496
    }
4497
4498
    /**
4499
     * @param string $value
4500
     *
4501
     * @return $this
4502
     */
4503
    public function withHash($value)
4504
    {
4505
        $this->data['Hash'] = $value;
4506
        $this->options['form_params']['Hash'] = $value;
4507
4508
        return $this;
4509
    }
4510
}
4511
4512
/**
4513
 * @method string getPeriod()
4514
 * @method string getMetric()
4515
 * @method string getPort()
4516
 * @method string getBizid()
4517
 * @method $this withBizid($value)
4518
 * @method string getTimeArea()
4519
 * @method string getInnerIp()
4520
 */
4521
class QueryMetric extends Rpc
4522
{
4523
4524
    /**
4525
     * @param string $value
4526
     *
4527
     * @return $this
4528
     */
4529
    public function withPeriod($value)
4530
    {
4531
        $this->data['Period'] = $value;
4532
        $this->options['form_params']['Period'] = $value;
4533
4534
        return $this;
4535
    }
4536
4537
    /**
4538
     * @param string $value
4539
     *
4540
     * @return $this
4541
     */
4542
    public function withMetric($value)
4543
    {
4544
        $this->data['Metric'] = $value;
4545
        $this->options['form_params']['Metric'] = $value;
4546
4547
        return $this;
4548
    }
4549
4550
    /**
4551
     * @param string $value
4552
     *
4553
     * @return $this
4554
     */
4555
    public function withPort($value)
4556
    {
4557
        $this->data['Port'] = $value;
4558
        $this->options['form_params']['Port'] = $value;
4559
4560
        return $this;
4561
    }
4562
4563
    /**
4564
     * @param string $value
4565
     *
4566
     * @return $this
4567
     */
4568
    public function withTimeArea($value)
4569
    {
4570
        $this->data['TimeArea'] = $value;
4571
        $this->options['form_params']['TimeArea'] = $value;
4572
4573
        return $this;
4574
    }
4575
4576
    /**
4577
     * @param string $value
4578
     *
4579
     * @return $this
4580
     */
4581
    public function withInnerIp($value)
4582
    {
4583
        $this->data['InnerIp'] = $value;
4584
        $this->options['form_params']['InnerIp'] = $value;
4585
4586
        return $this;
4587
    }
4588
}
4589
4590
/**
4591
 * @method string getBizid()
4592
 * @method string getHeight()
4593
 */
4594
class QueryBlock extends Rpc
4595
{
4596
4597
    /**
4598
     * @param string $value
4599
     *
4600
     * @return $this
4601
     */
4602
    public function withBizid($value)
4603
    {
4604
        $this->data['Bizid'] = $value;
4605
        $this->options['form_params']['Bizid'] = $value;
4606
4607
        return $this;
4608
    }
4609
4610
    /**
4611
     * @param string $value
4612
     *
4613
     * @return $this
4614
     */
4615
    public function withHeight($value)
4616
    {
4617
        $this->data['Height'] = $value;
4618
        $this->options['form_params']['Height'] = $value;
4619
4620
        return $this;
4621
    }
4622
}
4623
4624
/**
4625
 * @method string getBizid()
4626
 * @method string getBid()
4627
 * @method string getOperation()
4628
 * @method string getUserName()
4629
 */
4630
class OperateUser extends Rpc
4631
{
4632
4633
    /**
4634
     * @param string $value
4635
     *
4636
     * @return $this
4637
     */
4638
    public function withBizid($value)
4639
    {
4640
        $this->data['Bizid'] = $value;
4641
        $this->options['form_params']['Bizid'] = $value;
4642
4643
        return $this;
4644
    }
4645
4646
    /**
4647
     * @param string $value
4648
     *
4649
     * @return $this
4650
     */
4651
    public function withBid($value)
4652
    {
4653
        $this->data['Bid'] = $value;
4654
        $this->options['form_params']['Bid'] = $value;
4655
4656
        return $this;
4657
    }
4658
4659
    /**
4660
     * @param string $value
4661
     *
4662
     * @return $this
4663
     */
4664
    public function withOperation($value)
4665
    {
4666
        $this->data['Operation'] = $value;
4667
        $this->options['form_params']['Operation'] = $value;
4668
4669
        return $this;
4670
    }
4671
4672
    /**
4673
     * @param string $value
4674
     *
4675
     * @return $this
4676
     */
4677
    public function withUserName($value)
4678
    {
4679
        $this->data['UserName'] = $value;
4680
        $this->options['form_params']['UserName'] = $value;
4681
4682
        return $this;
4683
    }
4684
}
4685
4686
/**
4687
 * @method string getBizid()
4688
 * @method string getBid()
4689
 * @method string getUserId()
4690
 * @method string getUserEmail()
4691
 */
4692
class InviteUser extends Rpc
4693
{
4694
4695
    /**
4696
     * @param string $value
4697
     *
4698
     * @return $this
4699
     */
4700
    public function withBizid($value)
4701
    {
4702
        $this->data['Bizid'] = $value;
4703
        $this->options['form_params']['Bizid'] = $value;
4704
4705
        return $this;
4706
    }
4707
4708
    /**
4709
     * @param string $value
4710
     *
4711
     * @return $this
4712
     */
4713
    public function withBid($value)
4714
    {
4715
        $this->data['Bid'] = $value;
4716
        $this->options['form_params']['Bid'] = $value;
4717
4718
        return $this;
4719
    }
4720
4721
    /**
4722
     * @param string $value
4723
     *
4724
     * @return $this
4725
     */
4726
    public function withUserId($value)
4727
    {
4728
        $this->data['UserId'] = $value;
4729
        $this->options['form_params']['UserId'] = $value;
4730
4731
        return $this;
4732
    }
4733
4734
    /**
4735
     * @param string $value
4736
     *
4737
     * @return $this
4738
     */
4739
    public function withUserEmail($value)
4740
    {
4741
        $this->data['UserEmail'] = $value;
4742
        $this->options['form_params']['UserEmail'] = $value;
4743
4744
        return $this;
4745
    }
4746
}
4747
4748
class GetTemplates extends Rpc
4749
{
4750
}
4751
4752
class GetMySuccessApplies extends Rpc
4753
{
4754
}
4755
4756
class GetMyBlockchains extends Rpc
4757
{
4758
}
4759
4760
/**
4761
 * @method string getBizid()
4762
 */
4763
class GetBlockchainInfo extends Rpc
4764
{
4765
4766
    /**
4767
     * @param string $value
4768
     *
4769
     * @return $this
4770
     */
4771
    public function withBizid($value)
4772
    {
4773
        $this->data['Bizid'] = $value;
4774
        $this->options['form_params']['Bizid'] = $value;
4775
4776
        return $this;
4777
    }
4778
}
4779
4780
/**
4781
 * @method string getBizid()
4782
 */
4783
class GetBcSchema extends Rpc
4784
{
4785
4786
    /**
4787
     * @param string $value
4788
     *
4789
     * @return $this
4790
     */
4791
    public function withBizid($value)
4792
    {
4793
        $this->data['Bizid'] = $value;
4794
        $this->options['form_params']['Bizid'] = $value;
4795
4796
        return $this;
4797
    }
4798
}
4799
4800
/**
4801
 * @method string getCurrent()
4802
 * @method string getBizid()
4803
 * @method string getPageSize()
4804
 * @method string getStatus()
4805
 */
4806
class GetApplies extends Rpc
4807
{
4808
4809
    /**
4810
     * @param string $value
4811
     *
4812
     * @return $this
4813
     */
4814
    public function withCurrent($value)
4815
    {
4816
        $this->data['Current'] = $value;
4817
        $this->options['form_params']['Current'] = $value;
4818
4819
        return $this;
4820
    }
4821
4822
    /**
4823
     * @param string $value
4824
     *
4825
     * @return $this
4826
     */
4827
    public function withBizid($value)
4828
    {
4829
        $this->data['Bizid'] = $value;
4830
        $this->options['form_params']['Bizid'] = $value;
4831
4832
        return $this;
4833
    }
4834
4835
    /**
4836
     * @param string $value
4837
     *
4838
     * @return $this
4839
     */
4840
    public function withPageSize($value)
4841
    {
4842
        $this->data['PageSize'] = $value;
4843
        $this->options['form_params']['PageSize'] = $value;
4844
4845
        return $this;
4846
    }
4847
4848
    /**
4849
     * @param string $value
4850
     *
4851
     * @return $this
4852
     */
4853
    public function withStatus($value)
4854
    {
4855
        $this->data['Status'] = $value;
4856
        $this->options['form_params']['Status'] = $value;
4857
4858
        return $this;
4859
    }
4860
}
4861
4862
/**
4863
 * @method string getPath()
4864
 * @method string getBizid()
4865
 */
4866
class DownloadSignedData extends Rpc
4867
{
4868
4869
    /**
4870
     * @param string $value
4871
     *
4872
     * @return $this
4873
     */
4874
    public function withPath($value)
4875
    {
4876
        $this->data['Path'] = $value;
4877
        $this->options['form_params']['Path'] = $value;
4878
4879
        return $this;
4880
    }
4881
4882
    /**
4883
     * @param string $value
4884
     *
4885
     * @return $this
4886
     */
4887
    public function withBizid($value)
4888
    {
4889
        $this->data['Bizid'] = $value;
4890
        $this->options['form_params']['Bizid'] = $value;
4891
4892
        return $this;
4893
    }
4894
}
4895
4896
/**
4897
 * @method string getBizid()
4898
 */
4899
class DownloadSdk extends Rpc
4900
{
4901
4902
    /**
4903
     * @param string $value
4904
     *
4905
     * @return $this
4906
     */
4907
    public function withBizid($value)
4908
    {
4909
        $this->data['Bizid'] = $value;
4910
        $this->options['form_params']['Bizid'] = $value;
4911
4912
        return $this;
4913
    }
4914
}
4915
4916
/**
4917
 * @method string getBizid()
4918
 */
4919
class DownloadBizview extends Rpc
4920
{
4921
4922
    /**
4923
     * @param string $value
4924
     *
4925
     * @return $this
4926
     */
4927
    public function withBizid($value)
4928
    {
4929
        $this->data['Bizid'] = $value;
4930
        $this->options['form_params']['Bizid'] = $value;
4931
4932
        return $this;
4933
    }
4934
}
4935
4936
/**
4937
 * @method string getSize()
4938
 * @method string getMachineNum()
4939
 * @method string getLiveTime()
4940
 * @method string getBizid()
4941
 */
4942
class CreateBlockchainApply extends Rpc
4943
{
4944
4945
    /**
4946
     * @param string $value
4947
     *
4948
     * @return $this
4949
     */
4950
    public function withSize($value)
4951
    {
4952
        $this->data['Size'] = $value;
4953
        $this->options['form_params']['Size'] = $value;
4954
4955
        return $this;
4956
    }
4957
4958
    /**
4959
     * @param string $value
4960
     *
4961
     * @return $this
4962
     */
4963
    public function withMachineNum($value)
4964
    {
4965
        $this->data['MachineNum'] = $value;
4966
        $this->options['form_params']['MachineNum'] = $value;
4967
4968
        return $this;
4969
    }
4970
4971
    /**
4972
     * @param string $value
4973
     *
4974
     * @return $this
4975
     */
4976
    public function withLiveTime($value)
4977
    {
4978
        $this->data['LiveTime'] = $value;
4979
        $this->options['form_params']['LiveTime'] = $value;
4980
4981
        return $this;
4982
    }
4983
4984
    /**
4985
     * @param string $value
4986
     *
4987
     * @return $this
4988
     */
4989
    public function withBizid($value)
4990
    {
4991
        $this->data['Bizid'] = $value;
4992
        $this->options['form_params']['Bizid'] = $value;
4993
4994
        return $this;
4995
    }
4996
}
4997
4998
/**
4999
 * @method string getBlockchain()
5000
 * @method string getAccountPubKey()
5001
 * @method string getUploadReq()
5002
 * @method string getAccountRecoverPubKey()
5003
 * @method string getAccount()
5004
 */
5005
class ApplyBlockchain extends Rpc
5006
{
5007
5008
    /**
5009
     * @param string $value
5010
     *
5011
     * @return $this
5012
     */
5013
    public function withBlockchain($value)
5014
    {
5015
        $this->data['Blockchain'] = $value;
5016
        $this->options['form_params']['Blockchain'] = $value;
5017
5018
        return $this;
5019
    }
5020
5021
    /**
5022
     * @param string $value
5023
     *
5024
     * @return $this
5025
     */
5026
    public function withAccountPubKey($value)
5027
    {
5028
        $this->data['AccountPubKey'] = $value;
5029
        $this->options['form_params']['AccountPubKey'] = $value;
5030
5031
        return $this;
5032
    }
5033
5034
    /**
5035
     * @param string $value
5036
     *
5037
     * @return $this
5038
     */
5039
    public function withUploadReq($value)
5040
    {
5041
        $this->data['UploadReq'] = $value;
5042
        $this->options['form_params']['UploadReq'] = $value;
5043
5044
        return $this;
5045
    }
5046
5047
    /**
5048
     * @param string $value
5049
     *
5050
     * @return $this
5051
     */
5052
    public function withAccountRecoverPubKey($value)
5053
    {
5054
        $this->data['AccountRecoverPubKey'] = $value;
5055
        $this->options['form_params']['AccountRecoverPubKey'] = $value;
5056
5057
        return $this;
5058
    }
5059
5060
    /**
5061
     * @param string $value
5062
     *
5063
     * @return $this
5064
     */
5065
    public function withAccount($value)
5066
    {
5067
        $this->data['Account'] = $value;
5068
        $this->options['form_params']['Account'] = $value;
5069
5070
        return $this;
5071
    }
5072
}
5073
5074
/**
5075
 * @method string getLocation()
5076
 * @method string getConsortiumId()
5077
 * @method $this withConsortiumId($value)
5078
 */
5079
class DescribeConsortiumDeletable extends Rpc
5080
{
5081
5082
    /** @var string */
5083
    public $method = 'PUT';
5084
5085
    /**
5086
     * @param string $value
5087
     *
5088
     * @return $this
5089
     */
5090
    public function withLocation($value)
5091
    {
5092
        $this->data['Location'] = $value;
5093
        $this->options['form_params']['Location'] = $value;
5094
5095
        return $this;
5096
    }
5097
}
5098
5099
/**
5100
 * @method string getOrganizationId()
5101
 * @method $this withOrganizationId($value)
5102
 * @method string getLocation()
5103
 */
5104
class DescribeOrganizationDeletable extends Rpc
5105
{
5106
5107
    /**
5108
     * @param string $value
5109
     *
5110
     * @return $this
5111
     */
5112
    public function withLocation($value)
5113
    {
5114
        $this->data['Location'] = $value;
5115
        $this->options['form_params']['Location'] = $value;
5116
5117
        return $this;
5118
    }
5119
}
5120
5121
/**
5122
 * @method string getOrganizationId()
5123
 * @method $this withOrganizationId($value)
5124
 * @method string getLocation()
5125
 */
5126
class QueryOrganizationDeletable extends Rpc
5127
{
5128
5129
    /**
5130
     * @param string $value
5131
     *
5132
     * @return $this
5133
     */
5134
    public function withLocation($value)
5135
    {
5136
        $this->data['Location'] = $value;
5137
        $this->options['form_params']['Location'] = $value;
5138
5139
        return $this;
5140
    }
5141
}
5142
5143
/**
5144
 * @method string getLocation()
5145
 * @method string getConsortiumId()
5146
 * @method $this withConsortiumId($value)
5147
 */
5148
class QueryConsortiumDeletable extends Rpc
5149
{
5150
5151
    /** @var string */
5152
    public $method = 'PUT';
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 getChaincodeId()
5170
 */
5171
class DeleteChaincode extends Rpc
5172
{
5173
5174
    /**
5175
     * @param string $value
5176
     *
5177
     * @return $this
5178
     */
5179
    public function withChaincodeId($value)
5180
    {
5181
        $this->data['ChaincodeId'] = $value;
5182
        $this->options['form_params']['ChaincodeId'] = $value;
5183
5184
        return $this;
5185
    }
5186
}
5187
5188
/**
5189
 * @method string getLocation()
5190
 * @method string getConsortiumId()
5191
 */
5192
class DescribeConsortiumMembers extends Rpc
5193
{
5194
5195
    /**
5196
     * @param string $value
5197
     *
5198
     * @return $this
5199
     */
5200
    public function withLocation($value)
5201
    {
5202
        $this->data['Location'] = $value;
5203
        $this->options['form_params']['Location'] = $value;
5204
5205
        return $this;
5206
    }
5207
5208
    /**
5209
     * @param string $value
5210
     *
5211
     * @return $this
5212
     */
5213
    public function withConsortiumId($value)
5214
    {
5215
        $this->data['ConsortiumId'] = $value;
5216
        $this->options['form_params']['ConsortiumId'] = $value;
5217
5218
        return $this;
5219
    }
5220
}
5221
5222
/**
5223
 * @method string getLocation()
5224
 */
5225
class DescribeOrganizations extends Rpc
5226
{
5227
5228
    /** @var string */
5229
    public $method = 'PUT';
5230
5231
    /**
5232
     * @param string $value
5233
     *
5234
     * @return $this
5235
     */
5236
    public function withLocation($value)
5237
    {
5238
        $this->data['Location'] = $value;
5239
        $this->options['form_params']['Location'] = $value;
5240
5241
        return $this;
5242
    }
5243
}
5244
5245
/**
5246
 * @method string getOrganizationId()
5247
 * @method $this withOrganizationId($value)
5248
 * @method string getLocation()
5249
 */
5250
class DescribeOrganizationChannels extends Rpc
5251
{
5252
5253
    /** @var string */
5254
    public $method = 'PUT';
5255
5256
    /**
5257
     * @param string $value
5258
     *
5259
     * @return $this
5260
     */
5261
    public function withLocation($value)
5262
    {
5263
        $this->data['Location'] = $value;
5264
        $this->options['form_params']['Location'] = $value;
5265
5266
        return $this;
5267
    }
5268
}
5269
5270
/**
5271
 * @method string getCode()
5272
 * @method string getIsAccepted()
5273
 */
5274
class AcceptInvitation extends Rpc
5275
{
5276
5277
    /** @var string */
5278
    public $method = 'PUT';
5279
5280
    /**
5281
     * @param string $value
5282
     *
5283
     * @return $this
5284
     */
5285
    public function withCode($value)
5286
    {
5287
        $this->data['Code'] = $value;
5288
        $this->options['form_params']['Code'] = $value;
5289
5290
        return $this;
5291
    }
5292
5293
    /**
5294
     * @param string $value
5295
     *
5296
     * @return $this
5297
     */
5298
    public function withIsAccepted($value)
5299
    {
5300
        $this->data['IsAccepted'] = $value;
5301
        $this->options['form_params']['IsAccepted'] = $value;
5302
5303
        return $this;
5304
    }
5305
}
5306
5307
/**
5308
 * @method string getOrganizationId()
5309
 * @method string getLocation()
5310
 */
5311
class DescribeOrganizationChaincodes extends Rpc
5312
{
5313
5314
    /**
5315
     * @param string $value
5316
     *
5317
     * @return $this
5318
     */
5319
    public function withOrganizationId($value)
5320
    {
5321
        $this->data['OrganizationId'] = $value;
5322
        $this->options['form_params']['OrganizationId'] = $value;
5323
5324
        return $this;
5325
    }
5326
5327
    /**
5328
     * @param string $value
5329
     *
5330
     * @return $this
5331
     */
5332
    public function withLocation($value)
5333
    {
5334
        $this->data['Location'] = $value;
5335
        $this->options['form_params']['Location'] = $value;
5336
5337
        return $this;
5338
    }
5339
}
5340
5341
class DescribeRegions extends Rpc
5342
{
5343
5344
    /** @var string */
5345
    public $method = 'PUT';
5346
}
5347
5348
/**
5349
 * @method string getOrganizationId()
5350
 * @method $this withOrganizationId($value)
5351
 * @method string getLocation()
5352
 */
5353
class DescribeOrganizationUsers extends Rpc
5354
{
5355
5356
    /**
5357
     * @param string $value
5358
     *
5359
     * @return $this
5360
     */
5361
    public function withLocation($value)
5362
    {
5363
        $this->data['Location'] = $value;
5364
        $this->options['form_params']['Location'] = $value;
5365
5366
        return $this;
5367
    }
5368
}
5369
5370
/**
5371
 * @method string getOrganizationId()
5372
 * @method $this withOrganizationId($value)
5373
 * @method string getLocation()
5374
 */
5375
class DescribeOrganizationPeers extends Rpc
5376
{
5377
5378
    /**
5379
     * @param string $value
5380
     *
5381
     * @return $this
5382
     */
5383
    public function withLocation($value)
5384
    {
5385
        $this->data['Location'] = $value;
5386
        $this->options['form_params']['Location'] = $value;
5387
5388
        return $this;
5389
    }
5390
}
5391
5392
/**
5393
 * @method string getConsortiumId()
5394
 */
5395
class DescribeInvitationList extends Rpc
5396
{
5397
5398
    /**
5399
     * @param string $value
5400
     *
5401
     * @return $this
5402
     */
5403
    public function withConsortiumId($value)
5404
    {
5405
        $this->data['ConsortiumId'] = $value;
5406
        $this->options['form_params']['ConsortiumId'] = $value;
5407
5408
        return $this;
5409
    }
5410
}
5411
5412
/**
5413
 * @method string getOrganizationId()
5414
 */
5415
class DescribeChaincodeUploadPolicy extends Rpc
5416
{
5417
5418
    /**
5419
     * @param string $value
5420
     *
5421
     * @return $this
5422
     */
5423
    public function withOrganizationId($value)
5424
    {
5425
        $this->data['OrganizationId'] = $value;
5426
        $this->options['form_params']['OrganizationId'] = $value;
5427
5428
        return $this;
5429
    }
5430
}
5431
5432
/**
5433
 * @method string getLocation()
5434
 */
5435
class DescribeConsortiumAdminStatus extends Rpc
5436
{
5437
5438
    /**
5439
     * @param string $value
5440
     *
5441
     * @return $this
5442
     */
5443
    public function withLocation($value)
5444
    {
5445
        $this->data['Location'] = $value;
5446
        $this->options['form_params']['Location'] = $value;
5447
5448
        return $this;
5449
    }
5450
}
5451
5452
/**
5453
 * @method string getOrganizationId()
5454
 * @method $this withOrganizationId($value)
5455
 * @method string getLocation()
5456
 */
5457
class DescribeOrganization extends Rpc
5458
{
5459
5460
    /**
5461
     * @param string $value
5462
     *
5463
     * @return $this
5464
     */
5465
    public function withLocation($value)
5466
    {
5467
        $this->data['Location'] = $value;
5468
        $this->options['form_params']['Location'] = $value;
5469
5470
        return $this;
5471
    }
5472
}
5473
5474
class DescribeEcosphereSpecs extends Rpc
5475
{
5476
}
5477
5478
class DescribeConsortiumSpecs extends Rpc
5479
{
5480
}
5481
5482
class DescribeConsortiumConfig extends Rpc
5483
{
5484
}
5485
5486
class DescribeOrganizationSpecs extends Rpc
5487
{
5488
}
5489
5490
class DescribeRootDomain extends Rpc
5491
{
5492
}
5493
5494
/**
5495
 * @method string getOrderersCount()
5496
 * @method string getConsortiumName()
5497
 * @method string getSpecName()
5498
 * @method string getDescription()
5499
 * @method string getChannelPolicy()
5500
 * @method string getDuration()
5501
 * @method array getOrganization()
5502
 * @method string getZoneId()
5503
 * @method string getOrdererType()
5504
 * @method string getOrdererDomain()
5505
 * @method string getLocation()
5506
 * @method string getPeersCount()
5507
 * @method string getPricingCycle()
5508
 */
5509
class CreateEcosphere extends Rpc
5510
{
5511
5512
    /** @var string */
5513
    public $method = 'PUT';
5514
5515
    /**
5516
     * @param string $value
5517
     *
5518
     * @return $this
5519
     */
5520
    public function withOrderersCount($value)
5521
    {
5522
        $this->data['OrderersCount'] = $value;
5523
        $this->options['form_params']['OrderersCount'] = $value;
5524
5525
        return $this;
5526
    }
5527
5528
    /**
5529
     * @param string $value
5530
     *
5531
     * @return $this
5532
     */
5533
    public function withConsortiumName($value)
5534
    {
5535
        $this->data['ConsortiumName'] = $value;
5536
        $this->options['form_params']['ConsortiumName'] = $value;
5537
5538
        return $this;
5539
    }
5540
5541
    /**
5542
     * @param string $value
5543
     *
5544
     * @return $this
5545
     */
5546
    public function withSpecName($value)
5547
    {
5548
        $this->data['SpecName'] = $value;
5549
        $this->options['form_params']['SpecName'] = $value;
5550
5551
        return $this;
5552
    }
5553
5554
    /**
5555
     * @param string $value
5556
     *
5557
     * @return $this
5558
     */
5559
    public function withDescription($value)
5560
    {
5561
        $this->data['Description'] = $value;
5562
        $this->options['form_params']['Description'] = $value;
5563
5564
        return $this;
5565
    }
5566
5567
    /**
5568
     * @param string $value
5569
     *
5570
     * @return $this
5571
     */
5572
    public function withChannelPolicy($value)
5573
    {
5574
        $this->data['ChannelPolicy'] = $value;
5575
        $this->options['form_params']['ChannelPolicy'] = $value;
5576
5577
        return $this;
5578
    }
5579
5580
    /**
5581
     * @param string $value
5582
     *
5583
     * @return $this
5584
     */
5585
    public function withDuration($value)
5586
    {
5587
        $this->data['Duration'] = $value;
5588
        $this->options['form_params']['Duration'] = $value;
5589
5590
        return $this;
5591
    }
5592
5593
    /**
5594
     * @param array $organization
5595
     *
5596
     * @return $this
5597
     */
5598
    public function withOrganization(array $organization)
5599
    {
5600
        $this->data['Organization'] = $organization;
5601
        foreach ($organization as $depth1 => $depth1Value) {
5602
            $this->options['form_params']['Organization.' . ($depth1 + 1) . '.Domain'] = $depth1Value['Domain'];
5603
            $this->options['form_params']['Organization.' . ($depth1 + 1) . '.Name'] = $depth1Value['Name'];
5604
            $this->options['form_params']['Organization.' . ($depth1 + 1) . '.Description'] = $depth1Value['Description'];
5605
        }
5606
5607
        return $this;
5608
    }
5609
5610
    /**
5611
     * @param string $value
5612
     *
5613
     * @return $this
5614
     */
5615
    public function withZoneId($value)
5616
    {
5617
        $this->data['ZoneId'] = $value;
5618
        $this->options['form_params']['ZoneId'] = $value;
5619
5620
        return $this;
5621
    }
5622
5623
    /**
5624
     * @param string $value
5625
     *
5626
     * @return $this
5627
     */
5628
    public function withOrdererType($value)
5629
    {
5630
        $this->data['OrdererType'] = $value;
5631
        $this->options['form_params']['OrdererType'] = $value;
5632
5633
        return $this;
5634
    }
5635
5636
    /**
5637
     * @param string $value
5638
     *
5639
     * @return $this
5640
     */
5641
    public function withOrdererDomain($value)
5642
    {
5643
        $this->data['OrdererDomain'] = $value;
5644
        $this->options['form_params']['OrdererDomain'] = $value;
5645
5646
        return $this;
5647
    }
5648
5649
    /**
5650
     * @param string $value
5651
     *
5652
     * @return $this
5653
     */
5654
    public function withLocation($value)
5655
    {
5656
        $this->data['Location'] = $value;
5657
        $this->options['form_params']['Location'] = $value;
5658
5659
        return $this;
5660
    }
5661
5662
    /**
5663
     * @param string $value
5664
     *
5665
     * @return $this
5666
     */
5667
    public function withPeersCount($value)
5668
    {
5669
        $this->data['PeersCount'] = $value;
5670
        $this->options['form_params']['PeersCount'] = $value;
5671
5672
        return $this;
5673
    }
5674
5675
    /**
5676
     * @param string $value
5677
     *
5678
     * @return $this
5679
     */
5680
    public function withPricingCycle($value)
5681
    {
5682
        $this->data['PricingCycle'] = $value;
5683
        $this->options['form_params']['PricingCycle'] = $value;
5684
5685
        return $this;
5686
    }
5687
}
5688
5689
/**
5690
 * @method string getOrderersCount()
5691
 * @method string getSpecName()
5692
 * @method string getDescription()
5693
 * @method string getChannelPolicy()
5694
 * @method string getDuration()
5695
 * @method string getDomain()
5696
 * @method array getOrganization()
5697
 * @method string getName()
5698
 * @method string getOrdererType()
5699
 * @method string getZoneId()
5700
 * @method string getLocation()
5701
 * @method string getPeersCount()
5702
 * @method string getPricingCycle()
5703
 */
5704
class CreateConsortium extends Rpc
5705
{
5706
5707
    /**
5708
     * @param string $value
5709
     *
5710
     * @return $this
5711
     */
5712
    public function withOrderersCount($value)
5713
    {
5714
        $this->data['OrderersCount'] = $value;
5715
        $this->options['form_params']['OrderersCount'] = $value;
5716
5717
        return $this;
5718
    }
5719
5720
    /**
5721
     * @param string $value
5722
     *
5723
     * @return $this
5724
     */
5725
    public function withSpecName($value)
5726
    {
5727
        $this->data['SpecName'] = $value;
5728
        $this->options['form_params']['SpecName'] = $value;
5729
5730
        return $this;
5731
    }
5732
5733
    /**
5734
     * @param string $value
5735
     *
5736
     * @return $this
5737
     */
5738
    public function withDescription($value)
5739
    {
5740
        $this->data['Description'] = $value;
5741
        $this->options['form_params']['Description'] = $value;
5742
5743
        return $this;
5744
    }
5745
5746
    /**
5747
     * @param string $value
5748
     *
5749
     * @return $this
5750
     */
5751
    public function withChannelPolicy($value)
5752
    {
5753
        $this->data['ChannelPolicy'] = $value;
5754
        $this->options['form_params']['ChannelPolicy'] = $value;
5755
5756
        return $this;
5757
    }
5758
5759
    /**
5760
     * @param string $value
5761
     *
5762
     * @return $this
5763
     */
5764
    public function withDuration($value)
5765
    {
5766
        $this->data['Duration'] = $value;
5767
        $this->options['form_params']['Duration'] = $value;
5768
5769
        return $this;
5770
    }
5771
5772
    /**
5773
     * @param string $value
5774
     *
5775
     * @return $this
5776
     */
5777
    public function withDomain($value)
5778
    {
5779
        $this->data['Domain'] = $value;
5780
        $this->options['form_params']['Domain'] = $value;
5781
5782
        return $this;
5783
    }
5784
5785
    /**
5786
     * @param array $organization
5787
     *
5788
     * @return $this
5789
     */
5790
    public function withOrganization(array $organization)
5791
    {
5792
        $this->data['Organization'] = $organization;
5793
        foreach ($organization as $depth1 => $depth1Value) {
5794
            $this->options['form_params']['Organization.' . ($depth1 + 1) . '.Id'] = $depth1Value['Id'];
5795
        }
5796
5797
        return $this;
5798
    }
5799
5800
    /**
5801
     * @param string $value
5802
     *
5803
     * @return $this
5804
     */
5805
    public function withName($value)
5806
    {
5807
        $this->data['Name'] = $value;
5808
        $this->options['form_params']['Name'] = $value;
5809
5810
        return $this;
5811
    }
5812
5813
    /**
5814
     * @param string $value
5815
     *
5816
     * @return $this
5817
     */
5818
    public function withOrdererType($value)
5819
    {
5820
        $this->data['OrdererType'] = $value;
5821
        $this->options['form_params']['OrdererType'] = $value;
5822
5823
        return $this;
5824
    }
5825
5826
    /**
5827
     * @param string $value
5828
     *
5829
     * @return $this
5830
     */
5831
    public function withZoneId($value)
5832
    {
5833
        $this->data['ZoneId'] = $value;
5834
        $this->options['form_params']['ZoneId'] = $value;
5835
5836
        return $this;
5837
    }
5838
5839
    /**
5840
     * @param string $value
5841
     *
5842
     * @return $this
5843
     */
5844
    public function withLocation($value)
5845
    {
5846
        $this->data['Location'] = $value;
5847
        $this->options['form_params']['Location'] = $value;
5848
5849
        return $this;
5850
    }
5851
5852
    /**
5853
     * @param string $value
5854
     *
5855
     * @return $this
5856
     */
5857
    public function withPeersCount($value)
5858
    {
5859
        $this->data['PeersCount'] = $value;
5860
        $this->options['form_params']['PeersCount'] = $value;
5861
5862
        return $this;
5863
    }
5864
5865
    /**
5866
     * @param string $value
5867
     *
5868
     * @return $this
5869
     */
5870
    public function withPricingCycle($value)
5871
    {
5872
        $this->data['PricingCycle'] = $value;
5873
        $this->options['form_params']['PricingCycle'] = $value;
5874
5875
        return $this;
5876
    }
5877
}
5878
5879
/**
5880
 * @method string getOrganizationId()
5881
 * @method string getChaincodeId()
5882
 */
5883
class SynchronizeChaincode extends Rpc
5884
{
5885
5886
    /** @var string */
5887
    public $method = 'PUT';
5888
5889
    /**
5890
     * @param string $value
5891
     *
5892
     * @return $this
5893
     */
5894
    public function withOrganizationId($value)
5895
    {
5896
        $this->data['OrganizationId'] = $value;
5897
        $this->options['form_params']['OrganizationId'] = $value;
5898
5899
        return $this;
5900
    }
5901
5902
    /**
5903
     * @param string $value
5904
     *
5905
     * @return $this
5906
     */
5907
    public function withChaincodeId($value)
5908
    {
5909
        $this->data['ChaincodeId'] = $value;
5910
        $this->options['form_params']['ChaincodeId'] = $value;
5911
5912
        return $this;
5913
    }
5914
}
5915
5916
/**
5917
 * @method string getOrganizationId()
5918
 * @method $this withOrganizationId($value)
5919
 * @method string getLocation()
5920
 * @method string getUsername()
5921
 * @method $this withUsername($value)
5922
 */
5923
class DownloadOrganizationSDK extends Rpc
5924
{
5925
5926
    /**
5927
     * @param string $value
5928
     *
5929
     * @return $this
5930
     */
5931
    public function withLocation($value)
5932
    {
5933
        $this->data['Location'] = $value;
5934
        $this->options['form_params']['Location'] = $value;
5935
5936
        return $this;
5937
    }
5938
}
5939
5940
/**
5941
 * @method string getOrganizationId()
5942
 * @method string getPassword()
5943
 * @method string getLocation()
5944
 * @method string getUsername()
5945
 */
5946
class ResetOrganizationUserPassword extends Rpc
5947
{
5948
5949
    /**
5950
     * @param string $value
5951
     *
5952
     * @return $this
5953
     */
5954
    public function withOrganizationId($value)
5955
    {
5956
        $this->data['OrganizationId'] = $value;
5957
        $this->options['form_params']['OrganizationId'] = $value;
5958
5959
        return $this;
5960
    }
5961
5962
    /**
5963
     * @param string $value
5964
     *
5965
     * @return $this
5966
     */
5967
    public function withPassword($value)
5968
    {
5969
        $this->data['Password'] = $value;
5970
        $this->options['form_params']['Password'] = $value;
5971
5972
        return $this;
5973
    }
5974
5975
    /**
5976
     * @param string $value
5977
     *
5978
     * @return $this
5979
     */
5980
    public function withLocation($value)
5981
    {
5982
        $this->data['Location'] = $value;
5983
        $this->options['form_params']['Location'] = $value;
5984
5985
        return $this;
5986
    }
5987
5988
    /**
5989
     * @param string $value
5990
     *
5991
     * @return $this
5992
     */
5993
    public function withUsername($value)
5994
    {
5995
        $this->data['Username'] = $value;
5996
        $this->options['form_params']['Username'] = $value;
5997
5998
        return $this;
5999
    }
6000
}
6001
6002
/**
6003
 * @method string getConsortiumId()
6004
 */
6005
class DescribeInvitationCode extends Rpc
6006
{
6007
6008
    /**
6009
     * @param string $value
6010
     *
6011
     * @return $this
6012
     */
6013
    public function withConsortiumId($value)
6014
    {
6015
        $this->data['ConsortiumId'] = $value;
6016
        $this->options['form_params']['ConsortiumId'] = $value;
6017
6018
        return $this;
6019
    }
6020
}
6021
6022
/**
6023
 * @method string getOrganizationId()
6024
 * @method string getUsername()
6025
 */
6026
class DescribeOrganizationUserCerts extends Rpc
6027
{
6028
6029
    /** @var string */
6030
    public $method = 'PUT';
6031
6032
    /**
6033
     * @param string $value
6034
     *
6035
     * @return $this
6036
     */
6037
    public function withOrganizationId($value)
6038
    {
6039
        $this->data['OrganizationId'] = $value;
6040
        $this->options['form_params']['OrganizationId'] = $value;
6041
6042
        return $this;
6043
    }
6044
6045
    /**
6046
     * @param string $value
6047
     *
6048
     * @return $this
6049
     */
6050
    public function withUsername($value)
6051
    {
6052
        $this->data['Username'] = $value;
6053
        $this->options['form_params']['Username'] = $value;
6054
6055
        return $this;
6056
    }
6057
}
6058
6059
/**
6060
 * @method string getOrganizationId()
6061
 * @method string getPassword()
6062
 * @method string getUsername()
6063
 * @method string getAttrs()
6064
 */
6065
class CreateOrganizationUser extends Rpc
6066
{
6067
6068
    /**
6069
     * @param string $value
6070
     *
6071
     * @return $this
6072
     */
6073
    public function withOrganizationId($value)
6074
    {
6075
        $this->data['OrganizationId'] = $value;
6076
        $this->options['form_params']['OrganizationId'] = $value;
6077
6078
        return $this;
6079
    }
6080
6081
    /**
6082
     * @param string $value
6083
     *
6084
     * @return $this
6085
     */
6086
    public function withPassword($value)
6087
    {
6088
        $this->data['Password'] = $value;
6089
        $this->options['form_params']['Password'] = $value;
6090
6091
        return $this;
6092
    }
6093
6094
    /**
6095
     * @param string $value
6096
     *
6097
     * @return $this
6098
     */
6099
    public function withUsername($value)
6100
    {
6101
        $this->data['Username'] = $value;
6102
        $this->options['form_params']['Username'] = $value;
6103
6104
        return $this;
6105
    }
6106
6107
    /**
6108
     * @param string $value
6109
     *
6110
     * @return $this
6111
     */
6112
    public function withAttrs($value)
6113
    {
6114
        $this->data['Attrs'] = $value;
6115
        $this->options['form_params']['Attrs'] = $value;
6116
6117
        return $this;
6118
    }
6119
}
6120
6121
class DescribeTasks extends Rpc
6122
{
6123
}
6124
6125
/**
6126
 * @method array getOrganization()
6127
 * @method string getChannelId()
6128
 * @method $this withChannelId($value)
6129
 */
6130
class CreateChannelMember extends Rpc
6131
{
6132
6133
    /**
6134
     * @param array $organization
6135
     *
6136
     * @return $this
6137
     */
6138
    public function withOrganization(array $organization)
6139
    {
6140
        $this->data['Organization'] = $organization;
6141
        foreach ($organization as $depth1 => $depth1Value) {
6142
            $this->options['query']['Organization.' . ($depth1 + 1) . '.Id'] = $depth1Value['Id'];
6143
        }
6144
6145
        return $this;
6146
    }
6147
}
6148
6149
/**
6150
 * @method string getLocation()
6151
 * @method string getConsortiumId()
6152
 * @method $this withConsortiumId($value)
6153
 */
6154
class DescribeConsortiumMemberApproval extends Rpc
6155
{
6156
6157
    /**
6158
     * @param string $value
6159
     *
6160
     * @return $this
6161
     */
6162
    public function withLocation($value)
6163
    {
6164
        $this->data['Location'] = $value;
6165
        $this->options['form_params']['Location'] = $value;
6166
6167
        return $this;
6168
    }
6169
}
6170
6171
/**
6172
 * @method string getLocation()
6173
 * @method string getDo()
6174
 * @method $this withDo($value)
6175
 * @method string getChannelId()
6176
 * @method $this withChannelId($value)
6177
 */
6178
class JoinChannel extends Rpc
6179
{
6180
6181
    /**
6182
     * @param string $value
6183
     *
6184
     * @return $this
6185
     */
6186
    public function withLocation($value)
6187
    {
6188
        $this->data['Location'] = $value;
6189
        $this->options['form_params']['Location'] = $value;
6190
6191
        return $this;
6192
    }
6193
}
6194
6195
/**
6196
 * @method string getLocation()
6197
 * @method string getConsortiumId()
6198
 */
6199
class DescribeConsortiumOrderers extends Rpc
6200
{
6201
6202
    /**
6203
     * @param string $value
6204
     *
6205
     * @return $this
6206
     */
6207
    public function withLocation($value)
6208
    {
6209
        $this->data['Location'] = $value;
6210
        $this->options['form_params']['Location'] = $value;
6211
6212
        return $this;
6213
    }
6214
6215
    /**
6216
     * @param string $value
6217
     *
6218
     * @return $this
6219
     */
6220
    public function withConsortiumId($value)
6221
    {
6222
        $this->data['ConsortiumId'] = $value;
6223
        $this->options['form_params']['ConsortiumId'] = $value;
6224
6225
        return $this;
6226
    }
6227
}
6228
6229
/**
6230
 * @method string getCode()
6231
 */
6232
class DescribeInviter extends Rpc
6233
{
6234
6235
    /**
6236
     * @param string $value
6237
     *
6238
     * @return $this
6239
     */
6240
    public function withCode($value)
6241
    {
6242
        $this->data['Code'] = $value;
6243
        $this->options['form_params']['Code'] = $value;
6244
6245
        return $this;
6246
    }
6247
}
6248
6249
/**
6250
 * @method string getLocation()
6251
 */
6252
class DescribeCandidateOrganizations extends Rpc
6253
{
6254
6255
    /**
6256
     * @param string $value
6257
     *
6258
     * @return $this
6259
     */
6260
    public function withLocation($value)
6261
    {
6262
        $this->data['Location'] = $value;
6263
        $this->options['form_params']['Location'] = $value;
6264
6265
        return $this;
6266
    }
6267
}
6268
6269
/**
6270
 * @method string getCode()
6271
 * @method $this withCode($value)
6272
 * @method array getOrganization()
6273
 * @method string getConsortiumId()
6274
 * @method $this withConsortiumId($value)
6275
 */
6276
class CreateConsortiumMember extends Rpc
6277
{
6278
6279
    /**
6280
     * @param array $organization
6281
     *
6282
     * @return $this
6283
     */
6284
    public function withOrganization(array $organization)
6285
    {
6286
        $this->data['Organization'] = $organization;
6287
        foreach ($organization as $depth1 => $depth1Value) {
6288
            $this->options['query']['Organization.' . ($depth1 + 1) . '.Id'] = $depth1Value['Id'];
6289
        }
6290
6291
        return $this;
6292
    }
6293
}
6294
6295
/**
6296
 * @method string getOrganizationId()
6297
 * @method string getLocation()
6298
 */
6299
class DescribeOrganizationMembers extends Rpc
6300
{
6301
6302
    /**
6303
     * @param string $value
6304
     *
6305
     * @return $this
6306
     */
6307
    public function withOrganizationId($value)
6308
    {
6309
        $this->data['OrganizationId'] = $value;
6310
        $this->options['form_params']['OrganizationId'] = $value;
6311
6312
        return $this;
6313
    }
6314
6315
    /**
6316
     * @param string $value
6317
     *
6318
     * @return $this
6319
     */
6320
    public function withLocation($value)
6321
    {
6322
        $this->data['Location'] = $value;
6323
        $this->options['form_params']['Location'] = $value;
6324
6325
        return $this;
6326
    }
6327
}
6328
6329
/**
6330
 * @method array getOrganization()
6331
 * @method string getConsortiumId()
6332
 * @method $this withConsortiumId($value)
6333
 */
6334
class ConfirmConsortiumMember extends Rpc
6335
{
6336
6337
    /** @var string */
6338
    public $method = 'PUT';
6339
6340
    /**
6341
     * @param array $organization
6342
     *
6343
     * @return $this
6344
     */
6345
    public function withOrganization(array $organization)
6346
    {
6347
        $this->data['Organization'] = $organization;
6348
        foreach ($organization as $depth1 => $depth1Value) {
6349
            $this->options['query']['Organization.' . ($depth1 + 1) . '.Id'] = $depth1Value['Id'];
6350
        }
6351
6352
        return $this;
6353
    }
6354
}
6355
6356
/**
6357
 * @method string getDomainCode()
6358
 */
6359
class CheckConsortiumDomain extends Rpc
6360
{
6361
6362
    /**
6363
     * @param string $value
6364
     *
6365
     * @return $this
6366
     */
6367
    public function withDomainCode($value)
6368
    {
6369
        $this->data['DomainCode'] = $value;
6370
        $this->options['form_params']['DomainCode'] = $value;
6371
6372
        return $this;
6373
    }
6374
}
6375
6376
/**
6377
 * @method string getDomainCode()
6378
 * @method string getDomain()
6379
 */
6380
class CheckOrganizationDomain extends Rpc
6381
{
6382
6383
    /**
6384
     * @param string $value
6385
     *
6386
     * @return $this
6387
     */
6388
    public function withDomainCode($value)
6389
    {
6390
        $this->data['DomainCode'] = $value;
6391
        $this->options['form_params']['DomainCode'] = $value;
6392
6393
        return $this;
6394
    }
6395
6396
    /**
6397
     * @param string $value
6398
     *
6399
     * @return $this
6400
     */
6401
    public function withDomain($value)
6402
    {
6403
        $this->data['Domain'] = $value;
6404
        $this->options['form_params']['Domain'] = $value;
6405
6406
        return $this;
6407
    }
6408
}
6409
6410
/**
6411
 * @method string getConsortiumId()
6412
 */
6413
class DestroyConsortium extends Rpc
6414
{
6415
6416
    /** @var string */
6417
    public $method = 'PUT';
6418
6419
    /**
6420
     * @param string $value
6421
     *
6422
     * @return $this
6423
     */
6424
    public function withConsortiumId($value)
6425
    {
6426
        $this->data['ConsortiumId'] = $value;
6427
        $this->options['form_params']['ConsortiumId'] = $value;
6428
6429
        return $this;
6430
    }
6431
}
6432
6433
/**
6434
 * @method string getOrganizationId()
6435
 */
6436
class DestroyOrganization extends Rpc
6437
{
6438
6439
    /** @var string */
6440
    public $method = 'PUT';
6441
6442
    /**
6443
     * @param string $value
6444
     *
6445
     * @return $this
6446
     */
6447
    public function withOrganizationId($value)
6448
    {
6449
        $this->data['OrganizationId'] = $value;
6450
        $this->options['form_params']['OrganizationId'] = $value;
6451
6452
        return $this;
6453
    }
6454
}
6455
6456
/**
6457
 * @method string getOrganizationId()
6458
 * @method string getExBody()
6459
 * @method $this withExBody($value)
6460
 * @method string getExUrl()
6461
 * @method $this withExUrl($value)
6462
 * @method string getExMethod()
6463
 * @method $this withExMethod($value)
6464
 */
6465
class DescribeExplorer extends Rpc
6466
{
6467
6468
    /** @var string */
6469
    public $method = 'PUT';
6470
6471
    /**
6472
     * @param string $value
6473
     *
6474
     * @return $this
6475
     */
6476
    public function withOrganizationId($value)
6477
    {
6478
        $this->data['OrganizationId'] = $value;
6479
        $this->options['form_params']['OrganizationId'] = $value;
6480
6481
        return $this;
6482
    }
6483
}
6484
6485
/**
6486
 * @method string getLocation()
6487
 * @method string getConsortiumId()
6488
 * @method $this withConsortiumId($value)
6489
 */
6490
class DescribeConsortiums extends Rpc
6491
{
6492
6493
    /** @var string */
6494
    public $method = 'PUT';
6495
6496
    /**
6497
     * @param string $value
6498
     *
6499
     * @return $this
6500
     */
6501
    public function withLocation($value)
6502
    {
6503
        $this->data['Location'] = $value;
6504
        $this->options['form_params']['Location'] = $value;
6505
6506
        return $this;
6507
    }
6508
}
6509
6510
/**
6511
 * @method string getDuration()
6512
 * @method $this withDuration($value)
6513
 * @method string getDomain()
6514
 * @method $this withDomain($value)
6515
 * @method string getSpecName()
6516
 * @method $this withSpecName($value)
6517
 * @method string getName()
6518
 * @method $this withName($value)
6519
 * @method string getDescription()
6520
 * @method $this withDescription($value)
6521
 * @method string getLocation()
6522
 * @method $this withLocation($value)
6523
 * @method string getPeersCount()
6524
 * @method $this withPeersCount($value)
6525
 * @method string getPricingCycle()
6526
 * @method $this withPricingCycle($value)
6527
 */
6528
class CreateOrganization extends Rpc
6529
{
6530
}
6531
6532
/**
6533
 * @method string getLocation()
6534
 * @method string getConsortiumId()
6535
 * @method $this withConsortiumId($value)
6536
 */
6537
class DescribeConsortiumChannels extends Rpc
6538
{
6539
6540
    /** @var string */
6541
    public $method = 'PUT';
6542
6543
    /**
6544
     * @param string $value
6545
     *
6546
     * @return $this
6547
     */
6548
    public function withLocation($value)
6549
    {
6550
        $this->data['Location'] = $value;
6551
        $this->options['form_params']['Location'] = $value;
6552
6553
        return $this;
6554
    }
6555
}
6556
6557
/**
6558
 * @method array getOrganization()
6559
 * @method string getChannelName()
6560
 * @method $this withChannelName($value)
6561
 * @method string getConsortiumId()
6562
 * @method $this withConsortiumId($value)
6563
 */
6564
class CreateChannel extends Rpc
6565
{
6566
6567
    /**
6568
     * @param array $organization
6569
     *
6570
     * @return $this
6571
     */
6572
    public function withOrganization(array $organization)
6573
    {
6574
        $this->data['Organization'] = $organization;
6575
        foreach ($organization as $depth1 => $depth1Value) {
6576
            $this->options['query']['Organization.' . ($depth1 + 1) . '.Id'] = $depth1Value['Id'];
6577
        }
6578
6579
        return $this;
6580
    }
6581
}
6582
6583
/**
6584
 * @method string getChannelId()
6585
 * @method $this withChannelId($value)
6586
 */
6587
class DescribeChannelMembers extends Rpc
6588
{
6589
}
6590
6591
/**
6592
 * @method string getOrganizationId()
6593
 * @method string getLocation()
6594
 */
6595
class DescribeOrgnaizationChaincodes extends Rpc
6596
{
6597
6598
    /**
6599
     * @param string $value
6600
     *
6601
     * @return $this
6602
     */
6603
    public function withOrganizationId($value)
6604
    {
6605
        $this->data['OrganizationId'] = $value;
6606
        $this->options['form_params']['OrganizationId'] = $value;
6607
6608
        return $this;
6609
    }
6610
6611
    /**
6612
     * @param string $value
6613
     *
6614
     * @return $this
6615
     */
6616
    public function withLocation($value)
6617
    {
6618
        $this->data['Location'] = $value;
6619
        $this->options['form_params']['Location'] = $value;
6620
6621
        return $this;
6622
    }
6623
}
6624
6625
/**
6626
 * @method string getLocation()
6627
 * @method string getConsortiumId()
6628
 */
6629
class DescribeConsortiumChaincodes extends Rpc
6630
{
6631
6632
    /**
6633
     * @param string $value
6634
     *
6635
     * @return $this
6636
     */
6637
    public function withLocation($value)
6638
    {
6639
        $this->data['Location'] = $value;
6640
        $this->options['form_params']['Location'] = $value;
6641
6642
        return $this;
6643
    }
6644
6645
    /**
6646
     * @param string $value
6647
     *
6648
     * @return $this
6649
     */
6650
    public function withConsortiumId($value)
6651
    {
6652
        $this->data['ConsortiumId'] = $value;
6653
        $this->options['form_params']['ConsortiumId'] = $value;
6654
6655
        return $this;
6656
    }
6657
}
6658
6659
/**
6660
 * @method string getOrganizationId()
6661
 * @method string getOssBucket()
6662
 * @method string getOssUrl()
6663
 * @method string getEndorsePolicy()
6664
 * @method string getLocation()
6665
 * @method string getChannelId()
6666
 * @method string getConsortiumId()
6667
 */
6668
class CreateChaincode extends Rpc
6669
{
6670
6671
    /** @var string */
6672
    public $method = 'PUT';
6673
6674
    /**
6675
     * @param string $value
6676
     *
6677
     * @return $this
6678
     */
6679
    public function withOrganizationId($value)
6680
    {
6681
        $this->data['OrganizationId'] = $value;
6682
        $this->options['form_params']['OrganizationId'] = $value;
6683
6684
        return $this;
6685
    }
6686
6687
    /**
6688
     * @param string $value
6689
     *
6690
     * @return $this
6691
     */
6692
    public function withOssBucket($value)
6693
    {
6694
        $this->data['OssBucket'] = $value;
6695
        $this->options['form_params']['OssBucket'] = $value;
6696
6697
        return $this;
6698
    }
6699
6700
    /**
6701
     * @param string $value
6702
     *
6703
     * @return $this
6704
     */
6705
    public function withOssUrl($value)
6706
    {
6707
        $this->data['OssUrl'] = $value;
6708
        $this->options['form_params']['OssUrl'] = $value;
6709
6710
        return $this;
6711
    }
6712
6713
    /**
6714
     * @param string $value
6715
     *
6716
     * @return $this
6717
     */
6718
    public function withEndorsePolicy($value)
6719
    {
6720
        $this->data['EndorsePolicy'] = $value;
6721
        $this->options['form_params']['EndorsePolicy'] = $value;
6722
6723
        return $this;
6724
    }
6725
6726
    /**
6727
     * @param string $value
6728
     *
6729
     * @return $this
6730
     */
6731
    public function withLocation($value)
6732
    {
6733
        $this->data['Location'] = $value;
6734
        $this->options['form_params']['Location'] = $value;
6735
6736
        return $this;
6737
    }
6738
6739
    /**
6740
     * @param string $value
6741
     *
6742
     * @return $this
6743
     */
6744
    public function withChannelId($value)
6745
    {
6746
        $this->data['ChannelId'] = $value;
6747
        $this->options['form_params']['ChannelId'] = $value;
6748
6749
        return $this;
6750
    }
6751
6752
    /**
6753
     * @param string $value
6754
     *
6755
     * @return $this
6756
     */
6757
    public function withConsortiumId($value)
6758
    {
6759
        $this->data['ConsortiumId'] = $value;
6760
        $this->options['form_params']['ConsortiumId'] = $value;
6761
6762
        return $this;
6763
    }
6764
}
6765
6766
/**
6767
 * @method string getOrganizationId()
6768
 * @method string getChaincodeId()
6769
 * @method string getLocation()
6770
 */
6771
class InstallChaincode extends Rpc
6772
{
6773
6774
    /**
6775
     * @param string $value
6776
     *
6777
     * @return $this
6778
     */
6779
    public function withOrganizationId($value)
6780
    {
6781
        $this->data['OrganizationId'] = $value;
6782
        $this->options['form_params']['OrganizationId'] = $value;
6783
6784
        return $this;
6785
    }
6786
6787
    /**
6788
     * @param string $value
6789
     *
6790
     * @return $this
6791
     */
6792
    public function withChaincodeId($value)
6793
    {
6794
        $this->data['ChaincodeId'] = $value;
6795
        $this->options['form_params']['ChaincodeId'] = $value;
6796
6797
        return $this;
6798
    }
6799
6800
    /**
6801
     * @param string $value
6802
     *
6803
     * @return $this
6804
     */
6805
    public function withLocation($value)
6806
    {
6807
        $this->data['Location'] = $value;
6808
        $this->options['form_params']['Location'] = $value;
6809
6810
        return $this;
6811
    }
6812
}
6813
6814
/**
6815
 * @method string getOrganizationId()
6816
 * @method string getChaincodeId()
6817
 * @method string getCollectionConfig()
6818
 * @method string getEndorsePolicy()
6819
 * @method string getLocation()
6820
 */
6821
class UpgradeChaincode extends Rpc
6822
{
6823
6824
    /**
6825
     * @param string $value
6826
     *
6827
     * @return $this
6828
     */
6829
    public function withOrganizationId($value)
6830
    {
6831
        $this->data['OrganizationId'] = $value;
6832
        $this->options['form_params']['OrganizationId'] = $value;
6833
6834
        return $this;
6835
    }
6836
6837
    /**
6838
     * @param string $value
6839
     *
6840
     * @return $this
6841
     */
6842
    public function withChaincodeId($value)
6843
    {
6844
        $this->data['ChaincodeId'] = $value;
6845
        $this->options['form_params']['ChaincodeId'] = $value;
6846
6847
        return $this;
6848
    }
6849
6850
    /**
6851
     * @param string $value
6852
     *
6853
     * @return $this
6854
     */
6855
    public function withCollectionConfig($value)
6856
    {
6857
        $this->data['CollectionConfig'] = $value;
6858
        $this->options['form_params']['CollectionConfig'] = $value;
6859
6860
        return $this;
6861
    }
6862
6863
    /**
6864
     * @param string $value
6865
     *
6866
     * @return $this
6867
     */
6868
    public function withEndorsePolicy($value)
6869
    {
6870
        $this->data['EndorsePolicy'] = $value;
6871
        $this->options['form_params']['EndorsePolicy'] = $value;
6872
6873
        return $this;
6874
    }
6875
6876
    /**
6877
     * @param string $value
6878
     *
6879
     * @return $this
6880
     */
6881
    public function withLocation($value)
6882
    {
6883
        $this->data['Location'] = $value;
6884
        $this->options['form_params']['Location'] = $value;
6885
6886
        return $this;
6887
    }
6888
}
6889
6890
/**
6891
 * @method string getOrganizationId()
6892
 * @method string getChaincodeId()
6893
 * @method string getCollectionConfig()
6894
 * @method string getEndorsePolicy()
6895
 * @method string getLocation()
6896
 */
6897
class InstantiateChaincode extends Rpc
6898
{
6899
6900
    /**
6901
     * @param string $value
6902
     *
6903
     * @return $this
6904
     */
6905
    public function withOrganizationId($value)
6906
    {
6907
        $this->data['OrganizationId'] = $value;
6908
        $this->options['form_params']['OrganizationId'] = $value;
6909
6910
        return $this;
6911
    }
6912
6913
    /**
6914
     * @param string $value
6915
     *
6916
     * @return $this
6917
     */
6918
    public function withChaincodeId($value)
6919
    {
6920
        $this->data['ChaincodeId'] = $value;
6921
        $this->options['form_params']['ChaincodeId'] = $value;
6922
6923
        return $this;
6924
    }
6925
6926
    /**
6927
     * @param string $value
6928
     *
6929
     * @return $this
6930
     */
6931
    public function withCollectionConfig($value)
6932
    {
6933
        $this->data['CollectionConfig'] = $value;
6934
        $this->options['form_params']['CollectionConfig'] = $value;
6935
6936
        return $this;
6937
    }
6938
6939
    /**
6940
     * @param string $value
6941
     *
6942
     * @return $this
6943
     */
6944
    public function withEndorsePolicy($value)
6945
    {
6946
        $this->data['EndorsePolicy'] = $value;
6947
        $this->options['form_params']['EndorsePolicy'] = $value;
6948
6949
        return $this;
6950
    }
6951
6952
    /**
6953
     * @param string $value
6954
     *
6955
     * @return $this
6956
     */
6957
    public function withLocation($value)
6958
    {
6959
        $this->data['Location'] = $value;
6960
        $this->options['form_params']['Location'] = $value;
6961
6962
        return $this;
6963
    }
6964
}
6965