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

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

The newest version!
package com.codacy.client.bitbucket.v2

import play.api.libs.functional.syntax._
import play.api.libs.json._

case class Author(raw: String, user: Option[Account])

object Author {

  implicit val authorReads: Reads[Author] = (
    (__ \ "raw").read[String] and
      (__ \ "user").readNullable[Account]
  )(Author.apply _)
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy