Skip to content

Instantly share code, notes, and snippets.

@ambantis
Created October 1, 2013 19:40
Show Gist options
  • Save ambantis/6783942 to your computer and use it in GitHub Desktop.
Save ambantis/6783942 to your computer and use it in GitHub Desktop.
A Scala representation of a Google Drive Folder
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