def apply()

in common/app/model/content.scala [415:426]


  def apply(apiContent: contentapi.Content): ContentType = {
    val content = make(apiContent)

    apiContent match {
      case _ if apiContent.isLiveBlog || apiContent.isArticle || apiContent.isSudoku => Article.make(content)
      case _ if apiContent.isGallery                                                 => Gallery.make(content)
      case _ if apiContent.isVideo                                                   => Video.make(content)
      case _ if apiContent.isAudio                                                   => Audio.make(content)
      case _ if apiContent.isImageContent                                            => ImageContent.make(content)
      case _                                                                         => GenericContent(content)
    }
  }