/* Options: Date: 2026-08-01 05:31:21 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: EmailOAuthSyncInboundRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class EmailOAuthSyncResponse implements IConvertible { int? Fetched; int? Threaded; int? Unmatched; ResponseStatus? ResponseStatus; EmailOAuthSyncResponse({this.Fetched,this.Threaded,this.Unmatched,this.ResponseStatus}); EmailOAuthSyncResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Fetched = json['Fetched']; Threaded = json['Threaded']; Unmatched = json['Unmatched']; ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'Fetched': Fetched, 'Threaded': Threaded, 'Unmatched': Unmatched, 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!) }; getTypeName() => "EmailOAuthSyncResponse"; TypeContext? context = _ctx; } // @Route("/v1/emailoauth/sync-inbound", "POST,OPTIONS") class EmailOAuthSyncInboundRequest implements IReturn, IConvertible, IPost { int? Days; EmailOAuthSyncInboundRequest({this.Days}); EmailOAuthSyncInboundRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Days = json['Days']; return this; } Map toJson() => { 'Days': Days }; createResponse() => EmailOAuthSyncResponse(); getResponseTypeName() => "EmailOAuthSyncResponse"; getTypeName() => "EmailOAuthSyncInboundRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'EmailOAuthSyncResponse': TypeInfo(TypeOf.Class, create:() => EmailOAuthSyncResponse()), 'EmailOAuthSyncInboundRequest': TypeInfo(TypeOf.Class, create:() => EmailOAuthSyncInboundRequest()), });