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

scala.googleapis.bigquery.TableRow.scala Maven / Gradle / Ivy

There is a newer version: 0.6.1-v2-20241111
Show newest version
package googleapis.bigquery

import io.circe._
import io.circe.syntax._

final case class TableRow(
    /** Represents a single row in the result set, consisting of one or more fields.
      */
    f: Option[List[TableCell]] = None
)
object TableRow {
  implicit val encoder: Encoder[TableRow] = Encoder.instance { x =>
    Json.obj("f" := x.f)
  }
  implicit val decoder: Decoder[TableRow] = Decoder.instance { c =>
    for {
      v0 <- c.get[Option[List[TableCell]]]("f")
    } yield TableRow(v0)
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy