/
TeamsACEProperties.cs
76 lines (67 loc) · 1.9 KB
/
TeamsACEProperties.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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
using System.Text.Json.Serialization;
namespace PnP.Core.Model.SharePoint
{
/// <summary>
/// Teams ACE Properties
/// </summary>
public class TeamsACEProperties : ACEProperties
{
/// <summary>
/// Teams ACE app
/// </summary>
[JsonPropertyName("selectedApp")]
public TeamsACEApp SelectedApp { get; set; }
}
/// <summary>
/// Teams ACE app
/// </summary>
public class TeamsACEApp
{
/// <summary>
/// ACE app id
/// </summary>
[JsonPropertyName("appId")]
public string AppId { get; set; }
/// <summary>
/// ACE description
/// </summary>
[JsonPropertyName("description")]
public string Description { get; set; }
/// <summary>
/// ACE title
/// </summary>
[JsonPropertyName("title")]
public string Title { get; set; }
/// <summary>
/// ACE distributionmethod
/// </summary>
[JsonPropertyName("distributionMethod")]
public string DistributionMethod { get; set; }
/// <summary>
/// ACE icon properties
/// </summary>
[JsonPropertyName("iconProperties")]
public TeamsACEAppIconProperties IconProperties { get; set; }
/// <summary>
/// ACE is bot
/// </summary>
[JsonPropertyName("isBot")]
public bool IsBot { get; set; }
}
/// <summary>
/// Teams ACE app icon properties
/// </summary>
public class TeamsACEAppIconProperties
{
/// <summary>
/// Color icon web url
/// </summary>
[JsonPropertyName("colorIconWebUrl")]
public string ColorIconWebUrl { get; set; }
/// <summary>
/// Outline icon web url
/// </summary>
[JsonPropertyName("outlineIconWebUrl")]
public string OutlineIconWebUrl { get; set; }
}
}