京东云
This commit is contained in:
8
vendor/jdcloud-api/jdcloud-sdk-php/src/Iv/ChangeLog.md
vendored
Normal file
8
vendor/jdcloud-api/jdcloud-sdk-php/src/Iv/ChangeLog.md
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
# 更新历史 #
|
||||
API版本:0.0.1
|
||||
|
||||
|发布时间|版本号|更新|说明|
|
||||
|---|---|---|---|
|
||||
|2021-01-28|0.0.1|初始版本|* 智能视频基本接口|
|
||||
|
||||
|
||||
60
vendor/jdcloud-api/jdcloud-sdk-php/src/Iv/IvClient.php
vendored
Normal file
60
vendor/jdcloud-api/jdcloud-sdk-php/src/Iv/IvClient.php
vendored
Normal file
@@ -0,0 +1,60 @@
|
||||
<?php
|
||||
/**
|
||||
* Iv
|
||||
*
|
||||
* @category Jdcloud
|
||||
* @package Jdcloud\Iv
|
||||
* @author Jdcloud <jdcloud-api@jd.com>
|
||||
* @license Apache-2.0 http://www.apache.org/licenses/LICENSE-2.0
|
||||
* @link https://www.jdcloud.com/help/faq
|
||||
*/
|
||||
|
||||
namespace Jdcloud\Iv;
|
||||
|
||||
use Jdcloud\JdCloudClient;
|
||||
use Jdcloud\Api\Service;
|
||||
use Jdcloud\Api\DocModel;
|
||||
use Jdcloud\Api\ApiProvider;
|
||||
use Jdcloud\PresignUrlMiddleware;
|
||||
|
||||
/**
|
||||
* Client used to interact with iv.
|
||||
*
|
||||
* @method \Jdcloud\Result submitViJob(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise submitViJobAsync(array $args = [])
|
||||
* @method \Jdcloud\Result getViJobSummary(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise getViJobSummaryAsync(array $args = [])
|
||||
* @method \Jdcloud\Result listViTemplates(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listViTemplatesAsync(array $args = [])
|
||||
* @method \Jdcloud\Result createViTemplate(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise createViTemplateAsync(array $args = [])
|
||||
* @method \Jdcloud\Result getViTemplate(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise getViTemplateAsync(array $args = [])
|
||||
* @method \Jdcloud\Result updateViTemplate(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise updateViTemplateAsync(array $args = [])
|
||||
* @method \Jdcloud\Result deleteViTemplate(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise deleteViTemplateAsync(array $args = [])
|
||||
*/
|
||||
class IvClient extends JdCloudClient
|
||||
{
|
||||
public function __construct(array $args)
|
||||
{
|
||||
$args['with_resolved'] = function (array $args) {
|
||||
$this->getHandlerList()->appendInit(
|
||||
PresignUrlMiddleware::wrap(
|
||||
$this,
|
||||
$args['endpoint_provider'],
|
||||
[
|
||||
'operations' => [
|
||||
],
|
||||
'service' => 'iv',
|
||||
'presign_param' => 'PresignedUrl',
|
||||
]
|
||||
),
|
||||
'iv'
|
||||
);
|
||||
};
|
||||
|
||||
parent::__construct($args);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user