/* Options: Date: 2025-04-04 16:31:58 Version: 5.140 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.clubmanagercentral.com //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: FindTemplate.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class TemplateInstance implements IConvertible { int? TemplateId; String? Description; String? TemplateHtml; bool? IsEnabled; bool? IsSystem; int? TemplateType; int? EventType; bool? Deleted; bool? Demo; TemplateInstance({this.TemplateId,this.Description,this.TemplateHtml,this.IsEnabled,this.IsSystem,this.TemplateType,this.EventType,this.Deleted,this.Demo}); TemplateInstance.fromJson(Map json) { fromMap(json); } fromMap(Map json) { TemplateId = json['TemplateId']; Description = json['Description']; TemplateHtml = json['TemplateHtml']; IsEnabled = json['IsEnabled']; IsSystem = json['IsSystem']; TemplateType = json['TemplateType']; EventType = json['EventType']; Deleted = json['Deleted']; Demo = json['Demo']; return this; } Map toJson() => { 'TemplateId': TemplateId, 'Description': Description, 'TemplateHtml': TemplateHtml, 'IsEnabled': IsEnabled, 'IsSystem': IsSystem, 'TemplateType': TemplateType, 'EventType': EventType, 'Deleted': Deleted, 'Demo': Demo }; getTypeName() => "TemplateInstance"; TypeContext? context = _ctx; } // @Route("/api/Query/Template") // @AutoQueryViewer(Description="", IconUrl="octicon:database", Title="Template") class FindTemplate extends QueryDb implements IReturn>, IConvertible { FindTemplate(); FindTemplate.fromJson(Map json) : super.fromJson(json); fromMap(Map json) { super.fromMap(json); return this; } Map toJson() => super.toJson(); createResponse() => QueryResponse(); getResponseTypeName() => "QueryResponse"; getTypeName() => "FindTemplate"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.clubmanagercentral.com', types: { 'TemplateInstance': TypeInfo(TypeOf.Class, create:() => TemplateInstance()), 'QueryResponse': TypeInfo(TypeOf.Class, create:() => QueryResponse()), 'FindTemplate': TypeInfo(TypeOf.Class, create:() => FindTemplate()), 'List': TypeInfo(TypeOf.Class, create:() => []), });