diff --git a/src/Microsoft.Graph/Generated/model/AdministrativeUnit.cs b/src/Microsoft.Graph/Generated/model/AdministrativeUnit.cs
index a2ce99c43d1..8b2faa897c6 100644
--- a/src/Microsoft.Graph/Generated/model/AdministrativeUnit.cs
+++ b/src/Microsoft.Graph/Generated/model/AdministrativeUnit.cs
@@ -32,30 +32,35 @@ public AdministrativeUnit()
///
/// Gets or sets description.
+ /// An optional description for the administrative unit.
///
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "description", Required = Newtonsoft.Json.Required.Default)]
public string Description { get; set; }
///
/// Gets or sets display name.
+ /// Display name for the administrative unit.
///
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "displayName", Required = Newtonsoft.Json.Required.Default)]
public string DisplayName { get; set; }
///
/// Gets or sets visibility.
+ /// Controls whether the adminstrative unit and its members are hidden or public. Can be set to HiddenMembership or Public. If not set, default behavior is Public. When set to HiddenMembership, only members of the administrative unit can list other members of the adminstrative unit.
///
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "visibility", Required = Newtonsoft.Json.Required.Default)]
public string Visibility { get; set; }
///
/// Gets or sets members.
+ /// Users and groups that are members of this Adminsitrative Unit. HTTP Methods: GET (list members), POST (add members), DELETE (remove members).
///
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "members", Required = Newtonsoft.Json.Required.Default)]
public IAdministrativeUnitMembersCollectionWithReferencesPage Members { get; set; }
///
/// Gets or sets scoped role members.
+ /// Scoped-role members of this Administrative Unit. HTTP Methods: GET (list scopedRoleMemberships), POST (add scopedRoleMembership), DELETE (remove scopedRoleMembership).
///
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "scopedRoleMembers", Required = Newtonsoft.Json.Required.Default)]
public IAdministrativeUnitScopedRoleMembersCollectionPage ScopedRoleMembers { get; set; }
diff --git a/src/Microsoft.Graph/Generated/model/Application.cs b/src/Microsoft.Graph/Generated/model/Application.cs
index 9a11ec7acaf..ba2166fee8c 100644
--- a/src/Microsoft.Graph/Generated/model/Application.cs
+++ b/src/Microsoft.Graph/Generated/model/Application.cs
@@ -188,7 +188,7 @@ public Application()
///
/// Gets or sets sign in audience.
- /// Specifies what Microsoft accounts are supported for the current application. Supported values are:AzureADMyOrg: Users with a Microsoft work or school account in my organization’s Azure AD tenant (i.e. single tenant)AzureADMultipleOrgs: Users with a Microsoft work or school account in any organization’s Azure AD tenant (i.e. multi-tenant) AzureADandPersonalMicrosoftAccount: Users with a personal Microsoft account, or a work or school account in any organization’s Azure AD tenant
+ /// Specifies the Microsoft accounts that are supported for the current application. Supported values are:AzureADMyOrg: Users with a Microsoft work or school account in my organization’s Azure AD tenant (single tenant)AzureADMultipleOrgs: Users with a Microsoft work or school account in any organization’s Azure AD tenant (multi-tenant)AzureADandPersonalMicrosoftAccount: Users with a personal Microsoft account, or a work or school account in any organization’s Azure AD tenant.
///
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "signInAudience", Required = Newtonsoft.Json.Required.Default)]
public string SignInAudience { get; set; }
diff --git a/src/Microsoft.Graph/Generated/model/ChangeNotification.cs b/src/Microsoft.Graph/Generated/model/ChangeNotification.cs
index a56b5b32ac9..5fe075bfbe2 100644
--- a/src/Microsoft.Graph/Generated/model/ChangeNotification.cs
+++ b/src/Microsoft.Graph/Generated/model/ChangeNotification.cs
@@ -44,6 +44,13 @@ public ChangeNotification()
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "clientState", Required = Newtonsoft.Json.Required.Default)]
public string ClientState { get; set; }
+ ///
+ /// Gets or sets encryptedContent.
+ /// (Preview) Encrypted content attached with the change notification. Only provided if encryptionCertificate and includeResourceData were defined during the subscription request and if the resource supports it. Optional.
+ ///
+ [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "encryptedContent", Required = Newtonsoft.Json.Required.Default)]
+ public ChangeNotificationEncryptedContent EncryptedContent { get; set; }
+
///
/// Gets or sets id.
/// Unique ID for the notification. Optional.
@@ -51,6 +58,12 @@ public ChangeNotification()
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "id", Required = Newtonsoft.Json.Required.Default)]
public string Id { get; set; }
+ ///
+ /// Gets or sets lifecycleEvent.
+ ///
+ [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "lifecycleEvent", Required = Newtonsoft.Json.Required.Default)]
+ public LifecycleEventType? LifecycleEvent { get; set; }
+
///
/// Gets or sets resource.
/// The URI of the resource that emitted the change notification relative to https://graph.microsoft.com. Required.
diff --git a/src/Microsoft.Graph/Generated/model/ChangeNotificationCollection.cs b/src/Microsoft.Graph/Generated/model/ChangeNotificationCollection.cs
index b08672adadf..d7b95c1e403 100644
--- a/src/Microsoft.Graph/Generated/model/ChangeNotificationCollection.cs
+++ b/src/Microsoft.Graph/Generated/model/ChangeNotificationCollection.cs
@@ -30,6 +30,13 @@ public ChangeNotificationCollection()
this.ODataType = "microsoft.graph.changeNotificationCollection";
}
+ ///
+ /// Gets or sets validationTokens.
+ /// Contains an array of JWT tokens generated by Microsoft Graph for the application to validate the origin of the notifications. Microsoft Graph generates a single token for each distinct app and tenant pair for an item if it exists in the value array. Keep in mind that notifications can contain a mix of items for various apps and tenants that subscribed using the same notification URL. Only provided for change notifications with resource data Optional.
+ ///
+ [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "validationTokens", Required = Newtonsoft.Json.Required.Default)]
+ public IEnumerable ValidationTokens { get; set; }
+
///
/// Gets or sets value.
/// The set of notifications being sent to the notification URL. Required.
diff --git a/src/Microsoft.Graph/Generated/model/ChangeNotificationEncryptedContent.cs b/src/Microsoft.Graph/Generated/model/ChangeNotificationEncryptedContent.cs
new file mode 100644
index 00000000000..b75b1a22ac2
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/model/ChangeNotificationEncryptedContent.cs
@@ -0,0 +1,81 @@
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+//
+
+// Template Source: Templates\CSharp\Model\ComplexType.cs.tt
+
+namespace Microsoft.Graph
+{
+ using System;
+ using System.Collections.Generic;
+ using System.IO;
+ using System.Runtime.Serialization;
+ using Newtonsoft.Json;
+
+ ///
+ /// The type ChangeNotificationEncryptedContent.
+ ///
+ [JsonObject(MemberSerialization = MemberSerialization.OptIn)]
+ [JsonConverter(typeof(DerivedTypeConverter))]
+ public partial class ChangeNotificationEncryptedContent
+ {
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ public ChangeNotificationEncryptedContent()
+ {
+ this.ODataType = "microsoft.graph.changeNotificationEncryptedContent";
+ }
+
+ ///
+ /// Gets or sets data.
+ /// Base64-encoded encrypted data that produces a full resource respresented as JSON. The data has been encrypted with the provided dataKey using an AES/CBC/PKCS5PADDING cipher suite.
+ ///
+ [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "data", Required = Newtonsoft.Json.Required.Default)]
+ public string Data { get; set; }
+
+ ///
+ /// Gets or sets dataKey.
+ /// Base64-encoded symmetric key generated by Microsoft Graph to encrypt the data value and to generate the data signature. This key is encrypted with the certificate public key that was provided during the subscription. It must be decrypted with the certificate private key before it can be used to decrypt the data or verify the signature. This key has been encrypted with the following cipher suite: RSA/ECB/OAEPWithSHA1AndMGF1Padding.
+ ///
+ [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "dataKey", Required = Newtonsoft.Json.Required.Default)]
+ public string DataKey { get; set; }
+
+ ///
+ /// Gets or sets dataSignature.
+ /// Base64-encoded HMAC-SHA256 hash of the data for validation purposes.
+ ///
+ [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "dataSignature", Required = Newtonsoft.Json.Required.Default)]
+ public string DataSignature { get; set; }
+
+ ///
+ /// Gets or sets encryptionCertificateId.
+ /// ID of the certificate used to encrypt the dataKey.
+ ///
+ [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "encryptionCertificateId", Required = Newtonsoft.Json.Required.Default)]
+ public string EncryptionCertificateId { get; set; }
+
+ ///
+ /// Gets or sets encryptionCertificateThumbprint.
+ /// Hexadecimal representation of the thumbprint of the certificate used to encrypt the dataKey.
+ ///
+ [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "encryptionCertificateThumbprint", Required = Newtonsoft.Json.Required.Default)]
+ public string EncryptionCertificateThumbprint { get; set; }
+
+ ///
+ /// Gets or sets additional data.
+ ///
+ [JsonExtensionData(ReadData = true)]
+ public IDictionary AdditionalData { get; set; }
+
+ ///
+ /// Gets or sets @odata.type.
+ ///
+ [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "@odata.type", Required = Newtonsoft.Json.Required.Default)]
+ public string ODataType { get; set; }
+
+ }
+}
diff --git a/src/Microsoft.Graph/Generated/model/Chat.cs b/src/Microsoft.Graph/Generated/model/Chat.cs
new file mode 100644
index 00000000000..7aa44650b2a
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/model/Chat.cs
@@ -0,0 +1,35 @@
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+//
+
+// Template Source: Templates\CSharp\Model\EntityType.cs.tt
+
+namespace Microsoft.Graph
+{
+ using System;
+ using System.Collections.Generic;
+ using System.IO;
+ using System.Runtime.Serialization;
+ using Newtonsoft.Json;
+
+ ///
+ /// The type Chat.
+ ///
+ [JsonObject(MemberSerialization = MemberSerialization.OptIn)]
+ public partial class Chat : Entity
+ {
+
+ ///
+ /// The Chat constructor
+ ///
+ public Chat()
+ {
+ this.ODataType = "microsoft.graph.chat";
+ }
+
+ }
+}
+
diff --git a/src/Microsoft.Graph/Generated/model/ChatMessage.cs b/src/Microsoft.Graph/Generated/model/ChatMessage.cs
index 4d9b9c01cf7..542e744b6d2 100644
--- a/src/Microsoft.Graph/Generated/model/ChatMessage.cs
+++ b/src/Microsoft.Graph/Generated/model/ChatMessage.cs
@@ -79,9 +79,16 @@ public ChatMessage()
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "importance", Required = Newtonsoft.Json.Required.Default)]
public ChatMessageImportance? Importance { get; set; }
+ ///
+ /// Gets or sets last edited date time.
+ /// Read only. Timestamp when edits to the chat message were made. Triggers an 'Edited' flag in the Microsoft Teams UI. If no edits are made the value is null.
+ ///
+ [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "lastEditedDateTime", Required = Newtonsoft.Json.Required.Default)]
+ public DateTimeOffset? LastEditedDateTime { get; set; }
+
///
/// Gets or sets last modified date time.
- /// Read only. Timestamp of when the chat message is created or edited, including when a reply is made (if it's a root chat message in a channel) or a reaction is added or removed.
+ /// Read only. Timestamp when the chat message is created (initial setting) or edited, including when a reaction is added or removed.
///
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "lastModifiedDateTime", Required = Newtonsoft.Json.Required.Default)]
public DateTimeOffset? LastModifiedDateTime { get; set; }
diff --git a/src/Microsoft.Graph/Generated/model/Event.cs b/src/Microsoft.Graph/Generated/model/Event.cs
index 7677c2dd1e2..fde079fb998 100644
--- a/src/Microsoft.Graph/Generated/model/Event.cs
+++ b/src/Microsoft.Graph/Generated/model/Event.cs
@@ -249,6 +249,7 @@ public Event()
///
/// Gets or sets transaction id.
+ /// A custom identifier specified by a client app for the server to avoid redundant POST operations in case of client retries to create the same event. This is useful when low network connectivity causes the client to time out before receiving a response from the server for the client's prior create-event request. After you set transactionId when creating an event, you cannot change transactionId in a subsequent update. This property is only returned in a response payload if an app has set it. Optional.
///
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "transactionId", Required = Newtonsoft.Json.Required.Default)]
public string TransactionId { get; set; }
diff --git a/src/Microsoft.Graph/Generated/model/LifecycleEventType.cs b/src/Microsoft.Graph/Generated/model/LifecycleEventType.cs
new file mode 100644
index 00000000000..1e7552bea49
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/model/LifecycleEventType.cs
@@ -0,0 +1,38 @@
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+//
+
+// Template Source: Templates\CSharp\Model\EnumType.cs.tt
+
+
+namespace Microsoft.Graph
+{
+ using Newtonsoft.Json;
+
+ ///
+ /// The enum LifecycleEventType.
+ ///
+ [JsonConverter(typeof(EnumConverter))]
+ public enum LifecycleEventType
+ {
+
+ ///
+ /// Missed
+ ///
+ Missed = 0,
+
+ ///
+ /// Subscription Removed
+ ///
+ SubscriptionRemoved = 1,
+
+ ///
+ /// Reauthorization Required
+ ///
+ ReauthorizationRequired = 2,
+
+ }
+}
diff --git a/src/Microsoft.Graph/Generated/model/MobileAppInstallTimeSettings.cs b/src/Microsoft.Graph/Generated/model/MobileAppInstallTimeSettings.cs
new file mode 100644
index 00000000000..3a219df84c4
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/model/MobileAppInstallTimeSettings.cs
@@ -0,0 +1,67 @@
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+//
+
+// Template Source: Templates\CSharp\Model\ComplexType.cs.tt
+
+namespace Microsoft.Graph
+{
+ using System;
+ using System.Collections.Generic;
+ using System.IO;
+ using System.Runtime.Serialization;
+ using Newtonsoft.Json;
+
+ ///
+ /// The type MobileAppInstallTimeSettings.
+ ///
+ [JsonObject(MemberSerialization = MemberSerialization.OptIn)]
+ [JsonConverter(typeof(DerivedTypeConverter))]
+ public partial class MobileAppInstallTimeSettings
+ {
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ public MobileAppInstallTimeSettings()
+ {
+ this.ODataType = "microsoft.graph.mobileAppInstallTimeSettings";
+ }
+
+ ///
+ /// Gets or sets deadlineDateTime.
+ /// The time at which the app should be installed.
+ ///
+ [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "deadlineDateTime", Required = Newtonsoft.Json.Required.Default)]
+ public DateTimeOffset? DeadlineDateTime { get; set; }
+
+ ///
+ /// Gets or sets startDateTime.
+ /// The time at which the app should be available for installation.
+ ///
+ [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "startDateTime", Required = Newtonsoft.Json.Required.Default)]
+ public DateTimeOffset? StartDateTime { get; set; }
+
+ ///
+ /// Gets or sets useLocalTime.
+ /// Whether the local device time or UTC time should be used when determining the available and deadline times.
+ ///
+ [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "useLocalTime", Required = Newtonsoft.Json.Required.Default)]
+ public bool? UseLocalTime { get; set; }
+
+ ///
+ /// Gets or sets additional data.
+ ///
+ [JsonExtensionData(ReadData = true)]
+ public IDictionary AdditionalData { get; set; }
+
+ ///
+ /// Gets or sets @odata.type.
+ ///
+ [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "@odata.type", Required = Newtonsoft.Json.Required.Default)]
+ public string ODataType { get; set; }
+
+ }
+}
diff --git a/src/Microsoft.Graph/Generated/model/RunAsAccountType.cs b/src/Microsoft.Graph/Generated/model/RunAsAccountType.cs
new file mode 100644
index 00000000000..6aaf75e34e7
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/model/RunAsAccountType.cs
@@ -0,0 +1,33 @@
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+//
+
+// Template Source: Templates\CSharp\Model\EnumType.cs.tt
+
+
+namespace Microsoft.Graph
+{
+ using Newtonsoft.Json;
+
+ ///
+ /// The enum RunAsAccountType.
+ ///
+ [JsonConverter(typeof(EnumConverter))]
+ public enum RunAsAccountType
+ {
+
+ ///
+ /// System
+ ///
+ System = 0,
+
+ ///
+ /// User
+ ///
+ User = 1,
+
+ }
+}
diff --git a/src/Microsoft.Graph/Generated/model/ScopedRoleMembership.cs b/src/Microsoft.Graph/Generated/model/ScopedRoleMembership.cs
index ee494298337..0c74aadb7d6 100644
--- a/src/Microsoft.Graph/Generated/model/ScopedRoleMembership.cs
+++ b/src/Microsoft.Graph/Generated/model/ScopedRoleMembership.cs
@@ -32,18 +32,21 @@ public ScopedRoleMembership()
///
/// Gets or sets administrative unit id.
+ /// Unique identifier for the administrative unit that the directory role is scoped to
///
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "administrativeUnitId", Required = Newtonsoft.Json.Required.Default)]
public string AdministrativeUnitId { get; set; }
///
/// Gets or sets role id.
+ /// Unique identifier for the directory role that the member is in.
///
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "roleId", Required = Newtonsoft.Json.Required.Default)]
public string RoleId { get; set; }
///
/// Gets or sets role member info.
+ /// Role member identity information. Represents the user that is a member of this scoped-role.
///
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "roleMemberInfo", Required = Newtonsoft.Json.Required.Default)]
public Identity RoleMemberInfo { get; set; }
diff --git a/src/Microsoft.Graph/Generated/model/Subscription.cs b/src/Microsoft.Graph/Generated/model/Subscription.cs
index b1757d52779..122a1740367 100644
--- a/src/Microsoft.Graph/Generated/model/Subscription.cs
+++ b/src/Microsoft.Graph/Generated/model/Subscription.cs
@@ -58,6 +58,20 @@ public Subscription()
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "creatorId", Required = Newtonsoft.Json.Required.Default)]
public string CreatorId { get; set; }
+ ///
+ /// Gets or sets encryption certificate.
+ /// A base64-encoded representation of a certificate with a public key used to encrypt resource data in change notifications. Optional. Required when includeResourceData is true.
+ ///
+ [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "encryptionCertificate", Required = Newtonsoft.Json.Required.Default)]
+ public string EncryptionCertificate { get; set; }
+
+ ///
+ /// Gets or sets encryption certificate id.
+ /// A custom app-provided identifier to help identify the certificate needed to decrypt resource data. Optional.
+ ///
+ [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "encryptionCertificateId", Required = Newtonsoft.Json.Required.Default)]
+ public string EncryptionCertificateId { get; set; }
+
///
/// Gets or sets expiration date time.
/// Required. Specifies the date and time when the webhook subscription expires. The time is in UTC, and can be an amount of time from subscription creation that varies for the resource subscribed to. See the table below for maximum supported subscription length of time.
@@ -65,13 +79,25 @@ public Subscription()
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "expirationDateTime", Required = Newtonsoft.Json.Required.Default)]
public DateTimeOffset? ExpirationDateTime { get; set; }
+ ///
+ /// Gets or sets include resource data.
+ /// When set to true, change notifications include resource data (such as content of a chat message). Optional.
+ ///
+ [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "includeResourceData", Required = Newtonsoft.Json.Required.Default)]
+ public bool? IncludeResourceData { get; set; }
+
///
/// Gets or sets latest supported tls version.
- /// Specifies the latest version of Transport Layer Security (TLS) that the notification endpoint, specified by notificationUrl, supports. The possible values are: v1_0, v1_1, v1_2, v1_3. For subscribers whose notification endpoint supports a version lower than the currently recommended version (TLS 1.2), specifying this property by a set timeline allows them to temporarily use their deprecated version of TLS before completing their upgrade to TLS 1.2. For these subscribers, not setting this property per the timeline would result in subscription operations failing. For subscribers whose notification endpoint already supports TLS 1.2, setting this property is optional. In such cases, Microsoft Graph defaults the property to v1_2.
///
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "latestSupportedTlsVersion", Required = Newtonsoft.Json.Required.Default)]
public string LatestSupportedTlsVersion { get; set; }
+ ///
+ /// Gets or sets lifecycle notification url.
+ ///
+ [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "lifecycleNotificationUrl", Required = Newtonsoft.Json.Required.Default)]
+ public string LifecycleNotificationUrl { get; set; }
+
///
/// Gets or sets notification url.
/// Required. The URL of the endpoint that will receive the change notifications. This URL must make use of the HTTPS protocol.
diff --git a/src/Microsoft.Graph/Generated/model/Win32LobApp.cs b/src/Microsoft.Graph/Generated/model/Win32LobApp.cs
new file mode 100644
index 00000000000..fb44b83de76
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/model/Win32LobApp.cs
@@ -0,0 +1,126 @@
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+//
+
+// Template Source: Templates\CSharp\Model\EntityType.cs.tt
+
+namespace Microsoft.Graph
+{
+ using System;
+ using System.Collections.Generic;
+ using System.IO;
+ using System.Runtime.Serialization;
+ using Newtonsoft.Json;
+
+ ///
+ /// The type Win32Lob App.
+ ///
+ [JsonObject(MemberSerialization = MemberSerialization.OptIn)]
+ public partial class Win32LobApp : MobileLobApp
+ {
+
+ ///
+ /// The Win32LobApp constructor
+ ///
+ public Win32LobApp()
+ {
+ this.ODataType = "microsoft.graph.win32LobApp";
+ }
+
+ ///
+ /// Gets or sets applicable architectures.
+ /// The Windows architecture(s) for which this app can run on. Possible values are: none, x86, x64, arm, neutral.
+ ///
+ [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "applicableArchitectures", Required = Newtonsoft.Json.Required.Default)]
+ public WindowsArchitecture? ApplicableArchitectures { get; set; }
+
+ ///
+ /// Gets or sets install command line.
+ /// The command line to install this app
+ ///
+ [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "installCommandLine", Required = Newtonsoft.Json.Required.Default)]
+ public string InstallCommandLine { get; set; }
+
+ ///
+ /// Gets or sets install experience.
+ /// The install experience for this app.
+ ///
+ [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "installExperience", Required = Newtonsoft.Json.Required.Default)]
+ public Win32LobAppInstallExperience InstallExperience { get; set; }
+
+ ///
+ /// Gets or sets minimum cpu speed in mhz.
+ /// The value for the minimum CPU speed which is required to install this app.
+ ///
+ [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "minimumCpuSpeedInMHz", Required = Newtonsoft.Json.Required.Default)]
+ public Int32? MinimumCpuSpeedInMHz { get; set; }
+
+ ///
+ /// Gets or sets minimum free disk space in mb.
+ /// The value for the minimum free disk space which is required to install this app.
+ ///
+ [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "minimumFreeDiskSpaceInMB", Required = Newtonsoft.Json.Required.Default)]
+ public Int32? MinimumFreeDiskSpaceInMB { get; set; }
+
+ ///
+ /// Gets or sets minimum memory in mb.
+ /// The value for the minimum physical memory which is required to install this app.
+ ///
+ [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "minimumMemoryInMB", Required = Newtonsoft.Json.Required.Default)]
+ public Int32? MinimumMemoryInMB { get; set; }
+
+ ///
+ /// Gets or sets minimum number of processors.
+ /// The value for the minimum number of processors which is required to install this app.
+ ///
+ [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "minimumNumberOfProcessors", Required = Newtonsoft.Json.Required.Default)]
+ public Int32? MinimumNumberOfProcessors { get; set; }
+
+ ///
+ /// Gets or sets minimum supported windows release.
+ /// The value for the minimum supported windows release.
+ ///
+ [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "minimumSupportedWindowsRelease", Required = Newtonsoft.Json.Required.Default)]
+ public string MinimumSupportedWindowsRelease { get; set; }
+
+ ///
+ /// Gets or sets msi information.
+ /// The MSI details if this Win32 app is an MSI app.
+ ///
+ [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "msiInformation", Required = Newtonsoft.Json.Required.Default)]
+ public Win32LobAppMsiInformation MsiInformation { get; set; }
+
+ ///
+ /// Gets or sets return codes.
+ /// The return codes for post installation behavior.
+ ///
+ [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "returnCodes", Required = Newtonsoft.Json.Required.Default)]
+ public IEnumerable ReturnCodes { get; set; }
+
+ ///
+ /// Gets or sets rules.
+ /// The detection and requirement rules for this app.
+ ///
+ [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "rules", Required = Newtonsoft.Json.Required.Default)]
+ public IEnumerable Rules { get; set; }
+
+ ///
+ /// Gets or sets setup file path.
+ /// The relative path of the setup file in the encrypted Win32LobApp package.
+ ///
+ [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "setupFilePath", Required = Newtonsoft.Json.Required.Default)]
+ public string SetupFilePath { get; set; }
+
+ ///
+ /// Gets or sets uninstall command line.
+ /// The command line to uninstall this app
+ ///
+ [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "uninstallCommandLine", Required = Newtonsoft.Json.Required.Default)]
+ public string UninstallCommandLine { get; set; }
+
+ }
+}
+
diff --git a/src/Microsoft.Graph/Generated/model/Win32LobAppAssignmentSettings.cs b/src/Microsoft.Graph/Generated/model/Win32LobAppAssignmentSettings.cs
new file mode 100644
index 00000000000..63849337e03
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/model/Win32LobAppAssignmentSettings.cs
@@ -0,0 +1,54 @@
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+//
+
+// Template Source: Templates\CSharp\Model\ComplexType.cs.tt
+
+namespace Microsoft.Graph
+{
+ using System;
+ using System.Collections.Generic;
+ using System.IO;
+ using System.Runtime.Serialization;
+ using Newtonsoft.Json;
+
+ ///
+ /// The type Win32LobAppAssignmentSettings.
+ ///
+ [JsonObject(MemberSerialization = MemberSerialization.OptIn)]
+ public partial class Win32LobAppAssignmentSettings : MobileAppAssignmentSettings
+ {
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ public Win32LobAppAssignmentSettings()
+ {
+ this.ODataType = "microsoft.graph.win32LobAppAssignmentSettings";
+ }
+
+ ///
+ /// Gets or sets installTimeSettings.
+ /// The install time settings to apply for this app assignment.
+ ///
+ [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "installTimeSettings", Required = Newtonsoft.Json.Required.Default)]
+ public MobileAppInstallTimeSettings InstallTimeSettings { get; set; }
+
+ ///
+ /// Gets or sets notifications.
+ /// The notification status for this app assignment. Possible values are: showAll, showReboot, hideAll.
+ ///
+ [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "notifications", Required = Newtonsoft.Json.Required.Default)]
+ public Win32LobAppNotification? Notifications { get; set; }
+
+ ///
+ /// Gets or sets restartSettings.
+ /// The reboot settings to apply for this app assignment.
+ ///
+ [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "restartSettings", Required = Newtonsoft.Json.Required.Default)]
+ public Win32LobAppRestartSettings RestartSettings { get; set; }
+
+ }
+}
diff --git a/src/Microsoft.Graph/Generated/model/Win32LobAppFileSystemOperationType.cs b/src/Microsoft.Graph/Generated/model/Win32LobAppFileSystemOperationType.cs
new file mode 100644
index 00000000000..78cb7a578af
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/model/Win32LobAppFileSystemOperationType.cs
@@ -0,0 +1,53 @@
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+//
+
+// Template Source: Templates\CSharp\Model\EnumType.cs.tt
+
+
+namespace Microsoft.Graph
+{
+ using Newtonsoft.Json;
+
+ ///
+ /// The enum Win32LobAppFileSystemOperationType.
+ ///
+ [JsonConverter(typeof(EnumConverter))]
+ public enum Win32LobAppFileSystemOperationType
+ {
+
+ ///
+ /// Not Configured
+ ///
+ NotConfigured = 0,
+
+ ///
+ /// Exists
+ ///
+ Exists = 1,
+
+ ///
+ /// Modified Date
+ ///
+ ModifiedDate = 2,
+
+ ///
+ /// Created Date
+ ///
+ CreatedDate = 3,
+
+ ///
+ /// Version
+ ///
+ Version = 4,
+
+ ///
+ /// Size In MB
+ ///
+ SizeInMB = 5,
+
+ }
+}
diff --git a/src/Microsoft.Graph/Generated/model/Win32LobAppFileSystemRule.cs b/src/Microsoft.Graph/Generated/model/Win32LobAppFileSystemRule.cs
new file mode 100644
index 00000000000..7dd90168d3b
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/model/Win32LobAppFileSystemRule.cs
@@ -0,0 +1,75 @@
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+//
+
+// Template Source: Templates\CSharp\Model\ComplexType.cs.tt
+
+namespace Microsoft.Graph
+{
+ using System;
+ using System.Collections.Generic;
+ using System.IO;
+ using System.Runtime.Serialization;
+ using Newtonsoft.Json;
+
+ ///
+ /// The type Win32LobAppFileSystemRule.
+ ///
+ [JsonObject(MemberSerialization = MemberSerialization.OptIn)]
+ public partial class Win32LobAppFileSystemRule : Win32LobAppRule
+ {
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ public Win32LobAppFileSystemRule()
+ {
+ this.ODataType = "microsoft.graph.win32LobAppFileSystemRule";
+ }
+
+ ///
+ /// Gets or sets check32BitOn64System.
+ /// A value indicating whether to expand environment variables in the 32-bit context on 64-bit systems.
+ ///
+ [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "check32BitOn64System", Required = Newtonsoft.Json.Required.Default)]
+ public bool? Check32BitOn64System { get; set; }
+
+ ///
+ /// Gets or sets comparisonValue.
+ /// The file or folder comparison value.
+ ///
+ [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "comparisonValue", Required = Newtonsoft.Json.Required.Default)]
+ public string ComparisonValue { get; set; }
+
+ ///
+ /// Gets or sets fileOrFolderName.
+ /// The file or folder name to look up.
+ ///
+ [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "fileOrFolderName", Required = Newtonsoft.Json.Required.Default)]
+ public string FileOrFolderName { get; set; }
+
+ ///
+ /// Gets or sets operationType.
+ /// The file system operation type. Possible values are: notConfigured, exists, modifiedDate, createdDate, version, sizeInMB.
+ ///
+ [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "operationType", Required = Newtonsoft.Json.Required.Default)]
+ public Win32LobAppFileSystemOperationType? OperationType { get; set; }
+
+ ///
+ /// Gets or sets operator.
+ /// The operator for file or folder detection. Possible values are: notConfigured, equal, notEqual, greaterThan, greaterThanOrEqual, lessThan, lessThanOrEqual.
+ ///
+ [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "operator", Required = Newtonsoft.Json.Required.Default)]
+ public Win32LobAppRuleOperator? Operator { get; set; }
+
+ ///
+ /// Gets or sets path.
+ /// The file or folder path to look up.
+ ///
+ [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "path", Required = Newtonsoft.Json.Required.Default)]
+ public string Path { get; set; }
+
+ }
+}
diff --git a/src/Microsoft.Graph/Generated/model/Win32LobAppInstallExperience.cs b/src/Microsoft.Graph/Generated/model/Win32LobAppInstallExperience.cs
new file mode 100644
index 00000000000..4737e22bccf
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/model/Win32LobAppInstallExperience.cs
@@ -0,0 +1,60 @@
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+//
+
+// Template Source: Templates\CSharp\Model\ComplexType.cs.tt
+
+namespace Microsoft.Graph
+{
+ using System;
+ using System.Collections.Generic;
+ using System.IO;
+ using System.Runtime.Serialization;
+ using Newtonsoft.Json;
+
+ ///
+ /// The type Win32LobAppInstallExperience.
+ ///
+ [JsonObject(MemberSerialization = MemberSerialization.OptIn)]
+ [JsonConverter(typeof(DerivedTypeConverter))]
+ public partial class Win32LobAppInstallExperience
+ {
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ public Win32LobAppInstallExperience()
+ {
+ this.ODataType = "microsoft.graph.win32LobAppInstallExperience";
+ }
+
+ ///
+ /// Gets or sets deviceRestartBehavior.
+ /// Device restart behavior. Possible values are: basedOnReturnCode, allow, suppress, force.
+ ///
+ [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "deviceRestartBehavior", Required = Newtonsoft.Json.Required.Default)]
+ public Win32LobAppRestartBehavior? DeviceRestartBehavior { get; set; }
+
+ ///
+ /// Gets or sets runAsAccount.
+ /// Indicates the type of execution context the app runs in.
+ ///
+ [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "runAsAccount", Required = Newtonsoft.Json.Required.Default)]
+ public RunAsAccountType? RunAsAccount { get; set; }
+
+ ///
+ /// Gets or sets additional data.
+ ///
+ [JsonExtensionData(ReadData = true)]
+ public IDictionary AdditionalData { get; set; }
+
+ ///
+ /// Gets or sets @odata.type.
+ ///
+ [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "@odata.type", Required = Newtonsoft.Json.Required.Default)]
+ public string ODataType { get; set; }
+
+ }
+}
diff --git a/src/Microsoft.Graph/Generated/model/Win32LobAppMsiInformation.cs b/src/Microsoft.Graph/Generated/model/Win32LobAppMsiInformation.cs
new file mode 100644
index 00000000000..820b8e296d4
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/model/Win32LobAppMsiInformation.cs
@@ -0,0 +1,95 @@
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+//
+
+// Template Source: Templates\CSharp\Model\ComplexType.cs.tt
+
+namespace Microsoft.Graph
+{
+ using System;
+ using System.Collections.Generic;
+ using System.IO;
+ using System.Runtime.Serialization;
+ using Newtonsoft.Json;
+
+ ///
+ /// The type Win32LobAppMsiInformation.
+ ///
+ [JsonObject(MemberSerialization = MemberSerialization.OptIn)]
+ [JsonConverter(typeof(DerivedTypeConverter))]
+ public partial class Win32LobAppMsiInformation
+ {
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ public Win32LobAppMsiInformation()
+ {
+ this.ODataType = "microsoft.graph.win32LobAppMsiInformation";
+ }
+
+ ///
+ /// Gets or sets packageType.
+ /// The MSI package type. Possible values are: perMachine, perUser, dualPurpose.
+ ///
+ [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "packageType", Required = Newtonsoft.Json.Required.Default)]
+ public Win32LobAppMsiPackageType? PackageType { get; set; }
+
+ ///
+ /// Gets or sets productCode.
+ /// The MSI product code.
+ ///
+ [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "productCode", Required = Newtonsoft.Json.Required.Default)]
+ public string ProductCode { get; set; }
+
+ ///
+ /// Gets or sets productName.
+ /// The MSI product name.
+ ///
+ [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "productName", Required = Newtonsoft.Json.Required.Default)]
+ public string ProductName { get; set; }
+
+ ///
+ /// Gets or sets productVersion.
+ /// The MSI product version.
+ ///
+ [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "productVersion", Required = Newtonsoft.Json.Required.Default)]
+ public string ProductVersion { get; set; }
+
+ ///
+ /// Gets or sets publisher.
+ /// The MSI publisher.
+ ///
+ [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "publisher", Required = Newtonsoft.Json.Required.Default)]
+ public string Publisher { get; set; }
+
+ ///
+ /// Gets or sets requiresReboot.
+ /// Whether the MSI app requires the machine to reboot to complete installation.
+ ///
+ [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "requiresReboot", Required = Newtonsoft.Json.Required.Default)]
+ public bool? RequiresReboot { get; set; }
+
+ ///
+ /// Gets or sets upgradeCode.
+ /// The MSI upgrade code.
+ ///
+ [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "upgradeCode", Required = Newtonsoft.Json.Required.Default)]
+ public string UpgradeCode { get; set; }
+
+ ///
+ /// Gets or sets additional data.
+ ///
+ [JsonExtensionData(ReadData = true)]
+ public IDictionary AdditionalData { get; set; }
+
+ ///
+ /// Gets or sets @odata.type.
+ ///
+ [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "@odata.type", Required = Newtonsoft.Json.Required.Default)]
+ public string ODataType { get; set; }
+
+ }
+}
diff --git a/src/Microsoft.Graph/Generated/model/Win32LobAppMsiPackageType.cs b/src/Microsoft.Graph/Generated/model/Win32LobAppMsiPackageType.cs
new file mode 100644
index 00000000000..fe06d32763b
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/model/Win32LobAppMsiPackageType.cs
@@ -0,0 +1,38 @@
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+//
+
+// Template Source: Templates\CSharp\Model\EnumType.cs.tt
+
+
+namespace Microsoft.Graph
+{
+ using Newtonsoft.Json;
+
+ ///
+ /// The enum Win32LobAppMsiPackageType.
+ ///
+ [JsonConverter(typeof(EnumConverter))]
+ public enum Win32LobAppMsiPackageType
+ {
+
+ ///
+ /// Per Machine
+ ///
+ PerMachine = 0,
+
+ ///
+ /// Per User
+ ///
+ PerUser = 1,
+
+ ///
+ /// Dual Purpose
+ ///
+ DualPurpose = 2,
+
+ }
+}
diff --git a/src/Microsoft.Graph/Generated/model/Win32LobAppNotification.cs b/src/Microsoft.Graph/Generated/model/Win32LobAppNotification.cs
new file mode 100644
index 00000000000..12e90e3c1d3
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/model/Win32LobAppNotification.cs
@@ -0,0 +1,38 @@
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+//
+
+// Template Source: Templates\CSharp\Model\EnumType.cs.tt
+
+
+namespace Microsoft.Graph
+{
+ using Newtonsoft.Json;
+
+ ///
+ /// The enum Win32LobAppNotification.
+ ///
+ [JsonConverter(typeof(EnumConverter))]
+ public enum Win32LobAppNotification
+ {
+
+ ///
+ /// Show All
+ ///
+ ShowAll = 0,
+
+ ///
+ /// Show Reboot
+ ///
+ ShowReboot = 1,
+
+ ///
+ /// Hide All
+ ///
+ HideAll = 2,
+
+ }
+}
diff --git a/src/Microsoft.Graph/Generated/model/Win32LobAppPowerShellScriptRule.cs b/src/Microsoft.Graph/Generated/model/Win32LobAppPowerShellScriptRule.cs
new file mode 100644
index 00000000000..9b402977d00
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/model/Win32LobAppPowerShellScriptRule.cs
@@ -0,0 +1,89 @@
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+//
+
+// Template Source: Templates\CSharp\Model\ComplexType.cs.tt
+
+namespace Microsoft.Graph
+{
+ using System;
+ using System.Collections.Generic;
+ using System.IO;
+ using System.Runtime.Serialization;
+ using Newtonsoft.Json;
+
+ ///
+ /// The type Win32LobAppPowerShellScriptRule.
+ ///
+ [JsonObject(MemberSerialization = MemberSerialization.OptIn)]
+ public partial class Win32LobAppPowerShellScriptRule : Win32LobAppRule
+ {
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ public Win32LobAppPowerShellScriptRule()
+ {
+ this.ODataType = "microsoft.graph.win32LobAppPowerShellScriptRule";
+ }
+
+ ///
+ /// Gets or sets comparisonValue.
+ /// The script output comparison value. Do not specify a value if the rule is used for detection.
+ ///
+ [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "comparisonValue", Required = Newtonsoft.Json.Required.Default)]
+ public string ComparisonValue { get; set; }
+
+ ///
+ /// Gets or sets displayName.
+ /// The display name for the rule. Do not specify this value if the rule is used for detection.
+ ///
+ [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "displayName", Required = Newtonsoft.Json.Required.Default)]
+ public string DisplayName { get; set; }
+
+ ///
+ /// Gets or sets enforceSignatureCheck.
+ /// A value indicating whether a signature check is enforced.
+ ///
+ [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "enforceSignatureCheck", Required = Newtonsoft.Json.Required.Default)]
+ public bool? EnforceSignatureCheck { get; set; }
+
+ ///
+ /// Gets or sets operationType.
+ /// The script output comparison operation type. Use NotConfigured (the default value) if the rule is used for detection. Possible values are: notConfigured, string, dateTime, integer, float, version, boolean.
+ ///
+ [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "operationType", Required = Newtonsoft.Json.Required.Default)]
+ public Win32LobAppPowerShellScriptRuleOperationType? OperationType { get; set; }
+
+ ///
+ /// Gets or sets operator.
+ /// The script output operator. Use NotConfigured (the default value) if the rule is used for detection. Possible values are: notConfigured, equal, notEqual, greaterThan, greaterThanOrEqual, lessThan, lessThanOrEqual.
+ ///
+ [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "operator", Required = Newtonsoft.Json.Required.Default)]
+ public Win32LobAppRuleOperator? Operator { get; set; }
+
+ ///
+ /// Gets or sets runAs32Bit.
+ /// A value indicating whether the script should run as 32-bit.
+ ///
+ [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "runAs32Bit", Required = Newtonsoft.Json.Required.Default)]
+ public bool? RunAs32Bit { get; set; }
+
+ ///
+ /// Gets or sets runAsAccount.
+ /// The execution context of the script. Do not specify this value if the rule is used for detection. Script detection rules will run in the same context as the associated app install context.
+ ///
+ [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "runAsAccount", Required = Newtonsoft.Json.Required.Default)]
+ public RunAsAccountType? RunAsAccount { get; set; }
+
+ ///
+ /// Gets or sets scriptContent.
+ /// The base64-encoded script content.
+ ///
+ [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "scriptContent", Required = Newtonsoft.Json.Required.Default)]
+ public string ScriptContent { get; set; }
+
+ }
+}
diff --git a/src/Microsoft.Graph/Generated/model/Win32LobAppPowerShellScriptRuleOperationType.cs b/src/Microsoft.Graph/Generated/model/Win32LobAppPowerShellScriptRuleOperationType.cs
new file mode 100644
index 00000000000..e2a171c099d
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/model/Win32LobAppPowerShellScriptRuleOperationType.cs
@@ -0,0 +1,58 @@
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+//
+
+// Template Source: Templates\CSharp\Model\EnumType.cs.tt
+
+
+namespace Microsoft.Graph
+{
+ using Newtonsoft.Json;
+
+ ///
+ /// The enum Win32LobAppPowerShellScriptRuleOperationType.
+ ///
+ [JsonConverter(typeof(EnumConverter))]
+ public enum Win32LobAppPowerShellScriptRuleOperationType
+ {
+
+ ///
+ /// Not Configured
+ ///
+ NotConfigured = 0,
+
+ ///
+ /// String
+ ///
+ @String = 1,
+
+ ///
+ /// Date Time
+ ///
+ DateTime = 2,
+
+ ///
+ /// Integer
+ ///
+ Integer = 3,
+
+ ///
+ /// Float
+ ///
+ Float = 4,
+
+ ///
+ /// Version
+ ///
+ Version = 5,
+
+ ///
+ /// Boolean
+ ///
+ Boolean = 6,
+
+ }
+}
diff --git a/src/Microsoft.Graph/Generated/model/Win32LobAppProductCodeRule.cs b/src/Microsoft.Graph/Generated/model/Win32LobAppProductCodeRule.cs
new file mode 100644
index 00000000000..7a3ee199a6a
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/model/Win32LobAppProductCodeRule.cs
@@ -0,0 +1,54 @@
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+//
+
+// Template Source: Templates\CSharp\Model\ComplexType.cs.tt
+
+namespace Microsoft.Graph
+{
+ using System;
+ using System.Collections.Generic;
+ using System.IO;
+ using System.Runtime.Serialization;
+ using Newtonsoft.Json;
+
+ ///
+ /// The type Win32LobAppProductCodeRule.
+ ///
+ [JsonObject(MemberSerialization = MemberSerialization.OptIn)]
+ public partial class Win32LobAppProductCodeRule : Win32LobAppRule
+ {
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ public Win32LobAppProductCodeRule()
+ {
+ this.ODataType = "microsoft.graph.win32LobAppProductCodeRule";
+ }
+
+ ///
+ /// Gets or sets productCode.
+ /// The product code of the app.
+ ///
+ [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "productCode", Required = Newtonsoft.Json.Required.Default)]
+ public string ProductCode { get; set; }
+
+ ///
+ /// Gets or sets productVersion.
+ /// The product version comparison value.
+ ///
+ [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "productVersion", Required = Newtonsoft.Json.Required.Default)]
+ public string ProductVersion { get; set; }
+
+ ///
+ /// Gets or sets productVersionOperator.
+ /// The product version comparison operator. Possible values are: notConfigured, equal, notEqual, greaterThan, greaterThanOrEqual, lessThan, lessThanOrEqual.
+ ///
+ [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "productVersionOperator", Required = Newtonsoft.Json.Required.Default)]
+ public Win32LobAppRuleOperator? ProductVersionOperator { get; set; }
+
+ }
+}
diff --git a/src/Microsoft.Graph/Generated/model/Win32LobAppRegistryRule.cs b/src/Microsoft.Graph/Generated/model/Win32LobAppRegistryRule.cs
new file mode 100644
index 00000000000..988658e1950
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/model/Win32LobAppRegistryRule.cs
@@ -0,0 +1,75 @@
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+//
+
+// Template Source: Templates\CSharp\Model\ComplexType.cs.tt
+
+namespace Microsoft.Graph
+{
+ using System;
+ using System.Collections.Generic;
+ using System.IO;
+ using System.Runtime.Serialization;
+ using Newtonsoft.Json;
+
+ ///
+ /// The type Win32LobAppRegistryRule.
+ ///
+ [JsonObject(MemberSerialization = MemberSerialization.OptIn)]
+ public partial class Win32LobAppRegistryRule : Win32LobAppRule
+ {
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ public Win32LobAppRegistryRule()
+ {
+ this.ODataType = "microsoft.graph.win32LobAppRegistryRule";
+ }
+
+ ///
+ /// Gets or sets check32BitOn64System.
+ /// A value indicating whether to search the 32-bit registry on 64-bit systems.
+ ///
+ [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "check32BitOn64System", Required = Newtonsoft.Json.Required.Default)]
+ public bool? Check32BitOn64System { get; set; }
+
+ ///
+ /// Gets or sets comparisonValue.
+ /// The registry comparison value.
+ ///
+ [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "comparisonValue", Required = Newtonsoft.Json.Required.Default)]
+ public string ComparisonValue { get; set; }
+
+ ///
+ /// Gets or sets keyPath.
+ /// The full path of the registry entry containing the value to detect.
+ ///
+ [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "keyPath", Required = Newtonsoft.Json.Required.Default)]
+ public string KeyPath { get; set; }
+
+ ///
+ /// Gets or sets operationType.
+ /// The registry operation type. Possible values are: notConfigured, exists, doesNotExist, string, integer, version.
+ ///
+ [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "operationType", Required = Newtonsoft.Json.Required.Default)]
+ public Win32LobAppRegistryRuleOperationType? OperationType { get; set; }
+
+ ///
+ /// Gets or sets operator.
+ /// The operator for registry detection. Possible values are: notConfigured, equal, notEqual, greaterThan, greaterThanOrEqual, lessThan, lessThanOrEqual.
+ ///
+ [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "operator", Required = Newtonsoft.Json.Required.Default)]
+ public Win32LobAppRuleOperator? Operator { get; set; }
+
+ ///
+ /// Gets or sets valueName.
+ /// The name of the registry value to detect.
+ ///
+ [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "valueName", Required = Newtonsoft.Json.Required.Default)]
+ public string ValueName { get; set; }
+
+ }
+}
diff --git a/src/Microsoft.Graph/Generated/model/Win32LobAppRegistryRuleOperationType.cs b/src/Microsoft.Graph/Generated/model/Win32LobAppRegistryRuleOperationType.cs
new file mode 100644
index 00000000000..35a7b67ab56
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/model/Win32LobAppRegistryRuleOperationType.cs
@@ -0,0 +1,53 @@
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+//
+
+// Template Source: Templates\CSharp\Model\EnumType.cs.tt
+
+
+namespace Microsoft.Graph
+{
+ using Newtonsoft.Json;
+
+ ///
+ /// The enum Win32LobAppRegistryRuleOperationType.
+ ///
+ [JsonConverter(typeof(EnumConverter))]
+ public enum Win32LobAppRegistryRuleOperationType
+ {
+
+ ///
+ /// Not Configured
+ ///
+ NotConfigured = 0,
+
+ ///
+ /// Exists
+ ///
+ Exists = 1,
+
+ ///
+ /// Does Not Exist
+ ///
+ DoesNotExist = 2,
+
+ ///
+ /// String
+ ///
+ @String = 3,
+
+ ///
+ /// Integer
+ ///
+ Integer = 4,
+
+ ///
+ /// Version
+ ///
+ Version = 5,
+
+ }
+}
diff --git a/src/Microsoft.Graph/Generated/model/Win32LobAppRestartBehavior.cs b/src/Microsoft.Graph/Generated/model/Win32LobAppRestartBehavior.cs
new file mode 100644
index 00000000000..e5b62212272
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/model/Win32LobAppRestartBehavior.cs
@@ -0,0 +1,43 @@
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+//
+
+// Template Source: Templates\CSharp\Model\EnumType.cs.tt
+
+
+namespace Microsoft.Graph
+{
+ using Newtonsoft.Json;
+
+ ///
+ /// The enum Win32LobAppRestartBehavior.
+ ///
+ [JsonConverter(typeof(EnumConverter))]
+ public enum Win32LobAppRestartBehavior
+ {
+
+ ///
+ /// Based On Return Code
+ ///
+ BasedOnReturnCode = 0,
+
+ ///
+ /// Allow
+ ///
+ Allow = 1,
+
+ ///
+ /// Suppress
+ ///
+ Suppress = 2,
+
+ ///
+ /// Force
+ ///
+ Force = 3,
+
+ }
+}
diff --git a/src/Microsoft.Graph/Generated/model/Win32LobAppRestartSettings.cs b/src/Microsoft.Graph/Generated/model/Win32LobAppRestartSettings.cs
new file mode 100644
index 00000000000..b92a234180e
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/model/Win32LobAppRestartSettings.cs
@@ -0,0 +1,67 @@
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+//
+
+// Template Source: Templates\CSharp\Model\ComplexType.cs.tt
+
+namespace Microsoft.Graph
+{
+ using System;
+ using System.Collections.Generic;
+ using System.IO;
+ using System.Runtime.Serialization;
+ using Newtonsoft.Json;
+
+ ///
+ /// The type Win32LobAppRestartSettings.
+ ///
+ [JsonObject(MemberSerialization = MemberSerialization.OptIn)]
+ [JsonConverter(typeof(DerivedTypeConverter))]
+ public partial class Win32LobAppRestartSettings
+ {
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ public Win32LobAppRestartSettings()
+ {
+ this.ODataType = "microsoft.graph.win32LobAppRestartSettings";
+ }
+
+ ///
+ /// Gets or sets countdownDisplayBeforeRestartInMinutes.
+ /// The number of minutes before the restart time to display the countdown dialog for pending restarts.
+ ///
+ [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "countdownDisplayBeforeRestartInMinutes", Required = Newtonsoft.Json.Required.Default)]
+ public Int32? CountdownDisplayBeforeRestartInMinutes { get; set; }
+
+ ///
+ /// Gets or sets gracePeriodInMinutes.
+ /// The number of minutes to wait before restarting the device after an app installation.
+ ///
+ [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "gracePeriodInMinutes", Required = Newtonsoft.Json.Required.Default)]
+ public Int32? GracePeriodInMinutes { get; set; }
+
+ ///
+ /// Gets or sets restartNotificationSnoozeDurationInMinutes.
+ /// The number of minutes to snooze the restart notification dialog when the snooze button is selected.
+ ///
+ [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "restartNotificationSnoozeDurationInMinutes", Required = Newtonsoft.Json.Required.Default)]
+ public Int32? RestartNotificationSnoozeDurationInMinutes { get; set; }
+
+ ///
+ /// Gets or sets additional data.
+ ///
+ [JsonExtensionData(ReadData = true)]
+ public IDictionary AdditionalData { get; set; }
+
+ ///
+ /// Gets or sets @odata.type.
+ ///
+ [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "@odata.type", Required = Newtonsoft.Json.Required.Default)]
+ public string ODataType { get; set; }
+
+ }
+}
diff --git a/src/Microsoft.Graph/Generated/model/Win32LobAppReturnCode.cs b/src/Microsoft.Graph/Generated/model/Win32LobAppReturnCode.cs
new file mode 100644
index 00000000000..71a34228edb
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/model/Win32LobAppReturnCode.cs
@@ -0,0 +1,60 @@
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+//
+
+// Template Source: Templates\CSharp\Model\ComplexType.cs.tt
+
+namespace Microsoft.Graph
+{
+ using System;
+ using System.Collections.Generic;
+ using System.IO;
+ using System.Runtime.Serialization;
+ using Newtonsoft.Json;
+
+ ///
+ /// The type Win32LobAppReturnCode.
+ ///
+ [JsonObject(MemberSerialization = MemberSerialization.OptIn)]
+ [JsonConverter(typeof(DerivedTypeConverter))]
+ public partial class Win32LobAppReturnCode
+ {
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ public Win32LobAppReturnCode()
+ {
+ this.ODataType = "microsoft.graph.win32LobAppReturnCode";
+ }
+
+ ///
+ /// Gets or sets returnCode.
+ /// Return code.
+ ///
+ [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "returnCode", Required = Newtonsoft.Json.Required.Default)]
+ public Int32? ReturnCode { get; set; }
+
+ ///
+ /// Gets or sets type.
+ /// The type of return code. Possible values are: failed, success, softReboot, hardReboot, retry.
+ ///
+ [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "type", Required = Newtonsoft.Json.Required.Default)]
+ public Win32LobAppReturnCodeType? Type { get; set; }
+
+ ///
+ /// Gets or sets additional data.
+ ///
+ [JsonExtensionData(ReadData = true)]
+ public IDictionary AdditionalData { get; set; }
+
+ ///
+ /// Gets or sets @odata.type.
+ ///
+ [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "@odata.type", Required = Newtonsoft.Json.Required.Default)]
+ public string ODataType { get; set; }
+
+ }
+}
diff --git a/src/Microsoft.Graph/Generated/model/Win32LobAppReturnCodeType.cs b/src/Microsoft.Graph/Generated/model/Win32LobAppReturnCodeType.cs
new file mode 100644
index 00000000000..1c39dbd6e6a
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/model/Win32LobAppReturnCodeType.cs
@@ -0,0 +1,48 @@
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+//
+
+// Template Source: Templates\CSharp\Model\EnumType.cs.tt
+
+
+namespace Microsoft.Graph
+{
+ using Newtonsoft.Json;
+
+ ///
+ /// The enum Win32LobAppReturnCodeType.
+ ///
+ [JsonConverter(typeof(EnumConverter))]
+ public enum Win32LobAppReturnCodeType
+ {
+
+ ///
+ /// Failed
+ ///
+ Failed = 0,
+
+ ///
+ /// Success
+ ///
+ Success = 1,
+
+ ///
+ /// Soft Reboot
+ ///
+ SoftReboot = 2,
+
+ ///
+ /// Hard Reboot
+ ///
+ HardReboot = 3,
+
+ ///
+ /// Retry
+ ///
+ Retry = 4,
+
+ }
+}
diff --git a/src/Microsoft.Graph/Generated/model/Win32LobAppRule.cs b/src/Microsoft.Graph/Generated/model/Win32LobAppRule.cs
new file mode 100644
index 00000000000..3e9e8921eef
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/model/Win32LobAppRule.cs
@@ -0,0 +1,46 @@
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+//
+
+// Template Source: Templates\CSharp\Model\ComplexType.cs.tt
+
+namespace Microsoft.Graph
+{
+ using System;
+ using System.Collections.Generic;
+ using System.IO;
+ using System.Runtime.Serialization;
+ using Newtonsoft.Json;
+
+ ///
+ /// The type Win32LobAppRule.
+ ///
+ [JsonObject(MemberSerialization = MemberSerialization.OptIn)]
+ [JsonConverter(typeof(DerivedTypeConverter))]
+ public abstract partial class Win32LobAppRule
+ {
+
+ ///
+ /// Gets or sets ruleType.
+ /// The rule type indicating the purpose of the rule. Possible values are: detection, requirement.
+ ///
+ [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "ruleType", Required = Newtonsoft.Json.Required.Default)]
+ public Win32LobAppRuleType? RuleType { get; set; }
+
+ ///
+ /// Gets or sets additional data.
+ ///
+ [JsonExtensionData(ReadData = true)]
+ public IDictionary AdditionalData { get; set; }
+
+ ///
+ /// Gets or sets @odata.type.
+ ///
+ [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "@odata.type", Required = Newtonsoft.Json.Required.Default)]
+ public string ODataType { get; set; }
+
+ }
+}
diff --git a/src/Microsoft.Graph/Generated/model/Win32LobAppRuleOperator.cs b/src/Microsoft.Graph/Generated/model/Win32LobAppRuleOperator.cs
new file mode 100644
index 00000000000..622cad6e476
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/model/Win32LobAppRuleOperator.cs
@@ -0,0 +1,58 @@
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+//
+
+// Template Source: Templates\CSharp\Model\EnumType.cs.tt
+
+
+namespace Microsoft.Graph
+{
+ using Newtonsoft.Json;
+
+ ///
+ /// The enum Win32LobAppRuleOperator.
+ ///
+ [JsonConverter(typeof(EnumConverter))]
+ public enum Win32LobAppRuleOperator
+ {
+
+ ///
+ /// Not Configured
+ ///
+ NotConfigured = 0,
+
+ ///
+ /// Equal
+ ///
+ Equal = 1,
+
+ ///
+ /// Not Equal
+ ///
+ NotEqual = 2,
+
+ ///
+ /// Greater Than
+ ///
+ GreaterThan = 4,
+
+ ///
+ /// Greater Than Or Equal
+ ///
+ GreaterThanOrEqual = 5,
+
+ ///
+ /// Less Than
+ ///
+ LessThan = 8,
+
+ ///
+ /// Less Than Or Equal
+ ///
+ LessThanOrEqual = 9,
+
+ }
+}
diff --git a/src/Microsoft.Graph/Generated/model/Win32LobAppRuleType.cs b/src/Microsoft.Graph/Generated/model/Win32LobAppRuleType.cs
new file mode 100644
index 00000000000..bfd0cb6d797
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/model/Win32LobAppRuleType.cs
@@ -0,0 +1,33 @@
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+//
+
+// Template Source: Templates\CSharp\Model\EnumType.cs.tt
+
+
+namespace Microsoft.Graph
+{
+ using Newtonsoft.Json;
+
+ ///
+ /// The enum Win32LobAppRuleType.
+ ///
+ [JsonConverter(typeof(EnumConverter))]
+ public enum Win32LobAppRuleType
+ {
+
+ ///
+ /// Detection
+ ///
+ Detection = 0,
+
+ ///
+ /// Requirement
+ ///
+ Requirement = 1,
+
+ }
+}
diff --git a/src/Microsoft.Graph/Generated/requests/ChatGetAllMessagesCollectionPage.cs b/src/Microsoft.Graph/Generated/requests/ChatGetAllMessagesCollectionPage.cs
new file mode 100644
index 00000000000..11a42c3912d
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/requests/ChatGetAllMessagesCollectionPage.cs
@@ -0,0 +1,36 @@
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+//
+
+// Template Source: Templates\CSharp\Requests\MethodCollectionPage.cs.tt
+
+namespace Microsoft.Graph
+{
+ ///
+ /// The type ChatGetAllMessagesCollectionPage.
+ ///
+ public partial class ChatGetAllMessagesCollectionPage : CollectionPage, IChatGetAllMessagesCollectionPage
+ {
+ ///
+ /// Gets the next page instance.
+ ///
+ public IChatGetAllMessagesRequest NextPageRequest { get; private set; }
+
+ ///
+ /// Initializes the NextPageRequest property.
+ ///
+ public void InitializeNextPageRequest(IBaseClient client, string nextPageLinkString)
+ {
+ if (!string.IsNullOrEmpty(nextPageLinkString))
+ {
+ this.NextPageRequest = new ChatGetAllMessagesRequest(
+ nextPageLinkString,
+ client,
+ null);
+ }
+ }
+ }
+}
diff --git a/src/Microsoft.Graph/Generated/requests/ChatGetAllMessagesCollectionResponse.cs b/src/Microsoft.Graph/Generated/requests/ChatGetAllMessagesCollectionResponse.cs
new file mode 100644
index 00000000000..5ccd6f2ea78
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/requests/ChatGetAllMessagesCollectionResponse.cs
@@ -0,0 +1,34 @@
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+//
+
+// Template Source: Templates\CSharp\Requests\MethodCollectionResponse.cs.tt
+
+namespace Microsoft.Graph
+{
+ using System.Collections.Generic;
+ using System.Runtime.Serialization;
+ using Newtonsoft.Json;
+
+ ///
+ /// The type ChatGetAllMessagesCollectionResponse.
+ ///
+ [JsonObject(MemberSerialization = MemberSerialization.OptIn)]
+ public class ChatGetAllMessagesCollectionResponse
+ {
+ ///
+ /// Gets or sets the value.
+ ///
+ [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName ="value", Required = Required.Default)]
+ public IChatGetAllMessagesCollectionPage Value { get; set; }
+
+ ///
+ /// Gets or sets additional data.
+ ///
+ [JsonExtensionData(ReadData = true)]
+ public IDictionary AdditionalData { get; set; }
+ }
+}
diff --git a/src/Microsoft.Graph/Generated/requests/ChatGetAllMessagesRequest.cs b/src/Microsoft.Graph/Generated/requests/ChatGetAllMessagesRequest.cs
new file mode 100644
index 00000000000..2481f8742fa
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/requests/ChatGetAllMessagesRequest.cs
@@ -0,0 +1,144 @@
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+//
+
+// Template Source: Templates\CSharp\Requests\MethodRequest.cs.tt
+
+namespace Microsoft.Graph
+{
+ using System;
+ using System.Collections.Generic;
+ using System.IO;
+ using System.Net.Http;
+ using System.Threading;
+
+ ///
+ /// The type ChatGetAllMessagesRequest.
+ ///
+ public partial class ChatGetAllMessagesRequest : BaseRequest, IChatGetAllMessagesRequest
+ {
+ ///
+ /// Constructs a new ChatGetAllMessagesRequest.
+ ///
+ public ChatGetAllMessagesRequest(
+ string requestUrl,
+ IBaseClient client,
+ IEnumerable
IGraphServiceSubscriptionsCollectionRequestBuilder Subscriptions { get; }
+ ///
+ /// Gets the GraphServiceChats request builder.
+ ///
+ IGraphServiceChatsCollectionRequestBuilder Chats { get; }
+
///
/// Gets the GraphServiceTeams request builder.
///
diff --git a/src/Microsoft.Graph/Generated/requests/IGraphServiceTeamsCollectionRequestBuilder.cs b/src/Microsoft.Graph/Generated/requests/IGraphServiceTeamsCollectionRequestBuilder.cs
index e8c3ea90737..43f84812945 100644
--- a/src/Microsoft.Graph/Generated/requests/IGraphServiceTeamsCollectionRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/requests/IGraphServiceTeamsCollectionRequestBuilder.cs
@@ -36,6 +36,10 @@ public partial interface IGraphServiceTeamsCollectionRequestBuilder : IBaseReque
/// The .
ITeamRequestBuilder this[string id] { get; }
-
+ ///
+ /// Gets the request builder for TeamGetAllMessages.
+ ///
+ /// The .
+ ITeamGetAllMessagesRequestBuilder GetAllMessages();
}
}
diff --git a/src/Microsoft.Graph/Generated/requests/ITeamGetAllMessagesCollectionPage.cs b/src/Microsoft.Graph/Generated/requests/ITeamGetAllMessagesCollectionPage.cs
new file mode 100644
index 00000000000..e323cd15bb5
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/requests/ITeamGetAllMessagesCollectionPage.cs
@@ -0,0 +1,30 @@
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+//
+
+// Template Source: Templates\CSharp\Requests\IMethodCollectionPage.cs.tt
+
+namespace Microsoft.Graph
+{
+ using Newtonsoft.Json;
+
+ ///
+ /// The interface ITeamGetAllMessagesCollectionPage.
+ ///
+ [JsonConverter(typeof(InterfaceConverter))]
+ public interface ITeamGetAllMessagesCollectionPage : ICollectionPage
+ {
+ ///
+ /// Gets the next page instance.
+ ///
+ ITeamGetAllMessagesRequest NextPageRequest { get; }
+
+ ///
+ /// Initializes the NextPageRequest property.
+ ///
+ void InitializeNextPageRequest(IBaseClient client, string nextPageLinkString);
+ }
+}
diff --git a/src/Microsoft.Graph/Generated/requests/ITeamGetAllMessagesRequest.cs b/src/Microsoft.Graph/Generated/requests/ITeamGetAllMessagesRequest.cs
new file mode 100644
index 00000000000..4a7ebe6aca3
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/requests/ITeamGetAllMessagesRequest.cs
@@ -0,0 +1,84 @@
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+//
+
+// Template Source: Templates\CSharp\Requests\IMethodRequest.cs.tt
+
+namespace Microsoft.Graph
+{
+ using System;
+ using System.Collections.Generic;
+ using System.IO;
+ using System.Net.Http;
+ using System.Threading;
+
+ ///
+ /// The interface ITeamGetAllMessagesRequest.
+ ///
+ public partial interface ITeamGetAllMessagesRequest : IBaseRequest
+ {
+
+
+ ///
+ /// Issues the GET request.
+ ///
+ System.Threading.Tasks.Task GetAsync();
+
+ ///
+ /// Issues the GET request.
+ ///
+ /// The for the request.
+ /// The task to await for async call.
+ System.Threading.Tasks.Task GetAsync(
+ CancellationToken cancellationToken);
+
+
+
+
+
+ ///
+ /// Adds the specified expand value to the request.
+ ///
+ /// The expand value.
+ /// The request object to send.
+ ITeamGetAllMessagesRequest Expand(string value);
+
+ ///
+ /// Adds the specified select value to the request.
+ ///
+ /// The select value.
+ /// The request object to send.
+ ITeamGetAllMessagesRequest Select(string value);
+
+ ///
+ /// Adds the specified top value to the request.
+ ///
+ /// The top value.
+ /// The request object to send.
+ ITeamGetAllMessagesRequest Top(int value);
+
+ ///
+ /// Adds the specified filter value to the request.
+ ///
+ /// The filter value.
+ /// The request object to send.
+ ITeamGetAllMessagesRequest Filter(string value);
+
+ ///
+ /// Adds the specified skip value to the request.
+ ///
+ /// The skip value.
+ /// The request object to send.
+ ITeamGetAllMessagesRequest Skip(int value);
+
+ ///
+ /// Adds the specified orderby value to the request.
+ ///
+ /// The orderby value.
+ /// The request object to send.
+ ITeamGetAllMessagesRequest OrderBy(string value);
+ }
+}
diff --git a/src/Microsoft.Graph/Generated/requests/ITeamGetAllMessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/requests/ITeamGetAllMessagesRequestBuilder.cs
new file mode 100644
index 00000000000..3abe79f5a9d
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/requests/ITeamGetAllMessagesRequestBuilder.cs
@@ -0,0 +1,28 @@
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+//
+
+// Template Source: Templates\CSharp\Requests\IMethodRequestBuilder.cs.tt
+
+namespace Microsoft.Graph
+{
+ using System;
+ using System.Collections.Generic;
+ using System.IO;
+
+ ///
+ /// The interface ITeamGetAllMessagesRequestBuilder.
+ ///
+ public partial interface ITeamGetAllMessagesRequestBuilder
+ {
+ ///
+ /// Builds the request.
+ ///
+ /// The query and header options for the request.
+ /// The built request.
+ ITeamGetAllMessagesRequest Request(IEnumerable
options = null);
+ }
+}
diff --git a/src/Microsoft.Graph/Generated/requests/IUserJoinedTeamsCollectionRequestBuilder.cs b/src/Microsoft.Graph/Generated/requests/IUserJoinedTeamsCollectionRequestBuilder.cs
index e410bb2f7c8..b0a9159cddc 100644
--- a/src/Microsoft.Graph/Generated/requests/IUserJoinedTeamsCollectionRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/requests/IUserJoinedTeamsCollectionRequestBuilder.cs
@@ -36,6 +36,10 @@ public partial interface IUserJoinedTeamsCollectionRequestBuilder : IBaseRequest
/// The .
ITeamRequestBuilder this[string id] { get; }
-
+ ///
+ /// Gets the request builder for TeamGetAllMessages.
+ ///
+ /// The .
+ ITeamGetAllMessagesRequestBuilder GetAllMessages();
}
}
diff --git a/src/Microsoft.Graph/Generated/requests/IWin32LobAppRequest.cs b/src/Microsoft.Graph/Generated/requests/IWin32LobAppRequest.cs
new file mode 100644
index 00000000000..c32fba7db33
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/requests/IWin32LobAppRequest.cs
@@ -0,0 +1,107 @@
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+//
+
+// Template Source: Templates\CSharp\Requests\IEntityRequest.cs.tt
+
+namespace Microsoft.Graph
+{
+ using System;
+ using System.IO;
+ using System.Net.Http;
+ using System.Threading;
+ using System.Linq.Expressions;
+
+ ///
+ /// The interface IWin32LobAppRequest.
+ ///
+ public partial interface IWin32LobAppRequest : IBaseRequest
+ {
+ ///
+ /// Creates the specified Win32LobApp using POST.
+ ///
+ /// The Win32LobApp to create.
+ /// The created Win32LobApp.
+ System.Threading.Tasks.Task CreateAsync(Win32LobApp win32LobAppToCreate); ///
+ /// Creates the specified Win32LobApp using POST.
+ ///
+ /// The Win32LobApp to create.
+ /// The for the request.
+ /// The created Win32LobApp.
+ System.Threading.Tasks.Task CreateAsync(Win32LobApp win32LobAppToCreate, CancellationToken cancellationToken);
+
+ ///
+ /// Deletes the specified Win32LobApp.
+ ///
+ /// The task to await.
+ System.Threading.Tasks.Task DeleteAsync();
+
+ ///
+ /// Deletes the specified Win32LobApp.
+ ///
+ /// The for the request.
+ /// The task to await.
+ System.Threading.Tasks.Task DeleteAsync(CancellationToken cancellationToken);
+
+ ///
+ /// Gets the specified Win32LobApp.
+ ///
+ /// The Win32LobApp.
+ System.Threading.Tasks.Task GetAsync();
+
+ ///
+ /// Gets the specified Win32LobApp.
+ ///
+ /// The for the request.
+ /// The Win32LobApp.
+ System.Threading.Tasks.Task GetAsync(CancellationToken cancellationToken);
+
+ ///
+ /// Updates the specified Win32LobApp using PATCH.
+ ///
+ /// The Win32LobApp to update.
+ /// The updated Win32LobApp.
+ System.Threading.Tasks.Task UpdateAsync(Win32LobApp win32LobAppToUpdate);
+
+ ///
+ /// Updates the specified Win32LobApp using PATCH.
+ ///
+ /// The Win32LobApp to update.
+ /// The for the request.
+ /// Thrown when an object returned in a response is used for updating an object in Microsoft Graph.
+ /// The updated Win32LobApp.
+ System.Threading.Tasks.Task UpdateAsync(Win32LobApp win32LobAppToUpdate, CancellationToken cancellationToken);
+
+ ///
+ /// Adds the specified expand value to the request.
+ ///
+ /// The expand value.
+ /// The request object to send.
+ IWin32LobAppRequest Expand(string value);
+
+ ///
+ /// Adds the specified expand value to the request.
+ ///
+ /// The expression from which to calculate the expand value.
+ /// The request object to send.
+ IWin32LobAppRequest Expand(Expression> expandExpression);
+
+ ///
+ /// Adds the specified select value to the request.
+ ///
+ /// The select value.
+ /// The request object to send.
+ IWin32LobAppRequest Select(string value);
+
+ ///
+ /// Adds the specified select value to the request.
+ ///
+ /// The expression from which to calculate the select value.
+ /// The request object to send.
+ IWin32LobAppRequest Select(Expression> selectExpression);
+
+ }
+}
diff --git a/src/Microsoft.Graph/Generated/requests/IWin32LobAppRequestBuilder.cs b/src/Microsoft.Graph/Generated/requests/IWin32LobAppRequestBuilder.cs
new file mode 100644
index 00000000000..fa908e0c590
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/requests/IWin32LobAppRequestBuilder.cs
@@ -0,0 +1,35 @@
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+//
+
+// Template Source: Templates\CSharp\Requests\IEntityRequestBuilder.cs.tt
+
+namespace Microsoft.Graph
+{
+ using System;
+ using System.Collections.Generic;
+ using System.IO;
+
+ ///
+ /// The interface IWin32LobAppRequestBuilder.
+ ///
+ public partial interface IWin32LobAppRequestBuilder : IMobileLobAppRequestBuilder
+ {
+ ///
+ /// Builds the request.
+ ///
+ /// The built request.
+ new IWin32LobAppRequest Request();
+
+ ///
+ /// Builds the request.
+ ///
+ /// The query and header options for the request.
+ /// The built request.
+ new IWin32LobAppRequest Request(IEnumerable
options);
+
+ }
+}
diff --git a/src/Microsoft.Graph/Generated/requests/TeamGetAllMessagesCollectionPage.cs b/src/Microsoft.Graph/Generated/requests/TeamGetAllMessagesCollectionPage.cs
new file mode 100644
index 00000000000..d1d9fd0a5ba
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/requests/TeamGetAllMessagesCollectionPage.cs
@@ -0,0 +1,36 @@
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+//
+
+// Template Source: Templates\CSharp\Requests\MethodCollectionPage.cs.tt
+
+namespace Microsoft.Graph
+{
+ ///
+ /// The type TeamGetAllMessagesCollectionPage.
+ ///
+ public partial class TeamGetAllMessagesCollectionPage : CollectionPage, ITeamGetAllMessagesCollectionPage
+ {
+ ///
+ /// Gets the next page instance.
+ ///
+ public ITeamGetAllMessagesRequest NextPageRequest { get; private set; }
+
+ ///
+ /// Initializes the NextPageRequest property.
+ ///
+ public void InitializeNextPageRequest(IBaseClient client, string nextPageLinkString)
+ {
+ if (!string.IsNullOrEmpty(nextPageLinkString))
+ {
+ this.NextPageRequest = new TeamGetAllMessagesRequest(
+ nextPageLinkString,
+ client,
+ null);
+ }
+ }
+ }
+}
diff --git a/src/Microsoft.Graph/Generated/requests/TeamGetAllMessagesCollectionResponse.cs b/src/Microsoft.Graph/Generated/requests/TeamGetAllMessagesCollectionResponse.cs
new file mode 100644
index 00000000000..529fce14a05
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/requests/TeamGetAllMessagesCollectionResponse.cs
@@ -0,0 +1,34 @@
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+//
+
+// Template Source: Templates\CSharp\Requests\MethodCollectionResponse.cs.tt
+
+namespace Microsoft.Graph
+{
+ using System.Collections.Generic;
+ using System.Runtime.Serialization;
+ using Newtonsoft.Json;
+
+ ///
+ /// The type TeamGetAllMessagesCollectionResponse.
+ ///
+ [JsonObject(MemberSerialization = MemberSerialization.OptIn)]
+ public class TeamGetAllMessagesCollectionResponse
+ {
+ ///
+ /// Gets or sets the value.
+ ///
+ [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName ="value", Required = Required.Default)]
+ public ITeamGetAllMessagesCollectionPage Value { get; set; }
+
+ ///
+ /// Gets or sets additional data.
+ ///
+ [JsonExtensionData(ReadData = true)]
+ public IDictionary AdditionalData { get; set; }
+ }
+}
diff --git a/src/Microsoft.Graph/Generated/requests/TeamGetAllMessagesRequest.cs b/src/Microsoft.Graph/Generated/requests/TeamGetAllMessagesRequest.cs
new file mode 100644
index 00000000000..86747f2afe5
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/requests/TeamGetAllMessagesRequest.cs
@@ -0,0 +1,144 @@
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+//
+
+// Template Source: Templates\CSharp\Requests\MethodRequest.cs.tt
+
+namespace Microsoft.Graph
+{
+ using System;
+ using System.Collections.Generic;
+ using System.IO;
+ using System.Net.Http;
+ using System.Threading;
+
+ ///
+ /// The type TeamGetAllMessagesRequest.
+ ///
+ public partial class TeamGetAllMessagesRequest : BaseRequest, ITeamGetAllMessagesRequest
+ {
+ ///
+ /// Constructs a new TeamGetAllMessagesRequest.
+ ///
+ public TeamGetAllMessagesRequest(
+ string requestUrl,
+ IBaseClient client,
+ IEnumerable
options)
+ : base(requestUrl, client, options)
+ {
+ }
+
+ ///
+ /// Issues the GET request.
+ ///
+ public System.Threading.Tasks.Task GetAsync()
+ {
+ return this.GetAsync(CancellationToken.None);
+ }
+
+ ///
+ /// Issues the GET request.
+ ///
+ /// The for the request.
+ /// The task to await for async call.
+ public async System.Threading.Tasks.Task GetAsync(
+ CancellationToken cancellationToken)
+ {
+ this.Method = "GET";
+ var response = await this.SendAsync(null, cancellationToken).ConfigureAwait(false);
+ if (response != null && response.Value != null && response.Value.CurrentPage != null)
+ {
+ if (response.AdditionalData != null)
+ {
+ response.Value.AdditionalData = response.AdditionalData;
+
+ object nextPageLink;
+ response.AdditionalData.TryGetValue("@odata.nextLink", out nextPageLink);
+
+ var nextPageLinkString = nextPageLink as string;
+
+ if (!string.IsNullOrEmpty(nextPageLinkString))
+ {
+ response.Value.InitializeNextPageRequest(
+ this.Client,
+ nextPageLinkString);
+ }
+ }
+
+ return response.Value;
+ }
+
+ return null;
+ }
+
+
+ ///
+ /// Adds the specified expand value to the request.
+ ///
+ /// The expand value.
+ /// The request object to send.
+ public ITeamGetAllMessagesRequest Expand(string value)
+ {
+ this.QueryOptions.Add(new QueryOption("$expand", value));
+ return this;
+ }
+
+ ///
+ /// Adds the specified select value to the request.
+ ///
+ /// The select value.
+ /// The request object to send.
+ public ITeamGetAllMessagesRequest Select(string value)
+ {
+ this.QueryOptions.Add(new QueryOption("$select", value));
+ return this;
+ }
+
+ ///
+ /// Adds the specified top value to the request.
+ ///
+ /// The top value.
+ /// The request object to send.
+ public ITeamGetAllMessagesRequest Top(int value)
+ {
+ this.QueryOptions.Add(new QueryOption("$top", value.ToString()));
+ return this;
+ }
+
+ ///
+ /// Adds the specified filter value to the request.
+ ///
+ /// The filter value.
+ /// The request object to send.
+ public ITeamGetAllMessagesRequest Filter(string value)
+ {
+ this.QueryOptions.Add(new QueryOption("$filter", value));
+ return this;
+ }
+
+ ///
+ /// Adds the specified skip value to the request.
+ ///
+ /// The skip value.
+ /// The request object to send.
+ public ITeamGetAllMessagesRequest Skip(int value)
+ {
+ this.QueryOptions.Add(new QueryOption("$skip", value.ToString()));
+ return this;
+ }
+
+ ///
+ /// Adds the specified orderby value to the request.
+ ///
+ /// The orderby value.
+ /// The request object to send.
+ public ITeamGetAllMessagesRequest OrderBy(string value)
+ {
+ this.QueryOptions.Add(new QueryOption("$orderby", value));
+ return this;
+ }
+ }
+}
diff --git a/src/Microsoft.Graph/Generated/requests/TeamGetAllMessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/requests/TeamGetAllMessagesRequestBuilder.cs
new file mode 100644
index 00000000000..57f7107a71b
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/requests/TeamGetAllMessagesRequestBuilder.cs
@@ -0,0 +1,46 @@
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+//
+
+// Template Source: Templates\CSharp\Requests\MethodRequestBuilder.cs.tt
+
+namespace Microsoft.Graph
+{
+ using System;
+ using System.Collections.Generic;
+ using System.IO;
+
+ ///
+ /// The type TeamGetAllMessagesRequestBuilder.
+ ///
+ public partial class TeamGetAllMessagesRequestBuilder : BaseFunctionMethodRequestBuilder, ITeamGetAllMessagesRequestBuilder
+ {
+ ///
+ /// Constructs a new .
+ ///
+ /// The URL for the request.
+ /// The for handling requests.
+ public TeamGetAllMessagesRequestBuilder(
+ string requestUrl,
+ IBaseClient client)
+ : base(requestUrl, client)
+ {
+ }
+
+ ///
+ /// A method used by the base class to construct a request class instance.
+ ///
+ /// The request URL to
+ /// The query and header options for the request.
+ /// An instance of a specific request class.
+ protected override ITeamGetAllMessagesRequest CreateRequest(string functionUrl, IEnumerable
options)
+ {
+ var request = new TeamGetAllMessagesRequest(functionUrl, this.Client, options);
+
+ return request;
+ }
+ }
+}
diff --git a/src/Microsoft.Graph/Generated/requests/UserJoinedTeamsCollectionRequestBuilder.cs b/src/Microsoft.Graph/Generated/requests/UserJoinedTeamsCollectionRequestBuilder.cs
index 2cbdea82c32..d4dc754e9c9 100644
--- a/src/Microsoft.Graph/Generated/requests/UserJoinedTeamsCollectionRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/requests/UserJoinedTeamsCollectionRequestBuilder.cs
@@ -60,6 +60,15 @@ public ITeamRequestBuilder this[string id]
}
}
-
+ ///
+ /// Gets the request builder for TeamGetAllMessages.
+ ///
+ /// The .
+ public ITeamGetAllMessagesRequestBuilder GetAllMessages()
+ {
+ return new TeamGetAllMessagesRequestBuilder(
+ this.AppendSegmentToRequestUrl("microsoft.graph.getAllMessages"),
+ this.Client);
+ }
}
}
diff --git a/src/Microsoft.Graph/Generated/requests/Win32LobAppRequest.cs b/src/Microsoft.Graph/Generated/requests/Win32LobAppRequest.cs
new file mode 100644
index 00000000000..57094bb8951
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/requests/Win32LobAppRequest.cs
@@ -0,0 +1,236 @@
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+//
+
+// Template Source: Templates\CSharp\Requests\EntityRequest.cs.tt
+
+namespace Microsoft.Graph
+{
+ using System;
+ using System.Collections.Generic;
+ using System.IO;
+ using System.Net.Http;
+ using System.Threading;
+ using System.Linq.Expressions;
+
+ ///
+ /// The type Win32LobAppRequest.
+ ///
+ public partial class Win32LobAppRequest : BaseRequest, IWin32LobAppRequest
+ {
+ ///
+ /// Constructs a new Win32LobAppRequest.
+ ///
+ /// The URL for the built request.
+ /// The for handling requests.
+ /// Query and header option name value pairs for the request.
+ public Win32LobAppRequest(
+ string requestUrl,
+ IBaseClient client,
+ IEnumerable
options)
+ : base(requestUrl, client, options)
+ {
+ }
+
+ ///
+ /// Creates the specified Win32LobApp using POST.
+ ///
+ /// The Win32LobApp to create.
+ /// The created Win32LobApp.
+ public System.Threading.Tasks.Task CreateAsync(Win32LobApp win32LobAppToCreate)
+ {
+ return this.CreateAsync(win32LobAppToCreate, CancellationToken.None);
+ }
+
+ ///
+ /// Creates the specified Win32LobApp using POST.
+ ///
+ /// The Win32LobApp to create.
+ /// The for the request.
+ /// The created Win32LobApp.
+ public async System.Threading.Tasks.Task CreateAsync(Win32LobApp win32LobAppToCreate, CancellationToken cancellationToken)
+ {
+ this.ContentType = "application/json";
+ this.Method = "POST";
+ var newEntity = await this.SendAsync(win32LobAppToCreate, cancellationToken).ConfigureAwait(false);
+ this.InitializeCollectionProperties(newEntity);
+ return newEntity;
+ }
+
+ ///
+ /// Deletes the specified Win32LobApp.
+ ///
+ /// The task to await.
+ public System.Threading.Tasks.Task DeleteAsync()
+ {
+ return this.DeleteAsync(CancellationToken.None);
+ }
+
+ ///
+ /// Deletes the specified Win32LobApp.
+ ///
+ /// The for the request.
+ /// The task to await.
+ public async System.Threading.Tasks.Task DeleteAsync(CancellationToken cancellationToken)
+ {
+ this.Method = "DELETE";
+ await this.SendAsync(null, cancellationToken).ConfigureAwait(false);
+ }
+
+ ///
+ /// Gets the specified Win32LobApp.
+ ///
+ /// The Win32LobApp.
+ public System.Threading.Tasks.Task GetAsync()
+ {
+ return this.GetAsync(CancellationToken.None);
+ }
+
+ ///
+ /// Gets the specified Win32LobApp.
+ ///
+ /// The for the request.
+ /// The Win32LobApp.
+ public async System.Threading.Tasks.Task GetAsync(CancellationToken cancellationToken)
+ {
+ this.Method = "GET";
+ var retrievedEntity = await this.SendAsync(null, cancellationToken).ConfigureAwait(false);
+ this.InitializeCollectionProperties(retrievedEntity);
+ return retrievedEntity;
+ }
+
+ ///
+ /// Updates the specified Win32LobApp using PATCH.
+ ///
+ /// The Win32LobApp to update.
+ /// The updated Win32LobApp.
+ public System.Threading.Tasks.Task UpdateAsync(Win32LobApp win32LobAppToUpdate)
+ {
+ return this.UpdateAsync(win32LobAppToUpdate, CancellationToken.None);
+ }
+
+ ///
+ /// Updates the specified Win32LobApp using PATCH.
+ ///
+ /// The Win32LobApp to update.
+ /// The for the request.
+ /// Thrown when an object returned in a response is used for updating an object in Microsoft Graph.
+ /// The updated Win32LobApp.
+ public async System.Threading.Tasks.Task UpdateAsync(Win32LobApp win32LobAppToUpdate, CancellationToken cancellationToken)
+ {
+ if (win32LobAppToUpdate.AdditionalData != null)
+ {
+ if (win32LobAppToUpdate.AdditionalData.ContainsKey(Constants.HttpPropertyNames.ResponseHeaders) ||
+ win32LobAppToUpdate.AdditionalData.ContainsKey(Constants.HttpPropertyNames.StatusCode))
+ {
+ throw new ClientException(
+ new Error
+ {
+ Code = GeneratedErrorConstants.Codes.NotAllowed,
+ Message = String.Format(GeneratedErrorConstants.Messages.ResponseObjectUsedForUpdate, win32LobAppToUpdate.GetType().Name)
+ });
+ }
+ }
+ if (win32LobAppToUpdate.AdditionalData != null)
+ {
+ if (win32LobAppToUpdate.AdditionalData.ContainsKey(Constants.HttpPropertyNames.ResponseHeaders) ||
+ win32LobAppToUpdate.AdditionalData.ContainsKey(Constants.HttpPropertyNames.StatusCode))
+ {
+ throw new ClientException(
+ new Error
+ {
+ Code = GeneratedErrorConstants.Codes.NotAllowed,
+ Message = String.Format(GeneratedErrorConstants.Messages.ResponseObjectUsedForUpdate, win32LobAppToUpdate.GetType().Name)
+ });
+ }
+ }
+ this.ContentType = "application/json";
+ this.Method = "PATCH";
+ var updatedEntity = await this.SendAsync(win32LobAppToUpdate, cancellationToken).ConfigureAwait(false);
+ this.InitializeCollectionProperties(updatedEntity);
+ return updatedEntity;
+ }
+
+ ///
+ /// Adds the specified expand value to the request.
+ ///
+ /// The expand value.
+ /// The request object to send.
+ public IWin32LobAppRequest Expand(string value)
+ {
+ this.QueryOptions.Add(new QueryOption("$expand", value));
+ return this;
+ }
+
+ ///
+ /// Adds the specified expand value to the request.
+ ///
+ /// The expression from which to calculate the expand value.
+ /// The request object to send.
+ public IWin32LobAppRequest Expand(Expression> expandExpression)
+ {
+ if (expandExpression == null)
+ {
+ throw new ArgumentNullException(nameof(expandExpression));
+ }
+ string error;
+ string value = ExpressionExtractHelper.ExtractMembers(expandExpression, out error);
+ if (value == null)
+ {
+ throw new ArgumentException(error, nameof(expandExpression));
+ }
+ else
+ {
+ this.QueryOptions.Add(new QueryOption("$expand", value));
+ }
+ return this;
+ }
+
+ ///
+ /// Adds the specified select value to the request.
+ ///
+ /// The select value.
+ /// The request object to send.
+ public IWin32LobAppRequest Select(string value)
+ {
+ this.QueryOptions.Add(new QueryOption("$select", value));
+ return this;
+ }
+
+ ///
+ /// Adds the specified select value to the request.
+ ///
+ /// The expression from which to calculate the select value.
+ /// The request object to send.
+ public IWin32LobAppRequest Select(Expression> selectExpression)
+ {
+ if (selectExpression == null)
+ {
+ throw new ArgumentNullException(nameof(selectExpression));
+ }
+ string error;
+ string value = ExpressionExtractHelper.ExtractMembers(selectExpression, out error);
+ if (value == null)
+ {
+ throw new ArgumentException(error, nameof(selectExpression));
+ }
+ else
+ {
+ this.QueryOptions.Add(new QueryOption("$select", value));
+ }
+ return this;
+ }
+
+ ///
+ /// Initializes any collection properties after deserialization, like next requests for paging.
+ ///
+ /// The with the collection properties to initialize.
+ private void InitializeCollectionProperties(Win32LobApp win32LobAppToInitialize)
+ {
+
+ }
+ }
+}
diff --git a/src/Microsoft.Graph/Generated/requests/Win32LobAppRequestBuilder.cs b/src/Microsoft.Graph/Generated/requests/Win32LobAppRequestBuilder.cs
new file mode 100644
index 00000000000..c64eecb238d
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/requests/Win32LobAppRequestBuilder.cs
@@ -0,0 +1,54 @@
+// ------------------------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
+// ------------------------------------------------------------------------------
+
+// **NOTE** This file was generated by a tool and any changes will be overwritten.
+//
+
+// Template Source: Templates\CSharp\Requests\EntityRequestBuilder.cs.tt
+
+namespace Microsoft.Graph
+{
+ using System;
+ using System.Collections.Generic;
+ using System.IO;
+
+ ///
+ /// The type Win32LobAppRequestBuilder.
+ ///
+ public partial class Win32LobAppRequestBuilder : MobileLobAppRequestBuilder, IWin32LobAppRequestBuilder
+ {
+
+ ///
+ /// Constructs a new Win32LobAppRequestBuilder.
+ ///
+ /// The URL for the built request.
+ /// The for handling requests.
+ public Win32LobAppRequestBuilder(
+ string requestUrl,
+ IBaseClient client)
+ : base(requestUrl, client)
+ {
+ }
+
+ ///
+ /// Builds the request.
+ ///
+ /// The built request.
+ public new IWin32LobAppRequest Request()
+ {
+ return this.Request(null);
+ }
+
+ ///
+ /// Builds the request.
+ ///
+ /// The query and header options for the request.
+ /// The built request.
+ public new IWin32LobAppRequest Request(IEnumerable