forked from segmentio/Analytics.NET
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathScreen.cs
More file actions
33 lines (27 loc) · 793 Bytes
/
Screen.cs
File metadata and controls
33 lines (27 loc) · 793 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
using System;
using System.Collections.Generic;
using System.Text;
using Newtonsoft.Json;
namespace Segment.Model
{
public class Screen : BaseAction
{
[JsonProperty(PropertyName = "name")]
private string Name { get; set; }
[JsonProperty(PropertyName = "category")]
private string Category { get; set; }
[JsonProperty(PropertyName = "properties")]
private IDictionary<string, object> Properties { get; set; }
internal Screen(string userId,
string name,
string category,
IDictionary<string, object> properties,
Options options)
: base("screen", userId, options)
{
this.Name = name;
this.Category = category;
this.Properties = properties ?? new Properties();
}
}
}