/* Options: Date: 2025-12-06 07:24:57 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: ContactCategorizationRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class ContactCategorization implements IConvertible { int? AgentId; String? FirstName; String? LastName; String? AgentStatus; int? TotalContacts; int? TotalUncategorized; int? TotalA; int? TotalB; int? TotalC; int? TotalD; int? TotalI; ContactCategorization({this.AgentId,this.FirstName,this.LastName,this.AgentStatus,this.TotalContacts,this.TotalUncategorized,this.TotalA,this.TotalB,this.TotalC,this.TotalD,this.TotalI}); ContactCategorization.fromJson(Map json) { fromMap(json); } fromMap(Map json) { AgentId = json['AgentId']; FirstName = json['FirstName']; LastName = json['LastName']; AgentStatus = json['AgentStatus']; TotalContacts = json['TotalContacts']; TotalUncategorized = json['TotalUncategorized']; TotalA = json['TotalA']; TotalB = json['TotalB']; TotalC = json['TotalC']; TotalD = json['TotalD']; TotalI = json['TotalI']; return this; } Map toJson() => { 'AgentId': AgentId, 'FirstName': FirstName, 'LastName': LastName, 'AgentStatus': AgentStatus, 'TotalContacts': TotalContacts, 'TotalUncategorized': TotalUncategorized, 'TotalA': TotalA, 'TotalB': TotalB, 'TotalC': TotalC, 'TotalD': TotalD, 'TotalI': TotalI }; getTypeName() => "ContactCategorization"; TypeContext? context = _ctx; } class ContactCategorizationResponse implements IConvertible { ResponseStatus? ResponseStatus; List? ContactCategorizations = []; ContactCategorizationResponse({this.ResponseStatus,this.ContactCategorizations}); ContactCategorizationResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); ContactCategorizations = JsonConverters.fromJson(json['ContactCategorizations'],'List',context!); return this; } Map toJson() => { 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!), 'ContactCategorizations': JsonConverters.toJson(ContactCategorizations,'List',context!) }; getTypeName() => "ContactCategorizationResponse"; TypeContext? context = _ctx; } // @Route("/v1/Report/ContactCategorization", "GET,OPTIONS") class ContactCategorizationRequest implements IReturn, IConvertible, IGet { ContactCategorizationRequest(); ContactCategorizationRequest.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; createResponse() => ContactCategorizationResponse(); getResponseTypeName() => "ContactCategorizationResponse"; getTypeName() => "ContactCategorizationRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'ContactCategorization': TypeInfo(TypeOf.Class, create:() => ContactCategorization()), 'ContactCategorizationResponse': TypeInfo(TypeOf.Class, create:() => ContactCategorizationResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'ContactCategorizationRequest': TypeInfo(TypeOf.Class, create:() => ContactCategorizationRequest()), });