-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathGlobalFieldRefs.cs
More file actions
36 lines (32 loc) · 1.15 KB
/
GlobalFieldRefs.cs
File metadata and controls
36 lines (32 loc) · 1.15 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
using System.Collections.Generic;
using Newtonsoft.Json;
namespace Contentstack.Management.Core.Models
{
/// <summary>
/// Represents a global field reference tracking information.
/// This is used to track references to other global fields within a global field schema.
/// </summary>
public class GlobalFieldRefs
{
/// <summary>
/// The UID of the referenced global field.
/// </summary>
[JsonProperty(propertyName: "uid")]
public string Uid { get; set; }
/// <summary>
/// The number of times this global field is referenced in the schema.
/// </summary>
[JsonProperty(propertyName: "occurrence_count")]
public int OccurrenceCount { get; set; }
/// <summary>
/// Indicates whether this is a child reference.
/// </summary>
[JsonProperty(propertyName: "isChild")]
public bool IsChild { get; set; }
/// <summary>
/// Array of paths where this global field reference occurs in the schema.
/// </summary>
[JsonProperty(propertyName: "paths")]
public List<string> Paths { get; set; }
}
}