/* Options: Date: 2025-09-14 07:04:04 Version: 8.52 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://production-eros-platform-apisubscription.azurewebsites.net/api //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: ImportXml.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class ImportXml implements IReturn, IConvertible, IPost { /** * XML string (encoded to base 64) containing data to import into EROS from external system. */ // @ApiMember(DataType="string", Description="XML string (encoded to base 64) containing data to import into EROS from external system.", Name="XmlToImport", ParameterType="query") String? XmlToImport; /** * Guid representing the external systems datasource information. */ // @ApiMember(DataType="Guid", Description="Guid representing the external systems datasource information.", Name="SuiteDataSourceInstanceId", ParameterType="query") String? SuiteDataSourceInstanceId; /** * Import data type. */ // @ApiMember(DataType="Guid", Description="Import data type.", Name="ImportTypeId", ParameterType="query") String? ImportTypeId; /** * Data collected from foreign system falls within now and this date. */ // @ApiMember(DataType="DateTime", Description="Data collected from foreign system falls within now and this date.", Name="CollectionDate", ParameterType="query") DateTime? CollectionDate; /** * Bin Row Version of the last update */ // @ApiMember(DataType="byte[]", Description="Bin Row Version of the last update", Name="RowVersion", ParameterType="query") Uint8List? RowVersion; /** * If true, previous failed import attempts will be removed. */ // @ApiMember(DataType="bool", Description="If true, previous failed import attempts will be removed.", Name="RemovePreviousAttempts", ParameterType="query") bool? RemovePreviousAttempts; ImportXml({this.XmlToImport,this.SuiteDataSourceInstanceId,this.ImportTypeId,this.CollectionDate,this.RowVersion,this.RemovePreviousAttempts}); ImportXml.fromJson(Map json) { fromMap(json); } fromMap(Map json) { XmlToImport = json['XmlToImport']; SuiteDataSourceInstanceId = json['SuiteDataSourceInstanceId']; ImportTypeId = json['ImportTypeId']; CollectionDate = JsonConverters.fromJson(json['CollectionDate'],'DateTime',context!); RowVersion = JsonConverters.fromJson(json['RowVersion'],'Uint8List',context!); RemovePreviousAttempts = json['RemovePreviousAttempts']; return this; } Map toJson() => { 'XmlToImport': XmlToImport, 'SuiteDataSourceInstanceId': SuiteDataSourceInstanceId, 'ImportTypeId': ImportTypeId, 'CollectionDate': JsonConverters.toJson(CollectionDate,'DateTime',context!), 'RowVersion': JsonConverters.toJson(RowVersion,'Uint8List',context!), 'RemovePreviousAttempts': RemovePreviousAttempts }; createResponse() => ResponseStatus(); getResponseTypeName() => "ResponseStatus"; getTypeName() => "ImportXml"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'production_eros_platform_apisubscription.azurewebsites.net', types: { 'ImportXml': TypeInfo(TypeOf.Class, create:() => ImportXml()), 'Uint8List': TypeInfo(TypeOf.Class, create:() => Uint8List(0)), });