/* Options: Date: 2024-12-29 03:44:28 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: CRMRegentDegreeUpsertRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; // @Route("/DynamicsCRM/RegentDegrees/Upsert", "POST") class CRMRegentDegreeUpsertRequest implements IReturn, IConvertible, IPost { int? regent_id; String? name; String? concentration; String? thesis; DateTime? start_date; DateTime? end_date; CRMRegentDegreeUpsertRequest({this.regent_id,this.name,this.concentration,this.thesis,this.start_date,this.end_date}); CRMRegentDegreeUpsertRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { regent_id = json['regent_id']; name = json['name']; concentration = json['concentration']; thesis = json['thesis']; start_date = JsonConverters.fromJson(json['start_date'],'DateTime',context!); end_date = JsonConverters.fromJson(json['end_date'],'DateTime',context!); return this; } Map toJson() => { 'regent_id': regent_id, 'name': name, 'concentration': concentration, 'thesis': thesis, 'start_date': JsonConverters.toJson(start_date,'DateTime',context!), 'end_date': JsonConverters.toJson(end_date,'DateTime',context!) }; createResponse() => ResponseStatus(); getResponseTypeName() => "ResponseStatus"; getTypeName() => "CRMRegentDegreeUpsertRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'data.regent_college.edu', types: { 'CRMRegentDegreeUpsertRequest': TypeInfo(TypeOf.Class, create:() => CRMRegentDegreeUpsertRequest()), });