NotificationParameterObject.cs 772 Bytes
Newer Older
1
2
using Coscine.Database.DataModel;
using Newtonsoft.Json.Linq;
3
4
5
6
7
8
using System.Collections.Generic;

namespace Coscine.Api.NotificationBus
{
    public class NotificationParameterObject
    {
9
        public List<User> Users { get; set; }
10
11
12
13
14
15
16
17
18
19
20
21
22
23

        public string Action { get; set; }

        public string ProjectId { get; set; }

        public JObject Args { get; set; }

        public string Href { get; set; }

        public NotificationParameterObject()
        {

        }

24
        public NotificationParameterObject(string action, List<User> users, string projectId, JObject args, string href)
25
26
        {
            Action = action;
27
            Users = users;
28
29
30
31
32
33
34
            ProjectId = projectId;
            Args = args;
            Href = href;
        }

    }
}