/* Options: Date: 2025-12-06 05:24:27 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: ResetCashbooks.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; // @Route("/cmd/cashbook/reset", "POST") class ResetCashbooks implements IReturn, IConvertible, IPost { String? organizationId; String? groupId; String? currency; DateTime? chargedAt; ResetCashbooks({this.organizationId,this.groupId,this.currency,this.chargedAt}); ResetCashbooks.fromJson(Map json) { fromMap(json); } fromMap(Map json) { organizationId = json['organizationId']; groupId = json['groupId']; currency = json['currency']; chargedAt = JsonConverters.fromJson(json['chargedAt'],'DateTime',context!); return this; } Map toJson() => { 'organizationId': organizationId, 'groupId': groupId, 'currency': currency, 'chargedAt': JsonConverters.toJson(chargedAt,'DateTime',context!) }; createResponse() => ResponseStatus(); getResponseTypeName() => "ResponseStatus"; getTypeName() => "ResetCashbooks"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.sbbet.ath.cx', types: { 'ResetCashbooks': TypeInfo(TypeOf.Class, create:() => ResetCashbooks()), });