/** * Generated by API Builder - https://www.apibuilder.io * Service version: 0.0.1-dev * User agent: apibuilder app.apibuilder.io/poole-solutions/questlog-api/0.0.1-dev/scala_mock_models */ package solutions.poole.questlog.api.v0.mock { object Factories { def randomString(length: Int = 24): String = { _root_.scala.util.Random.alphanumeric.take(length).mkString } def makeItemType(): solutions.poole.questlog.api.v0.models.ItemType = solutions.poole.questlog.api.v0.models.ItemType.Food def makeAdventure(): solutions.poole.questlog.api.v0.models.Adventure = solutions.poole.questlog.api.v0.models.Adventure( guid = _root_.java.util.UUID.randomUUID, name = Factories.randomString(24), description = None, location = None, participants = None, packLists = None ) def makeError(): solutions.poole.questlog.api.v0.models.Error = solutions.poole.questlog.api.v0.models.Error( code = Factories.randomString(24), message = Factories.randomString(24) ) def makeGuest(): solutions.poole.questlog.api.v0.models.Guest = solutions.poole.questlog.api.v0.models.Guest( email = None, name = None ) def makeItem(): solutions.poole.questlog.api.v0.models.Item = solutions.poole.questlog.api.v0.models.Item( name = Factories.randomString(24), size = None, description = None, `type` = None ) def makeParticipant(): solutions.poole.questlog.api.v0.models.Participant = solutions.poole.questlog.api.v0.models.Participant( person = solutions.poole.questlog.api.v0.mock.Factories.makePerson(), items = None ) def makeUser(): solutions.poole.questlog.api.v0.models.User = solutions.poole.questlog.api.v0.models.User( guid = _root_.java.util.UUID.randomUUID, email = None, name = None ) def makePerson(): solutions.poole.questlog.api.v0.models.Person = solutions.poole.questlog.api.v0.mock.Factories.makeGuest() } }