GitHub Access Token became invalid

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

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