def fromFrontJson()

in fapi-client/src/main/scala/com/gu/facia/api/models/front.scala [47:63]


  def fromFrontJson(id: String, frontJson: FrontJson): Front = {
    Front(
      id,
      frontJson.collections,
      frontJson.navSection,
      frontJson.webTitle,
      frontJson.title,
      frontJson.description,
      frontJson.onPageDescription,
      getImageUrl(frontJson),
      frontJson.isImageDisplayed.getOrElse(false),
      getFrontPriority(frontJson),
      frontJson.isHidden.getOrElse(false),
      canonicalCollection(id, frontJson),
      frontJson.group
    )
  }