namespace Swarmops.Basic.Types { public class BasicNewsletterFeed { /// /// If true, a new member in the owning organization will get this newsletter. /// public readonly bool DefaultSubscribed; /// /// A friendly name for the newsletter. /// public readonly string Name; /// /// The database identity of the newsletter feed. /// public readonly int NewsletterFeedId; /// /// The identity of the organization that owns this newsletter. /// public readonly int OrganizationId; public BasicNewsletterFeed (int newsletterId, int organizationId, bool defaultSubscribed, string name) { this.NewsletterFeedId = newsletterId; this.OrganizationId = organizationId; this.DefaultSubscribed = defaultSubscribed; this.Name = name; } public BasicNewsletterFeed() { this.Name = string.Empty; } public BasicNewsletterFeed (BasicNewsletterFeed original) : this (original.NewsletterFeedId, original.OrganizationId, original.DefaultSubscribed, original.Name) { } } }