/* Options: Date: 2025-12-06 09:54:28 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: ProductsRecipesById.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class ProductsRecipesByIdResponse implements IConvertible { // @DataMember(Order=1) int? id; // @DataMember(Order=7) ResponseStatus? responseStatus; ProductsRecipesByIdResponse({this.id,this.responseStatus}); ProductsRecipesByIdResponse.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() => "ProductsRecipesByIdResponse"; TypeContext? context = _ctx; } // @Route("/products_recipes/{Id}", "GET") // @DataContract class ProductsRecipesById implements IReturn, IConvertible, IGet { // @DataMember(Order=1) // @Validate(Validator="NotNull") int? id; ProductsRecipesById({this.id}); ProductsRecipesById.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; return this; } Map toJson() => { 'id': id }; createResponse() => ProductsRecipesByIdResponse(); getResponseTypeName() => "ProductsRecipesByIdResponse"; getTypeName() => "ProductsRecipesById"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'sfgboxapi.dev.scadsoftware.com', types: { 'ProductsRecipesByIdResponse': TypeInfo(TypeOf.Class, create:() => ProductsRecipesByIdResponse()), 'ProductsRecipesById': TypeInfo(TypeOf.Class, create:() => ProductsRecipesById()), });