"""
Created by auto_sdk on 2019.07.03
"""
from api.base import RestApi


class SmartworkAttendsGetleaveapprovedurationRequest(RestApi):
    def __init__(self, url=None):
        RestApi.__init__(self, url)
        self.from_date = None
        self.to_date = None
        self.userid = None

    def getHttpMethod(self):
        return 'POST'

    def getapiname(self):
        return 'dingtalk.smartwork.attends.getleaveapproveduration'
