/* Options: Date: 2025-12-06 05:25:43 Version: 8.70 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.sbbet.ath.cx //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: GetE2EProgress.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class E2EProgress implements IConvertible { String? id; bool? isActive; int? slipsTotal; int? slipsSubmitted; DateTime? lastUTCChange; E2EProgress({this.id,this.isActive,this.slipsTotal,this.slipsSubmitted,this.lastUTCChange}); E2EProgress.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; isActive = json['isActive']; slipsTotal = json['slipsTotal']; slipsSubmitted = json['slipsSubmitted']; lastUTCChange = JsonConverters.fromJson(json['lastUTCChange'],'DateTime',context!); return this; } Map toJson() => { 'id': id, 'isActive': isActive, 'slipsTotal': slipsTotal, 'slipsSubmitted': slipsSubmitted, 'lastUTCChange': JsonConverters.toJson(lastUTCChange,'DateTime',context!) }; getTypeName() => "E2EProgress"; TypeContext? context = _ctx; } // @Route("/qry/e2e/progress", "GET") class GetE2EProgress implements IReturn, IConvertible, IGet { GetE2EProgress(); GetE2EProgress.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; createResponse() => E2EProgress(); getResponseTypeName() => "E2EProgress"; getTypeName() => "GetE2EProgress"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.sbbet.ath.cx', types: { 'E2EProgress': TypeInfo(TypeOf.Class, create:() => E2EProgress()), 'GetE2EProgress': TypeInfo(TypeOf.Class, create:() => GetE2EProgress()), });