Skip to content

Commit 5129c62

Browse files
committed
Init.
1 parent c4712ad commit 5129c62

File tree

8 files changed

+312
-1
lines changed

8 files changed

+312
-1
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# CHANGELOG
22

3+
## 1.8.2220 - 2024-11-19
4+
- Init.
5+
6+
37
## 1.8.2219 - 2024-11-14
48
- Generated 2016-11-01 for `live`.
59

src/AIMath/AIMath.php

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<?php
2+
3+
namespace AlibabaCloud\AIMath;
4+
5+
use AlibabaCloud\Client\Resolver\VersionResolver;
6+
7+
/**
8+
* @method static V20241114\AIMathApiResolver v20241114()
9+
*/
10+
class AIMath extends VersionResolver
11+
{
12+
}

src/AIMath/README-EN.md

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
[简体中文](./README.md) | English
2+
3+
<p align="center">
4+
<a href=" https://www.aliyun.com"><img src="https://aliyunsdk-pages.alicdn.com/icons/AlibabaCloud.svg"></a>
5+
</p>
6+
7+
<h1 align="center">Alibaba Cloud AIMath SDK for PHP</h1>
8+
9+
If [Alibaba Cloud SDK for PHP][sdk] is installed, there is no need to install the product dependency package. This product dependency package is only part of the synchronization from [Alibaba Cloud SDK for PHP][sdk], and its namespace and usage are consistent with [Alibaba Cloud SDK for PHP][sdk].
10+
11+
If you don't care about file size, we recommend that you install [Alibaba Cloud SDK for PHP][sdk] and update it regularly so as to maintain the latest and most complete product support:
12+
```
13+
composer require alibabacloud/sdk
14+
```
15+
16+
The product can also be installed only:
17+
> The version of this product is always synchronized with [Alibaba Cloud SDK for PHP][sdk] to ensure that it can switch with [Alibaba Cloud SDK for PHP][sdk] at any time without changing the business code, although the code between different versions of this product may not change.
18+
```
19+
composer require alibabacloud/aimath
20+
```
21+
22+
***
23+
Refer to document [Alibaba Cloud SDK for PHP][sdk] for more SDK usage.
24+
25+
[sdk]: https://github.com/aliyun/openapi-sdk-php

