/* Options: Date: 2024-10-06 10:27:24 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: SectionInstructorUpdateRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; // @Route("/Sections/Instructor/Update/{uuid}", "POST") class SectionInstructorUpdateRequest implements IReturn, IConvertible, IPost { String? uuid; String? authorizing_uuid; List? instructor_regent_ids; SectionInstructorUpdateRequest({this.uuid,this.authorizing_uuid,this.instructor_regent_ids}); SectionInstructorUpdateRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { uuid = json['uuid']; authorizing_uuid = json['authorizing_uuid']; instructor_regent_ids = JsonConverters.fromJson(json['instructor_regent_ids'],'List',context!); return this; } Map toJson() => { 'uuid': uuid, 'authorizing_uuid': authorizing_uuid, 'instructor_regent_ids': JsonConverters.toJson(instructor_regent_ids,'List',context!) }; createResponse() => ResponseStatus(); getResponseTypeName() => "ResponseStatus"; getTypeName() => "SectionInstructorUpdateRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'data.regent_college.edu', types: { 'SectionInstructorUpdateRequest': TypeInfo(TypeOf.Class, create:() => SectionInstructorUpdateRequest()), });