/* Options: Date: 2025-04-10 07:42:08 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: StudentGraduationUpdateRequest.* //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; } // @Route("/StudentGraduation/{uuid}/{year}/Update", "POST") class StudentGraduationUpdateRequest implements IReturn, IConvertible, IPost { String? uuid; String? authorizing_uuid; int? year; String? first_name; String? middle_name; String? last_name; String? phonetic_first_name; String? phonetic_middle_name; String? phonetic_last_name; String? placement; String? placement_other; 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; String? comments; String? current_status; DateTime? added_date; List? applied_programs; StudentGraduationUpdateRequest({this.uuid,this.authorizing_uuid,this.year,this.first_name,this.middle_name,this.last_name,this.phonetic_first_name,this.phonetic_middle_name,this.phonetic_last_name,this.placement,this.placement_other,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.comments,this.current_status,this.added_date,this.applied_programs}); StudentGraduationUpdateRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { uuid = json['uuid']; authorizing_uuid = json['authorizing_uuid']; year = json['year']; first_name = json['first_name']; middle_name = json['middle_name']; last_name = json['last_name']; 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']; 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']; comments = json['comments']; current_status = json['current_status']; added_date = JsonConverters.fromJson(json['added_date'],'DateTime',context!); applied_programs = JsonConverters.fromJson(json['applied_programs'],'List',context!); return this; } Map toJson() => { 'uuid': uuid, 'authorizing_uuid': authorizing_uuid, 'year': year, 'first_name': first_name, 'middle_name': middle_name, 'last_name': last_name, 'phonetic_first_name': phonetic_first_name, 'phonetic_middle_name': phonetic_middle_name, 'phonetic_last_name': phonetic_last_name, 'placement': placement, 'placement_other': placement_other, '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, 'comments': comments, 'current_status': current_status, 'added_date': JsonConverters.toJson(added_date,'DateTime',context!), 'applied_programs': JsonConverters.toJson(applied_programs,'List',context!) }; createResponse() => ResponseStatus(); getResponseTypeName() => "ResponseStatus"; getTypeName() => "StudentGraduationUpdateRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'data.regent_college.edu', types: { 'StudentGraduationProgramResponse': TypeInfo(TypeOf.Class, create:() => StudentGraduationProgramResponse()), 'StudentGraduationUpdateRequest': TypeInfo(TypeOf.Class, create:() => StudentGraduationUpdateRequest()), 'List': TypeInfo(TypeOf.Class, create:() => []), });