/* Options: Date: 2025-09-22 22:19:49 Version: 6.21 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://accounts.dev.healthmonix.com/api/ //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: DeletePurchaseOrder.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class DeletePurchaseOrderResponse implements IConvertible { String? message; HttpStatusCode? status; DeletePurchaseOrderResponse({this.message,this.status}); DeletePurchaseOrderResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { message = json['message']; status = JsonConverters.fromJson(json['status'],'HttpStatusCode',context!); return this; } Map toJson() => { 'message': message, 'status': JsonConverters.toJson(status,'HttpStatusCode',context!) }; getTypeName() => "DeletePurchaseOrderResponse"; TypeContext? context = _ctx; } // @Route("/purchaseorders/{id}", "DELETE") class DeletePurchaseOrder implements IReturn, IConvertible { int? id; DeletePurchaseOrder({this.id}); DeletePurchaseOrder.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; return this; } Map toJson() => { 'id': id }; createResponse() => DeletePurchaseOrderResponse(); getResponseTypeName() => "DeletePurchaseOrderResponse"; getTypeName() => "DeletePurchaseOrder"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'accounts.dev.healthmonix.com', types: { 'DeletePurchaseOrderResponse': TypeInfo(TypeOf.Class, create:() => DeletePurchaseOrderResponse()), 'HttpStatusCode': TypeInfo(TypeOf.Class, create:() => HttpStatusCode()), 'DeletePurchaseOrder': TypeInfo(TypeOf.Class, create:() => DeletePurchaseOrder()), });