sbt-graphql.UpdateExportData.scala Maven / Gradle / Ivy
package graphql.codegen
import java.util.UUID
import java.time.ZonedDateTime
import java.time.LocalDateTime
import io.circe.{ Decoder, Encoder }
import io.circe.generic.semiauto.{ deriveDecoder, deriveEncoder }
import sangria.macros._
import types._
object UpdateExportData {
object updateExportData extends GraphQLQuery {
val document: sangria.ast.Document = graphql"""mutation updateExportData($$updateExportDataInput: UpdateExportDataInput!) {
updateExportData(exportData: $$updateExportDataInput)
}"""
case class Variables(updateExportDataInput: UpdateExportDataInput)
object Variables { implicit val jsonEncoder: Encoder[Variables] = deriveEncoder[Variables] }
case class Data(updateExportData: Option[Int])
object Data { implicit val jsonDecoder: Decoder[Data] = deriveDecoder[Data] }
}
}