Created
October 1, 2013 19:40
-
-
Save ambantis/6783942 to your computer and use it in GitHub Desktop.
A Scala representation of a Google Drive Folder
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
case class GFolder(id: String, | |
eTag: String, | |
url: String, | |
iconUrl: String, | |
title: String, | |
owner: String, | |
parents: Set[String], | |
children: Set[String], | |
scions: Set[String], | |
created: LocalDateTime, | |
modified: LocalDateTime) extends GFile { | |
def folders(implicit gFolders: Map[String, GFolder]): List[GFolder] = {...} | |
def docs(implicit gDocs: Map[String, GDoc]): List[GDoc] = {...} | |
def export(implicit gFolderMap: Map[String, GFolder], | |
gDocMap: Map[String, GDoc]): List[TreeTableRow] = {...} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment