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.
40 lines
784 B
40 lines
784 B
<?php
|
|
namespace AliyunMNS\Requests;
|
|
|
|
use AliyunMNS\Requests\BaseRequest;
|
|
|
|
class GetSubscriptionAttributeRequest extends BaseRequest
|
|
{
|
|
private $topicName;
|
|
private $subscriptionName;
|
|
|
|
public function __construct($topicName, $subscriptionName)
|
|
{
|
|
parent::__construct('get', 'topics/' . $topicName . '/subscriptions/' . $subscriptionName);
|
|
$this->topicName = $topicName;
|
|
$this->subscriptionName = $subscriptionName;
|
|
}
|
|
|
|
public function getTopicName()
|
|
{
|
|
return $this->topicName;
|
|
}
|
|
|
|
public function getSubscriptionName()
|
|
{
|
|
return $this->subscriptionName;
|
|
}
|
|
|
|
public function generateBody()
|
|
{
|
|
return NULL;
|
|
}
|
|
|
|
public function generateQueryString()
|
|
{
|
|
return NULL;
|
|
}
|
|
}
|
|
|
|
?>
|