- 命名空间: Limyee.Extensibility.Api.Version1
- 程序集: Limyee.Api.dll
定义
class ActivityMessagesListOptions { DateTime? AfterDate { get; set; } DateTime? BeforeDate { get; set; } string ExcludeActivityTypes { get; set; } int? GroupId { get; set; } bool? GroupSimilarActivities { get; set; } string Include { get; set; } string IncludeActivityTypes { get; set; } bool? IncludeStatus { get; set; } bool? IncludeSubGroups { get; set; } int? PageSize { get; set; } int? UserId { get; set; } string Username { get; set; } }
属性
名称 |
类型 |
描述 |
默认值 |
选项 |
AfterDate |
DateTime? |
Retrieve status messages posted after the date specified. |
||
BeforeDate |
DateTime? |
Specify BeforeDate to only retrieve activity messages posted from that date and before. |
||
ExcludeActivityTypes |
string |
comma-delimited list of activity types to filter results for all types except those specified. Status messages are always excluded unless IncludeStatus is set to true. |
||
GroupId |
int? |
Used to return group activities. |
||
GroupSimilarActivities |
bool? |
Whether to group similar activities |
||
Include |
string |
Include |
following, groups, replies |
|
IncludeActivityTypes |
string |
comma-delimited set of activity types to filter results for only those types specified. |
||
IncludeStatus |
bool? |
Status messages are not included with activity messages by default - regardless if they are included in the IncludeActivityTypes parameter. If you set this property to true then Status messages will be included with the list of activity messages. |
||
IncludeSubGroups |
bool? |
Used when specifying a group to include activity messages for all sub-groups as well. Default is false. It is strongly suggested to also specify a BeforeDate when including sub-groups to limit the number of messages in the response. |
||
PageSize |
int? |
Specify the number of results to return per page. |
||
UserId |
int? |
Either UserId or Username required. |
||
Username |
string |
Either UserId or Username required. |