/* Options: Date: 2024-12-29 04:24:16 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: GradeByCourseSaveRequest.* //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 GradeByCourseSaveResponse implements IConvertible { ResponseStatus? responseStatus; String? secUUID; List? messages; bool? is_successful; GradeByCourseSaveResponse({this.responseStatus,this.secUUID,this.messages,this.is_successful}); GradeByCourseSaveResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { responseStatus = JsonConverters.fromJson(json['responseStatus'],'ResponseStatus',context!); secUUID = json['secUUID']; messages = JsonConverters.fromJson(json['messages'],'List',context!); is_successful = json['is_successful']; return this; } Map toJson() => { 'responseStatus': JsonConverters.toJson(responseStatus,'ResponseStatus',context!), 'secUUID': secUUID, 'messages': JsonConverters.toJson(messages,'List',context!), 'is_successful': is_successful }; getTypeName() => "GradeByCourseSaveResponse"; TypeContext? context = _ctx; } // @Route("/Academic/Course/{secUUID}/Grade/Save", "POST") class GradeByCourseSaveRequest implements IReturn, IConvertible, IPost { String? secUUID; DateTime? override_grading_end_date; bool? crosslists_included; List? studentAcademicCredentials; String? authorizing_uuid; GradeByCourseSaveRequest({this.secUUID,this.override_grading_end_date,this.crosslists_included,this.studentAcademicCredentials,this.authorizing_uuid}); GradeByCourseSaveRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { secUUID = json['secUUID']; override_grading_end_date = JsonConverters.fromJson(json['override_grading_end_date'],'DateTime',context!); crosslists_included = json['crosslists_included']; studentAcademicCredentials = JsonConverters.fromJson(json['studentAcademicCredentials'],'List',context!); authorizing_uuid = json['authorizing_uuid']; return this; } Map toJson() => { 'secUUID': secUUID, 'override_grading_end_date': JsonConverters.toJson(override_grading_end_date,'DateTime',context!), 'crosslists_included': crosslists_included, 'studentAcademicCredentials': JsonConverters.toJson(studentAcademicCredentials,'List',context!), 'authorizing_uuid': authorizing_uuid }; createResponse() => GradeByCourseSaveResponse(); getResponseTypeName() => "GradeByCourseSaveResponse"; getTypeName() => "GradeByCourseSaveRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'data.regent_college.edu', types: { 'GradeStudentAcademicCredentialRequest': TypeInfo(TypeOf.Class, create:() => GradeStudentAcademicCredentialRequest()), 'GradeByCourseSaveResponse': TypeInfo(TypeOf.Class, create:() => GradeByCourseSaveResponse()), 'GradeByCourseSaveRequest': TypeInfo(TypeOf.Class, create:() => GradeByCourseSaveRequest()), 'List': TypeInfo(TypeOf.Class, create:() => []), });