From c6f07ce5ea877af922c0b459694e80e93a8fc325 Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Wed, 20 Feb 2019 13:23:19 +0800 Subject: [PATCH] add ResultHeader --- .../SauceNaoAPI/models/ResultHeader.kt | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/main/kotlin/com/github/insanusmokrassar/SauceNaoAPI/models/ResultHeader.kt diff --git a/src/main/kotlin/com/github/insanusmokrassar/SauceNaoAPI/models/ResultHeader.kt b/src/main/kotlin/com/github/insanusmokrassar/SauceNaoAPI/models/ResultHeader.kt new file mode 100644 index 0000000..68e1a75 --- /dev/null +++ b/src/main/kotlin/com/github/insanusmokrassar/SauceNaoAPI/models/ResultHeader.kt @@ -0,0 +1,14 @@ +package com.github.insanusmokrassar.SauceNaoAPI.models + +import kotlinx.serialization.SerialName +import kotlinx.serialization.Serializable + +@Serializable +data class ResultHeader( + val similarity: Float, + val thumbnail: String, + @SerialName("index_id") + val indexId: Int, + @SerialName("index_name") + val indexName: String +) \ No newline at end of file