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