src/AIMath/README.md

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
简体中文 | [English](./README-EN.md)
2+
3+
<p align="center">
4+
<a href=" https://www.aliyun.com"><img src="https://aliyunsdk-pages.alicdn.com/icons/Aliyun.svg"></a>
5+
</p>
6+
7+
<h1 align="center">Alibaba Cloud AIMath SDK for PHP</h1>
8+
9+
若已安装 [Alibaba Cloud SDK for PHP][sdk] 则无需安装本产品依赖包。本产品依赖包只是从 [Alibaba Cloud SDK for PHP][sdk] 中同步出来的一部分,其命名空间、用法与 [Alibaba Cloud SDK for PHP][sdk] 一致。
10+
11+
如果您不在乎文件体积,建议您安装 [Alibaba Cloud SDK for PHP][sdk] 并经常更新,以便保持最新、最全的产品支持:
12+
```
13+
composer require alibabacloud/sdk
14+
```
15+
16+
也可仅安装本产品:
17+
> 本产品的版本始终和 [Alibaba Cloud SDK for PHP][sdk] 保持同步,以保证在不改变业务代码的情况下随时和 [Alibaba Cloud SDK for PHP][sdk] 相互切换,尽管本产品不同版本之间的代码可能没有变化。
18+
```
19+
composer require alibabacloud/aimath
20+
```
21+
22+
***
23+
更多 SDK 的使用请参考 [Alibaba Cloud SDK for PHP][sdk] 文档。
24+
25+
[sdk]: https://github.com/aliyun/openapi-sdk-php
+201
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,201 @@
1+
<?php
2+
3+
namespace AlibabaCloud\AIMath\V20241114;
4+
5+
use AlibabaCloud\Client\Resolver\ApiResolver;
6+
7+
/**
8+
* @method GenAnalysis genAnalysis(array $options = [])
9+
* @method GenStep genStep(array $options = [])
10+
* @method GlobalConfirm globalConfirm(array $options = [])
11+
* @method UpdateAnalysis updateAnalysis(array $options = [])
12+
* @method UpdateStep updateStep(array $options = [])
13+
*/
14+
class AIMathApiResolver extends ApiResolver
15+
{
16+
}
17+
18+
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
19+
{
20+
/** @var string */
21+
public $product = 'AIMath';
22+
23+
/** @var string */
24+
public $version = '2024-11-14';
25+
26+
/** @var string */
27+
public $method = 'POST';
28+
29+
/** @var string */
30+
protected $scheme = 'https';
31+
}
32+
33+
/**
34+
* @method string getExerciseContent()
35+
*/
36+
class GenAnalysis extends Rpc
37+
{
38+
39+
/**
40+
* @param string $value
41+
*
42+
* @return $this
43+
*/
44+
public function withExerciseContent($value)
45+
{
46+
$this->data['ExerciseContent'] = $value;
47+
$this->options['form_params']['ExerciseContent'] = $value;
48+
49+
return $this;
50+
}
51+
}
52+
53+
/**
54+
* @method string getExerciseCode()
55+
*/
56+
class GenStep extends Rpc
57+
{
58+
59+
/**
60+
* @param string $value
61+
*
62+
* @return $this
63+
*/
64+
public function withExerciseCode($value)
65+
{
66+
$this->data['ExerciseCode'] = $value;
67+
$this->options['form_params']['ExerciseCode'] = $value;
68+
69+
return $this;
70+
}
71+
}
72+
73+
/**
74+
* @method string getTag()
75+
* @method string getExerciseCode()
76+
*/
77+
class GlobalConfirm extends Rpc
78+
{
79+
80+
/**
81+
* @param string $value
82+
*
83+
* @return $this
84+
*/
85+
public function withTag($value)
86+
{
87+
$this->data['Tag'] = $value;
88+
$this->options['form_params']['Tag'] = $value;
89+
90+
return $this;
91+
}
92+
93+
/**
94+
* @param string $value
95+
*
96+
* @return $this
97+
*/
98+
public function withExerciseCode($value)
99+
{
100+
$this->data['ExerciseCode'] = $value;
101+
$this->options['form_params']['ExerciseCode'] = $value;
102+
103+
return $this;
104+
}
105+
}
106+
107+
/**
108+
* @method string getContent()
109+
* @method string getContentCode()
110+
* @method string getExerciseCode()
111+
*/
112+
class UpdateAnalysis extends Rpc
113+
{
114+
115+
/**
116+
* @param string $value
117+
*
118+
* @return $this
119+
*/
120+
public function withContent($value)
121+
{
122+
$this->data['Content'] = $value;
123+
$this->options['form_params']['Content'] = $value;
124+
125+
return $this;
126+
}
127+
128+
/**
129+
* @param string $value
130+
*
131+
* @return $this
132+
*/
133+
public function withContentCode($value)
134+
{
135+
$this->data['ContentCode'] = $value;
136+
$this->options['form_params']['ContentCode'] = $value;
137+
138+
return $this;
139+
}
140+
141+
/**
142+
* @param string $value
143+
*
144+
* @return $this
145+
*/
146+
public function withExerciseCode($value)
147+
{
148+
$this->data['ExerciseCode'] = $value;
149+
$this->options['form_params']['ExerciseCode'] = $value;
150+
151+
return $this;
152+
}
153+
}
154+
155+
/**
156+
* @method string getContent()
157+
* @method string getContentCode()
158+
* @method string getExerciseCode()
159+
*/
160+
class UpdateStep extends Rpc
161+
{
162+
163+
/**
164+
* @param string $value
165+
*
166+
* @return $this
167+
*/
168+
public function withContent($value)
169+
{
170+
$this->data['Content'] = $value;
171+
$this->options['form_params']['Content'] = $value;
172+
173+
return $this;
174+
}
175+
176+
/**
177+
* @param string $value
178+
*
179+
* @return $this
180+
*/
181+
public function withContentCode($value)
182+
{
183+
$this->data['ContentCode'] = $value;
184+
$this->options['form_params']['ContentCode'] = $value;
185+
186+
return $this;
187+
}
188+
189+
/**
190+
* @param string $value
191+
*
192+
* @return $this
193+
*/
194+
public function withExerciseCode($value)
195+
{
196+
$this->data['ExerciseCode'] = $value;
197+
$this->options['form_params']['ExerciseCode'] = $value;
198+
199+
return $this;
200+
}
201+
}

src/AIMath/composer.json

+43
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
{
2+
"name": "alibabacloud/aimath",
3+
"homepage": "https://www.alibabacloud.com/",
4+
"description": "Alibaba Cloud AIMath SDK for PHP",
5+
"keywords": [
6+
"aimath",
7+
"sdk",
8+
"cloud",
9+
"aliyun",
10+
"alibaba",
11+
"library",
12+
"alibabacloud"
13+
],
14+
"type": "library",
15+
"license": "Apache-2.0",
16+
"support": {
17+
"source": "https://github.com/alibabacloud-sdk-php/aimath",
18+
"issues": "https://github.com/alibabacloud-sdk-php/aimath/issues"
19+
},
20+
"authors": [
21+
{
22+
"name": "Alibaba Cloud SDK",
23+
"email": "[email protected]",
24+
"homepage": "http://www.alibabacloud.com"
25+
}
26+
],
27+
"require": {
28+
"php": ">=5.5",
29+
"alibabacloud/client": "^1.5"
30+
},
31+
"autoload": {
32+
"psr-4": {
33+
"AlibabaCloud\\AIMath\\": ""
34+
}
35+
},
36+
"config": {
37+
"sort-packages": true,
38+
"preferred-install": "dist",
39+
"optimize-autoloader": true
40+
},
41+
"prefer-stable": true,
42+
"minimum-stability": "dev"
43+
}

src/IdeHelper.php

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
*
88
* @codeCoverageIgnore
99
*
10+
* @method static AIMath\AIMath aIMath()
1011
* @method static ARMS\ARMS aRMS()
1112
* @method static ARMS4FINANCE\ARMS4FINANCE aRMS4FINANCE()
1213
* @method static Aas\Aas aas()

src/Release.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class Release
1616
/**
1717
* Version of the SDK
1818
*/
19-
const VERSION = '1.8.2219';
19+
const VERSION = '1.8.2220';
2020

2121
/**
2222
* @param Event $event

0 commit comments

Comments
 (0)