/* Options: Date: 2024-10-06 10:31:34 Version: 8.22 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://data.regent-college.edu //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: NotificationsRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; // @Route("/Notifications/{uuid}", "POST") class NotificationsRequest implements IReturn>, IConvertible, IPost { String? uuid; bool? all_notifications; NotificationsRequest({this.uuid,this.all_notifications}); NotificationsRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { uuid = json['uuid']; all_notifications = json['all_notifications']; return this; } Map toJson() => { 'uuid': uuid, 'all_notifications': all_notifications }; createResponse() => []; getResponseTypeName() => "List"; getTypeName() => "NotificationsRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'data.regent_college.edu', types: { 'NotificationsRequest': TypeInfo(TypeOf.Class, create:() => NotificationsRequest()), });