/* Options: Date: 2024-12-29 03:00:34 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: FinanceAccountLatestTransactionRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class FinanceAccountLatestTransactionResponse implements IConvertible { ResponseStatus? responseStatus; DateTime? latest_transaction_date; FinanceAccountLatestTransactionResponse({this.responseStatus,this.latest_transaction_date}); FinanceAccountLatestTransactionResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { responseStatus = JsonConverters.fromJson(json['responseStatus'],'ResponseStatus',context!); latest_transaction_date = JsonConverters.fromJson(json['latest_transaction_date'],'DateTime',context!); return this; } Map toJson() => { 'responseStatus': JsonConverters.toJson(responseStatus,'ResponseStatus',context!), 'latest_transaction_date': JsonConverters.toJson(latest_transaction_date,'DateTime',context!) }; getTypeName() => "FinanceAccountLatestTransactionResponse"; TypeContext? context = _ctx; } // @Route("/Finance/LatestTransaction/{uuid}", "POST") class FinanceAccountLatestTransactionRequest implements IReturn, IConvertible, IPost { String? uuid; FinanceAccountLatestTransactionRequest({this.uuid}); FinanceAccountLatestTransactionRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { uuid = json['uuid']; return this; } Map toJson() => { 'uuid': uuid }; createResponse() => FinanceAccountLatestTransactionResponse(); getResponseTypeName() => "FinanceAccountLatestTransactionResponse"; getTypeName() => "FinanceAccountLatestTransactionRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'data.regent_college.edu', types: { 'FinanceAccountLatestTransactionResponse': TypeInfo(TypeOf.Class, create:() => FinanceAccountLatestTransactionResponse()), 'FinanceAccountLatestTransactionRequest': TypeInfo(TypeOf.Class, create:() => FinanceAccountLatestTransactionRequest()), });