Skip to content

Commit

Permalink
Added RecipientGroupCreationDto
Browse files Browse the repository at this point in the history
  • Loading branch information
davidnmbond committed Jan 4, 2024
1 parent 05d87ed commit d4465de
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions LogicMonitor.Api/Settings/RecipientGroupCreationDto.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
namespace LogicMonitor.Api.Settings;

/// <summary>
/// An external alert destination
/// </summary>
[DataContract]
public class RecipientGroupCreationDto : CreationDto<RecipientGroup>
{
/// <summary>
/// The group name
/// </summary>
[DataMember(Name = "groupName")]
public string GroupName { get; set; } = string.Empty;

/// <summary>
/// The LogicMonitor Description
/// </summary>
[DataMember(Name = "description")]
public string Description { get; set; } = string.Empty;

/// <summary>
/// The recipients
/// </summary>
[DataMember(Name = "recipients")]
public List<AlertRecipient> Recipients { get; set; } = [];
}

0 comments on commit d4465de

Please sign in to comment.