/* Options: Date: 2026-06-13 04:12:49 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: RfpBriefRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class RfpLocation implements IConvertible { String? Description; String? City; String? State; String? Identifier; RfpLocation({this.Description,this.City,this.State,this.Identifier}); RfpLocation.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Description = json['Description']; City = json['City']; State = json['State']; Identifier = json['Identifier']; return this; } Map toJson() => { 'Description': Description, 'City': City, 'State': State, 'Identifier': Identifier }; getTypeName() => "RfpLocation"; TypeContext? context = _ctx; } class RfpSchedule implements IConvertible { String? BidDueDate; String? EstimatedStartDate; String? QuestionsDueDate; int? ContractDurationDays; String? Notes; RfpSchedule({this.BidDueDate,this.EstimatedStartDate,this.QuestionsDueDate,this.ContractDurationDays,this.Notes}); RfpSchedule.fromJson(Map json) { fromMap(json); } fromMap(Map json) { BidDueDate = json['BidDueDate']; EstimatedStartDate = json['EstimatedStartDate']; QuestionsDueDate = json['QuestionsDueDate']; ContractDurationDays = json['ContractDurationDays']; Notes = json['Notes']; return this; } Map toJson() => { 'BidDueDate': BidDueDate, 'EstimatedStartDate': EstimatedStartDate, 'QuestionsDueDate': QuestionsDueDate, 'ContractDurationDays': ContractDurationDays, 'Notes': Notes }; getTypeName() => "RfpSchedule"; TypeContext? context = _ctx; } class RfpLineItem implements IConvertible { String? ItemNumber; String? Description; double? Quantity; String? Unit; String? Category; String? SourceReference; RfpLineItem({this.ItemNumber,this.Description,this.Quantity,this.Unit,this.Category,this.SourceReference}); RfpLineItem.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ItemNumber = json['ItemNumber']; Description = json['Description']; Quantity = JsonConverters.toDouble(json['Quantity']); Unit = json['Unit']; Category = json['Category']; SourceReference = json['SourceReference']; return this; } Map toJson() => { 'ItemNumber': ItemNumber, 'Description': Description, 'Quantity': Quantity, 'Unit': Unit, 'Category': Category, 'SourceReference': SourceReference }; getTypeName() => "RfpLineItem"; TypeContext? context = _ctx; } class RfpBidConstraint implements IConvertible { String? Constraint; String? Detail; RfpBidConstraint({this.Constraint,this.Detail}); RfpBidConstraint.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Constraint = json['Constraint']; Detail = json['Detail']; return this; } Map toJson() => { 'Constraint': Constraint, 'Detail': Detail }; getTypeName() => "RfpBidConstraint"; TypeContext? context = _ctx; } class RfpBrief implements IConvertible { String? ProjectTitle; String? SolicitationNumber; String? IssuingOrganization; String? ProjectType; String? Summary; List? Locations = []; RfpSchedule? Schedule; List? LineItems = []; List? BidConstraints = []; List? SpecialRequirements = []; RfpBrief({this.ProjectTitle,this.SolicitationNumber,this.IssuingOrganization,this.ProjectType,this.Summary,this.Locations,this.Schedule,this.LineItems,this.BidConstraints,this.SpecialRequirements}); RfpBrief.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ProjectTitle = json['ProjectTitle']; SolicitationNumber = json['SolicitationNumber']; IssuingOrganization = json['IssuingOrganization']; ProjectType = json['ProjectType']; Summary = json['Summary']; Locations = JsonConverters.fromJson(json['Locations'],'List',context!); Schedule = JsonConverters.fromJson(json['Schedule'],'RfpSchedule',context!); LineItems = JsonConverters.fromJson(json['LineItems'],'List',context!); BidConstraints = JsonConverters.fromJson(json['BidConstraints'],'List',context!); SpecialRequirements = JsonConverters.fromJson(json['SpecialRequirements'],'List',context!); return this; } Map toJson() => { 'ProjectTitle': ProjectTitle, 'SolicitationNumber': SolicitationNumber, 'IssuingOrganization': IssuingOrganization, 'ProjectType': ProjectType, 'Summary': Summary, 'Locations': JsonConverters.toJson(Locations,'List',context!), 'Schedule': JsonConverters.toJson(Schedule,'RfpSchedule',context!), 'LineItems': JsonConverters.toJson(LineItems,'List',context!), 'BidConstraints': JsonConverters.toJson(BidConstraints,'List',context!), 'SpecialRequirements': JsonConverters.toJson(SpecialRequirements,'List',context!) }; getTypeName() => "RfpBrief"; TypeContext? context = _ctx; } class RfpBriefResponse implements IConvertible { ResponseStatus? ResponseStatus; int? RfpDocumentID; RfpBrief? Brief; RfpBriefResponse({this.ResponseStatus,this.RfpDocumentID,this.Brief}); RfpBriefResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); RfpDocumentID = json['RfpDocumentID']; Brief = JsonConverters.fromJson(json['Brief'],'RfpBrief',context!); return this; } Map toJson() => { 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!), 'RfpDocumentID': RfpDocumentID, 'Brief': JsonConverters.toJson(Brief,'RfpBrief',context!) }; getTypeName() => "RfpBriefResponse"; TypeContext? context = _ctx; } // @Route("/v1/Rfp/{RfpDocumentUID}/Brief", "GET,OPTIONS") class RfpBriefRequest implements IReturn, IConvertible, IGet { String? RfpDocumentUID; RfpBriefRequest({this.RfpDocumentUID}); RfpBriefRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { RfpDocumentUID = json['RfpDocumentUID']; return this; } Map toJson() => { 'RfpDocumentUID': RfpDocumentUID }; createResponse() => RfpBriefResponse(); getResponseTypeName() => "RfpBriefResponse"; getTypeName() => "RfpBriefRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'RfpLocation': TypeInfo(TypeOf.Class, create:() => RfpLocation()), 'RfpSchedule': TypeInfo(TypeOf.Class, create:() => RfpSchedule()), 'RfpLineItem': TypeInfo(TypeOf.Class, create:() => RfpLineItem()), 'RfpBidConstraint': TypeInfo(TypeOf.Class, create:() => RfpBidConstraint()), 'RfpBrief': TypeInfo(TypeOf.Class, create:() => RfpBrief()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'RfpBriefResponse': TypeInfo(TypeOf.Class, create:() => RfpBriefResponse()), 'RfpBriefRequest': TypeInfo(TypeOf.Class, create:() => RfpBriefRequest()), });