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