/* Options: Date: 2025-04-04 17:17: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: DeleteUserAccountRequest.* //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 DeleteUserAccountResponse implements IConvertible { ResponseStatus? responseStatus; DeleteUserAccountResponse({this.responseStatus}); DeleteUserAccountResponse.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() => "DeleteUserAccountResponse"; TypeContext? context = _ctx; } // @Route("/users/{Id}", "DELETE") class DeleteUserAccountRequest extends DeleteOperationTenanted implements IReturn, IConvertible { String? id; DeleteUserAccountRequest({this.id}); DeleteUserAccountRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); id = json['id']; return this; } Map toJson() => super.toJson()..addAll({ 'id': id }); createResponse() => DeleteUserAccountResponse(); getResponseTypeName() => "DeleteUserAccountResponse"; getTypeName() => "DeleteUserAccountRequest"; 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), 'DeleteUserAccountResponse': TypeInfo(TypeOf.Class, create:() => DeleteUserAccountResponse()), 'DeleteUserAccountRequest': TypeInfo(TypeOf.Class, create:() => DeleteUserAccountRequest()), });