/* Options: Date: 2026-04-04 06:48:54 Version: 8.52 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://pfapi.pstpf.com.au/api //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: SaveNotificationsOrder.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; /** * Updates the order/index of the specified notification */ // @Route("/notification/{NotificationId}/index/{Index}", "PUT") // @Api(Description="Updates the order/index of the specified notification") class SaveNotificationsOrder implements IReturn, IConvertible, IPut { /** * Notification Id of the item being updated. */ // @ApiMember(DataType="Guid", Description="Notification Id of the item being updated.", Name="NotificationId") String? NotificationId; /** * The new index of the notification. Indexes start at 1. */ // @ApiMember(DataType="int", Description="The new index of the notification. Indexes start at 1.", Name="Index") int? Index; SaveNotificationsOrder({this.NotificationId,this.Index}); SaveNotificationsOrder.fromJson(Map json) { fromMap(json); } fromMap(Map json) { NotificationId = json['NotificationId']; Index = json['Index']; return this; } Map toJson() => { 'NotificationId': NotificationId, 'Index': Index }; createResponse() => StringResponse(); getResponseTypeName() => "StringResponse"; getTypeName() => "SaveNotificationsOrder"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'pfapi.pstpf.com.au', types: { 'SaveNotificationsOrder': TypeInfo(TypeOf.Class, create:() => SaveNotificationsOrder()), });