Skip to main content

Comment

A class in Alta.Api.DataTransferModels, Alta.Api.DataTransferModels.Models.Responses.

A comment from the Alta web API, with its author and whether it is hidden or posted by the system.

Constructors​

MemberWhat it is
Comment()Creates a Comment with default values.

Properties​

MemberWhat it is
string Content { get; set; }The comment text.
DateTime Date { get; set; }When the comment was posted.
int Id { get; set; }The comment's id.
bool IsHidden { get; set; }True if the comment is hidden.
bool IsSystem { get; set; }True if the system posted it rather than a user.
int User { get; set; }Id of the user who posted it.
string Username { get; set; }Username of the user who posted it.

Used in​

Members of other types that take, return or hold a Comment: