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