/* Options: Date: 2024-12-29 04:10:25 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: DropSubmitRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; // @Route("/Registration/Drop/{uuid}/Term/{reporting_term}/Submit", "POST") class DropSubmitRequest implements IReturn, IConvertible, IPost { String? transaction_uuid; String? uuid; String? reporting_term; List? student_section_uuids_to_drop; List? rates_opted_in; String? authorizing_uuid; DropSubmitRequest({this.transaction_uuid,this.uuid,this.reporting_term,this.student_section_uuids_to_drop,this.rates_opted_in,this.authorizing_uuid}); DropSubmitRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { transaction_uuid = json['transaction_uuid']; uuid = json['uuid']; reporting_term = json['reporting_term']; student_section_uuids_to_drop = JsonConverters.fromJson(json['student_section_uuids_to_drop'],'List',context!); rates_opted_in = JsonConverters.fromJson(json['rates_opted_in'],'List',context!); authorizing_uuid = json['authorizing_uuid']; return this; } Map toJson() => { 'transaction_uuid': transaction_uuid, 'uuid': uuid, 'reporting_term': reporting_term, 'student_section_uuids_to_drop': JsonConverters.toJson(student_section_uuids_to_drop,'List',context!), 'rates_opted_in': JsonConverters.toJson(rates_opted_in,'List',context!), 'authorizing_uuid': authorizing_uuid }; createResponse() => ResponseStatus(); getResponseTypeName() => "ResponseStatus"; getTypeName() => "DropSubmitRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'data.regent_college.edu', types: { 'DropSubmitRequest': TypeInfo(TypeOf.Class, create:() => DropSubmitRequest()), });