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