DescribeLiveDomainMappingRequest.php 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <?php
  2. namespace live\Request\V20161101;
  3. /**
  4. * @deprecated Please use https://github.com/aliyun/openapi-sdk-php
  5. *
  6. * Request of DescribeLiveDomainMapping
  7. *
  8. * @method string getDomainName()
  9. * @method string getOwnerId()
  10. */
  11. class DescribeLiveDomainMappingRequest extends \RpcAcsRequest
  12. {
  13. /**
  14. * Class constructor.
  15. */
  16. public function __construct()
  17. {
  18. parent::__construct(
  19. 'live',
  20. '2016-11-01',
  21. 'DescribeLiveDomainMapping',
  22. 'live'
  23. );
  24. }
  25. /**
  26. * @param string $domainName
  27. *
  28. * @return $this
  29. */
  30. public function setDomainName($domainName)
  31. {
  32. $this->requestParameters['DomainName'] = $domainName;
  33. $this->queryParameters['DomainName'] = $domainName;
  34. return $this;
  35. }
  36. /**
  37. * @param string $ownerId
  38. *
  39. * @return $this
  40. */
  41. public function setOwnerId($ownerId)
  42. {
  43. $this->requestParameters['OwnerId'] = $ownerId;
  44. $this->queryParameters['OwnerId'] = $ownerId;
  45. return $this;
  46. }
  47. }