/* Options: Date: 2024-12-29 03:27:35 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: StudentAcademicCredentialAdditionalInstructorsRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class InstructorResponse implements IConvertible { ResponseStatus? responseStatus; int? regent_id; String? regent_login; String? preferred_name; String? first_name; String? last_name; String? full_name; String? email; String? image_base64; InstructorResponse({this.responseStatus,this.regent_id,this.regent_login,this.preferred_name,this.first_name,this.last_name,this.full_name,this.email,this.image_base64}); InstructorResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { responseStatus = JsonConverters.fromJson(json['responseStatus'],'ResponseStatus',context!); regent_id = json['regent_id']; regent_login = json['regent_login']; preferred_name = json['preferred_name']; first_name = json['first_name']; last_name = json['last_name']; full_name = json['full_name']; email = json['email']; image_base64 = json['image_base64']; return this; } Map toJson() => { 'responseStatus': JsonConverters.toJson(responseStatus,'ResponseStatus',context!), 'regent_id': regent_id, 'regent_login': regent_login, 'preferred_name': preferred_name, 'first_name': first_name, 'last_name': last_name, 'full_name': full_name, 'email': email, 'image_base64': image_base64 }; getTypeName() => "InstructorResponse"; TypeContext? context = _ctx; } class StudentAcademicCredentialAdditionalInstructorsResponse implements IConvertible { ResponseStatus? responseStatus; String? uuid; String? stac_uuid; String? course_name; String? term; String? reporting_term; List? instructors; StudentAcademicCredentialAdditionalInstructorsResponse({this.responseStatus,this.uuid,this.stac_uuid,this.course_name,this.term,this.reporting_term,this.instructors}); StudentAcademicCredentialAdditionalInstructorsResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { responseStatus = JsonConverters.fromJson(json['responseStatus'],'ResponseStatus',context!); uuid = json['uuid']; stac_uuid = json['stac_uuid']; course_name = json['course_name']; term = json['term']; reporting_term = json['reporting_term']; instructors = JsonConverters.fromJson(json['instructors'],'List',context!); return this; } Map toJson() => { 'responseStatus': JsonConverters.toJson(responseStatus,'ResponseStatus',context!), 'uuid': uuid, 'stac_uuid': stac_uuid, 'course_name': course_name, 'term': term, 'reporting_term': reporting_term, 'instructors': JsonConverters.toJson(instructors,'List',context!) }; getTypeName() => "StudentAcademicCredentialAdditionalInstructorsResponse"; TypeContext? context = _ctx; } // @Route("/StudentAcademicCredential/{uuid}/AdditionalInstructors/{stac_uuid}", "POST") class StudentAcademicCredentialAdditionalInstructorsRequest implements IReturn, IConvertible, IPost { String? uuid; String? stac_uuid; StudentAcademicCredentialAdditionalInstructorsRequest({this.uuid,this.stac_uuid}); StudentAcademicCredentialAdditionalInstructorsRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { uuid = json['uuid']; stac_uuid = json['stac_uuid']; return this; } Map toJson() => { 'uuid': uuid, 'stac_uuid': stac_uuid }; createResponse() => StudentAcademicCredentialAdditionalInstructorsResponse(); getResponseTypeName() => "StudentAcademicCredentialAdditionalInstructorsResponse"; getTypeName() => "StudentAcademicCredentialAdditionalInstructorsRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'data.regent_college.edu', types: { 'InstructorResponse': TypeInfo(TypeOf.Class, create:() => InstructorResponse()), 'StudentAcademicCredentialAdditionalInstructorsResponse': TypeInfo(TypeOf.Class, create:() => StudentAcademicCredentialAdditionalInstructorsResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'StudentAcademicCredentialAdditionalInstructorsRequest': TypeInfo(TypeOf.Class, create:() => StudentAcademicCredentialAdditionalInstructorsRequest()), });