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

ph.samson.atbp.confluence.model.ChildPage.scala Maven / Gradle / Ivy

The newest version!
package ph.samson.atbp.confluence.model

import zio.schema.DeriveSchema
import zio.schema.Schema
import zio.schema.codec.BinaryCodec
import zio.schema.codec.JsonCodec

case class ChildPage(
    id: String,
    status: String,
    title: String,
    spaceId: String,
    childPosition: Int
)

object ChildPage {

  implicit val schema: Schema[MultiEntityResult[ChildPage]] = DeriveSchema.gen
  implicit val codec: BinaryCodec[MultiEntityResult[ChildPage]] =
    JsonCodec.schemaBasedBinaryCodec
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy