/* Options: Date: 2024-04-30 07:23:53 Version: 8.13 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://techstacks.io //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: HidePost.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; // @Route("/posts/{Id}/hide", "PUT") class HidePost implements IReturnVoid, IPut, IConvertible { int? id; bool? Hide; String? reason; HidePost({this.id,this.Hide,this.reason}); HidePost.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; Hide = json['hide']; reason = json['reason']; return this; } Map toJson() => { 'id': id, 'hide': Hide, 'reason': reason }; createResponse() {} getTypeName() => "HidePost"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'techstacks.io', types: { 'HidePost': TypeInfo(TypeOf.Class, create:() => HidePost()), });