/* Options: Date: 2024-10-06 10:30:06 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: FinancialAidSummaryInTermRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class FinancialAidAwardResponse implements IConvertible { String? uuid; int? regent_id; String? first_name; String? last_name; double? awarded_amount; FinancialAidAwardResponse({this.uuid,this.regent_id,this.first_name,this.last_name,this.awarded_amount}); FinancialAidAwardResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { uuid = json['uuid']; regent_id = json['regent_id']; first_name = json['first_name']; last_name = json['last_name']; awarded_amount = JsonConverters.toDouble(json['awarded_amount']); return this; } Map toJson() => { 'uuid': uuid, 'regent_id': regent_id, 'first_name': first_name, 'last_name': last_name, 'awarded_amount': awarded_amount }; getTypeName() => "FinancialAidAwardResponse"; TypeContext? context = _ctx; } class FinancialAidAwardSummaryInTermResponse implements IConvertible { int? award_id; String? award_code; String? award_description; double? budget_amount; double? awarded_amount; List? person_awards; FinancialAidAwardSummaryInTermResponse({this.award_id,this.award_code,this.award_description,this.budget_amount,this.awarded_amount,this.person_awards}); FinancialAidAwardSummaryInTermResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { award_id = json['award_id']; award_code = json['award_code']; award_description = json['award_description']; budget_amount = JsonConverters.toDouble(json['budget_amount']); awarded_amount = JsonConverters.toDouble(json['awarded_amount']); person_awards = JsonConverters.fromJson(json['person_awards'],'List',context!); return this; } Map toJson() => { 'award_id': award_id, 'award_code': award_code, 'award_description': award_description, 'budget_amount': budget_amount, 'awarded_amount': awarded_amount, 'person_awards': JsonConverters.toJson(person_awards,'List',context!) }; getTypeName() => "FinancialAidAwardSummaryInTermResponse"; TypeContext? context = _ctx; } class FinancialAidSummaryInTermResponse implements IConvertible { ResponseStatus? responseStatus; String? reporting_term; List? awards; FinancialAidSummaryInTermResponse({this.responseStatus,this.reporting_term,this.awards}); FinancialAidSummaryInTermResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { responseStatus = JsonConverters.fromJson(json['responseStatus'],'ResponseStatus',context!); reporting_term = json['reporting_term']; awards = JsonConverters.fromJson(json['awards'],'List',context!); return this; } Map toJson() => { 'responseStatus': JsonConverters.toJson(responseStatus,'ResponseStatus',context!), 'reporting_term': reporting_term, 'awards': JsonConverters.toJson(awards,'List',context!) }; getTypeName() => "FinancialAidSummaryInTermResponse"; TypeContext? context = _ctx; } // @Route("/Finance/FinancialAid/Awards/{reporting_term}/Summary", "POST") class FinancialAidSummaryInTermRequest implements IReturn, IConvertible, IPost { String? reporting_term; FinancialAidSummaryInTermRequest({this.reporting_term}); FinancialAidSummaryInTermRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { reporting_term = json['reporting_term']; return this; } Map toJson() => { 'reporting_term': reporting_term }; createResponse() => FinancialAidSummaryInTermResponse(); getResponseTypeName() => "FinancialAidSummaryInTermResponse"; getTypeName() => "FinancialAidSummaryInTermRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'data.regent_college.edu', types: { 'FinancialAidAwardResponse': TypeInfo(TypeOf.Class, create:() => FinancialAidAwardResponse()), 'FinancialAidAwardSummaryInTermResponse': TypeInfo(TypeOf.Class, create:() => FinancialAidAwardSummaryInTermResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'FinancialAidSummaryInTermResponse': TypeInfo(TypeOf.Class, create:() => FinancialAidSummaryInTermResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'FinancialAidSummaryInTermRequest': TypeInfo(TypeOf.Class, create:() => FinancialAidSummaryInTermRequest()), });