QueryIncomeTrendRequest.py 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  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 QueryIncomeTrendRequest(RpcRequest):
  22. def __init__(self):
  23. RpcRequest.__init__(self, 'UniMkt', '2018-12-12', 'QueryIncomeTrend','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_AdSlotType(self):
  30. return self.get_query_params().get('AdSlotType')
  31. def set_AdSlotType(self,AdSlotType):
  32. self.add_query_param('AdSlotType',AdSlotType)
  33. def get_StartTime(self):
  34. return self.get_query_params().get('StartTime')
  35. def set_StartTime(self,StartTime):
  36. self.add_query_param('StartTime',StartTime)
  37. def get_Slot(self):
  38. return self.get_query_params().get('Slot')
  39. def set_Slot(self,Slot):
  40. self.add_query_param('Slot',Slot)
  41. def get_UserId(self):
  42. return self.get_query_params().get('UserId')
  43. def set_UserId(self,UserId):
  44. self.add_query_param('UserId',UserId)
  45. def get_OriginSiteUserId(self):
  46. return self.get_query_params().get('OriginSiteUserId')
  47. def set_OriginSiteUserId(self,OriginSiteUserId):
  48. self.add_query_param('OriginSiteUserId',OriginSiteUserId)
  49. def get_PageNumber(self):
  50. return self.get_query_params().get('PageNumber')
  51. def set_PageNumber(self,PageNumber):
  52. self.add_query_param('PageNumber',PageNumber)
  53. def get_MediaName(self):
  54. return self.get_query_params().get('MediaName')
  55. def set_MediaName(self,MediaName):
  56. self.add_query_param('MediaName',MediaName)
  57. def get_SlotDimension(self):
  58. return self.get_query_params().get('SlotDimension')
  59. def set_SlotDimension(self,SlotDimension):
  60. self.add_query_param('SlotDimension',SlotDimension)
  61. def get_AppName(self):
  62. return self.get_query_params().get('AppName')
  63. def set_AppName(self,AppName):
  64. self.add_query_param('AppName',AppName)
  65. def get_TenantId(self):
  66. return self.get_query_params().get('TenantId')
  67. def set_TenantId(self,TenantId):
  68. self.add_query_param('TenantId',TenantId)
  69. def get_AdSlotId(self):
  70. return self.get_query_params().get('AdSlotId')
  71. def set_AdSlotId(self,AdSlotId):
  72. self.add_query_param('AdSlotId',AdSlotId)
  73. def get_PageSize(self):
  74. return self.get_query_params().get('PageSize')
  75. def set_PageSize(self,PageSize):
  76. self.add_query_param('PageSize',PageSize)
  77. def get_Dimension(self):
  78. return self.get_query_params().get('Dimension')
  79. def set_Dimension(self,Dimension):
  80. self.add_query_param('Dimension',Dimension)
  81. def get_QueryType(self):
  82. return self.get_query_params().get('QueryType')
  83. def set_QueryType(self,QueryType):
  84. self.add_query_param('QueryType',QueryType)
  85. def get_Business(self):
  86. return self.get_query_params().get('Business')
  87. def set_Business(self,Business):
  88. self.add_query_param('Business',Business)
  89. def get_EndTime(self):
  90. return self.get_query_params().get('EndTime')
  91. def set_EndTime(self,EndTime):
  92. self.add_query_param('EndTime',EndTime)
  93. def get_MediaId(self):
  94. return self.get_query_params().get('MediaId')
  95. def set_MediaId(self,MediaId):
  96. self.add_query_param('MediaId',MediaId)
  97. def get_Environment(self):
  98. return self.get_query_params().get('Environment')
  99. def set_Environment(self,Environment):
  100. self.add_query_param('Environment',Environment)
  101. def get_UserSite(self):
  102. return self.get_query_params().get('UserSite')
  103. def set_UserSite(self,UserSite):
  104. self.add_query_param('UserSite',UserSite)
  105. def get_AdSlotName(self):
  106. return self.get_query_params().get('AdSlotName')
  107. def set_AdSlotName(self,AdSlotName):
  108. self.add_query_param('AdSlotName',AdSlotName)