- 命名空间: Limyee.Extensibility.Api.Version1
- 程序集: Limyee.Api.dll
定义
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? 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; } }
属性
名称 |
类型 |
描述 |
默认值 |
选项 |
ApplicationId |
Guid? |
Application Id |
||
CommentIds |
IList<Guid> |
Used to filter comments and sort order if SoryBy 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. |
||
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 |
CommentId, ParentCommentId, CommentTypeId, CreatedUtcDate, CreatedUserId, LastUpdatedUtcDate, LastUpdatedUserId, Body, FormattedBody, SortOrder, IpAddress, IsApproved, IsFeatured, IsIndexed, ApplicationId, ContentTypeId, NodeId, ContentId, ContainerId, Score:SCORE_ID, CommentIdsOrder |
|
SortOrder |
string |
Sort order |
||
UserId |
int? |
User Id |