/* Options: Date: 2026-12-06 09:07:03 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: EstimateMarkupDefaultPutRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class EstimateMarkupDefaultView implements IConvertible { bool? IsSet; double? OhpPct; double? CrewOhpPct; double? EquipmentOhpPct; double? MaterialOhpPct; double? SubcontractOhpPct; String? Line; bool? SameAsEstimate; String? SaveQuestion; EstimateMarkupDefaultView({this.IsSet,this.OhpPct,this.CrewOhpPct,this.EquipmentOhpPct,this.MaterialOhpPct,this.SubcontractOhpPct,this.Line,this.SameAsEstimate,this.SaveQuestion}); EstimateMarkupDefaultView.fromJson(Map json) { fromMap(json); } fromMap(Map json) { IsSet = json['IsSet']; OhpPct = JsonConverters.toDouble(json['OhpPct']); CrewOhpPct = JsonConverters.toDouble(json['CrewOhpPct']); EquipmentOhpPct = JsonConverters.toDouble(json['EquipmentOhpPct']); MaterialOhpPct = JsonConverters.toDouble(json['MaterialOhpPct']); SubcontractOhpPct = JsonConverters.toDouble(json['SubcontractOhpPct']); Line = json['Line']; SameAsEstimate = json['SameAsEstimate']; SaveQuestion = json['SaveQuestion']; return this; } Map toJson() => { 'IsSet': IsSet, 'OhpPct': OhpPct, 'CrewOhpPct': CrewOhpPct, 'EquipmentOhpPct': EquipmentOhpPct, 'MaterialOhpPct': MaterialOhpPct, 'SubcontractOhpPct': SubcontractOhpPct, 'Line': Line, 'SameAsEstimate': SameAsEstimate, 'SaveQuestion': SaveQuestion }; getTypeName() => "EstimateMarkupDefaultView"; TypeContext? context = _ctx; } class EstimateMarkupDefaultResponse implements IConvertible { ResponseStatus? ResponseStatus; EstimateMarkupDefaultView? MarkupDefault; EstimateMarkupDefaultResponse({this.ResponseStatus,this.MarkupDefault}); EstimateMarkupDefaultResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); MarkupDefault = JsonConverters.fromJson(json['MarkupDefault'],'EstimateMarkupDefaultView',context!); return this; } Map toJson() => { 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!), 'MarkupDefault': JsonConverters.toJson(MarkupDefault,'EstimateMarkupDefaultView',context!) }; getTypeName() => "EstimateMarkupDefaultResponse"; TypeContext? context = _ctx; } // @Route("/v1/Rfp/Estimate/MarkupDefault", "PUT,OPTIONS") class EstimateMarkupDefaultPutRequest implements IReturn, IConvertible, IPut { double? OhpPct; double? CrewOhpPct; double? EquipmentOhpPct; double? MaterialOhpPct; double? SubcontractOhpPct; String? RfpDocumentUID; EstimateMarkupDefaultPutRequest({this.OhpPct,this.CrewOhpPct,this.EquipmentOhpPct,this.MaterialOhpPct,this.SubcontractOhpPct,this.RfpDocumentUID}); EstimateMarkupDefaultPutRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { OhpPct = JsonConverters.toDouble(json['OhpPct']); CrewOhpPct = JsonConverters.toDouble(json['CrewOhpPct']); EquipmentOhpPct = JsonConverters.toDouble(json['EquipmentOhpPct']); MaterialOhpPct = JsonConverters.toDouble(json['MaterialOhpPct']); SubcontractOhpPct = JsonConverters.toDouble(json['SubcontractOhpPct']); RfpDocumentUID = json['RfpDocumentUID']; return this; } Map toJson() => { 'OhpPct': OhpPct, 'CrewOhpPct': CrewOhpPct, 'EquipmentOhpPct': EquipmentOhpPct, 'MaterialOhpPct': MaterialOhpPct, 'SubcontractOhpPct': SubcontractOhpPct, 'RfpDocumentUID': RfpDocumentUID }; createResponse() => EstimateMarkupDefaultResponse(); getResponseTypeName() => "EstimateMarkupDefaultResponse"; getTypeName() => "EstimateMarkupDefaultPutRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'EstimateMarkupDefaultView': TypeInfo(TypeOf.Class, create:() => EstimateMarkupDefaultView()), 'EstimateMarkupDefaultResponse': TypeInfo(TypeOf.Class, create:() => EstimateMarkupDefaultResponse()), 'EstimateMarkupDefaultPutRequest': TypeInfo(TypeOf.Class, create:() => EstimateMarkupDefaultPutRequest()), });