/* Options: Date: 2024-12-29 03:27:43 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: CRMConnectionCreateRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; // @Route("/DynamicsCRM/Connection/Create", "POST") class CRMConnectionCreateRequest implements IReturn, IConvertible, IPost { int? first_regent_id; int? second_regent_id; bool? is_contact_to_account; bool? is_contact_to_contact; bool? is_account_to_account; bool? is_account_to_contact; String? first_role; String? second_role; String? connection_category; String? description; CRMConnectionCreateRequest({this.first_regent_id,this.second_regent_id,this.is_contact_to_account,this.is_contact_to_contact,this.is_account_to_account,this.is_account_to_contact,this.first_role,this.second_role,this.connection_category,this.description}); CRMConnectionCreateRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { first_regent_id = json['first_regent_id']; second_regent_id = json['second_regent_id']; is_contact_to_account = json['is_contact_to_account']; is_contact_to_contact = json['is_contact_to_contact']; is_account_to_account = json['is_account_to_account']; is_account_to_contact = json['is_account_to_contact']; first_role = json['first_role']; second_role = json['second_role']; connection_category = json['connection_category']; description = json['description']; return this; } Map toJson() => { 'first_regent_id': first_regent_id, 'second_regent_id': second_regent_id, 'is_contact_to_account': is_contact_to_account, 'is_contact_to_contact': is_contact_to_contact, 'is_account_to_account': is_account_to_account, 'is_account_to_contact': is_account_to_contact, 'first_role': first_role, 'second_role': second_role, 'connection_category': connection_category, 'description': description }; createResponse() => ResponseStatus(); getResponseTypeName() => "ResponseStatus"; getTypeName() => "CRMConnectionCreateRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'data.regent_college.edu', types: { 'CRMConnectionCreateRequest': TypeInfo(TypeOf.Class, create:() => CRMConnectionCreateRequest()), });