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