-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Extended notificationOrderExt with sms properties (#410)
- Loading branch information
Showing
4 changed files
with
48 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
using System.Text.Json.Serialization; | ||
|
||
namespace Altinn.Notifications.Models | ||
{ | ||
/// <summary> | ||
/// Template for an sms notification | ||
/// </summary> | ||
public class SmsTemplateExt | ||
{ | ||
/// <summary> | ||
/// Gets the number from which the SMS is created by the template | ||
/// </summary> | ||
[JsonPropertyName("senderNumber")] | ||
public string SenderNumber { get; internal set; } = string.Empty; | ||
|
||
/// <summary> | ||
/// Gets the body of SMSs created by the template | ||
/// </summary> | ||
[JsonPropertyName("body")] | ||
public string Body { get; internal set; } = string.Empty; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters