Skip to content

Commit 79dd017

Browse files
algolia-botFluf22millotp
committed
fix(specs): update time range number types [skip-bc] (generated)
algolia/api-clients-automation#4023 Co-authored-by: algolia-bot <[email protected]> Co-authored-by: Thomas Raffray <[email protected]> Co-authored-by: Pierre Millot <[email protected]>
1 parent 5eb8b55 commit 79dd017

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

algoliasearch/Models/Recommend/TimeRange.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public TimeRange() { }
2626
/// </summary>
2727
/// <param name="from">When the rule should start to be active, in Unix epoch time. (required).</param>
2828
/// <param name="until">When the rule should stop to be active, in Unix epoch time. (required).</param>
29-
public TimeRange(int from, int until)
29+
public TimeRange(long from, long until)
3030
{
3131
From = from;
3232
Until = until;
@@ -37,14 +37,14 @@ public TimeRange(int from, int until)
3737
/// </summary>
3838
/// <value>When the rule should start to be active, in Unix epoch time.</value>
3939
[JsonPropertyName("from")]
40-
public int From { get; set; }
40+
public long From { get; set; }
4141

4242
/// <summary>
4343
/// When the rule should stop to be active, in Unix epoch time.
4444
/// </summary>
4545
/// <value>When the rule should stop to be active, in Unix epoch time.</value>
4646
[JsonPropertyName("until")]
47-
public int Until { get; set; }
47+
public long Until { get; set; }
4848

4949
/// <summary>
5050
/// Returns the string presentation of the object

algoliasearch/Models/Search/TimeRange.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public TimeRange() { }
2626
/// </summary>
2727
/// <param name="from">When the rule should start to be active, in Unix epoch time. (required).</param>
2828
/// <param name="until">When the rule should stop to be active, in Unix epoch time. (required).</param>
29-
public TimeRange(int from, int until)
29+
public TimeRange(long from, long until)
3030
{
3131
From = from;
3232
Until = until;
@@ -37,14 +37,14 @@ public TimeRange(int from, int until)
3737
/// </summary>
3838
/// <value>When the rule should start to be active, in Unix epoch time.</value>
3939
[JsonPropertyName("from")]
40-
public int From { get; set; }
40+
public long From { get; set; }
4141

4242
/// <summary>
4343
/// When the rule should stop to be active, in Unix epoch time.
4444
/// </summary>
4545
/// <value>When the rule should stop to be active, in Unix epoch time.</value>
4646
[JsonPropertyName("until")]
47-
public int Until { get; set; }
47+
public long Until { get; set; }
4848

4949
/// <summary>
5050
/// Returns the string presentation of the object

0 commit comments

Comments
 (0)