/* Options: Date: 2026-09-01 03:52:02 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: IntroductionsAutoQueryAdd.* //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 Zones implements IConvertible { // @DataMember(Order=1) // @required() int? id; // @DataMember(Order=2) // @required() // @References(typeof(Tenants)) int? tenantsId; // @DataMember(Order=3) // @required() String? name; // @DataMember(Order=4) // @required() bool? isMain; // @DataMember(Order=5) // @required() bool? isDefault; Zones({this.id,this.tenantsId,this.name,this.isMain,this.isDefault}); Zones.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; tenantsId = json['tenantsId']; name = json['name']; isMain = json['isMain']; isDefault = json['isDefault']; return this; } Map toJson() => { 'id': id, 'tenantsId': tenantsId, 'name': name, 'isMain': isMain, 'isDefault': isDefault }; getTypeName() => "Zones"; TypeContext? context = _ctx; } class Introductions implements IConvertible { // @DataMember(Order=1) // @required() int? id; // @DataMember(Order=2) // @required() // @References(typeof(Tenants)) int? tenatnsId; // @DataMember(Order=3) // @required() String? sections; Introductions({this.id,this.tenatnsId,this.sections}); Introductions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; tenatnsId = json['tenatnsId']; sections = json['sections']; return this; } Map toJson() => { 'id': id, 'tenatnsId': tenatnsId, 'sections': sections }; getTypeName() => "Introductions"; TypeContext? context = _ctx; } class IntroductionsAutoQueryAdd implements IReturn, ICreateDb, IConvertible, IPost { // @DataMember(Order=2) int? tenatnsId; // @DataMember(Order=3) String? sections; // @DataMember(Order=5) ResponseStatus? responseStatus; IntroductionsAutoQueryAdd({this.tenatnsId,this.sections,this.responseStatus}); IntroductionsAutoQueryAdd.fromJson(Map json) { fromMap(json); } fromMap(Map json) { tenatnsId = json['tenatnsId']; sections = json['sections']; responseStatus = JsonConverters.fromJson(json['responseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'tenatnsId': tenatnsId, 'sections': sections, 'responseStatus': JsonConverters.toJson(responseStatus,'ResponseStatus',context!) }; createResponse() => Introductions(); getResponseTypeName() => "Introductions"; getTypeName() => "IntroductionsAutoQueryAdd"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api_stage.smartfarmertech.com', types: { 'Tenants': TypeInfo(TypeOf.Class, create:() => Tenants()), 'Zones': TypeInfo(TypeOf.Class, create:() => Zones()), 'Introductions': TypeInfo(TypeOf.Class, create:() => Introductions()), 'IntroductionsAutoQueryAdd': TypeInfo(TypeOf.Class, create:() => IntroductionsAutoQueryAdd()), });