/* Options: Date: 2026-09-01 03:49:24 Version: 8.0 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api-stage.smartfarmertech.com //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: TenantsAutoQueryDelete.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class Tenants implements IConvertible { // @DataMember(Order=1) // @required() int? id; // @DataMember(Order=2) // @required() // @References(typeof(Zones)) int? mainZonesId; // @DataMember(Order=3) bool? isPublic; Tenants({this.id,this.mainZonesId,this.isPublic}); Tenants.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; mainZonesId = json['mainZonesId']; isPublic = json['isPublic']; return this; } Map toJson() => { 'id': id, 'mainZonesId': mainZonesId, 'isPublic': isPublic }; getTypeName() => "Tenants"; TypeContext? context = _ctx; } class TenantsAutoQueryDelete implements IReturnVoid, IDeleteDb, IConvertible, IDelete { // @DataMember(Order=1) int? id; // @DataMember(Order=4) ResponseStatus? responseStatus; TenantsAutoQueryDelete({this.id,this.responseStatus}); TenantsAutoQueryDelete.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!) }; createResponse() {} getTypeName() => "TenantsAutoQueryDelete"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api_stage.smartfarmertech.com', types: { 'Tenants': TypeInfo(TypeOf.Class, create:() => Tenants()), 'TenantsAutoQueryDelete': TypeInfo(TypeOf.Class, create:() => TenantsAutoQueryDelete()), });