add toString method (#4592)

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
This commit is contained in:
Andrew Fiddian-Green
2025-02-15 16:33:09 +01:00
committed by GitHub
parent aa6d82e786
commit f66720a30e
@@ -162,4 +162,12 @@ public class SddpDevice {
public boolean isExpired() {
return Instant.now().isAfter(expireInstant);
}
@Override
public String toString() {
return "SddpDevice [from=" + from + ", host=" + host + ", maxAge=" + maxAge + ", type=" + type
+ ", primaryProxy=" + primaryProxy + ", proxies=" + proxies + ", manufacturer=" + manufacturer
+ ", model=" + model + ", driver=" + driver + ", ipAddress=" + ipAddress + ", port=" + port
+ ", macAddress=" + macAddress + ", expireInstant=" + expireInstant + "]";
}
}