/* Options: Date: 2026-08-01 02:23:39 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: EmailOAuthStatusRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class EmailOAuthStatusResponse implements IConvertible { bool? Configured; bool? Connected; String? Provider; String? EmailAddress; String? Status; String? LastError; String? LastInboundIso; ResponseStatus? ResponseStatus; EmailOAuthStatusResponse({this.Configured,this.Connected,this.Provider,this.EmailAddress,this.Status,this.LastError,this.LastInboundIso,this.ResponseStatus}); EmailOAuthStatusResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Configured = json['Configured']; Connected = json['Connected']; Provider = json['Provider']; EmailAddress = json['EmailAddress']; Status = json['Status']; LastError = json['LastError']; LastInboundIso = json['LastInboundIso']; ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'Configured': Configured, 'Connected': Connected, 'Provider': Provider, 'EmailAddress': EmailAddress, 'Status': Status, 'LastError': LastError, 'LastInboundIso': LastInboundIso, 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!) }; getTypeName() => "EmailOAuthStatusResponse"; TypeContext? context = _ctx; } // @Route("/v1/emailoauth/status", "GET,OPTIONS") class EmailOAuthStatusRequest implements IReturn, IConvertible, IGet { EmailOAuthStatusRequest(); EmailOAuthStatusRequest.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; createResponse() => EmailOAuthStatusResponse(); getResponseTypeName() => "EmailOAuthStatusResponse"; getTypeName() => "EmailOAuthStatusRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'EmailOAuthStatusResponse': TypeInfo(TypeOf.Class, create:() => EmailOAuthStatusResponse()), 'EmailOAuthStatusRequest': TypeInfo(TypeOf.Class, create:() => EmailOAuthStatusRequest()), });