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

io.github.quafadas.dairect.MessageContentList.scala Maven / Gradle / Ivy

The newest version!
package io.github.quafadas.dairect

import smithy4s.Hints
import smithy4s.Newtype
import smithy4s.Schema
import smithy4s.ShapeId
import smithy4s.schema.Schema.bijection
import smithy4s.schema.Schema.list

object MessageContentList extends Newtype[List[MessageContent]] {
  val id: ShapeId = ShapeId("io.github.quafadas.dairect", "MessageContentList")
  val hints: Hints = Hints.empty
  val underlyingSchema: Schema[List[MessageContent]] = list(MessageContent.schema).withId(id).addHints(hints)
  implicit val schema: Schema[MessageContentList] = bijection(underlyingSchema, asBijection)
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy