/* Options: Date: 2024-12-29 02:52:33 Version: 8.22 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://data.regent-college.edu //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: CRMEmailRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class CRMEmailResponse implements IConvertible { String? guid; String? gmail_thread_index; String? subject; DateTime? changed_date; CRMEmailResponse({this.guid,this.gmail_thread_index,this.subject,this.changed_date}); CRMEmailResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { guid = json['guid']; gmail_thread_index = json['gmail_thread_index']; subject = json['subject']; changed_date = JsonConverters.fromJson(json['changed_date'],'DateTime',context!); return this; } Map toJson() => { 'guid': guid, 'gmail_thread_index': gmail_thread_index, 'subject': subject, 'changed_date': JsonConverters.toJson(changed_date,'DateTime',context!) }; getTypeName() => "CRMEmailResponse"; TypeContext? context = _ctx; } // @Route("/DynamicsCRM/Email", "POST") // @Route("/DynamicsCRM/Email/{guid}", "POST") class CRMEmailRequest implements IReturn, IConvertible, IPost { String? guid; String? gmail_thread_index; CRMEmailRequest({this.guid,this.gmail_thread_index}); CRMEmailRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { guid = json['guid']; gmail_thread_index = json['gmail_thread_index']; return this; } Map toJson() => { 'guid': guid, 'gmail_thread_index': gmail_thread_index }; createResponse() => CRMEmailResponse(); getResponseTypeName() => "CRMEmailResponse"; getTypeName() => "CRMEmailRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'data.regent_college.edu', types: { 'CRMEmailResponse': TypeInfo(TypeOf.Class, create:() => CRMEmailResponse()), 'CRMEmailRequest': TypeInfo(TypeOf.Class, create:() => CRMEmailRequest()), });