Class IssueLink
- Namespace
- YandexTracker.Models.Issues
- Assembly
- YandexTracker.dll
A link between two issues, as read from one of them.
public sealed record IssueLink : IEquatable<IssueLink>
- Inheritance
-
IssueLink
- Implements
- Inherited Members
Constructors
IssueLink(long?, LinkType?, string?, ObjectReference?, DateTimeOffset?)
A link between two issues, as read from one of them.
public IssueLink(long? Id, LinkType? Type, string? Direction, ObjectReference? Object, DateTimeOffset? CreatedAt = null)
Parameters
Idlong?The link id.
TypeLinkTypeThe kind of link.
DirectionstringWhich end of the link the issue it was read from stands at:
outwardorinward. Fordepends, the outward end is the issue that depends onObject.ObjectObjectReferenceThe issue at the other end.
CreatedAtDateTimeOffset?When the link was created.
Properties
CreatedAt
When the link was created.
[JsonPropertyName("createdAt")]
public DateTimeOffset? CreatedAt { get; init; }
Property Value
Direction
Which end of the link the issue it was read from stands at: outward or inward. For depends,
the outward end is the issue that depends on Object.
[JsonPropertyName("direction")]
public string? Direction { get; init; }
Property Value
Id
The link id.
[JsonPropertyName("id")]
public long? Id { get; init; }
Property Value
- long?
Object
The issue at the other end.
[JsonPropertyName("object")]
public ObjectReference? Object { get; init; }
Property Value
Type
The kind of link.
[JsonPropertyName("type")]
public LinkType? Type { get; init; }