Skip to content

Commit 773e12d

Browse files
Update generated files with build 3073761 (#712)
1 parent 0327251 commit 773e12d

26 files changed

+769
-28
lines changed

src/Microsoft.Graph/Microsoft.Graph.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<DelaySign>false</DelaySign>
2020
<AssemblyOriginatorKeyFile>35MSSharedLib1024.snk</AssemblyOriginatorKeyFile>
2121
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
22-
<VersionPrefix>3.6.0</VersionPrefix>
22+
<VersionPrefix>3.7.0</VersionPrefix>
2323
<!-- VersionPrefix minor version should not be set when the change comes from the generator. It will be updated automatically. -->
2424
<!-- VersionPrefix minor version must be manually set when making manual changes to code. -->
2525
<!-- VersionPrefix major and patch versions must be manually set. -->
@@ -47,4 +47,4 @@
4747
</PackagePath>
4848
</None>
4949
</ItemGroup>
50-
</Project>
50+
</Project>

src/Microsoft.Graph/Models/Generated/Alert.cs

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,13 @@ public Alert()
148148
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "hostStates", Required = Newtonsoft.Json.Required.Default)]
149149
public IEnumerable<HostSecurityState> HostStates { get; set; }
150150

151+
/// <summary>
152+
/// Gets or sets incident ids.
153+
/// IDs of incidents related to current alert. (new)
154+
/// </summary>
155+
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "incidentIds", Required = Newtonsoft.Json.Required.Default)]
156+
public IEnumerable<string> IncidentIds { get; set; }
157+
151158
/// <summary>
152159
/// Gets or sets last modified date time.
153160
/// Time at which the alert entity was last modified. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'.
@@ -164,7 +171,7 @@ public Alert()
164171

165172
/// <summary>
166173
/// Gets or sets network connections.
167-
/// Security-related stateful information generated by the provider about the network connection(s) related to this alert.
174+
/// Security-related stateful information generated by the provider about the network connection(s) related to this alert. (updated)
168175
/// </summary>
169176
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "networkConnections", Required = Newtonsoft.Json.Required.Default)]
170177
public IEnumerable<NetworkConnection> NetworkConnections { get; set; }
@@ -190,6 +197,13 @@ public Alert()
190197
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "registryKeyStates", Required = Newtonsoft.Json.Required.Default)]
191198
public IEnumerable<RegistryKeyState> RegistryKeyStates { get; set; }
192199

200+
/// <summary>
201+
/// Gets or sets security resources.
202+
/// Resources related to current alert. For example, for some alerts this can have the Azure Resource value. (new)
203+
/// </summary>
204+
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "securityResources", Required = Newtonsoft.Json.Required.Default)]
205+
public IEnumerable<SecurityResource> SecurityResources { get; set; }
206+
193207
/// <summary>
194208
/// Gets or sets severity.
195209
/// Alert severity - set by vendor/provider. Possible values are: unknown, informational, low, medium, high. Required.
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
// ------------------------------------------------------------------------------
2+
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
3+
// ------------------------------------------------------------------------------
4+
5+
// **NOTE** This file was generated by a tool and any changes will be overwritten.
6+
// <auto-generated/>
7+
8+
// Template Source: Templates\CSharp\Model\ComplexType.cs.tt
9+
10+
namespace Microsoft.Graph
11+
{
12+
using System;
13+
using System.Collections.Generic;
14+
using System.IO;
15+
using System.Runtime.Serialization;
16+
using Newtonsoft.Json;
17+
18+
/// <summary>
19+
/// The type AssignedLabel.
20+
/// </summary>
21+
[JsonObject(MemberSerialization = MemberSerialization.OptIn)]
22+
[JsonConverter(typeof(DerivedTypeConverter))]
23+
public partial class AssignedLabel
24+
{
25+
/// <summary>
26+
/// Initializes a new instance of the <see cref="AssignedLabel"/> class.
27+
/// </summary>
28+
public AssignedLabel()
29+
{
30+
this.ODataType = "microsoft.graph.assignedLabel";
31+
}
32+
33+
/// <summary>
34+
/// Gets or sets labelId.
35+
/// </summary>
36+
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "labelId", Required = Newtonsoft.Json.Required.Default)]
37+
public string LabelId { get; set; }
38+
39+
/// <summary>
40+
/// Gets or sets displayName.
41+
/// </summary>
42+
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "displayName", Required = Newtonsoft.Json.Required.Default)]
43+
public string DisplayName { get; set; }
44+
45+
/// <summary>
46+
/// Gets or sets additional data.
47+
/// </summary>
48+
[JsonExtensionData(ReadData = true)]
49+
public IDictionary<string, object> AdditionalData { get; set; }
50+
51+
/// <summary>
52+
/// Gets or sets @odata.type.
53+
/// </summary>
54+
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "@odata.type", Required = Newtonsoft.Json.Required.Default)]
55+
public string ODataType { get; set; }
56+
57+
}
58+
}

