/* Options: Date: 2026-06-13 03:55:30 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: RfpListRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class RfpDocument implements IConvertible { int? RfpDocumentID; String? RfpDocumentUID; String? FileName; String? ContentType; int? ContentLength; String? S3Key; String? Status; String? ErrorMessage; String? CreatedBy; DateTime? CreatedAt; DateTime? UpdatedAt; RfpDocument({this.RfpDocumentID,this.RfpDocumentUID,this.FileName,this.ContentType,this.ContentLength,this.S3Key,this.Status,this.ErrorMessage,this.CreatedBy,this.CreatedAt,this.UpdatedAt}); RfpDocument.fromJson(Map json) { fromMap(json); } fromMap(Map json) { RfpDocumentID = json['RfpDocumentID']; RfpDocumentUID = json['RfpDocumentUID']; FileName = json['FileName']; ContentType = json['ContentType']; ContentLength = json['ContentLength']; S3Key = json['S3Key']; Status = json['Status']; ErrorMessage = json['ErrorMessage']; CreatedBy = json['CreatedBy']; CreatedAt = JsonConverters.fromJson(json['CreatedAt'],'DateTime',context!); UpdatedAt = JsonConverters.fromJson(json['UpdatedAt'],'DateTime',context!); return this; } Map toJson() => { 'RfpDocumentID': RfpDocumentID, 'RfpDocumentUID': RfpDocumentUID, 'FileName': FileName, 'ContentType': ContentType, 'ContentLength': ContentLength, 'S3Key': S3Key, 'Status': Status, 'ErrorMessage': ErrorMessage, 'CreatedBy': CreatedBy, 'CreatedAt': JsonConverters.toJson(CreatedAt,'DateTime',context!), 'UpdatedAt': JsonConverters.toJson(UpdatedAt,'DateTime',context!) }; getTypeName() => "RfpDocument"; TypeContext? context = _ctx; } class RfpListResponse implements IConvertible { ResponseStatus? ResponseStatus; List? Documents = []; RfpListResponse({this.ResponseStatus,this.Documents}); RfpListResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); Documents = JsonConverters.fromJson(json['Documents'],'List',context!); return this; } Map toJson() => { 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!), 'Documents': JsonConverters.toJson(Documents,'List',context!) }; getTypeName() => "RfpListResponse"; TypeContext? context = _ctx; } // @Route("/v1/Rfp", "GET,OPTIONS") class RfpListRequest implements IReturn, IConvertible, IGet { RfpListRequest(); RfpListRequest.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; createResponse() => RfpListResponse(); getResponseTypeName() => "RfpListResponse"; getTypeName() => "RfpListRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'RfpDocument': TypeInfo(TypeOf.Class, create:() => RfpDocument()), 'RfpListResponse': TypeInfo(TypeOf.Class, create:() => RfpListResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'RfpListRequest': TypeInfo(TypeOf.Class, create:() => RfpListRequest()), });