/* Options: Date: 2026-07-08 19:46:41 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: DbeEeoRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class DbeEeoRow implements IConvertible { String? Label; double? ActualValue; double? GoalValue; bool? IsPercent; DbeEeoRow({this.Label,this.ActualValue,this.GoalValue,this.IsPercent}); DbeEeoRow.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Label = json['Label']; ActualValue = JsonConverters.toDouble(json['ActualValue']); GoalValue = JsonConverters.toDouble(json['GoalValue']); IsPercent = json['IsPercent']; return this; } Map toJson() => { 'Label': Label, 'ActualValue': ActualValue, 'GoalValue': GoalValue, 'IsPercent': IsPercent }; getTypeName() => "DbeEeoRow"; TypeContext? context = _ctx; } class DbeEeoResponse implements IConvertible { ResponseStatus? ResponseStatus; int? ProjectID; List? Rows = []; DbeEeoResponse({this.ResponseStatus,this.ProjectID,this.Rows}); DbeEeoResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); ProjectID = json['ProjectID']; Rows = JsonConverters.fromJson(json['Rows'],'List',context!); return this; } Map toJson() => { 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!), 'ProjectID': ProjectID, 'Rows': JsonConverters.toJson(Rows,'List',context!) }; getTypeName() => "DbeEeoResponse"; TypeContext? context = _ctx; } // @Route("/v1/projects/{ProjectID}/dbe-eeo", "GET,OPTIONS") class DbeEeoRequest implements IReturn, IConvertible, IGet { int? ProjectID; String? Week; DbeEeoRequest({this.ProjectID,this.Week}); DbeEeoRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ProjectID = json['ProjectID']; Week = json['Week']; return this; } Map toJson() => { 'ProjectID': ProjectID, 'Week': Week }; createResponse() => DbeEeoResponse(); getResponseTypeName() => "DbeEeoResponse"; getTypeName() => "DbeEeoRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'DbeEeoRow': TypeInfo(TypeOf.Class, create:() => DbeEeoRow()), 'DbeEeoResponse': TypeInfo(TypeOf.Class, create:() => DbeEeoResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'DbeEeoRequest': TypeInfo(TypeOf.Class, create:() => DbeEeoRequest()), });