/* Options: Date: 2024-12-29 02:30:41 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: CRMLegacyImportCreateRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; // @Route("/DynamicsCRM/LegacyImport/Create", "POST") class CRMLegacyImportCreateRequest implements IReturn, IConvertible, IPost { int? regent_id; int? import_id; String? subject; String? description; String? related_username; bool? is_contact; bool? is_account; DateTime? added_date; CRMLegacyImportCreateRequest({this.regent_id,this.import_id,this.subject,this.description,this.related_username,this.is_contact,this.is_account,this.added_date}); CRMLegacyImportCreateRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { regent_id = json['regent_id']; import_id = json['import_id']; subject = json['subject']; description = json['description']; related_username = json['related_username']; is_contact = json['is_contact']; is_account = json['is_account']; added_date = JsonConverters.fromJson(json['added_date'],'DateTime',context!); return this; } Map toJson() => { 'regent_id': regent_id, 'import_id': import_id, 'subject': subject, 'description': description, 'related_username': related_username, 'is_contact': is_contact, 'is_account': is_account, 'added_date': JsonConverters.toJson(added_date,'DateTime',context!) }; createResponse() => ResponseStatus(); getResponseTypeName() => "ResponseStatus"; getTypeName() => "CRMLegacyImportCreateRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'data.regent_college.edu', types: { 'CRMLegacyImportCreateRequest': TypeInfo(TypeOf.Class, create:() => CRMLegacyImportCreateRequest()), });