/** * Generated by API Builder - https://www.apibuilder.io * Service version: 0.0.1-dev * User agent: apibuilder app.apibuilder.io/michal/playground-api/0.0.1-dev/scala_mock_models */ package io.github.mkows.playground.api.v0.mock { object Factories { def randomString(length: Int = 24): String = { _root_.scala.util.Random.alphanumeric.take(length).mkString } def makeItemStateFailedCause(): io.github.mkows.playground.api.v0.models.ItemStateFailedCause = io.github.mkows.playground.api.v0.models.ItemStateFailedCause.ErrorCause1 def makeItemStateProgress(): io.github.mkows.playground.api.v0.models.ItemStateProgress = io.github.mkows.playground.api.v0.models.ItemStateProgress.Init def makeError(): io.github.mkows.playground.api.v0.models.Error = io.github.mkows.playground.api.v0.models.Error( code = 1, message = Factories.randomString(24), details = None ) def makeHealthcheck(): io.github.mkows.playground.api.v0.models.Healthcheck = io.github.mkows.playground.api.v0.models.Healthcheck( status = Factories.randomString(24), createdAt = _root_.org.joda.time.DateTime.now ) def makeItemState(): io.github.mkows.playground.api.v0.models.ItemState = io.github.mkows.playground.api.v0.mock.Factories.makeItemStateProgress() } }