BatchSendMailRequest.php 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  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 BatchSendMailRequest extends \RpcAcsRequest
  22. {
  23. function __construct()
  24. {
  25. parent::__construct("Dm", "2015-11-23", "BatchSendMail");
  26. }
  27. private $ownerId;
  28. private $resourceOwnerAccount;
  29. private $resourceOwnerId;
  30. private $templateName;
  31. private $accountName;
  32. private $receiversName;
  33. private $addressType;
  34. private $tagName;
  35. private $clickTrace;
  36. public function getClickTrace() {
  37. return $this->clickTrace;
  38. }
  39. public function setClickTrace($clickTrace) {
  40. $this->clickTrace = $clickTrace;
  41. $this->queryParameters["ClickTrace"]=$clickTrace;
  42. }
  43. public function getOwnerId() {
  44. return $this->ownerId;
  45. }
  46. public function setOwnerId($ownerId) {
  47. $this->ownerId = $ownerId;
  48. $this->queryParameters["OwnerId"]=$ownerId;
  49. }
  50. public function getResourceOwnerAccount() {
  51. return $this->resourceOwnerAccount;
  52. }
  53. public function setResourceOwnerAccount($resourceOwnerAccount) {
  54. $this->resourceOwnerAccount = $resourceOwnerAccount;
  55. $this->queryParameters["ResourceOwnerAccount"]=$resourceOwnerAccount;
  56. }
  57. public function getResourceOwnerId() {
  58. return $this->resourceOwnerId;
  59. }
  60. public function setResourceOwnerId($resourceOwnerId) {
  61. $this->resourceOwnerId = $resourceOwnerId;
  62. $this->queryParameters["ResourceOwnerId"]=$resourceOwnerId;
  63. }
  64. public function getTemplateName() {
  65. return $this->templateName;
  66. }
  67. public function setTemplateName($templateName) {
  68. $this->templateName = $templateName;
  69. $this->queryParameters["TemplateName"]=$templateName;
  70. }
  71. public function getAccountName() {
  72. return $this->accountName;
  73. }
  74. public function setAccountName($accountName) {
  75. $this->accountName = $accountName;
  76. $this->queryParameters["AccountName"]=$accountName;
  77. }
  78. public function getReceiversName() {
  79. return $this->receiversName;
  80. }
  81. public function setReceiversName($receiversName) {
  82. $this->receiversName = $receiversName;
  83. $this->queryParameters["ReceiversName"]=$receiversName;
  84. }
  85. public function getAddressType() {
  86. return $this->addressType;
  87. }
  88. public function setAddressType($addressType) {
  89. $this->addressType = $addressType;
  90. $this->queryParameters["AddressType"]=$addressType;
  91. }
  92. public function getTagName() {
  93. return $this->tagName;
  94. }
  95. public function setTagName($tagName) {
  96. $this->tagName = $tagName;
  97. $this->queryParameters["TagName"]=$tagName;
  98. }
  99. }