ForumThreadsListOptions
is defined in the Telligent.Evolution.Extensibility.Api.Version1
namespace of Telligent.Evolution.Forums.dll
Definition
class ForumThreadsListOptions { int? AuthorId { get; set; } string ContentIds { get; set; } DateTime? CreatedAfterDate { get; set; } DateTime? CreatedBeforeDate { get; set; } int? ForumId { get; set; } string ForumThreadQueryType { get; set; } int? GroupId { get; set; } bool? IgnoreStickyPosts { get; set; } bool? IncludeDiscussions { get; set; } bool? IncludeQuestions { get; set; } bool? IncludeSubGroups { get; set; } int? MaximumReplyCount { get; set; } int? MinimumReplyCount { get; set; } int? PageIndex { get; set; } int? PageSize { get; set; } bool? PopularOnly { get; set; } string SortBy { get; set; } string SortOrder { get; set; } }
Properties
Name | Type | Description | Default | Options |
---|---|---|---|---|
AuthorId | int? | Author Id | ||
ContentIds | string | Comma separated list of ContentIds. Used to limit to a specific set of forum threads as well as sort order if SoryBy is set to ContentIdsOrder | ||
CreatedAfterDate | DateTime? | Include only threads created on or after | ||
CreatedBeforeDate | DateTime? | Include only threads created before | ||
ForumId | int? | Forum Id | ||
ForumThreadQueryType | string | Forum Thread Query Type | Active (Obsolete), All, Answered, AnsweredNotVerified, AnsweredWithNotVerified, Authored, Moderated, MyThreads, NoResponse, Unanswered, Unread | |
GroupId | int? | Group Id | ||
IgnoreStickyPosts | bool? | Determines whether to place sticky posts at the top of the list. | ||
IncludeDiscussions | bool? | Include discussion threads | ||
IncludeQuestions | bool? | Include question and answer threads | ||
IncludeSubGroups | bool? | Whether to include sub groups | ||
MaximumReplyCount | int? | Maximum number of replies a thread can have to be returned. | ||
MinimumReplyCount | int? | Minimum number of replies a thread must have to be returned. | ||
PageIndex | int? | Specify the page number of paged results to return. Zero-based index. | ||
PageSize | int? | Specify the number of results to return per page. | ||
PopularOnly | bool? | Whether to include popular threads only | ||
SortBy | string | 'LastPost' is sorting by the latest Thread/Reply modification date; 'Date' is sorting by thread created date; 'Votes' sorts by total votes, both quality and interest. | ContentIdsOrder, Date, LastPost, QualityScore, Replies, Score:SCORE_ID, ThreadAuthor, Topic, TotalQualityVotes, Views, Votes | |
SortOrder | string | Default is Descending for lastpost, date, replies, and views. Default is Ascending for topic and threadauthor | Ascending, Descending |