/* Options: Date: 2024-12-29 03:55:35 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: TaxReceiptListRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class TaxReceiptResponse implements IConvertible { bool? is_t4a; bool? is_t2202a; int? year; String? url; TaxReceiptResponse({this.is_t4a,this.is_t2202a,this.year,this.url}); TaxReceiptResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { is_t4a = json['is_t4a']; is_t2202a = json['is_t2202a']; year = json['year']; url = json['url']; return this; } Map toJson() => { 'is_t4a': is_t4a, 'is_t2202a': is_t2202a, 'year': year, 'url': url }; getTypeName() => "TaxReceiptResponse"; TypeContext? context = _ctx; } class TaxReceiptsResponse implements IConvertible { ResponseStatus? responseStatus; bool? is_missing_tax_number; List? receipts; TaxReceiptsResponse({this.responseStatus,this.is_missing_tax_number,this.receipts}); TaxReceiptsResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { responseStatus = JsonConverters.fromJson(json['responseStatus'],'ResponseStatus',context!); is_missing_tax_number = json['is_missing_tax_number']; receipts = JsonConverters.fromJson(json['receipts'],'List',context!); return this; } Map toJson() => { 'responseStatus': JsonConverters.toJson(responseStatus,'ResponseStatus',context!), 'is_missing_tax_number': is_missing_tax_number, 'receipts': JsonConverters.toJson(receipts,'List',context!) }; getTypeName() => "TaxReceiptsResponse"; TypeContext? context = _ctx; } // @Route("/TaxReceipt/{uuid}/List", "POST") class TaxReceiptListRequest implements IReturn, IConvertible, IPost { String? uuid; TaxReceiptListRequest({this.uuid}); TaxReceiptListRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { uuid = json['uuid']; return this; } Map toJson() => { 'uuid': uuid }; createResponse() => TaxReceiptsResponse(); getResponseTypeName() => "TaxReceiptsResponse"; getTypeName() => "TaxReceiptListRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'data.regent_college.edu', types: { 'TaxReceiptResponse': TypeInfo(TypeOf.Class, create:() => TaxReceiptResponse()), 'TaxReceiptsResponse': TypeInfo(TypeOf.Class, create:() => TaxReceiptsResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'TaxReceiptListRequest': TypeInfo(TypeOf.Class, create:() => TaxReceiptListRequest()), });