Table of Contents

Class YouTubeConfigUpdate

Namespace
Nyra.Entities
Assembly
Nyra.dll

The outcome of a YouTube configuration update on a NodeLink server.

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

Properties

FieldsUpdated

The fields the patch asked the server to change, as the server reports them.

[JsonPropertyName("fieldsUpdated")]
[JsonInclude]
public IReadOnlyList<string> FieldsUpdated { get; }

Property Value

IReadOnlyList<string>

Message

The human-readable confirmation of the update.

[JsonPropertyName("message")]
[JsonInclude]
public string Message { get; }

Property Value

string

WorkersUpdated

The number of workers the change was propagated to, as reported by the server.

[JsonPropertyName("workersUpdated")]
[JsonInclude]
public int WorkersUpdated { get; }

Property Value

int

Methods

Equals(YouTubeConfigUpdate?)

Indicates whether the updates carry the same members.

public bool Equals(YouTubeConfigUpdate? other)

Parameters

other YouTubeConfigUpdate

The update to compare with.

Returns

bool

Whether the members match, the fields compared by content.

GetHashCode()

Returns a hash of the update's comparable members.

public override int GetHashCode()

Returns

int

The hash code.