interface IAbuseAppeals
{
Guid DataTypeId { get; }
IAbuseAppealEvents Events { get; }
AbuseAppeal AcceptAppeal(Guid appealId, string boardResponse);
AbuseAppeal Create(Guid contentId, Guid contentTypeId);
AbuseAppeal Get(Guid id);
PagedList<AbuseAppeal> List(AbuseAppealListOptions options);
AbuseAppeal RejectAppeal(Guid appealId, string boardResponse);
AbuseAppeal RespondToAppeal(Guid appealId, string authorResponse);
}
|
名称 |
类型 |
描述 |
默认值 |
选项 |
|
DataTypeId |
Guid |
Abuse Appeals data type identifier |
||
|
Events |
IAbuseAppealEvents |
AbuseAppeals events |
Board accepts an appeal
|
名称 |
类型 |
描述 |
必需 |
默认值 |
选项 |
|
appealId |
Guid |
Id of the appeal |
是 |
||
|
boardResponse |
string |
Response of the Board |
是 |
AbuseAppeal
|
名称 |
类型 |
描述 |
必需 |
默认值 |
选项 |
|
contentId |
Guid |
Content Id |
是 |
||
|
contentTypeId |
Guid |
Content Type Id |
是 |
AbuseAppeal
Get abuse appeal
|
名称 |
类型 |
描述 |
必需 |
默认值 |
选项 |
|
id |
Guid |
Id of the appeal |
是 |
Return Type
AbuseAppeal
Lists abuse appeals
|
名称 |
类型 |
描述 |
必需 |
默认值 |
选项 |
|
options |
AbuseAppealListOptions |
Options include: AppealId, AbuseId, ContentId, ContentTypeId, ContainerId, ApplicationId, ContentAuthorId, AppealState(Default, Initiated, Accepted, Rejected, Expired, AuthorResponded), SortBy(AppealId, AuthorUserId, AuthorUsername), SortOrder (Asc, Desc), PageSize and PageIndex |
是 |
PagedList<AbuseAppeal>
Board rejects an appeal
|
名称 |
类型 |
描述 |
必需 |
默认值 |
选项 |
|
appealId |
Guid |
Id of the appeal |
Required |
||
|
boardResponse |
string |
Response of the Board |
Required |
AbuseAppeal
Author responds to an appeal
|
名称 |
类型 |
描述 |
必需 |
默认值 |
选项 |
|
appealId |
Guid |
Id of the appeal |
Required |
||
|
authorResponse |
string |
Response of the Author |
Required |
AbuseAppeal