diff --git a/algoliasearch/Clients/SearchClient.cs b/algoliasearch/Clients/SearchClient.cs
index d3e58b93c..65f09d241 100644
--- a/algoliasearch/Clients/SearchClient.cs
+++ b/algoliasearch/Clients/SearchClient.cs
@@ -724,8 +724,8 @@ public interface ISearchClient
/// Thrown when arguments are not correct
/// Thrown when the API call was rejected by Algolia
/// Thrown when the client failed to call the endpoint
- /// Task of Dictionary{string, string}
- Task> GetObjectAsync(string indexName, string objectID, List attributesToRetrieve = default, RequestOptions options = null, CancellationToken cancellationToken = default);
+ /// Task of object
+ Task GetObjectAsync(string indexName, string objectID, List attributesToRetrieve = default, RequestOptions options = null, CancellationToken cancellationToken = default);
///
/// Retrieves one record by its object ID. To retrieve more than one record, use the [`objects` operation](#tag/Records/operation/getObjects). (Synchronous version)
@@ -738,8 +738,8 @@ public interface ISearchClient
/// Thrown when arguments are not correct
/// Thrown when the API call was rejected by Algolia
/// Thrown when the client failed to call the endpoint
- /// Dictionary{string, string}
- Dictionary GetObject(string indexName, string objectID, List attributesToRetrieve = default, RequestOptions options = null, CancellationToken cancellationToken = default);
+ /// object
+ object GetObject(string indexName, string objectID, List attributesToRetrieve = default, RequestOptions options = null, CancellationToken cancellationToken = default);
///
/// Retrieves one or more records, potentially from different indices. Records are returned in the same order as the requests.
@@ -2929,8 +2929,8 @@ public GetLogsResponse GetLogs(int? offset = default, int? length = default, str
/// Thrown when arguments are not correct
/// Thrown when the API call was rejected by Algolia
/// Thrown when the client failed to call the endpoint
- /// Task of Dictionary{string, string}
- public async Task> GetObjectAsync(string indexName, string objectID, List attributesToRetrieve = default, RequestOptions options = null, CancellationToken cancellationToken = default)
+ /// Task of object
+ public async Task GetObjectAsync(string indexName, string objectID, List attributesToRetrieve = default, RequestOptions options = null, CancellationToken cancellationToken = default)
{
if (indexName == null)
@@ -2946,7 +2946,7 @@ public async Task> GetObjectAsync(string indexName, s
requestOptions.PathParameters.Add("objectID", QueryStringHelper.ParameterToString(objectID));
requestOptions.AddQueryParameter("attributesToRetrieve", attributesToRetrieve);
- return await _transport.ExecuteRequestAsync>(new HttpMethod("GET"), "/1/indexes/{indexName}/{objectID}", requestOptions, cancellationToken).ConfigureAwait(false);
+ return await _transport.ExecuteRequestAsync(new HttpMethod("GET"), "/1/indexes/{indexName}/{objectID}", requestOptions, cancellationToken).ConfigureAwait(false);
}
@@ -2964,8 +2964,8 @@ public async Task> GetObjectAsync(string indexName, s
/// Thrown when arguments are not correct
/// Thrown when the API call was rejected by Algolia
/// Thrown when the client failed to call the endpoint
- /// Dictionary{string, string}
- public Dictionary GetObject(string indexName, string objectID, List attributesToRetrieve = default, RequestOptions options = null, CancellationToken cancellationToken = default) =>
+ /// object
+ public object GetObject(string indexName, string objectID, List attributesToRetrieve = default, RequestOptions options = null, CancellationToken cancellationToken = default) =>
AsyncHelper.RunSync(() => GetObjectAsync(indexName, objectID, attributesToRetrieve, options, cancellationToken));