QuerySmsStatisticsRequest.php 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. <?php
  2. /*
  3. * Licensed to the Apache Software Foundation (ASF) under one
  4. * or more contributor license agreements. See the NOTICE file
  5. * distributed with this work for additional information
  6. * regarding copyright ownership. The ASF licenses this file
  7. * to you under the Apache License, Version 2.0 (the
  8. * "License"); you may not use this file except in compliance
  9. * with the License. You may obtain a copy of the License at
  10. *
  11. * http://www.apache.org/licenses/LICENSE-2.0
  12. *
  13. * Unless required by applicable law or agreed to in writing,
  14. * software distributed under the License is distributed on an
  15. * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  16. * KIND, either express or implied. See the License for the
  17. * specific language governing permissions and limitations
  18. * under the License.
  19. */
  20. namespace Sms\Request\V20160927;
  21. class QuerySmsStatisticsRequest extends \RpcAcsRequest
  22. {
  23. function __construct()
  24. {
  25. parent::__construct("Sms", "2016-09-27", "QuerySmsStatistics");
  26. }
  27. private $ownerId;
  28. private $resourceOwnerAccount;
  29. private $resourceOwnerId;
  30. private $startTime;
  31. private $endTime;
  32. private $pageSize;
  33. private $pageNo;
  34. private $smsType;
  35. public function getOwnerId() {
  36. return $this->ownerId;
  37. }
  38. public function setOwnerId($ownerId) {
  39. $this->ownerId = $ownerId;
  40. $this->queryParameters["OwnerId"]=$ownerId;
  41. }
  42. public function getResourceOwnerAccount() {
  43. return $this->resourceOwnerAccount;
  44. }
  45. public function setResourceOwnerAccount($resourceOwnerAccount) {
  46. $this->resourceOwnerAccount = $resourceOwnerAccount;
  47. $this->queryParameters["ResourceOwnerAccount"]=$resourceOwnerAccount;
  48. }
  49. public function getResourceOwnerId() {
  50. return $this->resourceOwnerId;
  51. }
  52. public function setResourceOwnerId($resourceOwnerId) {
  53. $this->resourceOwnerId = $resourceOwnerId;
  54. $this->queryParameters["ResourceOwnerId"]=$resourceOwnerId;
  55. }
  56. public function getStartTime() {
  57. return $this->startTime;
  58. }
  59. public function setStartTime($startTime) {
  60. $this->startTime = $startTime;
  61. $this->queryParameters["StartTime"]=$startTime;
  62. }
  63. public function getEndTime() {
  64. return $this->endTime;
  65. }
  66. public function setEndTime($endTime) {
  67. $this->endTime = $endTime;
  68. $this->queryParameters["EndTime"]=$endTime;
  69. }
  70. public function getPageSize() {
  71. return $this->pageSize;
  72. }
  73. public function setPageSize($pageSize) {
  74. $this->pageSize = $pageSize;
  75. $this->queryParameters["PageSize"]=$pageSize;
  76. }
  77. public function getPageNo() {
  78. return $this->pageNo;
  79. }
  80. public function setPageNo($pageNo) {
  81. $this->pageNo = $pageNo;
  82. $this->queryParameters["PageNo"]=$pageNo;
  83. }
  84. public function getSmsType() {
  85. return $this->smsType;
  86. }
  87. public function setSmsType($smsType) {
  88. $this->smsType = $smsType;
  89. $this->queryParameters["SmsType"]=$smsType;
  90. }
  91. }