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