Nessuna descrizione

DeleteTopicRequest.php 597B

12345678910111213141516171819202122232425262728293031323334
  1. <?php
  2. namespace AliyunMNS\Requests;
  3. use AliyunMNS\Constants;
  4. use AliyunMNS\Requests\BaseRequest;
  5. use AliyunMNS\Model\TopicAttributes;
  6. class DeleteTopicRequest extends BaseRequest
  7. {
  8. private $topicName;
  9. public function __construct($topicName)
  10. {
  11. parent::__construct('delete', 'topics/' . $topicName);
  12. $this->topicName = $topicName;
  13. }
  14. public function getTopicName()
  15. {
  16. return $this->topicName;
  17. }
  18. public function generateBody()
  19. {
  20. return NULL;
  21. }
  22. public function generateQueryString()
  23. {
  24. return NULL;
  25. }
  26. }
  27. ?>