152 lines
3.3 KiB
PHP
152 lines
3.3 KiB
PHP
<?php
|
|
|
|
/*
|
|
* This file is part of the Qsnh/meedu.
|
|
*
|
|
* (c) XiaoTeng <616896861@qq.com>
|
|
*
|
|
* This source file is subject to the MIT license that is bundled
|
|
* with this source code in the file LICENSE.
|
|
*/
|
|
|
|
namespace vod\Request\V20170321;
|
|
|
|
class SetMessageCallbackRequest extends \RpcAcsRequest
|
|
{
|
|
public function __construct()
|
|
{
|
|
parent::__construct('vod', '2017-03-21', 'SetMessageCallback', 'vod', 'openAPI');
|
|
$this->setMethod('POST');
|
|
}
|
|
|
|
private $callbackType;
|
|
|
|
private $authKey;
|
|
|
|
private $resourceOwnerId;
|
|
|
|
private $callbackSwitch;
|
|
|
|
private $resourceOwnerAccount;
|
|
|
|
private $ownerAccount;
|
|
|
|
private $eventTypeList;
|
|
|
|
private $authSwitch;
|
|
|
|
private $callbackURL;
|
|
|
|
private $ownerId;
|
|
|
|
public function getCallbackType()
|
|
{
|
|
return $this->callbackType;
|
|
}
|
|
|
|
public function setCallbackType($callbackType)
|
|
{
|
|
$this->callbackType = $callbackType;
|
|
$this->queryParameters['CallbackType'] = $callbackType;
|
|
}
|
|
|
|
public function getAuthKey()
|
|
{
|
|
return $this->authKey;
|
|
}
|
|
|
|
public function setAuthKey($authKey)
|
|
{
|
|
$this->authKey = $authKey;
|
|
$this->queryParameters['AuthKey'] = $authKey;
|
|
}
|
|
|
|
public function getResourceOwnerId()
|
|
{
|
|
return $this->resourceOwnerId;
|
|
}
|
|
|
|
public function setResourceOwnerId($resourceOwnerId)
|
|
{
|
|
$this->resourceOwnerId = $resourceOwnerId;
|
|
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
|
}
|
|
|
|
public function getCallbackSwitch()
|
|
{
|
|
return $this->callbackSwitch;
|
|
}
|
|
|
|
public function setCallbackSwitch($callbackSwitch)
|
|
{
|
|
$this->callbackSwitch = $callbackSwitch;
|
|
$this->queryParameters['CallbackSwitch'] = $callbackSwitch;
|
|
}
|
|
|
|
public function getResourceOwnerAccount()
|
|
{
|
|
return $this->resourceOwnerAccount;
|
|
}
|
|
|
|
public function setResourceOwnerAccount($resourceOwnerAccount)
|
|
{
|
|
$this->resourceOwnerAccount = $resourceOwnerAccount;
|
|
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
|
}
|
|
|
|
public function getOwnerAccount()
|
|
{
|
|
return $this->ownerAccount;
|
|
}
|
|
|
|
public function setOwnerAccount($ownerAccount)
|
|
{
|
|
$this->ownerAccount = $ownerAccount;
|
|
$this->queryParameters['OwnerAccount'] = $ownerAccount;
|
|
}
|
|
|
|
public function getEventTypeList()
|
|
{
|
|
return $this->eventTypeList;
|
|
}
|
|
|
|
public function setEventTypeList($eventTypeList)
|
|
{
|
|
$this->eventTypeList = $eventTypeList;
|
|
$this->queryParameters['EventTypeList'] = $eventTypeList;
|
|
}
|
|
|
|
public function getAuthSwitch()
|
|
{
|
|
return $this->authSwitch;
|
|
}
|
|
|
|
public function setAuthSwitch($authSwitch)
|
|
{
|
|
$this->authSwitch = $authSwitch;
|
|
$this->queryParameters['AuthSwitch'] = $authSwitch;
|
|
}
|
|
|
|
public function getCallbackURL()
|
|
{
|
|
return $this->callbackURL;
|
|
}
|
|
|
|
public function setCallbackURL($callbackURL)
|
|
{
|
|
$this->callbackURL = $callbackURL;
|
|
$this->queryParameters['CallbackURL'] = $callbackURL;
|
|
}
|
|
|
|
public function getOwnerId()
|
|
{
|
|
return $this->ownerId;
|
|
}
|
|
|
|
public function setOwnerId($ownerId)
|
|
{
|
|
$this->ownerId = $ownerId;
|
|
$this->queryParameters['OwnerId'] = $ownerId;
|
|
}
|
|
}
|