/* Options: Date: 2026-08-01 11:40:51 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.dev.dynamics.trendsic.com //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: RfpReprocessRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class RfpStatusResponse implements IConvertible { ResponseStatus? ResponseStatus; int? RfpDocumentID; String? FileName; String? Status; String? ErrorMessage; DateTime? CreatedAt; DateTime? UpdatedAt; String? Stage; String? StageLabel; int? StagePct; int? ElapsedSeconds; RfpStatusResponse({this.ResponseStatus,this.RfpDocumentID,this.FileName,this.Status,this.ErrorMessage,this.CreatedAt,this.UpdatedAt,this.Stage,this.StageLabel,this.StagePct,this.ElapsedSeconds}); RfpStatusResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); RfpDocumentID = json['RfpDocumentID']; FileName = json['FileName']; Status = json['Status']; ErrorMessage = json['ErrorMessage']; CreatedAt = JsonConverters.fromJson(json['CreatedAt'],'DateTime',context!); UpdatedAt = JsonConverters.fromJson(json['UpdatedAt'],'DateTime',context!); Stage = json['Stage']; StageLabel = json['StageLabel']; StagePct = json['StagePct']; ElapsedSeconds = json['ElapsedSeconds']; return this; } Map toJson() => { 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!), 'RfpDocumentID': RfpDocumentID, 'FileName': FileName, 'Status': Status, 'ErrorMessage': ErrorMessage, 'CreatedAt': JsonConverters.toJson(CreatedAt,'DateTime',context!), 'UpdatedAt': JsonConverters.toJson(UpdatedAt,'DateTime',context!), 'Stage': Stage, 'StageLabel': StageLabel, 'StagePct': StagePct, 'ElapsedSeconds': ElapsedSeconds }; getTypeName() => "RfpStatusResponse"; TypeContext? context = _ctx; } // @Route("/v1/Rfp/{RfpDocumentUID}/Reprocess", "POST,OPTIONS") class RfpReprocessRequest implements IReturn, IConvertible, IPost { String? RfpDocumentUID; RfpReprocessRequest({this.RfpDocumentUID}); RfpReprocessRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { RfpDocumentUID = json['RfpDocumentUID']; return this; } Map toJson() => { 'RfpDocumentUID': RfpDocumentUID }; createResponse() => RfpStatusResponse(); getResponseTypeName() => "RfpStatusResponse"; getTypeName() => "RfpReprocessRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'RfpStatusResponse': TypeInfo(TypeOf.Class, create:() => RfpStatusResponse()), 'RfpReprocessRequest': TypeInfo(TypeOf.Class, create:() => RfpReprocessRequest()), });