/** * Generated by API Builder - https://www.apibuilder.io * Service version: 0.0.1 * User agent: apibuilder app.apibuilder.io/nccloud/reporting-api/0.0.1/play_2_6 */ package de.nccloud.reporting.api.v0.models package object bodyparsers { private def bodyParser[A](parser: _root_.play.api.mvc.BodyParser[_root_.play.api.libs.json.JsValue])( implicit ec: _root_.scala.concurrent.ExecutionContext, rds: _root_.play.api.libs.json.Reads[A] ): _root_.play.api.mvc.BodyParser[A] = parser.validate( _.validate[A].asEither.left.map(e => _root_.play.api.mvc.Results.BadRequest(_root_.play.api.libs.json.JsError.toJson(e)) ) ) def bodyParserScalarType(parser: _root_.play.api.mvc.BodyParser[_root_.play.api.libs.json.JsValue])( implicit ec: _root_.scala.concurrent.ExecutionContext, rds: _root_.play.api.libs.json.Reads[de.nccloud.reporting.api.v0.models.ScalarType] ): _root_.play.api.mvc.BodyParser[de.nccloud.reporting.api.v0.models.ScalarType] = bodyParser[de.nccloud.reporting.api.v0.models.ScalarType](parser) def bodyParserDeleteEvent(parser: _root_.play.api.mvc.BodyParser[_root_.play.api.libs.json.JsValue])( implicit ec: _root_.scala.concurrent.ExecutionContext, rds: _root_.play.api.libs.json.Reads[de.nccloud.reporting.api.v0.models.DeleteEvent] ): _root_.play.api.mvc.BodyParser[de.nccloud.reporting.api.v0.models.DeleteEvent] = bodyParser[de.nccloud.reporting.api.v0.models.DeleteEvent](parser) def bodyParserField(parser: _root_.play.api.mvc.BodyParser[_root_.play.api.libs.json.JsValue])( implicit ec: _root_.scala.concurrent.ExecutionContext, rds: _root_.play.api.libs.json.Reads[de.nccloud.reporting.api.v0.models.Field] ): _root_.play.api.mvc.BodyParser[de.nccloud.reporting.api.v0.models.Field] = bodyParser[de.nccloud.reporting.api.v0.models.Field](parser) def bodyParserFilter(parser: _root_.play.api.mvc.BodyParser[_root_.play.api.libs.json.JsValue])( implicit ec: _root_.scala.concurrent.ExecutionContext, rds: _root_.play.api.libs.json.Reads[de.nccloud.reporting.api.v0.models.Filter] ): _root_.play.api.mvc.BodyParser[de.nccloud.reporting.api.v0.models.Filter] = bodyParser[de.nccloud.reporting.api.v0.models.Filter](parser) def bodyParserProjectionField(parser: _root_.play.api.mvc.BodyParser[_root_.play.api.libs.json.JsValue])( implicit ec: _root_.scala.concurrent.ExecutionContext, rds: _root_.play.api.libs.json.Reads[de.nccloud.reporting.api.v0.models.ProjectionField] ): _root_.play.api.mvc.BodyParser[de.nccloud.reporting.api.v0.models.ProjectionField] = bodyParser[de.nccloud.reporting.api.v0.models.ProjectionField](parser) def bodyParserProjectionFieldSource(parser: _root_.play.api.mvc.BodyParser[_root_.play.api.libs.json.JsValue])( implicit ec: _root_.scala.concurrent.ExecutionContext, rds: _root_.play.api.libs.json.Reads[de.nccloud.reporting.api.v0.models.ProjectionFieldSource] ): _root_.play.api.mvc.BodyParser[de.nccloud.reporting.api.v0.models.ProjectionFieldSource] = bodyParser[de.nccloud.reporting.api.v0.models.ProjectionFieldSource](parser) def bodyParserQueryForm(parser: _root_.play.api.mvc.BodyParser[_root_.play.api.libs.json.JsValue])( implicit ec: _root_.scala.concurrent.ExecutionContext, rds: _root_.play.api.libs.json.Reads[de.nccloud.reporting.api.v0.models.QueryForm] ): _root_.play.api.mvc.BodyParser[de.nccloud.reporting.api.v0.models.QueryForm] = bodyParser[de.nccloud.reporting.api.v0.models.QueryForm](parser) def bodyParserQueryResponse(parser: _root_.play.api.mvc.BodyParser[_root_.play.api.libs.json.JsValue])( implicit ec: _root_.scala.concurrent.ExecutionContext, rds: _root_.play.api.libs.json.Reads[de.nccloud.reporting.api.v0.models.QueryResponse] ): _root_.play.api.mvc.BodyParser[de.nccloud.reporting.api.v0.models.QueryResponse] = bodyParser[de.nccloud.reporting.api.v0.models.QueryResponse](parser) def bodyParserTopic(parser: _root_.play.api.mvc.BodyParser[_root_.play.api.libs.json.JsValue])( implicit ec: _root_.scala.concurrent.ExecutionContext, rds: _root_.play.api.libs.json.Reads[de.nccloud.reporting.api.v0.models.Topic] ): _root_.play.api.mvc.BodyParser[de.nccloud.reporting.api.v0.models.Topic] = bodyParser[de.nccloud.reporting.api.v0.models.Topic](parser) def bodyParserTopicResponse(parser: _root_.play.api.mvc.BodyParser[_root_.play.api.libs.json.JsValue])( implicit ec: _root_.scala.concurrent.ExecutionContext, rds: _root_.play.api.libs.json.Reads[de.nccloud.reporting.api.v0.models.TopicResponse] ): _root_.play.api.mvc.BodyParser[de.nccloud.reporting.api.v0.models.TopicResponse] = bodyParser[de.nccloud.reporting.api.v0.models.TopicResponse](parser) def bodyParserUpdateEvent(parser: _root_.play.api.mvc.BodyParser[_root_.play.api.libs.json.JsValue])( implicit ec: _root_.scala.concurrent.ExecutionContext, rds: _root_.play.api.libs.json.Reads[de.nccloud.reporting.api.v0.models.UpdateEvent] ): _root_.play.api.mvc.BodyParser[de.nccloud.reporting.api.v0.models.UpdateEvent] = bodyParser[de.nccloud.reporting.api.v0.models.UpdateEvent](parser) def bodyParserView(parser: _root_.play.api.mvc.BodyParser[_root_.play.api.libs.json.JsValue])( implicit ec: _root_.scala.concurrent.ExecutionContext, rds: _root_.play.api.libs.json.Reads[de.nccloud.reporting.api.v0.models.View] ): _root_.play.api.mvc.BodyParser[de.nccloud.reporting.api.v0.models.View] = bodyParser[de.nccloud.reporting.api.v0.models.View](parser) def bodyParserViewForm(parser: _root_.play.api.mvc.BodyParser[_root_.play.api.libs.json.JsValue])( implicit ec: _root_.scala.concurrent.ExecutionContext, rds: _root_.play.api.libs.json.Reads[de.nccloud.reporting.api.v0.models.ViewForm] ): _root_.play.api.mvc.BodyParser[de.nccloud.reporting.api.v0.models.ViewForm] = bodyParser[de.nccloud.reporting.api.v0.models.ViewForm](parser) def bodyParserViewResponse(parser: _root_.play.api.mvc.BodyParser[_root_.play.api.libs.json.JsValue])( implicit ec: _root_.scala.concurrent.ExecutionContext, rds: _root_.play.api.libs.json.Reads[de.nccloud.reporting.api.v0.models.ViewResponse] ): _root_.play.api.mvc.BodyParser[de.nccloud.reporting.api.v0.models.ViewResponse] = bodyParser[de.nccloud.reporting.api.v0.models.ViewResponse](parser) def bodyParserReportingEvent(parser: _root_.play.api.mvc.BodyParser[_root_.play.api.libs.json.JsValue])( implicit ec: _root_.scala.concurrent.ExecutionContext, rds: _root_.play.api.libs.json.Reads[de.nccloud.reporting.api.v0.models.ReportingEvent] ): _root_.play.api.mvc.BodyParser[de.nccloud.reporting.api.v0.models.ReportingEvent] = bodyParser[de.nccloud.reporting.api.v0.models.ReportingEvent](parser) }