-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy pathIFieldEditable.cs
More file actions
64 lines (55 loc) · 1.54 KB
/
Copy pathIFieldEditable.cs
File metadata and controls
64 lines (55 loc) · 1.54 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using SignNow.Net.Model;
namespace SignNow.Net.Interfaces
{
public interface IFieldEditable
{
/// <summary>
/// The page number of the document.
/// </summary>
[JsonProperty("page_number")]
int PageNumber { get; set; }
/// <summary>
/// The type of the Field.
/// </summary>
[JsonProperty("type")]
[JsonConverter(typeof(StringEnumConverter))]
FieldType Type { get; }
/// <summary>
/// The name of the Field.
/// </summary>
[JsonProperty("name")]
string Name { get; set; }
/// <summary>
/// The name role of the field.
/// </summary>
[JsonProperty("role")]
string Role { get; set; }
/// <summary>
/// Is field required or not.
/// </summary>
[JsonProperty("required")]
bool Required { get; set; }
/// <summary>
/// X coordinate of the field.
/// </summary>
[JsonProperty("x")]
public int X { get; set; }
/// <summary>
/// Y coordinate of the field.
/// </summary>
[JsonProperty("y")]
public int Y { get; set; }
/// <summary>
/// Width of the field.
/// </summary>
[JsonProperty("width")]
public int Width { get; set; }
/// <summary>
/// Height of the field.
/// </summary>
[JsonProperty("height")]
public int Height { get; set; }
}
}