- 命名空间: Limyee.Extensibility.Api.Version1
- 程序集: Limyee.Api.dll
定义
class RolesListOptions { string Application { get; set; } int? Id { get; set; } string Include { get; set; } bool IncludePermissions { get; set; } bool IncludeWithAvatarOnly { get; set; } int? PageIndex { get; set; } int? PageSize { get; set; } string PermissionId { get; set; } int? UserId { get; set; } string Username { get; set; } }
属性
名称 |
类型 |
描述 |
默认值 |
选项 |
Application |
string |
Application |
||
Id |
int? |
ID of the application |
||
Include |
string |
Include |
user, granted, denied |
|
IncludePermissions |
bool |
Include permissions |
||
IncludeWithAvatarOnly |
bool |
Will only return roles that have avatars. For use with include=user only. |
||
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. |
||
PermissionId |
string |
Permission Id |
||
UserId |
int? |
Either UserId or Username are required when using include=user |
||
Username |
string |
Either UserId or Username are required when using include=user |