RoutePlannerDetails class

Information about the configuration of the RoutePlanner extension on a Lavalink server.

Annotations
  • @JsonSerializable()

Constructors

RoutePlannerDetails({required IpBlock ipBlock, required List<FailingAddress> failingAddresses, required String? rotateIndex, required String? ipIndex, required String? currentAddress, required String? currentAddressIndex, required String? blockIndex})
Create a new RoutePlannerDetails.
RoutePlannerDetails.fromJson(Map<String, Object?> json)
factory

Properties

blockIndex String?
The information in which /64 block ips are chosen.
final
currentAddress String?
The current address being used.
final
currentAddressIndex String?
The current offset in the ip block.
final
failingAddresses List<FailingAddress>
The currently failing IP addresses.
final
hashCode int
The hash code for this object.
no setterinherited
ipBlock IpBlock
The IP block usable by the server.
final
ipIndex String?
The current offset in the block.
final
rotateIndex String?
The number of rotations.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited