/** * Generated by API Builder - https://www.apibuilder.io * Service version: 0.0.1 * User agent: apibuilder app.apibuilder.io/bml/test-local-defined-enum-as-header-value/0.0.1/http4s_0_23 */ package org.bml.test.local.defined.`enum`.`as`.header.value.v0.mock { class Client[F[_]: cats.Applicative] extends org.bml.test.local.defined.`enum`.`as`.header.value.v0.interfaces.Client[F] { val baseUrl: org.http4s.Uri = org.http4s.Uri.unsafeFromString("http://mock.localhost") override def contexts: org.bml.test.local.defined.`enum`.`as`.header.value.v0.Contexts[F] = new MockContexts[F] } class MockContexts[F[_]: cats.Applicative] extends org.bml.test.local.defined.`enum`.`as`.header.value.v0.Contexts[F] { /** * Gets the Context resource with the id of :id * * @param lang Allows a user to explicitly request content in a preferred language */ def getById( id: _root_.java.util.UUID, lang: _root_.scala.Option[org.bml.test.local.defined.`enum`.`as`.header.value.v0.models.Locale] = None, requestHeaders: Seq[(String, String)] = Nil ): F[org.bml.test.local.defined.`enum`.`as`.header.value.v0.models.Context] = cats.Applicative[F].pure { org.bml.test.local.defined.`enum`.`as`.header.value.v0.mock.Factories.makeContext() } } object Factories { def randomString(length: Int = 24): String = { _root_.scala.util.Random.alphanumeric.take(length).mkString } def makeLocale(): org.bml.test.local.defined.`enum`.`as`.header.value.v0.models.Locale = org.bml.test.local.defined.`enum`.`as`.header.value.v0.models.Locale.EnUS def makeContext(): org.bml.test.local.defined.`enum`.`as`.header.value.v0.models.Context = org.bml.test.local.defined.`enum`.`as`.header.value.v0.models.Context( id = _root_.java.util.UUID.randomUUID ) } }