CommentGetOptions
is defined in the Telligent.Evolution.Extensibility.Api.Version1
namespace of Telligent.Evolution.Platform.dll
Definition
class CommentGetOptions { Guid? ApplicationId { get; set; } IList<Guid> CommentIds { get; set; } Guid? CommentTypeId { get; set; } Guid? ContainerId { get; set; } Guid? ContentId { get; set; } Guid? ContentTypeId { get; set; } string ContentUrl { get; set; } bool? IncludeAllTypeIds { get; set; } bool? IncludeChildren { get; set; } bool? IncludeSubContainers { get; set; } bool? IsApproved { get; set; } bool? IsFeatured { get; set; } bool? IsIndexed { get; set; } int? PageIndex { get; set; } int? PageSize { get; set; } Guid? ParentCommentId { get; set; } string SortBy { get; set; } string SortOrder { get; set; } int? UserId { get; set; } }
Properties
Name | Type | Description | Default | Options |
---|---|---|---|---|
ApplicationId | Guid? | Application Id | ||
CommentIds | IList<Guid> | Used to filter comments and sort order if SortBy is set to CommentIdsOrder | ||
CommentTypeId | Guid? | Comment type Id | ||
ContainerId | Guid? | Container Id | ||
ContentId | Guid? | Content Id | ||
ContentTypeId | Guid? | Content type Id | ||
ContentUrl | string | The URL at which this content can be accessed. | ||
IncludeAllTypeIds | bool? | Option to include all Comment Type Id's. If CommentTypeId is passed in, will be ignored. | ||
IncludeChildren | bool? | Include children | ||
IncludeSubContainers | bool? | Include likes in sub-containers. ContainerId must be set if this is set. | ||
IsApproved | bool? | Whether the moderation state should be approved | ||
IsFeatured | bool? | Whether the post should be featured | ||
IsIndexed | bool? | Is indexed | ||
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. | ||
ParentCommentId | Guid? | Parent comment Id | ||
SortBy | string | Sort by | ApplicationId, Body, CommentId, CommentIdsOrder, CommentTypeId, ContainerId, ContentId, ContentTypeId, CreatedUserId, CreatedUtcDate, FormattedBody, IpAddress, IsApproved, IsFeatured, IsIndexed, LastUpdatedUserId, LastUpdatedUtcDate, NodeId, ParentCommentId, Score:SCORE_ID, SortOrder | |
SortOrder | string | Sort order | Ascending, Descending | |
UserId | int? | User Id |