SendTaokeInfoRequest.py 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170
  1. # Licensed to the Apache Software Foundation (ASF) under one
  2. # or more contributor license agreements. See the NOTICE file
  3. # distributed with this work for additional information
  4. # regarding copyright ownership. The ASF licenses this file
  5. # to you under the Apache License, Version 2.0 (the
  6. # "License"); you may not use this file except in compliance
  7. # with the License. You may obtain a copy of the License at
  8. #
  9. #
  10. # http://www.apache.org/licenses/LICENSE-2.0
  11. #
  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. from aliyunsdkcore.request import RpcRequest
  20. from aliyunsdkunimkt.endpoint import endpoint_data
  21. class SendTaokeInfoRequest(RpcRequest):
  22. def __init__(self):
  23. RpcRequest.__init__(self, 'UniMkt', '2018-12-12', 'SendTaokeInfo','uniMkt')
  24. self.set_method('POST')
  25. if hasattr(self, "endpoint_map"):
  26. setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
  27. if hasattr(self, "endpoint_regional"):
  28. setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())
  29. def get_ProductId(self):
  30. return self.get_body_params().get('ProductId')
  31. def set_ProductId(self,ProductId):
  32. self.add_body_params('ProductId', ProductId)
  33. def get_Gender(self):
  34. return self.get_body_params().get('Gender')
  35. def set_Gender(self,Gender):
  36. self.add_body_params('Gender', Gender)
  37. def get_City(self):
  38. return self.get_body_params().get('City')
  39. def set_City(self,City):
  40. self.add_body_params('City', City)
  41. def get_UserId(self):
  42. return self.get_body_params().get('UserId')
  43. def set_UserId(self,UserId):
  44. self.add_body_params('UserId', UserId)
  45. def get_Mac(self):
  46. return self.get_body_params().get('Mac')
  47. def set_Mac(self,Mac):
  48. self.add_body_params('Mac', Mac)
  49. def get_Province(self):
  50. return self.get_body_params().get('Province')
  51. def set_Province(self,Province):
  52. self.add_body_params('Province', Province)
  53. def get_ProductTitle(self):
  54. return self.get_body_params().get('ProductTitle')
  55. def set_ProductTitle(self,ProductTitle):
  56. self.add_body_params('ProductTitle', ProductTitle)
  57. def get_BrandId(self):
  58. return self.get_body_params().get('BrandId')
  59. def set_BrandId(self,BrandId):
  60. self.add_body_params('BrandId', BrandId)
  61. def get_SellPrice(self):
  62. return self.get_body_params().get('SellPrice')
  63. def set_SellPrice(self,SellPrice):
  64. self.add_body_params('SellPrice', SellPrice)
  65. def get_Plat(self):
  66. return self.get_body_params().get('Plat')
  67. def set_Plat(self,Plat):
  68. self.add_body_params('Plat', Plat)
  69. def get_ComponentId(self):
  70. return self.get_body_params().get('ComponentId')
  71. def set_ComponentId(self,ComponentId):
  72. self.add_body_params('ComponentId', ComponentId)
  73. def get_Address(self):
  74. return self.get_body_params().get('Address')
  75. def set_Address(self,Address):
  76. self.add_body_params('Address', Address)
  77. def get_Ip(self):
  78. return self.get_body_params().get('Ip')
  79. def set_Ip(self,Ip):
  80. self.add_body_params('Ip', Ip)
  81. def get_MediaId(self):
  82. return self.get_body_params().get('MediaId')
  83. def set_MediaId(self,MediaId):
  84. self.add_body_params('MediaId', MediaId)
  85. def get_Phone(self):
  86. return self.get_body_params().get('Phone')
  87. def set_Phone(self,Phone):
  88. self.add_body_params('Phone', Phone)
  89. def get_V(self):
  90. return self.get_body_params().get('V')
  91. def set_V(self,V):
  92. self.add_body_params('V', V)
  93. def get_EnvironmentType(self):
  94. return self.get_body_params().get('EnvironmentType')
  95. def set_EnvironmentType(self,EnvironmentType):
  96. self.add_body_params('EnvironmentType', EnvironmentType)
  97. def get_District(self):
  98. return self.get_body_params().get('District')
  99. def set_District(self,District):
  100. self.add_body_params('District', District)
  101. def get_Imei(self):
  102. return self.get_body_params().get('Imei')
  103. def set_Imei(self,Imei):
  104. self.add_body_params('Imei', Imei)
  105. def get_PayPrice(self):
  106. return self.get_body_params().get('PayPrice')
  107. def set_PayPrice(self,PayPrice):
  108. self.add_body_params('PayPrice', PayPrice)
  109. def get_ChannelId(self):
  110. return self.get_body_params().get('ChannelId')
  111. def set_ChannelId(self,ChannelId):
  112. self.add_body_params('ChannelId', ChannelId)
  113. def get_Age(self):
  114. return self.get_body_params().get('Age')
  115. def set_Age(self,Age):
  116. self.add_body_params('Age', Age)
  117. def get_Status(self):
  118. return self.get_body_params().get('Status')
  119. def set_Status(self,Status):
  120. self.add_body_params('Status', Status)