/* Options: Date: 2025-12-06 10:53:58 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: GetCropDataInfo.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; // @Route("/cropdatalist", "POST") class GetCropDataInfo implements IConvertible, IPost { int? tenantsId; ResponseStatus? responseStatus; GetCropDataInfo({this.tenantsId,this.responseStatus}); GetCropDataInfo.fromJson(Map json) { fromMap(json); } fromMap(Map json) { tenantsId = json['tenantsId']; responseStatus = JsonConverters.fromJson(json['responseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'tenantsId': tenantsId, 'responseStatus': JsonConverters.toJson(responseStatus,'ResponseStatus',context!) }; getTypeName() => "GetCropDataInfo"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'sfgboxapi.dev.scadsoftware.com', types: { 'GetCropDataInfo': TypeInfo(TypeOf.Class, create:() => GetCropDataInfo()), });