/* Options: Date: 2025-12-06 07:08:23 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://backoffice-api.brovs.com //GlobalNamespace: BackofficeApi //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: LotteryPublishRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ library BackofficeApi; import 'package:servicestack/servicestack.dart'; class LotteryPublishResponse implements IConvertible { DateTime? updatedAt; LotteryPublishResponse({this.updatedAt}); LotteryPublishResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { updatedAt = JsonConverters.fromJson(json['updatedAt'],'DateTime',context!); return this; } Map toJson() => { 'updatedAt': JsonConverters.toJson(updatedAt,'DateTime',context!) }; getTypeName() => "LotteryPublishResponse"; TypeContext? context = _ctx; } // @Route("/lottery/running", "PUT") class LotteryPublishRequest implements IReturn, IPut, IConvertible { int? lotteryId; LotteryPublishRequest({this.lotteryId}); LotteryPublishRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { lotteryId = json['lotteryId']; return this; } Map toJson() => { 'lotteryId': lotteryId }; createResponse() => LotteryPublishResponse(); getResponseTypeName() => "LotteryPublishResponse"; getTypeName() => "LotteryPublishRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'BackofficeApi', types: { 'LotteryPublishResponse': TypeInfo(TypeOf.Class, create:() => LotteryPublishResponse()), 'LotteryPublishRequest': TypeInfo(TypeOf.Class, create:() => LotteryPublishRequest()), });