class ShareLink { constructor(object) { this.repo_id = object.repo_id; this.repo_name = object.repo_name; this.path = object.path; this.obj_name = object.obj_name; this.obj_id = object.obj_id; this.is_dir = object.is_dir; this.can_edit = object.can_edit; this.repo_folder_permission = object.repo_folder_permission; this.permissions = object.permissions; this.username = object.username; this.is_expired = object.is_expired; this.expire_date = object.expire_date; this.token = object.token; this.link = object.link; this.view_cnt = object.view_cnt; this.ctime = object.ctime; this.password = object.password; this.user_scope = object.user_scope; this.download_link = object.download_link; this.show_download_link = object.show_download_link; } } export default ShareLink;