/* Options: Date: 2024-12-22 13:14:32 Version: 8.51 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://techstacks.io //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: DeletePostSubscription.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; // @Route("/posts/{PostId}/subscribe", "DELETE") class DeletePostSubscription implements IReturnVoid, IDelete, IConvertible { int? postId; DeletePostSubscription({this.postId}); DeletePostSubscription.fromJson(Map json) { fromMap(json); } fromMap(Map json) { postId = json['postId']; return this; } Map toJson() => { 'postId': postId }; createResponse() {} getTypeName() => "DeletePostSubscription"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'techstacks.io', types: { 'DeletePostSubscription': TypeInfo(TypeOf.Class, create:() => DeletePostSubscription()), });