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