Table of Contents

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

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

Id long?

The link id.

Type LinkType

The kind of link.

Direction string

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.

Object ObjectReference

The issue at the other end.

CreatedAt DateTimeOffset?

When the link was created.

Properties

When the link was created.

[JsonPropertyName("createdAt")]
public DateTimeOffset? CreatedAt { get; init; }

Property Value

DateTimeOffset?

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

string

The link id.

[JsonPropertyName("id")]
public long? Id { get; init; }

Property Value

long?

The issue at the other end.

[JsonPropertyName("object")]
public ObjectReference? Object { get; init; }

Property Value

ObjectReference

The kind of link.

[JsonPropertyName("type")]
public LinkType? Type { get; init; }

Property Value

LinkType