code: def from_dto(cls, file_dto: Any) -> "FileEntry":
      return cls(
          name=file_dto.name,
          size=file_dto.size,
          mtime=file_dto.mtime,
          file_type=file_dto.fileType,
      )
  
imports: import datetime
  from dataclasses import dataclass
  from typing import Any
label_desc: Use image node_id 1 for calling the FileEntry obj's underlying member method code with example usage: obj.from_dto(cls, file_dto) and returns: cls