chore: 添加多个图片和资源文件
添加了管理后台所需的图片资源、Excel文件、安装程序以及设计相关的图片文件
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
2019-03-14 Version: 1.0.1
|
||||
1, Update Dependency
|
||||
|
||||
2018-05-23 Version: 1.0.0
|
||||
1, This is an example of release-log.
|
||||
2, Please strictly follow this format to edit in English.
|
||||
3, Format:Number + , + Space + Description
|
||||
|
||||
+85
@@ -0,0 +1,85 @@
|
||||
<?php
|
||||
|
||||
namespace Dyvmsapi\Request\V20170525;
|
||||
|
||||
/**
|
||||
* Request of AddRtcAccount
|
||||
*
|
||||
* @method string getResourceOwnerId()
|
||||
* @method string getResourceOwnerAccount()
|
||||
* @method string getOwnerId()
|
||||
* @method string getDeviceId()
|
||||
*/
|
||||
class AddRtcAccountRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Dyvmsapi',
|
||||
'2017-05-25',
|
||||
'AddRtcAccount',
|
||||
'dyvmsapi'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerId($resourceOwnerId)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerAccount($resourceOwnerAccount)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $deviceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setDeviceId($deviceId)
|
||||
{
|
||||
$this->requestParameters['DeviceId'] = $deviceId;
|
||||
$this->queryParameters['DeviceId'] = $deviceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+211
@@ -0,0 +1,211 @@
|
||||
<?php
|
||||
|
||||
namespace Dyvmsapi\Request\V20170525;
|
||||
|
||||
/**
|
||||
* Request of BatchRobotSmartCall
|
||||
*
|
||||
* @method string getResourceOwnerId()
|
||||
* @method string getEarlyMediaAsr()
|
||||
* @method string getResourceOwnerAccount()
|
||||
* @method string getTtsParamHead()
|
||||
* @method string getTaskName()
|
||||
* @method string getTtsParam()
|
||||
* @method string getOwnerId()
|
||||
* @method string getDialogId()
|
||||
* @method string getCalledNumber()
|
||||
* @method string getScheduleTime()
|
||||
* @method string getCalledShowNumber()
|
||||
* @method string getCorpName()
|
||||
* @method string getScheduleCall()
|
||||
*/
|
||||
class BatchRobotSmartCallRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Dyvmsapi',
|
||||
'2017-05-25',
|
||||
'BatchRobotSmartCall',
|
||||
'dyvmsapi'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerId($resourceOwnerId)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $earlyMediaAsr
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setEarlyMediaAsr($earlyMediaAsr)
|
||||
{
|
||||
$this->requestParameters['EarlyMediaAsr'] = $earlyMediaAsr;
|
||||
$this->queryParameters['EarlyMediaAsr'] = $earlyMediaAsr;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerAccount($resourceOwnerAccount)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ttsParamHead
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setTtsParamHead($ttsParamHead)
|
||||
{
|
||||
$this->requestParameters['TtsParamHead'] = $ttsParamHead;
|
||||
$this->queryParameters['TtsParamHead'] = $ttsParamHead;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $taskName
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setTaskName($taskName)
|
||||
{
|
||||
$this->requestParameters['TaskName'] = $taskName;
|
||||
$this->queryParameters['TaskName'] = $taskName;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ttsParam
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setTtsParam($ttsParam)
|
||||
{
|
||||
$this->requestParameters['TtsParam'] = $ttsParam;
|
||||
$this->queryParameters['TtsParam'] = $ttsParam;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $dialogId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setDialogId($dialogId)
|
||||
{
|
||||
$this->requestParameters['DialogId'] = $dialogId;
|
||||
$this->queryParameters['DialogId'] = $dialogId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $calledNumber
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setCalledNumber($calledNumber)
|
||||
{
|
||||
$this->requestParameters['CalledNumber'] = $calledNumber;
|
||||
$this->queryParameters['CalledNumber'] = $calledNumber;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $scheduleTime
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setScheduleTime($scheduleTime)
|
||||
{
|
||||
$this->requestParameters['ScheduleTime'] = $scheduleTime;
|
||||
$this->queryParameters['ScheduleTime'] = $scheduleTime;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $calledShowNumber
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setCalledShowNumber($calledShowNumber)
|
||||
{
|
||||
$this->requestParameters['CalledShowNumber'] = $calledShowNumber;
|
||||
$this->queryParameters['CalledShowNumber'] = $calledShowNumber;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $corpName
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setCorpName($corpName)
|
||||
{
|
||||
$this->requestParameters['CorpName'] = $corpName;
|
||||
$this->queryParameters['CorpName'] = $corpName;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $scheduleCall
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setScheduleCall($scheduleCall)
|
||||
{
|
||||
$this->requestParameters['ScheduleCall'] = $scheduleCall;
|
||||
$this->queryParameters['ScheduleCall'] = $scheduleCall;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+85
@@ -0,0 +1,85 @@
|
||||
<?php
|
||||
|
||||
namespace Dyvmsapi\Request\V20170525;
|
||||
|
||||
/**
|
||||
* Request of CancelCall
|
||||
*
|
||||
* @method string getCallId()
|
||||
* @method string getResourceOwnerId()
|
||||
* @method string getResourceOwnerAccount()
|
||||
* @method string getOwnerId()
|
||||
*/
|
||||
class CancelCallRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Dyvmsapi',
|
||||
'2017-05-25',
|
||||
'CancelCall',
|
||||
'dyvmsapi'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $callId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setCallId($callId)
|
||||
{
|
||||
$this->requestParameters['CallId'] = $callId;
|
||||
$this->queryParameters['CallId'] = $callId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerId($resourceOwnerId)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerAccount($resourceOwnerAccount)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+197
@@ -0,0 +1,197 @@
|
||||
<?php
|
||||
|
||||
namespace Dyvmsapi\Request\V20170525;
|
||||
|
||||
/**
|
||||
* Request of ClickToDial
|
||||
*
|
||||
* @method string getResourceOwnerId()
|
||||
* @method string getResourceOwnerAccount()
|
||||
* @method string getRecordFlag()
|
||||
* @method string getOwnerId()
|
||||
* @method string getCallerShowNumber()
|
||||
* @method string getSessionTimeout()
|
||||
* @method string getCalledNumber()
|
||||
* @method string getCalledShowNumber()
|
||||
* @method string getOutId()
|
||||
* @method string getAsrFlag()
|
||||
* @method string getAsrModelId()
|
||||
* @method string getCallerNumber()
|
||||
*/
|
||||
class ClickToDialRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Dyvmsapi',
|
||||
'2017-05-25',
|
||||
'ClickToDial',
|
||||
'dyvmsapi'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerId($resourceOwnerId)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerAccount($resourceOwnerAccount)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $recordFlag
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setRecordFlag($recordFlag)
|
||||
{
|
||||
$this->requestParameters['RecordFlag'] = $recordFlag;
|
||||
$this->queryParameters['RecordFlag'] = $recordFlag;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $callerShowNumber
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setCallerShowNumber($callerShowNumber)
|
||||
{
|
||||
$this->requestParameters['CallerShowNumber'] = $callerShowNumber;
|
||||
$this->queryParameters['CallerShowNumber'] = $callerShowNumber;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $sessionTimeout
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSessionTimeout($sessionTimeout)
|
||||
{
|
||||
$this->requestParameters['SessionTimeout'] = $sessionTimeout;
|
||||
$this->queryParameters['SessionTimeout'] = $sessionTimeout;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $calledNumber
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setCalledNumber($calledNumber)
|
||||
{
|
||||
$this->requestParameters['CalledNumber'] = $calledNumber;
|
||||
$this->queryParameters['CalledNumber'] = $calledNumber;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $calledShowNumber
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setCalledShowNumber($calledShowNumber)
|
||||
{
|
||||
$this->requestParameters['CalledShowNumber'] = $calledShowNumber;
|
||||
$this->queryParameters['CalledShowNumber'] = $calledShowNumber;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $outId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOutId($outId)
|
||||
{
|
||||
$this->requestParameters['OutId'] = $outId;
|
||||
$this->queryParameters['OutId'] = $outId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $asrFlag
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setAsrFlag($asrFlag)
|
||||
{
|
||||
$this->requestParameters['AsrFlag'] = $asrFlag;
|
||||
$this->queryParameters['AsrFlag'] = $asrFlag;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $asrModelId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setAsrModelId($asrModelId)
|
||||
{
|
||||
$this->requestParameters['AsrModelId'] = $asrModelId;
|
||||
$this->queryParameters['AsrModelId'] = $asrModelId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $callerNumber
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setCallerNumber($callerNumber)
|
||||
{
|
||||
$this->requestParameters['CallerNumber'] = $callerNumber;
|
||||
$this->queryParameters['CallerNumber'] = $callerNumber;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+113
@@ -0,0 +1,113 @@
|
||||
<?php
|
||||
|
||||
namespace Dyvmsapi\Request\V20170525;
|
||||
|
||||
/**
|
||||
* Request of GetRtcToken
|
||||
*
|
||||
* @method string getResourceOwnerId()
|
||||
* @method string getResourceOwnerAccount()
|
||||
* @method string getOwnerId()
|
||||
* @method string getUserId()
|
||||
* @method string getDeviceId()
|
||||
* @method string getIsCustomAccount()
|
||||
*/
|
||||
class GetRtcTokenRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Dyvmsapi',
|
||||
'2017-05-25',
|
||||
'GetRtcToken',
|
||||
'dyvmsapi'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerId($resourceOwnerId)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerAccount($resourceOwnerAccount)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $userId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setUserId($userId)
|
||||
{
|
||||
$this->requestParameters['UserId'] = $userId;
|
||||
$this->queryParameters['UserId'] = $userId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $deviceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setDeviceId($deviceId)
|
||||
{
|
||||
$this->requestParameters['DeviceId'] = $deviceId;
|
||||
$this->queryParameters['DeviceId'] = $deviceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $isCustomAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setIsCustomAccount($isCustomAccount)
|
||||
{
|
||||
$this->requestParameters['IsCustomAccount'] = $isCustomAccount;
|
||||
$this->queryParameters['IsCustomAccount'] = $isCustomAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+215
@@ -0,0 +1,215 @@
|
||||
<?php
|
||||
|
||||
namespace Dyvmsapi\Request\V20170525;
|
||||
|
||||
/**
|
||||
* Request of IvrCall
|
||||
*
|
||||
* @method string getByeCode()
|
||||
* @method array getMenuKeyMaps()
|
||||
* @method string getResourceOwnerId()
|
||||
* @method string getResourceOwnerAccount()
|
||||
* @method string getStartTtsParams()
|
||||
* @method string getPlayTimes()
|
||||
* @method string getOwnerId()
|
||||
* @method string getTimeout()
|
||||
* @method string getStartCode()
|
||||
* @method string getCalledNumber()
|
||||
* @method string getCalledShowNumber()
|
||||
* @method string getOutId()
|
||||
* @method string getByeTtsParams()
|
||||
*/
|
||||
class IvrCallRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Dyvmsapi',
|
||||
'2017-05-25',
|
||||
'IvrCall',
|
||||
'dyvmsapi'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $byeCode
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setByeCode($byeCode)
|
||||
{
|
||||
$this->requestParameters['ByeCode'] = $byeCode;
|
||||
$this->queryParameters['ByeCode'] = $byeCode;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $menuKeyMaps
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setMenuKeyMaps(array $menuKeyMaps)
|
||||
{
|
||||
$this->requestParameters['MenuKeyMaps'] = $menuKeyMaps;
|
||||
foreach ($menuKeyMaps as $i => $iValue) {
|
||||
$this->queryParameters['MenuKeyMap.' . ($i + 1) . '.Code'] = $menuKeyMaps[$i]['Code'];
|
||||
$this->queryParameters['MenuKeyMap.' . ($i + 1) . '.TtsParams'] = $menuKeyMaps[$i]['TtsParams'];
|
||||
$this->queryParameters['MenuKeyMap.' . ($i + 1) . '.Key'] = $menuKeyMaps[$i]['Key'];
|
||||
}
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerId($resourceOwnerId)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerAccount($resourceOwnerAccount)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $startTtsParams
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setStartTtsParams($startTtsParams)
|
||||
{
|
||||
$this->requestParameters['StartTtsParams'] = $startTtsParams;
|
||||
$this->queryParameters['StartTtsParams'] = $startTtsParams;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $playTimes
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setPlayTimes($playTimes)
|
||||
{
|
||||
$this->requestParameters['PlayTimes'] = $playTimes;
|
||||
$this->queryParameters['PlayTimes'] = $playTimes;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $timeout
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setTimeout($timeout)
|
||||
{
|
||||
$this->requestParameters['Timeout'] = $timeout;
|
||||
$this->queryParameters['Timeout'] = $timeout;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $startCode
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setStartCode($startCode)
|
||||
{
|
||||
$this->requestParameters['StartCode'] = $startCode;
|
||||
$this->queryParameters['StartCode'] = $startCode;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $calledNumber
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setCalledNumber($calledNumber)
|
||||
{
|
||||
$this->requestParameters['CalledNumber'] = $calledNumber;
|
||||
$this->queryParameters['CalledNumber'] = $calledNumber;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $calledShowNumber
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setCalledShowNumber($calledShowNumber)
|
||||
{
|
||||
$this->requestParameters['CalledShowNumber'] = $calledShowNumber;
|
||||
$this->queryParameters['CalledShowNumber'] = $calledShowNumber;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $outId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOutId($outId)
|
||||
{
|
||||
$this->requestParameters['OutId'] = $outId;
|
||||
$this->queryParameters['OutId'] = $outId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $byeTtsParams
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setByeTtsParams($byeTtsParams)
|
||||
{
|
||||
$this->requestParameters['ByeTtsParams'] = $byeTtsParams;
|
||||
$this->queryParameters['ByeTtsParams'] = $byeTtsParams;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+113
@@ -0,0 +1,113 @@
|
||||
<?php
|
||||
|
||||
namespace Dyvmsapi\Request\V20170525;
|
||||
|
||||
/**
|
||||
* Request of QueryCallDetailByCallId
|
||||
*
|
||||
* @method string getCallId()
|
||||
* @method string getResourceOwnerId()
|
||||
* @method string getQueryDate()
|
||||
* @method string getResourceOwnerAccount()
|
||||
* @method string getProdId()
|
||||
* @method string getOwnerId()
|
||||
*/
|
||||
class QueryCallDetailByCallIdRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Dyvmsapi',
|
||||
'2017-05-25',
|
||||
'QueryCallDetailByCallId',
|
||||
'dyvmsapi'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $callId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setCallId($callId)
|
||||
{
|
||||
$this->requestParameters['CallId'] = $callId;
|
||||
$this->queryParameters['CallId'] = $callId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerId($resourceOwnerId)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $queryDate
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setQueryDate($queryDate)
|
||||
{
|
||||
$this->requestParameters['QueryDate'] = $queryDate;
|
||||
$this->queryParameters['QueryDate'] = $queryDate;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerAccount($resourceOwnerAccount)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $prodId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setProdId($prodId)
|
||||
{
|
||||
$this->requestParameters['ProdId'] = $prodId;
|
||||
$this->queryParameters['ProdId'] = $prodId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+113
@@ -0,0 +1,113 @@
|
||||
<?php
|
||||
|
||||
namespace Dyvmsapi\Request\V20170525;
|
||||
|
||||
/**
|
||||
* Request of QueryCallDetailByTaskId
|
||||
*
|
||||
* @method string getResourceOwnerId()
|
||||
* @method string getQueryDate()
|
||||
* @method string getResourceOwnerAccount()
|
||||
* @method string getCallee()
|
||||
* @method string getOwnerId()
|
||||
* @method string getTaskId()
|
||||
*/
|
||||
class QueryCallDetailByTaskIdRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Dyvmsapi',
|
||||
'2017-05-25',
|
||||
'QueryCallDetailByTaskId',
|
||||
'dyvmsapi'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerId($resourceOwnerId)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $queryDate
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setQueryDate($queryDate)
|
||||
{
|
||||
$this->requestParameters['QueryDate'] = $queryDate;
|
||||
$this->queryParameters['QueryDate'] = $queryDate;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerAccount($resourceOwnerAccount)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $callee
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setCallee($callee)
|
||||
{
|
||||
$this->requestParameters['Callee'] = $callee;
|
||||
$this->queryParameters['Callee'] = $callee;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $taskId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setTaskId($taskId)
|
||||
{
|
||||
$this->requestParameters['TaskId'] = $taskId;
|
||||
$this->queryParameters['TaskId'] = $taskId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+85
@@ -0,0 +1,85 @@
|
||||
<?php
|
||||
|
||||
namespace Dyvmsapi\Request\V20170525;
|
||||
|
||||
/**
|
||||
* Request of QueryRobotInfoList
|
||||
*
|
||||
* @method string getResourceOwnerId()
|
||||
* @method string getAuditStatus()
|
||||
* @method string getResourceOwnerAccount()
|
||||
* @method string getOwnerId()
|
||||
*/
|
||||
class QueryRobotInfoListRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Dyvmsapi',
|
||||
'2017-05-25',
|
||||
'QueryRobotInfoList',
|
||||
'dyvmsapi'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerId($resourceOwnerId)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $auditStatus
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setAuditStatus($auditStatus)
|
||||
{
|
||||
$this->requestParameters['AuditStatus'] = $auditStatus;
|
||||
$this->queryParameters['AuditStatus'] = $auditStatus;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerAccount($resourceOwnerAccount)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+183
@@ -0,0 +1,183 @@
|
||||
<?php
|
||||
|
||||
namespace Dyvmsapi\Request\V20170525;
|
||||
|
||||
/**
|
||||
* Request of SingleCallByTts
|
||||
*
|
||||
* @method string getResourceOwnerId()
|
||||
* @method string getResourceOwnerAccount()
|
||||
* @method string getTtsCode()
|
||||
* @method string getPlayTimes()
|
||||
* @method string getTtsParam()
|
||||
* @method string getOwnerId()
|
||||
* @method string getSpeed()
|
||||
* @method string getVolume()
|
||||
* @method string getCalledNumber()
|
||||
* @method string getCalledShowNumber()
|
||||
* @method string getOutId()
|
||||
*/
|
||||
class SingleCallByTtsRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Dyvmsapi',
|
||||
'2017-05-25',
|
||||
'SingleCallByTts',
|
||||
'dyvmsapi'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerId($resourceOwnerId)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerAccount($resourceOwnerAccount)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ttsCode
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setTtsCode($ttsCode)
|
||||
{
|
||||
$this->requestParameters['TtsCode'] = $ttsCode;
|
||||
$this->queryParameters['TtsCode'] = $ttsCode;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $playTimes
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setPlayTimes($playTimes)
|
||||
{
|
||||
$this->requestParameters['PlayTimes'] = $playTimes;
|
||||
$this->queryParameters['PlayTimes'] = $playTimes;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ttsParam
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setTtsParam($ttsParam)
|
||||
{
|
||||
$this->requestParameters['TtsParam'] = $ttsParam;
|
||||
$this->queryParameters['TtsParam'] = $ttsParam;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $speed
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSpeed($speed)
|
||||
{
|
||||
$this->requestParameters['Speed'] = $speed;
|
||||
$this->queryParameters['Speed'] = $speed;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $volume
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setVolume($volume)
|
||||
{
|
||||
$this->requestParameters['Volume'] = $volume;
|
||||
$this->queryParameters['Volume'] = $volume;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $calledNumber
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setCalledNumber($calledNumber)
|
||||
{
|
||||
$this->requestParameters['CalledNumber'] = $calledNumber;
|
||||
$this->queryParameters['CalledNumber'] = $calledNumber;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $calledShowNumber
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setCalledShowNumber($calledShowNumber)
|
||||
{
|
||||
$this->requestParameters['CalledShowNumber'] = $calledShowNumber;
|
||||
$this->queryParameters['CalledShowNumber'] = $calledShowNumber;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $outId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOutId($outId)
|
||||
{
|
||||
$this->requestParameters['OutId'] = $outId;
|
||||
$this->queryParameters['OutId'] = $outId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+169
@@ -0,0 +1,169 @@
|
||||
<?php
|
||||
|
||||
namespace Dyvmsapi\Request\V20170525;
|
||||
|
||||
/**
|
||||
* Request of SingleCallByVoice
|
||||
*
|
||||
* @method string getVolume()
|
||||
* @method string getResourceOwnerId()
|
||||
* @method string getResourceOwnerAccount()
|
||||
* @method string getCalledNumber()
|
||||
* @method string getVoiceCode()
|
||||
* @method string getCalledShowNumber()
|
||||
* @method string getPlayTimes()
|
||||
* @method string getOutId()
|
||||
* @method string getOwnerId()
|
||||
* @method string getSpeed()
|
||||
*/
|
||||
class SingleCallByVoiceRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Dyvmsapi',
|
||||
'2017-05-25',
|
||||
'SingleCallByVoice',
|
||||
'dyvmsapi'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $volume
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setVolume($volume)
|
||||
{
|
||||
$this->requestParameters['Volume'] = $volume;
|
||||
$this->queryParameters['Volume'] = $volume;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerId($resourceOwnerId)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerAccount($resourceOwnerAccount)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $calledNumber
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setCalledNumber($calledNumber)
|
||||
{
|
||||
$this->requestParameters['CalledNumber'] = $calledNumber;
|
||||
$this->queryParameters['CalledNumber'] = $calledNumber;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $voiceCode
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setVoiceCode($voiceCode)
|
||||
{
|
||||
$this->requestParameters['VoiceCode'] = $voiceCode;
|
||||
$this->queryParameters['VoiceCode'] = $voiceCode;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $calledShowNumber
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setCalledShowNumber($calledShowNumber)
|
||||
{
|
||||
$this->requestParameters['CalledShowNumber'] = $calledShowNumber;
|
||||
$this->queryParameters['CalledShowNumber'] = $calledShowNumber;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $playTimes
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setPlayTimes($playTimes)
|
||||
{
|
||||
$this->requestParameters['PlayTimes'] = $playTimes;
|
||||
$this->queryParameters['PlayTimes'] = $playTimes;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $outId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOutId($outId)
|
||||
{
|
||||
$this->requestParameters['OutId'] = $outId;
|
||||
$this->queryParameters['OutId'] = $outId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $speed
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSpeed($speed)
|
||||
{
|
||||
$this->requestParameters['Speed'] = $speed;
|
||||
$this->queryParameters['Speed'] = $speed;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+351
@@ -0,0 +1,351 @@
|
||||
<?php
|
||||
|
||||
namespace Dyvmsapi\Request\V20170525;
|
||||
|
||||
/**
|
||||
* Request of SmartCall
|
||||
*
|
||||
* @method string getResourceOwnerId()
|
||||
* @method string getVoiceCodeParam()
|
||||
* @method string getEarlyMediaAsr()
|
||||
* @method string getSpeed()
|
||||
* @method string getSessionTimeout()
|
||||
* @method string getDynamicId()
|
||||
* @method string getCalledNumber()
|
||||
* @method string getTtsSpeed()
|
||||
* @method string getVoiceCode()
|
||||
* @method string getCalledShowNumber()
|
||||
* @method string getActionCodeTimeBreak()
|
||||
* @method string getTtsConf()
|
||||
* @method string getActionCodeBreak()
|
||||
* @method string getResourceOwnerAccount()
|
||||
* @method string getRecordFlag()
|
||||
* @method string getOwnerId()
|
||||
* @method string getTtsVolume()
|
||||
* @method string getVolume()
|
||||
* @method string getMuteTime()
|
||||
* @method string getOutId()
|
||||
* @method string getAsrModelId()
|
||||
* @method string getPauseTime()
|
||||
* @method string getTtsStyle()
|
||||
*/
|
||||
class SmartCallRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Dyvmsapi',
|
||||
'2017-05-25',
|
||||
'SmartCall',
|
||||
'dyvmsapi'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerId($resourceOwnerId)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $voiceCodeParam
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setVoiceCodeParam($voiceCodeParam)
|
||||
{
|
||||
$this->requestParameters['VoiceCodeParam'] = $voiceCodeParam;
|
||||
$this->queryParameters['VoiceCodeParam'] = $voiceCodeParam;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $earlyMediaAsr
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setEarlyMediaAsr($earlyMediaAsr)
|
||||
{
|
||||
$this->requestParameters['EarlyMediaAsr'] = $earlyMediaAsr;
|
||||
$this->queryParameters['EarlyMediaAsr'] = $earlyMediaAsr;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $speed
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSpeed($speed)
|
||||
{
|
||||
$this->requestParameters['Speed'] = $speed;
|
||||
$this->queryParameters['Speed'] = $speed;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $sessionTimeout
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSessionTimeout($sessionTimeout)
|
||||
{
|
||||
$this->requestParameters['SessionTimeout'] = $sessionTimeout;
|
||||
$this->queryParameters['SessionTimeout'] = $sessionTimeout;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $dynamicId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setDynamicId($dynamicId)
|
||||
{
|
||||
$this->requestParameters['DynamicId'] = $dynamicId;
|
||||
$this->queryParameters['DynamicId'] = $dynamicId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $calledNumber
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setCalledNumber($calledNumber)
|
||||
{
|
||||
$this->requestParameters['CalledNumber'] = $calledNumber;
|
||||
$this->queryParameters['CalledNumber'] = $calledNumber;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ttsSpeed
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setTtsSpeed($ttsSpeed)
|
||||
{
|
||||
$this->requestParameters['TtsSpeed'] = $ttsSpeed;
|
||||
$this->queryParameters['TtsSpeed'] = $ttsSpeed;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $voiceCode
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setVoiceCode($voiceCode)
|
||||
{
|
||||
$this->requestParameters['VoiceCode'] = $voiceCode;
|
||||
$this->queryParameters['VoiceCode'] = $voiceCode;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $calledShowNumber
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setCalledShowNumber($calledShowNumber)
|
||||
{
|
||||
$this->requestParameters['CalledShowNumber'] = $calledShowNumber;
|
||||
$this->queryParameters['CalledShowNumber'] = $calledShowNumber;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $actionCodeTimeBreak
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setActionCodeTimeBreak($actionCodeTimeBreak)
|
||||
{
|
||||
$this->requestParameters['ActionCodeTimeBreak'] = $actionCodeTimeBreak;
|
||||
$this->queryParameters['ActionCodeTimeBreak'] = $actionCodeTimeBreak;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ttsConf
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setTtsConf($ttsConf)
|
||||
{
|
||||
$this->requestParameters['TtsConf'] = $ttsConf;
|
||||
$this->queryParameters['TtsConf'] = $ttsConf;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $actionCodeBreak
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setActionCodeBreak($actionCodeBreak)
|
||||
{
|
||||
$this->requestParameters['ActionCodeBreak'] = $actionCodeBreak;
|
||||
$this->queryParameters['ActionCodeBreak'] = $actionCodeBreak;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerAccount($resourceOwnerAccount)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $recordFlag
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setRecordFlag($recordFlag)
|
||||
{
|
||||
$this->requestParameters['RecordFlag'] = $recordFlag;
|
||||
$this->queryParameters['RecordFlag'] = $recordFlag;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ttsVolume
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setTtsVolume($ttsVolume)
|
||||
{
|
||||
$this->requestParameters['TtsVolume'] = $ttsVolume;
|
||||
$this->queryParameters['TtsVolume'] = $ttsVolume;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $volume
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setVolume($volume)
|
||||
{
|
||||
$this->requestParameters['Volume'] = $volume;
|
||||
$this->queryParameters['Volume'] = $volume;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $muteTime
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setMuteTime($muteTime)
|
||||
{
|
||||
$this->requestParameters['MuteTime'] = $muteTime;
|
||||
$this->queryParameters['MuteTime'] = $muteTime;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $outId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOutId($outId)
|
||||
{
|
||||
$this->requestParameters['OutId'] = $outId;
|
||||
$this->queryParameters['OutId'] = $outId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $asrModelId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setAsrModelId($asrModelId)
|
||||
{
|
||||
$this->requestParameters['AsrModelId'] = $asrModelId;
|
||||
$this->queryParameters['AsrModelId'] = $asrModelId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $pauseTime
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setPauseTime($pauseTime)
|
||||
{
|
||||
$this->requestParameters['PauseTime'] = $pauseTime;
|
||||
$this->queryParameters['PauseTime'] = $pauseTime;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ttsStyle
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setTtsStyle($ttsStyle)
|
||||
{
|
||||
$this->requestParameters['TtsStyle'] = $ttsStyle;
|
||||
$this->queryParameters['TtsStyle'] = $ttsStyle;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+85
@@ -0,0 +1,85 @@
|
||||
<?php
|
||||
|
||||
namespace Dyvmsapi\Request\V20170525;
|
||||
|
||||
/**
|
||||
* Request of VoipAddAccount
|
||||
*
|
||||
* @method string getResourceOwnerId()
|
||||
* @method string getResourceOwnerAccount()
|
||||
* @method string getOwnerId()
|
||||
* @method string getDeviceId()
|
||||
*/
|
||||
class VoipAddAccountRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Dyvmsapi',
|
||||
'2017-05-25',
|
||||
'VoipAddAccount',
|
||||
'dyvmsapi'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerId($resourceOwnerId)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerAccount($resourceOwnerAccount)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $deviceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setDeviceId($deviceId)
|
||||
{
|
||||
$this->requestParameters['DeviceId'] = $deviceId;
|
||||
$this->queryParameters['DeviceId'] = $deviceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+113
@@ -0,0 +1,113 @@
|
||||
<?php
|
||||
|
||||
namespace Dyvmsapi\Request\V20170525;
|
||||
|
||||
/**
|
||||
* Request of VoipGetToken
|
||||
*
|
||||
* @method string getResourceOwnerId()
|
||||
* @method string getVoipId()
|
||||
* @method string getResourceOwnerAccount()
|
||||
* @method string getOwnerId()
|
||||
* @method string getDeviceId()
|
||||
* @method string getIsCustomAccount()
|
||||
*/
|
||||
class VoipGetTokenRequest extends \RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'Dyvmsapi',
|
||||
'2017-05-25',
|
||||
'VoipGetToken',
|
||||
'dyvmsapi'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerId($resourceOwnerId)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $voipId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setVoipId($voipId)
|
||||
{
|
||||
$this->requestParameters['VoipId'] = $voipId;
|
||||
$this->queryParameters['VoipId'] = $voipId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $resourceOwnerAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setResourceOwnerAccount($resourceOwnerAccount)
|
||||
{
|
||||
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $deviceId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setDeviceId($deviceId)
|
||||
{
|
||||
$this->requestParameters['DeviceId'] = $deviceId;
|
||||
$this->queryParameters['DeviceId'] = $deviceId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $isCustomAccount
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setIsCustomAccount($isCustomAccount)
|
||||
{
|
||||
$this->requestParameters['IsCustomAccount'] = $isCustomAccount;
|
||||
$this->queryParameters['IsCustomAccount'] = $isCustomAccount;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user