Class RoutePlannerIpBlock
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
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; }