Skip to content

Commit

Permalink
fix(specs): update time range number types [skip-bc] (generated)
Browse files Browse the repository at this point in the history
algolia/api-clients-automation#4023

Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com>
Co-authored-by: Thomas Raffray <Fluf22@users.noreply.github.com>
Co-authored-by: Pierre Millot <pierre.millot@algolia.com>
  • Loading branch information
3 people committed Oct 24, 2024
1 parent 5eb8b55 commit 79dd017
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions algoliasearch/Models/Recommend/TimeRange.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public TimeRange() { }
/// </summary>
/// <param name="from">When the rule should start to be active, in Unix epoch time. (required).</param>
/// <param name="until">When the rule should stop to be active, in Unix epoch time. (required).</param>
public TimeRange(int from, int until)
public TimeRange(long from, long until)
{
From = from;
Until = until;
Expand All @@ -37,14 +37,14 @@ public TimeRange(int from, int until)
/// </summary>
/// <value>When the rule should start to be active, in Unix epoch time.</value>
[JsonPropertyName("from")]
public int From { get; set; }
public long From { get; set; }

/// <summary>
/// When the rule should stop to be active, in Unix epoch time.
/// </summary>
/// <value>When the rule should stop to be active, in Unix epoch time.</value>
[JsonPropertyName("until")]
public int Until { get; set; }
public long Until { get; set; }

/// <summary>
/// Returns the string presentation of the object
Expand Down
6 changes: 3 additions & 3 deletions algoliasearch/Models/Search/TimeRange.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public TimeRange() { }
/// </summary>
/// <param name="from">When the rule should start to be active, in Unix epoch time. (required).</param>
/// <param name="until">When the rule should stop to be active, in Unix epoch time. (required).</param>
public TimeRange(int from, int until)
public TimeRange(long from, long until)
{
From = from;
Until = until;
Expand All @@ -37,14 +37,14 @@ public TimeRange(int from, int until)
/// </summary>
/// <value>When the rule should start to be active, in Unix epoch time.</value>
[JsonPropertyName("from")]
public int From { get; set; }
public long From { get; set; }

/// <summary>
/// When the rule should stop to be active, in Unix epoch time.
/// </summary>
/// <value>When the rule should stop to be active, in Unix epoch time.</value>
[JsonPropertyName("until")]
public int Until { get; set; }
public long Until { get; set; }

/// <summary>
/// Returns the string presentation of the object
Expand Down

0 comments on commit 79dd017

Please sign in to comment.