/* Options: Date: 2024-12-29 03:59:30 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: RegistrationInProgressSummaryRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class RegistrationDocumentResponse implements IConvertible { String? uuid; int? regent_id; String? first_name; String? last_name; String? gender; String? email; String? program; String? concentration; String? section_uuid; String? course_name; String? course_title; String? reporting_term; String? document_code; String? document_json; String? document_name; String? document_description; DateTime? added_date; DateTime? changed_date; RegistrationDocumentResponse({this.uuid,this.regent_id,this.first_name,this.last_name,this.gender,this.email,this.program,this.concentration,this.section_uuid,this.course_name,this.course_title,this.reporting_term,this.document_code,this.document_json,this.document_name,this.document_description,this.added_date,this.changed_date}); RegistrationDocumentResponse.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']; gender = json['gender']; email = json['email']; program = json['program']; concentration = json['concentration']; section_uuid = json['section_uuid']; course_name = json['course_name']; course_title = json['course_title']; reporting_term = json['reporting_term']; document_code = json['document_code']; document_json = json['document_json']; document_name = json['document_name']; document_description = json['document_description']; added_date = JsonConverters.fromJson(json['added_date'],'DateTime',context!); changed_date = JsonConverters.fromJson(json['changed_date'],'DateTime',context!); return this; } Map toJson() => { 'uuid': uuid, 'regent_id': regent_id, 'first_name': first_name, 'last_name': last_name, 'gender': gender, 'email': email, 'program': program, 'concentration': concentration, 'section_uuid': section_uuid, 'course_name': course_name, 'course_title': course_title, 'reporting_term': reporting_term, 'document_code': document_code, 'document_json': document_json, 'document_name': document_name, 'document_description': document_description, 'added_date': JsonConverters.toJson(added_date,'DateTime',context!), 'changed_date': JsonConverters.toJson(changed_date,'DateTime',context!) }; getTypeName() => "RegistrationDocumentResponse"; TypeContext? context = _ctx; } class RegistrationInProgressSummaryResponse implements IConvertible { ResponseStatus? responseStatus; String? transaction_uuid; int? regent_id; String? uuid; String? reporting_term; int? numberOfStudentSections; double? amountOwing; bool? mustPayBeforeRegistering; List? requiredDocuments; List? completedDocuments; bool? isLate; RegistrationInProgressSummaryResponse({this.responseStatus,this.transaction_uuid,this.regent_id,this.uuid,this.reporting_term,this.numberOfStudentSections,this.amountOwing,this.mustPayBeforeRegistering,this.requiredDocuments,this.completedDocuments,this.isLate}); RegistrationInProgressSummaryResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { responseStatus = JsonConverters.fromJson(json['responseStatus'],'ResponseStatus',context!); transaction_uuid = json['transaction_uuid']; regent_id = json['regent_id']; uuid = json['uuid']; reporting_term = json['reporting_term']; numberOfStudentSections = json['numberOfStudentSections']; amountOwing = JsonConverters.toDouble(json['amountOwing']); mustPayBeforeRegistering = json['mustPayBeforeRegistering']; requiredDocuments = JsonConverters.fromJson(json['requiredDocuments'],'List',context!); completedDocuments = JsonConverters.fromJson(json['completedDocuments'],'List',context!); isLate = json['isLate']; return this; } Map toJson() => { 'responseStatus': JsonConverters.toJson(responseStatus,'ResponseStatus',context!), 'transaction_uuid': transaction_uuid, 'regent_id': regent_id, 'uuid': uuid, 'reporting_term': reporting_term, 'numberOfStudentSections': numberOfStudentSections, 'amountOwing': amountOwing, 'mustPayBeforeRegistering': mustPayBeforeRegistering, 'requiredDocuments': JsonConverters.toJson(requiredDocuments,'List',context!), 'completedDocuments': JsonConverters.toJson(completedDocuments,'List',context!), 'isLate': isLate }; getTypeName() => "RegistrationInProgressSummaryResponse"; TypeContext? context = _ctx; } // @Route("/Registration/InProgressSummary/{uuid}/Term/{reporting_term}/{transaction_uuid}", "POST") // @Route("/Registration/InProgressSummary/{uuid}/Term/{reporting_term}", "POST") class RegistrationInProgressSummaryRequest implements IReturn, IConvertible, IPost { String? uuid; String? transaction_uuid; String? reporting_term; bool? online_only; RegistrationInProgressSummaryRequest({this.uuid,this.transaction_uuid,this.reporting_term,this.online_only}); RegistrationInProgressSummaryRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { uuid = json['uuid']; transaction_uuid = json['transaction_uuid']; reporting_term = json['reporting_term']; online_only = json['online_only']; return this; } Map toJson() => { 'uuid': uuid, 'transaction_uuid': transaction_uuid, 'reporting_term': reporting_term, 'online_only': online_only }; createResponse() => RegistrationInProgressSummaryResponse(); getResponseTypeName() => "RegistrationInProgressSummaryResponse"; getTypeName() => "RegistrationInProgressSummaryRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'data.regent_college.edu', types: { 'RegistrationDocumentResponse': TypeInfo(TypeOf.Class, create:() => RegistrationDocumentResponse()), 'RegistrationInProgressSummaryResponse': TypeInfo(TypeOf.Class, create:() => RegistrationInProgressSummaryResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'RegistrationInProgressSummaryRequest': TypeInfo(TypeOf.Class, create:() => RegistrationInProgressSummaryRequest()), });