123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128 |
- # Licensed to the Apache Software Foundation (ASF) under one
- # or more contributor license agreements. See the NOTICE file
- # distributed with this work for additional information
- # regarding copyright ownership. The ASF licenses this file
- # to you under the Apache License, Version 2.0 (the
- # "License"); you may not use this file except in compliance
- # with the License. You may obtain a copy of the License at
- #
- #
- # http://www.apache.org/licenses/LICENSE-2.0
- #
- #
- # Unless required by applicable law or agreed to in writing,
- # software distributed under the License is distributed on an
- # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- # KIND, either express or implied. See the License for the
- # specific language governing permissions and limitations
- # under the License.
- from aliyunsdkcore.request import RpcRequest
- from aliyunsdkunimkt.endpoint import endpoint_data
- class QueryIncomeDataRequest(RpcRequest):
- def __init__(self):
- RpcRequest.__init__(self, 'UniMkt', '2018-12-12', 'QueryIncomeData','uniMkt')
- self.set_method('POST')
- if hasattr(self, "endpoint_map"):
- setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
- if hasattr(self, "endpoint_regional"):
- setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())
- def get_AdSlotType(self):
- return self.get_query_params().get('AdSlotType')
- def set_AdSlotType(self,AdSlotType):
- self.add_query_param('AdSlotType',AdSlotType)
- def get_Business(self):
- return self.get_query_params().get('Business')
- def set_Business(self,Business):
- self.add_query_param('Business',Business)
- def get_EndTime(self):
- return self.get_query_params().get('EndTime')
- def set_EndTime(self,EndTime):
- self.add_query_param('EndTime',EndTime)
- def get_StartTime(self):
- return self.get_query_params().get('StartTime')
- def set_StartTime(self,StartTime):
- self.add_query_param('StartTime',StartTime)
- def get_MediaId(self):
- return self.get_query_params().get('MediaId')
- def set_MediaId(self,MediaId):
- self.add_query_param('MediaId',MediaId)
- def get_UserId(self):
- return self.get_query_params().get('UserId')
- def set_UserId(self,UserId):
- self.add_query_param('UserId',UserId)
- def get_OriginSiteUserId(self):
- return self.get_query_params().get('OriginSiteUserId')
- def set_OriginSiteUserId(self,OriginSiteUserId):
- self.add_query_param('OriginSiteUserId',OriginSiteUserId)
- def get_MediaName(self):
- return self.get_query_params().get('MediaName')
- def set_MediaName(self,MediaName):
- self.add_query_param('MediaName',MediaName)
- def get_Environment(self):
- return self.get_query_params().get('Environment')
- def set_Environment(self,Environment):
- self.add_query_param('Environment',Environment)
- def get_AppName(self):
- return self.get_query_params().get('AppName')
- def set_AppName(self,AppName):
- self.add_query_param('AppName',AppName)
- def get_TenantId(self):
- return self.get_query_params().get('TenantId')
- def set_TenantId(self,TenantId):
- self.add_query_param('TenantId',TenantId)
- def get_AdSlotId(self):
- return self.get_query_params().get('AdSlotId')
- def set_AdSlotId(self,AdSlotId):
- self.add_query_param('AdSlotId',AdSlotId)
- def get_UserSite(self):
- return self.get_query_params().get('UserSite')
- def set_UserSite(self,UserSite):
- self.add_query_param('UserSite',UserSite)
- def get_AdSlotName(self):
- return self.get_query_params().get('AdSlotName')
- def set_AdSlotName(self,AdSlotName):
- self.add_query_param('AdSlotName',AdSlotName)
- def get_Dimension(self):
- return self.get_query_params().get('Dimension')
- def set_Dimension(self,Dimension):
- self.add_query_param('Dimension',Dimension)
- def get_QueryType(self):
- return self.get_query_params().get('QueryType')
- def set_QueryType(self,QueryType):
- self.add_query_param('QueryType',QueryType)
|