Skip to content

Commit

Permalink
feat(item): add nextAutoSyncAt
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabrielpanga committed Nov 7, 2023
1 parent 53f5b16 commit a4fbcf7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Pluggy.SDK/Model/Item.cs
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ public class Item
[JsonProperty("consecutiveFailedLoginAttempts")]
public int ConsecutiveFailedLoginAttempts { get; set; }

[JsonProperty("nextAutoSyncAt")]
public DateTime? NextAutoSyncAt { get; set; }

public bool HasFinished()
{
return Status == ItemStatus.UPDATED || Status == ItemStatus.OUTDATED || Status == ItemStatus.LOGIN_ERROR;
Expand Down

0 comments on commit a4fbcf7

Please sign in to comment.