/* Options: Date: 2026-04-17 08:30:30 Version: 8.52 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://www.imglobal.com/RestApi //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: GetRelatedItems.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class RelatedItemsProxy implements IConvertible { int? TranslationsCount; int? ProjectsCount; RelatedItemsProxy({this.TranslationsCount,this.ProjectsCount}); RelatedItemsProxy.fromJson(Map json) { fromMap(json); } fromMap(Map json) { TranslationsCount = json['TranslationsCount']; ProjectsCount = json['ProjectsCount']; return this; } Map toJson() => { 'TranslationsCount': TranslationsCount, 'ProjectsCount': ProjectsCount }; getTypeName() => "RelatedItemsProxy"; TypeContext? context = _ctx; } // @Route("/translations/related", "GET") class GetRelatedItems implements IReturn, IConvertible, IGet { List? Ids; GetRelatedItems({this.Ids}); GetRelatedItems.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Ids = JsonConverters.fromJson(json['Ids'],'List',context!); return this; } Map toJson() => { 'Ids': JsonConverters.toJson(Ids,'List',context!) }; createResponse() => RelatedItemsProxy(); getResponseTypeName() => "RelatedItemsProxy"; getTypeName() => "GetRelatedItems"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'www.imglobal.com', types: { 'RelatedItemsProxy': TypeInfo(TypeOf.Class, create:() => RelatedItemsProxy()), 'GetRelatedItems': TypeInfo(TypeOf.Class, create:() => GetRelatedItems()), });