mirror of
https://github.com/bitwarden/server
synced 2025-12-20 02:03:46 +00:00
29 lines
791 B
C#
29 lines
791 B
C#
using Bit.Core.AdminConsole.Entities;
|
|
using Bit.Core.Enums;
|
|
|
|
|
|
namespace Bit.Api.AdminConsole.Models.Request.Organizations;
|
|
|
|
public class OrganizationIntegrationConfigurationRequestModel
|
|
{
|
|
public string? Configuration { get; set; }
|
|
|
|
public EventType? EventType { get; set; }
|
|
|
|
public string? Filters { get; set; }
|
|
|
|
public string? Template { get; set; }
|
|
|
|
public OrganizationIntegrationConfiguration ToOrganizationIntegrationConfiguration(Guid organizationIntegrationId)
|
|
{
|
|
return new OrganizationIntegrationConfiguration()
|
|
{
|
|
OrganizationIntegrationId = organizationIntegrationId,
|
|
Configuration = Configuration,
|
|
Filters = Filters,
|
|
EventType = EventType,
|
|
Template = Template
|
|
};
|
|
}
|
|
}
|