/* Options: Date: 2025-11-08 11:12:54 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://s4w2.api.bettor.cc //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: GetBetCancellationInfo.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class BetCancellationInfo implements IConvertible { bool? canCancel; Map? errors; BetCancellationInfo({this.canCancel,this.errors}); BetCancellationInfo.fromJson(Map json) { fromMap(json); } fromMap(Map json) { canCancel = json['canCancel']; errors = JsonConverters.toStringMap(json['errors']); return this; } Map toJson() => { 'canCancel': canCancel, 'errors': errors }; getTypeName() => "BetCancellationInfo"; TypeContext? context = _ctx; } // @Route("/qry/bets/cancInfo") class GetBetCancellationInfo implements IReturn, IConvertible, IPost { String? betId; GetBetCancellationInfo({this.betId}); GetBetCancellationInfo.fromJson(Map json) { fromMap(json); } fromMap(Map json) { betId = json['betId']; return this; } Map toJson() => { 'betId': betId }; createResponse() => BetCancellationInfo(); getResponseTypeName() => "BetCancellationInfo"; getTypeName() => "GetBetCancellationInfo"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 's4w2.api.bettor.cc', types: { 'BetCancellationInfo': TypeInfo(TypeOf.Class, create:() => BetCancellationInfo()), 'GetBetCancellationInfo': TypeInfo(TypeOf.Class, create:() => GetBetCancellationInfo()), });