SingleSendSmsRequest.php 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  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 Dm\Request\V20151123;
  21. class SingleSendSmsRequest extends \RpcAcsRequest
  22. {
  23. function __construct()
  24. {
  25. parent::__construct("Dm", "2015-11-23", "SingleSendSms");
  26. }
  27. private $ownerId;
  28. private $resourceOwnerAccount;
  29. private $resourceOwnerId;
  30. private $signName;
  31. private $templateCode;
  32. private $recNum;
  33. private $paramString;
  34. public function getOwnerId() {
  35. return $this->ownerId;
  36. }
  37. public function setOwnerId($ownerId) {
  38. $this->ownerId = $ownerId;
  39. $this->queryParameters["OwnerId"]=$ownerId;
  40. }
  41. public function getResourceOwnerAccount() {
  42. return $this->resourceOwnerAccount;
  43. }
  44. public function setResourceOwnerAccount($resourceOwnerAccount) {
  45. $this->resourceOwnerAccount = $resourceOwnerAccount;
  46. $this->queryParameters["ResourceOwnerAccount"]=$resourceOwnerAccount;
  47. }
  48. public function getResourceOwnerId() {
  49. return $this->resourceOwnerId;
  50. }
  51. public function setResourceOwnerId($resourceOwnerId) {
  52. $this->resourceOwnerId = $resourceOwnerId;
  53. $this->queryParameters["ResourceOwnerId"]=$resourceOwnerId;
  54. }
  55. public function getSignName() {
  56. return $this->signName;
  57. }
  58. public function setSignName($signName) {
  59. $this->signName = $signName;
  60. $this->queryParameters["SignName"]=$signName;
  61. }
  62. public function getTemplateCode() {
  63. return $this->templateCode;
  64. }
  65. public function setTemplateCode($templateCode) {
  66. $this->templateCode = $templateCode;
  67. $this->queryParameters["TemplateCode"]=$templateCode;
  68. }
  69. public function getRecNum() {
  70. return $this->recNum;
  71. }
  72. public function setRecNum($recNum) {
  73. $this->recNum = $recNum;
  74. $this->queryParameters["RecNum"]=$recNum;
  75. }
  76. public function getParamString() {
  77. return $this->paramString;
  78. }
  79. public function setParamString($paramString) {
  80. $this->paramString = $paramString;
  81. $this->queryParameters["ParamString"]=$paramString;
  82. }
  83. }