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