copyWithWrapped method
AgentPlatformSettingsResponseModel
copyWithWrapped({
- Wrapped<
AuthSettings?> ? auth, - Wrapped<
EvaluationSettings?> ? evaluation, - Wrapped<
WidgetConfigOutput?> ? widget, - Wrapped<
Map< ? dataCollection,String, dynamic> ?> - Wrapped<
ConversationInitiationClientDataConfigOutput?> ? overrides, - Wrapped<
AgentCallLimits?> ? callLimits, - Wrapped<
PrivacyConfig?> ? privacy, - Wrapped<
AgentWorkspaceOverridesOutput?> ? workspaceOverrides, - Wrapped<
SafetyResponseModel?> ? safety,
Implementation
AgentPlatformSettingsResponseModel copyWithWrapped(
{Wrapped<AuthSettings?>? auth,
Wrapped<EvaluationSettings?>? evaluation,
Wrapped<WidgetConfigOutput?>? widget,
Wrapped<Map<String, dynamic>?>? dataCollection,
Wrapped<ConversationInitiationClientDataConfigOutput?>? overrides,
Wrapped<AgentCallLimits?>? callLimits,
Wrapped<PrivacyConfig?>? privacy,
Wrapped<AgentWorkspaceOverridesOutput?>? workspaceOverrides,
Wrapped<SafetyResponseModel?>? safety}) {
return AgentPlatformSettingsResponseModel(
auth: (auth != null ? auth.value : this.auth),
evaluation: (evaluation != null ? evaluation.value : this.evaluation),
widget: (widget != null ? widget.value : this.widget),
dataCollection: (dataCollection != null
? dataCollection.value
: this.dataCollection),
overrides: (overrides != null ? overrides.value : this.overrides),
callLimits: (callLimits != null ? callLimits.value : this.callLimits),
privacy: (privacy != null ? privacy.value : this.privacy),
workspaceOverrides: (workspaceOverrides != null
? workspaceOverrides.value
: this.workspaceOverrides),
safety: (safety != null ? safety.value : this.safety));
}