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

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

There is a newer version: 0.4.5-v2-20240905
Show newest version
package googleapis.bigquery

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

final case class IntArrayHparamSearchSpace(
    /** Candidates for the int array parameter.
      */
    candidates: Option[List[IntArray]] = None
)
object IntArrayHparamSearchSpace {
  implicit val encoder: Encoder[
    IntArrayHparamSearchSpace
  ] = Encoder.instance(x => Json.obj("candidates" := x.candidates))
  implicit val decoder: Decoder[
    IntArrayHparamSearchSpace
  ] = Decoder.instance { c =>
    for {
      v0 <- c.get[Option[List[IntArray]]]("candidates")
    } yield IntArrayHparamSearchSpace(v0)
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy