/* Options: Date: 2025-09-01 05:55:10 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: GetOrganisationNotificationSettingsRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; abstract class GetOperationUnTenanted implements IHasGetOptions, IGet { String? embed; GetOperationUnTenanted({this.embed}); GetOperationUnTenanted.fromJson(Map json) { fromMap(json); } fromMap(Map json) { embed = json['embed']; return this; } Map toJson() => { 'embed': embed }; getTypeName() => "GetOperationUnTenanted<$TResponse>"; TypeContext? context = _ctx; } abstract class IHasGetOptions { String? embed; } 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 GetOrganisationNotificationSettingsResponse implements IConvertible { ResponseStatus? responseStatus; OrganisationNotificationSettings? notificationSettings; GetOrganisationNotificationSettingsResponse({this.responseStatus,this.notificationSettings}); GetOrganisationNotificationSettingsResponse.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() => "GetOrganisationNotificationSettingsResponse"; TypeContext? context = _ctx; } // @Route("/organisations/{Id}/notification-settings", "GET") class GetOrganisationNotificationSettingsRequest extends GetOperationUnTenanted implements IReturn, IConvertible { String? id; GetOrganisationNotificationSettingsRequest({this.id}); GetOrganisationNotificationSettingsRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); id = json['id']; return this; } Map toJson() => super.toJson()..addAll({ 'id': id }); createResponse() => GetOrganisationNotificationSettingsResponse(); getResponseTypeName() => "GetOrganisationNotificationSettingsResponse"; getTypeName() => "GetOrganisationNotificationSettingsRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'foundrystage_api_app.azurewebsites.net', types: { 'GetOperationUnTenanted': TypeInfo(TypeOf.AbstractClass), 'IHasGetOptions': TypeInfo(TypeOf.Interface), 'OrganisationNotificationSettings': TypeInfo(TypeOf.Class, create:() => OrganisationNotificationSettings()), 'IIdentifiableResource': TypeInfo(TypeOf.Interface), 'GetOrganisationNotificationSettingsResponse': TypeInfo(TypeOf.Class, create:() => GetOrganisationNotificationSettingsResponse()), 'GetOrganisationNotificationSettingsRequest': TypeInfo(TypeOf.Class, create:() => GetOrganisationNotificationSettingsRequest()), });