Skip to content

Commit 0100fb2

Browse files
fix(specs): nb_api_calls in getLogs response is optional (generated)
algolia/api-clients-automation#4142 Co-authored-by: algolia-bot <[email protected]> Co-authored-by: Clément Vannicatte <[email protected]>
1 parent 9291a89 commit 0100fb2

File tree

1 file changed

+1
-3
lines changed
  • algoliasearch/Models/Search

1 file changed

+1
-3
lines changed

algoliasearch/Models/Search/Log.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,8 @@ public Log() { }
3333
/// <param name="ip">IP address of the client that performed the request. (required).</param>
3434
/// <param name="queryHeaders">Request headers (API keys are obfuscated). (required).</param>
3535
/// <param name="sha1">SHA1 signature of the log entry. (required).</param>
36-
/// <param name="nbApiCalls">Number of API requests. (required).</param>
3736
/// <param name="processingTimeMs">Processing time for the query in milliseconds. This doesn't include latency due to the network. (required).</param>
38-
public Log(string timestamp, string method, string answerCode, string queryBody, string answer, string url, string ip, string queryHeaders, string sha1, string nbApiCalls, string processingTimeMs)
37+
public Log(string timestamp, string method, string answerCode, string queryBody, string answer, string url, string ip, string queryHeaders, string sha1, string processingTimeMs)
3938
{
4039
Timestamp = timestamp ?? throw new ArgumentNullException(nameof(timestamp));
4140
Method = method ?? throw new ArgumentNullException(nameof(method));
@@ -46,7 +45,6 @@ public Log(string timestamp, string method, string answerCode, string queryBody,
4645
Ip = ip ?? throw new ArgumentNullException(nameof(ip));
4746
QueryHeaders = queryHeaders ?? throw new ArgumentNullException(nameof(queryHeaders));
4847
Sha1 = sha1 ?? throw new ArgumentNullException(nameof(sha1));
49-
NbApiCalls = nbApiCalls ?? throw new ArgumentNullException(nameof(nbApiCalls));
5048
ProcessingTimeMs = processingTimeMs ?? throw new ArgumentNullException(nameof(processingTimeMs));
5149
}
5250

0 commit comments

Comments
 (0)