chore: 添加多个图片和资源文件
添加了管理后台所需的图片资源、Excel文件、安装程序以及设计相关的图片文件
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
2019-12-31 Version: 3.1.3
|
||||
- Add request parameter groupType for OnsGroupCreate.
|
||||
|
||||
2019-12-20 Version: 3.1.2
|
||||
- Add result value for OnsConsumerStatus.
|
||||
|
||||
2019-03-29 Version: 3.1.1
|
||||
1, Add DLQ message openAPI.
|
||||
2, Add Query the subscription relational openAPI.
|
||||
3, Remove white list restrictions.
|
||||
|
||||
2019-03-27 Version: 3.1.1
|
||||
1, Add DLQ message openAPI.
|
||||
2, Add Query the subscription relational openAPI.
|
||||
3, Remove white list restrictions.
|
||||
|
||||
2019-03-27 Version: 3.1.1
|
||||
1, Add DLQ message openAPI.
|
||||
2, Add Query the subscription relational openAPI.
|
||||
3, Remove white list restrictions.
|
||||
|
||||
2019-02-18 Version: 3.1.0
|
||||
1, Instantiation: adding the property of instance.
|
||||
2, Replace the "ProducerId" and "ConsumerId" properties with "GROUP_ID".
|
||||
3, Remove parameter OnsRegionId to simplified usage.
|
||||
|
||||
2017-09-19 Version: 2.0.0
|
||||
1, 写资源接口增加访问权限控制,仅限铂金版客户使用。
|
||||
2, 修改版本号为2017-09-18。
|
||||
3, 新增消息轨迹查询接口。
|
||||
|
||||
+73
@@ -0,0 +1,73 @@
|
||||
<?php
|
||||
|
||||
namespace Ons\Request\V20190214;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of OnsConsumerAccumulate
|
||||
*
|
||||
* @method string getGroupId()
|
||||
* @method string getInstanceId()
|
||||
* @method string getDetail()
|
||||
*/
|
||||
class OnsConsumerAccumulateRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Ons',
|
||||
'2019-02-14',
|
||||
'OnsConsumerAccumulate',
|
||||
'ons'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $groupId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setGroupId($groupId)
|
||||
{
|
||||
$this->requestParameters['GroupId'] = $groupId;
|
||||
$this->queryParameters['GroupId'] = $groupId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $instanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setInstanceId($instanceId)
|
||||
{
|
||||
$this->requestParameters['InstanceId'] = $instanceId;
|
||||
$this->queryParameters['InstanceId'] = $instanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $detail
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setDetail($detail)
|
||||
{
|
||||
$this->requestParameters['Detail'] = $detail;
|
||||
$this->queryParameters['Detail'] = $detail;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+59
@@ -0,0 +1,59 @@
|
||||
<?php
|
||||
|
||||
namespace Ons\Request\V20190214;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of OnsConsumerGetConnection
|
||||
*
|
||||
* @method string getGroupId()
|
||||
* @method string getInstanceId()
|
||||
*/
|
||||
class OnsConsumerGetConnectionRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Ons',
|
||||
'2019-02-14',
|
||||
'OnsConsumerGetConnection',
|
||||
'ons'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $groupId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setGroupId($groupId)
|
||||
{
|
||||
$this->requestParameters['GroupId'] = $groupId;
|
||||
$this->queryParameters['GroupId'] = $groupId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $instanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setInstanceId($instanceId)
|
||||
{
|
||||
$this->requestParameters['InstanceId'] = $instanceId;
|
||||
$this->queryParameters['InstanceId'] = $instanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+101
@@ -0,0 +1,101 @@
|
||||
<?php
|
||||
|
||||
namespace Ons\Request\V20190214;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of OnsConsumerResetOffset
|
||||
*
|
||||
* @method string getGroupId()
|
||||
* @method string getResetTimestamp()
|
||||
* @method string getType()
|
||||
* @method string getInstanceId()
|
||||
* @method string getTopic()
|
||||
*/
|
||||
class OnsConsumerResetOffsetRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Ons',
|
||||
'2019-02-14',
|
||||
'OnsConsumerResetOffset',
|
||||
'ons'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $groupId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setGroupId($groupId)
|
||||
{
|
||||
$this->requestParameters['GroupId'] = $groupId;
|
||||
$this->queryParameters['GroupId'] = $groupId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resetTimestamp
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResetTimestamp($resetTimestamp)
|
||||
{
|
||||
$this->requestParameters['ResetTimestamp'] = $resetTimestamp;
|
||||
$this->queryParameters['ResetTimestamp'] = $resetTimestamp;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $type
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setType($type)
|
||||
{
|
||||
$this->requestParameters['Type'] = $type;
|
||||
$this->queryParameters['Type'] = $type;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $instanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setInstanceId($instanceId)
|
||||
{
|
||||
$this->requestParameters['InstanceId'] = $instanceId;
|
||||
$this->queryParameters['InstanceId'] = $instanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $topic
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setTopic($topic)
|
||||
{
|
||||
$this->requestParameters['Topic'] = $topic;
|
||||
$this->queryParameters['Topic'] = $topic;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+87
@@ -0,0 +1,87 @@
|
||||
<?php
|
||||
|
||||
namespace Ons\Request\V20190214;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of OnsConsumerStatus
|
||||
*
|
||||
* @method string getGroupId()
|
||||
* @method string getInstanceId()
|
||||
* @method string getNeedJstack()
|
||||
* @method string getDetail()
|
||||
*/
|
||||
class OnsConsumerStatusRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Ons',
|
||||
'2019-02-14',
|
||||
'OnsConsumerStatus',
|
||||
'ons'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $groupId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setGroupId($groupId)
|
||||
{
|
||||
$this->requestParameters['GroupId'] = $groupId;
|
||||
$this->queryParameters['GroupId'] = $groupId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $instanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setInstanceId($instanceId)
|
||||
{
|
||||
$this->requestParameters['InstanceId'] = $instanceId;
|
||||
$this->queryParameters['InstanceId'] = $instanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $needJstack
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setNeedJstack($needJstack)
|
||||
{
|
||||
$this->requestParameters['NeedJstack'] = $needJstack;
|
||||
$this->queryParameters['NeedJstack'] = $needJstack;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $detail
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setDetail($detail)
|
||||
{
|
||||
$this->requestParameters['Detail'] = $detail;
|
||||
$this->queryParameters['Detail'] = $detail;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+73
@@ -0,0 +1,73 @@
|
||||
<?php
|
||||
|
||||
namespace Ons\Request\V20190214;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of OnsConsumerTimeSpan
|
||||
*
|
||||
* @method string getGroupId()
|
||||
* @method string getInstanceId()
|
||||
* @method string getTopic()
|
||||
*/
|
||||
class OnsConsumerTimeSpanRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Ons',
|
||||
'2019-02-14',
|
||||
'OnsConsumerTimeSpan',
|
||||
'ons'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $groupId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setGroupId($groupId)
|
||||
{
|
||||
$this->requestParameters['GroupId'] = $groupId;
|
||||
$this->queryParameters['GroupId'] = $groupId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $instanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setInstanceId($instanceId)
|
||||
{
|
||||
$this->requestParameters['InstanceId'] = $instanceId;
|
||||
$this->queryParameters['InstanceId'] = $instanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $topic
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setTopic($topic)
|
||||
{
|
||||
$this->requestParameters['Topic'] = $topic;
|
||||
$this->queryParameters['Topic'] = $topic;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+73
@@ -0,0 +1,73 @@
|
||||
<?php
|
||||
|
||||
namespace Ons\Request\V20190214;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of OnsDLQMessageGetById
|
||||
*
|
||||
* @method string getGroupId()
|
||||
* @method string getMsgId()
|
||||
* @method string getInstanceId()
|
||||
*/
|
||||
class OnsDLQMessageGetByIdRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Ons',
|
||||
'2019-02-14',
|
||||
'OnsDLQMessageGetById',
|
||||
'ons'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $groupId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setGroupId($groupId)
|
||||
{
|
||||
$this->requestParameters['GroupId'] = $groupId;
|
||||
$this->queryParameters['GroupId'] = $groupId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $msgId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setMsgId($msgId)
|
||||
{
|
||||
$this->requestParameters['MsgId'] = $msgId;
|
||||
$this->queryParameters['MsgId'] = $msgId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $instanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setInstanceId($instanceId)
|
||||
{
|
||||
$this->requestParameters['InstanceId'] = $instanceId;
|
||||
$this->queryParameters['InstanceId'] = $instanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+129
@@ -0,0 +1,129 @@
|
||||
<?php
|
||||
|
||||
namespace Ons\Request\V20190214;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of OnsDLQMessagePageQueryByGroupId
|
||||
*
|
||||
* @method string getGroupId()
|
||||
* @method string getEndTime()
|
||||
* @method string getBeginTime()
|
||||
* @method string getCurrentPage()
|
||||
* @method string getInstanceId()
|
||||
* @method string getPageSize()
|
||||
* @method string getTaskId()
|
||||
*/
|
||||
class OnsDLQMessagePageQueryByGroupIdRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Ons',
|
||||
'2019-02-14',
|
||||
'OnsDLQMessagePageQueryByGroupId',
|
||||
'ons'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $groupId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setGroupId($groupId)
|
||||
{
|
||||
$this->requestParameters['GroupId'] = $groupId;
|
||||
$this->queryParameters['GroupId'] = $groupId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $endTime
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setEndTime($endTime)
|
||||
{
|
||||
$this->requestParameters['EndTime'] = $endTime;
|
||||
$this->queryParameters['EndTime'] = $endTime;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $beginTime
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setBeginTime($beginTime)
|
||||
{
|
||||
$this->requestParameters['BeginTime'] = $beginTime;
|
||||
$this->queryParameters['BeginTime'] = $beginTime;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $currentPage
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setCurrentPage($currentPage)
|
||||
{
|
||||
$this->requestParameters['CurrentPage'] = $currentPage;
|
||||
$this->queryParameters['CurrentPage'] = $currentPage;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $instanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setInstanceId($instanceId)
|
||||
{
|
||||
$this->requestParameters['InstanceId'] = $instanceId;
|
||||
$this->queryParameters['InstanceId'] = $instanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $pageSize
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setPageSize($pageSize)
|
||||
{
|
||||
$this->requestParameters['PageSize'] = $pageSize;
|
||||
$this->queryParameters['PageSize'] = $pageSize;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $taskId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setTaskId($taskId)
|
||||
{
|
||||
$this->requestParameters['TaskId'] = $taskId;
|
||||
$this->queryParameters['TaskId'] = $taskId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+73
@@ -0,0 +1,73 @@
|
||||
<?php
|
||||
|
||||
namespace Ons\Request\V20190214;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of OnsDLQMessageResendById
|
||||
*
|
||||
* @method string getGroupId()
|
||||
* @method string getMsgId()
|
||||
* @method string getInstanceId()
|
||||
*/
|
||||
class OnsDLQMessageResendByIdRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Ons',
|
||||
'2019-02-14',
|
||||
'OnsDLQMessageResendById',
|
||||
'ons'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $groupId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setGroupId($groupId)
|
||||
{
|
||||
$this->requestParameters['GroupId'] = $groupId;
|
||||
$this->queryParameters['GroupId'] = $groupId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $msgId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setMsgId($msgId)
|
||||
{
|
||||
$this->requestParameters['MsgId'] = $msgId;
|
||||
$this->queryParameters['MsgId'] = $msgId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $instanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setInstanceId($instanceId)
|
||||
{
|
||||
$this->requestParameters['InstanceId'] = $instanceId;
|
||||
$this->queryParameters['InstanceId'] = $instanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+73
@@ -0,0 +1,73 @@
|
||||
<?php
|
||||
|
||||
namespace Ons\Request\V20190214;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of OnsGroupConsumerUpdate
|
||||
*
|
||||
* @method string getGroupId()
|
||||
* @method string getReadEnable()
|
||||
* @method string getInstanceId()
|
||||
*/
|
||||
class OnsGroupConsumerUpdateRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Ons',
|
||||
'2019-02-14',
|
||||
'OnsGroupConsumerUpdate',
|
||||
'ons'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $groupId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setGroupId($groupId)
|
||||
{
|
||||
$this->requestParameters['GroupId'] = $groupId;
|
||||
$this->queryParameters['GroupId'] = $groupId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $readEnable
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setReadEnable($readEnable)
|
||||
{
|
||||
$this->requestParameters['ReadEnable'] = $readEnable;
|
||||
$this->queryParameters['ReadEnable'] = $readEnable;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $instanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setInstanceId($instanceId)
|
||||
{
|
||||
$this->requestParameters['InstanceId'] = $instanceId;
|
||||
$this->queryParameters['InstanceId'] = $instanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+87
@@ -0,0 +1,87 @@
|
||||
<?php
|
||||
|
||||
namespace Ons\Request\V20190214;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of OnsGroupCreate
|
||||
*
|
||||
* @method string getGroupId()
|
||||
* @method string getRemark()
|
||||
* @method string getInstanceId()
|
||||
* @method string getGroupType()
|
||||
*/
|
||||
class OnsGroupCreateRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Ons',
|
||||
'2019-02-14',
|
||||
'OnsGroupCreate',
|
||||
'ons'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $groupId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setGroupId($groupId)
|
||||
{
|
||||
$this->requestParameters['GroupId'] = $groupId;
|
||||
$this->queryParameters['GroupId'] = $groupId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $remark
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setRemark($remark)
|
||||
{
|
||||
$this->requestParameters['Remark'] = $remark;
|
||||
$this->queryParameters['Remark'] = $remark;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $instanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setInstanceId($instanceId)
|
||||
{
|
||||
$this->requestParameters['InstanceId'] = $instanceId;
|
||||
$this->queryParameters['InstanceId'] = $instanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $groupType
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setGroupType($groupType)
|
||||
{
|
||||
$this->requestParameters['GroupType'] = $groupType;
|
||||
$this->queryParameters['GroupType'] = $groupType;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+59
@@ -0,0 +1,59 @@
|
||||
<?php
|
||||
|
||||
namespace Ons\Request\V20190214;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of OnsGroupDelete
|
||||
*
|
||||
* @method string getGroupId()
|
||||
* @method string getInstanceId()
|
||||
*/
|
||||
class OnsGroupDeleteRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Ons',
|
||||
'2019-02-14',
|
||||
'OnsGroupDelete',
|
||||
'ons'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $groupId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setGroupId($groupId)
|
||||
{
|
||||
$this->requestParameters['GroupId'] = $groupId;
|
||||
$this->queryParameters['GroupId'] = $groupId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $instanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setInstanceId($instanceId)
|
||||
{
|
||||
$this->requestParameters['InstanceId'] = $instanceId;
|
||||
$this->queryParameters['InstanceId'] = $instanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+59
@@ -0,0 +1,59 @@
|
||||
<?php
|
||||
|
||||
namespace Ons\Request\V20190214;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of OnsGroupList
|
||||
*
|
||||
* @method string getGroupId()
|
||||
* @method string getInstanceId()
|
||||
*/
|
||||
class OnsGroupListRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Ons',
|
||||
'2019-02-14',
|
||||
'OnsGroupList',
|
||||
'ons'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $groupId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setGroupId($groupId)
|
||||
{
|
||||
$this->requestParameters['GroupId'] = $groupId;
|
||||
$this->queryParameters['GroupId'] = $groupId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $instanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setInstanceId($instanceId)
|
||||
{
|
||||
$this->requestParameters['InstanceId'] = $instanceId;
|
||||
$this->queryParameters['InstanceId'] = $instanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+59
@@ -0,0 +1,59 @@
|
||||
<?php
|
||||
|
||||
namespace Ons\Request\V20190214;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of OnsGroupSubDetail
|
||||
*
|
||||
* @method string getGroupId()
|
||||
* @method string getInstanceId()
|
||||
*/
|
||||
class OnsGroupSubDetailRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Ons',
|
||||
'2019-02-14',
|
||||
'OnsGroupSubDetail',
|
||||
'ons'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $groupId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setGroupId($groupId)
|
||||
{
|
||||
$this->requestParameters['GroupId'] = $groupId;
|
||||
$this->queryParameters['GroupId'] = $groupId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $instanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setInstanceId($instanceId)
|
||||
{
|
||||
$this->requestParameters['InstanceId'] = $instanceId;
|
||||
$this->queryParameters['InstanceId'] = $instanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+45
@@ -0,0 +1,45 @@
|
||||
<?php
|
||||
|
||||
namespace Ons\Request\V20190214;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of OnsInstanceBaseInfo
|
||||
*
|
||||
* @method string getInstanceId()
|
||||
*/
|
||||
class OnsInstanceBaseInfoRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Ons',
|
||||
'2019-02-14',
|
||||
'OnsInstanceBaseInfo',
|
||||
'ons'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $instanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setInstanceId($instanceId)
|
||||
{
|
||||
$this->requestParameters['InstanceId'] = $instanceId;
|
||||
$this->queryParameters['InstanceId'] = $instanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+59
@@ -0,0 +1,59 @@
|
||||
<?php
|
||||
|
||||
namespace Ons\Request\V20190214;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of OnsInstanceCreate
|
||||
*
|
||||
* @method string getRemark()
|
||||
* @method string getInstanceName()
|
||||
*/
|
||||
class OnsInstanceCreateRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Ons',
|
||||
'2019-02-14',
|
||||
'OnsInstanceCreate',
|
||||
'ons'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $remark
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setRemark($remark)
|
||||
{
|
||||
$this->requestParameters['Remark'] = $remark;
|
||||
$this->queryParameters['Remark'] = $remark;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $instanceName
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setInstanceName($instanceName)
|
||||
{
|
||||
$this->requestParameters['InstanceName'] = $instanceName;
|
||||
$this->queryParameters['InstanceName'] = $instanceName;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+45
@@ -0,0 +1,45 @@
|
||||
<?php
|
||||
|
||||
namespace Ons\Request\V20190214;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of OnsInstanceDelete
|
||||
*
|
||||
* @method string getInstanceId()
|
||||
*/
|
||||
class OnsInstanceDeleteRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Ons',
|
||||
'2019-02-14',
|
||||
'OnsInstanceDelete',
|
||||
'ons'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $instanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setInstanceId($instanceId)
|
||||
{
|
||||
$this->requestParameters['InstanceId'] = $instanceId;
|
||||
$this->queryParameters['InstanceId'] = $instanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+31
@@ -0,0 +1,31 @@
|
||||
<?php
|
||||
|
||||
namespace Ons\Request\V20190214;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of OnsInstanceInServiceList
|
||||
*
|
||||
*/
|
||||
class OnsInstanceInServiceListRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Ons',
|
||||
'2019-02-14',
|
||||
'OnsInstanceInServiceList',
|
||||
'ons'
|
||||
);
|
||||
}
|
||||
}
|
||||
+73
@@ -0,0 +1,73 @@
|
||||
<?php
|
||||
|
||||
namespace Ons\Request\V20190214;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of OnsInstanceUpdate
|
||||
*
|
||||
* @method string getRemark()
|
||||
* @method string getInstanceName()
|
||||
* @method string getInstanceId()
|
||||
*/
|
||||
class OnsInstanceUpdateRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Ons',
|
||||
'2019-02-14',
|
||||
'OnsInstanceUpdate',
|
||||
'ons'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $remark
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setRemark($remark)
|
||||
{
|
||||
$this->requestParameters['Remark'] = $remark;
|
||||
$this->queryParameters['Remark'] = $remark;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $instanceName
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setInstanceName($instanceName)
|
||||
{
|
||||
$this->requestParameters['InstanceName'] = $instanceName;
|
||||
$this->queryParameters['InstanceName'] = $instanceName;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $instanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setInstanceId($instanceId)
|
||||
{
|
||||
$this->requestParameters['InstanceId'] = $instanceId;
|
||||
$this->queryParameters['InstanceId'] = $instanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+73
@@ -0,0 +1,73 @@
|
||||
<?php
|
||||
|
||||
namespace Ons\Request\V20190214;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of OnsMessageGetByKey
|
||||
*
|
||||
* @method string getInstanceId()
|
||||
* @method string getTopic()
|
||||
* @method string getKey()
|
||||
*/
|
||||
class OnsMessageGetByKeyRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Ons',
|
||||
'2019-02-14',
|
||||
'OnsMessageGetByKey',
|
||||
'ons'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $instanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setInstanceId($instanceId)
|
||||
{
|
||||
$this->requestParameters['InstanceId'] = $instanceId;
|
||||
$this->queryParameters['InstanceId'] = $instanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $topic
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setTopic($topic)
|
||||
{
|
||||
$this->requestParameters['Topic'] = $topic;
|
||||
$this->queryParameters['Topic'] = $topic;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $key
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setKey($key)
|
||||
{
|
||||
$this->requestParameters['Key'] = $key;
|
||||
$this->queryParameters['Key'] = $key;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+73
@@ -0,0 +1,73 @@
|
||||
<?php
|
||||
|
||||
namespace Ons\Request\V20190214;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of OnsMessageGetByMsgId
|
||||
*
|
||||
* @method string getMsgId()
|
||||
* @method string getInstanceId()
|
||||
* @method string getTopic()
|
||||
*/
|
||||
class OnsMessageGetByMsgIdRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Ons',
|
||||
'2019-02-14',
|
||||
'OnsMessageGetByMsgId',
|
||||
'ons'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $msgId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setMsgId($msgId)
|
||||
{
|
||||
$this->requestParameters['MsgId'] = $msgId;
|
||||
$this->queryParameters['MsgId'] = $msgId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $instanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setInstanceId($instanceId)
|
||||
{
|
||||
$this->requestParameters['InstanceId'] = $instanceId;
|
||||
$this->queryParameters['InstanceId'] = $instanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $topic
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setTopic($topic)
|
||||
{
|
||||
$this->requestParameters['Topic'] = $topic;
|
||||
$this->queryParameters['Topic'] = $topic;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+129
@@ -0,0 +1,129 @@
|
||||
<?php
|
||||
|
||||
namespace Ons\Request\V20190214;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of OnsMessagePageQueryByTopic
|
||||
*
|
||||
* @method string getEndTime()
|
||||
* @method string getBeginTime()
|
||||
* @method string getCurrentPage()
|
||||
* @method string getInstanceId()
|
||||
* @method string getPageSize()
|
||||
* @method string getTopic()
|
||||
* @method string getTaskId()
|
||||
*/
|
||||
class OnsMessagePageQueryByTopicRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Ons',
|
||||
'2019-02-14',
|
||||
'OnsMessagePageQueryByTopic',
|
||||
'ons'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $endTime
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setEndTime($endTime)
|
||||
{
|
||||
$this->requestParameters['EndTime'] = $endTime;
|
||||
$this->queryParameters['EndTime'] = $endTime;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $beginTime
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setBeginTime($beginTime)
|
||||
{
|
||||
$this->requestParameters['BeginTime'] = $beginTime;
|
||||
$this->queryParameters['BeginTime'] = $beginTime;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $currentPage
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setCurrentPage($currentPage)
|
||||
{
|
||||
$this->requestParameters['CurrentPage'] = $currentPage;
|
||||
$this->queryParameters['CurrentPage'] = $currentPage;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $instanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setInstanceId($instanceId)
|
||||
{
|
||||
$this->requestParameters['InstanceId'] = $instanceId;
|
||||
$this->queryParameters['InstanceId'] = $instanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $pageSize
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setPageSize($pageSize)
|
||||
{
|
||||
$this->requestParameters['PageSize'] = $pageSize;
|
||||
$this->queryParameters['PageSize'] = $pageSize;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $topic
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setTopic($topic)
|
||||
{
|
||||
$this->requestParameters['Topic'] = $topic;
|
||||
$this->queryParameters['Topic'] = $topic;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $taskId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setTaskId($taskId)
|
||||
{
|
||||
$this->requestParameters['TaskId'] = $taskId;
|
||||
$this->queryParameters['TaskId'] = $taskId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+101
@@ -0,0 +1,101 @@
|
||||
<?php
|
||||
|
||||
namespace Ons\Request\V20190214;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of OnsMessagePush
|
||||
*
|
||||
* @method string getClientId()
|
||||
* @method string getGroupId()
|
||||
* @method string getMsgId()
|
||||
* @method string getInstanceId()
|
||||
* @method string getTopic()
|
||||
*/
|
||||
class OnsMessagePushRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Ons',
|
||||
'2019-02-14',
|
||||
'OnsMessagePush',
|
||||
'ons'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $clientId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setClientId($clientId)
|
||||
{
|
||||
$this->requestParameters['ClientId'] = $clientId;
|
||||
$this->queryParameters['ClientId'] = $clientId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $groupId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setGroupId($groupId)
|
||||
{
|
||||
$this->requestParameters['GroupId'] = $groupId;
|
||||
$this->queryParameters['GroupId'] = $groupId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $msgId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setMsgId($msgId)
|
||||
{
|
||||
$this->requestParameters['MsgId'] = $msgId;
|
||||
$this->queryParameters['MsgId'] = $msgId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $instanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setInstanceId($instanceId)
|
||||
{
|
||||
$this->requestParameters['InstanceId'] = $instanceId;
|
||||
$this->queryParameters['InstanceId'] = $instanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $topic
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setTopic($topic)
|
||||
{
|
||||
$this->requestParameters['Topic'] = $topic;
|
||||
$this->queryParameters['Topic'] = $topic;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+101
@@ -0,0 +1,101 @@
|
||||
<?php
|
||||
|
||||
namespace Ons\Request\V20190214;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of OnsMessageSend
|
||||
*
|
||||
* @method string getMessage()
|
||||
* @method string getInstanceId()
|
||||
* @method string getTopic()
|
||||
* @method string getTag()
|
||||
* @method string getKey()
|
||||
*/
|
||||
class OnsMessageSendRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Ons',
|
||||
'2019-02-14',
|
||||
'OnsMessageSend',
|
||||
'ons'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $message
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setMessage($message)
|
||||
{
|
||||
$this->requestParameters['Message'] = $message;
|
||||
$this->queryParameters['Message'] = $message;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $instanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setInstanceId($instanceId)
|
||||
{
|
||||
$this->requestParameters['InstanceId'] = $instanceId;
|
||||
$this->queryParameters['InstanceId'] = $instanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $topic
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setTopic($topic)
|
||||
{
|
||||
$this->requestParameters['Topic'] = $topic;
|
||||
$this->queryParameters['Topic'] = $topic;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $tag
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setTag($tag)
|
||||
{
|
||||
$this->requestParameters['Tag'] = $tag;
|
||||
$this->queryParameters['Tag'] = $tag;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $key
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setKey($key)
|
||||
{
|
||||
$this->requestParameters['Key'] = $key;
|
||||
$this->queryParameters['Key'] = $key;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+73
@@ -0,0 +1,73 @@
|
||||
<?php
|
||||
|
||||
namespace Ons\Request\V20190214;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of OnsMessageTrace
|
||||
*
|
||||
* @method string getMsgId()
|
||||
* @method string getInstanceId()
|
||||
* @method string getTopic()
|
||||
*/
|
||||
class OnsMessageTraceRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Ons',
|
||||
'2019-02-14',
|
||||
'OnsMessageTrace',
|
||||
'ons'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $msgId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setMsgId($msgId)
|
||||
{
|
||||
$this->requestParameters['MsgId'] = $msgId;
|
||||
$this->queryParameters['MsgId'] = $msgId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $instanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setInstanceId($instanceId)
|
||||
{
|
||||
$this->requestParameters['InstanceId'] = $instanceId;
|
||||
$this->queryParameters['InstanceId'] = $instanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $topic
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setTopic($topic)
|
||||
{
|
||||
$this->requestParameters['Topic'] = $topic;
|
||||
$this->queryParameters['Topic'] = $topic;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+73
@@ -0,0 +1,73 @@
|
||||
<?php
|
||||
|
||||
namespace Ons\Request\V20190214;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of OnsMqttGroupIdCreate
|
||||
*
|
||||
* @method string getGroupId()
|
||||
* @method string getInstanceId()
|
||||
* @method string getTopic()
|
||||
*/
|
||||
class OnsMqttGroupIdCreateRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Ons',
|
||||
'2019-02-14',
|
||||
'OnsMqttGroupIdCreate',
|
||||
'ons'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $groupId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setGroupId($groupId)
|
||||
{
|
||||
$this->requestParameters['GroupId'] = $groupId;
|
||||
$this->queryParameters['GroupId'] = $groupId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $instanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setInstanceId($instanceId)
|
||||
{
|
||||
$this->requestParameters['InstanceId'] = $instanceId;
|
||||
$this->queryParameters['InstanceId'] = $instanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $topic
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setTopic($topic)
|
||||
{
|
||||
$this->requestParameters['Topic'] = $topic;
|
||||
$this->queryParameters['Topic'] = $topic;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+59
@@ -0,0 +1,59 @@
|
||||
<?php
|
||||
|
||||
namespace Ons\Request\V20190214;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of OnsMqttGroupIdDelete
|
||||
*
|
||||
* @method string getGroupId()
|
||||
* @method string getInstanceId()
|
||||
*/
|
||||
class OnsMqttGroupIdDeleteRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Ons',
|
||||
'2019-02-14',
|
||||
'OnsMqttGroupIdDelete',
|
||||
'ons'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $groupId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setGroupId($groupId)
|
||||
{
|
||||
$this->requestParameters['GroupId'] = $groupId;
|
||||
$this->queryParameters['GroupId'] = $groupId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $instanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setInstanceId($instanceId)
|
||||
{
|
||||
$this->requestParameters['InstanceId'] = $instanceId;
|
||||
$this->queryParameters['InstanceId'] = $instanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+45
@@ -0,0 +1,45 @@
|
||||
<?php
|
||||
|
||||
namespace Ons\Request\V20190214;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of OnsMqttGroupIdList
|
||||
*
|
||||
* @method string getInstanceId()
|
||||
*/
|
||||
class OnsMqttGroupIdListRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Ons',
|
||||
'2019-02-14',
|
||||
'OnsMqttGroupIdList',
|
||||
'ons'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $instanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setInstanceId($instanceId)
|
||||
{
|
||||
$this->requestParameters['InstanceId'] = $instanceId;
|
||||
$this->queryParameters['InstanceId'] = $instanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+59
@@ -0,0 +1,59 @@
|
||||
<?php
|
||||
|
||||
namespace Ons\Request\V20190214;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of OnsMqttQueryClientByClientId
|
||||
*
|
||||
* @method string getClientId()
|
||||
* @method string getInstanceId()
|
||||
*/
|
||||
class OnsMqttQueryClientByClientIdRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Ons',
|
||||
'2019-02-14',
|
||||
'OnsMqttQueryClientByClientId',
|
||||
'ons'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $clientId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setClientId($clientId)
|
||||
{
|
||||
$this->requestParameters['ClientId'] = $clientId;
|
||||
$this->queryParameters['ClientId'] = $clientId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $instanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setInstanceId($instanceId)
|
||||
{
|
||||
$this->requestParameters['InstanceId'] = $instanceId;
|
||||
$this->queryParameters['InstanceId'] = $instanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+59
@@ -0,0 +1,59 @@
|
||||
<?php
|
||||
|
||||
namespace Ons\Request\V20190214;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of OnsMqttQueryClientByGroupId
|
||||
*
|
||||
* @method string getGroupId()
|
||||
* @method string getInstanceId()
|
||||
*/
|
||||
class OnsMqttQueryClientByGroupIdRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Ons',
|
||||
'2019-02-14',
|
||||
'OnsMqttQueryClientByGroupId',
|
||||
'ons'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $groupId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setGroupId($groupId)
|
||||
{
|
||||
$this->requestParameters['GroupId'] = $groupId;
|
||||
$this->queryParameters['GroupId'] = $groupId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $instanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setInstanceId($instanceId)
|
||||
{
|
||||
$this->requestParameters['InstanceId'] = $instanceId;
|
||||
$this->queryParameters['InstanceId'] = $instanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+73
@@ -0,0 +1,73 @@
|
||||
<?php
|
||||
|
||||
namespace Ons\Request\V20190214;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of OnsMqttQueryClientByTopic
|
||||
*
|
||||
* @method string getParentTopic()
|
||||
* @method string getInstanceId()
|
||||
* @method string getSubTopic()
|
||||
*/
|
||||
class OnsMqttQueryClientByTopicRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Ons',
|
||||
'2019-02-14',
|
||||
'OnsMqttQueryClientByTopic',
|
||||
'ons'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $parentTopic
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setParentTopic($parentTopic)
|
||||
{
|
||||
$this->requestParameters['ParentTopic'] = $parentTopic;
|
||||
$this->queryParameters['ParentTopic'] = $parentTopic;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $instanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setInstanceId($instanceId)
|
||||
{
|
||||
$this->requestParameters['InstanceId'] = $instanceId;
|
||||
$this->queryParameters['InstanceId'] = $instanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $subTopic
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSubTopic($subTopic)
|
||||
{
|
||||
$this->requestParameters['SubTopic'] = $subTopic;
|
||||
$this->queryParameters['SubTopic'] = $subTopic;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+87
@@ -0,0 +1,87 @@
|
||||
<?php
|
||||
|
||||
namespace Ons\Request\V20190214;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of OnsMqttQueryHistoryOnline
|
||||
*
|
||||
* @method string getGroupId()
|
||||
* @method string getEndTime()
|
||||
* @method string getBeginTime()
|
||||
* @method string getInstanceId()
|
||||
*/
|
||||
class OnsMqttQueryHistoryOnlineRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Ons',
|
||||
'2019-02-14',
|
||||
'OnsMqttQueryHistoryOnline',
|
||||
'ons'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $groupId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setGroupId($groupId)
|
||||
{
|
||||
$this->requestParameters['GroupId'] = $groupId;
|
||||
$this->queryParameters['GroupId'] = $groupId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $endTime
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setEndTime($endTime)
|
||||
{
|
||||
$this->requestParameters['EndTime'] = $endTime;
|
||||
$this->queryParameters['EndTime'] = $endTime;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $beginTime
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setBeginTime($beginTime)
|
||||
{
|
||||
$this->requestParameters['BeginTime'] = $beginTime;
|
||||
$this->queryParameters['BeginTime'] = $beginTime;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $instanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setInstanceId($instanceId)
|
||||
{
|
||||
$this->requestParameters['InstanceId'] = $instanceId;
|
||||
$this->queryParameters['InstanceId'] = $instanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+157
@@ -0,0 +1,157 @@
|
||||
<?php
|
||||
|
||||
namespace Ons\Request\V20190214;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of OnsMqttQueryMsgTransTrend
|
||||
*
|
||||
* @method string getTransType()
|
||||
* @method string getEndTime()
|
||||
* @method string getBeginTime()
|
||||
* @method string getTpsType()
|
||||
* @method string getParentTopic()
|
||||
* @method string getInstanceId()
|
||||
* @method string getQos()
|
||||
* @method string getMsgType()
|
||||
* @method string getSubTopic()
|
||||
*/
|
||||
class OnsMqttQueryMsgTransTrendRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Ons',
|
||||
'2019-02-14',
|
||||
'OnsMqttQueryMsgTransTrend',
|
||||
'ons'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $transType
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setTransType($transType)
|
||||
{
|
||||
$this->requestParameters['TransType'] = $transType;
|
||||
$this->queryParameters['TransType'] = $transType;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $endTime
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setEndTime($endTime)
|
||||
{
|
||||
$this->requestParameters['EndTime'] = $endTime;
|
||||
$this->queryParameters['EndTime'] = $endTime;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $beginTime
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setBeginTime($beginTime)
|
||||
{
|
||||
$this->requestParameters['BeginTime'] = $beginTime;
|
||||
$this->queryParameters['BeginTime'] = $beginTime;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $tpsType
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setTpsType($tpsType)
|
||||
{
|
||||
$this->requestParameters['TpsType'] = $tpsType;
|
||||
$this->queryParameters['TpsType'] = $tpsType;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $parentTopic
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setParentTopic($parentTopic)
|
||||
{
|
||||
$this->requestParameters['ParentTopic'] = $parentTopic;
|
||||
$this->queryParameters['ParentTopic'] = $parentTopic;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $instanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setInstanceId($instanceId)
|
||||
{
|
||||
$this->requestParameters['InstanceId'] = $instanceId;
|
||||
$this->queryParameters['InstanceId'] = $instanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $qos
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setQos($qos)
|
||||
{
|
||||
$this->requestParameters['Qos'] = $qos;
|
||||
$this->queryParameters['Qos'] = $qos;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $msgType
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setMsgType($msgType)
|
||||
{
|
||||
$this->requestParameters['MsgType'] = $msgType;
|
||||
$this->queryParameters['MsgType'] = $msgType;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $subTopic
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSubTopic($subTopic)
|
||||
{
|
||||
$this->requestParameters['SubTopic'] = $subTopic;
|
||||
$this->queryParameters['SubTopic'] = $subTopic;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+31
@@ -0,0 +1,31 @@
|
||||
<?php
|
||||
|
||||
namespace Ons\Request\V20190214;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of OnsRegionList
|
||||
*
|
||||
*/
|
||||
class OnsRegionListRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Ons',
|
||||
'2019-02-14',
|
||||
'OnsRegionList',
|
||||
'ons'
|
||||
);
|
||||
}
|
||||
}
|
||||
+87
@@ -0,0 +1,87 @@
|
||||
<?php
|
||||
|
||||
namespace Ons\Request\V20190214;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of OnsTopicCreate
|
||||
*
|
||||
* @method string getMessageType()
|
||||
* @method string getRemark()
|
||||
* @method string getInstanceId()
|
||||
* @method string getTopic()
|
||||
*/
|
||||
class OnsTopicCreateRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Ons',
|
||||
'2019-02-14',
|
||||
'OnsTopicCreate',
|
||||
'ons'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $messageType
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setMessageType($messageType)
|
||||
{
|
||||
$this->requestParameters['MessageType'] = $messageType;
|
||||
$this->queryParameters['MessageType'] = $messageType;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $remark
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setRemark($remark)
|
||||
{
|
||||
$this->requestParameters['Remark'] = $remark;
|
||||
$this->queryParameters['Remark'] = $remark;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $instanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setInstanceId($instanceId)
|
||||
{
|
||||
$this->requestParameters['InstanceId'] = $instanceId;
|
||||
$this->queryParameters['InstanceId'] = $instanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $topic
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setTopic($topic)
|
||||
{
|
||||
$this->requestParameters['Topic'] = $topic;
|
||||
$this->queryParameters['Topic'] = $topic;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+59
@@ -0,0 +1,59 @@
|
||||
<?php
|
||||
|
||||
namespace Ons\Request\V20190214;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of OnsTopicDelete
|
||||
*
|
||||
* @method string getInstanceId()
|
||||
* @method string getTopic()
|
||||
*/
|
||||
class OnsTopicDeleteRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Ons',
|
||||
'2019-02-14',
|
||||
'OnsTopicDelete',
|
||||
'ons'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $instanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setInstanceId($instanceId)
|
||||
{
|
||||
$this->requestParameters['InstanceId'] = $instanceId;
|
||||
$this->queryParameters['InstanceId'] = $instanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $topic
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setTopic($topic)
|
||||
{
|
||||
$this->requestParameters['Topic'] = $topic;
|
||||
$this->queryParameters['Topic'] = $topic;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+59
@@ -0,0 +1,59 @@
|
||||
<?php
|
||||
|
||||
namespace Ons\Request\V20190214;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of OnsTopicList
|
||||
*
|
||||
* @method string getInstanceId()
|
||||
* @method string getTopic()
|
||||
*/
|
||||
class OnsTopicListRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Ons',
|
||||
'2019-02-14',
|
||||
'OnsTopicList',
|
||||
'ons'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $instanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setInstanceId($instanceId)
|
||||
{
|
||||
$this->requestParameters['InstanceId'] = $instanceId;
|
||||
$this->queryParameters['InstanceId'] = $instanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $topic
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setTopic($topic)
|
||||
{
|
||||
$this->requestParameters['Topic'] = $topic;
|
||||
$this->queryParameters['Topic'] = $topic;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+59
@@ -0,0 +1,59 @@
|
||||
<?php
|
||||
|
||||
namespace Ons\Request\V20190214;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of OnsTopicStatus
|
||||
*
|
||||
* @method string getInstanceId()
|
||||
* @method string getTopic()
|
||||
*/
|
||||
class OnsTopicStatusRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Ons',
|
||||
'2019-02-14',
|
||||
'OnsTopicStatus',
|
||||
'ons'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $instanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setInstanceId($instanceId)
|
||||
{
|
||||
$this->requestParameters['InstanceId'] = $instanceId;
|
||||
$this->queryParameters['InstanceId'] = $instanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $topic
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setTopic($topic)
|
||||
{
|
||||
$this->requestParameters['Topic'] = $topic;
|
||||
$this->queryParameters['Topic'] = $topic;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+59
@@ -0,0 +1,59 @@
|
||||
<?php
|
||||
|
||||
namespace Ons\Request\V20190214;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of OnsTopicSubDetail
|
||||
*
|
||||
* @method string getInstanceId()
|
||||
* @method string getTopic()
|
||||
*/
|
||||
class OnsTopicSubDetailRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Ons',
|
||||
'2019-02-14',
|
||||
'OnsTopicSubDetail',
|
||||
'ons'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $instanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setInstanceId($instanceId)
|
||||
{
|
||||
$this->requestParameters['InstanceId'] = $instanceId;
|
||||
$this->queryParameters['InstanceId'] = $instanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $topic
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setTopic($topic)
|
||||
{
|
||||
$this->requestParameters['Topic'] = $topic;
|
||||
$this->queryParameters['Topic'] = $topic;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+73
@@ -0,0 +1,73 @@
|
||||
<?php
|
||||
|
||||
namespace Ons\Request\V20190214;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of OnsTopicUpdate
|
||||
*
|
||||
* @method string getPerm()
|
||||
* @method string getInstanceId()
|
||||
* @method string getTopic()
|
||||
*/
|
||||
class OnsTopicUpdateRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Ons',
|
||||
'2019-02-14',
|
||||
'OnsTopicUpdate',
|
||||
'ons'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $perm
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setPerm($perm)
|
||||
{
|
||||
$this->requestParameters['Perm'] = $perm;
|
||||
$this->queryParameters['Perm'] = $perm;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $instanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setInstanceId($instanceId)
|
||||
{
|
||||
$this->requestParameters['InstanceId'] = $instanceId;
|
||||
$this->queryParameters['InstanceId'] = $instanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $topic
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setTopic($topic)
|
||||
{
|
||||
$this->requestParameters['Topic'] = $topic;
|
||||
$this->queryParameters['Topic'] = $topic;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+45
@@ -0,0 +1,45 @@
|
||||
<?php
|
||||
|
||||
namespace Ons\Request\V20190214;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of OnsTraceGetResult
|
||||
*
|
||||
* @method string getQueryId()
|
||||
*/
|
||||
class OnsTraceGetResultRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Ons',
|
||||
'2019-02-14',
|
||||
'OnsTraceGetResult',
|
||||
'ons'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $queryId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setQueryId($queryId)
|
||||
{
|
||||
$this->requestParameters['QueryId'] = $queryId;
|
||||
$this->queryParameters['QueryId'] = $queryId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+101
@@ -0,0 +1,101 @@
|
||||
<?php
|
||||
|
||||
namespace Ons\Request\V20190214;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of OnsTraceQueryByMsgId
|
||||
*
|
||||
* @method string getMsgId()
|
||||
* @method string getEndTime()
|
||||
* @method string getBeginTime()
|
||||
* @method string getInstanceId()
|
||||
* @method string getTopic()
|
||||
*/
|
||||
class OnsTraceQueryByMsgIdRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Ons',
|
||||
'2019-02-14',
|
||||
'OnsTraceQueryByMsgId',
|
||||
'ons'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $msgId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setMsgId($msgId)
|
||||
{
|
||||
$this->requestParameters['MsgId'] = $msgId;
|
||||
$this->queryParameters['MsgId'] = $msgId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $endTime
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setEndTime($endTime)
|
||||
{
|
||||
$this->requestParameters['EndTime'] = $endTime;
|
||||
$this->queryParameters['EndTime'] = $endTime;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $beginTime
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setBeginTime($beginTime)
|
||||
{
|
||||
$this->requestParameters['BeginTime'] = $beginTime;
|
||||
$this->queryParameters['BeginTime'] = $beginTime;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $instanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setInstanceId($instanceId)
|
||||
{
|
||||
$this->requestParameters['InstanceId'] = $instanceId;
|
||||
$this->queryParameters['InstanceId'] = $instanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $topic
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setTopic($topic)
|
||||
{
|
||||
$this->requestParameters['Topic'] = $topic;
|
||||
$this->queryParameters['Topic'] = $topic;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+101
@@ -0,0 +1,101 @@
|
||||
<?php
|
||||
|
||||
namespace Ons\Request\V20190214;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of OnsTraceQueryByMsgKey
|
||||
*
|
||||
* @method string getEndTime()
|
||||
* @method string getBeginTime()
|
||||
* @method string getInstanceId()
|
||||
* @method string getTopic()
|
||||
* @method string getMsgKey()
|
||||
*/
|
||||
class OnsTraceQueryByMsgKeyRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Ons',
|
||||
'2019-02-14',
|
||||
'OnsTraceQueryByMsgKey',
|
||||
'ons'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $endTime
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setEndTime($endTime)
|
||||
{
|
||||
$this->requestParameters['EndTime'] = $endTime;
|
||||
$this->queryParameters['EndTime'] = $endTime;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $beginTime
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setBeginTime($beginTime)
|
||||
{
|
||||
$this->requestParameters['BeginTime'] = $beginTime;
|
||||
$this->queryParameters['BeginTime'] = $beginTime;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $instanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setInstanceId($instanceId)
|
||||
{
|
||||
$this->requestParameters['InstanceId'] = $instanceId;
|
||||
$this->queryParameters['InstanceId'] = $instanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $topic
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setTopic($topic)
|
||||
{
|
||||
$this->requestParameters['Topic'] = $topic;
|
||||
$this->queryParameters['Topic'] = $topic;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $msgKey
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setMsgKey($msgKey)
|
||||
{
|
||||
$this->requestParameters['MsgKey'] = $msgKey;
|
||||
$this->queryParameters['MsgKey'] = $msgKey;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+129
@@ -0,0 +1,129 @@
|
||||
<?php
|
||||
|
||||
namespace Ons\Request\V20190214;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of OnsTrendGroupOutputTps
|
||||
*
|
||||
* @method string getPeriod()
|
||||
* @method string getGroupId()
|
||||
* @method string getEndTime()
|
||||
* @method string getBeginTime()
|
||||
* @method string getType()
|
||||
* @method string getInstanceId()
|
||||
* @method string getTopic()
|
||||
*/
|
||||
class OnsTrendGroupOutputTpsRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Ons',
|
||||
'2019-02-14',
|
||||
'OnsTrendGroupOutputTps',
|
||||
'ons'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $period
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setPeriod($period)
|
||||
{
|
||||
$this->requestParameters['Period'] = $period;
|
||||
$this->queryParameters['Period'] = $period;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $groupId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setGroupId($groupId)
|
||||
{
|
||||
$this->requestParameters['GroupId'] = $groupId;
|
||||
$this->queryParameters['GroupId'] = $groupId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $endTime
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setEndTime($endTime)
|
||||
{
|
||||
$this->requestParameters['EndTime'] = $endTime;
|
||||
$this->queryParameters['EndTime'] = $endTime;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $beginTime
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setBeginTime($beginTime)
|
||||
{
|
||||
$this->requestParameters['BeginTime'] = $beginTime;
|
||||
$this->queryParameters['BeginTime'] = $beginTime;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $type
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setType($type)
|
||||
{
|
||||
$this->requestParameters['Type'] = $type;
|
||||
$this->queryParameters['Type'] = $type;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $instanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setInstanceId($instanceId)
|
||||
{
|
||||
$this->requestParameters['InstanceId'] = $instanceId;
|
||||
$this->queryParameters['InstanceId'] = $instanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $topic
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setTopic($topic)
|
||||
{
|
||||
$this->requestParameters['Topic'] = $topic;
|
||||
$this->queryParameters['Topic'] = $topic;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+115
@@ -0,0 +1,115 @@
|
||||
<?php
|
||||
|
||||
namespace Ons\Request\V20190214;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of OnsTrendTopicInputTps
|
||||
*
|
||||
* @method string getPeriod()
|
||||
* @method string getEndTime()
|
||||
* @method string getBeginTime()
|
||||
* @method string getType()
|
||||
* @method string getInstanceId()
|
||||
* @method string getTopic()
|
||||
*/
|
||||
class OnsTrendTopicInputTpsRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Ons',
|
||||
'2019-02-14',
|
||||
'OnsTrendTopicInputTps',
|
||||
'ons'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $period
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setPeriod($period)
|
||||
{
|
||||
$this->requestParameters['Period'] = $period;
|
||||
$this->queryParameters['Period'] = $period;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $endTime
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setEndTime($endTime)
|
||||
{
|
||||
$this->requestParameters['EndTime'] = $endTime;
|
||||
$this->queryParameters['EndTime'] = $endTime;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $beginTime
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setBeginTime($beginTime)
|
||||
{
|
||||
$this->requestParameters['BeginTime'] = $beginTime;
|
||||
$this->queryParameters['BeginTime'] = $beginTime;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $type
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setType($type)
|
||||
{
|
||||
$this->requestParameters['Type'] = $type;
|
||||
$this->queryParameters['Type'] = $type;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $instanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setInstanceId($instanceId)
|
||||
{
|
||||
$this->requestParameters['InstanceId'] = $instanceId;
|
||||
$this->queryParameters['InstanceId'] = $instanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $topic
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setTopic($topic)
|
||||
{
|
||||
$this->requestParameters['Topic'] = $topic;
|
||||
$this->queryParameters['Topic'] = $topic;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+157
@@ -0,0 +1,157 @@
|
||||
<?php
|
||||
|
||||
namespace Ons\Request\V20190214;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of OnsWarnCreate
|
||||
*
|
||||
* @method string getLevel()
|
||||
* @method string getGroupId()
|
||||
* @method string getDelayTime()
|
||||
* @method string getThreshold()
|
||||
* @method string getAlertTime()
|
||||
* @method string getInstanceId()
|
||||
* @method string getBlockTime()
|
||||
* @method string getTopic()
|
||||
* @method string getContacts()
|
||||
*/
|
||||
class OnsWarnCreateRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Ons',
|
||||
'2019-02-14',
|
||||
'OnsWarnCreate',
|
||||
'ons'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $level
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setLevel($level)
|
||||
{
|
||||
$this->requestParameters['Level'] = $level;
|
||||
$this->queryParameters['Level'] = $level;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $groupId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setGroupId($groupId)
|
||||
{
|
||||
$this->requestParameters['GroupId'] = $groupId;
|
||||
$this->queryParameters['GroupId'] = $groupId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $delayTime
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setDelayTime($delayTime)
|
||||
{
|
||||
$this->requestParameters['DelayTime'] = $delayTime;
|
||||
$this->queryParameters['DelayTime'] = $delayTime;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $threshold
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setThreshold($threshold)
|
||||
{
|
||||
$this->requestParameters['Threshold'] = $threshold;
|
||||
$this->queryParameters['Threshold'] = $threshold;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $alertTime
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setAlertTime($alertTime)
|
||||
{
|
||||
$this->requestParameters['AlertTime'] = $alertTime;
|
||||
$this->queryParameters['AlertTime'] = $alertTime;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $instanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setInstanceId($instanceId)
|
||||
{
|
||||
$this->requestParameters['InstanceId'] = $instanceId;
|
||||
$this->queryParameters['InstanceId'] = $instanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $blockTime
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setBlockTime($blockTime)
|
||||
{
|
||||
$this->requestParameters['BlockTime'] = $blockTime;
|
||||
$this->queryParameters['BlockTime'] = $blockTime;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $topic
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setTopic($topic)
|
||||
{
|
||||
$this->requestParameters['Topic'] = $topic;
|
||||
$this->queryParameters['Topic'] = $topic;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $contacts
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setContacts($contacts)
|
||||
{
|
||||
$this->requestParameters['Contacts'] = $contacts;
|
||||
$this->queryParameters['Contacts'] = $contacts;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+73
@@ -0,0 +1,73 @@
|
||||
<?php
|
||||
|
||||
namespace Ons\Request\V20190214;
|
||||
|
||||
/**
|
||||
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||||
*
|
||||
* Request of OnsWarnDelete
|
||||
*
|
||||
* @method string getGroupId()
|
||||
* @method string getInstanceId()
|
||||
* @method string getTopic()
|
||||
*/
|
||||
class OnsWarnDeleteRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Ons',
|
||||
'2019-02-14',
|
||||
'OnsWarnDelete',
|
||||
'ons'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $groupId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setGroupId($groupId)
|
||||
{
|
||||
$this->requestParameters['GroupId'] = $groupId;
|
||||
$this->queryParameters['GroupId'] = $groupId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $instanceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setInstanceId($instanceId)
|
||||
{
|
||||
$this->requestParameters['InstanceId'] = $instanceId;
|
||||
$this->queryParameters['InstanceId'] = $instanceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $topic
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setTopic($topic)
|
||||
{
|
||||
$this->requestParameters['Topic'] = $topic;
|
||||
$this->queryParameters['Topic'] = $topic;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user