/* Options: Date: 2026-07-08 21:13:43 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: PmAgentListRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class PmAgentItem implements IConvertible { String? UserId; String? Name; PmAgentItem({this.UserId,this.Name}); PmAgentItem.fromJson(Map json) { fromMap(json); } fromMap(Map json) { UserId = json['UserId']; Name = json['Name']; return this; } Map toJson() => { 'UserId': UserId, 'Name': Name }; getTypeName() => "PmAgentItem"; TypeContext? context = _ctx; } class PmAgentListResponse implements IConvertible { List? Agents = []; PmAgentListResponse({this.Agents}); PmAgentListResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Agents = JsonConverters.fromJson(json['Agents'],'List',context!); return this; } Map toJson() => { 'Agents': JsonConverters.toJson(Agents,'List',context!) }; getTypeName() => "PmAgentListResponse"; TypeContext? context = _ctx; } // @Route("/v1/pm/agents", "GET,OPTIONS") class PmAgentListRequest implements IReturn, IConvertible, IGet { PmAgentListRequest(); PmAgentListRequest.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; createResponse() => PmAgentListResponse(); getResponseTypeName() => "PmAgentListResponse"; getTypeName() => "PmAgentListRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'PmAgentItem': TypeInfo(TypeOf.Class, create:() => PmAgentItem()), 'PmAgentListResponse': TypeInfo(TypeOf.Class, create:() => PmAgentListResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'PmAgentListRequest': TypeInfo(TypeOf.Class, create:() => PmAgentListRequest()), });