src/Microsoft.Graph/Models/Generated/Group.cs

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,12 @@ public Group()
3030
this.ODataType = "microsoft.graph.group";
3131
}
3232

33+
/// <summary>
34+
/// Gets or sets assigned labels.
35+
/// </summary>
36+
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "assignedLabels", Required = Newtonsoft.Json.Required.Default)]
37+
public IEnumerable<AssignedLabel> AssignedLabels { get; set; }
38+
3339
/// <summary>
3440
/// Gets or sets assigned licenses.
3541
/// The licenses that are assigned to the group. Returned only on $select. Read-only.
@@ -65,6 +71,12 @@ public Group()
6571
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "displayName", Required = Newtonsoft.Json.Required.Default)]
6672
public string DisplayName { get; set; }
6773

74+
/// <summary>
75+
/// Gets or sets expiration date time.
76+
/// </summary>
77+
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "expirationDateTime", Required = Newtonsoft.Json.Required.Default)]
78+
public DateTimeOffset? ExpirationDateTime { get; set; }
79+
6880
/// <summary>
6981
/// Gets or sets has members with license errors.
7082
/// Indicates whether there are members in this group that have license errors from its group-based license assignment. This property is never returned on a GET operation. You can use it as a $filter argument to get groups that have members with license errors (that is, filter for this property being true). See an example.
@@ -107,8 +119,21 @@ public Group()
107119
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "mailNickname", Required = Newtonsoft.Json.Required.Default)]
108120
public string MailNickname { get; set; }
109121

122+
/// <summary>
123+
/// Gets or sets membership rule.
124+
/// </summary>
125+
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "membershipRule", Required = Newtonsoft.Json.Required.Default)]
126+
public string MembershipRule { get; set; }
127+
128+
/// <summary>
129+
/// Gets or sets membership rule processing state.
130+
/// </summary>
131+
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "membershipRuleProcessingState", Required = Newtonsoft.Json.Required.Default)]
132+
public string MembershipRuleProcessingState { get; set; }
133+
110134
/// <summary>
111135
/// Gets or sets on premises domain name.
136+
/// Contains the on-premises domain FQDN, also called dnsDomainName synchronized from the on-premises directory. The property is only populated for customers who are synchronizing their on-premises directory to Azure Active Directory via Azure AD Connect.Returned by default. Read-only.
112137
/// </summary>
113138
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "onPremisesDomainName", Required = Newtonsoft.Json.Required.Default)]
114139
public string OnPremisesDomainName { get; set; }
@@ -122,6 +147,7 @@ public Group()
122147

123148
/// <summary>
124149
/// Gets or sets on premises net bios name.
150+
/// Contains the on-premises netBios name synchronized from the on-premises directory. The property is only populated for customers who are synchronizing their on-premises directory to Azure Active Directory via Azure AD Connect.Returned by default. Read-only.
125151
/// </summary>
126152
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "onPremisesNetBiosName", Required = Newtonsoft.Json.Required.Default)]
127153
public string OnPremisesNetBiosName { get; set; }
@@ -135,6 +161,7 @@ public Group()
135161

136162
/// <summary>
137163
/// Gets or sets on premises sam account name.
164+
/// Contains the on-premises SAM account name synchronized from the on-premises directory. The property is only populated for customers who are synchronizing their on-premises directory to Azure Active Directory via Azure AD Connect.Returned by default. Read-only.
138165
/// </summary>
139166
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "onPremisesSamAccountName", Required = Newtonsoft.Json.Required.Default)]
140167
public string OnPremisesSamAccountName { get; set; }
@@ -160,6 +187,12 @@ public Group()
160187
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "preferredDataLocation", Required = Newtonsoft.Json.Required.Default)]
161188
public string PreferredDataLocation { get; set; }
162189

