/* Options: Date: 2025-08-05 02:50:15 Version: 8.0 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://www.asg.com.au/RestApi //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: PostWinningVariation.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; // @Route("/ab-testing/end", "POST") class PostWinningVariation implements IConvertible, IPost { String? ABTestId; String? FinalVariationId; bool? ShouldPublish; PostWinningVariation({this.ABTestId,this.FinalVariationId,this.ShouldPublish}); PostWinningVariation.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ABTestId = json['ABTestId']; FinalVariationId = json['FinalVariationId']; ShouldPublish = json['ShouldPublish']; return this; } Map toJson() => { 'ABTestId': ABTestId, 'FinalVariationId': FinalVariationId, 'ShouldPublish': ShouldPublish }; getTypeName() => "PostWinningVariation"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'www.asg.com.au', types: { 'PostWinningVariation': TypeInfo(TypeOf.Class, create:() => PostWinningVariation()), });