-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathTaxonomyModel.cs
More file actions
44 lines (33 loc) · 1.37 KB
/
TaxonomyModel.cs
File metadata and controls
44 lines (33 loc) · 1.37 KB
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
using Newtonsoft.Json;
namespace Contentstack.Management.Core.Models
{
/// <summary>
/// Model for Taxonomy create/update and API response.
/// </summary>
[JsonObject(ItemNullValueHandling = NullValueHandling.Ignore)]
public class TaxonomyModel
{
[JsonProperty(propertyName: "uid")]
public string Uid { get; set; }
[JsonProperty(propertyName: "name")]
public string Name { get; set; }
[JsonProperty(propertyName: "description")]
public string Description { get; set; }
[JsonProperty(propertyName: "locale")]
public string Locale { get; set; }
[JsonProperty(propertyName: "terms_count")]
public int? TermsCount { get; set; }
[JsonProperty(propertyName: "referenced_terms_count")]
public int? ReferencedTermsCount { get; set; }
[JsonProperty(propertyName: "referenced_entries_count")]
public int? ReferencedEntriesCount { get; set; }
[JsonProperty(propertyName: "referenced_content_type_count")]
public int? ReferencedContentTypeCount { get; set; }
[JsonProperty(propertyName: "created_at")]
public string CreatedAt { get; set; }
[JsonProperty(propertyName: "updated_at")]
public string UpdatedAt { get; set; }
[JsonProperty(propertyName: "uuid")]
public string Uuid { get; set; }
}
}