190+
/// <summary>
191+
/// Gets or sets preferred language.
192+
/// </summary>
193+
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "preferredLanguage", Required = Newtonsoft.Json.Required.Default)]
194+
public string PreferredLanguage { get; set; }
195+
163196
/// <summary>
164197
/// Gets or sets proxy addresses.
165198
/// Email addresses for the group that direct to the same group mailbox. For example: ['SMTP: [email protected]', 'smtp: [email protected]']. The any operator is required to filter expressions on multi-valued properties. Returned by default. Read-only. Not nullable. Supports $filter.
@@ -188,6 +221,12 @@ public Group()
188221
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "securityIdentifier", Required = Newtonsoft.Json.Required.Default)]
189222
public string SecurityIdentifier { get; set; }
190223

224+
/// <summary>
225+
/// Gets or sets theme.
226+
/// </summary>
227+
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "theme", Required = Newtonsoft.Json.Required.Default)]
228+
public string Theme { get; set; }
229+
191230
/// <summary>
192231
/// Gets or sets visibility.
193232
/// Specifies the visibility of an Office 365 group. Possible values are: Private, Public, or Hiddenmembership; blank values are treated as public. See group visibility options to learn more.Visibility can be set only when a group is created; it is not editable.Visibility is supported only for unified groups; it is not supported for security groups. Returned by default.

src/Microsoft.Graph/Models/Generated/NetworkConnection.cs

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public NetworkConnection()
3232

3333
/// <summary>
3434
/// Gets or sets applicationName.
35-
/// Name of the application managing the network connection (for example, Facebook, SMTP, etc.).
35+
/// Name of the application managing the network connection (for example, Facebook or SMTP).
3636
/// </summary>
3737
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "applicationName", Required = Newtonsoft.Json.Required.Default)]
3838
public string ApplicationName { get; set; }
@@ -51,6 +51,13 @@ public NetworkConnection()
5151
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "destinationDomain", Required = Newtonsoft.Json.Required.Default)]
5252
public string DestinationDomain { get; set; }
5353

54+
/// <summary>
55+
/// Gets or sets destinationLocation.
56+
/// Location (by IP address mapping) associated with the destination of a network connection.
57+
/// </summary>
58+
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "destinationLocation", Required = Newtonsoft.Json.Required.Default)]
59+
public string DestinationLocation { get; set; }
60+
5461
/// <summary>
5562
/// Gets or sets destinationPort.
5663
/// Destination port (of the network connection).
@@ -135,6 +142,13 @@ public NetworkConnection()
135142
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "sourceAddress", Required = Newtonsoft.Json.Required.Default)]
136143
public string SourceAddress { get; set; }
137144

145+
/// <summary>
146+
/// Gets or sets sourceLocation.
147+
/// Location (by IP address mapping) associated with the source of a network connection.
148+
/// </summary>
149+
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "sourceLocation", Required = Newtonsoft.Json.Required.Default)]
150+
public string SourceLocation { get; set; }
151+
138152
/// <summary>
139153
/// Gets or sets sourcePort.
140154
/// Source (i.e. origin) IP port (of the network connection).

src/Microsoft.Graph/Models/Generated/OnlineMeeting.cs

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,19 @@ public OnlineMeeting()
9393
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "videoTeleconferenceId", Required = Newtonsoft.Json.Required.Default)]
9494
public string VideoTeleconferenceId { get; set; }
9595

