copyWith method
GetKnowledgeBaseSummaryTextResponseModel
copyWith({
- String? id,
- String? name,
- KnowledgeBaseDocumentMetadataResponseModel? metadata,
- bool? promptInjectable,
- ResourceAccessInfo? accessInfo,
- List<
Object> ? dependentAgents, - String? type,
Implementation
GetKnowledgeBaseSummaryTextResponseModel copyWith(
{String? id,
String? name,
KnowledgeBaseDocumentMetadataResponseModel? metadata,
bool? promptInjectable,
ResourceAccessInfo? accessInfo,
List<Object>? dependentAgents,
String? type}) {
return GetKnowledgeBaseSummaryTextResponseModel(
id: id ?? this.id,
name: name ?? this.name,
metadata: metadata ?? this.metadata,
promptInjectable: promptInjectable ?? this.promptInjectable,
accessInfo: accessInfo ?? this.accessInfo,
dependentAgents: dependentAgents ?? this.dependentAgents,
type: type ?? this.type);
}