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