/* Options: Date: 2024-12-22 12:35:55 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: SubscribeToPost.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; // @Route("/posts/{PostId}/subscribe", "PUT") class SubscribeToPost implements IReturnVoid, IPut, IConvertible { int? postId; SubscribeToPost({this.postId}); SubscribeToPost.fromJson(Map json) { fromMap(json); } fromMap(Map json) { postId = json['postId']; return this; } Map toJson() => { 'postId': postId }; createResponse() {} getTypeName() => "SubscribeToPost"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'techstacks.io', types: { 'SubscribeToPost': TypeInfo(TypeOf.Class, create:() => SubscribeToPost()), });