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