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