def delete_sheet_session(self):
     if self.session_delete_url is not None:
         self.api_end_point = self.session_delete_url
     else:
         self.api_end_point = ZOIConfigUtil.get_sheet_api_base_url() + "session/" + self.session_id
     try:
         from controllers.Handler import ZOIAPIHandler
     except ImportError:
         from .Handler import ZOIAPIHandler
     return ZOIAPIHandler.get_instance(self).delete_request_handler()
 def delete_document(self, service_id=None):
     if self.document_delete_url is not None:
         self.api_end_point = self.document_delete_url
     else:
         if service_id == 1:
             self.api_end_point = ZOIConfigUtil.get_writer_api_base_url() + "document/" + self.document_id
         elif service_id == 2:
             self.api_end_point = ZOIConfigUtil.get_sheet_api_base_url() + "spreadsheet/" + self.document_id
         elif service_id == 3:
             self.api_end_point = ZOIConfigUtil.get_show_api_base_url() + "presentation/" + self.document_id
         else:
             return
     try:
         from controllers.Handler import ZOIAPIHandler
     except ImportError:
         from .Handler import ZOIAPIHandler
     return ZOIAPIHandler.get_instance(self).delete_request_handler()
 def __init__(self):
     super().__init__()
     self.api_end_point = ZOIConfigUtil.get_sheet_api_base_url() + "spreadsheet/preview"