Skip to content

Commit

Permalink
fix(specs): nb_api_calls in getLogs response is optional (generated)
Browse files Browse the repository at this point in the history
algolia/api-clients-automation#4142

Co-authored-by: algolia-bot <[email protected]>
Co-authored-by: Clément Vannicatte <[email protected]>
  • Loading branch information
algolia-bot and shortcuts committed Nov 22, 2024
1 parent 2a29df2 commit 82e6698
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ import kotlinx.serialization.json.*
* @param ip IP address of the client that performed the request.
* @param queryHeaders Request headers (API keys are obfuscated).
* @param sha1 SHA1 signature of the log entry.
* @param nbApiCalls Number of API requests.
* @param processingTimeMs Processing time for the query in milliseconds. This doesn't include latency due to the network.
* @param nbApiCalls Number of API requests.
* @param index Index targeted by the query.
* @param queryParams Query parameters sent with the request.
* @param queryNbHits Number of search results (hits) returned for the query.
Expand Down Expand Up @@ -53,12 +53,12 @@ public data class Log(
/** SHA1 signature of the log entry. */
@SerialName(value = "sha1") val sha1: String,

/** Number of API requests. */
@SerialName(value = "nb_api_calls") val nbApiCalls: String,

/** Processing time for the query in milliseconds. This doesn't include latency due to the network. */
@SerialName(value = "processing_time_ms") val processingTimeMs: String,

/** Number of API requests. */
@SerialName(value = "nb_api_calls") val nbApiCalls: String? = null,

/** Index targeted by the query. */
@SerialName(value = "index") val index: String? = null,

Expand Down

0 comments on commit 82e6698

Please sign in to comment.