/// <summary> /// Initializes a new instance of the ActivityView class. /// </summary> public ActivityView(string activityHandle, DateTime createdTime, ActivityType activityType, IList <UserCompactView> actorUsers, int totalActions, bool unread, UserCompactView actedOnUser = default(UserCompactView), ContentCompactView actedOnContent = default(ContentCompactView), AppCompactView app = default(AppCompactView)) { ActivityHandle = activityHandle; CreatedTime = createdTime; ActivityType = activityType; ActorUsers = actorUsers; ActedOnUser = actedOnUser; ActedOnContent = actedOnContent; TotalActions = totalActions; Unread = unread; App = app; }
/// <summary> /// Initializes a new instance of the ReplyView class. /// </summary> public ReplyView(string replyHandle, string commentHandle, string topicHandle, DateTime createdTime, DateTime lastUpdatedTime, UserCompactView user, string text, long totalLikes, bool liked, string language = default(string), ContentStatus?contentStatus = default(ContentStatus?)) { ReplyHandle = replyHandle; CommentHandle = commentHandle; TopicHandle = topicHandle; CreatedTime = createdTime; LastUpdatedTime = lastUpdatedTime; User = user; Text = text; Language = language; TotalLikes = totalLikes; Liked = liked; ContentStatus = contentStatus; }
/// <summary> /// Initializes a new instance of the CommentView class. /// </summary> public CommentView(string commentHandle, string topicHandle, DateTime createdTime, DateTime lastUpdatedTime, UserCompactView user, string text, long totalLikes, long totalReplies, bool liked, BlobType?blobType = default(BlobType?), string blobHandle = default(string), string blobUrl = default(string), string language = default(string), ContentStatus?contentStatus = default(ContentStatus?)) { CommentHandle = commentHandle; TopicHandle = topicHandle; CreatedTime = createdTime; LastUpdatedTime = lastUpdatedTime; User = user; Text = text; BlobType = blobType; BlobHandle = blobHandle; BlobUrl = blobUrl; Language = language; TotalLikes = totalLikes; TotalReplies = totalReplies; Liked = liked; ContentStatus = contentStatus; }
/// <summary> /// Initializes a new instance of the TopicView class. /// </summary> public TopicView(string topicHandle, DateTime createdTime, DateTime lastUpdatedTime, PublisherType publisherType, string text, long totalLikes, long totalComments, bool liked, UserCompactView user = default(UserCompactView), string title = default(string), BlobType?blobType = default(BlobType?), string blobHandle = default(string), string blobUrl = default(string), string categories = default(string), string language = default(string), string group = default(string), string deepLink = default(string), string friendlyName = default(string), bool?pinned = default(bool?), ContentStatus?contentStatus = default(ContentStatus?), AppCompactView app = default(AppCompactView)) { TopicHandle = topicHandle; CreatedTime = createdTime; LastUpdatedTime = lastUpdatedTime; PublisherType = publisherType; User = user; Title = title; Text = text; BlobType = blobType; BlobHandle = blobHandle; BlobUrl = blobUrl; Categories = categories; Language = language; Group = group; DeepLink = deepLink; FriendlyName = friendlyName; TotalLikes = totalLikes; TotalComments = totalComments; Liked = liked; Pinned = pinned; ContentStatus = contentStatus; App = app; }