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.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; } } export default ShareLink;