/
IFieldLink.cs
58 lines (48 loc) · 1.93 KB
/
IFieldLink.cs
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
using System;
namespace PnP.Core.Model.SharePoint
{
/// <summary>
/// Public interface to define a FieldLink object
/// </summary>
[ConcreteType(typeof(FieldLink))]
public interface IFieldLink : IDataModel<IFieldLink>, IDataModelGet<IFieldLink>, IDataModelLoad<IFieldLink>, IDataModelUpdate, IDataModelDelete, IQueryableDataModel
{
/// <summary>
/// Gets or sets the display name of the field in the field link.
/// </summary>
public string DisplayName { get; set; }
/// <summary>
/// Gets or sets the field internal name specified in the field link.
/// </summary>
public string FieldInternalName { get; }
/// <summary>
/// Gets or sets a Boolean value that specifies whether the field is displayed in forms that can be edited.
/// </summary>
public bool Hidden { get; set; }
/// <summary>
/// Gets a value that specifies the GUID of the FieldLink.
/// </summary>
public Guid Id { get; }
/// <summary>
/// Gets a value that specifies the name of the FieldLink.
/// </summary>
public string Name { get; }
/// <summary>
/// Gets or sets whether the field is read-only.
/// </summary>
[System.Diagnostics.CodeAnalysis.SuppressMessage("Naming", "CA1716:Identifiers should not match keywords", Justification = "<Pending>")]
public bool ReadOnly { get; set; }
/// <summary>
/// Gets or sets whether the field is required.
/// </summary>
public bool Required { get; set; }
/// <summary>
/// Gets or sets whether the field should be shown in display form.
/// </summary>
public bool ShowInDisplayForm { get; set; }
/// <summary>
/// A special property used to add an asterisk to a $select statement
/// </summary>
public object All { get; }
}
}