/* Options: Date: 2025-01-08 03:10:55 Version: 8.53 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://blazordiffusion.com //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: QueryApiModels.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class AiModel implements IConvertible { int? id; String? name; List? tags = []; String? latest; String? website; String? description; String? icon; AiModel({this.id,this.name,this.tags,this.latest,this.website,this.description,this.icon}); AiModel.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; name = json['name']; tags = JsonConverters.fromJson(json['tags'],'List',context!); latest = json['latest']; website = json['website']; description = json['description']; icon = json['icon']; return this; } Map toJson() => { 'id': id, 'name': name, 'tags': JsonConverters.toJson(tags,'List',context!), 'latest': latest, 'website': website, 'description': description, 'icon': icon }; getTypeName() => "AiModel"; TypeContext? context = _ctx; } class QueryApiModels extends QueryDb implements IReturn>, IConvertible, IGet { QueryApiModels(); QueryApiModels.fromJson(Map json) : super.fromJson(json); fromMap(Map json) { super.fromMap(json); return this; } Map toJson() => super.toJson(); createResponse() => QueryResponse(); getResponseTypeName() => "QueryResponse"; getTypeName() => "QueryApiModels"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'blazordiffusion.com', types: { 'AiModel': TypeInfo(TypeOf.Class, create:() => AiModel()), 'QueryResponse': TypeInfo(TypeOf.Class, create:() => QueryResponse()), 'QueryApiModels': TypeInfo(TypeOf.Class, create:() => QueryApiModels()), 'List': TypeInfo(TypeOf.Class, create:() => []), });