Content that supports extended review of text. This is useful when detecting abuse within content.
ForumThread is defined in the Telligent.Evolution.Extensibility.Api.Entities.Version1 namespace.
Definition
class ForumThread : LazyPostApiEntityWithExtendedAttributes<Thread>, IApiEntity, IAuthorIpTrackingContent, IExtendedAuditable, IFileReviewableContent, ITextReviewableContent
{
ForumThread();
ForumThread(Func<Thread> coreThreadLoader);
ForumThread(AdditionalInfo additionalInfo);
ForumThread(Error error);
ForumThread(Warning warning);
ForumThread(Func<Thread> coreThreadLoader, Thread originalThread);
ForumThread(IRatingService ratingService, IPollService pollService, IFeaturedContentApiService featureService, Func<Thread> coreThreadLoader, Thread originalThread);
int? AnswerCount { get; set; }
Application Application { get; }
bool? Approved { get; set; }
User Author { get; set; }
string AvatarUrl { get; }
Guid ContentId { get; set; }
DateTime? Date { get; set; }
string EditNotes { get; set; }
IList<EmailFile> EmailFiles { get; }
int? EmoticonId { get; set; }
IList<Error> Errors { get; }
ApiList<ExtendedAttribute> ExtendedAttributes { get; set; }
string FeaturedImage { get; set; }
MediaFile File { get; set; }
int? ForumId { get; set; }
int? ForumReplyId { get; set; }
Guid GlobalContentTypeId { get; }
int? GroupId { get; set; }
bool? HasPoll { get; set; }
bool? HasRead { get; set; }
int? Id { get; set; }
bool? IsAnnouncement { get; set; }
bool? IsAnonymous { get; set; }
bool? IsFeatured { get; set; }
bool? IsLocked { get; set; }
bool? IsPopular { get; set; }
bool? IsSticky { get; set; }
DateTime? LastReadDate { get; set; }
int? LatestForumReplyAuthorId { get; set; }
int? LatestForumReplyId { get; set; }
DateTime? LatestPostDate { get; set; }
int? Points { get; set; }
string PollDescription { get; set; }
DateTime? PollExpirationDate { get; set; }
string PollTitle { get; set; }
int? PostLevel { get; set; }
string PostMedia { get; set; }
string PostType { get; set; }
int? QualityNoVotes { get; set; }
int? QualityScore { get; set; }
int? QualityYesVotes { get; set; }
double? Rating { get; set; }
int? ReplyCount { get; set; }
string SearchUniqueId { get; }
int? SortOrder { get; set; }
int? SpamScore { get; set; }
string SpamStatus { get; set; }
DateTime? StickyDate { get; set; }
string Subject { get; set; }
int? SubscriberCount { get; set; }
bool? SubscribeToThread { get; set; }
int? SuggestedAnswerCount { get; set; }
IList<string> Tags { get; set; }
string ThreadStatus { get; set; }
string ThreadType { get; set; }
int? TotalQualityVotes { get; set; }
string Url { get; set; }
string UserHostAddress { get; }
int? ViewCount { get; set; }
IList<Warning> Warnings { get; }
string Body();
string Body(string postTarget);
bool HasErrors();
bool HasWarnings();
bool HasWarningsOrErrors();
void ThrowErrors();
}
Constructors
ForumThread();
ForumThread(Func<Thread> coreThreadLoader);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| coreThreadLoader | Func<Thread> | Core Thread Loader | Required |
ForumThread(AdditionalInfo additionalInfo);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| additionalInfo | AdditionalInfo | Additional Info | Required |
ForumThread(Error error);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| error | Error | Error | Required |
ForumThread(Warning warning);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| warning | Warning | Warning | Required |
ForumThread(Func<Thread> coreThreadLoader, Thread originalThread);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| coreThreadLoader | Func<Thread> | Core Thread Loader | Required | ||
| originalThread | Thread | Original Thread | Required |
ForumThread(IRatingService ratingService, IPollService pollService, IFeaturedContentApiService featureService, Func<Thread> coreThreadLoader, Thread originalThread);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| ratingService | IRatingService | Rating Service | Required | ||
| pollService | IPollService | Poll Service | Required | ||
| featureService | IFeaturedContentApiService | Feature Service | Required | ||
| coreThreadLoader | Func<Thread> | Core Thread Loader | Required | ||
| originalThread | Thread | Original Thread | Required |
Properties
| Name | Type | Description | Default | Options |
|---|---|---|---|---|
| AnswerCount | int? | |||
| Application | Application | |||
| Approved | bool? | |||
| Author | User | |||
| AvatarUrl | string | Url to an image particular to the content or content type. If none, return null. | ||
| ContentId | Guid | A Guid uniquely identifying the content. | ||
| Date | DateTime? | |||
| EditNotes | string | |||
| EmailFiles | IList<EmailFile> | |||
| EmoticonId | int? | |||
| Errors | IList<Error> | |||
| ExtendedAttributes | ApiList<ExtendedAttribute> | |||
| FeaturedImage | string | |||
| File | MediaFile | |||
| ForumId | int? | |||
| ForumReplyId | int? | |||
| GlobalContentTypeId | Guid | |||
| GroupId | int? | |||
| HasPoll | bool? | |||
| HasRead | bool? | |||
| Id | int? | |||
| IsAnnouncement | bool? | |||
| IsAnonymous | bool? | |||
| IsFeatured | bool? | |||
| IsLocked | bool? | |||
| IsPopular | bool? | |||
| IsSticky | bool? | |||
| LastReadDate | DateTime? | |||
| LatestForumReplyAuthorId | int? | |||
| LatestForumReplyId | int? | |||
| LatestPostDate | DateTime? | |||
| Points | int? | |||
| PollDescription | string | |||
| PollExpirationDate | DateTime? | |||
| PollTitle | string | |||
| PostLevel | int? | |||
| PostMedia | string | |||
| PostType | string | |||
| QualityNoVotes | int? | |||
| QualityScore | int? | |||
| QualityYesVotes | int? | |||
| Rating | double? | |||
| ReplyCount | int? | |||
| SearchUniqueId | string | |||
| SortOrder | int? | |||
| SpamScore | int? | |||
| SpamStatus | string | |||
| StickyDate | DateTime? | |||
| Subject | string | |||
| SubscriberCount | int? | |||
| SubscribeToThread | bool? | |||
| SuggestedAnswerCount | int? | |||
| Tags | IList<string> | |||
| ThreadStatus | string | |||
| ThreadType | string | |||
| TotalQualityVotes | int? | |||
| Url | string | A Url to the content on the site. | ||
| UserHostAddress | string | |||
| ViewCount | int? | |||
| Warnings | IList<Warning> |