/* Options: Date: 2024-12-15 19:44:03 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: DeleteAdjustmentRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; abstract class ITenantedRequest { String? organisationId; } abstract class DeleteOperationUnTenanted implements IDelete { DeleteOperationUnTenanted(); DeleteOperationUnTenanted.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; getTypeName() => "DeleteOperationUnTenanted<$TResponse>"; TypeContext? context = _ctx; } abstract class DeleteOperationTenanted extends DeleteOperationUnTenanted implements ITenantedRequest { String? organisationId; DeleteOperationTenanted({this.organisationId}); DeleteOperationTenanted.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); organisationId = json['organisationId']; return this; } Map toJson() => super.toJson()..addAll({ 'organisationId': organisationId }); getTypeName() => "DeleteOperationTenanted<$TResponse>"; TypeContext? context = _ctx; } class DeleteAdjustmentResponse implements IConvertible { ResponseStatus? responseStatus; DeleteAdjustmentResponse({this.responseStatus}); DeleteAdjustmentResponse.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() => "DeleteAdjustmentResponse"; TypeContext? context = _ctx; } // @Route("/packages/{SalaryPackageId}/adjustments/{Id}", "DELETE") class DeleteAdjustmentRequest extends DeleteOperationTenanted implements IReturn, IConvertible { String? salaryPackageId; String? id; DeleteAdjustmentRequest({this.salaryPackageId,this.id}); DeleteAdjustmentRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); salaryPackageId = json['salaryPackageId']; id = json['id']; return this; } Map toJson() => super.toJson()..addAll({ 'salaryPackageId': salaryPackageId, 'id': id }); createResponse() => DeleteAdjustmentResponse(); getResponseTypeName() => "DeleteAdjustmentResponse"; getTypeName() => "DeleteAdjustmentRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'staging_api.billiecart.com.au', types: { 'ITenantedRequest': TypeInfo(TypeOf.Interface), 'DeleteOperationUnTenanted': TypeInfo(TypeOf.AbstractClass), 'DeleteOperationTenanted': TypeInfo(TypeOf.AbstractClass), 'DeleteAdjustmentResponse': TypeInfo(TypeOf.Class, create:() => DeleteAdjustmentResponse()), 'DeleteAdjustmentRequest': TypeInfo(TypeOf.Class, create:() => DeleteAdjustmentRequest()), });