Skip to content

Commit

Permalink
chore(deps): dependencies 2024-08-19 (generated)
Browse files Browse the repository at this point in the history
algolia/api-clients-automation#3530

Co-authored-by: algolia-bot <[email protected]>
Co-authored-by: Algolia Bot <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: shortcuts <[email protected]>
Co-authored-by: Pierre Millot <[email protected]>
  • Loading branch information
5 people committed Aug 26, 2024
1 parent b4b5d7a commit b4ce00d
Show file tree
Hide file tree
Showing 12 changed files with 59 additions and 59 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@
import java.util.Objects;

/** Currency code. */
public class CurrenciesValue {
public class CurrencyCode {

@JsonProperty("currency")
private String currency;

@JsonProperty("revenue")
private Float revenue;

public CurrenciesValue setCurrency(String currency) {
public CurrencyCode setCurrency(String currency) {
this.currency = currency;
return this;
}
Expand All @@ -27,7 +27,7 @@ public String getCurrency() {
return currency;
}

public CurrenciesValue setRevenue(Float revenue) {
public CurrencyCode setRevenue(Float revenue) {
this.revenue = revenue;
return this;
}
Expand All @@ -46,8 +46,8 @@ public boolean equals(Object o) {
if (o == null || getClass() != o.getClass()) {
return false;
}
CurrenciesValue currenciesValue = (CurrenciesValue) o;
return Objects.equals(this.currency, currenciesValue.currency) && Objects.equals(this.revenue, currenciesValue.revenue);
CurrencyCode currencyCode = (CurrencyCode) o;
return Objects.equals(this.currency, currencyCode.currency) && Objects.equals(this.revenue, currencyCode.revenue);
}

@Override
Expand All @@ -58,7 +58,7 @@ public int hashCode() {
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CurrenciesValue {\n");
sb.append("class CurrencyCode {\n");
sb.append(" currency: ").append(toIndentedString(currency)).append("\n");
sb.append(" revenue: ").append(toIndentedString(revenue)).append("\n");
sb.append("}");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,24 +13,24 @@
public class DailyRevenue {

@JsonProperty("currencies")
private Map<String, CurrenciesValue> currencies = new HashMap<>();
private Map<String, CurrencyCode> currencies = new HashMap<>();

@JsonProperty("date")
private String date;

public DailyRevenue setCurrencies(Map<String, CurrenciesValue> currencies) {
public DailyRevenue setCurrencies(Map<String, CurrencyCode> currencies) {
this.currencies = currencies;
return this;
}

public DailyRevenue putCurrencies(String key, CurrenciesValue currenciesItem) {
public DailyRevenue putCurrencies(String key, CurrencyCode currenciesItem) {
this.currencies.put(key, currenciesItem);
return this;
}

/** Revenue associated with this search, broken-down by currencies. */
@javax.annotation.Nonnull
public Map<String, CurrenciesValue> getCurrencies() {
public Map<String, CurrencyCode> getCurrencies() {
return currencies;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,24 +15,24 @@
public class GetRevenue {

@JsonProperty("currencies")
private Map<String, CurrenciesValue> currencies = new HashMap<>();
private Map<String, CurrencyCode> currencies = new HashMap<>();

@JsonProperty("dates")
private List<DailyRevenue> dates = new ArrayList<>();

public GetRevenue setCurrencies(Map<String, CurrenciesValue> currencies) {
public GetRevenue setCurrencies(Map<String, CurrencyCode> currencies) {
this.currencies = currencies;
return this;
}

public GetRevenue putCurrencies(String key, CurrenciesValue currenciesItem) {
public GetRevenue putCurrencies(String key, CurrencyCode currenciesItem) {
this.currencies.put(key, currenciesItem);
return this;
}

/** Revenue associated with this search, broken-down by currencies. */
@javax.annotation.Nonnull
public Map<String, CurrenciesValue> getCurrencies() {
public Map<String, CurrencyCode> getCurrencies() {
return currencies;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public class TopHitWithRevenueAnalytics {
private Integer purchaseCount;

@JsonProperty("currencies")
private Map<String, CurrenciesValue> currencies = new HashMap<>();
private Map<String, CurrencyCode> currencies = new HashMap<>();

public TopHitWithRevenueAnalytics setHit(String hit) {
this.hit = hit;
Expand Down Expand Up @@ -188,19 +188,19 @@ public Integer getPurchaseCount() {
return purchaseCount;
}

public TopHitWithRevenueAnalytics setCurrencies(Map<String, CurrenciesValue> currencies) {
public TopHitWithRevenueAnalytics setCurrencies(Map<String, CurrencyCode> currencies) {
this.currencies = currencies;
return this;
}

public TopHitWithRevenueAnalytics putCurrencies(String key, CurrenciesValue currenciesItem) {
public TopHitWithRevenueAnalytics putCurrencies(String key, CurrencyCode currenciesItem) {
this.currencies.put(key, currenciesItem);
return this;
}

/** Revenue associated with this search, broken-down by currencies. */
@javax.annotation.Nonnull
public Map<String, CurrenciesValue> getCurrencies() {
public Map<String, CurrencyCode> getCurrencies() {
return currencies;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public class TopSearchWithRevenueAnalytics {
private Integer nbHits;

@JsonProperty("currencies")
private Map<String, CurrenciesValue> currencies = new HashMap<>();
private Map<String, CurrencyCode> currencies = new HashMap<>();

@JsonProperty("addToCartRate")
private Double addToCartRate;
Expand Down Expand Up @@ -188,19 +188,19 @@ public Integer getNbHits() {
return nbHits;
}

public TopSearchWithRevenueAnalytics setCurrencies(Map<String, CurrenciesValue> currencies) {
public TopSearchWithRevenueAnalytics setCurrencies(Map<String, CurrencyCode> currencies) {
this.currencies = currencies;
return this;
}

public TopSearchWithRevenueAnalytics putCurrencies(String key, CurrenciesValue currenciesItem) {
public TopSearchWithRevenueAnalytics putCurrencies(String key, CurrencyCode currenciesItem) {
this.currencies.put(key, currenciesItem);
return this;
}

/** Revenue associated with this search, broken-down by currencies. */
@javax.annotation.Nonnull
public Map<String, CurrenciesValue> getCurrencies() {
public Map<String, CurrencyCode> getCurrencies() {
return currencies;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
import com.fasterxml.jackson.databind.annotation.*;
import java.util.Objects;

/** FacetsStats */
public class FacetsStats {
/** FacetStats */
public class FacetStats {

@JsonProperty("min")
private Double min;
Expand All @@ -22,7 +22,7 @@ public class FacetsStats {
@JsonProperty("sum")
private Double sum;

public FacetsStats setMin(Double min) {
public FacetStats setMin(Double min) {
this.min = min;
return this;
}
Expand All @@ -33,7 +33,7 @@ public Double getMin() {
return min;
}

public FacetsStats setMax(Double max) {
public FacetStats setMax(Double max) {
this.max = max;
return this;
}
Expand All @@ -44,7 +44,7 @@ public Double getMax() {
return max;
}

public FacetsStats setAvg(Double avg) {
public FacetStats setAvg(Double avg) {
this.avg = avg;
return this;
}
Expand All @@ -55,7 +55,7 @@ public Double getAvg() {
return avg;
}

public FacetsStats setSum(Double sum) {
public FacetStats setSum(Double sum) {
this.sum = sum;
return this;
}
Expand All @@ -74,12 +74,12 @@ public boolean equals(Object o) {
if (o == null || getClass() != o.getClass()) {
return false;
}
FacetsStats facetsStats = (FacetsStats) o;
FacetStats facetStats = (FacetStats) o;
return (
Objects.equals(this.min, facetsStats.min) &&
Objects.equals(this.max, facetsStats.max) &&
Objects.equals(this.avg, facetsStats.avg) &&
Objects.equals(this.sum, facetsStats.sum)
Objects.equals(this.min, facetStats.min) &&
Objects.equals(this.max, facetStats.max) &&
Objects.equals(this.avg, facetStats.avg) &&
Objects.equals(this.sum, facetStats.sum)
);
}

Expand All @@ -91,7 +91,7 @@ public int hashCode() {
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class FacetsStats {\n");
sb.append("class FacetStats {\n");
sb.append(" min: ").append(toIndentedString(min)).append("\n");
sb.append(" max: ").append(toIndentedString(max)).append("\n");
sb.append(" avg: ").append(toIndentedString(avg)).append("\n");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public class RecommendationsResults {
private Map<String, Map<String, Integer>> facets;

@JsonProperty("facets_stats")
private Map<String, FacetsStats> facetsStats;
private Map<String, FacetStats> facetsStats;

@JsonProperty("index")
private String index;
Expand Down Expand Up @@ -228,12 +228,12 @@ public Map<String, Map<String, Integer>> getFacets() {
return facets;
}

public RecommendationsResults setFacetsStats(Map<String, FacetsStats> facetsStats) {
public RecommendationsResults setFacetsStats(Map<String, FacetStats> facetsStats) {
this.facetsStats = facetsStats;
return this;
}

public RecommendationsResults putFacetsStats(String key, FacetsStats facetsStatsItem) {
public RecommendationsResults putFacetsStats(String key, FacetStats facetsStatsItem) {
if (this.facetsStats == null) {
this.facetsStats = new HashMap<>();
}
Expand All @@ -243,7 +243,7 @@ public RecommendationsResults putFacetsStats(String key, FacetsStats facetsStats

/** Statistics for numerical facets. */
@javax.annotation.Nullable
public Map<String, FacetsStats> getFacetsStats() {
public Map<String, FacetStats> getFacetsStats() {
return facetsStats;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public class BrowseResponse<T> {
private Map<String, Map<String, Integer>> facets;

@JsonProperty("facets_stats")
private Map<String, FacetsStats> facetsStats;
private Map<String, FacetStats> facetsStats;

@JsonProperty("index")
private String index;
Expand Down Expand Up @@ -237,12 +237,12 @@ public Map<String, Map<String, Integer>> getFacets() {
return facets;
}

public BrowseResponse<T> setFacetsStats(Map<String, FacetsStats> facetsStats) {
public BrowseResponse<T> setFacetsStats(Map<String, FacetStats> facetsStats) {
this.facetsStats = facetsStats;
return this;
}

public BrowseResponse<T> putFacetsStats(String key, FacetsStats facetsStatsItem) {
public BrowseResponse<T> putFacetsStats(String key, FacetStats facetsStatsItem) {
if (this.facetsStats == null) {
this.facetsStats = new HashMap<>();
}
Expand All @@ -252,7 +252,7 @@ public BrowseResponse<T> putFacetsStats(String key, FacetsStats facetsStatsItem)

/** Statistics for numerical facets. */
@javax.annotation.Nullable
public Map<String, FacetsStats> getFacetsStats() {
public Map<String, FacetStats> getFacetsStats() {
return facetsStats;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
import com.fasterxml.jackson.databind.annotation.*;
import java.util.Objects;

/** FacetsStats */
public class FacetsStats {
/** FacetStats */
public class FacetStats {

@JsonProperty("min")
private Double min;
Expand All @@ -22,7 +22,7 @@ public class FacetsStats {
@JsonProperty("sum")
private Double sum;

public FacetsStats setMin(Double min) {
public FacetStats setMin(Double min) {
this.min = min;
return this;
}
Expand All @@ -33,7 +33,7 @@ public Double getMin() {
return min;
}

public FacetsStats setMax(Double max) {
public FacetStats setMax(Double max) {
this.max = max;
return this;
}
Expand All @@ -44,7 +44,7 @@ public Double getMax() {
return max;
}

public FacetsStats setAvg(Double avg) {
public FacetStats setAvg(Double avg) {
this.avg = avg;
return this;
}
Expand All @@ -55,7 +55,7 @@ public Double getAvg() {
return avg;
}

public FacetsStats setSum(Double sum) {
public FacetStats setSum(Double sum) {
this.sum = sum;
return this;
}
Expand All @@ -74,12 +74,12 @@ public boolean equals(Object o) {
if (o == null || getClass() != o.getClass()) {
return false;
}
FacetsStats facetsStats = (FacetsStats) o;
FacetStats facetStats = (FacetStats) o;
return (
Objects.equals(this.min, facetsStats.min) &&
Objects.equals(this.max, facetsStats.max) &&
Objects.equals(this.avg, facetsStats.avg) &&
Objects.equals(this.sum, facetsStats.sum)
Objects.equals(this.min, facetStats.min) &&
Objects.equals(this.max, facetStats.max) &&
Objects.equals(this.avg, facetStats.avg) &&
Objects.equals(this.sum, facetStats.sum)
);
}

Expand All @@ -91,7 +91,7 @@ public int hashCode() {
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class FacetsStats {\n");
sb.append("class FacetStats {\n");
sb.append(" min: ").append(toIndentedString(min)).append("\n");
sb.append(" max: ").append(toIndentedString(max)).append("\n");
sb.append(" avg: ").append(toIndentedString(avg)).append("\n");
Expand Down
Loading

0 comments on commit b4ce00d

Please sign in to comment.