GetKnowledgeBaseFileResponseModel class

Available extensions
Annotations
  • @JsonSerializable.new(explicitToJson: true)

Constructors

GetKnowledgeBaseFileResponseModel({required String id, required String name, required KnowledgeBaseDocumentMetadataResponseModel metadata, required bool promptInjectable, required ResourceAccessInfo accessInfo, required String extractedInnerHtml, required String type})
const
GetKnowledgeBaseFileResponseModel.fromJson(Map<String, dynamic> json)
factory

Properties

accessInfo ResourceAccessInfo
final
extractedInnerHtml String
final
hashCode int
The hash code for this object.
no setteroverride
id String
final
metadata KnowledgeBaseDocumentMetadataResponseModel
final
name String
final
promptInjectable bool
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String
final

Methods

copyWith({String? id, String? name, KnowledgeBaseDocumentMetadataResponseModel? metadata, bool? promptInjectable, ResourceAccessInfo? accessInfo, String? extractedInnerHtml, String? type}) GetKnowledgeBaseFileResponseModel

Available on GetKnowledgeBaseFileResponseModel, provided by the $GetKnowledgeBaseFileResponseModelExtension extension

copyWithWrapped({Wrapped<String>? id, Wrapped<String>? name, Wrapped<KnowledgeBaseDocumentMetadataResponseModel>? metadata, Wrapped<bool>? promptInjectable, Wrapped<ResourceAccessInfo>? accessInfo, Wrapped<String>? extractedInnerHtml, Wrapped<String>? type}) GetKnowledgeBaseFileResponseModel

Available on GetKnowledgeBaseFileResponseModel, provided by the $GetKnowledgeBaseFileResponseModelExtension extension

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override

Constants

fromJsonFactory → const GetKnowledgeBaseFileResponseModel Function(Map<String, dynamic> json)
toJsonFactory → const Map<String, dynamic> Function(GetKnowledgeBaseFileResponseModel instance)