/* Options: Date: 2026-09-21 22:54: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: MissionCreate.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; // @Route("/MissionCreate/{Name}") class MissionCreate implements IConvertible, IPost { /** * Mission name */ // @ApiMember(Description="Mission name", IsRequired=true) String? Name; /** * Mission info */ // @ApiMember(Description="Mission info") String? Info; /** * Delete automatically when completed */ // @ApiMember(Description="Delete automatically when completed") bool? DeleteWhenCompleted; /** * Mission owner */ // @ApiMember(Description="Mission owner") String? Owner; /** * Mission finder key */ // @ApiMember(Description="Mission finder key") String? FinderKey; /** * Defines the mission type. Value can be: E = Entrée/Réapro/Restock, S = Sortie/Picking/Prépa commande or, I = Inventaire/Inventory */ // @ApiMember(Description="Defines the mission type. Value can be: E = Entrée/Réapro/Restock, S = Sortie/Picking/Prépa commande or, I = Inventaire/Inventory") String? Type; /** * Mission trolley */ // @ApiMember(Description="Mission trolley") String? Trolley; /** * Reference of the target printer */ // @ApiMember(Description="Reference of the target printer") String? Printer; /** * Defines if the mission has been cancelled */ // @ApiMember(Description="Defines if the mission has been cancelled") bool? Cancelled; /** * Defines if the mission has been blocked */ // @ApiMember(Description="Defines if the mission has been blocked") bool? Blocked; /** * Carrier */ // @ApiMember(Description="Carrier") String? Carrier; /** * BatchId */ // @ApiMember(Description="BatchId") String? BatchId; MissionCreate({this.Name,this.Info,this.DeleteWhenCompleted,this.Owner,this.FinderKey,this.Type,this.Trolley,this.Printer,this.Cancelled,this.Blocked,this.Carrier,this.BatchId}); MissionCreate.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Name = json['Name']; Info = json['Info']; DeleteWhenCompleted = json['DeleteWhenCompleted']; Owner = json['Owner']; FinderKey = json['FinderKey']; Type = json['Type']; Trolley = json['Trolley']; Printer = json['Printer']; Cancelled = json['Cancelled']; Blocked = json['Blocked']; Carrier = json['Carrier']; BatchId = json['BatchId']; return this; } Map toJson() => { 'Name': Name, 'Info': Info, 'DeleteWhenCompleted': DeleteWhenCompleted, 'Owner': Owner, 'FinderKey': FinderKey, 'Type': Type, 'Trolley': Trolley, 'Printer': Printer, 'Cancelled': Cancelled, 'Blocked': Blocked, 'Carrier': Carrier, 'BatchId': BatchId }; getTypeName() => "MissionCreate"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'clouddemo.pickeos.com', types: { 'MissionCreate': TypeInfo(TypeOf.Class, create:() => MissionCreate()), });