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