123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- <?php
- class SaasPrivilegeDetailRequest extends SdkRequest {
- const REQUEST_URL = "/saas/v2/privilege/query";
-
- private $appId;
- private $companyId;
- public function getUrl() {
- return self::REQUEST_URL;
- }
- public function getHttpParamers() {
- $paramSwitcher = ParamSwitcher::instanceParam();
- $paramSwitcher->addParam('appId', $this->appId);
- $paramSwitcher->addParam('companyId', $this->companyId);
- $httpParameters = HttpParameter::httpGetParamer();
- $httpParameters->setParams($paramSwitcher->getParams());
- return $httpParameters;
- }
- /**
- * @return mixed
- */
- public function getAppId()
- {
- return $this->appId;
- }
- /**
- * @return mixed
- */
- public function getCompanyId()
- {
- return $this->companyId;
- }
- /**
- * @param mixed $appId
- */
- public function setAppId($appId)
- {
- $this->appId = $appId;
- }
- /**
- * @param mixed $companyId
- */
- public function setCompanyId($companyId)
- {
- $this->companyId = $companyId;
- }
- }
|