/* Options: Date: 2024-12-29 04:22:45 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: CRMEmailUpdateRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; // @Route("/DynamicsCRM/Email/{guid}/Update", "POST") class CRMEmailUpdateRequest implements IReturn, IConvertible, IPost { String? guid; String? subject; String? description; DateTime? changed_date; CRMEmailUpdateRequest({this.guid,this.subject,this.description,this.changed_date}); CRMEmailUpdateRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { guid = json['guid']; subject = json['subject']; description = json['description']; changed_date = JsonConverters.fromJson(json['changed_date'],'DateTime',context!); return this; } Map toJson() => { 'guid': guid, 'subject': subject, 'description': description, 'changed_date': JsonConverters.toJson(changed_date,'DateTime',context!) }; createResponse() => ResponseStatus(); getResponseTypeName() => "ResponseStatus"; getTypeName() => "CRMEmailUpdateRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'data.regent_college.edu', types: { 'CRMEmailUpdateRequest': TypeInfo(TypeOf.Class, create:() => CRMEmailUpdateRequest()), });