/* Options: Date: 2026-09-21 23:12:37 Version: 8.52 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: http://clouddemo.pickeos.com:1337 //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: MissionEnd.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; // @Route("/MissionEnd") class MissionEnd implements IConvertible, IPost { /** * Mission name */ // @ApiMember(Description="Mission name", IsRequired=true) String? Name; /** * Cancelled */ // @ApiMember(Description="Cancelled") bool? Cancelled; /** * Auto restart mission */ // @ApiMember(Description="Auto restart mission") bool? Restart; MissionEnd({this.Name,this.Cancelled,this.Restart}); MissionEnd.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Name = json['Name']; Cancelled = json['Cancelled']; Restart = json['Restart']; return this; } Map toJson() => { 'Name': Name, 'Cancelled': Cancelled, 'Restart': Restart }; getTypeName() => "MissionEnd"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'clouddemo.pickeos.com', types: { 'MissionEnd': TypeInfo(TypeOf.Class, create:() => MissionEnd()), });