Newer
Older
GitBucket / src / main / scala / gitbucket / core / api / CreateAFile.scala
@KOUNOIKE KOUNOIKE on 9 Feb 2019 274 bytes add create/update a file. closes #2112
package gitbucket.core.api

/**
 * https://developer.github.com/v3/repos/contents/#create-a-file
 */
case class CreateAFile(
  message: String,
  content: String,
  sha: Option[String],
  branch: Option[String],
  committer: Option[ApiPusher],
  author: Option[ApiPusher]
)