core.Map<core.String, core.dynamic> toJson() => { if (ipAddress != null) 'ipAddress': ipAddress!, if (wanIpAddress != null) 'wanIpAddress': wanIpAddress!, };