-
Notifications
You must be signed in to change notification settings - Fork 109
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
312 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
# CHANGELOG | ||
|
||
## 1.8.2220 - 2024-11-19 | ||
- Init. | ||
|
||
|
||
## 1.8.2219 - 2024-11-14 | ||
- Generated 2016-11-01 for `live`. | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<?php | ||
|
||
namespace AlibabaCloud\AIMath; | ||
|
||
use AlibabaCloud\Client\Resolver\VersionResolver; | ||
|
||
/** | ||
* @method static V20241114\AIMathApiResolver v20241114() | ||
*/ | ||
class AIMath extends VersionResolver | ||
{ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
[简体中文](./README.md) | English | ||
|
||
<p align="center"> | ||
<a href=" https://www.aliyun.com"><img src="https://aliyunsdk-pages.alicdn.com/icons/AlibabaCloud.svg"></a> | ||
</p> | ||
|
||
<h1 align="center">Alibaba Cloud AIMath SDK for PHP</h1> | ||
|
||
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]. | ||
|
||
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: | ||
``` | ||
composer require alibabacloud/sdk | ||
``` | ||
|
||
The product can also be installed only: | ||
> 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. | ||
``` | ||
composer require alibabacloud/aimath | ||
``` | ||
|
||
*** | ||
Refer to document [Alibaba Cloud SDK for PHP][sdk] for more SDK usage. | ||
|
||
[sdk]: https://github.com/aliyun/openapi-sdk-php |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
简体中文 | [English](./README-EN.md) | ||
|
||
<p align="center"> | ||
<a href=" https://www.aliyun.com"><img src="https://aliyunsdk-pages.alicdn.com/icons/Aliyun.svg"></a> | ||
</p> | ||
|
||
<h1 align="center">Alibaba Cloud AIMath SDK for PHP</h1> | ||
|
||
若已安装 [Alibaba Cloud SDK for PHP][sdk] 则无需安装本产品依赖包。本产品依赖包只是从 [Alibaba Cloud SDK for PHP][sdk] 中同步出来的一部分,其命名空间、用法与 [Alibaba Cloud SDK for PHP][sdk] 一致。 | ||
|
||
如果您不在乎文件体积,建议您安装 [Alibaba Cloud SDK for PHP][sdk] 并经常更新,以便保持最新、最全的产品支持: | ||
``` | ||
composer require alibabacloud/sdk | ||
``` | ||
|
||
也可仅安装本产品: | ||
> 本产品的版本始终和 [Alibaba Cloud SDK for PHP][sdk] 保持同步,以保证在不改变业务代码的情况下随时和 [Alibaba Cloud SDK for PHP][sdk] 相互切换,尽管本产品不同版本之间的代码可能没有变化。 | ||
``` | ||
composer require alibabacloud/aimath | ||
``` | ||
|
||
*** | ||
更多 SDK 的使用请参考 [Alibaba Cloud SDK for PHP][sdk] 文档。 | ||
|
||
[sdk]: https://github.com/aliyun/openapi-sdk-php |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,201 @@ | ||
<?php | ||
|
||
namespace AlibabaCloud\AIMath\V20241114; | ||
|
||
use AlibabaCloud\Client\Resolver\ApiResolver; | ||
|
||
/** | ||
* @method GenAnalysis genAnalysis(array $options = []) | ||
* @method GenStep genStep(array $options = []) | ||
* @method GlobalConfirm globalConfirm(array $options = []) | ||
* @method UpdateAnalysis updateAnalysis(array $options = []) | ||
* @method UpdateStep updateStep(array $options = []) | ||
*/ | ||
class AIMathApiResolver extends ApiResolver | ||
{ | ||
} | ||
|
||
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc | ||
{ | ||
/** @var string */ | ||
public $product = 'AIMath'; | ||
|
||
/** @var string */ | ||
public $version = '2024-11-14'; | ||
|
||
/** @var string */ | ||
public $method = 'POST'; | ||
|
||
/** @var string */ | ||
protected $scheme = 'https'; | ||
} | ||
|
||
/** | ||
* @method string getExerciseContent() | ||
*/ | ||
class GenAnalysis extends Rpc | ||
{ | ||
|
||
/** | ||
* @param string $value | ||
* | ||
* @return $this | ||
*/ | ||
public function withExerciseContent($value) | ||
{ | ||
$this->data['ExerciseContent'] = $value; | ||
$this->options['form_params']['ExerciseContent'] = $value; | ||
|
||
return $this; | ||
} | ||
} | ||
|
||
/** | ||
* @method string getExerciseCode() | ||
*/ | ||
class GenStep extends Rpc | ||
{ | ||
|
||
/** | ||
* @param string $value | ||
* | ||
* @return $this | ||
*/ | ||
public function withExerciseCode($value) | ||
{ | ||
$this->data['ExerciseCode'] = $value; | ||
$this->options['form_params']['ExerciseCode'] = $value; | ||
|
||
return $this; | ||
} | ||
} | ||
|
||
/** | ||
* @method string getTag() | ||
* @method string getExerciseCode() | ||
*/ | ||
class GlobalConfirm extends Rpc | ||
{ | ||
|
||
/** | ||
* @param string $value | ||
* | ||
* @return $this | ||
*/ | ||
public function withTag($value) | ||
{ | ||
$this->data['Tag'] = $value; | ||
$this->options['form_params']['Tag'] = $value; | ||
|
||
return $this; | ||
} | ||
|
||
/** | ||
* @param string $value | ||
* | ||
* @return $this | ||
*/ | ||
public function withExerciseCode($value) | ||
{ | ||
$this->data['ExerciseCode'] = $value; | ||
$this->options['form_params']['ExerciseCode'] = $value; | ||
|
||
return $this; | ||
} | ||
} | ||
|
||
/** | ||
* @method string getContent() | ||
* @method string getContentCode() | ||
* @method string getExerciseCode() | ||
*/ | ||
class UpdateAnalysis extends Rpc | ||
{ | ||
|
||
/** | ||
* @param string $value | ||
* | ||
* @return $this | ||
*/ | ||
public function withContent($value) | ||
{ | ||
$this->data['Content'] = $value; | ||
$this->options['form_params']['Content'] = $value; | ||
|
||
return $this; | ||
} | ||
|
||
/** | ||
* @param string $value | ||
* | ||
* @return $this | ||
*/ | ||
public function withContentCode($value) | ||
{ | ||
$this->data['ContentCode'] = $value; | ||
$this->options['form_params']['ContentCode'] = $value; | ||
|
||
return $this; | ||
} | ||
|
||
/** | ||
* @param string $value | ||
* | ||
* @return $this | ||
*/ | ||
public function withExerciseCode($value) | ||
{ | ||
$this->data['ExerciseCode'] = $value; | ||
$this->options['form_params']['ExerciseCode'] = $value; | ||
|
||
return $this; | ||
} | ||
} | ||
|
||
/** | ||
* @method string getContent() | ||
* @method string getContentCode() | ||
* @method string getExerciseCode() | ||
*/ | ||
class UpdateStep extends Rpc | ||
{ | ||
|
||
/** | ||
* @param string $value | ||
* | ||
* @return $this | ||
*/ | ||
public function withContent($value) | ||
{ | ||
$this->data['Content'] = $value; | ||
$this->options['form_params']['Content'] = $value; | ||
|
||
return $this; | ||
} | ||
|
||
/** | ||
* @param string $value | ||
* | ||
* @return $this | ||
*/ | ||
public function withContentCode($value) | ||
{ | ||
$this->data['ContentCode'] = $value; | ||
$this->options['form_params']['ContentCode'] = $value; | ||
|
||
return $this; | ||
} | ||
|
||
/** | ||
* @param string $value | ||
* | ||
* @return $this | ||
*/ | ||
public function withExerciseCode($value) | ||
{ | ||
$this->data['ExerciseCode'] = $value; | ||
$this->options['form_params']['ExerciseCode'] = $value; | ||
|
||
return $this; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
{ | ||
"name": "alibabacloud/aimath", | ||
"homepage": "https://www.alibabacloud.com/", | ||
"description": "Alibaba Cloud AIMath SDK for PHP", | ||
"keywords": [ | ||
"aimath", | ||
"sdk", | ||
"cloud", | ||
"aliyun", | ||
"alibaba", | ||
"library", | ||
"alibabacloud" | ||
], | ||
"type": "library", | ||
"license": "Apache-2.0", | ||
"support": { | ||
"source": "https://github.com/alibabacloud-sdk-php/aimath", | ||
"issues": "https://github.com/alibabacloud-sdk-php/aimath/issues" | ||
}, | ||
"authors": [ | ||
{ | ||
"name": "Alibaba Cloud SDK", | ||
"email": "sdk-team@alibabacloud.com", | ||
"homepage": "http://www.alibabacloud.com" | ||
} | ||
], | ||
"require": { | ||
"php": ">=5.5", | ||
"alibabacloud/client": "^1.5" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"AlibabaCloud\\AIMath\\": "" | ||
} | ||
}, | ||
"config": { | ||
"sort-packages": true, | ||
"preferred-install": "dist", | ||
"optimize-autoloader": true | ||
}, | ||
"prefer-stable": true, | ||
"minimum-stability": "dev" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters