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