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