/* Options: Date: 2024-12-29 02:38:05 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: RegistrationActivityRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; // @Route("/registration/activity", "POST") class RegistrationActivityRequest implements IReturn>, IConvertible, IPost { String? uuid; String? reporting_term; DateTime? from_date; DateTime? to_date; RegistrationActivityRequest({this.uuid,this.reporting_term,this.from_date,this.to_date}); RegistrationActivityRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { uuid = json['uuid']; reporting_term = json['reporting_term']; from_date = JsonConverters.fromJson(json['from_date'],'DateTime',context!); to_date = JsonConverters.fromJson(json['to_date'],'DateTime',context!); return this; } Map toJson() => { 'uuid': uuid, 'reporting_term': reporting_term, 'from_date': JsonConverters.toJson(from_date,'DateTime',context!), 'to_date': JsonConverters.toJson(to_date,'DateTime',context!) }; createResponse() => []; getResponseTypeName() => "List"; getTypeName() => "RegistrationActivityRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'data.regent_college.edu', types: { 'RegistrationActivityRequest': TypeInfo(TypeOf.Class, create:() => RegistrationActivityRequest()), });