96+
/// <summary>
97+
/// Gets or sets external id.
98+
/// </summary>
99+
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "externalId", Required = Newtonsoft.Json.Required.Default)]
100+
public string ExternalId { get; set; }
101+
102+
/// <summary>
103+
/// Gets or sets join information.
104+
/// The join information in the language and locale variant specified in the Accept-Language request HTTP header. Read-only.
105+
/// </summary>
106+
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "joinInformation", Required = Newtonsoft.Json.Required.Default)]
107+
public ItemBody JoinInformation { get; set; }
108+
96109
}
97110
}
98111

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
// ------------------------------------------------------------------------------
2+
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
3+
// ------------------------------------------------------------------------------
4+
5+
// **NOTE** This file was generated by a tool and any changes will be overwritten.
6+
// <auto-generated/>
7+
8+
// Template Source: Templates\CSharp\Model\MethodRequestBody.cs.tt
9+
10+
namespace Microsoft.Graph
11+
{
12+
using Newtonsoft.Json;
13+
using System;
14+
using System.Collections.Generic;
15+
using System.IO;
16+
using System.Runtime.Serialization;
17+
18+
/// <summary>
19+
/// The type OnlineMeetingCreateOrGetRequestBody.
20+
/// </summary>
21+
[JsonObject(MemberSerialization = MemberSerialization.OptIn)]
22+
public partial class OnlineMeetingCreateOrGetRequestBody
23+
{
24+
25+
/// <summary>
26+
/// Gets or sets ChatInfo.
27+
/// </summary>
28+
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "chatInfo", Required = Newtonsoft.Json.Required.Default)]
29+
public ChatInfo ChatInfo { get; set; }
30+
31+
/// <summary>
32+
/// Gets or sets EndDateTime.
33+
/// </summary>
34+
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "endDateTime", Required = Newtonsoft.Json.Required.Default)]
35+
public DateTimeOffset? EndDateTime { get; set; }
36+
37+
/// <summary>
38+
/// Gets or sets ExternalId.
39+
/// </summary>
40+
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "externalId", Required = Newtonsoft.Json.Required.Default)]
41+
public string ExternalId { get; set; }
42+
43+
/// <summary>
44+
/// Gets or sets Participants.
45+
/// </summary>
46+
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "participants", Required = Newtonsoft.Json.Required.Default)]
47+
public MeetingParticipants Participants { get; set; }
48+
49+
/// <summary>
50+
/// Gets or sets StartDateTime.
51+
/// </summary>
52+
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "startDateTime", Required = Newtonsoft.Json.Required.Default)]
53+
public DateTimeOffset? StartDateTime { get; set; }
54+
55+
/// <summary>
56+
/// Gets or sets Subject.
57+
/// </summary>
58+
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "subject", Required = Newtonsoft.Json.Required.Default)]
59+
public string Subject { get; set; }
60+
61+
}
62+
}

src/Microsoft.Graph/Models/Generated/ResourceAccess.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public ResourceAccess()
3939

4040
/// <summary>
4141
/// Gets or sets type.
42-
/// Specifies whether the id property references an oauth2PermissionScopes or an appRole. Possible values are 'scope' or 'role'.
42+
/// Specifies whether the id property references an oauth2PermissionScopes or an appRole. Possible values are Scope or Role.
4343
/// </summary>
4444
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "type", Required = Newtonsoft.Json.Required.Default)]
4545
public string Type { get; set; }
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
// ------------------------------------------------------------------------------
2+
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
3+
// ------------------------------------------------------------------------------
4+
5+
// **NOTE** This file was generated by a tool and any changes will be overwritten.
6+
// <auto-generated/>
7+
8+
// Template Source: Templates\CSharp\Model\ComplexType.cs.tt
9+
10+
namespace Microsoft.Graph
11+
{
12+
using System;
13+
using System.Collections.Generic;
14+
using System.IO;
15+
using System.Runtime.Serialization;
16+
using Newtonsoft.Json;
17+
18+
/// <summary>
19+
/// The type SamlSingleSignOnSettings.
20+
/// </summary>
21+
[JsonObject(MemberSerialization = MemberSerialization.OptIn)]
22+
[JsonConverter(typeof(DerivedTypeConverter))]
23+
public partial class SamlSingleSignOnSettings
24+
{
25+
/// <summary>
26+
/// Initializes a new instance of the <see cref="SamlSingleSignOnSettings"/> class.
27+
/// </summary>
28+
public SamlSingleSignOnSettings()
29+
{
30+
this.ODataType = "microsoft.graph.samlSingleSignOnSettings";
31+
}
32+
33+
/// <summary>
34+
/// Gets or sets relayState.
35+
/// The relative URI the service provider would redirect to after completion of the single sign-on flow.
36+
/// </summary>
37+
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "relayState", Required = Newtonsoft.Json.Required.Default)]
38+
public string RelayState { get; set; }
39+
40+
/// <summary>
41+
/// Gets or sets additional data.
42+
/// </summary>
43+
[JsonExtensionData(ReadData = true)]
44+
public IDictionary<string, object> AdditionalData { get; set; }
45+
46+
/// <summary>
47+
/// Gets or sets @odata.type.
48+
/// </summary>
49+
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "@odata.type", Required = Newtonsoft.Json.Required.Default)]
50+
public string ODataType { get; set; }
51+
52+
}
53+
}

0 commit comments

Comments
 (0)