@@ -16,8 +16,8 @@ import kotlinx.serialization.json.*
16
16
* @param ip IP address of the client that performed the request.
17
17
* @param queryHeaders Request headers (API keys are obfuscated).
18
18
* @param sha1 SHA1 signature of the log entry.
19
- * @param nbApiCalls Number of API requests.
20
19
* @param processingTimeMs Processing time for the query in milliseconds. This doesn't include latency due to the network.
20
+ * @param nbApiCalls Number of API requests.
21
21
* @param index Index targeted by the query.
22
22
* @param queryParams Query parameters sent with the request.
23
23
* @param queryNbHits Number of search results (hits) returned for the query.
@@ -53,12 +53,12 @@ public data class Log(
53
53
/* * SHA1 signature of the log entry. */
54
54
@SerialName(value = " sha1" ) val sha1 : String ,
55
55
56
- /* * Number of API requests. */
57
- @SerialName(value = " nb_api_calls" ) val nbApiCalls : String ,
58
-
59
56
/* * Processing time for the query in milliseconds. This doesn't include latency due to the network. */
60
57
@SerialName(value = " processing_time_ms" ) val processingTimeMs : String ,
61
58
59
+ /* * Number of API requests. */
60
+ @SerialName(value = " nb_api_calls" ) val nbApiCalls : String? = null ,
61
+
62
62
/* * Index targeted by the query. */
63
63
@SerialName(value = " index" ) val index : String? = null ,
64
64
0 commit comments