You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
597 B
34 lines
597 B
4 years ago
|
<?php
|
||
|
namespace AliyunMNS\Requests;
|
||
|
|
||
|
use AliyunMNS\Constants;
|
||
|
use AliyunMNS\Requests\BaseRequest;
|
||
|
use AliyunMNS\Model\TopicAttributes;
|
||
|
|
||
|
class DeleteTopicRequest extends BaseRequest
|
||
|
{
|
||
|
private $topicName;
|
||
|
|
||
|
public function __construct($topicName)
|
||
|
{
|
||
|
parent::__construct('delete', 'topics/' . $topicName);
|
||
|
$this->topicName = $topicName;
|
||
|
}
|
||
|
|
||
|
public function getTopicName()
|
||
|
{
|
||
|
return $this->topicName;
|
||
|
}
|
||
|
|
||
|
public function generateBody()
|
||
|
{
|
||
|
return NULL;
|
||
|
}
|
||
|
|
||
|
public function generateQueryString()
|
||
|
{
|
||
|
return NULL;
|
||
|
}
|
||
|
}
|
||
|
?>
|