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