/* Options: Date: 2024-09-19 22:52:20 Version: 8.30 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://titleprocessing-test.sirva.com //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: TitleRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; // @Route("/inbound_title", "POST, PUT") // @Route("/inbound_title/{xmldata}", "POST, PUT") class TitleRequest implements IPost, IPut, IConvertible { Uint8List? requestStream; String? xmldata; TitleRequest({this.requestStream,this.xmldata}); TitleRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { requestStream = JsonConverters.fromJson(json['requestStream'],'Uint8List',context!); xmldata = json['xmldata']; return this; } Map toJson() => { 'requestStream': JsonConverters.toJson(requestStream,'Uint8List',context!), 'xmldata': xmldata }; getTypeName() => "TitleRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'titleprocessing_test.sirva.com', types: { 'TitleRequest': TypeInfo(TypeOf.Class, create:() => TitleRequest()), 'Uint8List': TypeInfo(TypeOf.Class, create:() => Uint8List(0)), });