Table of Contents

Class ObjectReference

Namespace
YandexTracker.Models
Assembly
YandexTracker.dll

A reference to another Tracker object inside a response: a status, queue, type, user or parent issue. Different objects fill different fields - an issue has a Key, a user has an Id and a Display name.

public sealed record ObjectReference : IEquatable<ObjectReference>
Inheritance
ObjectReference
Implements
Inherited Members

Constructors

ObjectReference(string?, string?, string?, string?)

A reference to another Tracker object inside a response: a status, queue, type, user or parent issue. Different objects fill different fields - an issue has a Key, a user has an Id and a Display name.

public ObjectReference(string? Self = null, string? Id = null, string? Key = null, string? Display = null)

Parameters

Self string

The API address of the referenced object.

Id string

The object's id (for a user, the uid).

Key string

The object's key, e.g. TEST-1 for an issue or inProgress for a status.

Display string

The object's human-readable name.

Properties

Display

The object's human-readable name.

[JsonPropertyName("display")]
public string? Display { get; init; }

Property Value

string

Id

The object's id (for a user, the uid).

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

Property Value

string

Key

The object's key, e.g. TEST-1 for an issue or inProgress for a status.

[JsonPropertyName("key")]
public string? Key { get; init; }

Property Value

string

Self

The API address of the referenced object.

[JsonPropertyName("self")]
public string? Self { get; init; }

Property Value

string