/* Options: Date: 2026-06-22 20:32:36 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: PmAttentionRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class PmAttentionItem implements IConvertible { String? ProjectUID; String? ProjectName; String? Branch; String? Category; int? Severity; String? Title; String? Detail; PmAttentionItem({this.ProjectUID,this.ProjectName,this.Branch,this.Category,this.Severity,this.Title,this.Detail}); PmAttentionItem.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ProjectUID = json['ProjectUID']; ProjectName = json['ProjectName']; Branch = json['Branch']; Category = json['Category']; Severity = json['Severity']; Title = json['Title']; Detail = json['Detail']; return this; } Map toJson() => { 'ProjectUID': ProjectUID, 'ProjectName': ProjectName, 'Branch': Branch, 'Category': Category, 'Severity': Severity, 'Title': Title, 'Detail': Detail }; getTypeName() => "PmAttentionItem"; TypeContext? context = _ctx; } class PmAttentionResponse implements IConvertible { List? Items = []; int? HighCount; int? MedCount; ResponseStatus? ResponseStatus; PmAttentionResponse({this.Items,this.HighCount,this.MedCount,this.ResponseStatus}); PmAttentionResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Items = JsonConverters.fromJson(json['Items'],'List',context!); HighCount = json['HighCount']; MedCount = json['MedCount']; ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'Items': JsonConverters.toJson(Items,'List',context!), 'HighCount': HighCount, 'MedCount': MedCount, 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!) }; getTypeName() => "PmAttentionResponse"; TypeContext? context = _ctx; } // @Route("/v1/pm/attention", "GET,OPTIONS") class PmAttentionRequest implements IReturn, IConvertible, IGet { PmAttentionRequest(); PmAttentionRequest.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; createResponse() => PmAttentionResponse(); getResponseTypeName() => "PmAttentionResponse"; getTypeName() => "PmAttentionRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'PmAttentionItem': TypeInfo(TypeOf.Class, create:() => PmAttentionItem()), 'PmAttentionResponse': TypeInfo(TypeOf.Class, create:() => PmAttentionResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'PmAttentionRequest': TypeInfo(TypeOf.Class, create:() => PmAttentionRequest()), });