/* Options: Date: 2024-12-29 02:02:03 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: StudentGraduationUpdateStatusesRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class StudentGraduationUpdateStatusRequest implements IConvertible { String? uuid; int? year; String? current_status; bool? is_attending; bool? is_paid; String? comments; StudentGraduationUpdateStatusRequest({this.uuid,this.year,this.current_status,this.is_attending,this.is_paid,this.comments}); StudentGraduationUpdateStatusRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { uuid = json['uuid']; year = json['year']; current_status = json['current_status']; is_attending = json['is_attending']; is_paid = json['is_paid']; comments = json['comments']; return this; } Map toJson() => { 'uuid': uuid, 'year': year, 'current_status': current_status, 'is_attending': is_attending, 'is_paid': is_paid, 'comments': comments }; getTypeName() => "StudentGraduationUpdateStatusRequest"; TypeContext? context = _ctx; } // @Route("/StudentGraduation/Update/Statuses", "POST") class StudentGraduationUpdateStatusesRequest implements IReturn, IConvertible, IPost { String? authorizing_uuid; List? student_graduations; StudentGraduationUpdateStatusesRequest({this.authorizing_uuid,this.student_graduations}); StudentGraduationUpdateStatusesRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { authorizing_uuid = json['authorizing_uuid']; student_graduations = JsonConverters.fromJson(json['student_graduations'],'List',context!); return this; } Map toJson() => { 'authorizing_uuid': authorizing_uuid, 'student_graduations': JsonConverters.toJson(student_graduations,'List',context!) }; createResponse() => ResponseStatus(); getResponseTypeName() => "ResponseStatus"; getTypeName() => "StudentGraduationUpdateStatusesRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'data.regent_college.edu', types: { 'StudentGraduationUpdateStatusRequest': TypeInfo(TypeOf.Class, create:() => StudentGraduationUpdateStatusRequest()), 'StudentGraduationUpdateStatusesRequest': TypeInfo(TypeOf.Class, create:() => StudentGraduationUpdateStatusesRequest()), 'List': TypeInfo(TypeOf.Class, create:() => []), });