/* Options: Date: 2026-01-27 18:42:44 Version: 8.40 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://buildmax.org //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: JsonFileUploadRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class JsonDto implements IConvertible { JsonDto(); JsonDto.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; getTypeName() => "JsonDto"; TypeContext? context = _ctx; } class JsonRequestDto extends JsonDto implements IConvertible { String? ClientCode; String? ClientRegistrationCode; String? Token; JsonRequestDto({this.ClientCode,this.ClientRegistrationCode,this.Token}); JsonRequestDto.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); ClientCode = json['ClientCode']; ClientRegistrationCode = json['ClientRegistrationCode']; Token = json['Token']; return this; } Map toJson() => super.toJson()..addAll({ 'ClientCode': ClientCode, 'ClientRegistrationCode': ClientRegistrationCode, 'Token': Token }); getTypeName() => "JsonRequestDto"; TypeContext? context = _ctx; } class JsonFileUploadResponse extends JsonDto implements IConvertible { String? ErrorMessage; bool? InError; String? TemplateGuid; JsonFileUploadResponse({this.ErrorMessage,this.InError,this.TemplateGuid}); JsonFileUploadResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); ErrorMessage = json['ErrorMessage']; InError = json['InError']; TemplateGuid = json['TemplateGuid']; return this; } Map toJson() => super.toJson()..addAll({ 'ErrorMessage': ErrorMessage, 'InError': InError, 'TemplateGuid': TemplateGuid }); getTypeName() => "JsonFileUploadResponse"; TypeContext? context = _ctx; } class JsonFileUploadRequest extends JsonRequestDto implements IReturn, IConvertible, IPost { String? FileName; Uint8List? RequestStream; String? TemplateGuid; JsonFileUploadRequest({this.FileName,this.RequestStream,this.TemplateGuid}); JsonFileUploadRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); FileName = json['FileName']; RequestStream = JsonConverters.fromJson(json['RequestStream'],'Uint8List',context!); TemplateGuid = json['TemplateGuid']; return this; } Map toJson() => super.toJson()..addAll({ 'FileName': FileName, 'RequestStream': JsonConverters.toJson(RequestStream,'Uint8List',context!), 'TemplateGuid': TemplateGuid }); createResponse() => JsonFileUploadResponse(); getResponseTypeName() => "JsonFileUploadResponse"; getTypeName() => "JsonFileUploadRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'buildmax.org', types: { 'JsonDto': TypeInfo(TypeOf.Class, create:() => JsonDto()), 'JsonRequestDto': TypeInfo(TypeOf.Class, create:() => JsonRequestDto()), 'JsonFileUploadResponse': TypeInfo(TypeOf.Class, create:() => JsonFileUploadResponse()), 'JsonFileUploadRequest': TypeInfo(TypeOf.Class, create:() => JsonFileUploadRequest()), 'Uint8List': TypeInfo(TypeOf.Class, create:() => Uint8List(0)), });