/* Options: Date: 2025-02-05 16:54:55 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: FindLossReason.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class LossReasonInstance implements IConvertible { int? LossReasonId; String? Reason; bool? Deleted; bool? Demo; bool? Selectable; LossReasonInstance({this.LossReasonId,this.Reason,this.Deleted,this.Demo,this.Selectable}); LossReasonInstance.fromJson(Map json) { fromMap(json); } fromMap(Map json) { LossReasonId = json['LossReasonId']; Reason = json['Reason']; Deleted = json['Deleted']; Demo = json['Demo']; Selectable = json['Selectable']; return this; } Map toJson() => { 'LossReasonId': LossReasonId, 'Reason': Reason, 'Deleted': Deleted, 'Demo': Demo, 'Selectable': Selectable }; getTypeName() => "LossReasonInstance"; TypeContext? context = _ctx; } // @Route("/api/Query/LossReason") // @AutoQueryViewer(Description="", IconUrl="octicon:database", Title="LossReason") class FindLossReason extends QueryDb implements IReturn>, IConvertible { FindLossReason(); FindLossReason.fromJson(Map json) : super.fromJson(json); fromMap(Map json) { super.fromMap(json); return this; } Map toJson() => super.toJson(); createResponse() => QueryResponse(); getResponseTypeName() => "QueryResponse"; getTypeName() => "FindLossReason"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.clubmanagercentral.com', types: { 'LossReasonInstance': TypeInfo(TypeOf.Class, create:() => LossReasonInstance()), 'QueryResponse': TypeInfo(TypeOf.Class, create:() => QueryResponse()), 'FindLossReason': TypeInfo(TypeOf.Class, create:() => FindLossReason()), 'List': TypeInfo(TypeOf.Class, create:() => []), });