from taobao_open.api.base import RestApi


class TbkDgOptimusMaterialRequest(RestApi):
    def __init__(self, domain='gw.api.taobao.com', port=80):
        RestApi.__init__(self, domain, port)
        self.adzone_id = None
        self.content_id = None
        self.content_source = None
        self.device_encrypt = None
        self.device_type = None
        self.device_value = None
        self.favorites_id = None
        self.item_id = None
        self.material_id = None
        self.page_no = None
        self.page_size = None

    def getapiname(self):
        return 'taobao.tbk.dg.optimus.material'
