文章 GalleriesListOptions 类

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

定义

class GalleriesListOptions
{
	string ApplicationIds { get; set;  }
	int? GroupId { get; set;  }
	bool? IncludeSubGroups { get; set;  }
	string NameQuery { 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 galleries as well as sort order if SoryBy is set to ApplicationIdsOrder

GroupId

int?

Group Id

IncludeSubGroups

bool?

Only used when GroupId is specified.

NameQuery

string

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 galleries for which the user set in UserId has the provided Permission ID.

SortBy

string

Sort by

DateCreate, LastPost, Name, Post, SortOrder, Thread, TotalPosts, Score:SCORE_ID, ApplicationIdsOrder

SortOrder

string

Sort order

UserId

int?

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