/* Options: Date: 2024-10-06 10:34:40 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: SectionInstructorAndTAEmailRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class SectionInstructorAndTAEmailResponse implements IConvertible { String? uuid; String? course_name; String? title; String? term; String? reporting_term; List? taEmailList; List? instructorEmailList; SectionInstructorAndTAEmailResponse({this.uuid,this.course_name,this.title,this.term,this.reporting_term,this.taEmailList,this.instructorEmailList}); SectionInstructorAndTAEmailResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { uuid = json['uuid']; course_name = json['course_name']; title = json['title']; term = json['term']; reporting_term = json['reporting_term']; taEmailList = JsonConverters.fromJson(json['taEmailList'],'List',context!); instructorEmailList = JsonConverters.fromJson(json['instructorEmailList'],'List',context!); return this; } Map toJson() => { 'uuid': uuid, 'course_name': course_name, 'title': title, 'term': term, 'reporting_term': reporting_term, 'taEmailList': JsonConverters.toJson(taEmailList,'List',context!), 'instructorEmailList': JsonConverters.toJson(instructorEmailList,'List',context!) }; getTypeName() => "SectionInstructorAndTAEmailResponse"; TypeContext? context = _ctx; } // @Route("/Sections/InstructorAndTA/{uuid}", "POST") class SectionInstructorAndTAEmailRequest implements IReturn, IConvertible, IPost { String? uuid; SectionInstructorAndTAEmailRequest({this.uuid}); SectionInstructorAndTAEmailRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { uuid = json['uuid']; return this; } Map toJson() => { 'uuid': uuid }; createResponse() => SectionInstructorAndTAEmailResponse(); getResponseTypeName() => "SectionInstructorAndTAEmailResponse"; getTypeName() => "SectionInstructorAndTAEmailRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'data.regent_college.edu', types: { 'SectionInstructorAndTAEmailResponse': TypeInfo(TypeOf.Class, create:() => SectionInstructorAndTAEmailResponse()), 'SectionInstructorAndTAEmailRequest': TypeInfo(TypeOf.Class, create:() => SectionInstructorAndTAEmailRequest()), });