Last active
November 22, 2019 23:42
-
-
Save duanebester/42719682103e92b62029af055bc98f5e to your computer and use it in GitHub Desktop.
Search Response case class
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package models.responses | |
import models.common._ | |
// SearchResponse.scala | |
trait SearchResponse[T <: GeoSearchable] { | |
val hits: Seq[T] | |
val total: Long | |
} | |
trait GeoSearchable { | |
val location: Location | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment