OapiV2DepartmentDeleteRequest.py 320 B

1234567891011121314
  1. '''
  2. Created by auto_sdk on 2020.09.29
  3. '''
  4. from dingtalk.api.base import RestApi
  5. class OapiV2DepartmentDeleteRequest(RestApi):
  6. def __init__(self,url=None):
  7. RestApi.__init__(self,url)
  8. self.dept_id = None
  9. def getHttpMethod(self):
  10. return 'POST'
  11. def getapiname(self):
  12. return 'dingtalk.oapi.v2.department.delete'