/* Options: Date: 2026-06-01 15:04:11 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: GetTranslationReview.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class TranslationUnitProxy implements IConvertible { String? PropertyName; String? SourceValue; String? TargetValue; TranslationUnitProxy({this.PropertyName,this.SourceValue,this.TargetValue}); TranslationUnitProxy.fromJson(Map json) { fromMap(json); } fromMap(Map json) { PropertyName = json['PropertyName']; SourceValue = json['SourceValue']; TargetValue = json['TargetValue']; return this; } Map toJson() => { 'PropertyName': PropertyName, 'SourceValue': SourceValue, 'TargetValue': TargetValue }; getTypeName() => "TranslationUnitProxy"; TypeContext? context = _ctx; } class TranslationUnitGroupProxy implements IConvertible { String? Name; List? Units; TranslationUnitGroupProxy({this.Name,this.Units}); TranslationUnitGroupProxy.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Name = json['Name']; Units = JsonConverters.fromJson(json['Units'],'List',context!); return this; } Map toJson() => { 'Name': Name, 'Units': JsonConverters.toJson(Units,'List',context!) }; getTypeName() => "TranslationUnitGroupProxy"; TypeContext? context = _ctx; } class TranslationReviewProxy implements IConvertible { String? ActualSourceLanguage; String? TargetLanguage; String? ItemType; List? UnitGroups; TranslationReviewProxy({this.ActualSourceLanguage,this.TargetLanguage,this.ItemType,this.UnitGroups}); TranslationReviewProxy.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ActualSourceLanguage = json['ActualSourceLanguage']; TargetLanguage = json['TargetLanguage']; ItemType = json['ItemType']; UnitGroups = JsonConverters.fromJson(json['UnitGroups'],'List',context!); return this; } Map toJson() => { 'ActualSourceLanguage': ActualSourceLanguage, 'TargetLanguage': TargetLanguage, 'ItemType': ItemType, 'UnitGroups': JsonConverters.toJson(UnitGroups,'List',context!) }; getTypeName() => "TranslationReviewProxy"; TypeContext? context = _ctx; } // @Route("/translations/review/{id}", "GET") class GetTranslationReview implements IReturn, IConvertible, IGet { String? Id; GetTranslationReview({this.Id}); GetTranslationReview.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Id = json['Id']; return this; } Map toJson() => { 'Id': Id }; createResponse() => TranslationReviewProxy(); getResponseTypeName() => "TranslationReviewProxy"; getTypeName() => "GetTranslationReview"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'www.imglobal.com', types: { 'TranslationUnitProxy': TypeInfo(TypeOf.Class, create:() => TranslationUnitProxy()), 'TranslationUnitGroupProxy': TypeInfo(TypeOf.Class, create:() => TranslationUnitGroupProxy()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'TranslationReviewProxy': TypeInfo(TypeOf.Class, create:() => TranslationReviewProxy()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'GetTranslationReview': TypeInfo(TypeOf.Class, create:() => GetTranslationReview()), });