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

sbt-graphql.GetConsignmentsForMetadataReview.scala Maven / Gradle / Ivy

The newest version!
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 GetConsignmentsForMetadataReview {
  object getConsignmentsForMetadataReview extends GraphQLQuery {
    val document: sangria.ast.Document = graphql"""query getConsignmentsForMetadataReview {
  getConsignmentsForMetadataReview {
    consignmentid
    consignmentReference
    seriesName
    transferringBodyName
  }
}"""
    case class Variables()
    object Variables { implicit val jsonEncoder: Encoder[Variables] = deriveEncoder[Variables] }
    case class Data(getConsignmentsForMetadataReview: List[GetConsignmentsForMetadataReview])
    object Data { implicit val jsonDecoder: Decoder[Data] = deriveDecoder[Data] }
    case class GetConsignmentsForMetadataReview(consignmentid: Option[UUID], consignmentReference: String, seriesName: Option[String], transferringBodyName: Option[String])
    object GetConsignmentsForMetadataReview {
      implicit val jsonDecoder: Decoder[GetConsignmentsForMetadataReview] = deriveDecoder[GetConsignmentsForMetadataReview]
      implicit val jsonEncoder: Encoder[GetConsignmentsForMetadataReview] = deriveEncoder[GetConsignmentsForMetadataReview]
    }
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy