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

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

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

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

private[v2] case class UserIdentifiersApi(account_id: Option[String], uuid: Option[String], `type`: String)

object UserIdentifiersApi {
  implicit val reader: Reads[UserIdentifiersApi] =
    ((__ \ "user" \ "account_id").readNullable[String] and
      (__ \ "user" \ "uuid").readNullable[String] and
      (__ \ "user" \ "type").read[String])(UserIdentifiersApi.apply _)
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy