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