/* Options: Date: 2026-08-01 07:36:42 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: RfpDeactivateDocumentRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; 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; int? ParentRfpDocumentID; String? DocumentType; bool? IsActive; RfpDocument({this.RfpDocumentID,this.RfpDocumentUID,this.FileName,this.ContentType,this.ContentLength,this.S3Key,this.Status,this.ErrorMessage,this.CreatedBy,this.CreatedAt,this.UpdatedAt,this.ParentRfpDocumentID,this.DocumentType,this.IsActive}); 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!); ParentRfpDocumentID = json['ParentRfpDocumentID']; DocumentType = json['DocumentType']; IsActive = json['IsActive']; 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!), 'ParentRfpDocumentID': ParentRfpDocumentID, 'DocumentType': DocumentType, 'IsActive': IsActive }; getTypeName() => "RfpDocument"; TypeContext? context = _ctx; } class RfpChildrenResponse implements IConvertible { ResponseStatus? ResponseStatus; int? RfpDocumentID; List? Documents = []; RfpChildrenResponse({this.ResponseStatus,this.RfpDocumentID,this.Documents}); RfpChildrenResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); RfpDocumentID = json['RfpDocumentID']; Documents = JsonConverters.fromJson(json['Documents'],'List',context!); return this; } Map toJson() => { 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!), 'RfpDocumentID': RfpDocumentID, 'Documents': JsonConverters.toJson(Documents,'List',context!) }; getTypeName() => "RfpChildrenResponse"; TypeContext? context = _ctx; } // @Route("/v1/Rfp/{RfpDocumentUID}/Documents/{ChildRfpDocumentUID}/Deactivate", "POST,OPTIONS") class RfpDeactivateDocumentRequest implements IReturn, IConvertible, IPost { String? RfpDocumentUID; String? ChildRfpDocumentUID; RfpDeactivateDocumentRequest({this.RfpDocumentUID,this.ChildRfpDocumentUID}); RfpDeactivateDocumentRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { RfpDocumentUID = json['RfpDocumentUID']; ChildRfpDocumentUID = json['ChildRfpDocumentUID']; return this; } Map toJson() => { 'RfpDocumentUID': RfpDocumentUID, 'ChildRfpDocumentUID': ChildRfpDocumentUID }; createResponse() => RfpChildrenResponse(); getResponseTypeName() => "RfpChildrenResponse"; getTypeName() => "RfpDeactivateDocumentRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'RfpDocument': TypeInfo(TypeOf.Class, create:() => RfpDocument()), 'RfpChildrenResponse': TypeInfo(TypeOf.Class, create:() => RfpChildrenResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'RfpDeactivateDocumentRequest': TypeInfo(TypeOf.Class, create:() => RfpDeactivateDocumentRequest()), });