copyWith method
Implementation
NativeMCPToolConfigOutput copyWith(
{String? id,
String? name,
String? description,
int? responseTimeoutSecs,
String? type,
dynamic parameters,
String? mcpToolName,
String? mcpServerId,
enums.MCPApprovalRequiredModel? approvalMode}) {
return NativeMCPToolConfigOutput(
id: id ?? this.id,
name: name ?? this.name,
description: description ?? this.description,
responseTimeoutSecs: responseTimeoutSecs ?? this.responseTimeoutSecs,
type: type ?? this.type,
parameters: parameters ?? this.parameters,
mcpToolName: mcpToolName ?? this.mcpToolName,
mcpServerId: mcpServerId ?? this.mcpServerId,
approvalMode: approvalMode ?? this.approvalMode);
}