文章 LikeListOptions 类

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

定义

class LikeListOptions
{
	Guid? ApplicationId { get; set;  }
	Guid? ContainerId { get; set;  }
	DateTime? ContentCreatedAfterDate { get; set;  }
	DateTime? ContentCreatedBeforeDate { get; set;  }
	Guid? ContentId { get; set;  }
	string ContentIds { get; set;  }
	Guid? ContentTypeId { get; set;  }
	string ContentUrl { get; set;  }
	bool? IncludeSubContainers { get; set;  }
	int? PageIndex { get; set;  }
	int? PageSize { get; set;  }
	string SortBy { get; set;  }
	string SortOrder { get; set;  }
	Guid? TypeId { get; set;  }
	int? UserId { get; set;  }
}

属性

名称

类型

描述

默认值

选项

ApplicationId

Guid?

Content application identifier

ContainerId

Guid?

Content container identifier

ContentCreatedAfterDate

DateTime?

Include only content created on or after

ContentCreatedBeforeDate

DateTime?

Include only content created after

ContentId

Guid?

Content identifier

ContentIds

string

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

ContentTypeId

Guid?

Content type identifier

ContentUrl

string

Content url

IncludeSubContainers

bool?

Include likes in sub-containers. ContainerId must be set if this is set.

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 mechanism

Date

Date, ContentIdsOrder

SortOrder

string

Sort order

Ascending, Descending

TypeId

Guid?

Categorization type

UserId

int?

User identifier