From 79dd017bc9dda08b49eaf11c3953a915d3891bf7 Mon Sep 17 00:00:00 2001 From: algolia-bot Date: Thu, 24 Oct 2024 07:40:33 +0000 Subject: [PATCH] fix(specs): update time range number types [skip-bc] (generated) https://github.com/algolia/api-clients-automation/pull/4023 Co-authored-by: algolia-bot Co-authored-by: Thomas Raffray Co-authored-by: Pierre Millot --- algoliasearch/Models/Recommend/TimeRange.cs | 6 +++--- algoliasearch/Models/Search/TimeRange.cs | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/algoliasearch/Models/Recommend/TimeRange.cs b/algoliasearch/Models/Recommend/TimeRange.cs index 77cd1445e..d194fb67e 100644 --- a/algoliasearch/Models/Recommend/TimeRange.cs +++ b/algoliasearch/Models/Recommend/TimeRange.cs @@ -26,7 +26,7 @@ public TimeRange() { } /// /// When the rule should start to be active, in Unix epoch time. (required). /// When the rule should stop to be active, in Unix epoch time. (required). - public TimeRange(int from, int until) + public TimeRange(long from, long until) { From = from; Until = until; @@ -37,14 +37,14 @@ public TimeRange(int from, int until) /// /// When the rule should start to be active, in Unix epoch time. [JsonPropertyName("from")] - public int From { get; set; } + public long From { get; set; } /// /// When the rule should stop to be active, in Unix epoch time. /// /// When the rule should stop to be active, in Unix epoch time. [JsonPropertyName("until")] - public int Until { get; set; } + public long Until { get; set; } /// /// Returns the string presentation of the object diff --git a/algoliasearch/Models/Search/TimeRange.cs b/algoliasearch/Models/Search/TimeRange.cs index 460c6d5d3..75bca6b42 100644 --- a/algoliasearch/Models/Search/TimeRange.cs +++ b/algoliasearch/Models/Search/TimeRange.cs @@ -26,7 +26,7 @@ public TimeRange() { } /// /// When the rule should start to be active, in Unix epoch time. (required). /// When the rule should stop to be active, in Unix epoch time. (required). - public TimeRange(int from, int until) + public TimeRange(long from, long until) { From = from; Until = until; @@ -37,14 +37,14 @@ public TimeRange(int from, int until) /// /// When the rule should start to be active, in Unix epoch time. [JsonPropertyName("from")] - public int From { get; set; } + public long From { get; set; } /// /// When the rule should stop to be active, in Unix epoch time. /// /// When the rule should stop to be active, in Unix epoch time. [JsonPropertyName("until")] - public int Until { get; set; } + public long Until { get; set; } /// /// Returns the string presentation of the object