/* Options: Date: 2026-06-19 13:36:59 Version: 10.05 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api-staging.bookmore.com //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: ReplayVossErrorLog.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class VossErrorLogQueryResponse implements IConvertible { int Id = 0; String? CompanyId; int TypeId = 0; String TypeName = ""; int Source = 0; String SourceName = ""; String Comments = ""; String MetaData = ""; String QueueName = ""; String MessageType = ""; int? DeliveryCount; String DeadLetterReason = ""; bool Resolved; DateTime CreatedDate = DateTime(0); VossErrorLogQueryResponse({this.Id,this.CompanyId,this.TypeId,this.TypeName,this.Source,this.SourceName,this.Comments,this.MetaData,this.QueueName,this.MessageType,this.DeliveryCount,this.DeadLetterReason,this.Resolved,this.CreatedDate}); VossErrorLogQueryResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Id = json['Id']; CompanyId = json['CompanyId']; TypeId = json['TypeId']; TypeName = json['TypeName']; Source = json['Source']; SourceName = json['SourceName']; Comments = json['Comments']; MetaData = json['MetaData']; QueueName = json['QueueName']; MessageType = json['MessageType']; DeliveryCount = json['DeliveryCount']; DeadLetterReason = json['DeadLetterReason']; Resolved = json['Resolved']; CreatedDate = JsonConverters.fromJson(json['CreatedDate'],'DateTime',context!); return this; } Map toJson() => { 'Id': Id, 'CompanyId': CompanyId, 'TypeId': TypeId, 'TypeName': TypeName, 'Source': Source, 'SourceName': SourceName, 'Comments': Comments, 'MetaData': MetaData, 'QueueName': QueueName, 'MessageType': MessageType, 'DeliveryCount': DeliveryCount, 'DeadLetterReason': DeadLetterReason, 'Resolved': Resolved, 'CreatedDate': JsonConverters.toJson(CreatedDate,'DateTime',context!) }; getTypeName() => "VossErrorLogQueryResponse"; TypeContext? context = _ctx; } // @Route("/voss/errorlog/{Id}/replay", "POST") // @ApiResponse(Description="You were unauthorized to call this service", StatusCode=401) class ReplayVossErrorLog implements IReturn, IConvertible, IPost { /** * VossErrorLog id to replay */ // @ApiMember(Description="VossErrorLog id to replay", IsRequired=true) int Id = 0; ReplayVossErrorLog({this.Id}); ReplayVossErrorLog.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Id = json['Id']; return this; } Map toJson() => { 'Id': Id }; createResponse() => VossErrorLogQueryResponse(); getResponseTypeName() => "VossErrorLogQueryResponse"; getTypeName() => "ReplayVossErrorLog"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api_staging.bookmore.com', types: { 'VossErrorLogQueryResponse': TypeInfo(TypeOf.Class, create:() => VossErrorLogQueryResponse()), 'ReplayVossErrorLog': TypeInfo(TypeOf.Class, create:() => ReplayVossErrorLog()), });