/* Options: Date: 2025-09-22 22:23:54 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: DeleteProduct.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class DeleteProductResponse implements IConvertible { String? message; HttpStatusCode? status; ResponseStatus? responseStatus; DeleteProductResponse({this.message,this.status,this.responseStatus}); DeleteProductResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { message = json['message']; status = JsonConverters.fromJson(json['status'],'HttpStatusCode',context!); responseStatus = JsonConverters.fromJson(json['responseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'message': message, 'status': JsonConverters.toJson(status,'HttpStatusCode',context!), 'responseStatus': JsonConverters.toJson(responseStatus,'ResponseStatus',context!) }; getTypeName() => "DeleteProductResponse"; TypeContext? context = _ctx; } // @Route("/products/{id}", "DELETE") class DeleteProduct implements IReturn, IConvertible { String? id; DeleteProduct({this.id}); DeleteProduct.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; return this; } Map toJson() => { 'id': id }; createResponse() => DeleteProductResponse(); getResponseTypeName() => "DeleteProductResponse"; getTypeName() => "DeleteProduct"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'accounts.dev.healthmonix.com', types: { 'DeleteProductResponse': TypeInfo(TypeOf.Class, create:() => DeleteProductResponse()), 'HttpStatusCode': TypeInfo(TypeOf.Class, create:() => HttpStatusCode()), 'DeleteProduct': TypeInfo(TypeOf.Class, create:() => DeleteProduct()), });