/* Options: Date: 2024-12-29 04:02:00 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: GradeByStudentSaveRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class GradeStudentAcademicCredentialRequest implements IConvertible { String? stacUUID; String? grade; bool? is_grade_final; GradeStudentAcademicCredentialRequest({this.stacUUID,this.grade,this.is_grade_final}); GradeStudentAcademicCredentialRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { stacUUID = json['stacUUID']; grade = json['grade']; is_grade_final = json['is_grade_final']; return this; } Map toJson() => { 'stacUUID': stacUUID, 'grade': grade, 'is_grade_final': is_grade_final }; getTypeName() => "GradeStudentAcademicCredentialRequest"; TypeContext? context = _ctx; } class GradeByStudentSaveResponse implements IConvertible { ResponseStatus? responseStatus; int? regent_id; String? uuid; List? messages; bool? is_successful; GradeByStudentSaveResponse({this.responseStatus,this.regent_id,this.uuid,this.messages,this.is_successful}); GradeByStudentSaveResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { responseStatus = JsonConverters.fromJson(json['responseStatus'],'ResponseStatus',context!); regent_id = json['regent_id']; uuid = json['uuid']; messages = JsonConverters.fromJson(json['messages'],'List',context!); is_successful = json['is_successful']; return this; } Map toJson() => { 'responseStatus': JsonConverters.toJson(responseStatus,'ResponseStatus',context!), 'regent_id': regent_id, 'uuid': uuid, 'messages': JsonConverters.toJson(messages,'List',context!), 'is_successful': is_successful }; getTypeName() => "GradeByStudentSaveResponse"; TypeContext? context = _ctx; } // @Route("/Academic/Student/{uuid}/Grade/Save", "POST") class GradeByStudentSaveRequest implements IReturn, IConvertible, IPost { String? uuid; List? studentAcademicCredentials; String? authorizing_uuid; GradeByStudentSaveRequest({this.uuid,this.studentAcademicCredentials,this.authorizing_uuid}); GradeByStudentSaveRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { uuid = json['uuid']; studentAcademicCredentials = JsonConverters.fromJson(json['studentAcademicCredentials'],'List',context!); authorizing_uuid = json['authorizing_uuid']; return this; } Map toJson() => { 'uuid': uuid, 'studentAcademicCredentials': JsonConverters.toJson(studentAcademicCredentials,'List',context!), 'authorizing_uuid': authorizing_uuid }; createResponse() => GradeByStudentSaveResponse(); getResponseTypeName() => "GradeByStudentSaveResponse"; getTypeName() => "GradeByStudentSaveRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'data.regent_college.edu', types: { 'GradeStudentAcademicCredentialRequest': TypeInfo(TypeOf.Class, create:() => GradeStudentAcademicCredentialRequest()), 'GradeByStudentSaveResponse': TypeInfo(TypeOf.Class, create:() => GradeByStudentSaveResponse()), 'GradeByStudentSaveRequest': TypeInfo(TypeOf.Class, create:() => GradeByStudentSaveRequest()), 'List': TypeInfo(TypeOf.Class, create:() => []), });