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

scala.googleapis.bigquery.LinkedDatasetSource.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 LinkedDatasetSource(
    /** The source dataset reference contains project numbers and not project ids.
      */
    sourceDataset: Option[DatasetReference] = None
)
object LinkedDatasetSource {
  implicit val encoder: Encoder[LinkedDatasetSource] = Encoder.instance { x =>
    Json.obj("sourceDataset" := x.sourceDataset)
  }
  implicit val decoder: Decoder[LinkedDatasetSource] = Decoder.instance { c =>
    for {
      v0 <- c.get[Option[DatasetReference]]("sourceDataset")
    } yield LinkedDatasetSource(v0)

  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy