/* Options: Date: 2025-12-06 08:51:27 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: PolicyDocumentReminderRequest.* //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; } class PolicyDocumentReminderResponse implements IConvertible { ResponseStatus? ResponseStatus; List? PolicyDocumentReminder = []; PolicyDocumentReminderResponse({this.ResponseStatus,this.PolicyDocumentReminder}); PolicyDocumentReminderResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); PolicyDocumentReminder = JsonConverters.fromJson(json['PolicyDocumentReminder'],'List',context!); return this; } Map toJson() => { 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!), 'PolicyDocumentReminder': JsonConverters.toJson(PolicyDocumentReminder,'List',context!) }; getTypeName() => "PolicyDocumentReminderResponse"; TypeContext? context = _ctx; } // @Route("/v1/PolicyDocumentReminder/{PolicyDocumentId}", "GET,OPTIONS") // @Route("/v1/PolicyDocumentReminder/", "POST,PUT,OPTIONS") // @Route("/v1/PolicyDocumentReminder/{Id}", "DELETE,OPTIONS") class PolicyDocumentReminderRequest implements IReturn, IConvertible, IGet { int? Id; int? PolicyDocumentId; PolicyDocumentReminder? Reminder; PolicyDocumentReminderRequest({this.Id,this.PolicyDocumentId,this.Reminder}); PolicyDocumentReminderRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Id = json['Id']; PolicyDocumentId = json['PolicyDocumentId']; Reminder = JsonConverters.fromJson(json['Reminder'],'PolicyDocumentReminder',context!); return this; } Map toJson() => { 'Id': Id, 'PolicyDocumentId': PolicyDocumentId, 'Reminder': JsonConverters.toJson(Reminder,'PolicyDocumentReminder',context!) }; createResponse() => PolicyDocumentReminderResponse(); getResponseTypeName() => "PolicyDocumentReminderResponse"; getTypeName() => "PolicyDocumentReminderRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'PolicyDocumentReminder': TypeInfo(TypeOf.Class, create:() => PolicyDocumentReminder()), 'PolicyDocumentReminderResponse': TypeInfo(TypeOf.Class, create:() => PolicyDocumentReminderResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'PolicyDocumentReminderRequest': TypeInfo(TypeOf.Class, create:() => PolicyDocumentReminderRequest()), });