/* Options: Date: 2024-12-15 20:50:07 Version: 6.10 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://staging-api.billiecart.com.au //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: ExportPaymentRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; abstract class ITenantedRequest { String? organisationId; } abstract class PutPatchOperationUnTenanted implements IPatch, IPut { PutPatchOperationUnTenanted(); PutPatchOperationUnTenanted.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; getTypeName() => "PutPatchOperationUnTenanted<$TResponse>"; TypeContext? context = _ctx; } abstract class PutPatchOperationTenanted extends PutPatchOperationUnTenanted implements ITenantedRequest { String? organisationId; PutPatchOperationTenanted({this.organisationId}); PutPatchOperationTenanted.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); organisationId = json['organisationId']; return this; } Map toJson() => super.toJson()..addAll({ 'organisationId': organisationId }); getTypeName() => "PutPatchOperationTenanted<$TResponse>"; TypeContext? context = _ctx; } class ExportPaymentResponse implements IConvertible { ResponseStatus? responseStatus; ExportPaymentResponse({this.responseStatus}); ExportPaymentResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { responseStatus = JsonConverters.fromJson(json['responseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'responseStatus': JsonConverters.toJson(responseStatus,'ResponseStatus',context!) }; getTypeName() => "ExportPaymentResponse"; TypeContext? context = _ctx; } // @Route("/payments/export", "PUT") class ExportPaymentRequest extends PutPatchOperationTenanted implements IReturn, IConvertible { ExportPaymentRequest(); ExportPaymentRequest.fromJson(Map json) : super.fromJson(json); fromMap(Map json) { super.fromMap(json); return this; } Map toJson() => super.toJson(); createResponse() => ExportPaymentResponse(); getResponseTypeName() => "ExportPaymentResponse"; getTypeName() => "ExportPaymentRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'staging_api.billiecart.com.au', types: { 'ITenantedRequest': TypeInfo(TypeOf.Interface), 'PutPatchOperationUnTenanted': TypeInfo(TypeOf.AbstractClass), 'PutPatchOperationTenanted': TypeInfo(TypeOf.AbstractClass), 'ExportPaymentResponse': TypeInfo(TypeOf.Class, create:() => ExportPaymentResponse()), 'ExportPaymentRequest': TypeInfo(TypeOf.Class, create:() => ExportPaymentRequest()), });