/* Options: Date: 2024-12-29 03:37:37 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: FinancialAidApplicationsRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class FinancialAidApplicationResponse implements IConvertible { ResponseStatus? responseStatus; String? start_term; String? end_term; int? number_of_terms; int? regent_id; String? uuid; String? application_uuid; List? awards; List? previous_awards; String? program; String? gender; String? first_name; String? last_name; String? email; String? citizenship; String? citizenship_other; String? permanent_resident; String? ethnicity; String? marital_status; DateTime? dob; String? addr1; String? addr2; String? city; String? state; String? country; String? code; String? denomination; double? undergrad_gpa; double? regent_gpa; double? current_attempted_credits; String? first_term_admitted; double? current_attempted_and_transferred_credits; double? current_award_term_attempted_credits; int? number_of_children; double? financial_assets; double? spouse_income; int? employment_years; String? employment_description; String? vocational_experience_json; String? vocational_direction_json; String? occupation_after_the_program_json; String? area_of_study_json; int? need_score; int? merit_score; int? score; bool? is_mature; bool? is_nonaccredited; double? award_per_term; double? amount_awarded; double? oncampus_tuition_owing_in_term; double? online_tuition_owing_in_term; double? audit_and_fees_owing_in_term; double? amount_offered; double? total_amount_awarded; String? comments; String? current_status; bool? cannot_apply_again; DateTime? current_status_date; DateTime? started_date; String? started_by; DateTime? submitted_date; String? submitted_by; DateTime? changed_date; String? changed_by; FinancialAidApplicationResponse({this.responseStatus,this.start_term,this.end_term,this.number_of_terms,this.regent_id,this.uuid,this.application_uuid,this.awards,this.previous_awards,this.program,this.gender,this.first_name,this.last_name,this.email,this.citizenship,this.citizenship_other,this.permanent_resident,this.ethnicity,this.marital_status,this.dob,this.addr1,this.addr2,this.city,this.state,this.country,this.code,this.denomination,this.undergrad_gpa,this.regent_gpa,this.current_attempted_credits,this.first_term_admitted,this.current_attempted_and_transferred_credits,this.current_award_term_attempted_credits,this.number_of_children,this.financial_assets,this.spouse_income,this.employment_years,this.employment_description,this.vocational_experience_json,this.vocational_direction_json,this.occupation_after_the_program_json,this.area_of_study_json,this.need_score,this.merit_score,this.score,this.is_mature,this.is_nonaccredited,this.award_per_term,this.amount_awarded,this.oncampus_tuition_owing_in_term,this.online_tuition_owing_in_term,this.audit_and_fees_owing_in_term,this.amount_offered,this.total_amount_awarded,this.comments,this.current_status,this.cannot_apply_again,this.current_status_date,this.started_date,this.started_by,this.submitted_date,this.submitted_by,this.changed_date,this.changed_by}); FinancialAidApplicationResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { responseStatus = JsonConverters.fromJson(json['responseStatus'],'ResponseStatus',context!); start_term = json['start_term']; end_term = json['end_term']; number_of_terms = json['number_of_terms']; regent_id = json['regent_id']; uuid = json['uuid']; application_uuid = json['application_uuid']; awards = JsonConverters.fromJson(json['awards'],'List',context!); previous_awards = JsonConverters.fromJson(json['previous_awards'],'List',context!); program = json['program']; gender = json['gender']; first_name = json['first_name']; last_name = json['last_name']; email = json['email']; citizenship = json['citizenship']; citizenship_other = json['citizenship_other']; permanent_resident = json['permanent_resident']; ethnicity = json['ethnicity']; marital_status = json['marital_status']; dob = JsonConverters.fromJson(json['dob'],'DateTime',context!); addr1 = json['addr1']; addr2 = json['addr2']; city = json['city']; state = json['state']; country = json['country']; code = json['code']; denomination = json['denomination']; undergrad_gpa = JsonConverters.toDouble(json['undergrad_gpa']); regent_gpa = JsonConverters.toDouble(json['regent_gpa']); current_attempted_credits = JsonConverters.toDouble(json['current_attempted_credits']); first_term_admitted = json['first_term_admitted']; current_attempted_and_transferred_credits = JsonConverters.toDouble(json['current_attempted_and_transferred_credits']); current_award_term_attempted_credits = JsonConverters.toDouble(json['current_award_term_attempted_credits']); number_of_children = json['number_of_children']; financial_assets = JsonConverters.toDouble(json['financial_assets']); spouse_income = JsonConverters.toDouble(json['spouse_income']); employment_years = json['employment_years']; employment_description = json['employment_description']; vocational_experience_json = json['vocational_experience_json']; vocational_direction_json = json['vocational_direction_json']; occupation_after_the_program_json = json['occupation_after_the_program_json']; area_of_study_json = json['area_of_study_json']; need_score = json['need_score']; merit_score = json['merit_score']; score = json['score']; is_mature = json['is_mature']; is_nonaccredited = json['is_nonaccredited']; award_per_term = JsonConverters.toDouble(json['award_per_term']); amount_awarded = JsonConverters.toDouble(json['amount_awarded']); oncampus_tuition_owing_in_term = JsonConverters.toDouble(json['oncampus_tuition_owing_in_term']); online_tuition_owing_in_term = JsonConverters.toDouble(json['online_tuition_owing_in_term']); audit_and_fees_owing_in_term = JsonConverters.toDouble(json['audit_and_fees_owing_in_term']); amount_offered = JsonConverters.toDouble(json['amount_offered']); total_amount_awarded = JsonConverters.toDouble(json['total_amount_awarded']); comments = json['comments']; current_status = json['current_status']; cannot_apply_again = json['cannot_apply_again']; current_status_date = JsonConverters.fromJson(json['current_status_date'],'DateTime',context!); started_date = JsonConverters.fromJson(json['started_date'],'DateTime',context!); started_by = json['started_by']; submitted_date = JsonConverters.fromJson(json['submitted_date'],'DateTime',context!); submitted_by = json['submitted_by']; changed_date = JsonConverters.fromJson(json['changed_date'],'DateTime',context!); changed_by = json['changed_by']; return this; } Map toJson() => { 'responseStatus': JsonConverters.toJson(responseStatus,'ResponseStatus',context!), 'start_term': start_term, 'end_term': end_term, 'number_of_terms': number_of_terms, 'regent_id': regent_id, 'uuid': uuid, 'application_uuid': application_uuid, 'awards': JsonConverters.toJson(awards,'List',context!), 'previous_awards': JsonConverters.toJson(previous_awards,'List',context!), 'program': program, 'gender': gender, 'first_name': first_name, 'last_name': last_name, 'email': email, 'citizenship': citizenship, 'citizenship_other': citizenship_other, 'permanent_resident': permanent_resident, 'ethnicity': ethnicity, 'marital_status': marital_status, 'dob': JsonConverters.toJson(dob,'DateTime',context!), 'addr1': addr1, 'addr2': addr2, 'city': city, 'state': state, 'country': country, 'code': code, 'denomination': denomination, 'undergrad_gpa': undergrad_gpa, 'regent_gpa': regent_gpa, 'current_attempted_credits': current_attempted_credits, 'first_term_admitted': first_term_admitted, 'current_attempted_and_transferred_credits': current_attempted_and_transferred_credits, 'current_award_term_attempted_credits': current_award_term_attempted_credits, 'number_of_children': number_of_children, 'financial_assets': financial_assets, 'spouse_income': spouse_income, 'employment_years': employment_years, 'employment_description': employment_description, 'vocational_experience_json': vocational_experience_json, 'vocational_direction_json': vocational_direction_json, 'occupation_after_the_program_json': occupation_after_the_program_json, 'area_of_study_json': area_of_study_json, 'need_score': need_score, 'merit_score': merit_score, 'score': score, 'is_mature': is_mature, 'is_nonaccredited': is_nonaccredited, 'award_per_term': award_per_term, 'amount_awarded': amount_awarded, 'oncampus_tuition_owing_in_term': oncampus_tuition_owing_in_term, 'online_tuition_owing_in_term': online_tuition_owing_in_term, 'audit_and_fees_owing_in_term': audit_and_fees_owing_in_term, 'amount_offered': amount_offered, 'total_amount_awarded': total_amount_awarded, 'comments': comments, 'current_status': current_status, 'cannot_apply_again': cannot_apply_again, 'current_status_date': JsonConverters.toJson(current_status_date,'DateTime',context!), 'started_date': JsonConverters.toJson(started_date,'DateTime',context!), 'started_by': started_by, 'submitted_date': JsonConverters.toJson(submitted_date,'DateTime',context!), 'submitted_by': submitted_by, 'changed_date': JsonConverters.toJson(changed_date,'DateTime',context!), 'changed_by': changed_by }; getTypeName() => "FinancialAidApplicationResponse"; TypeContext? context = _ctx; } class FinancialAidApplicationsResponse implements IConvertible { ResponseStatus? responseStatus; List? applications; FinancialAidApplicationsResponse({this.responseStatus,this.applications}); FinancialAidApplicationsResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { responseStatus = JsonConverters.fromJson(json['responseStatus'],'ResponseStatus',context!); applications = JsonConverters.fromJson(json['applications'],'List',context!); return this; } Map toJson() => { 'responseStatus': JsonConverters.toJson(responseStatus,'ResponseStatus',context!), 'applications': JsonConverters.toJson(applications,'List',context!) }; getTypeName() => "FinancialAidApplicationsResponse"; TypeContext? context = _ctx; } // @Route("/Finance/FinancialAid/Applications", "POST") class FinancialAidApplicationsRequest implements IReturn, IConvertible, IPost { String? start_term; String? continuing_term; String? issued_in_term; String? available_in_term; String? done_in_term; bool? no_awards_in_response; FinancialAidApplicationsRequest({this.start_term,this.continuing_term,this.issued_in_term,this.available_in_term,this.done_in_term,this.no_awards_in_response}); FinancialAidApplicationsRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { start_term = json['start_term']; continuing_term = json['continuing_term']; issued_in_term = json['issued_in_term']; available_in_term = json['available_in_term']; done_in_term = json['done_in_term']; no_awards_in_response = json['no_awards_in_response']; return this; } Map toJson() => { 'start_term': start_term, 'continuing_term': continuing_term, 'issued_in_term': issued_in_term, 'available_in_term': available_in_term, 'done_in_term': done_in_term, 'no_awards_in_response': no_awards_in_response }; createResponse() => FinancialAidApplicationsResponse(); getResponseTypeName() => "FinancialAidApplicationsResponse"; getTypeName() => "FinancialAidApplicationsRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'data.regent_college.edu', types: { 'FinancialAidApplicationResponse': TypeInfo(TypeOf.Class, create:() => FinancialAidApplicationResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'FinancialAidApplicationAwardResponse': TypeInfo(TypeOf.Class, create:() => FinancialAidApplicationAwardResponse()), 'FinancialAidApplicationsResponse': TypeInfo(TypeOf.Class, create:() => FinancialAidApplicationsResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'FinancialAidApplicationsRequest': TypeInfo(TypeOf.Class, create:() => FinancialAidApplicationsRequest()), });