/* Options: Date: 2025-12-06 06:54:50 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: ProjectUpdateCostRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class ProjectUpdateCostResponse implements IConvertible { ResponseStatus? ResponseStatus; bool? Success; ProjectUpdateCostResponse({this.ResponseStatus,this.Success}); ProjectUpdateCostResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); Success = json['Success']; return this; } Map toJson() => { 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!), 'Success': Success }; getTypeName() => "ProjectUpdateCostResponse"; TypeContext? context = _ctx; } // @Route("/v1/Project/UpdateProjectCost/", "POST,PUT,DELETE,OPTIONS") class ProjectUpdateCostRequest implements IReturn, IConvertible, IPost { String? EditType; int? ID; double? Rate; double? BilledRate; double? MarkupPercentage; bool? SameMarkupApplyToAll; ProjectUpdateCostRequest({this.EditType,this.ID,this.Rate,this.BilledRate,this.MarkupPercentage,this.SameMarkupApplyToAll}); ProjectUpdateCostRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { EditType = json['EditType']; ID = json['ID']; Rate = JsonConverters.toDouble(json['Rate']); BilledRate = JsonConverters.toDouble(json['BilledRate']); MarkupPercentage = JsonConverters.toDouble(json['MarkupPercentage']); SameMarkupApplyToAll = json['SameMarkupApplyToAll']; return this; } Map toJson() => { 'EditType': EditType, 'ID': ID, 'Rate': Rate, 'BilledRate': BilledRate, 'MarkupPercentage': MarkupPercentage, 'SameMarkupApplyToAll': SameMarkupApplyToAll }; createResponse() => ProjectUpdateCostResponse(); getResponseTypeName() => "ProjectUpdateCostResponse"; getTypeName() => "ProjectUpdateCostRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'ProjectUpdateCostResponse': TypeInfo(TypeOf.Class, create:() => ProjectUpdateCostResponse()), 'ProjectUpdateCostRequest': TypeInfo(TypeOf.Class, create:() => ProjectUpdateCostRequest()), });