Class Comment
- Namespace
- YandexTracker.Models.Issues
- Assembly
- YandexTracker.dll
A comment on an issue.
public sealed record Comment : IEquatable<Comment>
- Inheritance
-
Comment
- Implements
- Inherited Members
Constructors
Comment(long, string?, string?, ObjectReference?, DateTimeOffset?, DateTimeOffset?)
A comment on an issue.
public Comment(long Id, string? LongId, string? Text, ObjectReference? CreatedBy, DateTimeOffset? CreatedAt, DateTimeOffset? UpdatedAt = null)
Parameters
IdlongThe comment id.
LongIdstringThe comment's long string id.
TextstringThe text.
CreatedByObjectReferenceThe author.
CreatedAtDateTimeOffset?When the comment was written.
UpdatedAtDateTimeOffset?When the comment was last edited.
Properties
CreatedAt
When the comment was written.
[JsonPropertyName("createdAt")]
public DateTimeOffset? CreatedAt { get; init; }
Property Value
CreatedBy
The author.
[JsonPropertyName("createdBy")]
public ObjectReference? CreatedBy { get; init; }
Property Value
Id
The comment id.
[JsonPropertyName("id")]
public long Id { get; init; }
Property Value
LongId
The comment's long string id.
[JsonPropertyName("longId")]
public string? LongId { get; init; }
Property Value
Text
The text.
[JsonPropertyName("text")]
public string? Text { get; init; }
Property Value
UpdatedAt
When the comment was last edited.
[JsonPropertyName("updatedAt")]
public DateTimeOffset? UpdatedAt { get; init; }