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