/* Options: Date: 2025-02-05 21:48:41 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: FindBranchTrust.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class BranchTrustInstance implements IConvertible { int? BranchTrustId; int? TrustedBranchId; DateTime? Created; BranchTrustInstance({this.BranchTrustId,this.TrustedBranchId,this.Created}); BranchTrustInstance.fromJson(Map json) { fromMap(json); } fromMap(Map json) { BranchTrustId = json['BranchTrustId']; TrustedBranchId = json['TrustedBranchId']; Created = JsonConverters.fromJson(json['Created'],'DateTime',context!); return this; } Map toJson() => { 'BranchTrustId': BranchTrustId, 'TrustedBranchId': TrustedBranchId, 'Created': JsonConverters.toJson(Created,'DateTime',context!) }; getTypeName() => "BranchTrustInstance"; TypeContext? context = _ctx; } // @Route("/api/Query/BranchTrust") // @AutoQueryViewer(Description="", IconUrl="octicon:database", Title="BranchTrust") class FindBranchTrust extends QueryDb implements IReturn>, IConvertible { FindBranchTrust(); FindBranchTrust.fromJson(Map json) : super.fromJson(json); fromMap(Map json) { super.fromMap(json); return this; } Map toJson() => super.toJson(); createResponse() => QueryResponse(); getResponseTypeName() => "QueryResponse"; getTypeName() => "FindBranchTrust"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.clubmanagercentral.com', types: { 'BranchTrustInstance': TypeInfo(TypeOf.Class, create:() => BranchTrustInstance()), 'QueryResponse': TypeInfo(TypeOf.Class, create:() => QueryResponse()), 'FindBranchTrust': TypeInfo(TypeOf.Class, create:() => FindBranchTrust()), 'List': TypeInfo(TypeOf.Class, create:() => []), });