/* Options: Date: 2025-12-06 07:25: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: AgentDropdownAdminRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class AgentDD implements IConvertible { int? AgentId; String? AgentName; String? AgentStatus; int? ContactCount; AgentDD({this.AgentId,this.AgentName,this.AgentStatus,this.ContactCount}); AgentDD.fromJson(Map json) { fromMap(json); } fromMap(Map json) { AgentId = json['AgentId']; AgentName = json['AgentName']; AgentStatus = json['AgentStatus']; ContactCount = json['ContactCount']; return this; } Map toJson() => { 'AgentId': AgentId, 'AgentName': AgentName, 'AgentStatus': AgentStatus, 'ContactCount': ContactCount }; getTypeName() => "AgentDD"; TypeContext? context = _ctx; } class AgentDropdownResponse implements IConvertible { ResponseStatus? ResponseStatus; List? Agents = []; AgentDropdownResponse({this.ResponseStatus,this.Agents}); AgentDropdownResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); Agents = JsonConverters.fromJson(json['Agents'],'List',context!); return this; } Map toJson() => { 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!), 'Agents': JsonConverters.toJson(Agents,'List',context!) }; getTypeName() => "AgentDropdownResponse"; TypeContext? context = _ctx; } // @Route("/v1/Agent/Dropdown/Admin", "GET,OPTIONS") class AgentDropdownAdminRequest implements IReturn, IConvertible, IGet { AgentDropdownAdminRequest(); AgentDropdownAdminRequest.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; createResponse() => AgentDropdownResponse(); getResponseTypeName() => "AgentDropdownResponse"; getTypeName() => "AgentDropdownAdminRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'AgentDD': TypeInfo(TypeOf.Class, create:() => AgentDD()), 'AgentDropdownResponse': TypeInfo(TypeOf.Class, create:() => AgentDropdownResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'AgentDropdownAdminRequest': TypeInfo(TypeOf.Class, create:() => AgentDropdownAdminRequest()), });