/** * Generated by API Builder - https://www.apibuilder.io * Service version: 2.0.1 * User agent: apibuilder app.apibuilder.io/chio/provided_test_app3/2.0.1/http4s_0_20 */ package io.chio.provided.test.app3.v2.models { /** * A generic error providing a message and some basic meta data. * * @param id A guid for identifying the error e.g. in log files. * @param timestamp Timestamp of the when the error occurred. * @param source An optional source on which the error occurred. * @param `type` An optional type for categorizing e.g. `validation` or `invalid_state`. * @param message The actual message of the error. */ final case class GenericError( id: _root_.java.util.UUID, timestamp: _root_.java.time.Instant, source: _root_.scala.Option[String] = None, `type`: _root_.scala.Option[String] = None, message: String ) /** * Response model indicating the health of a service. * * @param health The current health of the service. Normally this is `healthy`, otherwise an * simple error message can be shown. */ final case class Healthcheck( health: String ) }