文章 MediaListOptions 类

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

定义

class MediaListOptions
{
	string ContentIds { get; set;  }
	int? GalleryId { get; set;  }
	string GalleryIds { get; set;  }
	int? GroupId { get; set;  }
	bool? IncludeSubGroups { get; set;  }
	bool? IncludeUnpublished { get; set;  }
	int? PageIndex { get; set;  }
	int? PageSize { get; set;  }
	string SortBy { get; set;  }
	string SortOrder { get; set;  }
}

属性

名称

类型

描述

默认值

选项

ContentIds

string

Comma separated list of ContentIds. Used to limit to a specific set of files as well as sort order if SoryBy is set to ContentIdsOrder

GalleryId

int?

Gallery Id

GalleryIds

string

Used to filter by a list of media galleries. Multiple values are separated with commas.

GroupId

int?

Group Id

IncludeSubGroups

bool?

Used when filtering by group.

IncludeUnpublished

bool?

Specifies whether to include unpublished posts.

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.

SortBy

string

Sort by

Subject, Author, Comments, Views, PostDate, Rating, Downloads, Score:SCORE_ID, ContentIdsOrder

SortOrder

string

Sort order