added helper case class for json body

This commit is contained in:
Roy Li
2016-07-27 11:33:38 -07:00
parent 3fdb444961
commit d6f8a45889

View File

@@ -0,0 +1,12 @@
package gitbucket.core.api
case class UploadFiles(branch: String, path: String, fileIds : Map[String,String], message: String)
{
def isValid: Boolean = {
fileIds.size > 0
}
}