From 63acf8943a5062ba6864f7da6a3b3cae59190d59 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 1 Apr 2026 01:55:20 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- .../Serper.ISerperClient.ImageSearch.g.cs | 30 +++++++++++++ .../Serper.ISerperClient.NewsSearch.g.cs | 30 +++++++++++++ .../Serper.ISerperClient.PatentSearch.g.cs | 30 +++++++++++++ .../Serper.ISerperClient.PlacesSearch.g.cs | 30 +++++++++++++ .../Serper.ISerperClient.ShoppingSearch.g.cs | 30 +++++++++++++ .../Serper.ISerperClient.VideoSearch.g.cs | 30 +++++++++++++ ...per.JsonConverters.ImageSearchRequest.g.cs | 2 +- ...rper.JsonConverters.NewsSearchRequest.g.cs | 2 +- ...er.JsonConverters.PatentSearchRequest.g.cs | 2 +- ...er.JsonConverters.PlacesSearchRequest.g.cs | 2 +- ...r.JsonConverters.ScholarSearchRequest.g.cs | 4 +- .../Serper.JsonConverters.SearchRequest.g.cs | 4 +- ....JsonConverters.ShoppingSearchRequest.g.cs | 2 +- ...per.JsonConverters.VideoSearchRequest.g.cs | 2 +- .../Serper.SerperClient.Autocomplete.g.cs | 1 + .../Serper.SerperClient.ImageSearch.g.cs | 44 +++++++++++++++++-- .../Serper.SerperClient.NewsSearch.g.cs | 44 +++++++++++++++++-- .../Serper.SerperClient.PatentSearch.g.cs | 44 +++++++++++++++++-- .../Serper.SerperClient.PlacesSearch.g.cs | 44 +++++++++++++++++-- .../Serper.SerperClient.ScholarSearch.g.cs | 1 + .../Generated/Serper.SerperClient.Search.g.cs | 1 + .../Serper.SerperClient.ShoppingSearch.g.cs | 44 +++++++++++++++++-- .../Serper.SerperClient.VideoSearch.g.cs | 44 +++++++++++++++++-- 23 files changed, 439 insertions(+), 28 deletions(-) diff --git a/src/libs/Serper/Generated/Serper.ISerperClient.ImageSearch.g.cs b/src/libs/Serper/Generated/Serper.ISerperClient.ImageSearch.g.cs index 482d5b4..4538592 100644 --- a/src/libs/Serper/Generated/Serper.ISerperClient.ImageSearch.g.cs +++ b/src/libs/Serper/Generated/Serper.ISerperClient.ImageSearch.g.cs @@ -19,9 +19,39 @@ public partial interface ISerperClient /// Image Search
/// Search Google Images for image results. /// + /// + /// Search query string.
+ /// Example: apple inc + /// + /// + /// Country code for localized results (ISO 3166-1 alpha-2).
+ /// Example: us + /// + /// + /// Language code for the interface language (ISO 639-1).
+ /// Example: en + /// + /// + /// Number of results to return.
+ /// Default Value: 10 + /// + /// + /// Page number for pagination.
+ /// Default Value: 1 + /// + /// + /// Whether to autocorrect the query spelling.
+ /// Default Value: true + /// /// The token to cancel the operation with /// global::System.Threading.Tasks.Task ImageSearchAsync( + string q, + string? gl = default, + string? hl = default, + int? num = default, + int? page = default, + bool? autocorrect = default, global::System.Threading.CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/libs/Serper/Generated/Serper.ISerperClient.NewsSearch.g.cs b/src/libs/Serper/Generated/Serper.ISerperClient.NewsSearch.g.cs index 4b7bd9c..2501c04 100644 --- a/src/libs/Serper/Generated/Serper.ISerperClient.NewsSearch.g.cs +++ b/src/libs/Serper/Generated/Serper.ISerperClient.NewsSearch.g.cs @@ -19,9 +19,39 @@ public partial interface ISerperClient /// News Search
/// Search Google News for recent articles and stories. /// + /// + /// Search query string.
+ /// Example: apple inc + /// + /// + /// Country code for localized results (ISO 3166-1 alpha-2).
+ /// Example: us + /// + /// + /// Language code for the interface language (ISO 639-1).
+ /// Example: en + /// + /// + /// Number of results to return.
+ /// Default Value: 10 + /// + /// + /// Page number for pagination.
+ /// Default Value: 1 + /// + /// + /// Whether to autocorrect the query spelling.
+ /// Default Value: true + /// /// The token to cancel the operation with /// global::System.Threading.Tasks.Task NewsSearchAsync( + string q, + string? gl = default, + string? hl = default, + int? num = default, + int? page = default, + bool? autocorrect = default, global::System.Threading.CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/libs/Serper/Generated/Serper.ISerperClient.PatentSearch.g.cs b/src/libs/Serper/Generated/Serper.ISerperClient.PatentSearch.g.cs index 4b33f8a..8267d44 100644 --- a/src/libs/Serper/Generated/Serper.ISerperClient.PatentSearch.g.cs +++ b/src/libs/Serper/Generated/Serper.ISerperClient.PatentSearch.g.cs @@ -19,9 +19,39 @@ public partial interface ISerperClient /// Patent Search
/// Search Google Patents for patent documents and applications. /// + /// + /// Search query string.
+ /// Example: apple inc + /// + /// + /// Country code for localized results (ISO 3166-1 alpha-2).
+ /// Example: us + /// + /// + /// Language code for the interface language (ISO 639-1).
+ /// Example: en + /// + /// + /// Number of results to return.
+ /// Default Value: 10 + /// + /// + /// Page number for pagination.
+ /// Default Value: 1 + /// + /// + /// Whether to autocorrect the query spelling.
+ /// Default Value: true + /// /// The token to cancel the operation with /// global::System.Threading.Tasks.Task PatentSearchAsync( + string q, + string? gl = default, + string? hl = default, + int? num = default, + int? page = default, + bool? autocorrect = default, global::System.Threading.CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/libs/Serper/Generated/Serper.ISerperClient.PlacesSearch.g.cs b/src/libs/Serper/Generated/Serper.ISerperClient.PlacesSearch.g.cs index 493515f..b7b167a 100644 --- a/src/libs/Serper/Generated/Serper.ISerperClient.PlacesSearch.g.cs +++ b/src/libs/Serper/Generated/Serper.ISerperClient.PlacesSearch.g.cs @@ -19,9 +19,39 @@ public partial interface ISerperClient /// Places Search
/// Search Google Maps/Places for local businesses and points of interest. /// + /// + /// Search query string.
+ /// Example: apple inc + /// + /// + /// Country code for localized results (ISO 3166-1 alpha-2).
+ /// Example: us + /// + /// + /// Language code for the interface language (ISO 639-1).
+ /// Example: en + /// + /// + /// Number of results to return.
+ /// Default Value: 10 + /// + /// + /// Page number for pagination.
+ /// Default Value: 1 + /// + /// + /// Whether to autocorrect the query spelling.
+ /// Default Value: true + /// /// The token to cancel the operation with /// global::System.Threading.Tasks.Task PlacesSearchAsync( + string q, + string? gl = default, + string? hl = default, + int? num = default, + int? page = default, + bool? autocorrect = default, global::System.Threading.CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/libs/Serper/Generated/Serper.ISerperClient.ShoppingSearch.g.cs b/src/libs/Serper/Generated/Serper.ISerperClient.ShoppingSearch.g.cs index 0dc7cd5..6d96086 100644 --- a/src/libs/Serper/Generated/Serper.ISerperClient.ShoppingSearch.g.cs +++ b/src/libs/Serper/Generated/Serper.ISerperClient.ShoppingSearch.g.cs @@ -19,9 +19,39 @@ public partial interface ISerperClient /// Shopping Search
/// Search Google Shopping for product listings and prices. /// + /// + /// Search query string.
+ /// Example: apple inc + /// + /// + /// Country code for localized results (ISO 3166-1 alpha-2).
+ /// Example: us + /// + /// + /// Language code for the interface language (ISO 639-1).
+ /// Example: en + /// + /// + /// Number of results to return.
+ /// Default Value: 10 + /// + /// + /// Page number for pagination.
+ /// Default Value: 1 + /// + /// + /// Whether to autocorrect the query spelling.
+ /// Default Value: true + /// /// The token to cancel the operation with /// global::System.Threading.Tasks.Task ShoppingSearchAsync( + string q, + string? gl = default, + string? hl = default, + int? num = default, + int? page = default, + bool? autocorrect = default, global::System.Threading.CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/libs/Serper/Generated/Serper.ISerperClient.VideoSearch.g.cs b/src/libs/Serper/Generated/Serper.ISerperClient.VideoSearch.g.cs index 62f28d7..a1fb0ab 100644 --- a/src/libs/Serper/Generated/Serper.ISerperClient.VideoSearch.g.cs +++ b/src/libs/Serper/Generated/Serper.ISerperClient.VideoSearch.g.cs @@ -19,9 +19,39 @@ public partial interface ISerperClient /// Video Search
/// Search Google for video results from YouTube and other video platforms. /// + /// + /// Search query string.
+ /// Example: apple inc + /// + /// + /// Country code for localized results (ISO 3166-1 alpha-2).
+ /// Example: us + /// + /// + /// Language code for the interface language (ISO 639-1).
+ /// Example: en + /// + /// + /// Number of results to return.
+ /// Default Value: 10 + /// + /// + /// Page number for pagination.
+ /// Default Value: 1 + /// + /// + /// Whether to autocorrect the query spelling.
+ /// Default Value: true + /// /// The token to cancel the operation with /// global::System.Threading.Tasks.Task VideoSearchAsync( + string q, + string? gl = default, + string? hl = default, + int? num = default, + int? page = default, + bool? autocorrect = default, global::System.Threading.CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/libs/Serper/Generated/Serper.JsonConverters.ImageSearchRequest.g.cs b/src/libs/Serper/Generated/Serper.JsonConverters.ImageSearchRequest.g.cs index 21df350..40b40d8 100644 --- a/src/libs/Serper/Generated/Serper.JsonConverters.ImageSearchRequest.g.cs +++ b/src/libs/Serper/Generated/Serper.JsonConverters.ImageSearchRequest.g.cs @@ -93,7 +93,7 @@ public override void Write( { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Serper.BaseSearchRequest), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Serper.BaseSearchRequest).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.Base, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.Base!, typeInfo); } } } diff --git a/src/libs/Serper/Generated/Serper.JsonConverters.NewsSearchRequest.g.cs b/src/libs/Serper/Generated/Serper.JsonConverters.NewsSearchRequest.g.cs index deb78a8..e5f6eff 100644 --- a/src/libs/Serper/Generated/Serper.JsonConverters.NewsSearchRequest.g.cs +++ b/src/libs/Serper/Generated/Serper.JsonConverters.NewsSearchRequest.g.cs @@ -93,7 +93,7 @@ public override void Write( { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Serper.BaseSearchRequest), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Serper.BaseSearchRequest).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.Base, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.Base!, typeInfo); } } } diff --git a/src/libs/Serper/Generated/Serper.JsonConverters.PatentSearchRequest.g.cs b/src/libs/Serper/Generated/Serper.JsonConverters.PatentSearchRequest.g.cs index 2c6cf95..9f0fc65 100644 --- a/src/libs/Serper/Generated/Serper.JsonConverters.PatentSearchRequest.g.cs +++ b/src/libs/Serper/Generated/Serper.JsonConverters.PatentSearchRequest.g.cs @@ -93,7 +93,7 @@ public override void Write( { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Serper.BaseSearchRequest), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Serper.BaseSearchRequest).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.Base, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.Base!, typeInfo); } } } diff --git a/src/libs/Serper/Generated/Serper.JsonConverters.PlacesSearchRequest.g.cs b/src/libs/Serper/Generated/Serper.JsonConverters.PlacesSearchRequest.g.cs index 2efeff8..b12692e 100644 --- a/src/libs/Serper/Generated/Serper.JsonConverters.PlacesSearchRequest.g.cs +++ b/src/libs/Serper/Generated/Serper.JsonConverters.PlacesSearchRequest.g.cs @@ -93,7 +93,7 @@ public override void Write( { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Serper.BaseSearchRequest), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Serper.BaseSearchRequest).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.Base, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.Base!, typeInfo); } } } diff --git a/src/libs/Serper/Generated/Serper.JsonConverters.ScholarSearchRequest.g.cs b/src/libs/Serper/Generated/Serper.JsonConverters.ScholarSearchRequest.g.cs index 13ec4be..547e38d 100644 --- a/src/libs/Serper/Generated/Serper.JsonConverters.ScholarSearchRequest.g.cs +++ b/src/libs/Serper/Generated/Serper.JsonConverters.ScholarSearchRequest.g.cs @@ -129,13 +129,13 @@ public override void Write( { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Serper.BaseSearchRequest), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Serper.BaseSearchRequest).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value1, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value1!, typeInfo); } else if (value.IsValue2) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Serper.ScholarSearchRequestVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Serper.ScholarSearchRequestVariant2).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value2, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value2!, typeInfo); } } } diff --git a/src/libs/Serper/Generated/Serper.JsonConverters.SearchRequest.g.cs b/src/libs/Serper/Generated/Serper.JsonConverters.SearchRequest.g.cs index ca9be1f..7efadf7 100644 --- a/src/libs/Serper/Generated/Serper.JsonConverters.SearchRequest.g.cs +++ b/src/libs/Serper/Generated/Serper.JsonConverters.SearchRequest.g.cs @@ -127,13 +127,13 @@ public override void Write( { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Serper.BaseSearchRequest), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Serper.BaseSearchRequest).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value1, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value1!, typeInfo); } else if (value.IsValue2) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Serper.SearchRequestVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Serper.SearchRequestVariant2).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value2, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value2!, typeInfo); } } } diff --git a/src/libs/Serper/Generated/Serper.JsonConverters.ShoppingSearchRequest.g.cs b/src/libs/Serper/Generated/Serper.JsonConverters.ShoppingSearchRequest.g.cs index b990e4b..15b3fd3 100644 --- a/src/libs/Serper/Generated/Serper.JsonConverters.ShoppingSearchRequest.g.cs +++ b/src/libs/Serper/Generated/Serper.JsonConverters.ShoppingSearchRequest.g.cs @@ -93,7 +93,7 @@ public override void Write( { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Serper.BaseSearchRequest), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Serper.BaseSearchRequest).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.Base, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.Base!, typeInfo); } } } diff --git a/src/libs/Serper/Generated/Serper.JsonConverters.VideoSearchRequest.g.cs b/src/libs/Serper/Generated/Serper.JsonConverters.VideoSearchRequest.g.cs index a450ac9..b98bd6f 100644 --- a/src/libs/Serper/Generated/Serper.JsonConverters.VideoSearchRequest.g.cs +++ b/src/libs/Serper/Generated/Serper.JsonConverters.VideoSearchRequest.g.cs @@ -93,7 +93,7 @@ public override void Write( { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Serper.BaseSearchRequest), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Serper.BaseSearchRequest).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.Base, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.Base!, typeInfo); } } } diff --git a/src/libs/Serper/Generated/Serper.SerperClient.Autocomplete.g.cs b/src/libs/Serper/Generated/Serper.SerperClient.Autocomplete.g.cs index a086404..9123053 100644 --- a/src/libs/Serper/Generated/Serper.SerperClient.Autocomplete.g.cs +++ b/src/libs/Serper/Generated/Serper.SerperClient.Autocomplete.g.cs @@ -204,6 +204,7 @@ partial void ProcessAutocompleteResponseContent( string? hl = default, global::System.Threading.CancellationToken cancellationToken = default) { + var __request = new global::Serper.AutocompleteRequest { Q = q, diff --git a/src/libs/Serper/Generated/Serper.SerperClient.ImageSearch.g.cs b/src/libs/Serper/Generated/Serper.SerperClient.ImageSearch.g.cs index 71ea3ff..94e9171 100644 --- a/src/libs/Serper/Generated/Serper.SerperClient.ImageSearch.g.cs +++ b/src/libs/Serper/Generated/Serper.SerperClient.ImageSearch.g.cs @@ -182,14 +182,52 @@ partial void ProcessImageSearchResponseContent( /// Image Search
/// Search Google Images for image results. /// + /// + /// Search query string.
+ /// Example: apple inc + /// + /// + /// Country code for localized results (ISO 3166-1 alpha-2).
+ /// Example: us + /// + /// + /// Language code for the interface language (ISO 639-1).
+ /// Example: en + /// + /// + /// Number of results to return.
+ /// Default Value: 10 + /// + /// + /// Page number for pagination.
+ /// Default Value: 1 + /// + /// + /// Whether to autocorrect the query spelling.
+ /// Default Value: true + /// /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task ImageSearchAsync( + string q, + string? gl = default, + string? hl = default, + int? num = default, + int? page = default, + bool? autocorrect = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __request = new global::Serper.ImageSearchRequest - { - }; + + var __request = new global::Serper.ImageSearchRequest( + new global::Serper.BaseSearchRequest + { + Q = q, + Gl = gl, + Hl = hl, + Num = num, + Page = page, + Autocorrect = autocorrect, + }); return await ImageSearchAsync( request: __request, diff --git a/src/libs/Serper/Generated/Serper.SerperClient.NewsSearch.g.cs b/src/libs/Serper/Generated/Serper.SerperClient.NewsSearch.g.cs index 0942c53..22854d6 100644 --- a/src/libs/Serper/Generated/Serper.SerperClient.NewsSearch.g.cs +++ b/src/libs/Serper/Generated/Serper.SerperClient.NewsSearch.g.cs @@ -182,14 +182,52 @@ partial void ProcessNewsSearchResponseContent( /// News Search
/// Search Google News for recent articles and stories. /// + /// + /// Search query string.
+ /// Example: apple inc + /// + /// + /// Country code for localized results (ISO 3166-1 alpha-2).
+ /// Example: us + /// + /// + /// Language code for the interface language (ISO 639-1).
+ /// Example: en + /// + /// + /// Number of results to return.
+ /// Default Value: 10 + /// + /// + /// Page number for pagination.
+ /// Default Value: 1 + /// + /// + /// Whether to autocorrect the query spelling.
+ /// Default Value: true + /// /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task NewsSearchAsync( + string q, + string? gl = default, + string? hl = default, + int? num = default, + int? page = default, + bool? autocorrect = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __request = new global::Serper.NewsSearchRequest - { - }; + + var __request = new global::Serper.NewsSearchRequest( + new global::Serper.BaseSearchRequest + { + Q = q, + Gl = gl, + Hl = hl, + Num = num, + Page = page, + Autocorrect = autocorrect, + }); return await NewsSearchAsync( request: __request, diff --git a/src/libs/Serper/Generated/Serper.SerperClient.PatentSearch.g.cs b/src/libs/Serper/Generated/Serper.SerperClient.PatentSearch.g.cs index f8f2d95..4a6e891 100644 --- a/src/libs/Serper/Generated/Serper.SerperClient.PatentSearch.g.cs +++ b/src/libs/Serper/Generated/Serper.SerperClient.PatentSearch.g.cs @@ -182,14 +182,52 @@ partial void ProcessPatentSearchResponseContent( /// Patent Search
/// Search Google Patents for patent documents and applications. /// + /// + /// Search query string.
+ /// Example: apple inc + /// + /// + /// Country code for localized results (ISO 3166-1 alpha-2).
+ /// Example: us + /// + /// + /// Language code for the interface language (ISO 639-1).
+ /// Example: en + /// + /// + /// Number of results to return.
+ /// Default Value: 10 + /// + /// + /// Page number for pagination.
+ /// Default Value: 1 + /// + /// + /// Whether to autocorrect the query spelling.
+ /// Default Value: true + /// /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task PatentSearchAsync( + string q, + string? gl = default, + string? hl = default, + int? num = default, + int? page = default, + bool? autocorrect = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __request = new global::Serper.PatentSearchRequest - { - }; + + var __request = new global::Serper.PatentSearchRequest( + new global::Serper.BaseSearchRequest + { + Q = q, + Gl = gl, + Hl = hl, + Num = num, + Page = page, + Autocorrect = autocorrect, + }); return await PatentSearchAsync( request: __request, diff --git a/src/libs/Serper/Generated/Serper.SerperClient.PlacesSearch.g.cs b/src/libs/Serper/Generated/Serper.SerperClient.PlacesSearch.g.cs index 2063f96..e440c8b 100644 --- a/src/libs/Serper/Generated/Serper.SerperClient.PlacesSearch.g.cs +++ b/src/libs/Serper/Generated/Serper.SerperClient.PlacesSearch.g.cs @@ -182,14 +182,52 @@ partial void ProcessPlacesSearchResponseContent( /// Places Search
/// Search Google Maps/Places for local businesses and points of interest. /// + /// + /// Search query string.
+ /// Example: apple inc + /// + /// + /// Country code for localized results (ISO 3166-1 alpha-2).
+ /// Example: us + /// + /// + /// Language code for the interface language (ISO 639-1).
+ /// Example: en + /// + /// + /// Number of results to return.
+ /// Default Value: 10 + /// + /// + /// Page number for pagination.
+ /// Default Value: 1 + /// + /// + /// Whether to autocorrect the query spelling.
+ /// Default Value: true + /// /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task PlacesSearchAsync( + string q, + string? gl = default, + string? hl = default, + int? num = default, + int? page = default, + bool? autocorrect = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __request = new global::Serper.PlacesSearchRequest - { - }; + + var __request = new global::Serper.PlacesSearchRequest( + new global::Serper.BaseSearchRequest + { + Q = q, + Gl = gl, + Hl = hl, + Num = num, + Page = page, + Autocorrect = autocorrect, + }); return await PlacesSearchAsync( request: __request, diff --git a/src/libs/Serper/Generated/Serper.SerperClient.ScholarSearch.g.cs b/src/libs/Serper/Generated/Serper.SerperClient.ScholarSearch.g.cs index 23580f3..6753bf4 100644 --- a/src/libs/Serper/Generated/Serper.SerperClient.ScholarSearch.g.cs +++ b/src/libs/Serper/Generated/Serper.SerperClient.ScholarSearch.g.cs @@ -189,6 +189,7 @@ partial void ProcessScholarSearchResponseContent( public async global::System.Threading.Tasks.Task ScholarSearchAsync( global::System.Threading.CancellationToken cancellationToken = default) { + var __request = new global::Serper.ScholarSearchRequest { }; diff --git a/src/libs/Serper/Generated/Serper.SerperClient.Search.g.cs b/src/libs/Serper/Generated/Serper.SerperClient.Search.g.cs index f4ed139..beb0f3a 100644 --- a/src/libs/Serper/Generated/Serper.SerperClient.Search.g.cs +++ b/src/libs/Serper/Generated/Serper.SerperClient.Search.g.cs @@ -189,6 +189,7 @@ partial void ProcessSearchResponseContent( public async global::System.Threading.Tasks.Task SearchAsync( global::System.Threading.CancellationToken cancellationToken = default) { + var __request = new global::Serper.SearchRequest { }; diff --git a/src/libs/Serper/Generated/Serper.SerperClient.ShoppingSearch.g.cs b/src/libs/Serper/Generated/Serper.SerperClient.ShoppingSearch.g.cs index 591fdf0..92ce2f0 100644 --- a/src/libs/Serper/Generated/Serper.SerperClient.ShoppingSearch.g.cs +++ b/src/libs/Serper/Generated/Serper.SerperClient.ShoppingSearch.g.cs @@ -182,14 +182,52 @@ partial void ProcessShoppingSearchResponseContent( /// Shopping Search
/// Search Google Shopping for product listings and prices. /// + /// + /// Search query string.
+ /// Example: apple inc + /// + /// + /// Country code for localized results (ISO 3166-1 alpha-2).
+ /// Example: us + /// + /// + /// Language code for the interface language (ISO 639-1).
+ /// Example: en + /// + /// + /// Number of results to return.
+ /// Default Value: 10 + /// + /// + /// Page number for pagination.
+ /// Default Value: 1 + /// + /// + /// Whether to autocorrect the query spelling.
+ /// Default Value: true + /// /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task ShoppingSearchAsync( + string q, + string? gl = default, + string? hl = default, + int? num = default, + int? page = default, + bool? autocorrect = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __request = new global::Serper.ShoppingSearchRequest - { - }; + + var __request = new global::Serper.ShoppingSearchRequest( + new global::Serper.BaseSearchRequest + { + Q = q, + Gl = gl, + Hl = hl, + Num = num, + Page = page, + Autocorrect = autocorrect, + }); return await ShoppingSearchAsync( request: __request, diff --git a/src/libs/Serper/Generated/Serper.SerperClient.VideoSearch.g.cs b/src/libs/Serper/Generated/Serper.SerperClient.VideoSearch.g.cs index 4358604..30fc0a9 100644 --- a/src/libs/Serper/Generated/Serper.SerperClient.VideoSearch.g.cs +++ b/src/libs/Serper/Generated/Serper.SerperClient.VideoSearch.g.cs @@ -182,14 +182,52 @@ partial void ProcessVideoSearchResponseContent( /// Video Search
/// Search Google for video results from YouTube and other video platforms. /// + /// + /// Search query string.
+ /// Example: apple inc + /// + /// + /// Country code for localized results (ISO 3166-1 alpha-2).
+ /// Example: us + /// + /// + /// Language code for the interface language (ISO 639-1).
+ /// Example: en + /// + /// + /// Number of results to return.
+ /// Default Value: 10 + /// + /// + /// Page number for pagination.
+ /// Default Value: 1 + /// + /// + /// Whether to autocorrect the query spelling.
+ /// Default Value: true + /// /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task VideoSearchAsync( + string q, + string? gl = default, + string? hl = default, + int? num = default, + int? page = default, + bool? autocorrect = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __request = new global::Serper.VideoSearchRequest - { - }; + + var __request = new global::Serper.VideoSearchRequest( + new global::Serper.BaseSearchRequest + { + Q = q, + Gl = gl, + Hl = hl, + Num = num, + Page = page, + Autocorrect = autocorrect, + }); return await VideoSearchAsync( request: __request,