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