copyWithWrapped method
Implementation
GetKnowledgeBaseSummaryTextResponseModel copyWithWrapped(
{Wrapped<String>? id,
Wrapped<String>? name,
Wrapped<KnowledgeBaseDocumentMetadataResponseModel>? metadata,
Wrapped<bool>? promptInjectable,
Wrapped<ResourceAccessInfo>? accessInfo,
Wrapped<List<Object>>? dependentAgents,
Wrapped<String>? type}) {
return GetKnowledgeBaseSummaryTextResponseModel(
id: (id != null ? id.value : this.id),
name: (name != null ? name.value : this.name),
metadata: (metadata != null ? metadata.value : this.metadata),
promptInjectable: (promptInjectable != null
? promptInjectable.value
: this.promptInjectable),
accessInfo: (accessInfo != null ? accessInfo.value : this.accessInfo),
dependentAgents: (dependentAgents != null
? dependentAgents.value
: this.dependentAgents),
type: (type != null ? type.value : this.type));
}