class BlogPostsListOptions
{
int? AuthorId { get; set; }
int? BlogId { get; set; }
string BlogIds { get; set; }
string ContentIds { get; set; }
DateTime? DateFilter { get; set; }
string DateFilterType { get; set; }
int? GroupId { get; set; }
bool? IncludeSubGroups { get; set; }
bool? IncludeUnpublished { get; set; }
bool? LogicallyOrTags { get; set; }
int? PageIndex { get; set; }
int? PageSize { get; set; }
string SortBy { get; set; }
string SortOrder { get; set; }
string Tags { get; set; }
}
|
名称 |
类型 |
描述 |
默认值 |
选项 |
|
AuthorId |
int? |
Id of author |
||
|
BlogId |
int? |
Either GroupId or BlogId or BlogIds are required |
||
|
BlogIds |
string |
Either GroupId or BlogId or BlogIds are required. Used to filter by a list of blogs. Multiple values are separated with commas. |
||
|
ContentIds |
string |
Comma separated list of ContentIds. Used to limit to a specific set of blog posts as well as sort order if SoryBy is set to ContentIdsOrder |
||
|
DateFilter |
DateTime? |
A DateTime value used to filter posts |
||
|
DateFilterType |
string |
Only used when using a DateFilter. |
Year, Month, Day |
|
|
GroupId |
int? |
Either GroupId or BlogId or BlogIds are required. |
||
|
IncludeSubGroups |
bool? |
Only used when GroupId is specified. |
||
|
IncludeUnpublished |
bool? |
Defines whether to include unpublished posts in the list. |
||
|
LogicallyOrTags |
bool? |
Filter posts by tags with OR |
||
|
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. |
||
|
SortBy |
string |
Sort by |
MostRecent, MostViewed, MostComments, Score:SCORE_ID, ContentIdsOrder |
|
|
SortOrder |
string |
Sort order |
||
|
Tags |
string |
Comma separated list of tags |