Table of Contents

Class RoutePlannerIpBlock

Namespace
Nyra.Entities
Assembly
Nyra.dll

The IP pool the planner draws addresses from.

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

Properties

Size

Block size as reported, the servers measure different things.

[JsonPropertyName("size")]
[JsonInclude]
[JsonConverter(typeof(StringOrNumberConverter))]
public string? Size { get; }

Property Value

string

Remarks

Lavalink formats the address count as a string, NodeLink sends the configured block count as a number, either parses, but the values are not comparable across servers.

Type

The kind of addresses the block holds.

[JsonPropertyName("type")]
[JsonInclude]
public IpBlockType Type { get; }

Property Value

IpBlockType