Skip to content

Commit

Permalink
chore: generated code for commit 8bc4f83.
Browse files Browse the repository at this point in the history
Co-authored-by: Pierre Millot <pierre.millot@algolia.com>
  • Loading branch information
algolia-bot and millotp committed Jul 12, 2024
1 parent 8bc4f83 commit 1dc9bf4
Show file tree
Hide file tree
Showing 83 changed files with 602 additions and 486 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,9 @@ public TrendingItems() { }
/// <summary>
/// Initializes a new instance of the TrendingItems class.
/// </summary>
/// <param name="facetName">Facet attribute. To be used in combination with &#x60;facetValue&#x60;. If specified, only recommendations matching the facet filter will be returned. (required).</param>
/// <param name="facetValue">Facet value. To be used in combination with &#x60;facetName&#x60;. If specified, only recommendations matching the facet filter will be returned. (required).</param>
/// <param name="model">model (required).</param>
public TrendingItems(string facetName, string facetValue, TrendingItemsModel? model)
public TrendingItems(TrendingItemsModel? model)
{
FacetName = facetName ?? throw new ArgumentNullException(nameof(facetName));
FacetValue = facetValue ?? throw new ArgumentNullException(nameof(facetValue));
Model = model;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,11 @@ public TrendingItemsQuery() { }
/// </summary>
/// <param name="indexName">Index name (case-sensitive). (required).</param>
/// <param name="threshold">Minimum score a recommendation must have to be included in the response. (required).</param>
/// <param name="facetName">Facet attribute. To be used in combination with &#x60;facetValue&#x60;. If specified, only recommendations matching the facet filter will be returned. (required).</param>
/// <param name="facetValue">Facet value. To be used in combination with &#x60;facetName&#x60;. If specified, only recommendations matching the facet filter will be returned. (required).</param>
/// <param name="model">model (required).</param>
public TrendingItemsQuery(string indexName, double threshold, string facetName, string facetValue, TrendingItemsModel? model)
public TrendingItemsQuery(string indexName, double threshold, TrendingItemsModel? model)
{
IndexName = indexName ?? throw new ArgumentNullException(nameof(indexName));
Threshold = threshold;
FacetName = facetName ?? throw new ArgumentNullException(nameof(facetName));
FacetValue = facetValue ?? throw new ArgumentNullException(nameof(facetValue));
Model = model;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,19 @@ part 'trending_items.g.dart';
final class TrendingItems {
/// Returns a new [TrendingItems] instance.
const TrendingItems({
required this.facetName,
required this.facetValue,
this.facetName,
this.facetValue,
required this.model,
this.fallbackParameters,
});

/// Facet attribute. To be used in combination with `facetValue`. If specified, only recommendations matching the facet filter will be returned.
@JsonKey(name: r'facetName')
final String facetName;
final String? facetName;

/// Facet value. To be used in combination with `facetName`. If specified, only recommendations matching the facet filter will be returned.
@JsonKey(name: r'facetValue')
final String facetValue;
final String? facetValue;

@JsonKey(name: r'model')
final TrendingItemsModel model;
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ final class TrendingItemsQuery {
required this.threshold,
this.maxRecommendations,
this.queryParameters,
required this.facetName,
required this.facetValue,
this.facetName,
this.facetValue,
required this.model,
this.fallbackParameters,
});
Expand All @@ -43,11 +43,11 @@ final class TrendingItemsQuery {

/// Facet attribute. To be used in combination with `facetValue`. If specified, only recommendations matching the facet filter will be returned.
@JsonKey(name: r'facetName')
final String facetName;
final String? facetName;

/// Facet value. To be used in combination with `facetName`. If specified, only recommendations matching the facet filter will be returned.
@JsonKey(name: r'facetValue')
final String facetValue;
final String? facetValue;

@JsonKey(name: r'model')
final TrendingItemsModel model;
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions clients/algoliasearch-client-go/algolia/abtesting/client.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions clients/algoliasearch-client-go/algolia/analytics/client.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions clients/algoliasearch-client-go/algolia/ingestion/client.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions clients/algoliasearch-client-go/algolia/insights/client.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions clients/algoliasearch-client-go/algolia/monitoring/client.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 1dc9bf4

Please sign in to comment.