-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
SecurityInsightsWatchlistItemData.cs
139 lines (133 loc) · 6.65 KB
/
SecurityInsightsWatchlistItemData.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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using Azure;
using Azure.Core;
using Azure.ResourceManager.Models;
using Azure.ResourceManager.SecurityInsights.Models;
namespace Azure.ResourceManager.SecurityInsights
{
/// <summary>
/// A class representing the SecurityInsightsWatchlistItem data model.
/// Represents a Watchlist Item in Azure Security Insights.
/// </summary>
public partial class SecurityInsightsWatchlistItemData : ResourceData
{
/// <summary> Initializes a new instance of SecurityInsightsWatchlistItemData. </summary>
public SecurityInsightsWatchlistItemData()
{
}
/// <summary> Initializes a new instance of SecurityInsightsWatchlistItemData. </summary>
/// <param name="id"> The id. </param>
/// <param name="name"> The name. </param>
/// <param name="resourceType"> The resourceType. </param>
/// <param name="systemData"> The systemData. </param>
/// <param name="watchlistItemType"> The type of the watchlist item. </param>
/// <param name="watchlistItemId"> The id (a Guid) of the watchlist item. </param>
/// <param name="tenantId"> The tenantId to which the watchlist item belongs to. </param>
/// <param name="isDeleted"> A flag that indicates if the watchlist item is deleted or not. </param>
/// <param name="createdOn"> The time the watchlist item was created. </param>
/// <param name="updatedOn"> The last time the watchlist item was updated. </param>
/// <param name="createdBy"> Describes a user that created the watchlist item. </param>
/// <param name="updatedBy"> Describes a user that updated the watchlist item. </param>
/// <param name="itemsKeyValue"> key-value pairs for a watchlist item. </param>
/// <param name="entityMapping"> key-value pairs for a watchlist item entity mapping. </param>
/// <param name="etag"> Etag of the azure resource. </param>
internal SecurityInsightsWatchlistItemData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string watchlistItemType, string watchlistItemId, Guid? tenantId, bool? isDeleted, DateTimeOffset? createdOn, DateTimeOffset? updatedOn, SecurityInsightsUserInfo createdBy, SecurityInsightsUserInfo updatedBy, BinaryData itemsKeyValue, BinaryData entityMapping, ETag? etag) : base(id, name, resourceType, systemData)
{
WatchlistItemType = watchlistItemType;
WatchlistItemId = watchlistItemId;
TenantId = tenantId;
IsDeleted = isDeleted;
CreatedOn = createdOn;
UpdatedOn = updatedOn;
CreatedBy = createdBy;
UpdatedBy = updatedBy;
ItemsKeyValue = itemsKeyValue;
EntityMapping = entityMapping;
ETag = etag;
}
/// <summary> The type of the watchlist item. </summary>
public string WatchlistItemType { get; set; }
/// <summary> The id (a Guid) of the watchlist item. </summary>
public string WatchlistItemId { get; set; }
/// <summary> The tenantId to which the watchlist item belongs to. </summary>
public Guid? TenantId { get; set; }
/// <summary> A flag that indicates if the watchlist item is deleted or not. </summary>
public bool? IsDeleted { get; set; }
/// <summary> The time the watchlist item was created. </summary>
public DateTimeOffset? CreatedOn { get; set; }
/// <summary> The last time the watchlist item was updated. </summary>
public DateTimeOffset? UpdatedOn { get; set; }
/// <summary> Describes a user that created the watchlist item. </summary>
public SecurityInsightsUserInfo CreatedBy { get; set; }
/// <summary> Describes a user that updated the watchlist item. </summary>
public SecurityInsightsUserInfo UpdatedBy { get; set; }
/// <summary>
/// key-value pairs for a watchlist item
/// <para>
/// To assign an object to this property use <see cref="BinaryData.FromObjectAsJson{T}(T, System.Text.Json.JsonSerializerOptions?)"/>.
/// </para>
/// <para>
/// To assign an already formated json string to this property use <see cref="BinaryData.FromString(string)"/>.
/// </para>
/// <para>
/// Examples:
/// <list type="bullet">
/// <item>
/// <term>BinaryData.FromObjectAsJson("foo")</term>
/// <description>Creates a payload of "foo".</description>
/// </item>
/// <item>
/// <term>BinaryData.FromString("\"foo\"")</term>
/// <description>Creates a payload of "foo".</description>
/// </item>
/// <item>
/// <term>BinaryData.FromObjectAsJson(new { key = "value" })</term>
/// <description>Creates a payload of { "key": "value" }.</description>
/// </item>
/// <item>
/// <term>BinaryData.FromString("{\"key\": \"value\"}")</term>
/// <description>Creates a payload of { "key": "value" }.</description>
/// </item>
/// </list>
/// </para>
/// </summary>
public BinaryData ItemsKeyValue { get; set; }
/// <summary>
/// key-value pairs for a watchlist item entity mapping
/// <para>
/// To assign an object to this property use <see cref="BinaryData.FromObjectAsJson{T}(T, System.Text.Json.JsonSerializerOptions?)"/>.
/// </para>
/// <para>
/// To assign an already formated json string to this property use <see cref="BinaryData.FromString(string)"/>.
/// </para>
/// <para>
/// Examples:
/// <list type="bullet">
/// <item>
/// <term>BinaryData.FromObjectAsJson("foo")</term>
/// <description>Creates a payload of "foo".</description>
/// </item>
/// <item>
/// <term>BinaryData.FromString("\"foo\"")</term>
/// <description>Creates a payload of "foo".</description>
/// </item>
/// <item>
/// <term>BinaryData.FromObjectAsJson(new { key = "value" })</term>
/// <description>Creates a payload of { "key": "value" }.</description>
/// </item>
/// <item>
/// <term>BinaryData.FromString("{\"key\": \"value\"}")</term>
/// <description>Creates a payload of { "key": "value" }.</description>
/// </item>
/// </list>
/// </para>
/// </summary>
public BinaryData EntityMapping { get; set; }
/// <summary> Etag of the azure resource. </summary>
public ETag? ETag { get; set; }
}
}