/* 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: ProductsRecipesEdit.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class ProductsRecipesEditResponse implements IConvertible { // @DataMember(Order=1) int? id; // @DataMember(Order=2) int? tenantsId; // @DataMember(Order=3) int? zonesId; // @DataMember(Order=4) int? productsId; // @DataMember(Order=5) String? recipeUrl; // @DataMember(Order=7) ResponseStatus? responseStatus; ProductsRecipesEditResponse({this.id,this.tenantsId,this.zonesId,this.productsId,this.recipeUrl,this.responseStatus}); ProductsRecipesEditResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; tenantsId = json['tenantsId']; zonesId = json['zonesId']; productsId = json['productsId']; recipeUrl = json['recipeUrl']; responseStatus = JsonConverters.fromJson(json['responseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'id': id, 'tenantsId': tenantsId, 'zonesId': zonesId, 'productsId': productsId, 'recipeUrl': recipeUrl, 'responseStatus': JsonConverters.toJson(responseStatus,'ResponseStatus',context!) }; getTypeName() => "ProductsRecipesEditResponse"; TypeContext? context = _ctx; } // @Route("/products_recipes/{Id}", "PUT") // @DataContract class ProductsRecipesEdit implements IReturn, IConvertible, IPut { // @DataMember(Order=1) // @Validate(Validator="NotNull") int? id; // @DataMember(Order=2) // @Validate(Validator="NotNull") int? tenantsId; // @DataMember(Order=3) // @Validate(Validator="NotNull") int? zonesId; // @DataMember(Order=4) // @Validate(Validator="NotNull") int? productsId; // @DataMember(Order=5) // @Validate(Validator="NotNull") String? recipeUrl; ProductsRecipesEdit({this.id,this.tenantsId,this.zonesId,this.productsId,this.recipeUrl}); ProductsRecipesEdit.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; tenantsId = json['tenantsId']; zonesId = json['zonesId']; productsId = json['productsId']; recipeUrl = json['recipeUrl']; return this; } Map toJson() => { 'id': id, 'tenantsId': tenantsId, 'zonesId': zonesId, 'productsId': productsId, 'recipeUrl': recipeUrl }; createResponse() => ProductsRecipesEditResponse(); getResponseTypeName() => "ProductsRecipesEditResponse"; getTypeName() => "ProductsRecipesEdit"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'sfgboxapi.dev.scadsoftware.com', types: { 'ProductsRecipesEditResponse': TypeInfo(TypeOf.Class, create:() => ProductsRecipesEditResponse()), 'ProductsRecipesEdit': TypeInfo(TypeOf.Class, create:() => ProductsRecipesEdit()), });