/* Options: Date: 2025-09-03 19:58:41 Version: 6.10 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://foundrystage-api-app.azurewebsites.net //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: RemoveUserFromBlockListRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; abstract class DeleteOperationUnTenanted implements IDelete { DeleteOperationUnTenanted(); DeleteOperationUnTenanted.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; getTypeName() => "DeleteOperationUnTenanted<$TResponse>"; TypeContext? context = _ctx; } class OrganisationNotificationSettings implements IIdentifiableResource, IConvertible { List? warningNotificationRoles; List? jobFinishedNotificationRoles; List? userIdBlockList; String? id; OrganisationNotificationSettings({this.warningNotificationRoles,this.jobFinishedNotificationRoles,this.userIdBlockList,this.id}); OrganisationNotificationSettings.fromJson(Map json) { fromMap(json); } fromMap(Map json) { warningNotificationRoles = JsonConverters.fromJson(json['warningNotificationRoles'],'List',context!); jobFinishedNotificationRoles = JsonConverters.fromJson(json['jobFinishedNotificationRoles'],'List',context!); userIdBlockList = JsonConverters.fromJson(json['userIdBlockList'],'List',context!); id = json['id']; return this; } Map toJson() => { 'warningNotificationRoles': JsonConverters.toJson(warningNotificationRoles,'List',context!), 'jobFinishedNotificationRoles': JsonConverters.toJson(jobFinishedNotificationRoles,'List',context!), 'userIdBlockList': JsonConverters.toJson(userIdBlockList,'List',context!), 'id': id }; getTypeName() => "OrganisationNotificationSettings"; TypeContext? context = _ctx; } abstract class IIdentifiableResource { String? id; } class BlockListResponse implements IConvertible { ResponseStatus? responseStatus; OrganisationNotificationSettings? notificationSettings; BlockListResponse({this.responseStatus,this.notificationSettings}); BlockListResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { responseStatus = JsonConverters.fromJson(json['responseStatus'],'ResponseStatus',context!); notificationSettings = JsonConverters.fromJson(json['notificationSettings'],'OrganisationNotificationSettings',context!); return this; } Map toJson() => { 'responseStatus': JsonConverters.toJson(responseStatus,'ResponseStatus',context!), 'notificationSettings': JsonConverters.toJson(notificationSettings,'OrganisationNotificationSettings',context!) }; getTypeName() => "BlockListResponse"; TypeContext? context = _ctx; } // @Route("/organisations/{Id}/blocklist", "DELETE") class RemoveUserFromBlockListRequest extends DeleteOperationUnTenanted implements IReturn, IConvertible { String? id; String? userId; RemoveUserFromBlockListRequest({this.id,this.userId}); RemoveUserFromBlockListRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); id = json['id']; userId = json['userId']; return this; } Map toJson() => super.toJson()..addAll({ 'id': id, 'userId': userId }); createResponse() => BlockListResponse(); getResponseTypeName() => "BlockListResponse"; getTypeName() => "RemoveUserFromBlockListRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'foundrystage_api_app.azurewebsites.net', types: { 'DeleteOperationUnTenanted': TypeInfo(TypeOf.AbstractClass), 'OrganisationNotificationSettings': TypeInfo(TypeOf.Class, create:() => OrganisationNotificationSettings()), 'IIdentifiableResource': TypeInfo(TypeOf.Interface), 'BlockListResponse': TypeInfo(TypeOf.Class, create:() => BlockListResponse()), 'RemoveUserFromBlockListRequest': TypeInfo(TypeOf.Class, create:() => RemoveUserFromBlockListRequest()), });