@@ -40,7 +40,7 @@ namespace Algolia.Search.Clients;
40
40
/// <exception cref =" Algolia.Search.Exceptions.AlgoliaApiException" >Thrown when the API call was rejected by Algolia</exception >
41
41
/// <exception cref =" Algolia.Search.Exceptions.AlgoliaUnreachableHostException" >Thrown when the client failed to call the endpoint</exception >
42
42
/// <returns >Task of { {> return_type_doc} }</returns >
43
- Task{ {#returnType} }<{ {> return_type} }>{ {/returnType} } { {operationId} }Async{ {#returnType} }{ {#vendorExtensions.x-is-generic} }<T >{ {/vendorExtensions.x-is-generic} }{ {/returnType} }({ {#allParams} }{ {{dataType} }}{ {#isEnumRef } } { {^required } }? { {/required } } { {/isEnumRef } } { {paramName} }{ {^required} }{ {#optionalMethodArgument} } = default{ {/optionalMethodArgument} }{ {/required} }{ {^-last} }, { {/-last} }{ {/allParams} }{ {#allParams.0} }, { {/allParams.0} }RequestOptions options = null, CancellationToken cancellationToken = default);
43
+ Task{ {#returnType} }<{ {> return_type} }>{ {/returnType} } { {operationId} }Async{ {#returnType} }{ {#vendorExtensions.x-is-generic} }<T >{ {/vendorExtensions.x-is-generic} }{ {/returnType} }({ {#allParams} }{ {{dataType} }} { {paramName} }{ {^required} }{ {#optionalMethodArgument} } = default{ {/optionalMethodArgument} }{ {/required} }{ {^-last} }, { {/-last} }{ {/allParams} }{ {#allParams.0} }, { {/allParams.0} }RequestOptions options = null, CancellationToken cancellationToken = default);
44
44
45
45
/// <summary >
46
46
/// { {{notes} }} (Synchronous version)
@@ -57,7 +57,7 @@ namespace Algolia.Search.Clients;
57
57
/// <exception cref =" Algolia.Search.Exceptions.AlgoliaApiException" >Thrown when the API call was rejected by Algolia</exception >
58
58
/// <exception cref =" Algolia.Search.Exceptions.AlgoliaUnreachableHostException" >Thrown when the client failed to call the endpoint</exception >
59
59
/// <returns >{ {> return_type_doc} }</returns >
60
- { {^returnType} }void{ {/returnType} }{ {#returnType} }{ {> return_type} }{ {/returnType} } { {operationId} }{ {#returnType} }{ {#vendorExtensions.x-is-generic} }<T >{ {/vendorExtensions.x-is-generic} }{ {/returnType} }({ {#allParams} }{ {{dataType} }}{ {#isEnumRef } } { {^required } }? { {/required } } { {/isEnumRef } } { {paramName} }{ {^required} }{ {#optionalMethodArgument} } = default{ {/optionalMethodArgument} }{ {/required} }{ {^-last} }, { {/-last} }{ {/allParams} }{ {#allParams.0} }, { {/allParams.0} }RequestOptions options = null, CancellationToken cancellationToken = default);
60
+ { {^returnType} }void{ {/returnType} }{ {#returnType} }{ {> return_type} }{ {/returnType} } { {operationId} }{ {#returnType} }{ {#vendorExtensions.x-is-generic} }<T >{ {/vendorExtensions.x-is-generic} }{ {/returnType} }({ {#allParams} }{ {{dataType} }} { {paramName} }{ {^required} }{ {#optionalMethodArgument} } = default{ {/optionalMethodArgument} }{ {/required} }{ {^-last} }, { {/-last} }{ {/allParams} }{ {#allParams.0} }, { {/allParams.0} }RequestOptions options = null, CancellationToken cancellationToken = default);
61
61
62
62
{ {/operation} }
63
63
}
@@ -152,7 +152,7 @@ namespace Algolia.Search.Clients;
152
152
/// <exception cref =" Algolia.Search.Exceptions.AlgoliaApiException" >Thrown when the API call was rejected by Algolia</exception >
153
153
/// <exception cref =" Algolia.Search.Exceptions.AlgoliaUnreachableHostException" >Thrown when the client failed to call the endpoint</exception >
154
154
/// <returns >Task of { {> return_type_doc} }</returns >
155
- public async Task{ {#returnType} }<{ {> return_type} }>{ {/returnType} } { {operationId} }Async{ {#returnType} }{ {#vendorExtensions.x-is-generic} }<T >{ {/vendorExtensions.x-is-generic} }{ {/returnType} }({ {#allParams} }{ {{dataType} }}{ {#isEnumRef } } { {^required } }? { {/required } } { {/isEnumRef } } { {paramName} }{ {^required} }{ {#optionalMethodArgument} } = default{ {/optionalMethodArgument} }{ {/required} }{ {^-last} }, { {/-last} }{ {/allParams} }{ {#allParams.0} }, { {/allParams.0} }RequestOptions options = null, CancellationToken cancellationToken = default)
155
+ public async Task{ {#returnType} }<{ {> return_type} }>{ {/returnType} } { {operationId} }Async{ {#returnType} }{ {#vendorExtensions.x-is-generic} }<T >{ {/vendorExtensions.x-is-generic} }{ {/returnType} }({ {#allParams} }{ {{dataType} }} { {paramName} }{ {^required} }{ {#optionalMethodArgument} } = default{ {/optionalMethodArgument} }{ {/required} }{ {^-last} }, { {/-last} }{ {/allParams} }{ {#allParams.0} }, { {/allParams.0} }RequestOptions options = null, CancellationToken cancellationToken = default)
156
156
{
157
157
{{#allParams} }
158
158
{ {#required} }
@@ -246,7 +246,7 @@ namespace Algolia.Search.Clients;
246
246
/// <exception cref =" Algolia.Search.Exceptions.AlgoliaApiException" >Thrown when the API call was rejected by Algolia</exception >
247
247
/// <exception cref =" Algolia.Search.Exceptions.AlgoliaUnreachableHostException" >Thrown when the client failed to call the endpoint</exception >
248
248
/// <returns >{ {> return_type_doc} }</returns >
249
- public { {^returnType} }void{ {/returnType} }{ {#returnType} }{ {> return_type} }{ {/returnType} } { {operationId} }{ {#vendorExtensions.x-is-generic} }<T >{ {/vendorExtensions.x-is-generic} }({ {#allParams} }{ {{dataType} }}{ {#isEnumRef } } { {^required } }? { {/required } } { {/isEnumRef } } { {paramName} }{ {^required} }{ {#optionalMethodArgument} } = default{ {/optionalMethodArgument} }{ {/required} }{ {^-last} }, { {/-last} }{ {/allParams} }{ {#allParams.0} }, { {/allParams.0} }RequestOptions options = null, CancellationToken cancellationToken = default) =>
249
+ public { {^returnType} }void{ {/returnType} }{ {#returnType} }{ {> return_type} }{ {/returnType} } { {operationId} }{ {#vendorExtensions.x-is-generic} }<T >{ {/vendorExtensions.x-is-generic} }({ {#allParams} }{ {{dataType} }} { {paramName} }{ {^required} }{ {#optionalMethodArgument} } = default{ {/optionalMethodArgument} }{ {/required} }{ {^-last} }, { {/-last} }{ {/allParams} }{ {#allParams.0} }, { {/allParams.0} }RequestOptions options = null, CancellationToken cancellationToken = default) =>
250
250
AsyncHelper.RunSync(() => { {operationId} }Async{ {#vendorExtensions.x-is-generic} }<T >{ {/vendorExtensions.x-is-generic} }({ {#allParams} }{ {paramName} }{ {^-last} }, { {/-last} }{ {/allParams} }{ {#allParams.0} }, { {/allParams.0} } options, cancellationToken));
251
251
252
252
{ {/supportsAsync} }
0 commit comments