Files
FeedlySharp/FeedlySharp/Models/FeedlyTopic.cs
T
2014-11-19 21:55:08 +01:00

30 lines
529 B
C#

using Newtonsoft.Json;
using System;
using System.Linq;
namespace FeedlySharp.Models
{
public class FeedlyTopic
{
public string Id { get; set; }
public string Name { get { return Id == null ? String.Empty : Id.Split('/').Last(); } }
[JsonProperty("updated")]
public DateTime? UpdateDate { get; set; }
[JsonProperty("created")]
public DateTime? CreateDate { get; set; }
public Interest Interest { get; set; }
}
public enum Interest
{
Unknown,
Low,
Medium,
High
}
}