All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.codacy.client.bitbucket.v2.BuildStatus.scala Maven / Gradle / Ivy

There is a newer version: 19.0.7
Show newest version
package com.codacy.client.bitbucket.v2

import com.codacy.client.bitbucket.util.JsonEnumeration
import play.api.libs.json.Json

object CommitStatus extends JsonEnumeration {
  val InProgress = Value("INPROGRESS")
  val Successful = Value("SUCCESSFUL")
  val Failed = Value("FAILED")
}

case class BuildStatus(state: CommitStatus.Value, key: String, name: String, url: String, description: String)

object BuildStatus {
  implicit val fmt = Json.format[BuildStatus]
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy