/* Options: Date: 2024-12-29 03:35:00 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: DropRegistrationsSubmitRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class DropRegistrationSubmitRequest implements IConvertible { String? student_section_uuid; double? tuition_refund_amount; String? description; int? additional_rate_id; double? additional_rate_amount; int? benefit_rate_id; int? second_benefit_rate_id; double? benefit_charge_amount; double? second_benefit_charge_amount; DropRegistrationSubmitRequest({this.student_section_uuid,this.tuition_refund_amount,this.description,this.additional_rate_id,this.additional_rate_amount,this.benefit_rate_id,this.second_benefit_rate_id,this.benefit_charge_amount,this.second_benefit_charge_amount}); DropRegistrationSubmitRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { student_section_uuid = json['student_section_uuid']; tuition_refund_amount = JsonConverters.toDouble(json['tuition_refund_amount']); description = json['description']; additional_rate_id = json['additional_rate_id']; additional_rate_amount = JsonConverters.toDouble(json['additional_rate_amount']); benefit_rate_id = json['benefit_rate_id']; second_benefit_rate_id = json['second_benefit_rate_id']; benefit_charge_amount = JsonConverters.toDouble(json['benefit_charge_amount']); second_benefit_charge_amount = JsonConverters.toDouble(json['second_benefit_charge_amount']); return this; } Map toJson() => { 'student_section_uuid': student_section_uuid, 'tuition_refund_amount': tuition_refund_amount, 'description': description, 'additional_rate_id': additional_rate_id, 'additional_rate_amount': additional_rate_amount, 'benefit_rate_id': benefit_rate_id, 'second_benefit_rate_id': second_benefit_rate_id, 'benefit_charge_amount': benefit_charge_amount, 'second_benefit_charge_amount': second_benefit_charge_amount }; getTypeName() => "DropRegistrationSubmitRequest"; TypeContext? context = _ctx; } // @Route("/Registration/{uuid}/Drop/{reporting_term}/Submit", "POST") class DropRegistrationsSubmitRequest implements IReturn, IConvertible, IPost { String? transaction_uuid; String? uuid; String? reporting_term; List? registrations; String? description; double? drop_fee; String? drop_description; bool? refund_student_fees; String? authorizing_uuid; DropRegistrationsSubmitRequest({this.transaction_uuid,this.uuid,this.reporting_term,this.registrations,this.description,this.drop_fee,this.drop_description,this.refund_student_fees,this.authorizing_uuid}); DropRegistrationsSubmitRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { transaction_uuid = json['transaction_uuid']; uuid = json['uuid']; reporting_term = json['reporting_term']; registrations = JsonConverters.fromJson(json['registrations'],'List',context!); description = json['description']; drop_fee = JsonConverters.toDouble(json['drop_fee']); drop_description = json['drop_description']; refund_student_fees = json['refund_student_fees']; authorizing_uuid = json['authorizing_uuid']; return this; } Map toJson() => { 'transaction_uuid': transaction_uuid, 'uuid': uuid, 'reporting_term': reporting_term, 'registrations': JsonConverters.toJson(registrations,'List',context!), 'description': description, 'drop_fee': drop_fee, 'drop_description': drop_description, 'refund_student_fees': refund_student_fees, 'authorizing_uuid': authorizing_uuid }; createResponse() => ResponseStatus(); getResponseTypeName() => "ResponseStatus"; getTypeName() => "DropRegistrationsSubmitRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'data.regent_college.edu', types: { 'DropRegistrationSubmitRequest': TypeInfo(TypeOf.Class, create:() => DropRegistrationSubmitRequest()), 'DropRegistrationsSubmitRequest': TypeInfo(TypeOf.Class, create:() => DropRegistrationsSubmitRequest()), 'List': TypeInfo(TypeOf.Class, create:() => []), });