文章 BlogsListOptions 类

  • 命名空间: Limyee.Extensibility.Api.Version1
  • 程序集: Limyee.Api.dll

定义

class BlogsListOptions
{
	string ApplicationIds { get; set;  }
	int? GroupId { get; set;  }
	bool? IncludeSubGroups { get; set;  }
	int? OwnerUserId { get; set;  }
	int? PageIndex { get; set;  }
	int? PageSize { get; set;  }
	string PermissionId { get; set;  }
	string SortBy { get; set;  }
	string SortOrder { get; set;  }
	int? UserId { get; set;  }
}

属性

名称

类型

描述

默认值

选项

ApplicationIds

string

Comma separated list of ApplicationIds. Used to limit to a specific set of blogs as well as sort order if SoryBy is set to ApplicationIdsOrder

GroupId

int?

Group ID

IncludeSubGroups

bool?

Whether or not query should include sub-groups

OwnerUserId

int?

User ID of the owner of the blogs. When this value is present, only blogs where the given user is an owner are returned.

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

Used to get a list of blogs for which the user set in UserId has the provided Permission ID.

SortBy

string

Attribute to order the results

MostRecent, MostViewed, MostComments, Score:SCORE_ID, ApplicationIds

SortOrder

string

Direction to sort the results

Ascending, Descending

UserId

int?

User ID of the user to check permissions for. This option is only used whenever the PermissionId is also supplied.