Skip to content

Commit

Permalink
Init.
Browse files Browse the repository at this point in the history
  • Loading branch information
sdk-team committed Nov 19, 2024
1 parent c4712ad commit 5129c62
Show file tree
Hide file tree
Showing 8 changed files with 312 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
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`.

Expand Down
12 changes: 12 additions & 0 deletions src/AIMath/AIMath.php
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
{
}
25 changes: 25 additions & 0 deletions src/AIMath/README-EN.md
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
25 changes: 25 additions & 0 deletions src/AIMath/README.md
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
201 changes: 201 additions & 0 deletions src/AIMath/V20241114/AIMathApiResolver.php
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;
}
}
43 changes: 43 additions & 0 deletions src/AIMath/composer.json
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"
}
1 change: 1 addition & 0 deletions src/IdeHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
*
* @codeCoverageIgnore
*
* @method static AIMath\AIMath aIMath()
* @method static ARMS\ARMS aRMS()
* @method static ARMS4FINANCE\ARMS4FINANCE aRMS4FINANCE()
* @method static Aas\Aas aas()
Expand Down
2 changes: 1 addition & 1 deletion src/Release.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class Release
/**
* Version of the SDK
*/
const VERSION = '1.8.2219';
const VERSION = '1.8.2220';

/**
* @param Event $event
Expand Down

0 comments on commit 5129c62

Please sign in to comment.