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