/* Options: Date: 2026-04-02 03:56:57 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: MarkForTranslation.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; // @Route("/translations/translate/mark", "PUT") class MarkForTranslation implements IConvertible, IPut { List? Ids; String? ProviderName; String? ItemType; String? SourceLanguage; List? TargetLanguages; String? ActualSourceLanguage; bool? AllowPartialSuccess; MarkForTranslation({this.Ids,this.ProviderName,this.ItemType,this.SourceLanguage,this.TargetLanguages,this.ActualSourceLanguage,this.AllowPartialSuccess}); MarkForTranslation.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Ids = JsonConverters.fromJson(json['Ids'],'List',context!); ProviderName = json['ProviderName']; ItemType = json['ItemType']; SourceLanguage = json['SourceLanguage']; TargetLanguages = JsonConverters.fromJson(json['TargetLanguages'],'List',context!); ActualSourceLanguage = json['ActualSourceLanguage']; AllowPartialSuccess = json['AllowPartialSuccess']; return this; } Map toJson() => { 'Ids': JsonConverters.toJson(Ids,'List',context!), 'ProviderName': ProviderName, 'ItemType': ItemType, 'SourceLanguage': SourceLanguage, 'TargetLanguages': JsonConverters.toJson(TargetLanguages,'List',context!), 'ActualSourceLanguage': ActualSourceLanguage, 'AllowPartialSuccess': AllowPartialSuccess }; getTypeName() => "MarkForTranslation"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'www.imglobal.com', types: { 'MarkForTranslation': TypeInfo(TypeOf.Class, create:() => MarkForTranslation()), });