/* Options: Date: 2025-12-06 08:44:25 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: AgentReminderRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class Reminder implements IConvertible { String? ReminderId; String? TableName; String? FieldName; int? RecordId; DateTime? ReminderDate; String? ReminderNote; DateTime? CreatedDate; String? CreatedBy; DateTime? CompletedDate; Reminder({this.ReminderId,this.TableName,this.FieldName,this.RecordId,this.ReminderDate,this.ReminderNote,this.CreatedDate,this.CreatedBy,this.CompletedDate}); Reminder.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ReminderId = json['ReminderId']; TableName = json['TableName']; FieldName = json['FieldName']; RecordId = json['RecordId']; ReminderDate = JsonConverters.fromJson(json['ReminderDate'],'DateTime',context!); ReminderNote = json['ReminderNote']; CreatedDate = JsonConverters.fromJson(json['CreatedDate'],'DateTime',context!); CreatedBy = json['CreatedBy']; CompletedDate = JsonConverters.fromJson(json['CompletedDate'],'DateTime',context!); return this; } Map toJson() => { 'ReminderId': ReminderId, 'TableName': TableName, 'FieldName': FieldName, 'RecordId': RecordId, 'ReminderDate': JsonConverters.toJson(ReminderDate,'DateTime',context!), 'ReminderNote': ReminderNote, 'CreatedDate': JsonConverters.toJson(CreatedDate,'DateTime',context!), 'CreatedBy': CreatedBy, 'CompletedDate': JsonConverters.toJson(CompletedDate,'DateTime',context!) }; getTypeName() => "Reminder"; TypeContext? context = _ctx; } class ReminderExtended extends Reminder implements IConvertible { String? AgentName; String? RecordAgentName; int? RecordAgentID; bool? IsAdmin; int? AgentID; ReminderExtended({this.AgentName,this.RecordAgentName,this.RecordAgentID,this.IsAdmin,this.AgentID}); ReminderExtended.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); AgentName = json['AgentName']; RecordAgentName = json['RecordAgentName']; RecordAgentID = json['RecordAgentID']; IsAdmin = json['IsAdmin']; AgentID = json['AgentID']; return this; } Map toJson() => super.toJson()..addAll({ 'AgentName': AgentName, 'RecordAgentName': RecordAgentName, 'RecordAgentID': RecordAgentID, 'IsAdmin': IsAdmin, 'AgentID': AgentID }); getTypeName() => "ReminderExtended"; TypeContext? context = _ctx; } class ReminderResponse implements IConvertible { ResponseStatus? ResponseStatus; List? Reminder = []; ReminderResponse({this.ResponseStatus,this.Reminder}); ReminderResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); Reminder = JsonConverters.fromJson(json['Reminder'],'List',context!); return this; } Map toJson() => { 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!), 'Reminder': JsonConverters.toJson(Reminder,'List',context!) }; getTypeName() => "ReminderResponse"; TypeContext? context = _ctx; } // @Route("/v1/AgentReminder", "GET,OPTIONS") class AgentReminderRequest implements IReturn, IConvertible, IGet { bool? IsAdmin; String? ReminderType; AgentReminderRequest({this.IsAdmin,this.ReminderType}); AgentReminderRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { IsAdmin = json['IsAdmin']; ReminderType = json['ReminderType']; return this; } Map toJson() => { 'IsAdmin': IsAdmin, 'ReminderType': ReminderType }; createResponse() => ReminderResponse(); getResponseTypeName() => "ReminderResponse"; getTypeName() => "AgentReminderRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'Reminder': TypeInfo(TypeOf.Class, create:() => Reminder()), 'ReminderExtended': TypeInfo(TypeOf.Class, create:() => ReminderExtended()), 'ReminderResponse': TypeInfo(TypeOf.Class, create:() => ReminderResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'AgentReminderRequest': TypeInfo(TypeOf.Class, create:() => AgentReminderRequest()), });