@@ -16,8 +16,8 @@ import kotlinx.serialization.json.*
1616 * @param ip IP address of the client that performed the request.
1717 * @param queryHeaders Request headers (API keys are obfuscated).
1818 * @param sha1 SHA1 signature of the log entry.
19- * @param nbApiCalls Number of API requests.
2019 * @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.
2121 * @param index Index targeted by the query.
2222 * @param queryParams Query parameters sent with the request.
2323 * @param queryNbHits Number of search results (hits) returned for the query.
@@ -53,12 +53,12 @@ public data class Log(
5353 /* * SHA1 signature of the log entry. */
5454 @SerialName(value = " sha1" ) val sha1 : String ,
5555
56- /* * Number of API requests. */
57- @SerialName(value = " nb_api_calls" ) val nbApiCalls : String ,
58-
5956 /* * Processing time for the query in milliseconds. This doesn't include latency due to the network. */
6057 @SerialName(value = " processing_time_ms" ) val processingTimeMs : String ,
6158
59+ /* * Number of API requests. */
60+ @SerialName(value = " nb_api_calls" ) val nbApiCalls : String? = null ,
61+
6262 /* * Index targeted by the query. */
6363 @SerialName(value = " index" ) val index : String? = null ,
6464
0 commit comments