/* Options: Date: 2025-12-06 14:46:39 Version: 8.0 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://sfgboxapi.dev.scadsoftware.com //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: ProductsRecipesDelete.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class ProductsRecipesDeleteResponse implements IConvertible { // @DataMember(Order=1) int? id; // @DataMember(Order=7) ResponseStatus? responseStatus; ProductsRecipesDeleteResponse({this.id,this.responseStatus}); ProductsRecipesDeleteResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; responseStatus = JsonConverters.fromJson(json['responseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'id': id, 'responseStatus': JsonConverters.toJson(responseStatus,'ResponseStatus',context!) }; getTypeName() => "ProductsRecipesDeleteResponse"; TypeContext? context = _ctx; } // @Route("/products_recipes/{Id}", "DELETE") // @DataContract class ProductsRecipesDelete implements IReturn, IConvertible, IDelete { // @DataMember(Order=1) // @Validate(Validator="NotNull") int? id; ProductsRecipesDelete({this.id}); ProductsRecipesDelete.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; return this; } Map toJson() => { 'id': id }; createResponse() => ProductsRecipesDeleteResponse(); getResponseTypeName() => "ProductsRecipesDeleteResponse"; getTypeName() => "ProductsRecipesDelete"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'sfgboxapi.dev.scadsoftware.com', types: { 'ProductsRecipesDeleteResponse': TypeInfo(TypeOf.Class, create:() => ProductsRecipesDeleteResponse()), 'ProductsRecipesDelete': TypeInfo(TypeOf.Class, create:() => ProductsRecipesDelete()), });