public ApiShout(int shoutID, ApiUser user, string message, DateTime createdOn) { this._shoutID = shoutID; this._user = user; this._message = message; this._createdOn = createdOn; }
public ApiStory(string title, string url, string description, DateTime createdOn, DateTime publishedOn, bool isPublished, int kickCount, int commentCount, ApiUser user) { this._title = title; this._url = url; this._description = description; this._createdOn = createdOn; if(isPublished) this._publishedOn = publishedOn; this._kickCount = kickCount; this._commentCount = commentCount; this._user = user; }