/* Options: Date: 2024-12-29 02:29: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: RegistrationDeleteRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class RegistrationDeleteResponse implements IConvertible { ResponseStatus? responseStatus; String? transaction_uuid; int? regent_id; String? course_name; String? course_title; double? amount; bool? is_audit; RegistrationDeleteResponse({this.responseStatus,this.transaction_uuid,this.regent_id,this.course_name,this.course_title,this.amount,this.is_audit}); RegistrationDeleteResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { responseStatus = JsonConverters.fromJson(json['responseStatus'],'ResponseStatus',context!); transaction_uuid = json['transaction_uuid']; regent_id = json['regent_id']; course_name = json['course_name']; course_title = json['course_title']; amount = JsonConverters.toDouble(json['amount']); is_audit = json['is_audit']; return this; } Map toJson() => { 'responseStatus': JsonConverters.toJson(responseStatus,'ResponseStatus',context!), 'transaction_uuid': transaction_uuid, 'regent_id': regent_id, 'course_name': course_name, 'course_title': course_title, 'amount': amount, 'is_audit': is_audit }; getTypeName() => "RegistrationDeleteResponse"; TypeContext? context = _ctx; } // @Route("/Registration/Delete/{transaction_uuid}", "POST") class RegistrationDeleteRequest implements IReturn, IConvertible, IPost { String? transaction_uuid; String? section_uuid; String? changed_by_uuid; RegistrationDeleteRequest({this.transaction_uuid,this.section_uuid,this.changed_by_uuid}); RegistrationDeleteRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { transaction_uuid = json['transaction_uuid']; section_uuid = json['section_uuid']; changed_by_uuid = json['changed_by_uuid']; return this; } Map toJson() => { 'transaction_uuid': transaction_uuid, 'section_uuid': section_uuid, 'changed_by_uuid': changed_by_uuid }; createResponse() => RegistrationDeleteResponse(); getResponseTypeName() => "RegistrationDeleteResponse"; getTypeName() => "RegistrationDeleteRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'data.regent_college.edu', types: { 'RegistrationDeleteResponse': TypeInfo(TypeOf.Class, create:() => RegistrationDeleteResponse()), 'RegistrationDeleteRequest': TypeInfo(TypeOf.Class, create:() => RegistrationDeleteRequest()), });