/* Options: Date: 2024-12-29 02:30:09 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: StudentGraduationsRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class StudentGraduationProgramResponse implements IConvertible { String? program_code; String? concentration_code; String? program_details; String? comments; StudentGraduationProgramResponse({this.program_code,this.concentration_code,this.program_details,this.comments}); StudentGraduationProgramResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { program_code = json['program_code']; concentration_code = json['concentration_code']; program_details = json['program_details']; comments = json['comments']; return this; } Map toJson() => { 'program_code': program_code, 'concentration_code': concentration_code, 'program_details': program_details, 'comments': comments }; getTypeName() => "StudentGraduationProgramResponse"; TypeContext? context = _ctx; } class StudentGraduationResponse implements IConvertible { ResponseStatus? responseStatus; int? regent_id; String? uuid; String? first_name; String? preferred_name; String? middle_name; String? last_name; String? email; String? phonetic_first_name; String? phonetic_middle_name; String? phonetic_last_name; String? placement; String? placement_other; String? addr1; String? addr2; String? city; String? state; String? country; String? code; String? citizenship; String? citizenship_other; String? permanent_resident; String? previous_degrees; int? gown_size; String? project_title; String? supervisor; bool? is_attending; bool? is_hood_requested; bool? is_hood_paid; bool? is_paid; bool? is_late; int? year; String? comments; String? current_status; DateTime? current_status_date; DateTime? added_date; List? applied_programs; StudentGraduationResponse({this.responseStatus,this.regent_id,this.uuid,this.first_name,this.preferred_name,this.middle_name,this.last_name,this.email,this.phonetic_first_name,this.phonetic_middle_name,this.phonetic_last_name,this.placement,this.placement_other,this.addr1,this.addr2,this.city,this.state,this.country,this.code,this.citizenship,this.citizenship_other,this.permanent_resident,this.previous_degrees,this.gown_size,this.project_title,this.supervisor,this.is_attending,this.is_hood_requested,this.is_hood_paid,this.is_paid,this.is_late,this.year,this.comments,this.current_status,this.current_status_date,this.added_date,this.applied_programs}); StudentGraduationResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { responseStatus = JsonConverters.fromJson(json['responseStatus'],'ResponseStatus',context!); regent_id = json['regent_id']; uuid = json['uuid']; first_name = json['first_name']; preferred_name = json['preferred_name']; middle_name = json['middle_name']; last_name = json['last_name']; email = json['email']; phonetic_first_name = json['phonetic_first_name']; phonetic_middle_name = json['phonetic_middle_name']; phonetic_last_name = json['phonetic_last_name']; placement = json['placement']; placement_other = json['placement_other']; addr1 = json['addr1']; addr2 = json['addr2']; city = json['city']; state = json['state']; country = json['country']; code = json['code']; citizenship = json['citizenship']; citizenship_other = json['citizenship_other']; permanent_resident = json['permanent_resident']; previous_degrees = json['previous_degrees']; gown_size = json['gown_size']; project_title = json['project_title']; supervisor = json['supervisor']; is_attending = json['is_attending']; is_hood_requested = json['is_hood_requested']; is_hood_paid = json['is_hood_paid']; is_paid = json['is_paid']; is_late = json['is_late']; year = json['year']; comments = json['comments']; current_status = json['current_status']; current_status_date = JsonConverters.fromJson(json['current_status_date'],'DateTime',context!); added_date = JsonConverters.fromJson(json['added_date'],'DateTime',context!); applied_programs = JsonConverters.fromJson(json['applied_programs'],'List',context!); return this; } Map toJson() => { 'responseStatus': JsonConverters.toJson(responseStatus,'ResponseStatus',context!), 'regent_id': regent_id, 'uuid': uuid, 'first_name': first_name, 'preferred_name': preferred_name, 'middle_name': middle_name, 'last_name': last_name, 'email': email, 'phonetic_first_name': phonetic_first_name, 'phonetic_middle_name': phonetic_middle_name, 'phonetic_last_name': phonetic_last_name, 'placement': placement, 'placement_other': placement_other, 'addr1': addr1, 'addr2': addr2, 'city': city, 'state': state, 'country': country, 'code': code, 'citizenship': citizenship, 'citizenship_other': citizenship_other, 'permanent_resident': permanent_resident, 'previous_degrees': previous_degrees, 'gown_size': gown_size, 'project_title': project_title, 'supervisor': supervisor, 'is_attending': is_attending, 'is_hood_requested': is_hood_requested, 'is_hood_paid': is_hood_paid, 'is_paid': is_paid, 'is_late': is_late, 'year': year, 'comments': comments, 'current_status': current_status, 'current_status_date': JsonConverters.toJson(current_status_date,'DateTime',context!), 'added_date': JsonConverters.toJson(added_date,'DateTime',context!), 'applied_programs': JsonConverters.toJson(applied_programs,'List',context!) }; getTypeName() => "StudentGraduationResponse"; TypeContext? context = _ctx; } // @Route("/StudentGraduation/{year}", "POST") class StudentGraduationsRequest implements IReturn>, IConvertible, IPost { int? year; StudentGraduationsRequest({this.year}); StudentGraduationsRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { year = json['year']; return this; } Map toJson() => { 'year': year }; createResponse() => []; getResponseTypeName() => "List"; getTypeName() => "StudentGraduationsRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'data.regent_college.edu', types: { 'StudentGraduationProgramResponse': TypeInfo(TypeOf.Class, create:() => StudentGraduationProgramResponse()), 'StudentGraduationResponse': TypeInfo(TypeOf.Class, create:() => StudentGraduationResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'StudentGraduationsRequest': TypeInfo(TypeOf.Class, create:() => StudentGraduationsRequest()), });