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