public NewsApiArticle(NewsApiSourceShort source, string author, string title, string description, string url, string urlToImage, DateTime?publishedAt) { Source = source; Author = author; Title = title; Description = description; Url = url; UrlToImage = urlToImage; PublishedAt = publishedAt; }
bool Equals(NewsApiSourceShort other) { return(Id == other.Id && Name == other.Name); }