MPServerlessApiResolver.php 32 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677
  1. <?php
  2. namespace AlibabaCloud\MPServerless\V20190615;
  3. use AlibabaCloud\Client\Resolver\ApiResolver;
  4. /**
  5. * @method AddDingtalkOpenPlatformConfig addDingtalkOpenPlatformConfig(array $options = [])
  6. * @method CreateFunction createFunction(array $options = [])
  7. * @method CreateFunctionDeployment createFunctionDeployment(array $options = [])
  8. * @method CreateSpace createSpace(array $options = [])
  9. * @method DeleteAntOpenPlatformConfig deleteAntOpenPlatformConfig(array $options = [])
  10. * @method DeleteDBCollection deleteDBCollection(array $options = [])
  11. * @method DeleteDingtalkOpenPlatformConfig deleteDingtalkOpenPlatformConfig(array $options = [])
  12. * @method DeleteFile deleteFile(array $options = [])
  13. * @method DeleteFunction deleteFunction(array $options = [])
  14. * @method DeleteSpace deleteSpace(array $options = [])
  15. * @method DeleteWechatOpenPlatformConfig deleteWechatOpenPlatformConfig(array $options = [])
  16. * @method DeployFunction deployFunction(array $options = [])
  17. * @method DescribeFCOpenStatus describeFCOpenStatus(array $options = [])
  18. * @method DescribeFile describeFile(array $options = [])
  19. * @method DescribeFileUploadSignedUrl describeFileUploadSignedUrl(array $options = [])
  20. * @method DescribeFunction describeFunction(array $options = [])
  21. * @method DescribeISVFileUploadSignedUrl describeISVFileUploadSignedUrl(array $options = [])
  22. * @method DescribeProductOpenStatus describeProductOpenStatus(array $options = [])
  23. * @method DescribeServicePolicy describeServicePolicy(array $options = [])
  24. * @method DescribeSpace describeSpace(array $options = [])
  25. * @method DescribeSpaceClientConfig describeSpaceClientConfig(array $options = [])
  26. * @method EnableExtension enableExtension(array $options = [])
  27. * @method ListDingtalkOpenPlatformConfigs listDingtalkOpenPlatformConfigs(array $options = [])
  28. * @method ListExtensions listExtensions(array $options = [])
  29. * @method ListFile listFile(array $options = [])
  30. * @method ListFunction listFunction(array $options = [])
  31. * @method ListFunctionDeployment listFunctionDeployment(array $options = [])
  32. * @method ListFunctionLog listFunctionLog(array $options = [])
  33. * @method ListFunctionSpec listFunctionSpec(array $options = [])
  34. * @method ListOpenPlatformConfig listOpenPlatformConfig(array $options = [])
  35. * @method ListSpace listSpace(array $options = [])
  36. * @method ListSpaceOfLabel listSpaceOfLabel(array $options = [])
  37. * @method OpenProduct openProduct(array $options = [])
  38. * @method RegisterFile registerFile(array $options = [])
  39. * @method RunDBCommand runDBCommand(array $options = [])
  40. * @method RunFunction runFunction(array $options = [])
  41. * @method SaveAntOpenPlatformConfig saveAntOpenPlatformConfig(array $options = [])
  42. * @method SaveWechatOpenPlatformConfig saveWechatOpenPlatformConfig(array $options = [])
  43. * @method UpdateDingtalkOpenPlatformConfig updateDingtalkOpenPlatformConfig(array $options = [])
  44. * @method UpdateFunction updateFunction(array $options = [])
  45. * @method UpdateServicePolicy updateServicePolicy(array $options = [])
  46. */
  47. class MPServerlessApiResolver extends ApiResolver
  48. {
  49. }
  50. class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
  51. {
  52. /** @var string */
  53. public $product = 'MPServerless';
  54. /** @var string */
  55. public $version = '2019-06-15';
  56. /** @var string */
  57. public $method = 'POST';
  58. /** @var string */
  59. public $serviceCode = 'MPServerless';
  60. }
  61. /**
  62. * @method string getSpaceId()
  63. * @method string getAppId()
  64. * @method string getAppSecret()
  65. */
  66. class AddDingtalkOpenPlatformConfig extends Rpc
  67. {
  68. /**
  69. * @param string $value
  70. *
  71. * @return $this
  72. */
  73. public function withSpaceId($value)
  74. {
  75. $this->data['SpaceId'] = $value;
  76. $this->options['form_params']['SpaceId'] = $value;
  77. return $this;
  78. }
  79. /**
  80. * @param string $value
  81. *
  82. * @return $this
  83. */
  84. public function withAppId($value)
  85. {
  86. $this->data['AppId'] = $value;
  87. $this->options['form_params']['AppId'] = $value;
  88. return $this;
  89. }
  90. /**
  91. * @param string $value
  92. *
  93. * @return $this
  94. */
  95. public function withAppSecret($value)
  96. {
  97. $this->data['AppSecret'] = $value;
  98. $this->options['form_params']['AppSecret'] = $value;
  99. return $this;
  100. }
  101. }
  102. /**
  103. * @method string getSpaceId()
  104. * @method string getName()
  105. * @method string getDesc()
  106. */
  107. class CreateFunction extends Rpc
  108. {
  109. /**
  110. * @param string $value
  111. *
  112. * @return $this
  113. */
  114. public function withSpaceId($value)
  115. {
  116. $this->data['SpaceId'] = $value;
  117. $this->options['form_params']['SpaceId'] = $value;
  118. return $this;
  119. }
  120. /**
  121. * @param string $value
  122. *
  123. * @return $this
  124. */
  125. public function withName($value)
  126. {
  127. $this->data['Name'] = $value;
  128. $this->options['form_params']['Name'] = $value;
  129. return $this;
  130. }
  131. /**
  132. * @param string $value
  133. *
  134. * @return $this
  135. */
  136. public function withDesc($value)
  137. {
  138. $this->data['Desc'] = $value;
  139. $this->options['form_params']['Desc'] = $value;
  140. return $this;
  141. }
  142. }
  143. /**
  144. * @method string getSpaceId()
  145. * @method string getName()
  146. */
  147. class CreateFunctionDeployment extends Rpc
  148. {
  149. /**
  150. * @param string $value
  151. *
  152. * @return $this
  153. */
  154. public function withSpaceId($value)
  155. {
  156. $this->data['SpaceId'] = $value;
  157. $this->options['form_params']['SpaceId'] = $value;
  158. return $this;
  159. }
  160. /**
  161. * @param string $value
  162. *
  163. * @return $this
  164. */
  165. public function withName($value)
  166. {
  167. $this->data['Name'] = $value;
  168. $this->options['form_params']['Name'] = $value;
  169. return $this;
  170. }
  171. }
  172. /**
  173. * @method array getLabels()
  174. * @method string getName()
  175. * @method $this withName($value)
  176. * @method string getDesc()
  177. * @method $this withDesc($value)
  178. */
  179. class CreateSpace extends Rpc
  180. {
  181. /**
  182. * @param array $labels
  183. *
  184. * @return $this
  185. */
  186. public function withLabels(array $labels)
  187. {
  188. $this->data['Labels'] = $labels;
  189. foreach ($labels as $depth1 => $depth1Value) {
  190. $this->options['query']['Labels.' . ($depth1 + 1) . '.Name'] = $depth1Value['Name'];
  191. $this->options['query']['Labels.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
  192. }
  193. return $this;
  194. }
  195. }
  196. /**
  197. * @method string getSpaceId()
  198. * @method string getAppId()
  199. */
  200. class DeleteAntOpenPlatformConfig extends Rpc
  201. {
  202. /**
  203. * @param string $value
  204. *
  205. * @return $this
  206. */
  207. public function withSpaceId($value)
  208. {
  209. $this->data['SpaceId'] = $value;
  210. $this->options['form_params']['SpaceId'] = $value;
  211. return $this;
  212. }
  213. /**
  214. * @param string $value
  215. *
  216. * @return $this
  217. */
  218. public function withAppId($value)
  219. {
  220. $this->data['AppId'] = $value;
  221. $this->options['form_params']['AppId'] = $value;
  222. return $this;
  223. }
  224. }
  225. /**
  226. * @method string getBody()
  227. * @method string getSpaceId()
  228. */
  229. class DeleteDBCollection extends Rpc
  230. {
  231. /**
  232. * @param string $value
  233. *
  234. * @return $this
  235. */
  236. public function withBody($value)
  237. {
  238. $this->data['Body'] = $value;
  239. $this->options['form_params']['Body'] = $value;
  240. return $this;
  241. }
  242. /**
  243. * @param string $value
  244. *
  245. * @return $this
  246. */
  247. public function withSpaceId($value)
  248. {
  249. $this->data['SpaceId'] = $value;
  250. $this->options['form_params']['SpaceId'] = $value;
  251. return $this;
  252. }
  253. }
  254. /**
  255. * @method string getSpaceId()
  256. * @method string getAppId()
  257. */
  258. class DeleteDingtalkOpenPlatformConfig extends Rpc
  259. {
  260. /**
  261. * @param string $value
  262. *
  263. * @return $this
  264. */
  265. public function withSpaceId($value)
  266. {
  267. $this->data['SpaceId'] = $value;
  268. $this->options['form_params']['SpaceId'] = $value;
  269. return $this;
  270. }
  271. /**
  272. * @param string $value
  273. *
  274. * @return $this
  275. */
  276. public function withAppId($value)
  277. {
  278. $this->data['AppId'] = $value;
  279. $this->options['form_params']['AppId'] = $value;
  280. return $this;
  281. }
  282. }
  283. /**
  284. * @method string getSpaceId()
  285. * @method string getId()
  286. */
  287. class DeleteFile extends Rpc
  288. {
  289. /**
  290. * @param string $value
  291. *
  292. * @return $this
  293. */
  294. public function withSpaceId($value)
  295. {
  296. $this->data['SpaceId'] = $value;
  297. $this->options['form_params']['SpaceId'] = $value;
  298. return $this;
  299. }
  300. /**
  301. * @param string $value
  302. *
  303. * @return $this
  304. */
  305. public function withId($value)
  306. {
  307. $this->data['Id'] = $value;
  308. $this->options['form_params']['Id'] = $value;
  309. return $this;
  310. }
  311. }
  312. /**
  313. * @method string getSpaceId()
  314. * @method string getName()
  315. */
  316. class DeleteFunction extends Rpc
  317. {
  318. /**
  319. * @param string $value
  320. *
  321. * @return $this
  322. */
  323. public function withSpaceId($value)
  324. {
  325. $this->data['SpaceId'] = $value;
  326. $this->options['form_params']['SpaceId'] = $value;
  327. return $this;
  328. }
  329. /**
  330. * @param string $value
  331. *
  332. * @return $this
  333. */
  334. public function withName($value)
  335. {
  336. $this->data['Name'] = $value;
  337. $this->options['form_params']['Name'] = $value;
  338. return $this;
  339. }
  340. }
  341. /**
  342. * @method string getSpaceId()
  343. */
  344. class DeleteSpace extends Rpc
  345. {
  346. /**
  347. * @param string $value
  348. *
  349. * @return $this
  350. */
  351. public function withSpaceId($value)
  352. {
  353. $this->data['SpaceId'] = $value;
  354. $this->options['form_params']['SpaceId'] = $value;
  355. return $this;
  356. }
  357. }
  358. /**
  359. * @method string getSpaceId()
  360. * @method string getAppId()
  361. */
  362. class DeleteWechatOpenPlatformConfig extends Rpc
  363. {
  364. /**
  365. * @param string $value
  366. *
  367. * @return $this
  368. */
  369. public function withSpaceId($value)
  370. {
  371. $this->data['SpaceId'] = $value;
  372. $this->options['form_params']['SpaceId'] = $value;
  373. return $this;
  374. }
  375. /**
  376. * @param string $value
  377. *
  378. * @return $this
  379. */
  380. public function withAppId($value)
  381. {
  382. $this->data['AppId'] = $value;
  383. $this->options['form_params']['AppId'] = $value;
  384. return $this;
  385. }
  386. }
  387. /**
  388. * @method string getSpaceId()
  389. * @method string getDeploymentId()
  390. */
  391. class DeployFunction extends Rpc
  392. {
  393. /**
  394. * @param string $value
  395. *
  396. * @return $this
  397. */
  398. public function withSpaceId($value)
  399. {
  400. $this->data['SpaceId'] = $value;
  401. $this->options['form_params']['SpaceId'] = $value;
  402. return $this;
  403. }
  404. /**
  405. * @param string $value
  406. *
  407. * @return $this
  408. */
  409. public function withDeploymentId($value)
  410. {
  411. $this->data['DeploymentId'] = $value;
  412. $this->options['form_params']['DeploymentId'] = $value;
  413. return $this;
  414. }
  415. }
  416. class DescribeFCOpenStatus extends Rpc
  417. {
  418. }
  419. /**
  420. * @method string getSpaceId()
  421. * @method string getId()
  422. */
  423. class DescribeFile extends Rpc
  424. {
  425. /**
  426. * @param string $value
  427. *
  428. * @return $this
  429. */
  430. public function withSpaceId($value)
  431. {
  432. $this->data['SpaceId'] = $value;
  433. $this->options['form_params']['SpaceId'] = $value;
  434. return $this;
  435. }
  436. /**
  437. * @param string $value
  438. *
  439. * @return $this
  440. */
  441. public function withId($value)
  442. {
  443. $this->data['Id'] = $value;
  444. $this->options['form_params']['Id'] = $value;
  445. return $this;
  446. }
  447. }
  448. /**
  449. * @method string getContentType()
  450. * @method string getSpaceId()
  451. * @method string getFilename()
  452. * @method string getSize()
  453. * @method string getTargetPath()
  454. */
  455. class DescribeFileUploadSignedUrl extends Rpc
  456. {
  457. /**
  458. * @param string $value
  459. *
  460. * @return $this
  461. */
  462. public function withContentType($value)
  463. {
  464. $this->data['ContentType'] = $value;
  465. $this->options['form_params']['ContentType'] = $value;
  466. return $this;
  467. }
  468. /**
  469. * @param string $value
  470. *
  471. * @return $this
  472. */
  473. public function withSpaceId($value)
  474. {
  475. $this->data['SpaceId'] = $value;
  476. $this->options['form_params']['SpaceId'] = $value;
  477. return $this;
  478. }
  479. /**
  480. * @param string $value
  481. *
  482. * @return $this
  483. */
  484. public function withFilename($value)
  485. {
  486. $this->data['Filename'] = $value;
  487. $this->options['form_params']['Filename'] = $value;
  488. return $this;
  489. }
  490. /**
  491. * @param string $value
  492. *
  493. * @return $this
  494. */
  495. public function withSize($value)
  496. {
  497. $this->data['Size'] = $value;
  498. $this->options['form_params']['Size'] = $value;
  499. return $this;
  500. }
  501. /**
  502. * @param string $value
  503. *
  504. * @return $this
  505. */
  506. public function withTargetPath($value)
  507. {
  508. $this->data['TargetPath'] = $value;
  509. $this->options['form_params']['TargetPath'] = $value;
  510. return $this;
  511. }
  512. }
  513. /**
  514. * @method string getSpaceId()
  515. * @method string getName()
  516. */
  517. class DescribeFunction extends Rpc
  518. {
  519. /**
  520. * @param string $value
  521. *
  522. * @return $this
  523. */
  524. public function withSpaceId($value)
  525. {
  526. $this->data['SpaceId'] = $value;
  527. $this->options['form_params']['SpaceId'] = $value;
  528. return $this;
  529. }
  530. /**
  531. * @param string $value
  532. *
  533. * @return $this
  534. */
  535. public function withName($value)
  536. {
  537. $this->data['Name'] = $value;
  538. $this->options['form_params']['Name'] = $value;
  539. return $this;
  540. }
  541. }
  542. /**
  543. * @method string getFilename()
  544. * @method string getBucketName()
  545. * @method string getTenantId()
  546. */
  547. class DescribeISVFileUploadSignedUrl extends Rpc
  548. {
  549. /**
  550. * @param string $value
  551. *
  552. * @return $this
  553. */
  554. public function withFilename($value)
  555. {
  556. $this->data['Filename'] = $value;
  557. $this->options['form_params']['Filename'] = $value;
  558. return $this;
  559. }
  560. /**
  561. * @param string $value
  562. *
  563. * @return $this
  564. */
  565. public function withBucketName($value)
  566. {
  567. $this->data['BucketName'] = $value;
  568. $this->options['form_params']['BucketName'] = $value;
  569. return $this;
  570. }
  571. /**
  572. * @param string $value
  573. *
  574. * @return $this
  575. */
  576. public function withTenantId($value)
  577. {
  578. $this->data['TenantId'] = $value;
  579. $this->options['form_params']['TenantId'] = $value;
  580. return $this;
  581. }
  582. }
  583. /**
  584. * @method array getLabels()
  585. * @method string getName()
  586. * @method string getDesc()
  587. */
  588. class DescribeProductOpenStatus extends Rpc
  589. {
  590. /**
  591. * @param array $labels
  592. *
  593. * @return $this
  594. */
  595. public function withLabels(array $labels)
  596. {
  597. $this->data['Labels'] = $labels;
  598. foreach ($labels as $depth1 => $depth1Value) {
  599. $this->options['form_params']['Labels.' . ($depth1 + 1) . '.Name'] = $depth1Value['Name'];
  600. $this->options['form_params']['Labels.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
  601. }
  602. return $this;
  603. }
  604. /**
  605. * @param string $value
  606. *
  607. * @return $this
  608. */
  609. public function withName($value)
  610. {
  611. $this->data['Name'] = $value;
  612. $this->options['form_params']['Name'] = $value;
  613. return $this;
  614. }
  615. /**
  616. * @param string $value
  617. *
  618. * @return $this
  619. */
  620. public function withDesc($value)
  621. {
  622. $this->data['Desc'] = $value;
  623. $this->options['form_params']['Desc'] = $value;
  624. return $this;
  625. }
  626. }
  627. /**
  628. * @method string getSpaceId()
  629. * @method string getServiceName()
  630. */
  631. class DescribeServicePolicy extends Rpc
  632. {
  633. /**
  634. * @param string $value
  635. *
  636. * @return $this
  637. */
  638. public function withSpaceId($value)
  639. {
  640. $this->data['SpaceId'] = $value;
  641. $this->options['form_params']['SpaceId'] = $value;
  642. return $this;
  643. }
  644. /**
  645. * @param string $value
  646. *
  647. * @return $this
  648. */
  649. public function withServiceName($value)
  650. {
  651. $this->data['ServiceName'] = $value;
  652. $this->options['form_params']['ServiceName'] = $value;
  653. return $this;
  654. }
  655. }
  656. /**
  657. * @method string getSpaceId()
  658. */
  659. class DescribeSpace extends Rpc
  660. {
  661. /**
  662. * @param string $value
  663. *
  664. * @return $this
  665. */
  666. public function withSpaceId($value)
  667. {
  668. $this->data['SpaceId'] = $value;
  669. $this->options['form_params']['SpaceId'] = $value;
  670. return $this;
  671. }
  672. }
  673. /**
  674. * @method string getSpaceId()
  675. */
  676. class DescribeSpaceClientConfig extends Rpc
  677. {
  678. /**
  679. * @param string $value
  680. *
  681. * @return $this
  682. */
  683. public function withSpaceId($value)
  684. {
  685. $this->data['SpaceId'] = $value;
  686. $this->options['form_params']['SpaceId'] = $value;
  687. return $this;
  688. }
  689. }
  690. /**
  691. * @method string getExtensionId()
  692. */
  693. class EnableExtension extends Rpc
  694. {
  695. /**
  696. * @param string $value
  697. *
  698. * @return $this
  699. */
  700. public function withExtensionId($value)
  701. {
  702. $this->data['ExtensionId'] = $value;
  703. $this->options['form_params']['ExtensionId'] = $value;
  704. return $this;
  705. }
  706. }
  707. /**
  708. * @method string getSpaceId()
  709. */
  710. class ListDingtalkOpenPlatformConfigs extends Rpc
  711. {
  712. /**
  713. * @param string $value
  714. *
  715. * @return $this
  716. */
  717. public function withSpaceId($value)
  718. {
  719. $this->data['SpaceId'] = $value;
  720. $this->options['form_params']['SpaceId'] = $value;
  721. return $this;
  722. }
  723. }
  724. /**
  725. * @method string getPageNumber()
  726. * @method string getPageSize()
  727. */
  728. class ListExtensions extends Rpc
  729. {
  730. /**
  731. * @param string $value
  732. *
  733. * @return $this
  734. */
  735. public function withPageNumber($value)
  736. {
  737. $this->data['PageNumber'] = $value;
  738. $this->options['form_params']['PageNumber'] = $value;
  739. return $this;
  740. }
  741. /**
  742. * @param string $value
  743. *
  744. * @return $this
  745. */
  746. public function withPageSize($value)
  747. {
  748. $this->data['PageSize'] = $value;
  749. $this->options['form_params']['PageSize'] = $value;
  750. return $this;
  751. }
  752. }
  753. /**
  754. * @method string getPageNum()
  755. * @method string getSpaceId()
  756. * @method string getPageSize()
  757. * @method string getKeyword()
  758. */
  759. class ListFile extends Rpc
  760. {
  761. /**
  762. * @param string $value
  763. *
  764. * @return $this
  765. */
  766. public function withPageNum($value)
  767. {
  768. $this->data['PageNum'] = $value;
  769. $this->options['form_params']['PageNum'] = $value;
  770. return $this;
  771. }
  772. /**
  773. * @param string $value
  774. *
  775. * @return $this
  776. */
  777. public function withSpaceId($value)
  778. {
  779. $this->data['SpaceId'] = $value;
  780. $this->options['form_params']['SpaceId'] = $value;
  781. return $this;
  782. }
  783. /**
  784. * @param string $value
  785. *
  786. * @return $this
  787. */
  788. public function withPageSize($value)
  789. {
  790. $this->data['PageSize'] = $value;
  791. $this->options['form_params']['PageSize'] = $value;
  792. return $this;
  793. }
  794. /**
  795. * @param string $value
  796. *
  797. * @return $this
  798. */
  799. public function withKeyword($value)
  800. {
  801. $this->data['Keyword'] = $value;
  802. $this->options['form_params']['Keyword'] = $value;
  803. return $this;
  804. }
  805. }
  806. /**
  807. * @method string getPageNum()
  808. * @method string getFilterBy()
  809. * @method string getSpaceId()
  810. * @method string getPageSize()
  811. */
  812. class ListFunction extends Rpc
  813. {
  814. /**
  815. * @param string $value
  816. *
  817. * @return $this
  818. */
  819. public function withPageNum($value)
  820. {
  821. $this->data['PageNum'] = $value;
  822. $this->options['form_params']['PageNum'] = $value;
  823. return $this;
  824. }
  825. /**
  826. * @param string $value
  827. *
  828. * @return $this
  829. */
  830. public function withFilterBy($value)
  831. {
  832. $this->data['FilterBy'] = $value;
  833. $this->options['form_params']['FilterBy'] = $value;
  834. return $this;
  835. }
  836. /**
  837. * @param string $value
  838. *
  839. * @return $this
  840. */
  841. public function withSpaceId($value)
  842. {
  843. $this->data['SpaceId'] = $value;
  844. $this->options['form_params']['SpaceId'] = $value;
  845. return $this;
  846. }
  847. /**
  848. * @param string $value
  849. *
  850. * @return $this
  851. */
  852. public function withPageSize($value)
  853. {
  854. $this->data['PageSize'] = $value;
  855. $this->options['form_params']['PageSize'] = $value;
  856. return $this;
  857. }
  858. }
  859. /**
  860. * @method string getPageNum()
  861. * @method string getSpaceId()
  862. * @method string getPageSize()
  863. * @method string getName()
  864. * @method string getStatus()
  865. */
  866. class ListFunctionDeployment extends Rpc
  867. {
  868. /**
  869. * @param string $value
  870. *
  871. * @return $this
  872. */
  873. public function withPageNum($value)
  874. {
  875. $this->data['PageNum'] = $value;
  876. $this->options['form_params']['PageNum'] = $value;
  877. return $this;
  878. }
  879. /**
  880. * @param string $value
  881. *
  882. * @return $this
  883. */
  884. public function withSpaceId($value)
  885. {
  886. $this->data['SpaceId'] = $value;
  887. $this->options['form_params']['SpaceId'] = $value;
  888. return $this;
  889. }
  890. /**
  891. * @param string $value
  892. *
  893. * @return $this
  894. */
  895. public function withPageSize($value)
  896. {
  897. $this->data['PageSize'] = $value;
  898. $this->options['form_params']['PageSize'] = $value;
  899. return $this;
  900. }
  901. /**
  902. * @param string $value
  903. *
  904. * @return $this
  905. */
  906. public function withName($value)
  907. {
  908. $this->data['Name'] = $value;
  909. $this->options['form_params']['Name'] = $value;
  910. return $this;
  911. }
  912. /**
  913. * @param string $value
  914. *
  915. * @return $this
  916. */
  917. public function withStatus($value)
  918. {
  919. $this->data['Status'] = $value;
  920. $this->options['form_params']['Status'] = $value;
  921. return $this;
  922. }
  923. }
  924. /**
  925. * @method string getLogRequestId()
  926. * @method string getPageNum()
  927. * @method string getFromDate()
  928. * @method string getSpaceId()
  929. * @method string getToDate()
  930. * @method string getPageSize()
  931. * @method string getName()
  932. * @method string getStatus()
  933. */
  934. class ListFunctionLog extends Rpc
  935. {
  936. /**
  937. * @param string $value
  938. *
  939. * @return $this
  940. */
  941. public function withLogRequestId($value)
  942. {
  943. $this->data['LogRequestId'] = $value;
  944. $this->options['form_params']['LogRequestId'] = $value;
  945. return $this;
  946. }
  947. /**
  948. * @param string $value
  949. *
  950. * @return $this
  951. */
  952. public function withPageNum($value)
  953. {
  954. $this->data['PageNum'] = $value;
  955. $this->options['form_params']['PageNum'] = $value;
  956. return $this;
  957. }
  958. /**
  959. * @param string $value
  960. *
  961. * @return $this
  962. */
  963. public function withFromDate($value)
  964. {
  965. $this->data['FromDate'] = $value;
  966. $this->options['form_params']['FromDate'] = $value;
  967. return $this;
  968. }
  969. /**
  970. * @param string $value
  971. *
  972. * @return $this
  973. */
  974. public function withSpaceId($value)
  975. {
  976. $this->data['SpaceId'] = $value;
  977. $this->options['form_params']['SpaceId'] = $value;
  978. return $this;
  979. }
  980. /**
  981. * @param string $value
  982. *
  983. * @return $this
  984. */
  985. public function withToDate($value)
  986. {
  987. $this->data['ToDate'] = $value;
  988. $this->options['form_params']['ToDate'] = $value;
  989. return $this;
  990. }
  991. /**
  992. * @param string $value
  993. *
  994. * @return $this
  995. */
  996. public function withPageSize($value)
  997. {
  998. $this->data['PageSize'] = $value;
  999. $this->options['form_params']['PageSize'] = $value;
  1000. return $this;
  1001. }
  1002. /**
  1003. * @param string $value
  1004. *
  1005. * @return $this
  1006. */
  1007. public function withName($value)
  1008. {
  1009. $this->data['Name'] = $value;
  1010. $this->options['form_params']['Name'] = $value;
  1011. return $this;
  1012. }
  1013. /**
  1014. * @param string $value
  1015. *
  1016. * @return $this
  1017. */
  1018. public function withStatus($value)
  1019. {
  1020. $this->data['Status'] = $value;
  1021. $this->options['form_params']['Status'] = $value;
  1022. return $this;
  1023. }
  1024. }
  1025. class ListFunctionSpec extends Rpc
  1026. {
  1027. }
  1028. /**
  1029. * @method string getPlatform()
  1030. * @method string getSpaceId()
  1031. */
  1032. class ListOpenPlatformConfig extends Rpc
  1033. {
  1034. /**
  1035. * @param string $value
  1036. *
  1037. * @return $this
  1038. */
  1039. public function withPlatform($value)
  1040. {
  1041. $this->data['Platform'] = $value;
  1042. $this->options['form_params']['Platform'] = $value;
  1043. return $this;
  1044. }
  1045. /**
  1046. * @param string $value
  1047. *
  1048. * @return $this
  1049. */
  1050. public function withSpaceId($value)
  1051. {
  1052. $this->data['SpaceId'] = $value;
  1053. $this->options['form_params']['SpaceId'] = $value;
  1054. return $this;
  1055. }
  1056. }
  1057. /**
  1058. * @method string getPageNum()
  1059. * @method string getPageSize()
  1060. */
  1061. class ListSpace extends Rpc
  1062. {
  1063. /**
  1064. * @param string $value
  1065. *
  1066. * @return $this
  1067. */
  1068. public function withPageNum($value)
  1069. {
  1070. $this->data['PageNum'] = $value;
  1071. $this->options['form_params']['PageNum'] = $value;
  1072. return $this;
  1073. }
  1074. /**
  1075. * @param string $value
  1076. *
  1077. * @return $this
  1078. */
  1079. public function withPageSize($value)
  1080. {
  1081. $this->data['PageSize'] = $value;
  1082. $this->options['form_params']['PageSize'] = $value;
  1083. return $this;
  1084. }
  1085. }
  1086. /**
  1087. * @method string getLabelName()
  1088. * @method string getLabelValue()
  1089. */
  1090. class ListSpaceOfLabel extends Rpc
  1091. {
  1092. /**
  1093. * @param string $value
  1094. *
  1095. * @return $this
  1096. */
  1097. public function withLabelName($value)
  1098. {
  1099. $this->data['LabelName'] = $value;
  1100. $this->options['form_params']['LabelName'] = $value;
  1101. return $this;
  1102. }
  1103. /**
  1104. * @param string $value
  1105. *
  1106. * @return $this
  1107. */
  1108. public function withLabelValue($value)
  1109. {
  1110. $this->data['LabelValue'] = $value;
  1111. $this->options['form_params']['LabelValue'] = $value;
  1112. return $this;
  1113. }
  1114. }
  1115. /**
  1116. * @method string getData()
  1117. */
  1118. class OpenProduct extends Rpc
  1119. {
  1120. /**
  1121. * @param string $value
  1122. *
  1123. * @return $this
  1124. */
  1125. public function withData($value)
  1126. {
  1127. $this->data['Data'] = $value;
  1128. $this->options['query']['data'] = $value;
  1129. return $this;
  1130. }
  1131. }
  1132. /**
  1133. * @method string getSpaceId()
  1134. * @method string getId()
  1135. */
  1136. class RegisterFile extends Rpc
  1137. {
  1138. /**
  1139. * @param string $value
  1140. *
  1141. * @return $this
  1142. */
  1143. public function withSpaceId($value)
  1144. {
  1145. $this->data['SpaceId'] = $value;
  1146. $this->options['form_params']['SpaceId'] = $value;
  1147. return $this;
  1148. }
  1149. /**
  1150. * @param string $value
  1151. *
  1152. * @return $this
  1153. */
  1154. public function withId($value)
  1155. {
  1156. $this->data['Id'] = $value;
  1157. $this->options['form_params']['Id'] = $value;
  1158. return $this;
  1159. }
  1160. }
  1161. /**
  1162. * @method string getBody()
  1163. * @method string getSpaceId()
  1164. */
  1165. class RunDBCommand extends Rpc
  1166. {
  1167. /**
  1168. * @param string $value
  1169. *
  1170. * @return $this
  1171. */
  1172. public function withBody($value)
  1173. {
  1174. $this->data['Body'] = $value;
  1175. $this->options['form_params']['Body'] = $value;
  1176. return $this;
  1177. }
  1178. /**
  1179. * @param string $value
  1180. *
  1181. * @return $this
  1182. */
  1183. public function withSpaceId($value)
  1184. {
  1185. $this->data['SpaceId'] = $value;
  1186. $this->options['form_params']['SpaceId'] = $value;
  1187. return $this;
  1188. }
  1189. }
  1190. /**
  1191. * @method string getBody()
  1192. * @method string getSpaceId()
  1193. */
  1194. class RunFunction extends Rpc
  1195. {
  1196. /**
  1197. * @param string $value
  1198. *
  1199. * @return $this
  1200. */
  1201. public function withBody($value)
  1202. {
  1203. $this->data['Body'] = $value;
  1204. $this->options['form_params']['Body'] = $value;
  1205. return $this;
  1206. }
  1207. /**
  1208. * @param string $value
  1209. *
  1210. * @return $this
  1211. */
  1212. public function withSpaceId($value)
  1213. {
  1214. $this->data['SpaceId'] = $value;
  1215. $this->options['form_params']['SpaceId'] = $value;
  1216. return $this;
  1217. }
  1218. }
  1219. /**
  1220. * @method string getPublicKey()
  1221. * @method string getSpaceId()
  1222. * @method string getPrivateKey()
  1223. * @method string getAppId()
  1224. */
  1225. class SaveAntOpenPlatformConfig extends Rpc
  1226. {
  1227. /**
  1228. * @param string $value
  1229. *
  1230. * @return $this
  1231. */
  1232. public function withPublicKey($value)
  1233. {
  1234. $this->data['PublicKey'] = $value;
  1235. $this->options['form_params']['PublicKey'] = $value;
  1236. return $this;
  1237. }
  1238. /**
  1239. * @param string $value
  1240. *
  1241. * @return $this
  1242. */
  1243. public function withSpaceId($value)
  1244. {
  1245. $this->data['SpaceId'] = $value;
  1246. $this->options['form_params']['SpaceId'] = $value;
  1247. return $this;
  1248. }
  1249. /**
  1250. * @param string $value
  1251. *
  1252. * @return $this
  1253. */
  1254. public function withPrivateKey($value)
  1255. {
  1256. $this->data['PrivateKey'] = $value;
  1257. $this->options['form_params']['PrivateKey'] = $value;
  1258. return $this;
  1259. }
  1260. /**
  1261. * @param string $value
  1262. *
  1263. * @return $this
  1264. */
  1265. public function withAppId($value)
  1266. {
  1267. $this->data['AppId'] = $value;
  1268. $this->options['form_params']['AppId'] = $value;
  1269. return $this;
  1270. }
  1271. }
  1272. /**
  1273. * @method string getSpaceId()
  1274. * @method string getAppId()
  1275. * @method string getAppSecret()
  1276. */
  1277. class SaveWechatOpenPlatformConfig extends Rpc
  1278. {
  1279. /**
  1280. * @param string $value
  1281. *
  1282. * @return $this
  1283. */
  1284. public function withSpaceId($value)
  1285. {
  1286. $this->data['SpaceId'] = $value;
  1287. $this->options['form_params']['SpaceId'] = $value;
  1288. return $this;
  1289. }
  1290. /**
  1291. * @param string $value
  1292. *
  1293. * @return $this
  1294. */
  1295. public function withAppId($value)
  1296. {
  1297. $this->data['AppId'] = $value;
  1298. $this->options['form_params']['AppId'] = $value;
  1299. return $this;
  1300. }
  1301. /**
  1302. * @param string $value
  1303. *
  1304. * @return $this
  1305. */
  1306. public function withAppSecret($value)
  1307. {
  1308. $this->data['AppSecret'] = $value;
  1309. $this->options['form_params']['AppSecret'] = $value;
  1310. return $this;
  1311. }
  1312. }
  1313. /**
  1314. * @method string getSpaceId()
  1315. * @method string getAppId()
  1316. * @method string getAppSecret()
  1317. */
  1318. class UpdateDingtalkOpenPlatformConfig extends Rpc
  1319. {
  1320. /**
  1321. * @param string $value
  1322. *
  1323. * @return $this
  1324. */
  1325. public function withSpaceId($value)
  1326. {
  1327. $this->data['SpaceId'] = $value;
  1328. $this->options['form_params']['SpaceId'] = $value;
  1329. return $this;
  1330. }
  1331. /**
  1332. * @param string $value
  1333. *
  1334. * @return $this
  1335. */
  1336. public function withAppId($value)
  1337. {
  1338. $this->data['AppId'] = $value;
  1339. $this->options['form_params']['AppId'] = $value;
  1340. return $this;
  1341. }
  1342. /**
  1343. * @param string $value
  1344. *
  1345. * @return $this
  1346. */
  1347. public function withAppSecret($value)
  1348. {
  1349. $this->data['AppSecret'] = $value;
  1350. $this->options['form_params']['AppSecret'] = $value;
  1351. return $this;
  1352. }
  1353. }
  1354. /**
  1355. * @method string getSpaceId()
  1356. * @method string getName()
  1357. * @method string getDesc()
  1358. */
  1359. class UpdateFunction extends Rpc
  1360. {
  1361. /**
  1362. * @param string $value
  1363. *
  1364. * @return $this
  1365. */
  1366. public function withSpaceId($value)
  1367. {
  1368. $this->data['SpaceId'] = $value;
  1369. $this->options['form_params']['SpaceId'] = $value;
  1370. return $this;
  1371. }
  1372. /**
  1373. * @param string $value
  1374. *
  1375. * @return $this
  1376. */
  1377. public function withName($value)
  1378. {
  1379. $this->data['Name'] = $value;
  1380. $this->options['form_params']['Name'] = $value;
  1381. return $this;
  1382. }
  1383. /**
  1384. * @param string $value
  1385. *
  1386. * @return $this
  1387. */
  1388. public function withDesc($value)
  1389. {
  1390. $this->data['Desc'] = $value;
  1391. $this->options['form_params']['Desc'] = $value;
  1392. return $this;
  1393. }
  1394. }
  1395. /**
  1396. * @method string getSpaceId()
  1397. * @method string getServiceName()
  1398. * @method string getPolicy()
  1399. */
  1400. class UpdateServicePolicy extends Rpc
  1401. {
  1402. /**
  1403. * @param string $value
  1404. *
  1405. * @return $this
  1406. */
  1407. public function withSpaceId($value)
  1408. {
  1409. $this->data['SpaceId'] = $value;
  1410. $this->options['form_params']['SpaceId'] = $value;
  1411. return $this;
  1412. }
  1413. /**
  1414. * @param string $value
  1415. *
  1416. * @return $this
  1417. */
  1418. public function withServiceName($value)
  1419. {
  1420. $this->data['ServiceName'] = $value;
  1421. $this->options['form_params']['ServiceName'] = $value;
  1422. return $this;
  1423. }
  1424. /**
  1425. * @param string $value
  1426. *
  1427. * @return $this
  1428. */
  1429. public function withPolicy($value)
  1430. {
  1431. $this->data['Policy'] = $value;
  1432. $this->options['form_params']['Policy'] = $value;
  1433. return $this;
  1434. }
  1435. }