2021-06-30 02:43:17 +00:00
|
|
|
package awais.instagrabber.repositories.responses
|
|
|
|
|
|
|
|
import java.io.Serializable
|
|
|
|
|
|
|
|
data class Hashtag(
|
|
|
|
val id: String,
|
|
|
|
val name: String,
|
|
|
|
val mediaCount: Long,
|
2021-07-24 23:29:59 +00:00
|
|
|
val following: Int?, // 0 false 1 true; not on search results
|
2021-06-30 02:43:17 +00:00
|
|
|
val searchResultSubtitle: String? // shows how many posts there are on search results
|
2021-07-24 23:29:59 +00:00
|
|
|
) : Serializable {
|
|
|
|
val follow: Boolean
|
|
|
|
get() = following == 1
|
|
|
|
}
|