Skip to content

Commit

Permalink
mark user's premium properties as obsolete
Browse files Browse the repository at this point in the history
  • Loading branch information
makst committed Aug 17, 2016
1 parent b0be67d commit 575759c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions figo.net/models/FigoUser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -56,21 +56,21 @@ public class FigoUser {
/// <summary>
/// This flag indicates whether the figo Account plan is free or premium
/// </summary>
[JsonProperty("premium")]
[Obsolete("Deprecated.", true)]
public bool IsPremium { get; set; }
public bool ShouldSerializeIsPremium() { return false; }

/// <summary>
/// Timestamp of premium figo Account expiry
/// </summary>
[JsonProperty("premium_expires_on")]
[Obsolete("Deprecated.", true)]
public DateTime PremiumExpiresOn { get; set; }
public bool ShouldSerializePremiumExpiresOn() { return false; }

/// <summary>
/// Provider for premium subscription or Null of no subscription is active
/// </summary>
[JsonProperty("premium_subscription")]
[Obsolete("Deprecated.", true)]
public String PremiumSubscription { get; set; }
public bool ShouldSerializePremiumSubscription() { return false; }

Expand Down

0 comments on commit 575759c

Please sign in to comment.