/* Options: Date: 2025-12-06 05:24:48 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: ProcessRemindersRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class PolicyDocumentReminder implements IConvertible { int? Id; int? PolicyDocumentId; String? ReminderFor; int? ReminderLeadTime; String? ReminderMessage; int? AdminAgentId; bool? NeedsPrompt; PolicyDocumentReminder({this.Id,this.PolicyDocumentId,this.ReminderFor,this.ReminderLeadTime,this.ReminderMessage,this.AdminAgentId,this.NeedsPrompt}); PolicyDocumentReminder.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Id = json['Id']; PolicyDocumentId = json['PolicyDocumentId']; ReminderFor = json['ReminderFor']; ReminderLeadTime = json['ReminderLeadTime']; ReminderMessage = json['ReminderMessage']; AdminAgentId = json['AdminAgentId']; NeedsPrompt = json['NeedsPrompt']; return this; } Map toJson() => { 'Id': Id, 'PolicyDocumentId': PolicyDocumentId, 'ReminderFor': ReminderFor, 'ReminderLeadTime': ReminderLeadTime, 'ReminderMessage': ReminderMessage, 'AdminAgentId': AdminAgentId, 'NeedsPrompt': NeedsPrompt }; getTypeName() => "PolicyDocumentReminder"; TypeContext? context = _ctx; } // @Route("/v1/ProcessReminders/{PolicyRequiredDocumentId}", "POST,OPTIONS") class ProcessRemindersRequest implements IConvertible, IPost { int? PolicyRequiredDocumentId; List? Reminders = []; ProcessRemindersRequest({this.PolicyRequiredDocumentId,this.Reminders}); ProcessRemindersRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { PolicyRequiredDocumentId = json['PolicyRequiredDocumentId']; Reminders = JsonConverters.fromJson(json['Reminders'],'List',context!); return this; } Map toJson() => { 'PolicyRequiredDocumentId': PolicyRequiredDocumentId, 'Reminders': JsonConverters.toJson(Reminders,'List',context!) }; getTypeName() => "ProcessRemindersRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'PolicyDocumentReminder': TypeInfo(TypeOf.Class, create:() => PolicyDocumentReminder()), 'ProcessRemindersRequest': TypeInfo(TypeOf.Class, create:() => ProcessRemindersRequest()), 'List': TypeInfo(TypeOf.Class, create:() => []), });