/* Options: Date: 2024-12-29 03:41:47 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: CRMDonorUpdateRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; // @Route("/DynamicsCRM/Donor/Update", "POST") class CRMDonorUpdateRequest implements IReturn, IConvertible, IPost { int? regent_id; double? total_donation_amount; CRMDonorUpdateRequest({this.regent_id,this.total_donation_amount}); CRMDonorUpdateRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { regent_id = json['regent_id']; total_donation_amount = JsonConverters.toDouble(json['total_donation_amount']); return this; } Map toJson() => { 'regent_id': regent_id, 'total_donation_amount': total_donation_amount }; createResponse() => ResponseStatus(); getResponseTypeName() => "ResponseStatus"; getTypeName() => "CRMDonorUpdateRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'data.regent_college.edu', types: { 'CRMDonorUpdateRequest': TypeInfo(TypeOf.Class, create:() => CRMDonorUpdateRequest()), });