CommentGetOptions is defined in the Telligent.Evolution.Extensibility.Api.Version1 namespace.
Definition
class CommentGetOptions
{
CommentGetOptions();
Guid? ApplicationId { get; set; }
IList<Guid> ApplicationIds { get; set; }
IList<Guid> CommentIds { get; set; }
Guid? CommentTypeId { get; set; }
Guid? ContainerId { get; set; }
IList<Guid> ContainerIds { get; set; }
Guid? ContentId { get; set; }
IList<Guid> ContentIds { get; set; }
Guid? ContentTypeId { get; set; }
string ContentUrl { get; set; }
bool? IncludeAllTypeIds { get; set; }
bool? IncludeChildren { get; set; }
bool? IncludeSubContainers { get; set; }
bool? IsApproved { get; set; }
bool? IsFeatured { get; set; }
bool? IsIndexed { get; set; }
int? PageIndex { get; set; }
int? PageSize { get; set; }
Guid? ParentCommentId { get; set; }
string SortBy { get; set; }
string SortOrder { get; set; }
int? UserId { get; set; }
}
Constructors
CommentGetOptions();
Properties
| Name | Type | Description | Default | Options |
|---|---|---|---|---|
| ApplicationId | Guid? | Application Id. Filtering by ApplicationId will ignore ApplicationIds and ContainerIds. | ||
| ApplicationIds | IList<Guid> | Directly specify a list of ApplicationIds. Used to limit to a specific set of comments. Filtering by ApplicationIds will ignore ContainerId and ContainerIds. | ||
| CommentIds | IList<Guid> | Directly specify a list of CommentIds. Used to limit to a specific set of comments and sort order if SortBy is set to CommentIdsOrder. Filtering by CommentIds will ignore ContentId, ContentUrl, ApplicationId, ContainerId, ContentTypeId, ContentIds, ApplicationIds and ContainerIds. | ||
| CommentTypeId | Guid? | Comment type Id | ||
| ContainerId | Guid? | Container Id. Filtering by ContainerId will ignore ContainerIds. | ||
| ContainerIds | IList<Guid> | Directly specify a list of ContainerIds. Used to limit to a specific set of comments. | ||
| ContentId | Guid? | Content Id. Filtering by ContentId will ignore ContentUrl, ApplicationId, ContainerId, ContentTypeId, ContentIds, ApplicationIds and ContainerIds. | ||
| ContentIds | IList<Guid> | Directly specify a list of ContentIds. Used to limit to a specific set of comments. Filtering by ContentIds will ignore ApplicationId, ContainerId, ContentTypeId, ApplicationIds and ContainerIds. | ||
| ContentTypeId | Guid? | Content type Id | ||
| ContentUrl | string | The URL at which this content can be accessed. Filtering by ContentUrl will ignore ApplicationId, ContainerId, ContentTypeId, ContentIds, ApplicationIds and ContainerIds. | ||
| IncludeAllTypeIds | bool? | Option to include all Comment Type Id's. If CommentTypeId is passed in, will be ignored. | ||
| IncludeChildren | bool? | Include children | ||
| IncludeSubContainers | bool? | Include comments in sub-containers. Only used if ContainerId is specified. | ||
| IsApproved | bool? | Whether the moderation state should be approved | ||
| IsFeatured | bool? | Whether the post should be featured | ||
| IsIndexed | bool? | Is indexed | ||
| 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. | ||
| ParentCommentId | Guid? | Parent comment Id. Filtering by ParentCommentId will ignore ContentId, ContentUrl, ApplicationId, ContainerId, CommentIds, ContentIds, ApplicationIds and ContainerIds. | ||
| SortBy | string | Sort by | ApplicationId, Body, CommentId, CommentIdsOrder, CommentTypeId, ContainerId, ContentId, ContentTypeId, CreatedUserId, CreatedUtcDate, FormattedBody, IpAddress, IsApproved, IsFeatured, IsIndexed, LastUpdatedUserId, LastUpdatedUtcDate, NodeId, ParentCommentId, Score:SCORE_ID, SortOrder | |
| SortOrder | string | Sort order | Ascending, Descending | |
| UserId | int? | User Id |