We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5bac204 commit 0720b6eCopy full SHA for 0720b6e
src/main/kotlin/infrastructure/api/util/ApiResponses.kt
@@ -19,6 +19,13 @@ object ApiResponses {
19
@Serializable
20
data class ResponseEntry<out T>(val entry: T, val url: String)
21
22
+ /**
23
+ * Class that represents an [entry] returned as response by an API.
24
+ * Each entry is associated with its [date].
25
+ */
26
+ @Serializable
27
+ data class ResponseTimedEntry<out T>(val entry: T, val date: String)
28
+
29
/**
30
* Class that represents a list of [entries] returned as response to an API request.
31
* As the REST API best-practise recommend it is included also the [total] number of the entries.
0 commit comments