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