/* Options: Date: 2025-12-06 10:38:41 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: InformationLookup.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class Paging implements IConvertible { int? pageNumber; int? pageSize; Paging({this.pageNumber,this.pageSize}); Paging.fromJson(Map json) { fromMap(json); } fromMap(Map json) { pageNumber = json['pageNumber']; pageSize = json['pageSize']; return this; } Map toJson() => { 'pageNumber': pageNumber, 'pageSize': pageSize }; getTypeName() => "Paging"; TypeContext? context = _ctx; } // @Route("/information", "GET") class InformationLookup implements IReturn>, IConvertible, IGet { int? id; int? tenantsId; String? name; Paging? paging; InformationLookup({this.id,this.tenantsId,this.name,this.paging}); InformationLookup.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; tenantsId = json['tenantsId']; name = json['name']; paging = JsonConverters.fromJson(json['paging'],'Paging',context!); return this; } Map toJson() => { 'id': id, 'tenantsId': tenantsId, 'name': name, 'paging': JsonConverters.toJson(paging,'Paging',context!) }; createResponse() => []; getResponseTypeName() => "List"; getTypeName() => "InformationLookup"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'sfgboxapi.dev.scadsoftware.com', types: { 'Paging': TypeInfo(TypeOf.Class, create:() => Paging()), 'InformationLookup': TypeInfo(TypeOf.Class, create:() => InformationLookup()), });