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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
using System;
using System.Collections.Generic;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace Jtd.JtdCodegenDemo
{
/// <summary>
/// A user represents a person in our system.
/// </summary>
public class User
{
/// <value>
/// The first known location of this user
/// </value>
[JsonProperty("first_known_location")]
public Location FirstKnownLocation { get; set; }
/// <value>
/// The ID of the user in our database.
/// </value>
[JsonProperty("id")]
public string Id { get; set; }
/// <value>
/// Free-form labels that we have put on the user.
/// </value>
[JsonProperty("labels")]
public IDictionary<string, string> Labels { get; set; }
/// <value>
/// The last known location of this user
/// </value>
[JsonProperty("last_known_location")]
public Location LastKnownLocation { get; set; }
/// <value>
/// The user's name.
/// </value>
[JsonProperty("name")]
public Name Name { get; set; }
/// <value>
/// Some preferences the user has indicated to us.
/// </value>
[JsonProperty("preferences")]
public Preferences Preferences { get; set; }
}
}