/* Options: Date: 2024-12-29 03:30:39 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: FinanceAdjustmentSubmitRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class FinanceAdjustmentRateSubmitRequest implements IConvertible { int? rate_id; String? description; double? charge; double? credit; String? custom_gl; FinanceAdjustmentRateSubmitRequest({this.rate_id,this.description,this.charge,this.credit,this.custom_gl}); FinanceAdjustmentRateSubmitRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { rate_id = json['rate_id']; description = json['description']; charge = JsonConverters.toDouble(json['charge']); credit = JsonConverters.toDouble(json['credit']); custom_gl = json['custom_gl']; return this; } Map toJson() => { 'rate_id': rate_id, 'description': description, 'charge': charge, 'credit': credit, 'custom_gl': custom_gl }; getTypeName() => "FinanceAdjustmentRateSubmitRequest"; TypeContext? context = _ctx; } // @Route("/Finance/{uuid}/Adjustment/{reporting_term}/Submit", "POST") class FinanceAdjustmentSubmitRequest implements IReturn, IConvertible, IPost { String? uuid; String? reporting_term; List? rates; String? description; String? authorizing_uuid; bool? is_financial_aid; DateTime? added_date; FinanceAdjustmentSubmitRequest({this.uuid,this.reporting_term,this.rates,this.description,this.authorizing_uuid,this.is_financial_aid,this.added_date}); FinanceAdjustmentSubmitRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { uuid = json['uuid']; reporting_term = json['reporting_term']; rates = JsonConverters.fromJson(json['rates'],'List',context!); description = json['description']; authorizing_uuid = json['authorizing_uuid']; is_financial_aid = json['is_financial_aid']; added_date = JsonConverters.fromJson(json['added_date'],'DateTime',context!); return this; } Map toJson() => { 'uuid': uuid, 'reporting_term': reporting_term, 'rates': JsonConverters.toJson(rates,'List',context!), 'description': description, 'authorizing_uuid': authorizing_uuid, 'is_financial_aid': is_financial_aid, 'added_date': JsonConverters.toJson(added_date,'DateTime',context!) }; createResponse() => ResponseStatus(); getResponseTypeName() => "ResponseStatus"; getTypeName() => "FinanceAdjustmentSubmitRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'data.regent_college.edu', types: { 'FinanceAdjustmentRateSubmitRequest': TypeInfo(TypeOf.Class, create:() => FinanceAdjustmentRateSubmitRequest()), 'FinanceAdjustmentSubmitRequest': TypeInfo(TypeOf.Class, create:() => FinanceAdjustmentSubmitRequest()), 'List': TypeInfo(TypeOf.Class, create:() => []), });