diff --git a/Common/Attributes/ResourceIdPropertyNameAttribute.cs b/Common/Attributes/ResourceIdPropertyNameAttribute.cs deleted file mode 100644 index 7431d02..0000000 --- a/Common/Attributes/ResourceIdPropertyNameAttribute.cs +++ /dev/null @@ -1,29 +0,0 @@ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. - -namespace Microsoft.Intune.PowerShellGraphSDK -{ - using System; - - /// - /// Indicates that the given property is defined on the specified type. - /// - [AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)] - internal class ResourceIdPropertyNameAttribute : Attribute - { - internal string PropertyName { get; } - - internal ResourceIdPropertyNameAttribute(string propertyName) - { - if (propertyName == null) - { - throw new ArgumentNullException(nameof(propertyName)); - } - if (string.IsNullOrWhiteSpace(propertyName)) - { - throw new ArgumentException("ID property name cannot be empty or whitespace"); - } - - this.PropertyName = propertyName; - } - } -} diff --git a/PowerShellCmdlets/Generated/ObjectFactories/DeviceAppManagementObject.cs b/PowerShellCmdlets/Generated/ObjectFactories/DeviceAppManagementObject.cs index d679735..73f8264 100644 --- a/PowerShellCmdlets/Generated/ObjectFactories/DeviceAppManagementObject.cs +++ b/PowerShellCmdlets/Generated/ObjectFactories/DeviceAppManagementObject.cs @@ -200,7 +200,6 @@ public class New_DeviceAppManagementObject : ObjectFactoryCmdletBase /// /// The "managedAppStatuses" property, of type "microsoft.graph.managedAppStatus". /// This property is on the "microsoft.graph.deviceAppManagement" type. - /// The managed app statuses. /// [ODataType("microsoft.graph.managedAppStatus", "microsoft.graph.managedAppStatusRaw")] [Selectable] diff --git a/PowerShellCmdlets/Generated/ObjectFactories/EntityObject.cs b/PowerShellCmdlets/Generated/ObjectFactories/EntityObject.cs index ec47866..0b1e28f 100644 --- a/PowerShellCmdlets/Generated/ObjectFactories/EntityObject.cs +++ b/PowerShellCmdlets/Generated/ObjectFactories/EntityObject.cs @@ -2369,19 +2369,6 @@ public class New_EntityObject : ObjectFactoryCmdletBase [Parameter(ParameterSetName = @"microsoft.graph.deviceAndAppManagementRoleAssignment", HelpMessage = @"The "resourceScopes" property, of type "Edm.String".")] public System.String[] resourceScopes { get; set; } - /// - /// The "roleDefinition" property, of type "microsoft.graph.roleDefinition". - /// This property is on the "microsoft.graph.roleAssignment" type. - /// Role definition this assignment is part of. - /// - [Selectable] - [Expandable] - [ParameterSetSelector(@"microsoft.graph.roleDefinition")] - [Parameter(ParameterSetName = @"microsoft.graph.roleAssignment", HelpMessage = @"The "roleDefinition" property, of type "microsoft.graph.roleDefinition".")] - [Parameter(ParameterSetName = @"microsoft.graph.deviceAndAppManagementRoleAssignment", HelpMessage = @"The "roleDefinition" property, of type "microsoft.graph.roleDefinition".")] - [Parameter(ParameterSetName = @"microsoft.graph.roleDefinition", HelpMessage = @"The "roleDefinition" property, of type "microsoft.graph.roleDefinition".")] - public System.Object roleDefinition { get; set; } - /// /// A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.deviceAndAppManagementRoleAssignment" type. /// @@ -2404,6 +2391,15 @@ public class New_EntityObject : ObjectFactoryCmdletBase [Parameter(ParameterSetName = @"microsoft.graph.directoryRole", HelpMessage = @"The "members" property, of type "Edm.String".")] public System.Object members { get; set; } + /// + /// A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.roleDefinition" type. + /// + [Selectable] + [Expandable] + [ParameterSetSelector(@"microsoft.graph.roleDefinition")] + [Parameter(ParameterSetName = @"microsoft.graph.roleDefinition", Mandatory = true, HelpMessage = @"A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.roleDefinition" type.")] + public System.Management.Automation.SwitchParameter roleDefinition { get; set; } + /// /// The "rolePermissions" property, of type "microsoft.graph.rolePermission". /// This property is on the "microsoft.graph.roleDefinition" type. @@ -2427,20 +2423,6 @@ public class New_EntityObject : ObjectFactoryCmdletBase [Parameter(ParameterSetName = @"microsoft.graph.deviceAndAppManagementRoleDefinition", HelpMessage = @"The "isBuiltIn" property, of type "Edm.Boolean".")] public System.Boolean isBuiltIn { get; set; } - /// - /// The "roleAssignments" property, of type "microsoft.graph.roleAssignment". - /// This property is on the "microsoft.graph.roleDefinition" type. - /// List of Role assignments for this role definition. - /// - [ODataType("microsoft.graph.deviceAndAppManagementRoleAssignment")] - [Selectable] - [Expandable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.roleDefinition", HelpMessage = @"The "roleAssignments" property, of type "microsoft.graph.roleAssignment".")] - [Parameter(ParameterSetName = @"microsoft.graph.deviceAndAppManagementRoleDefinition", HelpMessage = @"The "roleAssignments" property, of type "microsoft.graph.roleAssignment".")] - [Parameter(ParameterSetName = @"microsoft.graph.deviceManagement", HelpMessage = @"The "roleAssignments" property, of type "microsoft.graph.roleAssignment".")] - public System.Object[] roleAssignments { get; set; } - /// /// A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.deviceAndAppManagementRoleDefinition" type. /// @@ -9996,6 +9978,18 @@ public class New_EntityObject : ObjectFactoryCmdletBase [Parameter(ParameterSetName = @"microsoft.graph.deviceManagement", HelpMessage = @"The "roleDefinitions" property, of type "microsoft.graph.roleDefinition".")] public System.Object[] roleDefinitions { get; set; } + /// + /// The "roleAssignments" property, of type "microsoft.graph.deviceAndAppManagementRoleAssignment". + /// This property is on the "microsoft.graph.deviceManagement" type. + /// The Role Assignments. + /// + [ODataType("microsoft.graph.deviceAndAppManagementRoleAssignment")] + [Selectable] + [Expandable] + [AllowEmptyCollection] + [Parameter(ParameterSetName = @"microsoft.graph.deviceManagement", HelpMessage = @"The "roleAssignments" property, of type "microsoft.graph.deviceAndAppManagementRoleAssignment".")] + public System.Object[] roleAssignments { get; set; } + /// /// The "resourceOperations" property, of type "microsoft.graph.resourceOperation". /// This property is on the "microsoft.graph.deviceManagement" type. @@ -12596,7 +12590,6 @@ public class New_EntityObject : ObjectFactoryCmdletBase /// /// The "managedAppStatuses" property, of type "microsoft.graph.managedAppStatus". /// This property is on the "microsoft.graph.deviceAppManagement" type. - /// The managed app statuses. /// [ODataType("microsoft.graph.managedAppStatus", "microsoft.graph.managedAppStatusRaw")] [Selectable] @@ -16251,49 +16244,6 @@ public class New_EntityObject : ObjectFactoryCmdletBase [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppRegistration", HelpMessage = @"The "appIdentifier" property, of type "microsoft.graph.mobileAppIdentifier".")] public System.Object appIdentifier { get; set; } - /// - /// The "appliedPolicies" property, of type "microsoft.graph.managedAppPolicy". - /// This property is on the "microsoft.graph.managedAppRegistration" type. - /// Zero or more policys already applied on the registered app when it last synchronized with managment service. - /// - [ODataType("microsoft.graph.managedAppPolicy", "microsoft.graph.windowsInformationProtection", "microsoft.graph.windowsInformationProtectionPolicy", "microsoft.graph.mdmWindowsInformationProtectionPolicy", "microsoft.graph.managedAppConfiguration", "microsoft.graph.targetedManagedAppConfiguration", "microsoft.graph.managedAppProtection", "microsoft.graph.defaultManagedAppProtection", "microsoft.graph.targetedManagedAppProtection", "microsoft.graph.androidManagedAppProtection", "microsoft.graph.iosManagedAppProtection")] - [Selectable] - [Expandable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppRegistration", HelpMessage = @"The "appliedPolicies" property, of type "microsoft.graph.managedAppPolicy".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppRegistration", HelpMessage = @"The "appliedPolicies" property, of type "microsoft.graph.managedAppPolicy".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppRegistration", HelpMessage = @"The "appliedPolicies" property, of type "microsoft.graph.managedAppPolicy".")] - public System.Object[] appliedPolicies { get; set; } - - /// - /// The "intendedPolicies" property, of type "microsoft.graph.managedAppPolicy". - /// This property is on the "microsoft.graph.managedAppRegistration" type. - /// Zero or more policies admin intended for the app as of now. - /// - [ODataType("microsoft.graph.managedAppPolicy", "microsoft.graph.windowsInformationProtection", "microsoft.graph.windowsInformationProtectionPolicy", "microsoft.graph.mdmWindowsInformationProtectionPolicy", "microsoft.graph.managedAppConfiguration", "microsoft.graph.targetedManagedAppConfiguration", "microsoft.graph.managedAppProtection", "microsoft.graph.defaultManagedAppProtection", "microsoft.graph.targetedManagedAppProtection", "microsoft.graph.androidManagedAppProtection", "microsoft.graph.iosManagedAppProtection")] - [Selectable] - [Expandable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppRegistration", HelpMessage = @"The "intendedPolicies" property, of type "microsoft.graph.managedAppPolicy".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppRegistration", HelpMessage = @"The "intendedPolicies" property, of type "microsoft.graph.managedAppPolicy".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppRegistration", HelpMessage = @"The "intendedPolicies" property, of type "microsoft.graph.managedAppPolicy".")] - public System.Object[] intendedPolicies { get; set; } - - /// - /// The "operations" property, of type "microsoft.graph.managedAppOperation". - /// This property is on the "microsoft.graph.managedAppRegistration" type. - /// Zero or more long running operations triggered on the app registration. - /// - [ODataType("microsoft.graph.onenoteOperation")] - [Selectable] - [Expandable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppRegistration", HelpMessage = @"The "operations" property, of type "microsoft.graph.managedAppOperation".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppRegistration", HelpMessage = @"The "operations" property, of type "microsoft.graph.managedAppOperation".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppRegistration", HelpMessage = @"The "operations" property, of type "microsoft.graph.managedAppOperation".")] - [Parameter(ParameterSetName = @"microsoft.graph.onenote", HelpMessage = @"The "operations" property, of type "microsoft.graph.managedAppOperation".")] - public System.Object[] operations { get; set; } - /// /// A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.androidManagedAppRegistration" type. /// @@ -17274,6 +17224,17 @@ public class New_EntityObject : ObjectFactoryCmdletBase [Parameter(ParameterSetName = @"microsoft.graph.onenote", HelpMessage = @"The "resources" property, of type "microsoft.graph.onenoteResource".")] public System.Object[] resources { get; set; } + /// + /// The "operations" property, of type "microsoft.graph.onenoteOperation". + /// This property is on the "microsoft.graph.onenote" type. + /// + [ODataType("microsoft.graph.onenoteOperation")] + [Selectable] + [Expandable] + [AllowEmptyCollection] + [Parameter(ParameterSetName = @"microsoft.graph.onenote", HelpMessage = @"The "operations" property, of type "microsoft.graph.onenoteOperation".")] + public System.Object[] operations { get; set; } + /// /// A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.plannerGroup" type. /// diff --git a/PowerShellCmdlets/Generated/ObjectFactories/ManagedAppRegistrationObject.cs b/PowerShellCmdlets/Generated/ObjectFactories/ManagedAppRegistrationObject.cs index 04a7d66..ad50192 100644 --- a/PowerShellCmdlets/Generated/ObjectFactories/ManagedAppRegistrationObject.cs +++ b/PowerShellCmdlets/Generated/ObjectFactories/ManagedAppRegistrationObject.cs @@ -163,48 +163,6 @@ public class New_ManagedAppRegistrationObject : ObjectFactoryCmdletBase [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppRegistration", HelpMessage = @"The "version" property, of type "Edm.String".")] public System.String version { get; set; } - /// - /// The "appliedPolicies" property, of type "microsoft.graph.managedAppPolicy". - /// This property is on the "microsoft.graph.managedAppRegistration" type. - /// Zero or more policys already applied on the registered app when it last synchronized with managment service. - /// - [ODataType("microsoft.graph.managedAppPolicy", "microsoft.graph.windowsInformationProtection", "microsoft.graph.windowsInformationProtectionPolicy", "microsoft.graph.mdmWindowsInformationProtectionPolicy", "microsoft.graph.managedAppConfiguration", "microsoft.graph.targetedManagedAppConfiguration", "microsoft.graph.managedAppProtection", "microsoft.graph.defaultManagedAppProtection", "microsoft.graph.targetedManagedAppProtection", "microsoft.graph.androidManagedAppProtection", "microsoft.graph.iosManagedAppProtection")] - [Selectable] - [Expandable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppRegistration", HelpMessage = @"The "appliedPolicies" property, of type "microsoft.graph.managedAppPolicy".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppRegistration", HelpMessage = @"The "appliedPolicies" property, of type "microsoft.graph.managedAppPolicy".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppRegistration", HelpMessage = @"The "appliedPolicies" property, of type "microsoft.graph.managedAppPolicy".")] - public System.Object[] appliedPolicies { get; set; } - - /// - /// The "intendedPolicies" property, of type "microsoft.graph.managedAppPolicy". - /// This property is on the "microsoft.graph.managedAppRegistration" type. - /// Zero or more policies admin intended for the app as of now. - /// - [ODataType("microsoft.graph.managedAppPolicy", "microsoft.graph.windowsInformationProtection", "microsoft.graph.windowsInformationProtectionPolicy", "microsoft.graph.mdmWindowsInformationProtectionPolicy", "microsoft.graph.managedAppConfiguration", "microsoft.graph.targetedManagedAppConfiguration", "microsoft.graph.managedAppProtection", "microsoft.graph.defaultManagedAppProtection", "microsoft.graph.targetedManagedAppProtection", "microsoft.graph.androidManagedAppProtection", "microsoft.graph.iosManagedAppProtection")] - [Selectable] - [Expandable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppRegistration", HelpMessage = @"The "intendedPolicies" property, of type "microsoft.graph.managedAppPolicy".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppRegistration", HelpMessage = @"The "intendedPolicies" property, of type "microsoft.graph.managedAppPolicy".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppRegistration", HelpMessage = @"The "intendedPolicies" property, of type "microsoft.graph.managedAppPolicy".")] - public System.Object[] intendedPolicies { get; set; } - - /// - /// The "operations" property, of type "microsoft.graph.managedAppOperation". - /// This property is on the "microsoft.graph.managedAppRegistration" type. - /// Zero or more long running operations triggered on the app registration. - /// - [ODataType("microsoft.graph.managedAppOperation")] - [Selectable] - [Expandable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppRegistration", HelpMessage = @"The "operations" property, of type "microsoft.graph.managedAppOperation".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppRegistration", HelpMessage = @"The "operations" property, of type "microsoft.graph.managedAppOperation".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppRegistration", HelpMessage = @"The "operations" property, of type "microsoft.graph.managedAppOperation".")] - public System.Object[] operations { get; set; } - /// /// A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.androidManagedAppRegistration" type. /// diff --git a/PowerShellCmdlets/Generated/ObjectFactories/RoleAssignmentObject.cs b/PowerShellCmdlets/Generated/ObjectFactories/RoleAssignmentObject.cs index 5cf9230..5b86028 100644 --- a/PowerShellCmdlets/Generated/ObjectFactories/RoleAssignmentObject.cs +++ b/PowerShellCmdlets/Generated/ObjectFactories/RoleAssignmentObject.cs @@ -56,18 +56,6 @@ public class New_RoleAssignmentObject : ObjectFactoryCmdletBase [Parameter(ParameterSetName = @"microsoft.graph.deviceAndAppManagementRoleAssignment", HelpMessage = @"The "resourceScopes" property, of type "Edm.String".")] public System.String[] resourceScopes { get; set; } - /// - /// The "roleDefinition" property, of type "microsoft.graph.roleDefinition". - /// This property is on the "microsoft.graph.roleAssignment" type. - /// Role definition this assignment is part of. - /// - [ODataType("microsoft.graph.roleDefinition", "microsoft.graph.deviceAndAppManagementRoleDefinition")] - [Selectable] - [Expandable] - [Parameter(ParameterSetName = @"microsoft.graph.roleAssignment", HelpMessage = @"The "roleDefinition" property, of type "microsoft.graph.roleDefinition".")] - [Parameter(ParameterSetName = @"microsoft.graph.deviceAndAppManagementRoleAssignment", HelpMessage = @"The "roleDefinition" property, of type "microsoft.graph.roleDefinition".")] - public System.Object roleDefinition { get; set; } - /// /// A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.deviceAndAppManagementRoleAssignment" type. /// diff --git a/PowerShellCmdlets/Generated/ObjectFactories/RoleDefinitionObject.cs b/PowerShellCmdlets/Generated/ObjectFactories/RoleDefinitionObject.cs index 783c13f..ae73d11 100644 --- a/PowerShellCmdlets/Generated/ObjectFactories/RoleDefinitionObject.cs +++ b/PowerShellCmdlets/Generated/ObjectFactories/RoleDefinitionObject.cs @@ -67,19 +67,6 @@ public class New_RoleDefinitionObject : ObjectFactoryCmdletBase [Parameter(ParameterSetName = @"microsoft.graph.deviceAndAppManagementRoleDefinition", HelpMessage = @"The "isBuiltIn" property, of type "Edm.Boolean".")] public System.Boolean isBuiltIn { get; set; } - /// - /// The "roleAssignments" property, of type "microsoft.graph.roleAssignment". - /// This property is on the "microsoft.graph.roleDefinition" type. - /// List of Role assignments for this role definition. - /// - [ODataType("microsoft.graph.roleAssignment", "microsoft.graph.deviceAndAppManagementRoleAssignment")] - [Selectable] - [Expandable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.roleDefinition", HelpMessage = @"The "roleAssignments" property, of type "microsoft.graph.roleAssignment".")] - [Parameter(ParameterSetName = @"microsoft.graph.deviceAndAppManagementRoleDefinition", HelpMessage = @"The "roleAssignments" property, of type "microsoft.graph.roleAssignment".")] - public System.Object[] roleAssignments { get; set; } - /// /// A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.deviceAndAppManagementRoleDefinition" type. /// diff --git a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement.cs b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement.cs index bd4bdcb..08a252f 100644 --- a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement.cs +++ b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement.cs @@ -10,10 +10,10 @@ namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets /// Retrieves the "deviceAppManagement" object (which is of type "microsoft.graph.deviceAppManagement"). /// /// GitHub Repository - [Cmdlet("Get", "DeviceAppManagement", DefaultParameterSetName = @"Get")] + [Cmdlet("Get", "IntuneDeviceAppManagement", DefaultParameterSetName = @"Get")] [ODataType("microsoft.graph.deviceAppManagement")] [ResourceTypePropertyName("deviceAppManagementODataType")] - public class Get_DeviceAppManagement : GetCmdlet + public class Get_IntuneDeviceAppManagement : GetCmdlet { /// /// The "microsoftStoreForBusinessLastSuccessfulSyncDateTime" property, of type "Edm.DateTimeOffset". @@ -178,7 +178,6 @@ public class Get_DeviceAppManagement : GetCmdlet /// /// The "managedAppStatuses" property, of type "microsoft.graph.managedAppStatus". /// This property is on the "microsoft.graph.deviceAppManagement" type. - /// The managed app statuses. /// [ODataType("microsoft.graph.managedAppStatus", "microsoft.graph.managedAppStatusRaw")] [Selectable] @@ -207,10 +206,10 @@ internal override System.String GetResourcePath() /// Creates the "deviceAppManagement" object (which is of type "microsoft.graph.deviceAppManagement"). /// /// GitHub Repository - [Cmdlet("New", "DeviceAppManagement", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.deviceAppManagement")] + [Cmdlet("New", "IntuneDeviceAppManagement", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.deviceAppManagement")] [ODataType("microsoft.graph.deviceAppManagement")] [ResourceTypePropertyName("deviceAppManagementODataType")] - public class New_DeviceAppManagement : PostCmdlet + public class New_IntuneDeviceAppManagement : PostCmdlet { /// /// The "microsoftStoreForBusinessLastSuccessfulSyncDateTime" property, of type "Edm.DateTimeOffset". @@ -415,7 +414,6 @@ public class New_DeviceAppManagement : PostCmdlet /// /// The "managedAppStatuses" property, of type "microsoft.graph.managedAppStatus". /// This property is on the "microsoft.graph.deviceAppManagement" type. - /// The managed app statuses. /// [ODataType("microsoft.graph.managedAppStatus", "microsoft.graph.managedAppStatusRaw")] [Selectable] @@ -450,10 +448,10 @@ internal override System.String GetResourcePath() /// Updates the "deviceAppManagement" object (which is of type "microsoft.graph.deviceAppManagement"). /// /// GitHub Repository - [Cmdlet("Update", "DeviceAppManagement", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.deviceAppManagement")] + [Cmdlet("Update", "IntuneDeviceAppManagement", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.deviceAppManagement")] [ODataType("microsoft.graph.deviceAppManagement")] [ResourceTypePropertyName("deviceAppManagementODataType")] - public class Update_DeviceAppManagement : PatchCmdlet + public class Update_IntuneDeviceAppManagement : PatchCmdlet { /// /// The "microsoftStoreForBusinessLastSuccessfulSyncDateTime" property, of type "Edm.DateTimeOffset". @@ -658,7 +656,6 @@ public class Update_DeviceAppManagement : PatchCmdlet /// /// The "managedAppStatuses" property, of type "microsoft.graph.managedAppStatus". /// This property is on the "microsoft.graph.deviceAppManagement" type. - /// The managed app statuses. /// [ODataType("microsoft.graph.managedAppStatus", "microsoft.graph.managedAppStatusRaw")] [Selectable] @@ -693,10 +690,10 @@ internal override System.String GetResourcePath() /// Removes the "deviceAppManagement" object (which is of type "microsoft.graph.deviceAppManagement"). /// /// GitHub Repository - [Cmdlet("Remove", "DeviceAppManagement", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Remove", "IntuneDeviceAppManagement", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.deviceAppManagement")] [ResourceTypePropertyName("deviceAppManagementODataType")] - public class Remove_DeviceAppManagement : DeleteCmdlet + public class Remove_IntuneDeviceAppManagement : DeleteCmdlet { internal override System.String GetResourcePath() { @@ -710,10 +707,10 @@ internal override System.String GetResourcePath() /// This action does not return any objects. /// /// GitHub Repository - [Cmdlet("Invoke", "DeviceAppManagement_SyncMicrosoftStoreForBusinessApps", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Invoke", "IntuneSyncMicrosoftStoreForBusinessApp", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.deviceAppManagement")] [ResourceTypePropertyName("deviceAppManagementODataType")] - public class Invoke_DeviceAppManagement_SyncMicrosoftStoreForBusinessApps : ActionCmdlet + public class Invoke_IntuneSyncMicrosoftStoreForBusinessApp : ActionCmdlet { internal override System.String GetResourcePath() { diff --git a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/AndroidManagedAppProtections.cs b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/AndroidManagedAppProtections.cs index d1cc413..4a613b1 100644 --- a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/AndroidManagedAppProtections.cs +++ b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/AndroidManagedAppProtections.cs @@ -11,11 +11,11 @@ namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets /// Android managed app policies. /// /// GitHub Repository - [Cmdlet("Get", "DeviceAppManagement_AndroidManagedAppProtections", DefaultParameterSetName = @"Search")] + [Cmdlet("Get", "IntuneAppProtectionPolicyAndroid", DefaultParameterSetName = @"Search")] [ODataType("microsoft.graph.androidManagedAppProtection")] [ResourceTypePropertyName("androidManagedAppProtectionODataType")] [ResourceReference] - public class Get_DeviceAppManagement_AndroidManagedAppProtections : GetOrSearchCmdlet + public class Get_IntuneAppProtectionPolicyAndroid : GetOrSearchCmdlet { /// /// The ID for a "microsoft.graph.androidManagedAppProtection" object in the "androidManagedAppProtections" collection. @@ -451,11 +451,11 @@ internal override System.String GetResourcePath() /// Android managed app policies. /// /// GitHub Repository - [Cmdlet("New", "DeviceAppManagement_AndroidManagedAppProtections", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.androidManagedAppProtection")] + [Cmdlet("New", "IntuneAppProtectionPolicyAndroid", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.androidManagedAppProtection")] [ODataType("microsoft.graph.androidManagedAppProtection")] [ResourceTypePropertyName("androidManagedAppProtectionODataType")] [ResourceReference] - public class New_DeviceAppManagement_AndroidManagedAppProtections : PostCmdlet + public class New_IntuneAppProtectionPolicyAndroid : PostCmdlet { /// /// The ID for a "microsoft.graph.androidManagedAppProtection" object in the "androidManagedAppProtections" collection. @@ -956,10 +956,10 @@ internal override System.String GetResourcePath() /// Android managed app policies. /// /// GitHub Repository - [Cmdlet("Update", "DeviceAppManagement_AndroidManagedAppProtections", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.androidManagedAppProtection")] + [Cmdlet("Update", "IntuneAppProtectionPolicyAndroid", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.androidManagedAppProtection")] [ODataType("microsoft.graph.androidManagedAppProtection")] [ResourceTypePropertyName("androidManagedAppProtectionODataType")] - public class Update_DeviceAppManagement_AndroidManagedAppProtections : PatchCmdlet + public class Update_IntuneAppProtectionPolicyAndroid : PatchCmdlet { /// /// The ID for a "microsoft.graph.androidManagedAppProtection" object in the "androidManagedAppProtections" collection. @@ -1462,10 +1462,10 @@ internal override System.String GetResourcePath() /// Android managed app policies. /// /// GitHub Repository - [Cmdlet("Remove", "DeviceAppManagement_AndroidManagedAppProtections", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Remove", "IntuneAppProtectionPolicyAndroid", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.androidManagedAppProtection")] [ResourceTypePropertyName("androidManagedAppProtectionODataType")] - public class Remove_DeviceAppManagement_AndroidManagedAppProtections : DeleteCmdlet + public class Remove_IntuneAppProtectionPolicyAndroid : DeleteCmdlet { /// /// The ID for a "microsoft.graph.androidManagedAppProtection" object in the "androidManagedAppProtections" collection. @@ -1490,10 +1490,10 @@ internal override System.String GetResourcePath() /// This action does not return any objects. /// /// GitHub Repository - [Cmdlet("Invoke", "DeviceAppManagement_AndroidManagedAppProtections_Assign", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Invoke", "IntuneAppProtectionPolicyAndroidAssign", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.androidManagedAppProtection")] [ResourceTypePropertyName("androidManagedAppProtectionODataType")] - public class Invoke_DeviceAppManagement_AndroidManagedAppProtections_Assign : ActionCmdlet + public class Invoke_IntuneAppProtectionPolicyAndroidAssign : ActionCmdlet { /// /// The "assignments" action parameter of type "microsoft.graph.targetedManagedAppPolicyAssignment". @@ -1528,10 +1528,10 @@ internal override System.String GetResourcePath() /// This action does not return any objects. /// /// GitHub Repository - [Cmdlet("Invoke", "DeviceAppManagement_AndroidManagedAppProtections_TargetApps", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Invoke", "IntuneAppProtectionPolicyAndroidTargetApp", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.androidManagedAppProtection")] [ResourceTypePropertyName("androidManagedAppProtectionODataType")] - public class Invoke_DeviceAppManagement_AndroidManagedAppProtections_TargetApps : ActionCmdlet + public class Invoke_IntuneAppProtectionPolicyAndroidTargetApp : ActionCmdlet { /// /// The "apps" action parameter of type "microsoft.graph.managedMobileApp". diff --git a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/AndroidManagedAppProtections/Apps.cs b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/AndroidManagedAppProtections/Apps.cs index eb9eec0..6bac891 100644 --- a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/AndroidManagedAppProtections/Apps.cs +++ b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/AndroidManagedAppProtections/Apps.cs @@ -11,11 +11,11 @@ namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets /// List of apps to which the policy is deployed. /// /// GitHub Repository - [Cmdlet("Get", "DeviceAppManagement_AndroidManagedAppProtections_Apps", DefaultParameterSetName = @"Search")] + [Cmdlet("Get", "IntuneAppProtectionPolicyAndroidApp", DefaultParameterSetName = @"Search")] [ODataType("microsoft.graph.managedMobileApp")] [ResourceTypePropertyName("appODataType")] [ResourceReference] - public class Get_DeviceAppManagement_AndroidManagedAppProtections_Apps : GetOrSearchCmdlet + public class Get_IntuneAppProtectionPolicyAndroidApp : GetOrSearchCmdlet { /// /// A required ID for referencing a "microsoft.graph.androidManagedAppProtection" object in the "androidManagedAppProtections" collection. @@ -71,11 +71,11 @@ internal override System.String GetResourcePath() /// List of apps to which the policy is deployed. /// /// GitHub Repository - [Cmdlet("New", "DeviceAppManagement_AndroidManagedAppProtections_Apps", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.managedMobileApp")] + [Cmdlet("New", "IntuneAppProtectionPolicyAndroidApp", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.managedMobileApp")] [ODataType("microsoft.graph.managedMobileApp")] [ResourceTypePropertyName("appODataType")] [ResourceReference] - public class New_DeviceAppManagement_AndroidManagedAppProtections_Apps : PostCmdlet + public class New_IntuneAppProtectionPolicyAndroidApp : PostCmdlet { /// /// The ID for a "microsoft.graph.managedMobileApp" object in the "apps" collection. @@ -131,10 +131,10 @@ internal override System.String GetResourcePath() /// List of apps to which the policy is deployed. /// /// GitHub Repository - [Cmdlet("Update", "DeviceAppManagement_AndroidManagedAppProtections_Apps", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.managedMobileApp")] + [Cmdlet("Update", "IntuneAppProtectionPolicyAndroidApp", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.managedMobileApp")] [ODataType("microsoft.graph.managedMobileApp")] [ResourceTypePropertyName("appODataType")] - public class Update_DeviceAppManagement_AndroidManagedAppProtections_Apps : PatchCmdlet + public class Update_IntuneAppProtectionPolicyAndroidApp : PatchCmdlet { /// /// The ID for a "microsoft.graph.managedMobileApp" object in the "apps" collection. @@ -192,10 +192,10 @@ internal override System.String GetResourcePath() /// List of apps to which the policy is deployed. /// /// GitHub Repository - [Cmdlet("Remove", "DeviceAppManagement_AndroidManagedAppProtections_Apps", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Remove", "IntuneAppProtectionPolicyAndroidApp", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.managedMobileApp")] [ResourceTypePropertyName("appODataType")] - public class Remove_DeviceAppManagement_AndroidManagedAppProtections_Apps : DeleteCmdlet + public class Remove_IntuneAppProtectionPolicyAndroidApp : DeleteCmdlet { /// /// The ID for a "microsoft.graph.managedMobileApp" object in the "apps" collection. diff --git a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/AndroidManagedAppProtections/Assignments.cs b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/AndroidManagedAppProtections/Assignments.cs index b69af15..fbe4e99 100644 --- a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/AndroidManagedAppProtections/Assignments.cs +++ b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/AndroidManagedAppProtections/Assignments.cs @@ -11,11 +11,11 @@ namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets /// Navigation property to list of inclusion and exclusion groups to which the policy is deployed. /// /// GitHub Repository - [Cmdlet("Get", "DeviceAppManagement_AndroidManagedAppProtections_Assignments", DefaultParameterSetName = @"Search")] + [Cmdlet("Get", "IntuneAppProtectionPolicyAndroidAssignment", DefaultParameterSetName = @"Search")] [ODataType("microsoft.graph.targetedManagedAppPolicyAssignment")] [ResourceTypePropertyName("assignmentODataType")] [ResourceReference] - public class Get_DeviceAppManagement_AndroidManagedAppProtections_Assignments : GetOrSearchCmdlet + public class Get_IntuneAppProtectionPolicyAndroidAssignment : GetOrSearchCmdlet { /// /// A required ID for referencing a "microsoft.graph.androidManagedAppProtection" object in the "androidManagedAppProtections" collection. @@ -75,11 +75,11 @@ internal override System.String GetResourcePath() /// Navigation property to list of inclusion and exclusion groups to which the policy is deployed. /// /// GitHub Repository - [Cmdlet("New", "DeviceAppManagement_AndroidManagedAppProtections_Assignments", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.targetedManagedAppPolicyAssignment")] + [Cmdlet("New", "IntuneAppProtectionPolicyAndroidAssignment", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.targetedManagedAppPolicyAssignment")] [ODataType("microsoft.graph.targetedManagedAppPolicyAssignment")] [ResourceTypePropertyName("assignmentODataType")] [ResourceReference] - public class New_DeviceAppManagement_AndroidManagedAppProtections_Assignments : PostCmdlet + public class New_IntuneAppProtectionPolicyAndroidAssignment : PostCmdlet { /// /// The ID for a "microsoft.graph.targetedManagedAppPolicyAssignment" object in the "assignments" collection. @@ -138,10 +138,10 @@ internal override System.String GetResourcePath() /// Navigation property to list of inclusion and exclusion groups to which the policy is deployed. /// /// GitHub Repository - [Cmdlet("Update", "DeviceAppManagement_AndroidManagedAppProtections_Assignments", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.targetedManagedAppPolicyAssignment")] + [Cmdlet("Update", "IntuneAppProtectionPolicyAndroidAssignment", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.targetedManagedAppPolicyAssignment")] [ODataType("microsoft.graph.targetedManagedAppPolicyAssignment")] [ResourceTypePropertyName("assignmentODataType")] - public class Update_DeviceAppManagement_AndroidManagedAppProtections_Assignments : PatchCmdlet + public class Update_IntuneAppProtectionPolicyAndroidAssignment : PatchCmdlet { /// /// The ID for a "microsoft.graph.targetedManagedAppPolicyAssignment" object in the "assignments" collection. @@ -202,10 +202,10 @@ internal override System.String GetResourcePath() /// Navigation property to list of inclusion and exclusion groups to which the policy is deployed. /// /// GitHub Repository - [Cmdlet("Remove", "DeviceAppManagement_AndroidManagedAppProtections_Assignments", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Remove", "IntuneAppProtectionPolicyAndroidAssignment", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.targetedManagedAppPolicyAssignment")] [ResourceTypePropertyName("assignmentODataType")] - public class Remove_DeviceAppManagement_AndroidManagedAppProtections_Assignments : DeleteCmdlet + public class Remove_IntuneAppProtectionPolicyAndroidAssignment : DeleteCmdlet { /// /// The ID for a "microsoft.graph.targetedManagedAppPolicyAssignment" object in the "assignments" collection. diff --git a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/AndroidManagedAppProtections/DeploymentSummary.cs b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/AndroidManagedAppProtections/DeploymentSummary.cs index 18ab735..a641d36 100644 --- a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/AndroidManagedAppProtections/DeploymentSummary.cs +++ b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/AndroidManagedAppProtections/DeploymentSummary.cs @@ -11,11 +11,11 @@ namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets /// Navigation property to deployment summary of the configuration. /// /// GitHub Repository - [Cmdlet("Get", "DeviceAppManagement_AndroidManagedAppProtections_DeploymentSummary", DefaultParameterSetName = @"Get")] + [Cmdlet("Get", "IntuneAppProtectionPolicyAndroidDeploymentSummary", DefaultParameterSetName = @"Get")] [ODataType("microsoft.graph.managedAppPolicyDeploymentSummary")] [ResourceTypePropertyName("deploymentSummaryODataType")] [ResourceReference] - public class Get_DeviceAppManagement_AndroidManagedAppProtections_DeploymentSummary : GetCmdlet + public class Get_IntuneAppProtectionPolicyAndroidDeploymentSummary : GetCmdlet { /// /// A required ID for referencing a "microsoft.graph.androidManagedAppProtection" object in the "androidManagedAppProtections" collection. @@ -85,11 +85,11 @@ internal override System.String GetResourcePath() /// Navigation property to deployment summary of the configuration. /// /// GitHub Repository - [Cmdlet("New", "DeviceAppManagement_AndroidManagedAppProtections_DeploymentSummary", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.managedAppPolicyDeploymentSummary")] + [Cmdlet("New", "IntuneAppProtectionPolicyAndroidDeploymentSummary", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.managedAppPolicyDeploymentSummary")] [ODataType("microsoft.graph.managedAppPolicyDeploymentSummary")] [ResourceTypePropertyName("deploymentSummaryODataType")] [ResourceReference] - public class New_DeviceAppManagement_AndroidManagedAppProtections_DeploymentSummary : PostCmdlet + public class New_IntuneAppProtectionPolicyAndroidDeploymentSummary : PostCmdlet { /// /// A required ID for referencing a "microsoft.graph.androidManagedAppProtection" object in the "androidManagedAppProtections" collection. @@ -166,10 +166,10 @@ internal override System.String GetResourcePath() /// Navigation property to deployment summary of the configuration. /// /// GitHub Repository - [Cmdlet("Update", "DeviceAppManagement_AndroidManagedAppProtections_DeploymentSummary", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.managedAppPolicyDeploymentSummary")] + [Cmdlet("Update", "IntuneAppProtectionPolicyAndroidDeploymentSummary", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.managedAppPolicyDeploymentSummary")] [ODataType("microsoft.graph.managedAppPolicyDeploymentSummary")] [ResourceTypePropertyName("deploymentSummaryODataType")] - public class Update_DeviceAppManagement_AndroidManagedAppProtections_DeploymentSummary : PatchCmdlet + public class Update_IntuneAppProtectionPolicyAndroidDeploymentSummary : PatchCmdlet { /// /// A required ID for referencing a "microsoft.graph.androidManagedAppProtection" object in the "androidManagedAppProtections" collection. @@ -246,10 +246,10 @@ internal override System.String GetResourcePath() /// Navigation property to deployment summary of the configuration. /// /// GitHub Repository - [Cmdlet("Remove", "DeviceAppManagement_AndroidManagedAppProtections_DeploymentSummary", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Remove", "IntuneAppProtectionPolicyAndroidDeploymentSummary", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.managedAppPolicyDeploymentSummary")] [ResourceTypePropertyName("deploymentSummaryODataType")] - public class Remove_DeviceAppManagement_AndroidManagedAppProtections_DeploymentSummary : DeleteCmdlet + public class Remove_IntuneAppProtectionPolicyAndroidDeploymentSummary : DeleteCmdlet { /// /// A required ID for referencing a "microsoft.graph.androidManagedAppProtection" object in the "androidManagedAppProtections" collection. diff --git a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/DefaultManagedAppProtections.cs b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/DefaultManagedAppProtections.cs index ada3d3c..3baff2e 100644 --- a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/DefaultManagedAppProtections.cs +++ b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/DefaultManagedAppProtections.cs @@ -11,11 +11,11 @@ namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets /// Default managed app policies. /// /// GitHub Repository - [Cmdlet("Get", "DeviceAppManagement_DefaultManagedAppProtections", DefaultParameterSetName = @"Search")] + [Cmdlet("Get", "IntuneAppProtectionPolicyDefault", DefaultParameterSetName = @"Search")] [ODataType("microsoft.graph.defaultManagedAppProtection")] [ResourceTypePropertyName("defaultManagedAppProtectionODataType")] [ResourceReference] - public class Get_DeviceAppManagement_DefaultManagedAppProtections : GetOrSearchCmdlet + public class Get_IntuneAppProtectionPolicyDefault : GetOrSearchCmdlet { /// /// The ID for a "microsoft.graph.defaultManagedAppProtection" object in the "defaultManagedAppProtections" collection. @@ -470,11 +470,11 @@ internal override System.String GetResourcePath() /// Default managed app policies. /// /// GitHub Repository - [Cmdlet("New", "DeviceAppManagement_DefaultManagedAppProtections", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.defaultManagedAppProtection")] + [Cmdlet("New", "IntuneAppProtectionPolicyDefault", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.defaultManagedAppProtection")] [ODataType("microsoft.graph.defaultManagedAppProtection")] [ResourceTypePropertyName("defaultManagedAppProtectionODataType")] [ResourceReference] - public class New_DeviceAppManagement_DefaultManagedAppProtections : PostCmdlet + public class New_IntuneAppProtectionPolicyDefault : PostCmdlet { /// /// The ID for a "microsoft.graph.defaultManagedAppProtection" object in the "defaultManagedAppProtections" collection. @@ -1000,10 +1000,10 @@ internal override System.String GetResourcePath() /// Default managed app policies. /// /// GitHub Repository - [Cmdlet("Update", "DeviceAppManagement_DefaultManagedAppProtections", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.defaultManagedAppProtection")] + [Cmdlet("Update", "IntuneAppProtectionPolicyDefault", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.defaultManagedAppProtection")] [ODataType("microsoft.graph.defaultManagedAppProtection")] [ResourceTypePropertyName("defaultManagedAppProtectionODataType")] - public class Update_DeviceAppManagement_DefaultManagedAppProtections : PatchCmdlet + public class Update_IntuneAppProtectionPolicyDefault : PatchCmdlet { /// /// The ID for a "microsoft.graph.defaultManagedAppProtection" object in the "defaultManagedAppProtections" collection. @@ -1531,10 +1531,10 @@ internal override System.String GetResourcePath() /// Default managed app policies. /// /// GitHub Repository - [Cmdlet("Remove", "DeviceAppManagement_DefaultManagedAppProtections", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Remove", "IntuneAppProtectionPolicyDefault", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.defaultManagedAppProtection")] [ResourceTypePropertyName("defaultManagedAppProtectionODataType")] - public class Remove_DeviceAppManagement_DefaultManagedAppProtections : DeleteCmdlet + public class Remove_IntuneAppProtectionPolicyDefault : DeleteCmdlet { /// /// The ID for a "microsoft.graph.defaultManagedAppProtection" object in the "defaultManagedAppProtections" collection. @@ -1559,10 +1559,10 @@ internal override System.String GetResourcePath() /// This action does not return any objects. /// /// GitHub Repository - [Cmdlet("Invoke", "DeviceAppManagement_DefaultManagedAppProtections_TargetApps", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Invoke", "IntuneAppProtectionPolicyDefaultTargetApp", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.defaultManagedAppProtection")] [ResourceTypePropertyName("defaultManagedAppProtectionODataType")] - public class Invoke_DeviceAppManagement_DefaultManagedAppProtections_TargetApps : ActionCmdlet + public class Invoke_IntuneAppProtectionPolicyDefaultTargetApp : ActionCmdlet { /// /// The "apps" action parameter of type "microsoft.graph.managedMobileApp". diff --git a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/DefaultManagedAppProtections/Apps.cs b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/DefaultManagedAppProtections/Apps.cs index 91cff36..8cc56b5 100644 --- a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/DefaultManagedAppProtections/Apps.cs +++ b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/DefaultManagedAppProtections/Apps.cs @@ -11,11 +11,11 @@ namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets /// List of apps to which the policy is deployed. /// /// GitHub Repository - [Cmdlet("Get", "DeviceAppManagement_DefaultManagedAppProtections_Apps", DefaultParameterSetName = @"Search")] + [Cmdlet("Get", "IntuneAppProtectionPolicyDefaultApp", DefaultParameterSetName = @"Search")] [ODataType("microsoft.graph.managedMobileApp")] [ResourceTypePropertyName("appODataType")] [ResourceReference] - public class Get_DeviceAppManagement_DefaultManagedAppProtections_Apps : GetOrSearchCmdlet + public class Get_IntuneAppProtectionPolicyDefaultApp : GetOrSearchCmdlet { /// /// A required ID for referencing a "microsoft.graph.defaultManagedAppProtection" object in the "defaultManagedAppProtections" collection. @@ -71,11 +71,11 @@ internal override System.String GetResourcePath() /// List of apps to which the policy is deployed. /// /// GitHub Repository - [Cmdlet("New", "DeviceAppManagement_DefaultManagedAppProtections_Apps", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.managedMobileApp")] + [Cmdlet("New", "IntuneAppProtectionPolicyDefaultApp", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.managedMobileApp")] [ODataType("microsoft.graph.managedMobileApp")] [ResourceTypePropertyName("appODataType")] [ResourceReference] - public class New_DeviceAppManagement_DefaultManagedAppProtections_Apps : PostCmdlet + public class New_IntuneAppProtectionPolicyDefaultApp : PostCmdlet { /// /// The ID for a "microsoft.graph.managedMobileApp" object in the "apps" collection. @@ -131,10 +131,10 @@ internal override System.String GetResourcePath() /// List of apps to which the policy is deployed. /// /// GitHub Repository - [Cmdlet("Update", "DeviceAppManagement_DefaultManagedAppProtections_Apps", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.managedMobileApp")] + [Cmdlet("Update", "IntuneAppProtectionPolicyDefaultApp", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.managedMobileApp")] [ODataType("microsoft.graph.managedMobileApp")] [ResourceTypePropertyName("appODataType")] - public class Update_DeviceAppManagement_DefaultManagedAppProtections_Apps : PatchCmdlet + public class Update_IntuneAppProtectionPolicyDefaultApp : PatchCmdlet { /// /// The ID for a "microsoft.graph.managedMobileApp" object in the "apps" collection. @@ -192,10 +192,10 @@ internal override System.String GetResourcePath() /// List of apps to which the policy is deployed. /// /// GitHub Repository - [Cmdlet("Remove", "DeviceAppManagement_DefaultManagedAppProtections_Apps", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Remove", "IntuneAppProtectionPolicyDefaultApp", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.managedMobileApp")] [ResourceTypePropertyName("appODataType")] - public class Remove_DeviceAppManagement_DefaultManagedAppProtections_Apps : DeleteCmdlet + public class Remove_IntuneAppProtectionPolicyDefaultApp : DeleteCmdlet { /// /// The ID for a "microsoft.graph.managedMobileApp" object in the "apps" collection. diff --git a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/DefaultManagedAppProtections/DeploymentSummary.cs b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/DefaultManagedAppProtections/DeploymentSummary.cs index 8586c29..90655f9 100644 --- a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/DefaultManagedAppProtections/DeploymentSummary.cs +++ b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/DefaultManagedAppProtections/DeploymentSummary.cs @@ -11,11 +11,11 @@ namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets /// Navigation property to deployment summary of the configuration. /// /// GitHub Repository - [Cmdlet("Get", "DeviceAppManagement_DefaultManagedAppProtections_DeploymentSummary", DefaultParameterSetName = @"Get")] + [Cmdlet("Get", "IntuneAppProtectionPolicyDefaultDeploymentSummary", DefaultParameterSetName = @"Get")] [ODataType("microsoft.graph.managedAppPolicyDeploymentSummary")] [ResourceTypePropertyName("deploymentSummaryODataType")] [ResourceReference] - public class Get_DeviceAppManagement_DefaultManagedAppProtections_DeploymentSummary : GetCmdlet + public class Get_IntuneAppProtectionPolicyDefaultDeploymentSummary : GetCmdlet { /// /// A required ID for referencing a "microsoft.graph.defaultManagedAppProtection" object in the "defaultManagedAppProtections" collection. @@ -85,11 +85,11 @@ internal override System.String GetResourcePath() /// Navigation property to deployment summary of the configuration. /// /// GitHub Repository - [Cmdlet("New", "DeviceAppManagement_DefaultManagedAppProtections_DeploymentSummary", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.managedAppPolicyDeploymentSummary")] + [Cmdlet("New", "IntuneAppProtectionPolicyDefaultDeploymentSummary", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.managedAppPolicyDeploymentSummary")] [ODataType("microsoft.graph.managedAppPolicyDeploymentSummary")] [ResourceTypePropertyName("deploymentSummaryODataType")] [ResourceReference] - public class New_DeviceAppManagement_DefaultManagedAppProtections_DeploymentSummary : PostCmdlet + public class New_IntuneAppProtectionPolicyDefaultDeploymentSummary : PostCmdlet { /// /// A required ID for referencing a "microsoft.graph.defaultManagedAppProtection" object in the "defaultManagedAppProtections" collection. @@ -166,10 +166,10 @@ internal override System.String GetResourcePath() /// Navigation property to deployment summary of the configuration. /// /// GitHub Repository - [Cmdlet("Update", "DeviceAppManagement_DefaultManagedAppProtections_DeploymentSummary", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.managedAppPolicyDeploymentSummary")] + [Cmdlet("Update", "IntuneAppProtectionPolicyDefaultDeploymentSummary", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.managedAppPolicyDeploymentSummary")] [ODataType("microsoft.graph.managedAppPolicyDeploymentSummary")] [ResourceTypePropertyName("deploymentSummaryODataType")] - public class Update_DeviceAppManagement_DefaultManagedAppProtections_DeploymentSummary : PatchCmdlet + public class Update_IntuneAppProtectionPolicyDefaultDeploymentSummary : PatchCmdlet { /// /// A required ID for referencing a "microsoft.graph.defaultManagedAppProtection" object in the "defaultManagedAppProtections" collection. @@ -246,10 +246,10 @@ internal override System.String GetResourcePath() /// Navigation property to deployment summary of the configuration. /// /// GitHub Repository - [Cmdlet("Remove", "DeviceAppManagement_DefaultManagedAppProtections_DeploymentSummary", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Remove", "IntuneAppProtectionPolicyDefaultDeploymentSummary", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.managedAppPolicyDeploymentSummary")] [ResourceTypePropertyName("deploymentSummaryODataType")] - public class Remove_DeviceAppManagement_DefaultManagedAppProtections_DeploymentSummary : DeleteCmdlet + public class Remove_IntuneAppProtectionPolicyDefaultDeploymentSummary : DeleteCmdlet { /// /// A required ID for referencing a "microsoft.graph.defaultManagedAppProtection" object in the "defaultManagedAppProtections" collection. diff --git a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/IosManagedAppProtections.cs b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/IosManagedAppProtections.cs index fa9eee1..c7cff15 100644 --- a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/IosManagedAppProtections.cs +++ b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/IosManagedAppProtections.cs @@ -11,11 +11,11 @@ namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets /// iOS managed app policies. /// /// GitHub Repository - [Cmdlet("Get", "DeviceAppManagement_IosManagedAppProtections", DefaultParameterSetName = @"Search")] + [Cmdlet("Get", "IntuneAppProtectionPolicyIos", DefaultParameterSetName = @"Search")] [ODataType("microsoft.graph.iosManagedAppProtection")] [ResourceTypePropertyName("iosManagedAppProtectionODataType")] [ResourceReference] - public class Get_DeviceAppManagement_IosManagedAppProtections : GetOrSearchCmdlet + public class Get_IntuneAppProtectionPolicyIos : GetOrSearchCmdlet { /// /// The ID for a "microsoft.graph.iosManagedAppProtection" object in the "iosManagedAppProtections" collection. @@ -431,11 +431,11 @@ internal override System.String GetResourcePath() /// iOS managed app policies. /// /// GitHub Repository - [Cmdlet("New", "DeviceAppManagement_IosManagedAppProtections", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.iosManagedAppProtection")] + [Cmdlet("New", "IntuneAppProtectionPolicyIos", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.iosManagedAppProtection")] [ODataType("microsoft.graph.iosManagedAppProtection")] [ResourceTypePropertyName("iosManagedAppProtectionODataType")] [ResourceReference] - public class New_DeviceAppManagement_IosManagedAppProtections : PostCmdlet + public class New_IntuneAppProtectionPolicyIos : PostCmdlet { /// /// The ID for a "microsoft.graph.iosManagedAppProtection" object in the "iosManagedAppProtections" collection. @@ -918,10 +918,10 @@ internal override System.String GetResourcePath() /// iOS managed app policies. /// /// GitHub Repository - [Cmdlet("Update", "DeviceAppManagement_IosManagedAppProtections", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.iosManagedAppProtection")] + [Cmdlet("Update", "IntuneAppProtectionPolicyIos", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.iosManagedAppProtection")] [ODataType("microsoft.graph.iosManagedAppProtection")] [ResourceTypePropertyName("iosManagedAppProtectionODataType")] - public class Update_DeviceAppManagement_IosManagedAppProtections : PatchCmdlet + public class Update_IntuneAppProtectionPolicyIos : PatchCmdlet { /// /// The ID for a "microsoft.graph.iosManagedAppProtection" object in the "iosManagedAppProtections" collection. @@ -1406,10 +1406,10 @@ internal override System.String GetResourcePath() /// iOS managed app policies. /// /// GitHub Repository - [Cmdlet("Remove", "DeviceAppManagement_IosManagedAppProtections", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Remove", "IntuneAppProtectionPolicyIos", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.iosManagedAppProtection")] [ResourceTypePropertyName("iosManagedAppProtectionODataType")] - public class Remove_DeviceAppManagement_IosManagedAppProtections : DeleteCmdlet + public class Remove_IntuneAppProtectionPolicyIos : DeleteCmdlet { /// /// The ID for a "microsoft.graph.iosManagedAppProtection" object in the "iosManagedAppProtections" collection. @@ -1434,10 +1434,10 @@ internal override System.String GetResourcePath() /// This action does not return any objects. /// /// GitHub Repository - [Cmdlet("Invoke", "DeviceAppManagement_IosManagedAppProtections_Assign", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Invoke", "IntuneAppProtectionPolicyIosAssign", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.iosManagedAppProtection")] [ResourceTypePropertyName("iosManagedAppProtectionODataType")] - public class Invoke_DeviceAppManagement_IosManagedAppProtections_Assign : ActionCmdlet + public class Invoke_IntuneAppProtectionPolicyIosAssign : ActionCmdlet { /// /// The "assignments" action parameter of type "microsoft.graph.targetedManagedAppPolicyAssignment". @@ -1472,10 +1472,10 @@ internal override System.String GetResourcePath() /// This action does not return any objects. /// /// GitHub Repository - [Cmdlet("Invoke", "DeviceAppManagement_IosManagedAppProtections_TargetApps", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Invoke", "IntuneAppProtectionPolicyIosTargetApp", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.iosManagedAppProtection")] [ResourceTypePropertyName("iosManagedAppProtectionODataType")] - public class Invoke_DeviceAppManagement_IosManagedAppProtections_TargetApps : ActionCmdlet + public class Invoke_IntuneAppProtectionPolicyIosTargetApp : ActionCmdlet { /// /// The "apps" action parameter of type "microsoft.graph.managedMobileApp". diff --git a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/IosManagedAppProtections/Apps.cs b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/IosManagedAppProtections/Apps.cs index ef04953..166032b 100644 --- a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/IosManagedAppProtections/Apps.cs +++ b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/IosManagedAppProtections/Apps.cs @@ -11,11 +11,11 @@ namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets /// List of apps to which the policy is deployed. /// /// GitHub Repository - [Cmdlet("Get", "DeviceAppManagement_IosManagedAppProtections_Apps", DefaultParameterSetName = @"Search")] + [Cmdlet("Get", "IntuneAppProtectionPolicyIosApp", DefaultParameterSetName = @"Search")] [ODataType("microsoft.graph.managedMobileApp")] [ResourceTypePropertyName("appODataType")] [ResourceReference] - public class Get_DeviceAppManagement_IosManagedAppProtections_Apps : GetOrSearchCmdlet + public class Get_IntuneAppProtectionPolicyIosApp : GetOrSearchCmdlet { /// /// A required ID for referencing a "microsoft.graph.iosManagedAppProtection" object in the "iosManagedAppProtections" collection. @@ -71,11 +71,11 @@ internal override System.String GetResourcePath() /// List of apps to which the policy is deployed. /// /// GitHub Repository - [Cmdlet("New", "DeviceAppManagement_IosManagedAppProtections_Apps", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.managedMobileApp")] + [Cmdlet("New", "IntuneAppProtectionPolicyIosApp", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.managedMobileApp")] [ODataType("microsoft.graph.managedMobileApp")] [ResourceTypePropertyName("appODataType")] [ResourceReference] - public class New_DeviceAppManagement_IosManagedAppProtections_Apps : PostCmdlet + public class New_IntuneAppProtectionPolicyIosApp : PostCmdlet { /// /// The ID for a "microsoft.graph.managedMobileApp" object in the "apps" collection. @@ -131,10 +131,10 @@ internal override System.String GetResourcePath() /// List of apps to which the policy is deployed. /// /// GitHub Repository - [Cmdlet("Update", "DeviceAppManagement_IosManagedAppProtections_Apps", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.managedMobileApp")] + [Cmdlet("Update", "IntuneAppProtectionPolicyIosApp", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.managedMobileApp")] [ODataType("microsoft.graph.managedMobileApp")] [ResourceTypePropertyName("appODataType")] - public class Update_DeviceAppManagement_IosManagedAppProtections_Apps : PatchCmdlet + public class Update_IntuneAppProtectionPolicyIosApp : PatchCmdlet { /// /// The ID for a "microsoft.graph.managedMobileApp" object in the "apps" collection. @@ -192,10 +192,10 @@ internal override System.String GetResourcePath() /// List of apps to which the policy is deployed. /// /// GitHub Repository - [Cmdlet("Remove", "DeviceAppManagement_IosManagedAppProtections_Apps", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Remove", "IntuneAppProtectionPolicyIosApp", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.managedMobileApp")] [ResourceTypePropertyName("appODataType")] - public class Remove_DeviceAppManagement_IosManagedAppProtections_Apps : DeleteCmdlet + public class Remove_IntuneAppProtectionPolicyIosApp : DeleteCmdlet { /// /// The ID for a "microsoft.graph.managedMobileApp" object in the "apps" collection. diff --git a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/IosManagedAppProtections/Assignments.cs b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/IosManagedAppProtections/Assignments.cs index 875fcac..3eed868 100644 --- a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/IosManagedAppProtections/Assignments.cs +++ b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/IosManagedAppProtections/Assignments.cs @@ -11,11 +11,11 @@ namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets /// Navigation property to list of inclusion and exclusion groups to which the policy is deployed. /// /// GitHub Repository - [Cmdlet("Get", "DeviceAppManagement_IosManagedAppProtections_Assignments", DefaultParameterSetName = @"Search")] + [Cmdlet("Get", "IntuneAppProtectionPolicyIosAssignment", DefaultParameterSetName = @"Search")] [ODataType("microsoft.graph.targetedManagedAppPolicyAssignment")] [ResourceTypePropertyName("assignmentODataType")] [ResourceReference] - public class Get_DeviceAppManagement_IosManagedAppProtections_Assignments : GetOrSearchCmdlet + public class Get_IntuneAppProtectionPolicyIosAssignment : GetOrSearchCmdlet { /// /// A required ID for referencing a "microsoft.graph.iosManagedAppProtection" object in the "iosManagedAppProtections" collection. @@ -75,11 +75,11 @@ internal override System.String GetResourcePath() /// Navigation property to list of inclusion and exclusion groups to which the policy is deployed. /// /// GitHub Repository - [Cmdlet("New", "DeviceAppManagement_IosManagedAppProtections_Assignments", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.targetedManagedAppPolicyAssignment")] + [Cmdlet("New", "IntuneAppProtectionPolicyIosAssignment", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.targetedManagedAppPolicyAssignment")] [ODataType("microsoft.graph.targetedManagedAppPolicyAssignment")] [ResourceTypePropertyName("assignmentODataType")] [ResourceReference] - public class New_DeviceAppManagement_IosManagedAppProtections_Assignments : PostCmdlet + public class New_IntuneAppProtectionPolicyIosAssignment : PostCmdlet { /// /// The ID for a "microsoft.graph.targetedManagedAppPolicyAssignment" object in the "assignments" collection. @@ -138,10 +138,10 @@ internal override System.String GetResourcePath() /// Navigation property to list of inclusion and exclusion groups to which the policy is deployed. /// /// GitHub Repository - [Cmdlet("Update", "DeviceAppManagement_IosManagedAppProtections_Assignments", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.targetedManagedAppPolicyAssignment")] + [Cmdlet("Update", "IntuneAppProtectionPolicyIosAssignment", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.targetedManagedAppPolicyAssignment")] [ODataType("microsoft.graph.targetedManagedAppPolicyAssignment")] [ResourceTypePropertyName("assignmentODataType")] - public class Update_DeviceAppManagement_IosManagedAppProtections_Assignments : PatchCmdlet + public class Update_IntuneAppProtectionPolicyIosAssignment : PatchCmdlet { /// /// The ID for a "microsoft.graph.targetedManagedAppPolicyAssignment" object in the "assignments" collection. @@ -202,10 +202,10 @@ internal override System.String GetResourcePath() /// Navigation property to list of inclusion and exclusion groups to which the policy is deployed. /// /// GitHub Repository - [Cmdlet("Remove", "DeviceAppManagement_IosManagedAppProtections_Assignments", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Remove", "IntuneAppProtectionPolicyIosAssignment", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.targetedManagedAppPolicyAssignment")] [ResourceTypePropertyName("assignmentODataType")] - public class Remove_DeviceAppManagement_IosManagedAppProtections_Assignments : DeleteCmdlet + public class Remove_IntuneAppProtectionPolicyIosAssignment : DeleteCmdlet { /// /// The ID for a "microsoft.graph.targetedManagedAppPolicyAssignment" object in the "assignments" collection. diff --git a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/IosManagedAppProtections/DeploymentSummary.cs b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/IosManagedAppProtections/DeploymentSummary.cs index c099fac..7e0db5e 100644 --- a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/IosManagedAppProtections/DeploymentSummary.cs +++ b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/IosManagedAppProtections/DeploymentSummary.cs @@ -11,11 +11,11 @@ namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets /// Navigation property to deployment summary of the configuration. /// /// GitHub Repository - [Cmdlet("Get", "DeviceAppManagement_IosManagedAppProtections_DeploymentSummary", DefaultParameterSetName = @"Get")] + [Cmdlet("Get", "IntuneAppProtectionPolicyIosDeploymentSummary", DefaultParameterSetName = @"Get")] [ODataType("microsoft.graph.managedAppPolicyDeploymentSummary")] [ResourceTypePropertyName("deploymentSummaryODataType")] [ResourceReference] - public class Get_DeviceAppManagement_IosManagedAppProtections_DeploymentSummary : GetCmdlet + public class Get_IntuneAppProtectionPolicyIosDeploymentSummary : GetCmdlet { /// /// A required ID for referencing a "microsoft.graph.iosManagedAppProtection" object in the "iosManagedAppProtections" collection. @@ -85,11 +85,11 @@ internal override System.String GetResourcePath() /// Navigation property to deployment summary of the configuration. /// /// GitHub Repository - [Cmdlet("New", "DeviceAppManagement_IosManagedAppProtections_DeploymentSummary", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.managedAppPolicyDeploymentSummary")] + [Cmdlet("New", "IntuneAppProtectionPolicyIosDeploymentSummary", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.managedAppPolicyDeploymentSummary")] [ODataType("microsoft.graph.managedAppPolicyDeploymentSummary")] [ResourceTypePropertyName("deploymentSummaryODataType")] [ResourceReference] - public class New_DeviceAppManagement_IosManagedAppProtections_DeploymentSummary : PostCmdlet + public class New_IntuneAppProtectionPolicyIosDeploymentSummary : PostCmdlet { /// /// A required ID for referencing a "microsoft.graph.iosManagedAppProtection" object in the "iosManagedAppProtections" collection. @@ -166,10 +166,10 @@ internal override System.String GetResourcePath() /// Navigation property to deployment summary of the configuration. /// /// GitHub Repository - [Cmdlet("Update", "DeviceAppManagement_IosManagedAppProtections_DeploymentSummary", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.managedAppPolicyDeploymentSummary")] + [Cmdlet("Update", "IntuneAppProtectionPolicyIosDeploymentSummary", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.managedAppPolicyDeploymentSummary")] [ODataType("microsoft.graph.managedAppPolicyDeploymentSummary")] [ResourceTypePropertyName("deploymentSummaryODataType")] - public class Update_DeviceAppManagement_IosManagedAppProtections_DeploymentSummary : PatchCmdlet + public class Update_IntuneAppProtectionPolicyIosDeploymentSummary : PatchCmdlet { /// /// A required ID for referencing a "microsoft.graph.iosManagedAppProtection" object in the "iosManagedAppProtections" collection. @@ -246,10 +246,10 @@ internal override System.String GetResourcePath() /// Navigation property to deployment summary of the configuration. /// /// GitHub Repository - [Cmdlet("Remove", "DeviceAppManagement_IosManagedAppProtections_DeploymentSummary", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Remove", "IntuneAppProtectionPolicyIosDeploymentSummary", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.managedAppPolicyDeploymentSummary")] [ResourceTypePropertyName("deploymentSummaryODataType")] - public class Remove_DeviceAppManagement_IosManagedAppProtections_DeploymentSummary : DeleteCmdlet + public class Remove_IntuneAppProtectionPolicyIosDeploymentSummary : DeleteCmdlet { /// /// A required ID for referencing a "microsoft.graph.iosManagedAppProtection" object in the "iosManagedAppProtections" collection. diff --git a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/ManagedAppPolicies.cs b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/ManagedAppPolicies.cs index dc81c6b..bd480d6 100644 --- a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/ManagedAppPolicies.cs +++ b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/ManagedAppPolicies.cs @@ -11,11 +11,11 @@ namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets /// Managed app policies. /// /// GitHub Repository - [Cmdlet("Get", "DeviceAppManagement_ManagedAppPolicies", DefaultParameterSetName = @"Search")] + [Cmdlet("Get", "IntuneAppProtectionPolicy", DefaultParameterSetName = @"Search")] [ODataType("microsoft.graph.managedAppPolicy", "microsoft.graph.windowsInformationProtection", "microsoft.graph.windowsInformationProtectionPolicy", "microsoft.graph.mdmWindowsInformationProtectionPolicy", "microsoft.graph.managedAppConfiguration", "microsoft.graph.targetedManagedAppConfiguration", "microsoft.graph.managedAppProtection", "microsoft.graph.defaultManagedAppProtection", "microsoft.graph.targetedManagedAppProtection", "microsoft.graph.androidManagedAppProtection", "microsoft.graph.iosManagedAppProtection")] [ResourceTypePropertyName("managedAppPolicyODataType")] [ResourceReference] - public class Get_DeviceAppManagement_ManagedAppPolicies : GetOrSearchCmdlet + public class Get_IntuneAppProtectionPolicy : GetOrSearchCmdlet { /// /// The ID for a "microsoft.graph.managedAppPolicy" object in the "managedAppPolicies" collection. @@ -905,11 +905,11 @@ internal override System.String GetResourcePath() /// Managed app policies. /// /// GitHub Repository - [Cmdlet("New", "DeviceAppManagement_ManagedAppPolicies", ConfirmImpact = ConfirmImpact.Low)] + [Cmdlet("New", "IntuneAppProtectionPolicy", ConfirmImpact = ConfirmImpact.Low)] [ODataType("microsoft.graph.managedAppPolicy", "microsoft.graph.windowsInformationProtection", "microsoft.graph.windowsInformationProtectionPolicy", "microsoft.graph.mdmWindowsInformationProtectionPolicy", "microsoft.graph.managedAppConfiguration", "microsoft.graph.targetedManagedAppConfiguration", "microsoft.graph.managedAppProtection", "microsoft.graph.defaultManagedAppProtection", "microsoft.graph.targetedManagedAppProtection", "microsoft.graph.androidManagedAppProtection", "microsoft.graph.iosManagedAppProtection")] [ResourceTypePropertyName("managedAppPolicyODataType")] [ResourceReference] - public class New_DeviceAppManagement_ManagedAppPolicies : PostCmdlet + public class New_IntuneAppProtectionPolicy : PostCmdlet { /// /// The ID for a "microsoft.graph.managedAppPolicy" object in the "managedAppPolicies" collection. @@ -2159,10 +2159,10 @@ internal override System.String GetResourcePath() /// Managed app policies. /// /// GitHub Repository - [Cmdlet("Update", "DeviceAppManagement_ManagedAppPolicies", ConfirmImpact = ConfirmImpact.Medium)] + [Cmdlet("Update", "IntuneAppProtectionPolicy", ConfirmImpact = ConfirmImpact.Medium)] [ODataType("microsoft.graph.managedAppPolicy", "microsoft.graph.windowsInformationProtection", "microsoft.graph.windowsInformationProtectionPolicy", "microsoft.graph.mdmWindowsInformationProtectionPolicy", "microsoft.graph.managedAppConfiguration", "microsoft.graph.targetedManagedAppConfiguration", "microsoft.graph.managedAppProtection", "microsoft.graph.defaultManagedAppProtection", "microsoft.graph.targetedManagedAppProtection", "microsoft.graph.androidManagedAppProtection", "microsoft.graph.iosManagedAppProtection")] [ResourceTypePropertyName("managedAppPolicyODataType")] - public class Update_DeviceAppManagement_ManagedAppPolicies : PatchCmdlet + public class Update_IntuneAppProtectionPolicy : PatchCmdlet { /// /// The ID for a "microsoft.graph.managedAppPolicy" object in the "managedAppPolicies" collection. @@ -3414,10 +3414,10 @@ internal override System.String GetResourcePath() /// Managed app policies. /// /// GitHub Repository - [Cmdlet("Remove", "DeviceAppManagement_ManagedAppPolicies", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Remove", "IntuneAppProtectionPolicy", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.managedAppPolicy", "microsoft.graph.windowsInformationProtection", "microsoft.graph.windowsInformationProtectionPolicy", "microsoft.graph.mdmWindowsInformationProtectionPolicy", "microsoft.graph.managedAppConfiguration", "microsoft.graph.targetedManagedAppConfiguration", "microsoft.graph.managedAppProtection", "microsoft.graph.defaultManagedAppProtection", "microsoft.graph.targetedManagedAppProtection", "microsoft.graph.androidManagedAppProtection", "microsoft.graph.iosManagedAppProtection")] [ResourceTypePropertyName("managedAppPolicyODataType")] - public class Remove_DeviceAppManagement_ManagedAppPolicies : DeleteCmdlet + public class Remove_IntuneAppProtectionPolicy : DeleteCmdlet { /// /// The ID for a "microsoft.graph.managedAppPolicy" object in the "managedAppPolicies" collection. @@ -3442,10 +3442,10 @@ internal override System.String GetResourcePath() /// This action does not return any objects. /// /// GitHub Repository - [Cmdlet("Invoke", "DeviceAppManagement_ManagedAppPolicies_TargetApps", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Invoke", "IntuneAppProtectionPolicyTargetApp", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.managedAppPolicy", "microsoft.graph.windowsInformationProtection", "microsoft.graph.windowsInformationProtectionPolicy", "microsoft.graph.mdmWindowsInformationProtectionPolicy", "microsoft.graph.managedAppConfiguration", "microsoft.graph.targetedManagedAppConfiguration", "microsoft.graph.managedAppProtection", "microsoft.graph.defaultManagedAppProtection", "microsoft.graph.targetedManagedAppProtection", "microsoft.graph.androidManagedAppProtection", "microsoft.graph.iosManagedAppProtection")] [ResourceTypePropertyName("managedAppPolicyODataType")] - public class Invoke_DeviceAppManagement_ManagedAppPolicies_TargetApps : ActionCmdlet + public class Invoke_IntuneAppProtectionPolicyTargetApp : ActionCmdlet { /// /// The "apps" action parameter of type "microsoft.graph.managedMobileApp". diff --git a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/ManagedAppPolicies/Apps.cs b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/ManagedAppPolicies/Apps.cs index 31f582b..38d0f02 100644 --- a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/ManagedAppPolicies/Apps.cs +++ b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/ManagedAppPolicies/Apps.cs @@ -11,11 +11,11 @@ namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets /// List of apps to which the policy is deployed. /// /// GitHub Repository - [Cmdlet("Get", "DeviceAppManagement_ManagedAppPolicies_Apps", DefaultParameterSetName = @"Search")] + [Cmdlet("Get", "IntuneAppProtectionPolicyApp", DefaultParameterSetName = @"Search")] [ODataType("microsoft.graph.managedMobileApp")] [ResourceTypePropertyName("appODataType")] [ResourceReference] - public class Get_DeviceAppManagement_ManagedAppPolicies_Apps : GetOrSearchCmdlet + public class Get_IntuneAppProtectionPolicyApp : GetOrSearchCmdlet { /// /// A required ID for referencing a "microsoft.graph.managedAppPolicy" object in the "managedAppPolicies" collection. @@ -85,11 +85,11 @@ internal override System.String GetResourcePath() /// List of apps to which the policy is deployed. /// /// GitHub Repository - [Cmdlet("New", "DeviceAppManagement_ManagedAppPolicies_Apps", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.managedMobileApp")] + [Cmdlet("New", "IntuneAppProtectionPolicyApp", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.managedMobileApp")] [ODataType("microsoft.graph.managedMobileApp")] [ResourceTypePropertyName("appODataType")] [ResourceReference] - public class New_DeviceAppManagement_ManagedAppPolicies_Apps : PostCmdlet + public class New_IntuneAppProtectionPolicyApp : PostCmdlet { /// /// The ID for a "microsoft.graph.managedMobileApp" object in the "apps" collection. @@ -159,10 +159,10 @@ internal override System.String GetResourcePath() /// List of apps to which the policy is deployed. /// /// GitHub Repository - [Cmdlet("Update", "DeviceAppManagement_ManagedAppPolicies_Apps", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.managedMobileApp")] + [Cmdlet("Update", "IntuneAppProtectionPolicyApp", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.managedMobileApp")] [ODataType("microsoft.graph.managedMobileApp")] [ResourceTypePropertyName("appODataType")] - public class Update_DeviceAppManagement_ManagedAppPolicies_Apps : PatchCmdlet + public class Update_IntuneAppProtectionPolicyApp : PatchCmdlet { /// /// The ID for a "microsoft.graph.managedMobileApp" object in the "apps" collection. @@ -234,10 +234,10 @@ internal override System.String GetResourcePath() /// List of apps to which the policy is deployed. /// /// GitHub Repository - [Cmdlet("Remove", "DeviceAppManagement_ManagedAppPolicies_Apps", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Remove", "IntuneAppProtectionPolicyApp", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.managedMobileApp")] [ResourceTypePropertyName("appODataType")] - public class Remove_DeviceAppManagement_ManagedAppPolicies_Apps : DeleteCmdlet + public class Remove_IntuneAppProtectionPolicyApp : DeleteCmdlet { /// /// The ID for a "microsoft.graph.managedMobileApp" object in the "apps" collection. diff --git a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/ManagedAppPolicies/Assignments.cs b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/ManagedAppPolicies/Assignments.cs index e0bbb1d..c1899bc 100644 --- a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/ManagedAppPolicies/Assignments.cs +++ b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/ManagedAppPolicies/Assignments.cs @@ -11,11 +11,11 @@ namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets /// Navigation property to list of security groups targeted for policy. /// /// GitHub Repository - [Cmdlet("Get", "DeviceAppManagement_ManagedAppPolicies_Assignments", DefaultParameterSetName = @"Search")] + [Cmdlet("Get", "IntuneAppProtectionPolicyAssignment", DefaultParameterSetName = @"Search")] [ODataType("microsoft.graph.targetedManagedAppPolicyAssignment")] [ResourceTypePropertyName("assignmentODataType")] [ResourceReference] - public class Get_DeviceAppManagement_ManagedAppPolicies_Assignments : GetOrSearchCmdlet + public class Get_IntuneAppProtectionPolicyAssignment : GetOrSearchCmdlet { /// /// A required ID for referencing a "microsoft.graph.managedAppPolicy" object in the "managedAppPolicies" collection. @@ -75,11 +75,11 @@ internal override System.String GetResourcePath() /// Navigation property to list of security groups targeted for policy. /// /// GitHub Repository - [Cmdlet("New", "DeviceAppManagement_ManagedAppPolicies_Assignments", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.targetedManagedAppPolicyAssignment")] + [Cmdlet("New", "IntuneAppProtectionPolicyAssignment", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.targetedManagedAppPolicyAssignment")] [ODataType("microsoft.graph.targetedManagedAppPolicyAssignment")] [ResourceTypePropertyName("assignmentODataType")] [ResourceReference] - public class New_DeviceAppManagement_ManagedAppPolicies_Assignments : PostCmdlet + public class New_IntuneAppProtectionPolicyAssignment : PostCmdlet { /// /// The ID for a "microsoft.graph.targetedManagedAppPolicyAssignment" object in the "assignments" collection. @@ -138,10 +138,10 @@ internal override System.String GetResourcePath() /// Navigation property to list of security groups targeted for policy. /// /// GitHub Repository - [Cmdlet("Update", "DeviceAppManagement_ManagedAppPolicies_Assignments", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.targetedManagedAppPolicyAssignment")] + [Cmdlet("Update", "IntuneAppProtectionPolicyAssignment", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.targetedManagedAppPolicyAssignment")] [ODataType("microsoft.graph.targetedManagedAppPolicyAssignment")] [ResourceTypePropertyName("assignmentODataType")] - public class Update_DeviceAppManagement_ManagedAppPolicies_Assignments : PatchCmdlet + public class Update_IntuneAppProtectionPolicyAssignment : PatchCmdlet { /// /// The ID for a "microsoft.graph.targetedManagedAppPolicyAssignment" object in the "assignments" collection. @@ -202,10 +202,10 @@ internal override System.String GetResourcePath() /// Navigation property to list of security groups targeted for policy. /// /// GitHub Repository - [Cmdlet("Remove", "DeviceAppManagement_ManagedAppPolicies_Assignments", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Remove", "IntuneAppProtectionPolicyAssignment", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.targetedManagedAppPolicyAssignment")] [ResourceTypePropertyName("assignmentODataType")] - public class Remove_DeviceAppManagement_ManagedAppPolicies_Assignments : DeleteCmdlet + public class Remove_IntuneAppProtectionPolicyAssignment : DeleteCmdlet { /// /// The ID for a "microsoft.graph.targetedManagedAppPolicyAssignment" object in the "assignments" collection. diff --git a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/ManagedAppPolicies/DeploymentSummary.cs b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/ManagedAppPolicies/DeploymentSummary.cs index a2753ce..bd03764 100644 --- a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/ManagedAppPolicies/DeploymentSummary.cs +++ b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/ManagedAppPolicies/DeploymentSummary.cs @@ -11,11 +11,11 @@ namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets /// Navigation property to deployment summary of the configuration. /// /// GitHub Repository - [Cmdlet("Get", "DeviceAppManagement_ManagedAppPolicies_DeploymentSummary", DefaultParameterSetName = @"Get")] + [Cmdlet("Get", "IntuneAppProtectionPolicyDeploymentSummary", DefaultParameterSetName = @"Get")] [ODataType("microsoft.graph.managedAppPolicyDeploymentSummary")] [ResourceTypePropertyName("deploymentSummaryODataType")] [ResourceReference] - public class Get_DeviceAppManagement_ManagedAppPolicies_DeploymentSummary : GetCmdlet + public class Get_IntuneAppProtectionPolicyDeploymentSummary : GetCmdlet { /// /// A required ID for referencing a "microsoft.graph.managedAppPolicy" object in the "managedAppPolicies" collection. @@ -99,11 +99,11 @@ internal override System.String GetResourcePath() /// Navigation property to deployment summary of the configuration. /// /// GitHub Repository - [Cmdlet("New", "DeviceAppManagement_ManagedAppPolicies_DeploymentSummary", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.managedAppPolicyDeploymentSummary")] + [Cmdlet("New", "IntuneAppProtectionPolicyDeploymentSummary", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.managedAppPolicyDeploymentSummary")] [ODataType("microsoft.graph.managedAppPolicyDeploymentSummary")] [ResourceTypePropertyName("deploymentSummaryODataType")] [ResourceReference] - public class New_DeviceAppManagement_ManagedAppPolicies_DeploymentSummary : PostCmdlet + public class New_IntuneAppProtectionPolicyDeploymentSummary : PostCmdlet { /// /// A required ID for referencing a "microsoft.graph.managedAppPolicy" object in the "managedAppPolicies" collection. @@ -194,10 +194,10 @@ internal override System.String GetResourcePath() /// Navigation property to deployment summary of the configuration. /// /// GitHub Repository - [Cmdlet("Update", "DeviceAppManagement_ManagedAppPolicies_DeploymentSummary", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.managedAppPolicyDeploymentSummary")] + [Cmdlet("Update", "IntuneAppProtectionPolicyDeploymentSummary", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.managedAppPolicyDeploymentSummary")] [ODataType("microsoft.graph.managedAppPolicyDeploymentSummary")] [ResourceTypePropertyName("deploymentSummaryODataType")] - public class Update_DeviceAppManagement_ManagedAppPolicies_DeploymentSummary : PatchCmdlet + public class Update_IntuneAppProtectionPolicyDeploymentSummary : PatchCmdlet { /// /// A required ID for referencing a "microsoft.graph.managedAppPolicy" object in the "managedAppPolicies" collection. @@ -288,10 +288,10 @@ internal override System.String GetResourcePath() /// Navigation property to deployment summary of the configuration. /// /// GitHub Repository - [Cmdlet("Remove", "DeviceAppManagement_ManagedAppPolicies_DeploymentSummary", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Remove", "IntuneAppProtectionPolicyDeploymentSummary", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.managedAppPolicyDeploymentSummary")] [ResourceTypePropertyName("deploymentSummaryODataType")] - public class Remove_DeviceAppManagement_ManagedAppPolicies_DeploymentSummary : DeleteCmdlet + public class Remove_IntuneAppProtectionPolicyDeploymentSummary : DeleteCmdlet { /// /// A required ID for referencing a "microsoft.graph.managedAppPolicy" object in the "managedAppPolicies" collection. diff --git a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/ManagedAppPolicies/ExemptAppLockerFiles.cs b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/ManagedAppPolicies/ExemptAppLockerFiles.cs index 67b1296..553f738 100644 --- a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/ManagedAppPolicies/ExemptAppLockerFiles.cs +++ b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/ManagedAppPolicies/ExemptAppLockerFiles.cs @@ -11,11 +11,11 @@ namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets /// Another way to input exempt apps through xml files /// /// GitHub Repository - [Cmdlet("Get", "DeviceAppManagement_ManagedAppPolicies_ExemptAppLockerFiles", DefaultParameterSetName = @"Search")] + [Cmdlet("Get", "IntuneAppProtectionPolicyExemptAppLockerFile", DefaultParameterSetName = @"Search")] [ODataType("microsoft.graph.windowsInformationProtectionAppLockerFile")] [ResourceTypePropertyName("exemptAppLockerFileODataType")] [ResourceReference] - public class Get_DeviceAppManagement_ManagedAppPolicies_ExemptAppLockerFiles : GetOrSearchCmdlet + public class Get_IntuneAppProtectionPolicyExemptAppLockerFile : GetOrSearchCmdlet { /// /// A required ID for referencing a "microsoft.graph.managedAppPolicy" object in the "managedAppPolicies" collection. @@ -105,11 +105,11 @@ internal override System.String GetResourcePath() /// Another way to input exempt apps through xml files /// /// GitHub Repository - [Cmdlet("New", "DeviceAppManagement_ManagedAppPolicies_ExemptAppLockerFiles", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.windowsInformationProtectionAppLockerFile")] + [Cmdlet("New", "IntuneAppProtectionPolicyExemptAppLockerFile", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.windowsInformationProtectionAppLockerFile")] [ODataType("microsoft.graph.windowsInformationProtectionAppLockerFile")] [ResourceTypePropertyName("exemptAppLockerFileODataType")] [ResourceReference] - public class New_DeviceAppManagement_ManagedAppPolicies_ExemptAppLockerFiles : PostCmdlet + public class New_IntuneAppProtectionPolicyExemptAppLockerFile : PostCmdlet { /// /// The ID for a "microsoft.graph.windowsInformationProtectionAppLockerFile" object in the "exemptAppLockerFiles" collection. @@ -202,10 +202,10 @@ internal override System.String GetResourcePath() /// Another way to input exempt apps through xml files /// /// GitHub Repository - [Cmdlet("Update", "DeviceAppManagement_ManagedAppPolicies_ExemptAppLockerFiles", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.windowsInformationProtectionAppLockerFile")] + [Cmdlet("Update", "IntuneAppProtectionPolicyExemptAppLockerFile", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.windowsInformationProtectionAppLockerFile")] [ODataType("microsoft.graph.windowsInformationProtectionAppLockerFile")] [ResourceTypePropertyName("exemptAppLockerFileODataType")] - public class Update_DeviceAppManagement_ManagedAppPolicies_ExemptAppLockerFiles : PatchCmdlet + public class Update_IntuneAppProtectionPolicyExemptAppLockerFile : PatchCmdlet { /// /// The ID for a "microsoft.graph.windowsInformationProtectionAppLockerFile" object in the "exemptAppLockerFiles" collection. @@ -300,10 +300,10 @@ internal override System.String GetResourcePath() /// Another way to input exempt apps through xml files /// /// GitHub Repository - [Cmdlet("Remove", "DeviceAppManagement_ManagedAppPolicies_ExemptAppLockerFiles", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Remove", "IntuneAppProtectionPolicyExemptAppLockerFile", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.windowsInformationProtectionAppLockerFile")] [ResourceTypePropertyName("exemptAppLockerFileODataType")] - public class Remove_DeviceAppManagement_ManagedAppPolicies_ExemptAppLockerFiles : DeleteCmdlet + public class Remove_IntuneAppProtectionPolicyExemptAppLockerFile : DeleteCmdlet { /// /// The ID for a "microsoft.graph.windowsInformationProtectionAppLockerFile" object in the "exemptAppLockerFiles" collection. diff --git a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/ManagedAppPolicies/ProtectedAppLockerFiles.cs b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/ManagedAppPolicies/ProtectedAppLockerFiles.cs index d5407f4..bb25691 100644 --- a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/ManagedAppPolicies/ProtectedAppLockerFiles.cs +++ b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/ManagedAppPolicies/ProtectedAppLockerFiles.cs @@ -11,11 +11,11 @@ namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets /// Another way to input protected apps through xml files /// /// GitHub Repository - [Cmdlet("Get", "DeviceAppManagement_ManagedAppPolicies_ProtectedAppLockerFiles", DefaultParameterSetName = @"Search")] + [Cmdlet("Get", "IntuneAppProtectionPolicyProtectedAppLockerFile", DefaultParameterSetName = @"Search")] [ODataType("microsoft.graph.windowsInformationProtectionAppLockerFile")] [ResourceTypePropertyName("protectedAppLockerFileODataType")] [ResourceReference] - public class Get_DeviceAppManagement_ManagedAppPolicies_ProtectedAppLockerFiles : GetOrSearchCmdlet + public class Get_IntuneAppProtectionPolicyProtectedAppLockerFile : GetOrSearchCmdlet { /// /// A required ID for referencing a "microsoft.graph.managedAppPolicy" object in the "managedAppPolicies" collection. @@ -105,11 +105,11 @@ internal override System.String GetResourcePath() /// Another way to input protected apps through xml files /// /// GitHub Repository - [Cmdlet("New", "DeviceAppManagement_ManagedAppPolicies_ProtectedAppLockerFiles", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.windowsInformationProtectionAppLockerFile")] + [Cmdlet("New", "IntuneAppProtectionPolicyProtectedAppLockerFile", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.windowsInformationProtectionAppLockerFile")] [ODataType("microsoft.graph.windowsInformationProtectionAppLockerFile")] [ResourceTypePropertyName("protectedAppLockerFileODataType")] [ResourceReference] - public class New_DeviceAppManagement_ManagedAppPolicies_ProtectedAppLockerFiles : PostCmdlet + public class New_IntuneAppProtectionPolicyProtectedAppLockerFile : PostCmdlet { /// /// The ID for a "microsoft.graph.windowsInformationProtectionAppLockerFile" object in the "protectedAppLockerFiles" collection. @@ -202,10 +202,10 @@ internal override System.String GetResourcePath() /// Another way to input protected apps through xml files /// /// GitHub Repository - [Cmdlet("Update", "DeviceAppManagement_ManagedAppPolicies_ProtectedAppLockerFiles", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.windowsInformationProtectionAppLockerFile")] + [Cmdlet("Update", "IntuneAppProtectionPolicyProtectedAppLockerFile", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.windowsInformationProtectionAppLockerFile")] [ODataType("microsoft.graph.windowsInformationProtectionAppLockerFile")] [ResourceTypePropertyName("protectedAppLockerFileODataType")] - public class Update_DeviceAppManagement_ManagedAppPolicies_ProtectedAppLockerFiles : PatchCmdlet + public class Update_IntuneAppProtectionPolicyProtectedAppLockerFile : PatchCmdlet { /// /// The ID for a "microsoft.graph.windowsInformationProtectionAppLockerFile" object in the "protectedAppLockerFiles" collection. @@ -300,10 +300,10 @@ internal override System.String GetResourcePath() /// Another way to input protected apps through xml files /// /// GitHub Repository - [Cmdlet("Remove", "DeviceAppManagement_ManagedAppPolicies_ProtectedAppLockerFiles", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Remove", "IntuneAppProtectionPolicyProtectedAppLockerFile", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.windowsInformationProtectionAppLockerFile")] [ResourceTypePropertyName("protectedAppLockerFileODataType")] - public class Remove_DeviceAppManagement_ManagedAppPolicies_ProtectedAppLockerFiles : DeleteCmdlet + public class Remove_IntuneAppProtectionPolicyProtectedAppLockerFile : DeleteCmdlet { /// /// The ID for a "microsoft.graph.windowsInformationProtectionAppLockerFile" object in the "protectedAppLockerFiles" collection. diff --git a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/ManagedAppRegistrations.cs b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/ManagedAppRegistrations.cs index d65d4c1..c023997 100644 --- a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/ManagedAppRegistrations.cs +++ b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/ManagedAppRegistrations.cs @@ -11,11 +11,11 @@ namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets /// The managed app registrations. /// /// GitHub Repository - [Cmdlet("Get", "DeviceAppManagement_ManagedAppRegistrations", DefaultParameterSetName = @"Search")] + [Cmdlet("Get", "IntuneManagedAppRegistration", DefaultParameterSetName = @"Search")] [ODataType("microsoft.graph.managedAppRegistration", "microsoft.graph.androidManagedAppRegistration", "microsoft.graph.iosManagedAppRegistration")] [ResourceTypePropertyName("managedAppRegistrationODataType")] [ResourceReference] - public class Get_DeviceAppManagement_ManagedAppRegistrations : GetOrSearchCmdlet + public class Get_IntuneManagedAppRegistration : GetOrSearchCmdlet { /// /// The ID for a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection. @@ -147,36 +147,6 @@ public class Get_DeviceAppManagement_ManagedAppRegistrations : GetOrSearchCmdlet [Sortable] public System.String version { get; set; } - /// - /// The "appliedPolicies" property, of type "microsoft.graph.managedAppPolicy". - /// This property is on the "microsoft.graph.managedAppRegistration" type. - /// Zero or more policys already applied on the registered app when it last synchronized with managment service. - /// - [ODataType("microsoft.graph.managedAppPolicy", "microsoft.graph.windowsInformationProtection", "microsoft.graph.windowsInformationProtectionPolicy", "microsoft.graph.mdmWindowsInformationProtectionPolicy", "microsoft.graph.managedAppConfiguration", "microsoft.graph.targetedManagedAppConfiguration", "microsoft.graph.managedAppProtection", "microsoft.graph.defaultManagedAppProtection", "microsoft.graph.targetedManagedAppProtection", "microsoft.graph.androidManagedAppProtection", "microsoft.graph.iosManagedAppProtection")] - [Selectable] - [Expandable] - public System.Object[] appliedPolicies { get; set; } - - /// - /// The "intendedPolicies" property, of type "microsoft.graph.managedAppPolicy". - /// This property is on the "microsoft.graph.managedAppRegistration" type. - /// Zero or more policies admin intended for the app as of now. - /// - [ODataType("microsoft.graph.managedAppPolicy", "microsoft.graph.windowsInformationProtection", "microsoft.graph.windowsInformationProtectionPolicy", "microsoft.graph.mdmWindowsInformationProtectionPolicy", "microsoft.graph.managedAppConfiguration", "microsoft.graph.targetedManagedAppConfiguration", "microsoft.graph.managedAppProtection", "microsoft.graph.defaultManagedAppProtection", "microsoft.graph.targetedManagedAppProtection", "microsoft.graph.androidManagedAppProtection", "microsoft.graph.iosManagedAppProtection")] - [Selectable] - [Expandable] - public System.Object[] intendedPolicies { get; set; } - - /// - /// The "operations" property, of type "microsoft.graph.managedAppOperation". - /// This property is on the "microsoft.graph.managedAppRegistration" type. - /// Zero or more long running operations triggered on the app registration. - /// - [ODataType("microsoft.graph.managedAppOperation")] - [Selectable] - [Expandable] - public System.Object[] operations { get; set; } - internal override System.String GetResourcePath() { return $"deviceAppManagement/managedAppRegistrations/{managedAppRegistrationId ?? string.Empty}"; @@ -190,11 +160,11 @@ internal override System.String GetResourcePath() /// The managed app registrations. /// /// GitHub Repository - [Cmdlet("New", "DeviceAppManagement_ManagedAppRegistrations", ConfirmImpact = ConfirmImpact.Low)] + [Cmdlet("New", "IntuneManagedAppRegistration", ConfirmImpact = ConfirmImpact.Low)] [ODataType("microsoft.graph.managedAppRegistration", "microsoft.graph.androidManagedAppRegistration", "microsoft.graph.iosManagedAppRegistration")] [ResourceTypePropertyName("managedAppRegistrationODataType")] [ResourceReference] - public class New_DeviceAppManagement_ManagedAppRegistrations : PostCmdlet + public class New_IntuneManagedAppRegistration : PostCmdlet { /// /// The ID for a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection. @@ -366,51 +336,6 @@ public class New_DeviceAppManagement_ManagedAppRegistrations : PostCmdlet [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "version" property, of type "Edm.String".")] public System.String version { get; set; } - /// - /// The "appliedPolicies" property, of type "microsoft.graph.managedAppPolicy". - /// This property is on the "microsoft.graph.managedAppRegistration" type. - /// Zero or more policys already applied on the registered app when it last synchronized with managment service. - /// - [ODataType("microsoft.graph.managedAppPolicy", "microsoft.graph.windowsInformationProtection", "microsoft.graph.windowsInformationProtectionPolicy", "microsoft.graph.mdmWindowsInformationProtectionPolicy", "microsoft.graph.managedAppConfiguration", "microsoft.graph.targetedManagedAppConfiguration", "microsoft.graph.managedAppProtection", "microsoft.graph.defaultManagedAppProtection", "microsoft.graph.targetedManagedAppProtection", "microsoft.graph.androidManagedAppProtection", "microsoft.graph.iosManagedAppProtection")] - [Selectable] - [Expandable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppRegistration", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "appliedPolicies" property, of type "microsoft.graph.managedAppPolicy".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppRegistration", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "appliedPolicies" property, of type "microsoft.graph.managedAppPolicy".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppRegistration", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "appliedPolicies" property, of type "microsoft.graph.managedAppPolicy".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "appliedPolicies" property, of type "microsoft.graph.managedAppPolicy".")] - public System.Object[] appliedPolicies { get; set; } - - /// - /// The "intendedPolicies" property, of type "microsoft.graph.managedAppPolicy". - /// This property is on the "microsoft.graph.managedAppRegistration" type. - /// Zero or more policies admin intended for the app as of now. - /// - [ODataType("microsoft.graph.managedAppPolicy", "microsoft.graph.windowsInformationProtection", "microsoft.graph.windowsInformationProtectionPolicy", "microsoft.graph.mdmWindowsInformationProtectionPolicy", "microsoft.graph.managedAppConfiguration", "microsoft.graph.targetedManagedAppConfiguration", "microsoft.graph.managedAppProtection", "microsoft.graph.defaultManagedAppProtection", "microsoft.graph.targetedManagedAppProtection", "microsoft.graph.androidManagedAppProtection", "microsoft.graph.iosManagedAppProtection")] - [Selectable] - [Expandable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppRegistration", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "intendedPolicies" property, of type "microsoft.graph.managedAppPolicy".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppRegistration", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "intendedPolicies" property, of type "microsoft.graph.managedAppPolicy".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppRegistration", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "intendedPolicies" property, of type "microsoft.graph.managedAppPolicy".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "intendedPolicies" property, of type "microsoft.graph.managedAppPolicy".")] - public System.Object[] intendedPolicies { get; set; } - - /// - /// The "operations" property, of type "microsoft.graph.managedAppOperation". - /// This property is on the "microsoft.graph.managedAppRegistration" type. - /// Zero or more long running operations triggered on the app registration. - /// - [ODataType("microsoft.graph.managedAppOperation")] - [Selectable] - [Expandable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppRegistration", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "operations" property, of type "microsoft.graph.managedAppOperation".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppRegistration", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "operations" property, of type "microsoft.graph.managedAppOperation".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppRegistration", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "operations" property, of type "microsoft.graph.managedAppOperation".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "operations" property, of type "microsoft.graph.managedAppOperation".")] - public System.Object[] operations { get; set; } - /// /// A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.androidManagedAppRegistration" type. /// @@ -442,10 +367,10 @@ internal override System.String GetResourcePath() /// The managed app registrations. /// /// GitHub Repository - [Cmdlet("Update", "DeviceAppManagement_ManagedAppRegistrations", ConfirmImpact = ConfirmImpact.Medium)] + [Cmdlet("Update", "IntuneManagedAppRegistration", ConfirmImpact = ConfirmImpact.Medium)] [ODataType("microsoft.graph.managedAppRegistration", "microsoft.graph.androidManagedAppRegistration", "microsoft.graph.iosManagedAppRegistration")] [ResourceTypePropertyName("managedAppRegistrationODataType")] - public class Update_DeviceAppManagement_ManagedAppRegistrations : PatchCmdlet + public class Update_IntuneManagedAppRegistration : PatchCmdlet { /// /// The ID for a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection. @@ -619,51 +544,6 @@ public class Update_DeviceAppManagement_ManagedAppRegistrations : PatchCmdlet [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "version" property, of type "Edm.String".")] public System.String version { get; set; } - /// - /// The "appliedPolicies" property, of type "microsoft.graph.managedAppPolicy". - /// This property is on the "microsoft.graph.managedAppRegistration" type. - /// Zero or more policys already applied on the registered app when it last synchronized with managment service. - /// - [ODataType("microsoft.graph.managedAppPolicy", "microsoft.graph.windowsInformationProtection", "microsoft.graph.windowsInformationProtectionPolicy", "microsoft.graph.mdmWindowsInformationProtectionPolicy", "microsoft.graph.managedAppConfiguration", "microsoft.graph.targetedManagedAppConfiguration", "microsoft.graph.managedAppProtection", "microsoft.graph.defaultManagedAppProtection", "microsoft.graph.targetedManagedAppProtection", "microsoft.graph.androidManagedAppProtection", "microsoft.graph.iosManagedAppProtection")] - [Selectable] - [Expandable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppRegistration", HelpMessage = @"The "appliedPolicies" property, of type "microsoft.graph.managedAppPolicy".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppRegistration", HelpMessage = @"The "appliedPolicies" property, of type "microsoft.graph.managedAppPolicy".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppRegistration", HelpMessage = @"The "appliedPolicies" property, of type "microsoft.graph.managedAppPolicy".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "appliedPolicies" property, of type "microsoft.graph.managedAppPolicy".")] - public System.Object[] appliedPolicies { get; set; } - - /// - /// The "intendedPolicies" property, of type "microsoft.graph.managedAppPolicy". - /// This property is on the "microsoft.graph.managedAppRegistration" type. - /// Zero or more policies admin intended for the app as of now. - /// - [ODataType("microsoft.graph.managedAppPolicy", "microsoft.graph.windowsInformationProtection", "microsoft.graph.windowsInformationProtectionPolicy", "microsoft.graph.mdmWindowsInformationProtectionPolicy", "microsoft.graph.managedAppConfiguration", "microsoft.graph.targetedManagedAppConfiguration", "microsoft.graph.managedAppProtection", "microsoft.graph.defaultManagedAppProtection", "microsoft.graph.targetedManagedAppProtection", "microsoft.graph.androidManagedAppProtection", "microsoft.graph.iosManagedAppProtection")] - [Selectable] - [Expandable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppRegistration", HelpMessage = @"The "intendedPolicies" property, of type "microsoft.graph.managedAppPolicy".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppRegistration", HelpMessage = @"The "intendedPolicies" property, of type "microsoft.graph.managedAppPolicy".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppRegistration", HelpMessage = @"The "intendedPolicies" property, of type "microsoft.graph.managedAppPolicy".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "intendedPolicies" property, of type "microsoft.graph.managedAppPolicy".")] - public System.Object[] intendedPolicies { get; set; } - - /// - /// The "operations" property, of type "microsoft.graph.managedAppOperation". - /// This property is on the "microsoft.graph.managedAppRegistration" type. - /// Zero or more long running operations triggered on the app registration. - /// - [ODataType("microsoft.graph.managedAppOperation")] - [Selectable] - [Expandable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppRegistration", HelpMessage = @"The "operations" property, of type "microsoft.graph.managedAppOperation".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppRegistration", HelpMessage = @"The "operations" property, of type "microsoft.graph.managedAppOperation".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppRegistration", HelpMessage = @"The "operations" property, of type "microsoft.graph.managedAppOperation".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "operations" property, of type "microsoft.graph.managedAppOperation".")] - public System.Object[] operations { get; set; } - /// /// A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.androidManagedAppRegistration" type. /// @@ -695,10 +575,10 @@ internal override System.String GetResourcePath() /// The managed app registrations. /// /// GitHub Repository - [Cmdlet("Remove", "DeviceAppManagement_ManagedAppRegistrations", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Remove", "IntuneManagedAppRegistration", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.managedAppRegistration", "microsoft.graph.androidManagedAppRegistration", "microsoft.graph.iosManagedAppRegistration")] [ResourceTypePropertyName("managedAppRegistrationODataType")] - public class Remove_DeviceAppManagement_ManagedAppRegistrations : DeleteCmdlet + public class Remove_IntuneManagedAppRegistration : DeleteCmdlet { /// /// The ID for a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection. @@ -723,10 +603,10 @@ internal override System.String GetResourcePath() /// This function returns a collection of "Edm.String" objects. /// /// GitHub Repository - [Cmdlet("Invoke", "DeviceAppManagement_ManagedAppRegistrations_GetUserIdsWithFlaggedAppRegistration", DefaultParameterSetName = @"Search")] + [Cmdlet("Invoke", "IntuneGetUserIdsWithFlaggedAppRegistration", DefaultParameterSetName = @"Search")] [ODataType("microsoft.graph.managedAppRegistration", "microsoft.graph.androidManagedAppRegistration", "microsoft.graph.iosManagedAppRegistration")] [ResourceTypePropertyName("managedAppRegistrationODataType")] - public class Invoke_DeviceAppManagement_ManagedAppRegistrations_GetUserIdsWithFlaggedAppRegistration : FunctionReturningCollectionCmdlet + public class Invoke_IntuneGetUserIdsWithFlaggedAppRegistration : FunctionReturningCollectionCmdlet { /// /// The ID for a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection. diff --git a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/ManagedAppRegistrations/AppliedPolicies.cs b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/ManagedAppRegistrations/AppliedPolicies.cs deleted file mode 100644 index c9fe713..0000000 --- a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/ManagedAppRegistrations/AppliedPolicies.cs +++ /dev/null @@ -1,3526 +0,0 @@ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. - -namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets -{ - using System.Management.Automation; - - /// - /// Retrieves "microsoft.graph.managedAppPolicy" objects. - /// GET ~/deviceAppManagement/managedAppRegistrations/{managedAppRegistrationId}/appliedPolicies - /// Retrieves "microsoft.graph.managedAppPolicy" objects in the "appliedPolicies" collection. - /// Zero or more policys already applied on the registered app when it last synchronized with managment service. - /// - /// GitHub Repository - [Cmdlet("Get", "DeviceAppManagement_ManagedAppRegistrations_AppliedPolicies", DefaultParameterSetName = @"Search")] - [ODataType("microsoft.graph.managedAppPolicy", "microsoft.graph.windowsInformationProtection", "microsoft.graph.windowsInformationProtectionPolicy", "microsoft.graph.mdmWindowsInformationProtectionPolicy", "microsoft.graph.managedAppConfiguration", "microsoft.graph.targetedManagedAppConfiguration", "microsoft.graph.managedAppProtection", "microsoft.graph.defaultManagedAppProtection", "microsoft.graph.targetedManagedAppProtection", "microsoft.graph.androidManagedAppProtection", "microsoft.graph.iosManagedAppProtection")] - [ResourceTypePropertyName("appliedPolicyODataType")] - [ResourceReference] - public class Get_DeviceAppManagement_ManagedAppRegistrations_AppliedPolicies : GetOrSearchCmdlet - { - /// - /// A required ID for referencing a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection.")] - public System.String managedAppRegistrationId { get; set; } - - /// - /// The ID for a "microsoft.graph.managedAppPolicy" object in the "appliedPolicies" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(ParameterSetName = @"Get", Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.managedAppPolicy" object in the "appliedPolicies" collection.")] - public System.String managedAppPolicyId { get; set; } - - /// - /// The "displayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedAppPolicy" type. - /// Policy display name. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String displayName { get; set; } - - /// - /// The "description" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedAppPolicy" type. - /// The policy's description. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String description { get; set; } - - /// - /// The "createdDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.managedAppPolicy" type. - /// The date and time the policy was created. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - public System.DateTimeOffset createdDateTime { get; set; } - - /// - /// The "lastModifiedDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.managedAppPolicy" type. - /// Last time the policy was modified. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - public System.DateTimeOffset lastModifiedDateTime { get; set; } - - /// - /// The "version" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedAppPolicy" type. - /// Version of the entity. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String version { get; set; } - - /// - /// The "enforcementLevel" property, of type "microsoft.graph.windowsInformationProtectionEnforcementLevel". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// WIP enforcement level.See the Enum definition for supported values - /// - [ODataType("microsoft.graph.windowsInformationProtectionEnforcementLevel")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.windowsInformationProtection")] - public System.String enforcementLevel { get; set; } - - /// - /// The "enterpriseDomain" property, of type "Edm.String". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// Primary enterprise domain - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.windowsInformationProtection")] - public System.String enterpriseDomain { get; set; } - - /// - /// The "enterpriseProtectedDomainNames" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// List of enterprise domains to be protected - /// - [ODataType("microsoft.graph.windowsInformationProtectionResourceCollection")] - [Selectable] - [DerivedType("microsoft.graph.windowsInformationProtection")] - public System.Object[] enterpriseProtectedDomainNames { get; set; } - - /// - /// The "protectionUnderLockConfigRequired" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// Specifies whether the protection under lock feature (also known as encrypt under pin) should be configured - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.windowsInformationProtection")] - public System.Boolean protectionUnderLockConfigRequired { get; set; } - - /// - /// The "dataRecoveryCertificate" property, of type "microsoft.graph.windowsInformationProtectionDataRecoveryCertificate". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// Specifies a recovery certificate that can be used for data recovery of encrypted files. This is the same as the data recovery agent(DRA) certificate for encrypting file system(EFS) - /// - [ODataType("microsoft.graph.windowsInformationProtectionDataRecoveryCertificate")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.windowsInformationProtection")] - public System.Object dataRecoveryCertificate { get; set; } - - /// - /// The "revokeOnUnenrollDisabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// This policy controls whether to revoke the WIP keys when a device unenrolls from the management service. If set to 1 (Don't revoke keys), the keys will not be revoked and the user will continue to have access to protected files after unenrollment. If the keys are not revoked, there will be no revoked file cleanup subsequently. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.windowsInformationProtection")] - public System.Boolean revokeOnUnenrollDisabled { get; set; } - - /// - /// The "rightsManagementServicesTemplateId" property, of type "Edm.Guid". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// TemplateID GUID to use for RMS encryption. The RMS template allows the IT admin to configure the details about who has access to RMS-protected file and how long they have access - /// - [ODataType("Edm.Guid")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.windowsInformationProtection")] - public System.Guid rightsManagementServicesTemplateId { get; set; } - - /// - /// The "azureRightsManagementServicesAllowed" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// Specifies whether to allow Azure RMS encryption for WIP - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.windowsInformationProtection")] - public System.Boolean azureRightsManagementServicesAllowed { get; set; } - - /// - /// The "iconsVisible" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// Determines whether overlays are added to icons for WIP protected files in Explorer and enterprise only app tiles in the Start menu. Starting in Windows 10, version 1703 this setting also configures the visibility of the WIP icon in the title bar of a WIP-protected app - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.windowsInformationProtection")] - public System.Boolean iconsVisible { get; set; } - - /// - /// The "protectedApps" property, of type "microsoft.graph.windowsInformationProtectionApp". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// Protected applications can access enterprise data and the data handled by those applications are protected with encryption - /// - [ODataType("microsoft.graph.windowsInformationProtectionApp", "microsoft.graph.windowsInformationProtectionDesktopApp", "microsoft.graph.windowsInformationProtectionStoreApp")] - [Selectable] - [DerivedType("microsoft.graph.windowsInformationProtection")] - public System.Object[] protectedApps { get; set; } - - /// - /// The "exemptApps" property, of type "microsoft.graph.windowsInformationProtectionApp". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// Exempt applications can also access enterprise data, but the data handled by those applications are not protected. This is because some critical enterprise applications may have compatibility problems with encrypted data. - /// - [ODataType("microsoft.graph.windowsInformationProtectionApp", "microsoft.graph.windowsInformationProtectionDesktopApp", "microsoft.graph.windowsInformationProtectionStoreApp")] - [Selectable] - [DerivedType("microsoft.graph.windowsInformationProtection")] - public System.Object[] exemptApps { get; set; } - - /// - /// The "enterpriseNetworkDomainNames" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// This is the list of domains that comprise the boundaries of the enterprise. Data from one of these domains that is sent to a device will be considered enterprise data and protected These locations will be considered a safe destination for enterprise data to be shared to - /// - [ODataType("microsoft.graph.windowsInformationProtectionResourceCollection")] - [Selectable] - [DerivedType("microsoft.graph.windowsInformationProtection")] - public System.Object[] enterpriseNetworkDomainNames { get; set; } - - /// - /// The "enterpriseProxiedDomains" property, of type "microsoft.graph.windowsInformationProtectionProxiedDomainCollection". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// Contains a list of Enterprise resource domains hosted in the cloud that need to be protected. Connections to these resources are considered enterprise data. If a proxy is paired with a cloud resource, traffic to the cloud resource will be routed through the enterprise network via the denoted proxy server (on Port 80). A proxy server used for this purpose must also be configured using the EnterpriseInternalProxyServers policy - /// - [ODataType("microsoft.graph.windowsInformationProtectionProxiedDomainCollection")] - [Selectable] - [DerivedType("microsoft.graph.windowsInformationProtection")] - public System.Object[] enterpriseProxiedDomains { get; set; } - - /// - /// The "enterpriseIPRanges" property, of type "microsoft.graph.windowsInformationProtectionIPRangeCollection". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// Sets the enterprise IP ranges that define the computers in the enterprise network. Data that comes from those computers will be considered part of the enterprise and protected. These locations will be considered a safe destination for enterprise data to be shared to - /// - [ODataType("microsoft.graph.windowsInformationProtectionIPRangeCollection")] - [Selectable] - [DerivedType("microsoft.graph.windowsInformationProtection")] - public System.Object[] enterpriseIPRanges { get; set; } - - /// - /// The "enterpriseIPRangesAreAuthoritative" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// Boolean value that tells the client to accept the configured list and not to use heuristics to attempt to find other subnets. Default is false - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.windowsInformationProtection")] - public System.Boolean enterpriseIPRangesAreAuthoritative { get; set; } - - /// - /// The "enterpriseProxyServers" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// This is a list of proxy servers. Any server not on this list is considered non-enterprise - /// - [ODataType("microsoft.graph.windowsInformationProtectionResourceCollection")] - [Selectable] - [DerivedType("microsoft.graph.windowsInformationProtection")] - public System.Object[] enterpriseProxyServers { get; set; } - - /// - /// The "enterpriseInternalProxyServers" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// This is the comma-separated list of internal proxy servers. For example, "157.54.14.28, 157.54.11.118, 10.202.14.167, 157.53.14.163, 157.69.210.59". These proxies have been configured by the admin to connect to specific resources on the Internet. They are considered to be enterprise network locations. The proxies are only leveraged in configuring the EnterpriseProxiedDomains policy to force traffic to the matched domains through these proxies - /// - [ODataType("microsoft.graph.windowsInformationProtectionResourceCollection")] - [Selectable] - [DerivedType("microsoft.graph.windowsInformationProtection")] - public System.Object[] enterpriseInternalProxyServers { get; set; } - - /// - /// The "enterpriseProxyServersAreAuthoritative" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// Boolean value that tells the client to accept the configured list of proxies and not try to detect other work proxies. Default is false - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.windowsInformationProtection")] - public System.Boolean enterpriseProxyServersAreAuthoritative { get; set; } - - /// - /// The "neutralDomainResources" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// List of domain names that can used for work or personal resource - /// - [ODataType("microsoft.graph.windowsInformationProtectionResourceCollection")] - [Selectable] - [DerivedType("microsoft.graph.windowsInformationProtection")] - public System.Object[] neutralDomainResources { get; set; } - - /// - /// The "indexingEncryptedStoresOrItemsBlocked" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// This switch is for the Windows Search Indexer, to allow or disallow indexing of items - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.windowsInformationProtection")] - public System.Boolean indexingEncryptedStoresOrItemsBlocked { get; set; } - - /// - /// The "smbAutoEncryptedFileExtensions" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// Specifies a list of file extensions, so that files with these extensions are encrypted when copying from an SMB share within the corporate boundary - /// - [ODataType("microsoft.graph.windowsInformationProtectionResourceCollection")] - [Selectable] - [DerivedType("microsoft.graph.windowsInformationProtection")] - public System.Object[] smbAutoEncryptedFileExtensions { get; set; } - - /// - /// The "isAssigned" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// Indicates if the policy is deployed to any inclusion groups or not. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.windowsInformationProtection")] - public System.Boolean isAssigned { get; set; } - - /// - /// The "protectedAppLockerFiles" property, of type "microsoft.graph.windowsInformationProtectionAppLockerFile". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// Another way to input protected apps through xml files - /// - [ODataType("microsoft.graph.windowsInformationProtectionAppLockerFile")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.windowsInformationProtection")] - public System.Object[] protectedAppLockerFiles { get; set; } - - /// - /// The "exemptAppLockerFiles" property, of type "microsoft.graph.windowsInformationProtectionAppLockerFile". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// Another way to input exempt apps through xml files - /// - [ODataType("microsoft.graph.windowsInformationProtectionAppLockerFile")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.windowsInformationProtection")] - public System.Object[] exemptAppLockerFiles { get; set; } - - /// - /// The "assignments" property, of type "microsoft.graph.targetedManagedAppPolicyAssignment". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// Navigation property to list of security groups targeted for policy. - /// - [ODataType("microsoft.graph.targetedManagedAppPolicyAssignment")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.windowsInformationProtection")] - public System.Object[] assignments { get; set; } - - /// - /// The "revokeOnMdmHandoffDisabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.windowsInformationProtectionPolicy" type. - /// New property in RS2, pending documentation - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.windowsInformationProtectionPolicy")] - public System.Boolean revokeOnMdmHandoffDisabled { get; set; } - - /// - /// The "mdmEnrollmentUrl" property, of type "Edm.String". - /// This property is on the "microsoft.graph.windowsInformationProtectionPolicy" type. - /// Enrollment url for the MDM - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.windowsInformationProtectionPolicy")] - public System.String mdmEnrollmentUrl { get; set; } - - /// - /// The "windowsHelloForBusinessBlocked" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.windowsInformationProtectionPolicy" type. - /// Boolean value that sets Windows Hello for Business as a method for signing into Windows. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.windowsInformationProtectionPolicy")] - public System.Boolean windowsHelloForBusinessBlocked { get; set; } - - /// - /// The "pinMinimumLength" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.windowsInformationProtectionPolicy" type. - /// Integer value that sets the minimum number of characters required for the PIN. Default value is 4. The lowest number you can configure for this policy setting is 4. The largest number you can configure must be less than the number configured in the Maximum PIN length policy setting or the number 127, whichever is the lowest. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.windowsInformationProtectionPolicy")] - public System.Int32 pinMinimumLength { get; set; } - - /// - /// The "pinUppercaseLetters" property, of type "microsoft.graph.windowsInformationProtectionPinCharacterRequirements". - /// This property is on the "microsoft.graph.windowsInformationProtectionPolicy" type. - /// Integer value that configures the use of uppercase letters in the Windows Hello for Business PIN. Default is NotAllow. - /// - [ODataType("microsoft.graph.windowsInformationProtectionPinCharacterRequirements")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.windowsInformationProtectionPolicy")] - public System.String pinUppercaseLetters { get; set; } - - /// - /// The "pinLowercaseLetters" property, of type "microsoft.graph.windowsInformationProtectionPinCharacterRequirements". - /// This property is on the "microsoft.graph.windowsInformationProtectionPolicy" type. - /// Integer value that configures the use of lowercase letters in the Windows Hello for Business PIN. Default is NotAllow. - /// - [ODataType("microsoft.graph.windowsInformationProtectionPinCharacterRequirements")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.windowsInformationProtectionPolicy")] - public System.String pinLowercaseLetters { get; set; } - - /// - /// The "pinSpecialCharacters" property, of type "microsoft.graph.windowsInformationProtectionPinCharacterRequirements". - /// This property is on the "microsoft.graph.windowsInformationProtectionPolicy" type. - /// Integer value that configures the use of special characters in the Windows Hello for Business PIN. Valid special characters for Windows Hello for Business PIN gestures include: ! " # $ % & ' ( ) * + , - . / : ; < = > ? @ [ \ ] ^ _ ` { | } ~. Default is NotAllow. - /// - [ODataType("microsoft.graph.windowsInformationProtectionPinCharacterRequirements")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.windowsInformationProtectionPolicy")] - public System.String pinSpecialCharacters { get; set; } - - /// - /// The "pinExpirationDays" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.windowsInformationProtectionPolicy" type. - /// Integer value specifies the period of time (in days) that a PIN can be used before the system requires the user to change it. The largest number you can configure for this policy setting is 730. The lowest number you can configure for this policy setting is 0. If this policy is set to 0, then the user's PIN will never expire. This node was added in Windows 10, version 1511. Default is 0. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.windowsInformationProtectionPolicy")] - public System.Int32 pinExpirationDays { get; set; } - - /// - /// The "numberOfPastPinsRemembered" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.windowsInformationProtectionPolicy" type. - /// Integer value that specifies the number of past PINs that can be associated to a user account that can't be reused. The largest number you can configure for this policy setting is 50. The lowest number you can configure for this policy setting is 0. If this policy is set to 0, then storage of previous PINs is not required. This node was added in Windows 10, version 1511. Default is 0. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.windowsInformationProtectionPolicy")] - public System.Int32 numberOfPastPinsRemembered { get; set; } - - /// - /// The "passwordMaximumAttemptCount" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.windowsInformationProtectionPolicy" type. - /// The number of authentication failures allowed before the device will be wiped. A value of 0 disables device wipe functionality. Range is an integer X where 4 <= X <= 16 for desktop and 0 <= X <= 999 for mobile devices. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.windowsInformationProtectionPolicy")] - public System.Int32 passwordMaximumAttemptCount { get; set; } - - /// - /// The "minutesOfInactivityBeforeDeviceLock" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.windowsInformationProtectionPolicy" type. - /// Specifies the maximum amount of time (in minutes) allowed after the device is idle that will cause the device to become PIN or password locked. Range is an integer X where 0 <= X <= 999. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.windowsInformationProtectionPolicy")] - public System.Int32 minutesOfInactivityBeforeDeviceLock { get; set; } - - /// - /// The "daysWithoutContactBeforeUnenroll" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.windowsInformationProtectionPolicy" type. - /// Offline interval before app data is wiped (days) - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.windowsInformationProtectionPolicy")] - public System.Int32 daysWithoutContactBeforeUnenroll { get; set; } - - /// - /// The "customSettings" property, of type "microsoft.graph.keyValuePair". - /// This property is on the "microsoft.graph.managedAppConfiguration" type. - /// A set of string key and string value pairs to be sent to apps for users to whom the configuration is scoped, unalterned by this service - /// - [ODataType("microsoft.graph.keyValuePair")] - [Selectable] - [DerivedType("microsoft.graph.managedAppConfiguration")] - public System.Object[] customSettings { get; set; } - - /// - /// The "deployedAppCount" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.targetedManagedAppConfiguration" type. - /// Count of apps to which the current policy is deployed. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.targetedManagedAppConfiguration")] - public System.Int32 deployedAppCount { get; set; } - - /// - /// The "apps" property, of type "microsoft.graph.managedMobileApp". - /// This property is on the "microsoft.graph.targetedManagedAppConfiguration" type. - /// List of apps to which the policy is deployed. - /// - [ODataType("microsoft.graph.managedMobileApp")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.targetedManagedAppConfiguration")] - public System.Object[] apps { get; set; } - - /// - /// The "deploymentSummary" property, of type "microsoft.graph.managedAppPolicyDeploymentSummary". - /// This property is on the "microsoft.graph.targetedManagedAppConfiguration" type. - /// Navigation property to deployment summary of the configuration. - /// - [ODataType("microsoft.graph.managedAppPolicyDeploymentSummary")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.targetedManagedAppConfiguration")] - public System.Object deploymentSummary { get; set; } - - /// - /// The "periodOfflineBeforeAccessCheck" property, of type "Edm.Duration". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// The period after which access is checked when the device is not connected to the internet. - /// - [ODataType("Edm.Duration")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.managedAppProtection")] - public System.TimeSpan periodOfflineBeforeAccessCheck { get; set; } - - /// - /// The "periodOnlineBeforeAccessCheck" property, of type "Edm.Duration". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// The period after which access is checked when the device is connected to the internet. - /// - [ODataType("Edm.Duration")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.managedAppProtection")] - public System.TimeSpan periodOnlineBeforeAccessCheck { get; set; } - - /// - /// The "allowedInboundDataTransferSources" property, of type "microsoft.graph.managedAppDataTransferLevel". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Sources from which data is allowed to be transferred. - /// - [ODataType("microsoft.graph.managedAppDataTransferLevel")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.managedAppProtection")] - public System.String allowedInboundDataTransferSources { get; set; } - - /// - /// The "allowedOutboundDataTransferDestinations" property, of type "microsoft.graph.managedAppDataTransferLevel". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Destinations to which data is allowed to be transferred. - /// - [ODataType("microsoft.graph.managedAppDataTransferLevel")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.managedAppProtection")] - public System.String allowedOutboundDataTransferDestinations { get; set; } - - /// - /// The "organizationalCredentialsRequired" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Indicates whether organizational credentials are required for app use. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.managedAppProtection")] - public System.Boolean organizationalCredentialsRequired { get; set; } - - /// - /// The "allowedOutboundClipboardSharingLevel" property, of type "microsoft.graph.managedAppClipboardSharingLevel". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// The level to which the clipboard may be shared between apps on the managed device. - /// - [ODataType("microsoft.graph.managedAppClipboardSharingLevel")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.managedAppProtection")] - public System.String allowedOutboundClipboardSharingLevel { get; set; } - - /// - /// The "dataBackupBlocked" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Indicates whether the backup of a managed app's data is blocked. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.managedAppProtection")] - public System.Boolean dataBackupBlocked { get; set; } - - /// - /// The "deviceComplianceRequired" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Indicates whether device compliance is required. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.managedAppProtection")] - public System.Boolean deviceComplianceRequired { get; set; } - - /// - /// The "managedBrowserToOpenLinksRequired" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Indicates whether internet links should be opened in the managed browser app. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.managedAppProtection")] - public System.Boolean managedBrowserToOpenLinksRequired { get; set; } - - /// - /// The "saveAsBlocked" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Indicates whether users may use the "Save As" menu item to save a copy of protected files. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.managedAppProtection")] - public System.Boolean saveAsBlocked { get; set; } - - /// - /// The "periodOfflineBeforeWipeIsEnforced" property, of type "Edm.Duration". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// The amount of time an app is allowed to remain disconnected from the internet before all managed data it is wiped. - /// - [ODataType("Edm.Duration")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.managedAppProtection")] - public System.TimeSpan periodOfflineBeforeWipeIsEnforced { get; set; } - - /// - /// The "pinRequired" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Indicates whether an app-level pin is required. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.managedAppProtection")] - public System.Boolean pinRequired { get; set; } - - /// - /// The "maximumPinRetries" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Maximum number of incorrect pin retry attempts before the managed app is either blocked or wiped. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.managedAppProtection")] - public System.Int32 maximumPinRetries { get; set; } - - /// - /// The "simplePinBlocked" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Indicates whether simplePin is blocked. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.managedAppProtection")] - public System.Boolean simplePinBlocked { get; set; } - - /// - /// The "minimumPinLength" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Minimum pin length required for an app-level pin if PinRequired is set to True - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.managedAppProtection")] - public System.Int32 minimumPinLength { get; set; } - - /// - /// The "pinCharacterSet" property, of type "microsoft.graph.managedAppPinCharacterSet". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Character set which may be used for an app-level pin if PinRequired is set to True. - /// - [ODataType("microsoft.graph.managedAppPinCharacterSet")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.managedAppProtection")] - public System.String pinCharacterSet { get; set; } - - /// - /// The "periodBeforePinReset" property, of type "Edm.Duration". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// TimePeriod before the all-level pin must be reset if PinRequired is set to True. - /// - [ODataType("Edm.Duration")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.managedAppProtection")] - public System.TimeSpan periodBeforePinReset { get; set; } - - /// - /// The "allowedDataStorageLocations" property, of type "microsoft.graph.managedAppDataStorageLocation". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Data storage locations where a user may store managed data. - /// - [ODataType("microsoft.graph.managedAppDataStorageLocation")] - [Selectable] - [DerivedType("microsoft.graph.managedAppProtection")] - public System.String[] allowedDataStorageLocations { get; set; } - - /// - /// The "contactSyncBlocked" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Indicates whether contacts can be synced to the user's device. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.managedAppProtection")] - public System.Boolean contactSyncBlocked { get; set; } - - /// - /// The "printBlocked" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Indicates whether printing is allowed from managed apps. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.managedAppProtection")] - public System.Boolean printBlocked { get; set; } - - /// - /// The "fingerprintBlocked" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Indicates whether use of the fingerprint reader is allowed in place of a pin if PinRequired is set to True. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.managedAppProtection")] - public System.Boolean fingerprintBlocked { get; set; } - - /// - /// The "disableAppPinIfDevicePinIsSet" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Indicates whether use of the app pin is required if the device pin is set. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.managedAppProtection")] - public System.Boolean disableAppPinIfDevicePinIsSet { get; set; } - - /// - /// The "minimumRequiredOsVersion" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Versions less than the specified version will block the managed app from accessing company data. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.managedAppProtection")] - public System.String minimumRequiredOsVersion { get; set; } - - /// - /// The "minimumWarningOsVersion" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Versions less than the specified version will result in warning message on the managed app from accessing company data. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.managedAppProtection")] - public System.String minimumWarningOsVersion { get; set; } - - /// - /// The "minimumRequiredAppVersion" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Versions less than the specified version will block the managed app from accessing company data. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.managedAppProtection")] - public System.String minimumRequiredAppVersion { get; set; } - - /// - /// The "minimumWarningAppVersion" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Versions less than the specified version will result in warning message on the managed app. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.managedAppProtection")] - public System.String minimumWarningAppVersion { get; set; } - - /// - /// The "appDataEncryptionType" property, of type "microsoft.graph.managedAppDataEncryptionType". - /// This property is on the "microsoft.graph.defaultManagedAppProtection" type. - /// Type of encryption which should be used for data in a managed app. (iOS Only) - /// - [ODataType("microsoft.graph.managedAppDataEncryptionType")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.defaultManagedAppProtection")] - public System.String appDataEncryptionType { get; set; } - - /// - /// The "screenCaptureBlocked" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.defaultManagedAppProtection" type. - /// Indicates whether screen capture is blocked. (Android only) - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.defaultManagedAppProtection")] - public System.Boolean screenCaptureBlocked { get; set; } - - /// - /// The "encryptAppData" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.defaultManagedAppProtection" type. - /// Indicates whether managed-app data should be encrypted. (Android only) - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.defaultManagedAppProtection")] - public System.Boolean encryptAppData { get; set; } - - /// - /// The "disableAppEncryptionIfDeviceEncryptionIsEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.defaultManagedAppProtection" type. - /// When this setting is enabled, app level encryption is disabled if device level encryption is enabled. (Android only) - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.defaultManagedAppProtection")] - public System.Boolean disableAppEncryptionIfDeviceEncryptionIsEnabled { get; set; } - - /// - /// The "minimumRequiredSdkVersion" property, of type "Edm.String". - /// This property is on the "microsoft.graph.defaultManagedAppProtection" type. - /// Versions less than the specified version will block the managed app from accessing company data. (iOS Only) - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.defaultManagedAppProtection")] - public System.String minimumRequiredSdkVersion { get; set; } - - /// - /// The "minimumRequiredPatchVersion" property, of type "Edm.String". - /// This property is on the "microsoft.graph.defaultManagedAppProtection" type. - /// Define the oldest required Android security patch level a user can have to gain secure access to the app. (Android only) - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.defaultManagedAppProtection")] - public System.String minimumRequiredPatchVersion { get; set; } - - /// - /// The "minimumWarningPatchVersion" property, of type "Edm.String". - /// This property is on the "microsoft.graph.defaultManagedAppProtection" type. - /// Define the oldest recommended Android security patch level a user can have for secure access to the app. (Android only) - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.defaultManagedAppProtection")] - public System.String minimumWarningPatchVersion { get; set; } - - /// - /// The "faceIdBlocked" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.defaultManagedAppProtection" type. - /// Indicates whether use of the FaceID is allowed in place of a pin if PinRequired is set to True. (iOS Only) - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.defaultManagedAppProtection")] - public System.Boolean faceIdBlocked { get; set; } - - internal override System.String GetResourcePath() - { - return $"deviceAppManagement/managedAppRegistrations/{managedAppRegistrationId}/appliedPolicies/{managedAppPolicyId ?? string.Empty}"; - } - } - - /// - /// Creates a "microsoft.graph.managedAppPolicy" object. - /// POST ~/deviceAppManagement/managedAppRegistrations/{managedAppRegistrationId}/appliedPolicies - /// Adds a "microsoft.graph.managedAppPolicy" object to the "appliedPolicies" collection. - /// Zero or more policys already applied on the registered app when it last synchronized with managment service. - /// - /// GitHub Repository - [Cmdlet("New", "DeviceAppManagement_ManagedAppRegistrations_AppliedPolicies", ConfirmImpact = ConfirmImpact.Low)] - [ODataType("microsoft.graph.managedAppPolicy", "microsoft.graph.windowsInformationProtection", "microsoft.graph.windowsInformationProtectionPolicy", "microsoft.graph.mdmWindowsInformationProtectionPolicy", "microsoft.graph.managedAppConfiguration", "microsoft.graph.targetedManagedAppConfiguration", "microsoft.graph.managedAppProtection", "microsoft.graph.defaultManagedAppProtection", "microsoft.graph.targetedManagedAppProtection", "microsoft.graph.androidManagedAppProtection", "microsoft.graph.iosManagedAppProtection")] - [ResourceTypePropertyName("appliedPolicyODataType")] - [ResourceReference] - public class New_DeviceAppManagement_ManagedAppRegistrations_AppliedPolicies : PostCmdlet - { - /// - /// The ID for a "microsoft.graph.managedAppPolicy" object in the "appliedPolicies" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - public System.String managedAppPolicyId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection.")] - public System.String managedAppRegistrationId { get; set; } - - /// - /// The "displayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedAppPolicy" type. - /// Policy display name. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "displayName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "displayName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "displayName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "displayName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppConfiguration", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "displayName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppConfiguration", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "displayName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "displayName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "displayName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "displayName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "displayName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "displayName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "displayName" property, of type "Edm.String".")] - public System.String displayName { get; set; } - - /// - /// The "description" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedAppPolicy" type. - /// The policy's description. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "description" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "description" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "description" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "description" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppConfiguration", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "description" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppConfiguration", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "description" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "description" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "description" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "description" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "description" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "description" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "description" property, of type "Edm.String".")] - public System.String description { get; set; } - - /// - /// The "createdDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.managedAppPolicy" type. - /// The date and time the policy was created. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "createdDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "createdDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "createdDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "createdDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppConfiguration", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "createdDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppConfiguration", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "createdDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "createdDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "createdDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "createdDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "createdDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "createdDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "createdDateTime" property, of type "Edm.DateTimeOffset".")] - public System.DateTimeOffset createdDateTime { get; set; } - - /// - /// The "lastModifiedDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.managedAppPolicy" type. - /// Last time the policy was modified. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "lastModifiedDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "lastModifiedDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "lastModifiedDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "lastModifiedDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppConfiguration", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "lastModifiedDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppConfiguration", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "lastModifiedDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "lastModifiedDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "lastModifiedDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "lastModifiedDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "lastModifiedDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "lastModifiedDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "lastModifiedDateTime" property, of type "Edm.DateTimeOffset".")] - public System.DateTimeOffset lastModifiedDateTime { get; set; } - - /// - /// The "version" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedAppPolicy" type. - /// Version of the entity. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "version" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "version" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "version" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "version" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppConfiguration", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "version" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppConfiguration", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "version" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "version" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "version" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "version" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "version" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "version" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "version" property, of type "Edm.String".")] - public System.String version { get; set; } - - /// - /// The "enforcementLevel" property, of type "microsoft.graph.windowsInformationProtectionEnforcementLevel". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// WIP enforcement level.See the Enum definition for supported values - /// - /// Valid values: 'noProtection', 'encryptAndAuditOnly', 'encryptAuditAndPrompt', 'encryptAuditAndBlock' - /// - /// - [ODataType("microsoft.graph.windowsInformationProtectionEnforcementLevel")] - [Selectable] - [ValidateSet(@"noProtection", @"encryptAndAuditOnly", @"encryptAuditAndPrompt", @"encryptAuditAndBlock")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "enforcementLevel" property, of type "microsoft.graph.windowsInformationProtectionEnforcementLevel".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "enforcementLevel" property, of type "microsoft.graph.windowsInformationProtectionEnforcementLevel".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "enforcementLevel" property, of type "microsoft.graph.windowsInformationProtectionEnforcementLevel".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "enforcementLevel" property, of type "microsoft.graph.windowsInformationProtectionEnforcementLevel".")] - public System.String enforcementLevel { get; set; } - - /// - /// The "enterpriseDomain" property, of type "Edm.String". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// Primary enterprise domain - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "enterpriseDomain" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "enterpriseDomain" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "enterpriseDomain" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "enterpriseDomain" property, of type "Edm.String".")] - public System.String enterpriseDomain { get; set; } - - /// - /// The "enterpriseProtectedDomainNames" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// List of enterprise domains to be protected - /// - [ODataType("microsoft.graph.windowsInformationProtectionResourceCollection")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "enterpriseProtectedDomainNames" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "enterpriseProtectedDomainNames" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "enterpriseProtectedDomainNames" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "enterpriseProtectedDomainNames" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection".")] - public System.Object[] enterpriseProtectedDomainNames { get; set; } - - /// - /// The "protectionUnderLockConfigRequired" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// Specifies whether the protection under lock feature (also known as encrypt under pin) should be configured - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "protectionUnderLockConfigRequired" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "protectionUnderLockConfigRequired" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "protectionUnderLockConfigRequired" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "protectionUnderLockConfigRequired" property, of type "Edm.Boolean".")] - public System.Boolean protectionUnderLockConfigRequired { get; set; } - - /// - /// The "dataRecoveryCertificate" property, of type "microsoft.graph.windowsInformationProtectionDataRecoveryCertificate". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// Specifies a recovery certificate that can be used for data recovery of encrypted files. This is the same as the data recovery agent(DRA) certificate for encrypting file system(EFS) - /// - [ODataType("microsoft.graph.windowsInformationProtectionDataRecoveryCertificate")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "dataRecoveryCertificate" property, of type "microsoft.graph.windowsInformationProtectionDataRecoveryCertificate".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "dataRecoveryCertificate" property, of type "microsoft.graph.windowsInformationProtectionDataRecoveryCertificate".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "dataRecoveryCertificate" property, of type "microsoft.graph.windowsInformationProtectionDataRecoveryCertificate".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "dataRecoveryCertificate" property, of type "microsoft.graph.windowsInformationProtectionDataRecoveryCertificate".")] - public System.Object dataRecoveryCertificate { get; set; } - - /// - /// The "revokeOnUnenrollDisabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// This policy controls whether to revoke the WIP keys when a device unenrolls from the management service. If set to 1 (Don't revoke keys), the keys will not be revoked and the user will continue to have access to protected files after unenrollment. If the keys are not revoked, there will be no revoked file cleanup subsequently. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "revokeOnUnenrollDisabled" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "revokeOnUnenrollDisabled" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "revokeOnUnenrollDisabled" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "revokeOnUnenrollDisabled" property, of type "Edm.Boolean".")] - public System.Boolean revokeOnUnenrollDisabled { get; set; } - - /// - /// The "rightsManagementServicesTemplateId" property, of type "Edm.Guid". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// TemplateID GUID to use for RMS encryption. The RMS template allows the IT admin to configure the details about who has access to RMS-protected file and how long they have access - /// - [ODataType("Edm.Guid")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "rightsManagementServicesTemplateId" property, of type "Edm.Guid".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "rightsManagementServicesTemplateId" property, of type "Edm.Guid".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "rightsManagementServicesTemplateId" property, of type "Edm.Guid".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "rightsManagementServicesTemplateId" property, of type "Edm.Guid".")] - public System.Guid rightsManagementServicesTemplateId { get; set; } - - /// - /// The "azureRightsManagementServicesAllowed" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// Specifies whether to allow Azure RMS encryption for WIP - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "azureRightsManagementServicesAllowed" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "azureRightsManagementServicesAllowed" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "azureRightsManagementServicesAllowed" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "azureRightsManagementServicesAllowed" property, of type "Edm.Boolean".")] - public System.Boolean azureRightsManagementServicesAllowed { get; set; } - - /// - /// The "iconsVisible" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// Determines whether overlays are added to icons for WIP protected files in Explorer and enterprise only app tiles in the Start menu. Starting in Windows 10, version 1703 this setting also configures the visibility of the WIP icon in the title bar of a WIP-protected app - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "iconsVisible" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "iconsVisible" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "iconsVisible" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "iconsVisible" property, of type "Edm.Boolean".")] - public System.Boolean iconsVisible { get; set; } - - /// - /// The "protectedApps" property, of type "microsoft.graph.windowsInformationProtectionApp". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// Protected applications can access enterprise data and the data handled by those applications are protected with encryption - /// - [ODataType("microsoft.graph.windowsInformationProtectionApp", "microsoft.graph.windowsInformationProtectionDesktopApp", "microsoft.graph.windowsInformationProtectionStoreApp")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "protectedApps" property, of type "microsoft.graph.windowsInformationProtectionApp".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "protectedApps" property, of type "microsoft.graph.windowsInformationProtectionApp".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "protectedApps" property, of type "microsoft.graph.windowsInformationProtectionApp".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "protectedApps" property, of type "microsoft.graph.windowsInformationProtectionApp".")] - public System.Object[] protectedApps { get; set; } - - /// - /// The "exemptApps" property, of type "microsoft.graph.windowsInformationProtectionApp". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// Exempt applications can also access enterprise data, but the data handled by those applications are not protected. This is because some critical enterprise applications may have compatibility problems with encrypted data. - /// - [ODataType("microsoft.graph.windowsInformationProtectionApp", "microsoft.graph.windowsInformationProtectionDesktopApp", "microsoft.graph.windowsInformationProtectionStoreApp")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "exemptApps" property, of type "microsoft.graph.windowsInformationProtectionApp".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "exemptApps" property, of type "microsoft.graph.windowsInformationProtectionApp".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "exemptApps" property, of type "microsoft.graph.windowsInformationProtectionApp".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "exemptApps" property, of type "microsoft.graph.windowsInformationProtectionApp".")] - public System.Object[] exemptApps { get; set; } - - /// - /// The "enterpriseNetworkDomainNames" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// This is the list of domains that comprise the boundaries of the enterprise. Data from one of these domains that is sent to a device will be considered enterprise data and protected These locations will be considered a safe destination for enterprise data to be shared to - /// - [ODataType("microsoft.graph.windowsInformationProtectionResourceCollection")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "enterpriseNetworkDomainNames" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "enterpriseNetworkDomainNames" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "enterpriseNetworkDomainNames" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "enterpriseNetworkDomainNames" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection".")] - public System.Object[] enterpriseNetworkDomainNames { get; set; } - - /// - /// The "enterpriseProxiedDomains" property, of type "microsoft.graph.windowsInformationProtectionProxiedDomainCollection". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// Contains a list of Enterprise resource domains hosted in the cloud that need to be protected. Connections to these resources are considered enterprise data. If a proxy is paired with a cloud resource, traffic to the cloud resource will be routed through the enterprise network via the denoted proxy server (on Port 80). A proxy server used for this purpose must also be configured using the EnterpriseInternalProxyServers policy - /// - [ODataType("microsoft.graph.windowsInformationProtectionProxiedDomainCollection")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "enterpriseProxiedDomains" property, of type "microsoft.graph.windowsInformationProtectionProxiedDomainCollection".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "enterpriseProxiedDomains" property, of type "microsoft.graph.windowsInformationProtectionProxiedDomainCollection".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "enterpriseProxiedDomains" property, of type "microsoft.graph.windowsInformationProtectionProxiedDomainCollection".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "enterpriseProxiedDomains" property, of type "microsoft.graph.windowsInformationProtectionProxiedDomainCollection".")] - public System.Object[] enterpriseProxiedDomains { get; set; } - - /// - /// The "enterpriseIPRanges" property, of type "microsoft.graph.windowsInformationProtectionIPRangeCollection". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// Sets the enterprise IP ranges that define the computers in the enterprise network. Data that comes from those computers will be considered part of the enterprise and protected. These locations will be considered a safe destination for enterprise data to be shared to - /// - [ODataType("microsoft.graph.windowsInformationProtectionIPRangeCollection")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "enterpriseIPRanges" property, of type "microsoft.graph.windowsInformationProtectionIPRangeCollection".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "enterpriseIPRanges" property, of type "microsoft.graph.windowsInformationProtectionIPRangeCollection".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "enterpriseIPRanges" property, of type "microsoft.graph.windowsInformationProtectionIPRangeCollection".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "enterpriseIPRanges" property, of type "microsoft.graph.windowsInformationProtectionIPRangeCollection".")] - public System.Object[] enterpriseIPRanges { get; set; } - - /// - /// The "enterpriseIPRangesAreAuthoritative" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// Boolean value that tells the client to accept the configured list and not to use heuristics to attempt to find other subnets. Default is false - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "enterpriseIPRangesAreAuthoritative" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "enterpriseIPRangesAreAuthoritative" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "enterpriseIPRangesAreAuthoritative" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "enterpriseIPRangesAreAuthoritative" property, of type "Edm.Boolean".")] - public System.Boolean enterpriseIPRangesAreAuthoritative { get; set; } - - /// - /// The "enterpriseProxyServers" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// This is a list of proxy servers. Any server not on this list is considered non-enterprise - /// - [ODataType("microsoft.graph.windowsInformationProtectionResourceCollection")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "enterpriseProxyServers" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "enterpriseProxyServers" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "enterpriseProxyServers" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "enterpriseProxyServers" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection".")] - public System.Object[] enterpriseProxyServers { get; set; } - - /// - /// The "enterpriseInternalProxyServers" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// This is the comma-separated list of internal proxy servers. For example, "157.54.14.28, 157.54.11.118, 10.202.14.167, 157.53.14.163, 157.69.210.59". These proxies have been configured by the admin to connect to specific resources on the Internet. They are considered to be enterprise network locations. The proxies are only leveraged in configuring the EnterpriseProxiedDomains policy to force traffic to the matched domains through these proxies - /// - [ODataType("microsoft.graph.windowsInformationProtectionResourceCollection")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "enterpriseInternalProxyServers" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "enterpriseInternalProxyServers" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "enterpriseInternalProxyServers" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "enterpriseInternalProxyServers" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection".")] - public System.Object[] enterpriseInternalProxyServers { get; set; } - - /// - /// The "enterpriseProxyServersAreAuthoritative" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// Boolean value that tells the client to accept the configured list of proxies and not try to detect other work proxies. Default is false - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "enterpriseProxyServersAreAuthoritative" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "enterpriseProxyServersAreAuthoritative" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "enterpriseProxyServersAreAuthoritative" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "enterpriseProxyServersAreAuthoritative" property, of type "Edm.Boolean".")] - public System.Boolean enterpriseProxyServersAreAuthoritative { get; set; } - - /// - /// The "neutralDomainResources" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// List of domain names that can used for work or personal resource - /// - [ODataType("microsoft.graph.windowsInformationProtectionResourceCollection")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "neutralDomainResources" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "neutralDomainResources" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "neutralDomainResources" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "neutralDomainResources" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection".")] - public System.Object[] neutralDomainResources { get; set; } - - /// - /// The "indexingEncryptedStoresOrItemsBlocked" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// This switch is for the Windows Search Indexer, to allow or disallow indexing of items - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "indexingEncryptedStoresOrItemsBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "indexingEncryptedStoresOrItemsBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "indexingEncryptedStoresOrItemsBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "indexingEncryptedStoresOrItemsBlocked" property, of type "Edm.Boolean".")] - public System.Boolean indexingEncryptedStoresOrItemsBlocked { get; set; } - - /// - /// The "smbAutoEncryptedFileExtensions" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// Specifies a list of file extensions, so that files with these extensions are encrypted when copying from an SMB share within the corporate boundary - /// - [ODataType("microsoft.graph.windowsInformationProtectionResourceCollection")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "smbAutoEncryptedFileExtensions" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "smbAutoEncryptedFileExtensions" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "smbAutoEncryptedFileExtensions" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "smbAutoEncryptedFileExtensions" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection".")] - public System.Object[] smbAutoEncryptedFileExtensions { get; set; } - - /// - /// The "isAssigned" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// Indicates if the policy is deployed to any inclusion groups or not. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "isAssigned" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "isAssigned" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "isAssigned" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppConfiguration", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "isAssigned" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "isAssigned" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "isAssigned" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "isAssigned" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "isAssigned" property, of type "Edm.Boolean".")] - public System.Boolean isAssigned { get; set; } - - /// - /// The "protectedAppLockerFiles" property, of type "microsoft.graph.windowsInformationProtectionAppLockerFile". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// Another way to input protected apps through xml files - /// - [ODataType("microsoft.graph.windowsInformationProtectionAppLockerFile")] - [Selectable] - [Expandable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "protectedAppLockerFiles" property, of type "microsoft.graph.windowsInformationProtectionAppLockerFile".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "protectedAppLockerFiles" property, of type "microsoft.graph.windowsInformationProtectionAppLockerFile".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "protectedAppLockerFiles" property, of type "microsoft.graph.windowsInformationProtectionAppLockerFile".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "protectedAppLockerFiles" property, of type "microsoft.graph.windowsInformationProtectionAppLockerFile".")] - public System.Object[] protectedAppLockerFiles { get; set; } - - /// - /// The "exemptAppLockerFiles" property, of type "microsoft.graph.windowsInformationProtectionAppLockerFile". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// Another way to input exempt apps through xml files - /// - [ODataType("microsoft.graph.windowsInformationProtectionAppLockerFile")] - [Selectable] - [Expandable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "exemptAppLockerFiles" property, of type "microsoft.graph.windowsInformationProtectionAppLockerFile".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "exemptAppLockerFiles" property, of type "microsoft.graph.windowsInformationProtectionAppLockerFile".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "exemptAppLockerFiles" property, of type "microsoft.graph.windowsInformationProtectionAppLockerFile".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "exemptAppLockerFiles" property, of type "microsoft.graph.windowsInformationProtectionAppLockerFile".")] - public System.Object[] exemptAppLockerFiles { get; set; } - - /// - /// The "assignments" property, of type "microsoft.graph.targetedManagedAppPolicyAssignment". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// Navigation property to list of security groups targeted for policy. - /// - [ODataType("microsoft.graph.targetedManagedAppPolicyAssignment")] - [Selectable] - [Expandable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "assignments" property, of type "microsoft.graph.targetedManagedAppPolicyAssignment".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "assignments" property, of type "microsoft.graph.targetedManagedAppPolicyAssignment".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "assignments" property, of type "microsoft.graph.targetedManagedAppPolicyAssignment".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppConfiguration", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "assignments" property, of type "microsoft.graph.targetedManagedAppPolicyAssignment".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "assignments" property, of type "microsoft.graph.targetedManagedAppPolicyAssignment".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "assignments" property, of type "microsoft.graph.targetedManagedAppPolicyAssignment".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "assignments" property, of type "microsoft.graph.targetedManagedAppPolicyAssignment".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "assignments" property, of type "microsoft.graph.targetedManagedAppPolicyAssignment".")] - public System.Object[] assignments { get; set; } - - /// - /// A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.windowsInformationProtectionPolicy" type. - /// - [Selectable] - [Expandable] - [ParameterSetSelector(@"microsoft.graph.windowsInformationProtectionPolicy")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", Mandatory = true, HelpMessage = @"A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.windowsInformationProtectionPolicy" type.")] - public System.Management.Automation.SwitchParameter windowsInformationProtectionPolicy { get; set; } - - /// - /// The "revokeOnMdmHandoffDisabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.windowsInformationProtectionPolicy" type. - /// New property in RS2, pending documentation - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "revokeOnMdmHandoffDisabled" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "revokeOnMdmHandoffDisabled" property, of type "Edm.Boolean".")] - public System.Boolean revokeOnMdmHandoffDisabled { get; set; } - - /// - /// The "mdmEnrollmentUrl" property, of type "Edm.String". - /// This property is on the "microsoft.graph.windowsInformationProtectionPolicy" type. - /// Enrollment url for the MDM - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "mdmEnrollmentUrl" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "mdmEnrollmentUrl" property, of type "Edm.String".")] - public System.String mdmEnrollmentUrl { get; set; } - - /// - /// The "windowsHelloForBusinessBlocked" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.windowsInformationProtectionPolicy" type. - /// Boolean value that sets Windows Hello for Business as a method for signing into Windows. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "windowsHelloForBusinessBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "windowsHelloForBusinessBlocked" property, of type "Edm.Boolean".")] - public System.Boolean windowsHelloForBusinessBlocked { get; set; } - - /// - /// The "pinMinimumLength" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.windowsInformationProtectionPolicy" type. - /// Integer value that sets the minimum number of characters required for the PIN. Default value is 4. The lowest number you can configure for this policy setting is 4. The largest number you can configure must be less than the number configured in the Maximum PIN length policy setting or the number 127, whichever is the lowest. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "pinMinimumLength" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "pinMinimumLength" property, of type "Edm.Int32".")] - public System.Int32 pinMinimumLength { get; set; } - - /// - /// The "pinUppercaseLetters" property, of type "microsoft.graph.windowsInformationProtectionPinCharacterRequirements". - /// This property is on the "microsoft.graph.windowsInformationProtectionPolicy" type. - /// Integer value that configures the use of uppercase letters in the Windows Hello for Business PIN. Default is NotAllow. - /// - /// Valid values: 'notAllow', 'requireAtLeastOne', 'allow' - /// - /// - [ODataType("microsoft.graph.windowsInformationProtectionPinCharacterRequirements")] - [Selectable] - [ValidateSet(@"notAllow", @"requireAtLeastOne", @"allow")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "pinUppercaseLetters" property, of type "microsoft.graph.windowsInformationProtectionPinCharacterRequirements".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "pinUppercaseLetters" property, of type "microsoft.graph.windowsInformationProtectionPinCharacterRequirements".")] - public System.String pinUppercaseLetters { get; set; } - - /// - /// The "pinLowercaseLetters" property, of type "microsoft.graph.windowsInformationProtectionPinCharacterRequirements". - /// This property is on the "microsoft.graph.windowsInformationProtectionPolicy" type. - /// Integer value that configures the use of lowercase letters in the Windows Hello for Business PIN. Default is NotAllow. - /// - /// Valid values: 'notAllow', 'requireAtLeastOne', 'allow' - /// - /// - [ODataType("microsoft.graph.windowsInformationProtectionPinCharacterRequirements")] - [Selectable] - [ValidateSet(@"notAllow", @"requireAtLeastOne", @"allow")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "pinLowercaseLetters" property, of type "microsoft.graph.windowsInformationProtectionPinCharacterRequirements".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "pinLowercaseLetters" property, of type "microsoft.graph.windowsInformationProtectionPinCharacterRequirements".")] - public System.String pinLowercaseLetters { get; set; } - - /// - /// The "pinSpecialCharacters" property, of type "microsoft.graph.windowsInformationProtectionPinCharacterRequirements". - /// This property is on the "microsoft.graph.windowsInformationProtectionPolicy" type. - /// Integer value that configures the use of special characters in the Windows Hello for Business PIN. Valid special characters for Windows Hello for Business PIN gestures include: ! " # $ % & ' ( ) * + , - . / : ; < = > ? @ [ \ ] ^ _ ` { | } ~. Default is NotAllow. - /// - /// Valid values: 'notAllow', 'requireAtLeastOne', 'allow' - /// - /// - [ODataType("microsoft.graph.windowsInformationProtectionPinCharacterRequirements")] - [Selectable] - [ValidateSet(@"notAllow", @"requireAtLeastOne", @"allow")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "pinSpecialCharacters" property, of type "microsoft.graph.windowsInformationProtectionPinCharacterRequirements".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "pinSpecialCharacters" property, of type "microsoft.graph.windowsInformationProtectionPinCharacterRequirements".")] - public System.String pinSpecialCharacters { get; set; } - - /// - /// The "pinExpirationDays" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.windowsInformationProtectionPolicy" type. - /// Integer value specifies the period of time (in days) that a PIN can be used before the system requires the user to change it. The largest number you can configure for this policy setting is 730. The lowest number you can configure for this policy setting is 0. If this policy is set to 0, then the user's PIN will never expire. This node was added in Windows 10, version 1511. Default is 0. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "pinExpirationDays" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "pinExpirationDays" property, of type "Edm.Int32".")] - public System.Int32 pinExpirationDays { get; set; } - - /// - /// The "numberOfPastPinsRemembered" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.windowsInformationProtectionPolicy" type. - /// Integer value that specifies the number of past PINs that can be associated to a user account that can't be reused. The largest number you can configure for this policy setting is 50. The lowest number you can configure for this policy setting is 0. If this policy is set to 0, then storage of previous PINs is not required. This node was added in Windows 10, version 1511. Default is 0. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "numberOfPastPinsRemembered" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "numberOfPastPinsRemembered" property, of type "Edm.Int32".")] - public System.Int32 numberOfPastPinsRemembered { get; set; } - - /// - /// The "passwordMaximumAttemptCount" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.windowsInformationProtectionPolicy" type. - /// The number of authentication failures allowed before the device will be wiped. A value of 0 disables device wipe functionality. Range is an integer X where 4 <= X <= 16 for desktop and 0 <= X <= 999 for mobile devices. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "passwordMaximumAttemptCount" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "passwordMaximumAttemptCount" property, of type "Edm.Int32".")] - public System.Int32 passwordMaximumAttemptCount { get; set; } - - /// - /// The "minutesOfInactivityBeforeDeviceLock" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.windowsInformationProtectionPolicy" type. - /// Specifies the maximum amount of time (in minutes) allowed after the device is idle that will cause the device to become PIN or password locked. Range is an integer X where 0 <= X <= 999. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "minutesOfInactivityBeforeDeviceLock" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "minutesOfInactivityBeforeDeviceLock" property, of type "Edm.Int32".")] - public System.Int32 minutesOfInactivityBeforeDeviceLock { get; set; } - - /// - /// The "daysWithoutContactBeforeUnenroll" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.windowsInformationProtectionPolicy" type. - /// Offline interval before app data is wiped (days) - /// - [ODataType("Edm.Int32")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "daysWithoutContactBeforeUnenroll" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "daysWithoutContactBeforeUnenroll" property, of type "Edm.Int32".")] - public System.Int32 daysWithoutContactBeforeUnenroll { get; set; } - - /// - /// A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.mdmWindowsInformationProtectionPolicy" type. - /// - [Selectable] - [Expandable] - [ParameterSetSelector(@"microsoft.graph.mdmWindowsInformationProtectionPolicy")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", Mandatory = true, HelpMessage = @"A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.mdmWindowsInformationProtectionPolicy" type.")] - public System.Management.Automation.SwitchParameter mdmWindowsInformationProtectionPolicy { get; set; } - - /// - /// The "customSettings" property, of type "microsoft.graph.keyValuePair". - /// This property is on the "microsoft.graph.managedAppConfiguration" type. - /// A set of string key and string value pairs to be sent to apps for users to whom the configuration is scoped, unalterned by this service - /// - [ODataType("microsoft.graph.keyValuePair")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppConfiguration", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "customSettings" property, of type "microsoft.graph.keyValuePair".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppConfiguration", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "customSettings" property, of type "microsoft.graph.keyValuePair".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "customSettings" property, of type "microsoft.graph.keyValuePair".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "customSettings" property, of type "microsoft.graph.keyValuePair".")] - public System.Object[] customSettings { get; set; } - - /// - /// A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.targetedManagedAppConfiguration" type. - /// - [Selectable] - [Expandable] - [ParameterSetSelector(@"microsoft.graph.targetedManagedAppConfiguration")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppConfiguration", Mandatory = true, HelpMessage = @"A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.targetedManagedAppConfiguration" type.")] - public System.Management.Automation.SwitchParameter targetedManagedAppConfiguration { get; set; } - - /// - /// The "deployedAppCount" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.targetedManagedAppConfiguration" type. - /// Count of apps to which the current policy is deployed. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppConfiguration", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "deployedAppCount" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "deployedAppCount" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "deployedAppCount" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "deployedAppCount" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "deployedAppCount" property, of type "Edm.Int32".")] - public System.Int32 deployedAppCount { get; set; } - - /// - /// The "apps" property, of type "microsoft.graph.managedMobileApp". - /// This property is on the "microsoft.graph.targetedManagedAppConfiguration" type. - /// List of apps to which the policy is deployed. - /// - [ODataType("microsoft.graph.managedMobileApp")] - [Selectable] - [Expandable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppConfiguration", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "apps" property, of type "microsoft.graph.managedMobileApp".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "apps" property, of type "microsoft.graph.managedMobileApp".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "apps" property, of type "microsoft.graph.managedMobileApp".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "apps" property, of type "microsoft.graph.managedMobileApp".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "apps" property, of type "microsoft.graph.managedMobileApp".")] - public System.Object[] apps { get; set; } - - /// - /// The "deploymentSummary" property, of type "microsoft.graph.managedAppPolicyDeploymentSummary". - /// This property is on the "microsoft.graph.targetedManagedAppConfiguration" type. - /// Navigation property to deployment summary of the configuration. - /// - [ODataType("microsoft.graph.managedAppPolicyDeploymentSummary")] - [Selectable] - [Expandable] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppConfiguration", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "deploymentSummary" property, of type "microsoft.graph.managedAppPolicyDeploymentSummary".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "deploymentSummary" property, of type "microsoft.graph.managedAppPolicyDeploymentSummary".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "deploymentSummary" property, of type "microsoft.graph.managedAppPolicyDeploymentSummary".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "deploymentSummary" property, of type "microsoft.graph.managedAppPolicyDeploymentSummary".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "deploymentSummary" property, of type "microsoft.graph.managedAppPolicyDeploymentSummary".")] - public System.Object deploymentSummary { get; set; } - - /// - /// The "periodOfflineBeforeAccessCheck" property, of type "Edm.Duration". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// The period after which access is checked when the device is not connected to the internet. - /// - [ODataType("Edm.Duration")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "periodOfflineBeforeAccessCheck" property, of type "Edm.Duration".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "periodOfflineBeforeAccessCheck" property, of type "Edm.Duration".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "periodOfflineBeforeAccessCheck" property, of type "Edm.Duration".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "periodOfflineBeforeAccessCheck" property, of type "Edm.Duration".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "periodOfflineBeforeAccessCheck" property, of type "Edm.Duration".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "periodOfflineBeforeAccessCheck" property, of type "Edm.Duration".")] - public System.TimeSpan periodOfflineBeforeAccessCheck { get; set; } - - /// - /// The "periodOnlineBeforeAccessCheck" property, of type "Edm.Duration". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// The period after which access is checked when the device is connected to the internet. - /// - [ODataType("Edm.Duration")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "periodOnlineBeforeAccessCheck" property, of type "Edm.Duration".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "periodOnlineBeforeAccessCheck" property, of type "Edm.Duration".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "periodOnlineBeforeAccessCheck" property, of type "Edm.Duration".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "periodOnlineBeforeAccessCheck" property, of type "Edm.Duration".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "periodOnlineBeforeAccessCheck" property, of type "Edm.Duration".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "periodOnlineBeforeAccessCheck" property, of type "Edm.Duration".")] - public System.TimeSpan periodOnlineBeforeAccessCheck { get; set; } - - /// - /// The "allowedInboundDataTransferSources" property, of type "microsoft.graph.managedAppDataTransferLevel". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Sources from which data is allowed to be transferred. - /// - /// Valid values: 'allApps', 'managedApps', 'none' - /// - /// - [ODataType("microsoft.graph.managedAppDataTransferLevel")] - [Selectable] - [ValidateSet(@"allApps", @"managedApps", @"none")] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "allowedInboundDataTransferSources" property, of type "microsoft.graph.managedAppDataTransferLevel".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "allowedInboundDataTransferSources" property, of type "microsoft.graph.managedAppDataTransferLevel".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "allowedInboundDataTransferSources" property, of type "microsoft.graph.managedAppDataTransferLevel".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "allowedInboundDataTransferSources" property, of type "microsoft.graph.managedAppDataTransferLevel".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "allowedInboundDataTransferSources" property, of type "microsoft.graph.managedAppDataTransferLevel".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "allowedInboundDataTransferSources" property, of type "microsoft.graph.managedAppDataTransferLevel".")] - public System.String allowedInboundDataTransferSources { get; set; } - - /// - /// The "allowedOutboundDataTransferDestinations" property, of type "microsoft.graph.managedAppDataTransferLevel". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Destinations to which data is allowed to be transferred. - /// - /// Valid values: 'allApps', 'managedApps', 'none' - /// - /// - [ODataType("microsoft.graph.managedAppDataTransferLevel")] - [Selectable] - [ValidateSet(@"allApps", @"managedApps", @"none")] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "allowedOutboundDataTransferDestinations" property, of type "microsoft.graph.managedAppDataTransferLevel".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "allowedOutboundDataTransferDestinations" property, of type "microsoft.graph.managedAppDataTransferLevel".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "allowedOutboundDataTransferDestinations" property, of type "microsoft.graph.managedAppDataTransferLevel".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "allowedOutboundDataTransferDestinations" property, of type "microsoft.graph.managedAppDataTransferLevel".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "allowedOutboundDataTransferDestinations" property, of type "microsoft.graph.managedAppDataTransferLevel".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "allowedOutboundDataTransferDestinations" property, of type "microsoft.graph.managedAppDataTransferLevel".")] - public System.String allowedOutboundDataTransferDestinations { get; set; } - - /// - /// The "organizationalCredentialsRequired" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Indicates whether organizational credentials are required for app use. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "organizationalCredentialsRequired" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "organizationalCredentialsRequired" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "organizationalCredentialsRequired" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "organizationalCredentialsRequired" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "organizationalCredentialsRequired" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "organizationalCredentialsRequired" property, of type "Edm.Boolean".")] - public System.Boolean organizationalCredentialsRequired { get; set; } - - /// - /// The "allowedOutboundClipboardSharingLevel" property, of type "microsoft.graph.managedAppClipboardSharingLevel". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// The level to which the clipboard may be shared between apps on the managed device. - /// - /// Valid values: 'allApps', 'managedAppsWithPasteIn', 'managedApps', 'blocked' - /// - /// - [ODataType("microsoft.graph.managedAppClipboardSharingLevel")] - [Selectable] - [ValidateSet(@"allApps", @"managedAppsWithPasteIn", @"managedApps", @"blocked")] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "allowedOutboundClipboardSharingLevel" property, of type "microsoft.graph.managedAppClipboardSharingLevel".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "allowedOutboundClipboardSharingLevel" property, of type "microsoft.graph.managedAppClipboardSharingLevel".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "allowedOutboundClipboardSharingLevel" property, of type "microsoft.graph.managedAppClipboardSharingLevel".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "allowedOutboundClipboardSharingLevel" property, of type "microsoft.graph.managedAppClipboardSharingLevel".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "allowedOutboundClipboardSharingLevel" property, of type "microsoft.graph.managedAppClipboardSharingLevel".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "allowedOutboundClipboardSharingLevel" property, of type "microsoft.graph.managedAppClipboardSharingLevel".")] - public System.String allowedOutboundClipboardSharingLevel { get; set; } - - /// - /// The "dataBackupBlocked" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Indicates whether the backup of a managed app's data is blocked. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "dataBackupBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "dataBackupBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "dataBackupBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "dataBackupBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "dataBackupBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "dataBackupBlocked" property, of type "Edm.Boolean".")] - public System.Boolean dataBackupBlocked { get; set; } - - /// - /// The "deviceComplianceRequired" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Indicates whether device compliance is required. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "deviceComplianceRequired" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "deviceComplianceRequired" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "deviceComplianceRequired" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "deviceComplianceRequired" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "deviceComplianceRequired" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "deviceComplianceRequired" property, of type "Edm.Boolean".")] - public System.Boolean deviceComplianceRequired { get; set; } - - /// - /// The "managedBrowserToOpenLinksRequired" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Indicates whether internet links should be opened in the managed browser app. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "managedBrowserToOpenLinksRequired" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "managedBrowserToOpenLinksRequired" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "managedBrowserToOpenLinksRequired" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "managedBrowserToOpenLinksRequired" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "managedBrowserToOpenLinksRequired" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "managedBrowserToOpenLinksRequired" property, of type "Edm.Boolean".")] - public System.Boolean managedBrowserToOpenLinksRequired { get; set; } - - /// - /// The "saveAsBlocked" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Indicates whether users may use the "Save As" menu item to save a copy of protected files. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "saveAsBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "saveAsBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "saveAsBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "saveAsBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "saveAsBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "saveAsBlocked" property, of type "Edm.Boolean".")] - public System.Boolean saveAsBlocked { get; set; } - - /// - /// The "periodOfflineBeforeWipeIsEnforced" property, of type "Edm.Duration". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// The amount of time an app is allowed to remain disconnected from the internet before all managed data it is wiped. - /// - [ODataType("Edm.Duration")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "periodOfflineBeforeWipeIsEnforced" property, of type "Edm.Duration".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "periodOfflineBeforeWipeIsEnforced" property, of type "Edm.Duration".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "periodOfflineBeforeWipeIsEnforced" property, of type "Edm.Duration".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "periodOfflineBeforeWipeIsEnforced" property, of type "Edm.Duration".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "periodOfflineBeforeWipeIsEnforced" property, of type "Edm.Duration".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "periodOfflineBeforeWipeIsEnforced" property, of type "Edm.Duration".")] - public System.TimeSpan periodOfflineBeforeWipeIsEnforced { get; set; } - - /// - /// The "pinRequired" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Indicates whether an app-level pin is required. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "pinRequired" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "pinRequired" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "pinRequired" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "pinRequired" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "pinRequired" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "pinRequired" property, of type "Edm.Boolean".")] - public System.Boolean pinRequired { get; set; } - - /// - /// The "maximumPinRetries" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Maximum number of incorrect pin retry attempts before the managed app is either blocked or wiped. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "maximumPinRetries" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "maximumPinRetries" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "maximumPinRetries" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "maximumPinRetries" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "maximumPinRetries" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "maximumPinRetries" property, of type "Edm.Int32".")] - public System.Int32 maximumPinRetries { get; set; } - - /// - /// The "simplePinBlocked" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Indicates whether simplePin is blocked. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "simplePinBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "simplePinBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "simplePinBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "simplePinBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "simplePinBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "simplePinBlocked" property, of type "Edm.Boolean".")] - public System.Boolean simplePinBlocked { get; set; } - - /// - /// The "minimumPinLength" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Minimum pin length required for an app-level pin if PinRequired is set to True - /// - [ODataType("Edm.Int32")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "minimumPinLength" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "minimumPinLength" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "minimumPinLength" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "minimumPinLength" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "minimumPinLength" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "minimumPinLength" property, of type "Edm.Int32".")] - public System.Int32 minimumPinLength { get; set; } - - /// - /// The "pinCharacterSet" property, of type "microsoft.graph.managedAppPinCharacterSet". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Character set which may be used for an app-level pin if PinRequired is set to True. - /// - /// Valid values: 'numeric', 'alphanumericAndSymbol' - /// - /// - [ODataType("microsoft.graph.managedAppPinCharacterSet")] - [Selectable] - [ValidateSet(@"numeric", @"alphanumericAndSymbol")] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "pinCharacterSet" property, of type "microsoft.graph.managedAppPinCharacterSet".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "pinCharacterSet" property, of type "microsoft.graph.managedAppPinCharacterSet".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "pinCharacterSet" property, of type "microsoft.graph.managedAppPinCharacterSet".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "pinCharacterSet" property, of type "microsoft.graph.managedAppPinCharacterSet".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "pinCharacterSet" property, of type "microsoft.graph.managedAppPinCharacterSet".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "pinCharacterSet" property, of type "microsoft.graph.managedAppPinCharacterSet".")] - public System.String pinCharacterSet { get; set; } - - /// - /// The "periodBeforePinReset" property, of type "Edm.Duration". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// TimePeriod before the all-level pin must be reset if PinRequired is set to True. - /// - [ODataType("Edm.Duration")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "periodBeforePinReset" property, of type "Edm.Duration".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "periodBeforePinReset" property, of type "Edm.Duration".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "periodBeforePinReset" property, of type "Edm.Duration".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "periodBeforePinReset" property, of type "Edm.Duration".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "periodBeforePinReset" property, of type "Edm.Duration".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "periodBeforePinReset" property, of type "Edm.Duration".")] - public System.TimeSpan periodBeforePinReset { get; set; } - - /// - /// The "allowedDataStorageLocations" property, of type "microsoft.graph.managedAppDataStorageLocation". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Data storage locations where a user may store managed data. - /// - /// Valid values: 'oneDriveForBusiness', 'sharePoint', 'localStorage' - /// - /// - [ODataType("microsoft.graph.managedAppDataStorageLocation")] - [Selectable] - [ValidateSet(@"oneDriveForBusiness", @"sharePoint", @"localStorage")] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "allowedDataStorageLocations" property, of type "microsoft.graph.managedAppDataStorageLocation".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "allowedDataStorageLocations" property, of type "microsoft.graph.managedAppDataStorageLocation".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "allowedDataStorageLocations" property, of type "microsoft.graph.managedAppDataStorageLocation".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "allowedDataStorageLocations" property, of type "microsoft.graph.managedAppDataStorageLocation".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "allowedDataStorageLocations" property, of type "microsoft.graph.managedAppDataStorageLocation".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "allowedDataStorageLocations" property, of type "microsoft.graph.managedAppDataStorageLocation".")] - public System.String[] allowedDataStorageLocations { get; set; } - - /// - /// The "contactSyncBlocked" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Indicates whether contacts can be synced to the user's device. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "contactSyncBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "contactSyncBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "contactSyncBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "contactSyncBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "contactSyncBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "contactSyncBlocked" property, of type "Edm.Boolean".")] - public System.Boolean contactSyncBlocked { get; set; } - - /// - /// The "printBlocked" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Indicates whether printing is allowed from managed apps. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "printBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "printBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "printBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "printBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "printBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "printBlocked" property, of type "Edm.Boolean".")] - public System.Boolean printBlocked { get; set; } - - /// - /// The "fingerprintBlocked" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Indicates whether use of the fingerprint reader is allowed in place of a pin if PinRequired is set to True. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "fingerprintBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "fingerprintBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "fingerprintBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "fingerprintBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "fingerprintBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "fingerprintBlocked" property, of type "Edm.Boolean".")] - public System.Boolean fingerprintBlocked { get; set; } - - /// - /// The "disableAppPinIfDevicePinIsSet" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Indicates whether use of the app pin is required if the device pin is set. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "disableAppPinIfDevicePinIsSet" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "disableAppPinIfDevicePinIsSet" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "disableAppPinIfDevicePinIsSet" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "disableAppPinIfDevicePinIsSet" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "disableAppPinIfDevicePinIsSet" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "disableAppPinIfDevicePinIsSet" property, of type "Edm.Boolean".")] - public System.Boolean disableAppPinIfDevicePinIsSet { get; set; } - - /// - /// The "minimumRequiredOsVersion" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Versions less than the specified version will block the managed app from accessing company data. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "minimumRequiredOsVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "minimumRequiredOsVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "minimumRequiredOsVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "minimumRequiredOsVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "minimumRequiredOsVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "minimumRequiredOsVersion" property, of type "Edm.String".")] - public System.String minimumRequiredOsVersion { get; set; } - - /// - /// The "minimumWarningOsVersion" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Versions less than the specified version will result in warning message on the managed app from accessing company data. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "minimumWarningOsVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "minimumWarningOsVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "minimumWarningOsVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "minimumWarningOsVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "minimumWarningOsVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "minimumWarningOsVersion" property, of type "Edm.String".")] - public System.String minimumWarningOsVersion { get; set; } - - /// - /// The "minimumRequiredAppVersion" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Versions less than the specified version will block the managed app from accessing company data. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "minimumRequiredAppVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "minimumRequiredAppVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "minimumRequiredAppVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "minimumRequiredAppVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "minimumRequiredAppVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "minimumRequiredAppVersion" property, of type "Edm.String".")] - public System.String minimumRequiredAppVersion { get; set; } - - /// - /// The "minimumWarningAppVersion" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Versions less than the specified version will result in warning message on the managed app. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "minimumWarningAppVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "minimumWarningAppVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "minimumWarningAppVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "minimumWarningAppVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "minimumWarningAppVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "minimumWarningAppVersion" property, of type "Edm.String".")] - public System.String minimumWarningAppVersion { get; set; } - - /// - /// A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.defaultManagedAppProtection" type. - /// - [Selectable] - [Expandable] - [ParameterSetSelector(@"microsoft.graph.defaultManagedAppProtection")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", Mandatory = true, HelpMessage = @"A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.defaultManagedAppProtection" type.")] - public System.Management.Automation.SwitchParameter defaultManagedAppProtection { get; set; } - - /// - /// The "appDataEncryptionType" property, of type "microsoft.graph.managedAppDataEncryptionType". - /// This property is on the "microsoft.graph.defaultManagedAppProtection" type. - /// Type of encryption which should be used for data in a managed app. (iOS Only) - /// - /// Valid values: 'useDeviceSettings', 'afterDeviceRestart', 'whenDeviceLockedExceptOpenFiles', 'whenDeviceLocked' - /// - /// - [ODataType("microsoft.graph.managedAppDataEncryptionType")] - [Selectable] - [ValidateSet(@"useDeviceSettings", @"afterDeviceRestart", @"whenDeviceLockedExceptOpenFiles", @"whenDeviceLocked")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "appDataEncryptionType" property, of type "microsoft.graph.managedAppDataEncryptionType".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "appDataEncryptionType" property, of type "microsoft.graph.managedAppDataEncryptionType".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "appDataEncryptionType" property, of type "microsoft.graph.managedAppDataEncryptionType".")] - public System.String appDataEncryptionType { get; set; } - - /// - /// The "screenCaptureBlocked" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.defaultManagedAppProtection" type. - /// Indicates whether screen capture is blocked. (Android only) - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "screenCaptureBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "screenCaptureBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "screenCaptureBlocked" property, of type "Edm.Boolean".")] - public System.Boolean screenCaptureBlocked { get; set; } - - /// - /// The "encryptAppData" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.defaultManagedAppProtection" type. - /// Indicates whether managed-app data should be encrypted. (Android only) - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "encryptAppData" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "encryptAppData" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "encryptAppData" property, of type "Edm.Boolean".")] - public System.Boolean encryptAppData { get; set; } - - /// - /// The "disableAppEncryptionIfDeviceEncryptionIsEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.defaultManagedAppProtection" type. - /// When this setting is enabled, app level encryption is disabled if device level encryption is enabled. (Android only) - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "disableAppEncryptionIfDeviceEncryptionIsEnabled" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "disableAppEncryptionIfDeviceEncryptionIsEnabled" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "disableAppEncryptionIfDeviceEncryptionIsEnabled" property, of type "Edm.Boolean".")] - public System.Boolean disableAppEncryptionIfDeviceEncryptionIsEnabled { get; set; } - - /// - /// The "minimumRequiredSdkVersion" property, of type "Edm.String". - /// This property is on the "microsoft.graph.defaultManagedAppProtection" type. - /// Versions less than the specified version will block the managed app from accessing company data. (iOS Only) - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "minimumRequiredSdkVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "minimumRequiredSdkVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "minimumRequiredSdkVersion" property, of type "Edm.String".")] - public System.String minimumRequiredSdkVersion { get; set; } - - /// - /// The "minimumRequiredPatchVersion" property, of type "Edm.String". - /// This property is on the "microsoft.graph.defaultManagedAppProtection" type. - /// Define the oldest required Android security patch level a user can have to gain secure access to the app. (Android only) - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "minimumRequiredPatchVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "minimumRequiredPatchVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "minimumRequiredPatchVersion" property, of type "Edm.String".")] - public System.String minimumRequiredPatchVersion { get; set; } - - /// - /// The "minimumWarningPatchVersion" property, of type "Edm.String". - /// This property is on the "microsoft.graph.defaultManagedAppProtection" type. - /// Define the oldest recommended Android security patch level a user can have for secure access to the app. (Android only) - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "minimumWarningPatchVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "minimumWarningPatchVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "minimumWarningPatchVersion" property, of type "Edm.String".")] - public System.String minimumWarningPatchVersion { get; set; } - - /// - /// The "faceIdBlocked" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.defaultManagedAppProtection" type. - /// Indicates whether use of the FaceID is allowed in place of a pin if PinRequired is set to True. (iOS Only) - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "faceIdBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "faceIdBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "faceIdBlocked" property, of type "Edm.Boolean".")] - public System.Boolean faceIdBlocked { get; set; } - - /// - /// A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.androidManagedAppProtection" type. - /// - [Selectable] - [Expandable] - [ParameterSetSelector(@"microsoft.graph.androidManagedAppProtection")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", Mandatory = true, HelpMessage = @"A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.androidManagedAppProtection" type.")] - public System.Management.Automation.SwitchParameter androidManagedAppProtection { get; set; } - - /// - /// A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.iosManagedAppProtection" type. - /// - [Selectable] - [Expandable] - [ParameterSetSelector(@"microsoft.graph.iosManagedAppProtection")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", Mandatory = true, HelpMessage = @"A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.iosManagedAppProtection" type.")] - public System.Management.Automation.SwitchParameter iosManagedAppProtection { get; set; } - - internal override System.String GetResourcePath() - { - return $"deviceAppManagement/managedAppRegistrations/{managedAppRegistrationId}/appliedPolicies/{managedAppPolicyId}"; - } - } - - /// - /// Updates a "microsoft.graph.managedAppPolicy". - /// PATCH ~/deviceAppManagement/managedAppRegistrations/{managedAppRegistrationId}/appliedPolicies - /// Updates a "microsoft.graph.managedAppPolicy" object in the "appliedPolicies" collection. - /// Zero or more policys already applied on the registered app when it last synchronized with managment service. - /// - /// GitHub Repository - [Cmdlet("Update", "DeviceAppManagement_ManagedAppRegistrations_AppliedPolicies", ConfirmImpact = ConfirmImpact.Medium)] - [ODataType("microsoft.graph.managedAppPolicy", "microsoft.graph.windowsInformationProtection", "microsoft.graph.windowsInformationProtectionPolicy", "microsoft.graph.mdmWindowsInformationProtectionPolicy", "microsoft.graph.managedAppConfiguration", "microsoft.graph.targetedManagedAppConfiguration", "microsoft.graph.managedAppProtection", "microsoft.graph.defaultManagedAppProtection", "microsoft.graph.targetedManagedAppProtection", "microsoft.graph.androidManagedAppProtection", "microsoft.graph.iosManagedAppProtection")] - [ResourceTypePropertyName("appliedPolicyODataType")] - public class Update_DeviceAppManagement_ManagedAppRegistrations_AppliedPolicies : PatchCmdlet - { - /// - /// The ID for a "microsoft.graph.managedAppPolicy" object in the "appliedPolicies" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.managedAppPolicy" object in the "appliedPolicies" collection.")] - public System.String managedAppPolicyId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection.")] - public System.String managedAppRegistrationId { get; set; } - - /// - /// The "displayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedAppPolicy" type. - /// Policy display name. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppPolicy", HelpMessage = @"The "displayName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", HelpMessage = @"The "displayName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", HelpMessage = @"The "displayName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", HelpMessage = @"The "displayName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppConfiguration", HelpMessage = @"The "displayName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppConfiguration", HelpMessage = @"The "displayName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", HelpMessage = @"The "displayName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", HelpMessage = @"The "displayName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", HelpMessage = @"The "displayName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", HelpMessage = @"The "displayName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", HelpMessage = @"The "displayName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "displayName" property, of type "Edm.String".")] - public System.String displayName { get; set; } - - /// - /// The "description" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedAppPolicy" type. - /// The policy's description. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppPolicy", HelpMessage = @"The "description" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", HelpMessage = @"The "description" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", HelpMessage = @"The "description" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", HelpMessage = @"The "description" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppConfiguration", HelpMessage = @"The "description" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppConfiguration", HelpMessage = @"The "description" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", HelpMessage = @"The "description" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", HelpMessage = @"The "description" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", HelpMessage = @"The "description" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", HelpMessage = @"The "description" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", HelpMessage = @"The "description" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "description" property, of type "Edm.String".")] - public System.String description { get; set; } - - /// - /// The "createdDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.managedAppPolicy" type. - /// The date and time the policy was created. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppPolicy", HelpMessage = @"The "createdDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", HelpMessage = @"The "createdDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", HelpMessage = @"The "createdDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", HelpMessage = @"The "createdDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppConfiguration", HelpMessage = @"The "createdDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppConfiguration", HelpMessage = @"The "createdDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", HelpMessage = @"The "createdDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", HelpMessage = @"The "createdDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", HelpMessage = @"The "createdDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", HelpMessage = @"The "createdDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", HelpMessage = @"The "createdDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "createdDateTime" property, of type "Edm.DateTimeOffset".")] - public System.DateTimeOffset createdDateTime { get; set; } - - /// - /// The "lastModifiedDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.managedAppPolicy" type. - /// Last time the policy was modified. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppPolicy", HelpMessage = @"The "lastModifiedDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", HelpMessage = @"The "lastModifiedDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", HelpMessage = @"The "lastModifiedDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", HelpMessage = @"The "lastModifiedDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppConfiguration", HelpMessage = @"The "lastModifiedDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppConfiguration", HelpMessage = @"The "lastModifiedDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", HelpMessage = @"The "lastModifiedDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", HelpMessage = @"The "lastModifiedDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", HelpMessage = @"The "lastModifiedDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", HelpMessage = @"The "lastModifiedDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", HelpMessage = @"The "lastModifiedDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "lastModifiedDateTime" property, of type "Edm.DateTimeOffset".")] - public System.DateTimeOffset lastModifiedDateTime { get; set; } - - /// - /// The "version" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedAppPolicy" type. - /// Version of the entity. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppPolicy", HelpMessage = @"The "version" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", HelpMessage = @"The "version" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", HelpMessage = @"The "version" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", HelpMessage = @"The "version" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppConfiguration", HelpMessage = @"The "version" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppConfiguration", HelpMessage = @"The "version" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", HelpMessage = @"The "version" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", HelpMessage = @"The "version" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", HelpMessage = @"The "version" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", HelpMessage = @"The "version" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", HelpMessage = @"The "version" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "version" property, of type "Edm.String".")] - public System.String version { get; set; } - - /// - /// The "enforcementLevel" property, of type "microsoft.graph.windowsInformationProtectionEnforcementLevel". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// WIP enforcement level.See the Enum definition for supported values - /// - /// Valid values: 'noProtection', 'encryptAndAuditOnly', 'encryptAuditAndPrompt', 'encryptAuditAndBlock' - /// - /// - [ODataType("microsoft.graph.windowsInformationProtectionEnforcementLevel")] - [Selectable] - [ValidateSet(@"noProtection", @"encryptAndAuditOnly", @"encryptAuditAndPrompt", @"encryptAuditAndBlock")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", HelpMessage = @"The "enforcementLevel" property, of type "microsoft.graph.windowsInformationProtectionEnforcementLevel".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", HelpMessage = @"The "enforcementLevel" property, of type "microsoft.graph.windowsInformationProtectionEnforcementLevel".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", HelpMessage = @"The "enforcementLevel" property, of type "microsoft.graph.windowsInformationProtectionEnforcementLevel".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "enforcementLevel" property, of type "microsoft.graph.windowsInformationProtectionEnforcementLevel".")] - public System.String enforcementLevel { get; set; } - - /// - /// The "enterpriseDomain" property, of type "Edm.String". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// Primary enterprise domain - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", HelpMessage = @"The "enterpriseDomain" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", HelpMessage = @"The "enterpriseDomain" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", HelpMessage = @"The "enterpriseDomain" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "enterpriseDomain" property, of type "Edm.String".")] - public System.String enterpriseDomain { get; set; } - - /// - /// The "enterpriseProtectedDomainNames" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// List of enterprise domains to be protected - /// - [ODataType("microsoft.graph.windowsInformationProtectionResourceCollection")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", HelpMessage = @"The "enterpriseProtectedDomainNames" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", HelpMessage = @"The "enterpriseProtectedDomainNames" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", HelpMessage = @"The "enterpriseProtectedDomainNames" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "enterpriseProtectedDomainNames" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection".")] - public System.Object[] enterpriseProtectedDomainNames { get; set; } - - /// - /// The "protectionUnderLockConfigRequired" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// Specifies whether the protection under lock feature (also known as encrypt under pin) should be configured - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", HelpMessage = @"The "protectionUnderLockConfigRequired" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", HelpMessage = @"The "protectionUnderLockConfigRequired" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", HelpMessage = @"The "protectionUnderLockConfigRequired" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "protectionUnderLockConfigRequired" property, of type "Edm.Boolean".")] - public System.Boolean protectionUnderLockConfigRequired { get; set; } - - /// - /// The "dataRecoveryCertificate" property, of type "microsoft.graph.windowsInformationProtectionDataRecoveryCertificate". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// Specifies a recovery certificate that can be used for data recovery of encrypted files. This is the same as the data recovery agent(DRA) certificate for encrypting file system(EFS) - /// - [ODataType("microsoft.graph.windowsInformationProtectionDataRecoveryCertificate")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", HelpMessage = @"The "dataRecoveryCertificate" property, of type "microsoft.graph.windowsInformationProtectionDataRecoveryCertificate".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", HelpMessage = @"The "dataRecoveryCertificate" property, of type "microsoft.graph.windowsInformationProtectionDataRecoveryCertificate".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", HelpMessage = @"The "dataRecoveryCertificate" property, of type "microsoft.graph.windowsInformationProtectionDataRecoveryCertificate".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "dataRecoveryCertificate" property, of type "microsoft.graph.windowsInformationProtectionDataRecoveryCertificate".")] - public System.Object dataRecoveryCertificate { get; set; } - - /// - /// The "revokeOnUnenrollDisabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// This policy controls whether to revoke the WIP keys when a device unenrolls from the management service. If set to 1 (Don't revoke keys), the keys will not be revoked and the user will continue to have access to protected files after unenrollment. If the keys are not revoked, there will be no revoked file cleanup subsequently. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", HelpMessage = @"The "revokeOnUnenrollDisabled" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", HelpMessage = @"The "revokeOnUnenrollDisabled" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", HelpMessage = @"The "revokeOnUnenrollDisabled" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "revokeOnUnenrollDisabled" property, of type "Edm.Boolean".")] - public System.Boolean revokeOnUnenrollDisabled { get; set; } - - /// - /// The "rightsManagementServicesTemplateId" property, of type "Edm.Guid". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// TemplateID GUID to use for RMS encryption. The RMS template allows the IT admin to configure the details about who has access to RMS-protected file and how long they have access - /// - [ODataType("Edm.Guid")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", HelpMessage = @"The "rightsManagementServicesTemplateId" property, of type "Edm.Guid".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", HelpMessage = @"The "rightsManagementServicesTemplateId" property, of type "Edm.Guid".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", HelpMessage = @"The "rightsManagementServicesTemplateId" property, of type "Edm.Guid".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "rightsManagementServicesTemplateId" property, of type "Edm.Guid".")] - public System.Guid rightsManagementServicesTemplateId { get; set; } - - /// - /// The "azureRightsManagementServicesAllowed" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// Specifies whether to allow Azure RMS encryption for WIP - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", HelpMessage = @"The "azureRightsManagementServicesAllowed" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", HelpMessage = @"The "azureRightsManagementServicesAllowed" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", HelpMessage = @"The "azureRightsManagementServicesAllowed" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "azureRightsManagementServicesAllowed" property, of type "Edm.Boolean".")] - public System.Boolean azureRightsManagementServicesAllowed { get; set; } - - /// - /// The "iconsVisible" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// Determines whether overlays are added to icons for WIP protected files in Explorer and enterprise only app tiles in the Start menu. Starting in Windows 10, version 1703 this setting also configures the visibility of the WIP icon in the title bar of a WIP-protected app - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", HelpMessage = @"The "iconsVisible" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", HelpMessage = @"The "iconsVisible" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", HelpMessage = @"The "iconsVisible" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "iconsVisible" property, of type "Edm.Boolean".")] - public System.Boolean iconsVisible { get; set; } - - /// - /// The "protectedApps" property, of type "microsoft.graph.windowsInformationProtectionApp". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// Protected applications can access enterprise data and the data handled by those applications are protected with encryption - /// - [ODataType("microsoft.graph.windowsInformationProtectionApp", "microsoft.graph.windowsInformationProtectionDesktopApp", "microsoft.graph.windowsInformationProtectionStoreApp")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", HelpMessage = @"The "protectedApps" property, of type "microsoft.graph.windowsInformationProtectionApp".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", HelpMessage = @"The "protectedApps" property, of type "microsoft.graph.windowsInformationProtectionApp".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", HelpMessage = @"The "protectedApps" property, of type "microsoft.graph.windowsInformationProtectionApp".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "protectedApps" property, of type "microsoft.graph.windowsInformationProtectionApp".")] - public System.Object[] protectedApps { get; set; } - - /// - /// The "exemptApps" property, of type "microsoft.graph.windowsInformationProtectionApp". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// Exempt applications can also access enterprise data, but the data handled by those applications are not protected. This is because some critical enterprise applications may have compatibility problems with encrypted data. - /// - [ODataType("microsoft.graph.windowsInformationProtectionApp", "microsoft.graph.windowsInformationProtectionDesktopApp", "microsoft.graph.windowsInformationProtectionStoreApp")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", HelpMessage = @"The "exemptApps" property, of type "microsoft.graph.windowsInformationProtectionApp".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", HelpMessage = @"The "exemptApps" property, of type "microsoft.graph.windowsInformationProtectionApp".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", HelpMessage = @"The "exemptApps" property, of type "microsoft.graph.windowsInformationProtectionApp".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "exemptApps" property, of type "microsoft.graph.windowsInformationProtectionApp".")] - public System.Object[] exemptApps { get; set; } - - /// - /// The "enterpriseNetworkDomainNames" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// This is the list of domains that comprise the boundaries of the enterprise. Data from one of these domains that is sent to a device will be considered enterprise data and protected These locations will be considered a safe destination for enterprise data to be shared to - /// - [ODataType("microsoft.graph.windowsInformationProtectionResourceCollection")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", HelpMessage = @"The "enterpriseNetworkDomainNames" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", HelpMessage = @"The "enterpriseNetworkDomainNames" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", HelpMessage = @"The "enterpriseNetworkDomainNames" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "enterpriseNetworkDomainNames" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection".")] - public System.Object[] enterpriseNetworkDomainNames { get; set; } - - /// - /// The "enterpriseProxiedDomains" property, of type "microsoft.graph.windowsInformationProtectionProxiedDomainCollection". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// Contains a list of Enterprise resource domains hosted in the cloud that need to be protected. Connections to these resources are considered enterprise data. If a proxy is paired with a cloud resource, traffic to the cloud resource will be routed through the enterprise network via the denoted proxy server (on Port 80). A proxy server used for this purpose must also be configured using the EnterpriseInternalProxyServers policy - /// - [ODataType("microsoft.graph.windowsInformationProtectionProxiedDomainCollection")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", HelpMessage = @"The "enterpriseProxiedDomains" property, of type "microsoft.graph.windowsInformationProtectionProxiedDomainCollection".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", HelpMessage = @"The "enterpriseProxiedDomains" property, of type "microsoft.graph.windowsInformationProtectionProxiedDomainCollection".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", HelpMessage = @"The "enterpriseProxiedDomains" property, of type "microsoft.graph.windowsInformationProtectionProxiedDomainCollection".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "enterpriseProxiedDomains" property, of type "microsoft.graph.windowsInformationProtectionProxiedDomainCollection".")] - public System.Object[] enterpriseProxiedDomains { get; set; } - - /// - /// The "enterpriseIPRanges" property, of type "microsoft.graph.windowsInformationProtectionIPRangeCollection". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// Sets the enterprise IP ranges that define the computers in the enterprise network. Data that comes from those computers will be considered part of the enterprise and protected. These locations will be considered a safe destination for enterprise data to be shared to - /// - [ODataType("microsoft.graph.windowsInformationProtectionIPRangeCollection")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", HelpMessage = @"The "enterpriseIPRanges" property, of type "microsoft.graph.windowsInformationProtectionIPRangeCollection".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", HelpMessage = @"The "enterpriseIPRanges" property, of type "microsoft.graph.windowsInformationProtectionIPRangeCollection".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", HelpMessage = @"The "enterpriseIPRanges" property, of type "microsoft.graph.windowsInformationProtectionIPRangeCollection".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "enterpriseIPRanges" property, of type "microsoft.graph.windowsInformationProtectionIPRangeCollection".")] - public System.Object[] enterpriseIPRanges { get; set; } - - /// - /// The "enterpriseIPRangesAreAuthoritative" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// Boolean value that tells the client to accept the configured list and not to use heuristics to attempt to find other subnets. Default is false - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", HelpMessage = @"The "enterpriseIPRangesAreAuthoritative" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", HelpMessage = @"The "enterpriseIPRangesAreAuthoritative" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", HelpMessage = @"The "enterpriseIPRangesAreAuthoritative" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "enterpriseIPRangesAreAuthoritative" property, of type "Edm.Boolean".")] - public System.Boolean enterpriseIPRangesAreAuthoritative { get; set; } - - /// - /// The "enterpriseProxyServers" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// This is a list of proxy servers. Any server not on this list is considered non-enterprise - /// - [ODataType("microsoft.graph.windowsInformationProtectionResourceCollection")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", HelpMessage = @"The "enterpriseProxyServers" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", HelpMessage = @"The "enterpriseProxyServers" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", HelpMessage = @"The "enterpriseProxyServers" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "enterpriseProxyServers" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection".")] - public System.Object[] enterpriseProxyServers { get; set; } - - /// - /// The "enterpriseInternalProxyServers" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// This is the comma-separated list of internal proxy servers. For example, "157.54.14.28, 157.54.11.118, 10.202.14.167, 157.53.14.163, 157.69.210.59". These proxies have been configured by the admin to connect to specific resources on the Internet. They are considered to be enterprise network locations. The proxies are only leveraged in configuring the EnterpriseProxiedDomains policy to force traffic to the matched domains through these proxies - /// - [ODataType("microsoft.graph.windowsInformationProtectionResourceCollection")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", HelpMessage = @"The "enterpriseInternalProxyServers" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", HelpMessage = @"The "enterpriseInternalProxyServers" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", HelpMessage = @"The "enterpriseInternalProxyServers" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "enterpriseInternalProxyServers" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection".")] - public System.Object[] enterpriseInternalProxyServers { get; set; } - - /// - /// The "enterpriseProxyServersAreAuthoritative" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// Boolean value that tells the client to accept the configured list of proxies and not try to detect other work proxies. Default is false - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", HelpMessage = @"The "enterpriseProxyServersAreAuthoritative" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", HelpMessage = @"The "enterpriseProxyServersAreAuthoritative" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", HelpMessage = @"The "enterpriseProxyServersAreAuthoritative" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "enterpriseProxyServersAreAuthoritative" property, of type "Edm.Boolean".")] - public System.Boolean enterpriseProxyServersAreAuthoritative { get; set; } - - /// - /// The "neutralDomainResources" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// List of domain names that can used for work or personal resource - /// - [ODataType("microsoft.graph.windowsInformationProtectionResourceCollection")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", HelpMessage = @"The "neutralDomainResources" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", HelpMessage = @"The "neutralDomainResources" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", HelpMessage = @"The "neutralDomainResources" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "neutralDomainResources" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection".")] - public System.Object[] neutralDomainResources { get; set; } - - /// - /// The "indexingEncryptedStoresOrItemsBlocked" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// This switch is for the Windows Search Indexer, to allow or disallow indexing of items - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", HelpMessage = @"The "indexingEncryptedStoresOrItemsBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", HelpMessage = @"The "indexingEncryptedStoresOrItemsBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", HelpMessage = @"The "indexingEncryptedStoresOrItemsBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "indexingEncryptedStoresOrItemsBlocked" property, of type "Edm.Boolean".")] - public System.Boolean indexingEncryptedStoresOrItemsBlocked { get; set; } - - /// - /// The "smbAutoEncryptedFileExtensions" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// Specifies a list of file extensions, so that files with these extensions are encrypted when copying from an SMB share within the corporate boundary - /// - [ODataType("microsoft.graph.windowsInformationProtectionResourceCollection")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", HelpMessage = @"The "smbAutoEncryptedFileExtensions" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", HelpMessage = @"The "smbAutoEncryptedFileExtensions" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", HelpMessage = @"The "smbAutoEncryptedFileExtensions" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "smbAutoEncryptedFileExtensions" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection".")] - public System.Object[] smbAutoEncryptedFileExtensions { get; set; } - - /// - /// The "isAssigned" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// Indicates if the policy is deployed to any inclusion groups or not. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", HelpMessage = @"The "isAssigned" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", HelpMessage = @"The "isAssigned" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", HelpMessage = @"The "isAssigned" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppConfiguration", HelpMessage = @"The "isAssigned" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", HelpMessage = @"The "isAssigned" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", HelpMessage = @"The "isAssigned" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", HelpMessage = @"The "isAssigned" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "isAssigned" property, of type "Edm.Boolean".")] - public System.Boolean isAssigned { get; set; } - - /// - /// The "protectedAppLockerFiles" property, of type "microsoft.graph.windowsInformationProtectionAppLockerFile". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// Another way to input protected apps through xml files - /// - [ODataType("microsoft.graph.windowsInformationProtectionAppLockerFile")] - [Selectable] - [Expandable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", HelpMessage = @"The "protectedAppLockerFiles" property, of type "microsoft.graph.windowsInformationProtectionAppLockerFile".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", HelpMessage = @"The "protectedAppLockerFiles" property, of type "microsoft.graph.windowsInformationProtectionAppLockerFile".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", HelpMessage = @"The "protectedAppLockerFiles" property, of type "microsoft.graph.windowsInformationProtectionAppLockerFile".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "protectedAppLockerFiles" property, of type "microsoft.graph.windowsInformationProtectionAppLockerFile".")] - public System.Object[] protectedAppLockerFiles { get; set; } - - /// - /// The "exemptAppLockerFiles" property, of type "microsoft.graph.windowsInformationProtectionAppLockerFile". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// Another way to input exempt apps through xml files - /// - [ODataType("microsoft.graph.windowsInformationProtectionAppLockerFile")] - [Selectable] - [Expandable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", HelpMessage = @"The "exemptAppLockerFiles" property, of type "microsoft.graph.windowsInformationProtectionAppLockerFile".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", HelpMessage = @"The "exemptAppLockerFiles" property, of type "microsoft.graph.windowsInformationProtectionAppLockerFile".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", HelpMessage = @"The "exemptAppLockerFiles" property, of type "microsoft.graph.windowsInformationProtectionAppLockerFile".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "exemptAppLockerFiles" property, of type "microsoft.graph.windowsInformationProtectionAppLockerFile".")] - public System.Object[] exemptAppLockerFiles { get; set; } - - /// - /// The "assignments" property, of type "microsoft.graph.targetedManagedAppPolicyAssignment". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// Navigation property to list of security groups targeted for policy. - /// - [ODataType("microsoft.graph.targetedManagedAppPolicyAssignment")] - [Selectable] - [Expandable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", HelpMessage = @"The "assignments" property, of type "microsoft.graph.targetedManagedAppPolicyAssignment".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", HelpMessage = @"The "assignments" property, of type "microsoft.graph.targetedManagedAppPolicyAssignment".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", HelpMessage = @"The "assignments" property, of type "microsoft.graph.targetedManagedAppPolicyAssignment".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppConfiguration", HelpMessage = @"The "assignments" property, of type "microsoft.graph.targetedManagedAppPolicyAssignment".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", HelpMessage = @"The "assignments" property, of type "microsoft.graph.targetedManagedAppPolicyAssignment".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", HelpMessage = @"The "assignments" property, of type "microsoft.graph.targetedManagedAppPolicyAssignment".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", HelpMessage = @"The "assignments" property, of type "microsoft.graph.targetedManagedAppPolicyAssignment".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "assignments" property, of type "microsoft.graph.targetedManagedAppPolicyAssignment".")] - public System.Object[] assignments { get; set; } - - /// - /// A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.windowsInformationProtectionPolicy" type. - /// - [Selectable] - [Expandable] - [ParameterSetSelector(@"microsoft.graph.windowsInformationProtectionPolicy")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", Mandatory = true, HelpMessage = @"A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.windowsInformationProtectionPolicy" type.")] - public System.Management.Automation.SwitchParameter windowsInformationProtectionPolicy { get; set; } - - /// - /// The "revokeOnMdmHandoffDisabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.windowsInformationProtectionPolicy" type. - /// New property in RS2, pending documentation - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", HelpMessage = @"The "revokeOnMdmHandoffDisabled" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "revokeOnMdmHandoffDisabled" property, of type "Edm.Boolean".")] - public System.Boolean revokeOnMdmHandoffDisabled { get; set; } - - /// - /// The "mdmEnrollmentUrl" property, of type "Edm.String". - /// This property is on the "microsoft.graph.windowsInformationProtectionPolicy" type. - /// Enrollment url for the MDM - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", HelpMessage = @"The "mdmEnrollmentUrl" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "mdmEnrollmentUrl" property, of type "Edm.String".")] - public System.String mdmEnrollmentUrl { get; set; } - - /// - /// The "windowsHelloForBusinessBlocked" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.windowsInformationProtectionPolicy" type. - /// Boolean value that sets Windows Hello for Business as a method for signing into Windows. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", HelpMessage = @"The "windowsHelloForBusinessBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "windowsHelloForBusinessBlocked" property, of type "Edm.Boolean".")] - public System.Boolean windowsHelloForBusinessBlocked { get; set; } - - /// - /// The "pinMinimumLength" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.windowsInformationProtectionPolicy" type. - /// Integer value that sets the minimum number of characters required for the PIN. Default value is 4. The lowest number you can configure for this policy setting is 4. The largest number you can configure must be less than the number configured in the Maximum PIN length policy setting or the number 127, whichever is the lowest. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", HelpMessage = @"The "pinMinimumLength" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "pinMinimumLength" property, of type "Edm.Int32".")] - public System.Int32 pinMinimumLength { get; set; } - - /// - /// The "pinUppercaseLetters" property, of type "microsoft.graph.windowsInformationProtectionPinCharacterRequirements". - /// This property is on the "microsoft.graph.windowsInformationProtectionPolicy" type. - /// Integer value that configures the use of uppercase letters in the Windows Hello for Business PIN. Default is NotAllow. - /// - /// Valid values: 'notAllow', 'requireAtLeastOne', 'allow' - /// - /// - [ODataType("microsoft.graph.windowsInformationProtectionPinCharacterRequirements")] - [Selectable] - [ValidateSet(@"notAllow", @"requireAtLeastOne", @"allow")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", HelpMessage = @"The "pinUppercaseLetters" property, of type "microsoft.graph.windowsInformationProtectionPinCharacterRequirements".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "pinUppercaseLetters" property, of type "microsoft.graph.windowsInformationProtectionPinCharacterRequirements".")] - public System.String pinUppercaseLetters { get; set; } - - /// - /// The "pinLowercaseLetters" property, of type "microsoft.graph.windowsInformationProtectionPinCharacterRequirements". - /// This property is on the "microsoft.graph.windowsInformationProtectionPolicy" type. - /// Integer value that configures the use of lowercase letters in the Windows Hello for Business PIN. Default is NotAllow. - /// - /// Valid values: 'notAllow', 'requireAtLeastOne', 'allow' - /// - /// - [ODataType("microsoft.graph.windowsInformationProtectionPinCharacterRequirements")] - [Selectable] - [ValidateSet(@"notAllow", @"requireAtLeastOne", @"allow")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", HelpMessage = @"The "pinLowercaseLetters" property, of type "microsoft.graph.windowsInformationProtectionPinCharacterRequirements".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "pinLowercaseLetters" property, of type "microsoft.graph.windowsInformationProtectionPinCharacterRequirements".")] - public System.String pinLowercaseLetters { get; set; } - - /// - /// The "pinSpecialCharacters" property, of type "microsoft.graph.windowsInformationProtectionPinCharacterRequirements". - /// This property is on the "microsoft.graph.windowsInformationProtectionPolicy" type. - /// Integer value that configures the use of special characters in the Windows Hello for Business PIN. Valid special characters for Windows Hello for Business PIN gestures include: ! " # $ % & ' ( ) * + , - . / : ; < = > ? @ [ \ ] ^ _ ` { | } ~. Default is NotAllow. - /// - /// Valid values: 'notAllow', 'requireAtLeastOne', 'allow' - /// - /// - [ODataType("microsoft.graph.windowsInformationProtectionPinCharacterRequirements")] - [Selectable] - [ValidateSet(@"notAllow", @"requireAtLeastOne", @"allow")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", HelpMessage = @"The "pinSpecialCharacters" property, of type "microsoft.graph.windowsInformationProtectionPinCharacterRequirements".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "pinSpecialCharacters" property, of type "microsoft.graph.windowsInformationProtectionPinCharacterRequirements".")] - public System.String pinSpecialCharacters { get; set; } - - /// - /// The "pinExpirationDays" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.windowsInformationProtectionPolicy" type. - /// Integer value specifies the period of time (in days) that a PIN can be used before the system requires the user to change it. The largest number you can configure for this policy setting is 730. The lowest number you can configure for this policy setting is 0. If this policy is set to 0, then the user's PIN will never expire. This node was added in Windows 10, version 1511. Default is 0. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", HelpMessage = @"The "pinExpirationDays" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "pinExpirationDays" property, of type "Edm.Int32".")] - public System.Int32 pinExpirationDays { get; set; } - - /// - /// The "numberOfPastPinsRemembered" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.windowsInformationProtectionPolicy" type. - /// Integer value that specifies the number of past PINs that can be associated to a user account that can't be reused. The largest number you can configure for this policy setting is 50. The lowest number you can configure for this policy setting is 0. If this policy is set to 0, then storage of previous PINs is not required. This node was added in Windows 10, version 1511. Default is 0. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", HelpMessage = @"The "numberOfPastPinsRemembered" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "numberOfPastPinsRemembered" property, of type "Edm.Int32".")] - public System.Int32 numberOfPastPinsRemembered { get; set; } - - /// - /// The "passwordMaximumAttemptCount" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.windowsInformationProtectionPolicy" type. - /// The number of authentication failures allowed before the device will be wiped. A value of 0 disables device wipe functionality. Range is an integer X where 4 <= X <= 16 for desktop and 0 <= X <= 999 for mobile devices. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", HelpMessage = @"The "passwordMaximumAttemptCount" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "passwordMaximumAttemptCount" property, of type "Edm.Int32".")] - public System.Int32 passwordMaximumAttemptCount { get; set; } - - /// - /// The "minutesOfInactivityBeforeDeviceLock" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.windowsInformationProtectionPolicy" type. - /// Specifies the maximum amount of time (in minutes) allowed after the device is idle that will cause the device to become PIN or password locked. Range is an integer X where 0 <= X <= 999. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", HelpMessage = @"The "minutesOfInactivityBeforeDeviceLock" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "minutesOfInactivityBeforeDeviceLock" property, of type "Edm.Int32".")] - public System.Int32 minutesOfInactivityBeforeDeviceLock { get; set; } - - /// - /// The "daysWithoutContactBeforeUnenroll" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.windowsInformationProtectionPolicy" type. - /// Offline interval before app data is wiped (days) - /// - [ODataType("Edm.Int32")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", HelpMessage = @"The "daysWithoutContactBeforeUnenroll" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "daysWithoutContactBeforeUnenroll" property, of type "Edm.Int32".")] - public System.Int32 daysWithoutContactBeforeUnenroll { get; set; } - - /// - /// A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.mdmWindowsInformationProtectionPolicy" type. - /// - [Selectable] - [Expandable] - [ParameterSetSelector(@"microsoft.graph.mdmWindowsInformationProtectionPolicy")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", Mandatory = true, HelpMessage = @"A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.mdmWindowsInformationProtectionPolicy" type.")] - public System.Management.Automation.SwitchParameter mdmWindowsInformationProtectionPolicy { get; set; } - - /// - /// The "customSettings" property, of type "microsoft.graph.keyValuePair". - /// This property is on the "microsoft.graph.managedAppConfiguration" type. - /// A set of string key and string value pairs to be sent to apps for users to whom the configuration is scoped, unalterned by this service - /// - [ODataType("microsoft.graph.keyValuePair")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppConfiguration", HelpMessage = @"The "customSettings" property, of type "microsoft.graph.keyValuePair".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppConfiguration", HelpMessage = @"The "customSettings" property, of type "microsoft.graph.keyValuePair".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", HelpMessage = @"The "customSettings" property, of type "microsoft.graph.keyValuePair".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "customSettings" property, of type "microsoft.graph.keyValuePair".")] - public System.Object[] customSettings { get; set; } - - /// - /// A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.targetedManagedAppConfiguration" type. - /// - [Selectable] - [Expandable] - [ParameterSetSelector(@"microsoft.graph.targetedManagedAppConfiguration")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppConfiguration", Mandatory = true, HelpMessage = @"A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.targetedManagedAppConfiguration" type.")] - public System.Management.Automation.SwitchParameter targetedManagedAppConfiguration { get; set; } - - /// - /// The "deployedAppCount" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.targetedManagedAppConfiguration" type. - /// Count of apps to which the current policy is deployed. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppConfiguration", HelpMessage = @"The "deployedAppCount" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", HelpMessage = @"The "deployedAppCount" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", HelpMessage = @"The "deployedAppCount" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", HelpMessage = @"The "deployedAppCount" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "deployedAppCount" property, of type "Edm.Int32".")] - public System.Int32 deployedAppCount { get; set; } - - /// - /// The "apps" property, of type "microsoft.graph.managedMobileApp". - /// This property is on the "microsoft.graph.targetedManagedAppConfiguration" type. - /// List of apps to which the policy is deployed. - /// - [ODataType("microsoft.graph.managedMobileApp")] - [Selectable] - [Expandable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppConfiguration", HelpMessage = @"The "apps" property, of type "microsoft.graph.managedMobileApp".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", HelpMessage = @"The "apps" property, of type "microsoft.graph.managedMobileApp".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", HelpMessage = @"The "apps" property, of type "microsoft.graph.managedMobileApp".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", HelpMessage = @"The "apps" property, of type "microsoft.graph.managedMobileApp".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "apps" property, of type "microsoft.graph.managedMobileApp".")] - public System.Object[] apps { get; set; } - - /// - /// The "deploymentSummary" property, of type "microsoft.graph.managedAppPolicyDeploymentSummary". - /// This property is on the "microsoft.graph.targetedManagedAppConfiguration" type. - /// Navigation property to deployment summary of the configuration. - /// - [ODataType("microsoft.graph.managedAppPolicyDeploymentSummary")] - [Selectable] - [Expandable] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppConfiguration", HelpMessage = @"The "deploymentSummary" property, of type "microsoft.graph.managedAppPolicyDeploymentSummary".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", HelpMessage = @"The "deploymentSummary" property, of type "microsoft.graph.managedAppPolicyDeploymentSummary".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", HelpMessage = @"The "deploymentSummary" property, of type "microsoft.graph.managedAppPolicyDeploymentSummary".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", HelpMessage = @"The "deploymentSummary" property, of type "microsoft.graph.managedAppPolicyDeploymentSummary".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "deploymentSummary" property, of type "microsoft.graph.managedAppPolicyDeploymentSummary".")] - public System.Object deploymentSummary { get; set; } - - /// - /// The "periodOfflineBeforeAccessCheck" property, of type "Edm.Duration". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// The period after which access is checked when the device is not connected to the internet. - /// - [ODataType("Edm.Duration")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", HelpMessage = @"The "periodOfflineBeforeAccessCheck" property, of type "Edm.Duration".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", HelpMessage = @"The "periodOfflineBeforeAccessCheck" property, of type "Edm.Duration".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", HelpMessage = @"The "periodOfflineBeforeAccessCheck" property, of type "Edm.Duration".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", HelpMessage = @"The "periodOfflineBeforeAccessCheck" property, of type "Edm.Duration".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", HelpMessage = @"The "periodOfflineBeforeAccessCheck" property, of type "Edm.Duration".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "periodOfflineBeforeAccessCheck" property, of type "Edm.Duration".")] - public System.TimeSpan periodOfflineBeforeAccessCheck { get; set; } - - /// - /// The "periodOnlineBeforeAccessCheck" property, of type "Edm.Duration". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// The period after which access is checked when the device is connected to the internet. - /// - [ODataType("Edm.Duration")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", HelpMessage = @"The "periodOnlineBeforeAccessCheck" property, of type "Edm.Duration".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", HelpMessage = @"The "periodOnlineBeforeAccessCheck" property, of type "Edm.Duration".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", HelpMessage = @"The "periodOnlineBeforeAccessCheck" property, of type "Edm.Duration".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", HelpMessage = @"The "periodOnlineBeforeAccessCheck" property, of type "Edm.Duration".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", HelpMessage = @"The "periodOnlineBeforeAccessCheck" property, of type "Edm.Duration".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "periodOnlineBeforeAccessCheck" property, of type "Edm.Duration".")] - public System.TimeSpan periodOnlineBeforeAccessCheck { get; set; } - - /// - /// The "allowedInboundDataTransferSources" property, of type "microsoft.graph.managedAppDataTransferLevel". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Sources from which data is allowed to be transferred. - /// - /// Valid values: 'allApps', 'managedApps', 'none' - /// - /// - [ODataType("microsoft.graph.managedAppDataTransferLevel")] - [Selectable] - [ValidateSet(@"allApps", @"managedApps", @"none")] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", HelpMessage = @"The "allowedInboundDataTransferSources" property, of type "microsoft.graph.managedAppDataTransferLevel".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", HelpMessage = @"The "allowedInboundDataTransferSources" property, of type "microsoft.graph.managedAppDataTransferLevel".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", HelpMessage = @"The "allowedInboundDataTransferSources" property, of type "microsoft.graph.managedAppDataTransferLevel".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", HelpMessage = @"The "allowedInboundDataTransferSources" property, of type "microsoft.graph.managedAppDataTransferLevel".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", HelpMessage = @"The "allowedInboundDataTransferSources" property, of type "microsoft.graph.managedAppDataTransferLevel".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "allowedInboundDataTransferSources" property, of type "microsoft.graph.managedAppDataTransferLevel".")] - public System.String allowedInboundDataTransferSources { get; set; } - - /// - /// The "allowedOutboundDataTransferDestinations" property, of type "microsoft.graph.managedAppDataTransferLevel". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Destinations to which data is allowed to be transferred. - /// - /// Valid values: 'allApps', 'managedApps', 'none' - /// - /// - [ODataType("microsoft.graph.managedAppDataTransferLevel")] - [Selectable] - [ValidateSet(@"allApps", @"managedApps", @"none")] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", HelpMessage = @"The "allowedOutboundDataTransferDestinations" property, of type "microsoft.graph.managedAppDataTransferLevel".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", HelpMessage = @"The "allowedOutboundDataTransferDestinations" property, of type "microsoft.graph.managedAppDataTransferLevel".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", HelpMessage = @"The "allowedOutboundDataTransferDestinations" property, of type "microsoft.graph.managedAppDataTransferLevel".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", HelpMessage = @"The "allowedOutboundDataTransferDestinations" property, of type "microsoft.graph.managedAppDataTransferLevel".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", HelpMessage = @"The "allowedOutboundDataTransferDestinations" property, of type "microsoft.graph.managedAppDataTransferLevel".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "allowedOutboundDataTransferDestinations" property, of type "microsoft.graph.managedAppDataTransferLevel".")] - public System.String allowedOutboundDataTransferDestinations { get; set; } - - /// - /// The "organizationalCredentialsRequired" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Indicates whether organizational credentials are required for app use. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", HelpMessage = @"The "organizationalCredentialsRequired" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", HelpMessage = @"The "organizationalCredentialsRequired" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", HelpMessage = @"The "organizationalCredentialsRequired" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", HelpMessage = @"The "organizationalCredentialsRequired" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", HelpMessage = @"The "organizationalCredentialsRequired" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "organizationalCredentialsRequired" property, of type "Edm.Boolean".")] - public System.Boolean organizationalCredentialsRequired { get; set; } - - /// - /// The "allowedOutboundClipboardSharingLevel" property, of type "microsoft.graph.managedAppClipboardSharingLevel". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// The level to which the clipboard may be shared between apps on the managed device. - /// - /// Valid values: 'allApps', 'managedAppsWithPasteIn', 'managedApps', 'blocked' - /// - /// - [ODataType("microsoft.graph.managedAppClipboardSharingLevel")] - [Selectable] - [ValidateSet(@"allApps", @"managedAppsWithPasteIn", @"managedApps", @"blocked")] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", HelpMessage = @"The "allowedOutboundClipboardSharingLevel" property, of type "microsoft.graph.managedAppClipboardSharingLevel".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", HelpMessage = @"The "allowedOutboundClipboardSharingLevel" property, of type "microsoft.graph.managedAppClipboardSharingLevel".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", HelpMessage = @"The "allowedOutboundClipboardSharingLevel" property, of type "microsoft.graph.managedAppClipboardSharingLevel".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", HelpMessage = @"The "allowedOutboundClipboardSharingLevel" property, of type "microsoft.graph.managedAppClipboardSharingLevel".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", HelpMessage = @"The "allowedOutboundClipboardSharingLevel" property, of type "microsoft.graph.managedAppClipboardSharingLevel".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "allowedOutboundClipboardSharingLevel" property, of type "microsoft.graph.managedAppClipboardSharingLevel".")] - public System.String allowedOutboundClipboardSharingLevel { get; set; } - - /// - /// The "dataBackupBlocked" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Indicates whether the backup of a managed app's data is blocked. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", HelpMessage = @"The "dataBackupBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", HelpMessage = @"The "dataBackupBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", HelpMessage = @"The "dataBackupBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", HelpMessage = @"The "dataBackupBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", HelpMessage = @"The "dataBackupBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "dataBackupBlocked" property, of type "Edm.Boolean".")] - public System.Boolean dataBackupBlocked { get; set; } - - /// - /// The "deviceComplianceRequired" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Indicates whether device compliance is required. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", HelpMessage = @"The "deviceComplianceRequired" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", HelpMessage = @"The "deviceComplianceRequired" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", HelpMessage = @"The "deviceComplianceRequired" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", HelpMessage = @"The "deviceComplianceRequired" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", HelpMessage = @"The "deviceComplianceRequired" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "deviceComplianceRequired" property, of type "Edm.Boolean".")] - public System.Boolean deviceComplianceRequired { get; set; } - - /// - /// The "managedBrowserToOpenLinksRequired" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Indicates whether internet links should be opened in the managed browser app. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", HelpMessage = @"The "managedBrowserToOpenLinksRequired" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", HelpMessage = @"The "managedBrowserToOpenLinksRequired" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", HelpMessage = @"The "managedBrowserToOpenLinksRequired" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", HelpMessage = @"The "managedBrowserToOpenLinksRequired" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", HelpMessage = @"The "managedBrowserToOpenLinksRequired" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "managedBrowserToOpenLinksRequired" property, of type "Edm.Boolean".")] - public System.Boolean managedBrowserToOpenLinksRequired { get; set; } - - /// - /// The "saveAsBlocked" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Indicates whether users may use the "Save As" menu item to save a copy of protected files. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", HelpMessage = @"The "saveAsBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", HelpMessage = @"The "saveAsBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", HelpMessage = @"The "saveAsBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", HelpMessage = @"The "saveAsBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", HelpMessage = @"The "saveAsBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "saveAsBlocked" property, of type "Edm.Boolean".")] - public System.Boolean saveAsBlocked { get; set; } - - /// - /// The "periodOfflineBeforeWipeIsEnforced" property, of type "Edm.Duration". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// The amount of time an app is allowed to remain disconnected from the internet before all managed data it is wiped. - /// - [ODataType("Edm.Duration")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", HelpMessage = @"The "periodOfflineBeforeWipeIsEnforced" property, of type "Edm.Duration".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", HelpMessage = @"The "periodOfflineBeforeWipeIsEnforced" property, of type "Edm.Duration".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", HelpMessage = @"The "periodOfflineBeforeWipeIsEnforced" property, of type "Edm.Duration".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", HelpMessage = @"The "periodOfflineBeforeWipeIsEnforced" property, of type "Edm.Duration".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", HelpMessage = @"The "periodOfflineBeforeWipeIsEnforced" property, of type "Edm.Duration".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "periodOfflineBeforeWipeIsEnforced" property, of type "Edm.Duration".")] - public System.TimeSpan periodOfflineBeforeWipeIsEnforced { get; set; } - - /// - /// The "pinRequired" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Indicates whether an app-level pin is required. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", HelpMessage = @"The "pinRequired" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", HelpMessage = @"The "pinRequired" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", HelpMessage = @"The "pinRequired" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", HelpMessage = @"The "pinRequired" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", HelpMessage = @"The "pinRequired" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "pinRequired" property, of type "Edm.Boolean".")] - public System.Boolean pinRequired { get; set; } - - /// - /// The "maximumPinRetries" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Maximum number of incorrect pin retry attempts before the managed app is either blocked or wiped. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", HelpMessage = @"The "maximumPinRetries" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", HelpMessage = @"The "maximumPinRetries" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", HelpMessage = @"The "maximumPinRetries" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", HelpMessage = @"The "maximumPinRetries" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", HelpMessage = @"The "maximumPinRetries" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "maximumPinRetries" property, of type "Edm.Int32".")] - public System.Int32 maximumPinRetries { get; set; } - - /// - /// The "simplePinBlocked" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Indicates whether simplePin is blocked. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", HelpMessage = @"The "simplePinBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", HelpMessage = @"The "simplePinBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", HelpMessage = @"The "simplePinBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", HelpMessage = @"The "simplePinBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", HelpMessage = @"The "simplePinBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "simplePinBlocked" property, of type "Edm.Boolean".")] - public System.Boolean simplePinBlocked { get; set; } - - /// - /// The "minimumPinLength" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Minimum pin length required for an app-level pin if PinRequired is set to True - /// - [ODataType("Edm.Int32")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", HelpMessage = @"The "minimumPinLength" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", HelpMessage = @"The "minimumPinLength" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", HelpMessage = @"The "minimumPinLength" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", HelpMessage = @"The "minimumPinLength" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", HelpMessage = @"The "minimumPinLength" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "minimumPinLength" property, of type "Edm.Int32".")] - public System.Int32 minimumPinLength { get; set; } - - /// - /// The "pinCharacterSet" property, of type "microsoft.graph.managedAppPinCharacterSet". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Character set which may be used for an app-level pin if PinRequired is set to True. - /// - /// Valid values: 'numeric', 'alphanumericAndSymbol' - /// - /// - [ODataType("microsoft.graph.managedAppPinCharacterSet")] - [Selectable] - [ValidateSet(@"numeric", @"alphanumericAndSymbol")] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", HelpMessage = @"The "pinCharacterSet" property, of type "microsoft.graph.managedAppPinCharacterSet".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", HelpMessage = @"The "pinCharacterSet" property, of type "microsoft.graph.managedAppPinCharacterSet".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", HelpMessage = @"The "pinCharacterSet" property, of type "microsoft.graph.managedAppPinCharacterSet".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", HelpMessage = @"The "pinCharacterSet" property, of type "microsoft.graph.managedAppPinCharacterSet".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", HelpMessage = @"The "pinCharacterSet" property, of type "microsoft.graph.managedAppPinCharacterSet".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "pinCharacterSet" property, of type "microsoft.graph.managedAppPinCharacterSet".")] - public System.String pinCharacterSet { get; set; } - - /// - /// The "periodBeforePinReset" property, of type "Edm.Duration". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// TimePeriod before the all-level pin must be reset if PinRequired is set to True. - /// - [ODataType("Edm.Duration")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", HelpMessage = @"The "periodBeforePinReset" property, of type "Edm.Duration".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", HelpMessage = @"The "periodBeforePinReset" property, of type "Edm.Duration".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", HelpMessage = @"The "periodBeforePinReset" property, of type "Edm.Duration".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", HelpMessage = @"The "periodBeforePinReset" property, of type "Edm.Duration".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", HelpMessage = @"The "periodBeforePinReset" property, of type "Edm.Duration".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "periodBeforePinReset" property, of type "Edm.Duration".")] - public System.TimeSpan periodBeforePinReset { get; set; } - - /// - /// The "allowedDataStorageLocations" property, of type "microsoft.graph.managedAppDataStorageLocation". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Data storage locations where a user may store managed data. - /// - /// Valid values: 'oneDriveForBusiness', 'sharePoint', 'localStorage' - /// - /// - [ODataType("microsoft.graph.managedAppDataStorageLocation")] - [Selectable] - [ValidateSet(@"oneDriveForBusiness", @"sharePoint", @"localStorage")] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", HelpMessage = @"The "allowedDataStorageLocations" property, of type "microsoft.graph.managedAppDataStorageLocation".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", HelpMessage = @"The "allowedDataStorageLocations" property, of type "microsoft.graph.managedAppDataStorageLocation".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", HelpMessage = @"The "allowedDataStorageLocations" property, of type "microsoft.graph.managedAppDataStorageLocation".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", HelpMessage = @"The "allowedDataStorageLocations" property, of type "microsoft.graph.managedAppDataStorageLocation".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", HelpMessage = @"The "allowedDataStorageLocations" property, of type "microsoft.graph.managedAppDataStorageLocation".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "allowedDataStorageLocations" property, of type "microsoft.graph.managedAppDataStorageLocation".")] - public System.String[] allowedDataStorageLocations { get; set; } - - /// - /// The "contactSyncBlocked" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Indicates whether contacts can be synced to the user's device. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", HelpMessage = @"The "contactSyncBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", HelpMessage = @"The "contactSyncBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", HelpMessage = @"The "contactSyncBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", HelpMessage = @"The "contactSyncBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", HelpMessage = @"The "contactSyncBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "contactSyncBlocked" property, of type "Edm.Boolean".")] - public System.Boolean contactSyncBlocked { get; set; } - - /// - /// The "printBlocked" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Indicates whether printing is allowed from managed apps. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", HelpMessage = @"The "printBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", HelpMessage = @"The "printBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", HelpMessage = @"The "printBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", HelpMessage = @"The "printBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", HelpMessage = @"The "printBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "printBlocked" property, of type "Edm.Boolean".")] - public System.Boolean printBlocked { get; set; } - - /// - /// The "fingerprintBlocked" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Indicates whether use of the fingerprint reader is allowed in place of a pin if PinRequired is set to True. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", HelpMessage = @"The "fingerprintBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", HelpMessage = @"The "fingerprintBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", HelpMessage = @"The "fingerprintBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", HelpMessage = @"The "fingerprintBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", HelpMessage = @"The "fingerprintBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "fingerprintBlocked" property, of type "Edm.Boolean".")] - public System.Boolean fingerprintBlocked { get; set; } - - /// - /// The "disableAppPinIfDevicePinIsSet" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Indicates whether use of the app pin is required if the device pin is set. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", HelpMessage = @"The "disableAppPinIfDevicePinIsSet" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", HelpMessage = @"The "disableAppPinIfDevicePinIsSet" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", HelpMessage = @"The "disableAppPinIfDevicePinIsSet" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", HelpMessage = @"The "disableAppPinIfDevicePinIsSet" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", HelpMessage = @"The "disableAppPinIfDevicePinIsSet" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "disableAppPinIfDevicePinIsSet" property, of type "Edm.Boolean".")] - public System.Boolean disableAppPinIfDevicePinIsSet { get; set; } - - /// - /// The "minimumRequiredOsVersion" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Versions less than the specified version will block the managed app from accessing company data. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", HelpMessage = @"The "minimumRequiredOsVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", HelpMessage = @"The "minimumRequiredOsVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", HelpMessage = @"The "minimumRequiredOsVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", HelpMessage = @"The "minimumRequiredOsVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", HelpMessage = @"The "minimumRequiredOsVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "minimumRequiredOsVersion" property, of type "Edm.String".")] - public System.String minimumRequiredOsVersion { get; set; } - - /// - /// The "minimumWarningOsVersion" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Versions less than the specified version will result in warning message on the managed app from accessing company data. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", HelpMessage = @"The "minimumWarningOsVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", HelpMessage = @"The "minimumWarningOsVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", HelpMessage = @"The "minimumWarningOsVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", HelpMessage = @"The "minimumWarningOsVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", HelpMessage = @"The "minimumWarningOsVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "minimumWarningOsVersion" property, of type "Edm.String".")] - public System.String minimumWarningOsVersion { get; set; } - - /// - /// The "minimumRequiredAppVersion" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Versions less than the specified version will block the managed app from accessing company data. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", HelpMessage = @"The "minimumRequiredAppVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", HelpMessage = @"The "minimumRequiredAppVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", HelpMessage = @"The "minimumRequiredAppVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", HelpMessage = @"The "minimumRequiredAppVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", HelpMessage = @"The "minimumRequiredAppVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "minimumRequiredAppVersion" property, of type "Edm.String".")] - public System.String minimumRequiredAppVersion { get; set; } - - /// - /// The "minimumWarningAppVersion" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Versions less than the specified version will result in warning message on the managed app. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", HelpMessage = @"The "minimumWarningAppVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", HelpMessage = @"The "minimumWarningAppVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", HelpMessage = @"The "minimumWarningAppVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", HelpMessage = @"The "minimumWarningAppVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", HelpMessage = @"The "minimumWarningAppVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "minimumWarningAppVersion" property, of type "Edm.String".")] - public System.String minimumWarningAppVersion { get; set; } - - /// - /// A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.defaultManagedAppProtection" type. - /// - [Selectable] - [Expandable] - [ParameterSetSelector(@"microsoft.graph.defaultManagedAppProtection")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", Mandatory = true, HelpMessage = @"A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.defaultManagedAppProtection" type.")] - public System.Management.Automation.SwitchParameter defaultManagedAppProtection { get; set; } - - /// - /// The "appDataEncryptionType" property, of type "microsoft.graph.managedAppDataEncryptionType". - /// This property is on the "microsoft.graph.defaultManagedAppProtection" type. - /// Type of encryption which should be used for data in a managed app. (iOS Only) - /// - /// Valid values: 'useDeviceSettings', 'afterDeviceRestart', 'whenDeviceLockedExceptOpenFiles', 'whenDeviceLocked' - /// - /// - [ODataType("microsoft.graph.managedAppDataEncryptionType")] - [Selectable] - [ValidateSet(@"useDeviceSettings", @"afterDeviceRestart", @"whenDeviceLockedExceptOpenFiles", @"whenDeviceLocked")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", HelpMessage = @"The "appDataEncryptionType" property, of type "microsoft.graph.managedAppDataEncryptionType".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", HelpMessage = @"The "appDataEncryptionType" property, of type "microsoft.graph.managedAppDataEncryptionType".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "appDataEncryptionType" property, of type "microsoft.graph.managedAppDataEncryptionType".")] - public System.String appDataEncryptionType { get; set; } - - /// - /// The "screenCaptureBlocked" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.defaultManagedAppProtection" type. - /// Indicates whether screen capture is blocked. (Android only) - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", HelpMessage = @"The "screenCaptureBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", HelpMessage = @"The "screenCaptureBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "screenCaptureBlocked" property, of type "Edm.Boolean".")] - public System.Boolean screenCaptureBlocked { get; set; } - - /// - /// The "encryptAppData" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.defaultManagedAppProtection" type. - /// Indicates whether managed-app data should be encrypted. (Android only) - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", HelpMessage = @"The "encryptAppData" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", HelpMessage = @"The "encryptAppData" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "encryptAppData" property, of type "Edm.Boolean".")] - public System.Boolean encryptAppData { get; set; } - - /// - /// The "disableAppEncryptionIfDeviceEncryptionIsEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.defaultManagedAppProtection" type. - /// When this setting is enabled, app level encryption is disabled if device level encryption is enabled. (Android only) - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", HelpMessage = @"The "disableAppEncryptionIfDeviceEncryptionIsEnabled" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", HelpMessage = @"The "disableAppEncryptionIfDeviceEncryptionIsEnabled" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "disableAppEncryptionIfDeviceEncryptionIsEnabled" property, of type "Edm.Boolean".")] - public System.Boolean disableAppEncryptionIfDeviceEncryptionIsEnabled { get; set; } - - /// - /// The "minimumRequiredSdkVersion" property, of type "Edm.String". - /// This property is on the "microsoft.graph.defaultManagedAppProtection" type. - /// Versions less than the specified version will block the managed app from accessing company data. (iOS Only) - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", HelpMessage = @"The "minimumRequiredSdkVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", HelpMessage = @"The "minimumRequiredSdkVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "minimumRequiredSdkVersion" property, of type "Edm.String".")] - public System.String minimumRequiredSdkVersion { get; set; } - - /// - /// The "minimumRequiredPatchVersion" property, of type "Edm.String". - /// This property is on the "microsoft.graph.defaultManagedAppProtection" type. - /// Define the oldest required Android security patch level a user can have to gain secure access to the app. (Android only) - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", HelpMessage = @"The "minimumRequiredPatchVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", HelpMessage = @"The "minimumRequiredPatchVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "minimumRequiredPatchVersion" property, of type "Edm.String".")] - public System.String minimumRequiredPatchVersion { get; set; } - - /// - /// The "minimumWarningPatchVersion" property, of type "Edm.String". - /// This property is on the "microsoft.graph.defaultManagedAppProtection" type. - /// Define the oldest recommended Android security patch level a user can have for secure access to the app. (Android only) - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", HelpMessage = @"The "minimumWarningPatchVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", HelpMessage = @"The "minimumWarningPatchVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "minimumWarningPatchVersion" property, of type "Edm.String".")] - public System.String minimumWarningPatchVersion { get; set; } - - /// - /// The "faceIdBlocked" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.defaultManagedAppProtection" type. - /// Indicates whether use of the FaceID is allowed in place of a pin if PinRequired is set to True. (iOS Only) - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", HelpMessage = @"The "faceIdBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", HelpMessage = @"The "faceIdBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "faceIdBlocked" property, of type "Edm.Boolean".")] - public System.Boolean faceIdBlocked { get; set; } - - /// - /// A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.androidManagedAppProtection" type. - /// - [Selectable] - [Expandable] - [ParameterSetSelector(@"microsoft.graph.androidManagedAppProtection")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", Mandatory = true, HelpMessage = @"A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.androidManagedAppProtection" type.")] - public System.Management.Automation.SwitchParameter androidManagedAppProtection { get; set; } - - /// - /// A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.iosManagedAppProtection" type. - /// - [Selectable] - [Expandable] - [ParameterSetSelector(@"microsoft.graph.iosManagedAppProtection")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", Mandatory = true, HelpMessage = @"A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.iosManagedAppProtection" type.")] - public System.Management.Automation.SwitchParameter iosManagedAppProtection { get; set; } - - internal override System.String GetResourcePath() - { - return $"deviceAppManagement/managedAppRegistrations/{managedAppRegistrationId}/appliedPolicies/{managedAppPolicyId}"; - } - } - - /// - /// Removes a "microsoft.graph.managedAppPolicy" object. - /// DELETE ~/deviceAppManagement/managedAppRegistrations/{managedAppRegistrationId}/appliedPolicies/managedAppPolicyId - /// Removes a "microsoft.graph.managedAppPolicy" object from the "appliedPolicies" collection. - /// Zero or more policys already applied on the registered app when it last synchronized with managment service. - /// - /// GitHub Repository - [Cmdlet("Remove", "DeviceAppManagement_ManagedAppRegistrations_AppliedPolicies", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.managedAppPolicy", "microsoft.graph.windowsInformationProtection", "microsoft.graph.windowsInformationProtectionPolicy", "microsoft.graph.mdmWindowsInformationProtectionPolicy", "microsoft.graph.managedAppConfiguration", "microsoft.graph.targetedManagedAppConfiguration", "microsoft.graph.managedAppProtection", "microsoft.graph.defaultManagedAppProtection", "microsoft.graph.targetedManagedAppProtection", "microsoft.graph.androidManagedAppProtection", "microsoft.graph.iosManagedAppProtection")] - [ResourceTypePropertyName("appliedPolicyODataType")] - public class Remove_DeviceAppManagement_ManagedAppRegistrations_AppliedPolicies : DeleteCmdlet - { - /// - /// The ID for a "microsoft.graph.managedAppPolicy" object in the "appliedPolicies" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.managedAppPolicy" object in the "appliedPolicies" collection.")] - public System.String managedAppPolicyId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection.")] - public System.String managedAppRegistrationId { get; set; } - - internal override System.String GetResourcePath() - { - return $"deviceAppManagement/managedAppRegistrations/{managedAppRegistrationId}/appliedPolicies/{managedAppPolicyId}"; - } - } - - /// - /// POST ~/deviceAppManagement/managedAppRegistrations/{managedAppRegistrationId}/appliedPolicies/targetApps - /// The action "microsoft.graph.targetApps", which exists on the type "microsoft.graph.managedAppPolicy". - /// This action does not return any objects. - /// - /// GitHub Repository - [Cmdlet("Invoke", "DeviceAppManagement_ManagedAppRegistrations_AppliedPolicies_TargetApps", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.managedAppPolicy", "microsoft.graph.windowsInformationProtection", "microsoft.graph.windowsInformationProtectionPolicy", "microsoft.graph.mdmWindowsInformationProtectionPolicy", "microsoft.graph.managedAppConfiguration", "microsoft.graph.targetedManagedAppConfiguration", "microsoft.graph.managedAppProtection", "microsoft.graph.defaultManagedAppProtection", "microsoft.graph.targetedManagedAppProtection", "microsoft.graph.androidManagedAppProtection", "microsoft.graph.iosManagedAppProtection")] - [ResourceTypePropertyName("appliedPolicyODataType")] - public class Invoke_DeviceAppManagement_ManagedAppRegistrations_AppliedPolicies_TargetApps : ActionCmdlet - { - /// - /// The "apps" action parameter of type "microsoft.graph.managedMobileApp". - /// - [ODataType("microsoft.graph.managedMobileApp")] - [Selectable] - [Expandable] - [AllowEmptyCollection] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "apps" action parameter of type "microsoft.graph.managedMobileApp".")] - public System.Object[] apps { get; set; } - - /// - /// The ID for a "microsoft.graph.managedAppPolicy" object in the "appliedPolicies" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.managedAppPolicy" object in the "appliedPolicies" collection.")] - public System.String managedAppPolicyId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection.")] - public System.String managedAppRegistrationId { get; set; } - - internal override System.String GetResourcePath() - { - return $"deviceAppManagement/managedAppRegistrations/{managedAppRegistrationId}/appliedPolicies/{managedAppPolicyId}/targetApps"; - } - } -} \ No newline at end of file diff --git a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/ManagedAppRegistrations/AppliedPolicies/Apps.cs b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/ManagedAppRegistrations/AppliedPolicies/Apps.cs deleted file mode 100644 index d884332..0000000 --- a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/ManagedAppRegistrations/AppliedPolicies/Apps.cs +++ /dev/null @@ -1,322 +0,0 @@ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. - -namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets -{ - using System.Management.Automation; - - /// - /// Retrieves "microsoft.graph.managedMobileApp" objects. - /// GET ~/deviceAppManagement/managedAppRegistrations/{managedAppRegistrationId}/appliedPolicies/{managedAppPolicyId}/{appliedPolicyODataType}/apps - /// Retrieves "microsoft.graph.managedMobileApp" objects in the "apps" collection. - /// List of apps to which the policy is deployed. - /// - /// GitHub Repository - [Cmdlet("Get", "DeviceAppManagement_ManagedAppRegistrations_AppliedPolicies_Apps", DefaultParameterSetName = @"Search")] - [ODataType("microsoft.graph.managedMobileApp")] - [ResourceTypePropertyName("appODataType")] - [ResourceReference] - public class Get_DeviceAppManagement_ManagedAppRegistrations_AppliedPolicies_Apps : GetOrSearchCmdlet - { - /// - /// A required ID for referencing a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection.")] - public System.String managedAppRegistrationId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.managedAppPolicy" object in the "appliedPolicies" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedAppPolicy" object in the "appliedPolicies" collection.")] - public System.String managedAppPolicyId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.managedAppPolicy" objects. - /// - /// Valid values: 'microsoft.graph.managedAppPolicy', 'microsoft.graph.windowsInformationProtection', 'microsoft.graph.windowsInformationProtectionPolicy', 'microsoft.graph.mdmWindowsInformationProtectionPolicy', 'microsoft.graph.managedAppConfiguration', 'microsoft.graph.targetedManagedAppConfiguration', 'microsoft.graph.managedAppProtection', 'microsoft.graph.defaultManagedAppProtection', 'microsoft.graph.targetedManagedAppProtection', 'microsoft.graph.androidManagedAppProtection', 'microsoft.graph.iosManagedAppProtection' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.managedAppPolicy", @"microsoft.graph.windowsInformationProtection", @"microsoft.graph.windowsInformationProtectionPolicy", @"microsoft.graph.mdmWindowsInformationProtectionPolicy", @"microsoft.graph.managedAppConfiguration", @"microsoft.graph.targetedManagedAppConfiguration", @"microsoft.graph.managedAppProtection", @"microsoft.graph.defaultManagedAppProtection", @"microsoft.graph.targetedManagedAppProtection", @"microsoft.graph.androidManagedAppProtection", @"microsoft.graph.iosManagedAppProtection")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.managedAppPolicy" objects.")] - public System.String appliedPolicyODataType { get; set; } - - /// - /// The ID for a "microsoft.graph.managedMobileApp" object in the "apps" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(ParameterSetName = @"Get", Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.managedMobileApp" object in the "apps" collection.")] - public System.String managedMobileAppId { get; set; } - - /// - /// The "mobileAppIdentifier" property, of type "microsoft.graph.mobileAppIdentifier". - /// This property is on the "microsoft.graph.managedMobileApp" type. - /// The identifier for an app with it's operating system type. - /// - [ODataType("microsoft.graph.mobileAppIdentifier", "microsoft.graph.iosMobileAppIdentifier", "microsoft.graph.androidMobileAppIdentifier")] - [Selectable] - [Sortable] - public System.Object mobileAppIdentifier { get; set; } - - /// - /// The "version" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedMobileApp" type. - /// Version of the entity. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String version { get; set; } - - internal override System.String GetResourcePath() - { - return $"deviceAppManagement/managedAppRegistrations/{managedAppRegistrationId}/appliedPolicies/{managedAppPolicyId}/{appliedPolicyODataType}/apps/{managedMobileAppId ?? string.Empty}"; - } - } - - /// - /// Creates a "microsoft.graph.managedMobileApp" object. - /// POST ~/deviceAppManagement/managedAppRegistrations/{managedAppRegistrationId}/appliedPolicies/{managedAppPolicyId}/{appliedPolicyODataType}/apps - /// Adds a "microsoft.graph.managedMobileApp" object to the "apps" collection. - /// List of apps to which the policy is deployed. - /// - /// GitHub Repository - [Cmdlet("New", "DeviceAppManagement_ManagedAppRegistrations_AppliedPolicies_Apps", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.managedMobileApp")] - [ODataType("microsoft.graph.managedMobileApp")] - [ResourceTypePropertyName("appODataType")] - [ResourceReference] - public class New_DeviceAppManagement_ManagedAppRegistrations_AppliedPolicies_Apps : PostCmdlet - { - /// - /// The ID for a "microsoft.graph.managedMobileApp" object in the "apps" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - public System.String managedMobileAppId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection.")] - public System.String managedAppRegistrationId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.managedAppPolicy" object in the "appliedPolicies" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedAppPolicy" object in the "appliedPolicies" collection.")] - public System.String managedAppPolicyId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.managedAppPolicy" objects. - /// - /// Valid values: 'microsoft.graph.managedAppPolicy', 'microsoft.graph.windowsInformationProtection', 'microsoft.graph.windowsInformationProtectionPolicy', 'microsoft.graph.mdmWindowsInformationProtectionPolicy', 'microsoft.graph.managedAppConfiguration', 'microsoft.graph.targetedManagedAppConfiguration', 'microsoft.graph.managedAppProtection', 'microsoft.graph.defaultManagedAppProtection', 'microsoft.graph.targetedManagedAppProtection', 'microsoft.graph.androidManagedAppProtection', 'microsoft.graph.iosManagedAppProtection' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.managedAppPolicy", @"microsoft.graph.windowsInformationProtection", @"microsoft.graph.windowsInformationProtectionPolicy", @"microsoft.graph.mdmWindowsInformationProtectionPolicy", @"microsoft.graph.managedAppConfiguration", @"microsoft.graph.targetedManagedAppConfiguration", @"microsoft.graph.managedAppProtection", @"microsoft.graph.defaultManagedAppProtection", @"microsoft.graph.targetedManagedAppProtection", @"microsoft.graph.androidManagedAppProtection", @"microsoft.graph.iosManagedAppProtection")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.managedAppPolicy" objects.")] - public System.String appliedPolicyODataType { get; set; } - - /// - /// The "mobileAppIdentifier" property, of type "microsoft.graph.mobileAppIdentifier". - /// This property is on the "microsoft.graph.managedMobileApp" type. - /// The identifier for an app with it's operating system type. - /// - [ODataType("microsoft.graph.mobileAppIdentifier", "microsoft.graph.iosMobileAppIdentifier", "microsoft.graph.androidMobileAppIdentifier")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedMobileApp", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "mobileAppIdentifier" property, of type "microsoft.graph.mobileAppIdentifier".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "mobileAppIdentifier" property, of type "microsoft.graph.mobileAppIdentifier".")] - public System.Object mobileAppIdentifier { get; set; } - - /// - /// The "version" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedMobileApp" type. - /// Version of the entity. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedMobileApp", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "version" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "version" property, of type "Edm.String".")] - public System.String version { get; set; } - - internal override System.String GetResourcePath() - { - return $"deviceAppManagement/managedAppRegistrations/{managedAppRegistrationId}/appliedPolicies/{managedAppPolicyId}/{appliedPolicyODataType}/apps/{managedMobileAppId}"; - } - } - - /// - /// Updates a "microsoft.graph.managedMobileApp". - /// PATCH ~/deviceAppManagement/managedAppRegistrations/{managedAppRegistrationId}/appliedPolicies/{managedAppPolicyId}/{appliedPolicyODataType}/apps - /// Updates a "microsoft.graph.managedMobileApp" object in the "apps" collection. - /// List of apps to which the policy is deployed. - /// - /// GitHub Repository - [Cmdlet("Update", "DeviceAppManagement_ManagedAppRegistrations_AppliedPolicies_Apps", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.managedMobileApp")] - [ODataType("microsoft.graph.managedMobileApp")] - [ResourceTypePropertyName("appODataType")] - public class Update_DeviceAppManagement_ManagedAppRegistrations_AppliedPolicies_Apps : PatchCmdlet - { - /// - /// The ID for a "microsoft.graph.managedMobileApp" object in the "apps" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.managedMobileApp" object in the "apps" collection.")] - public System.String managedMobileAppId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection.")] - public System.String managedAppRegistrationId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.managedAppPolicy" object in the "appliedPolicies" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedAppPolicy" object in the "appliedPolicies" collection.")] - public System.String managedAppPolicyId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.managedAppPolicy" objects. - /// - /// Valid values: 'microsoft.graph.managedAppPolicy', 'microsoft.graph.windowsInformationProtection', 'microsoft.graph.windowsInformationProtectionPolicy', 'microsoft.graph.mdmWindowsInformationProtectionPolicy', 'microsoft.graph.managedAppConfiguration', 'microsoft.graph.targetedManagedAppConfiguration', 'microsoft.graph.managedAppProtection', 'microsoft.graph.defaultManagedAppProtection', 'microsoft.graph.targetedManagedAppProtection', 'microsoft.graph.androidManagedAppProtection', 'microsoft.graph.iosManagedAppProtection' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.managedAppPolicy", @"microsoft.graph.windowsInformationProtection", @"microsoft.graph.windowsInformationProtectionPolicy", @"microsoft.graph.mdmWindowsInformationProtectionPolicy", @"microsoft.graph.managedAppConfiguration", @"microsoft.graph.targetedManagedAppConfiguration", @"microsoft.graph.managedAppProtection", @"microsoft.graph.defaultManagedAppProtection", @"microsoft.graph.targetedManagedAppProtection", @"microsoft.graph.androidManagedAppProtection", @"microsoft.graph.iosManagedAppProtection")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.managedAppPolicy" objects.")] - public System.String appliedPolicyODataType { get; set; } - - /// - /// The "mobileAppIdentifier" property, of type "microsoft.graph.mobileAppIdentifier". - /// This property is on the "microsoft.graph.managedMobileApp" type. - /// The identifier for an app with it's operating system type. - /// - [ODataType("microsoft.graph.mobileAppIdentifier", "microsoft.graph.iosMobileAppIdentifier", "microsoft.graph.androidMobileAppIdentifier")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedMobileApp", HelpMessage = @"The "mobileAppIdentifier" property, of type "microsoft.graph.mobileAppIdentifier".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "mobileAppIdentifier" property, of type "microsoft.graph.mobileAppIdentifier".")] - public System.Object mobileAppIdentifier { get; set; } - - /// - /// The "version" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedMobileApp" type. - /// Version of the entity. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedMobileApp", HelpMessage = @"The "version" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "version" property, of type "Edm.String".")] - public System.String version { get; set; } - - internal override System.String GetResourcePath() - { - return $"deviceAppManagement/managedAppRegistrations/{managedAppRegistrationId}/appliedPolicies/{managedAppPolicyId}/{appliedPolicyODataType}/apps/{managedMobileAppId}"; - } - } - - /// - /// Removes a "microsoft.graph.managedMobileApp" object. - /// DELETE ~/deviceAppManagement/managedAppRegistrations/{managedAppRegistrationId}/appliedPolicies/{managedAppPolicyId}/{appliedPolicyODataType}/apps/managedMobileAppId - /// Removes a "microsoft.graph.managedMobileApp" object from the "apps" collection. - /// List of apps to which the policy is deployed. - /// - /// GitHub Repository - [Cmdlet("Remove", "DeviceAppManagement_ManagedAppRegistrations_AppliedPolicies_Apps", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.managedMobileApp")] - [ResourceTypePropertyName("appODataType")] - public class Remove_DeviceAppManagement_ManagedAppRegistrations_AppliedPolicies_Apps : DeleteCmdlet - { - /// - /// The ID for a "microsoft.graph.managedMobileApp" object in the "apps" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.managedMobileApp" object in the "apps" collection.")] - public System.String managedMobileAppId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection.")] - public System.String managedAppRegistrationId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.managedAppPolicy" object in the "appliedPolicies" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedAppPolicy" object in the "appliedPolicies" collection.")] - public System.String managedAppPolicyId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.managedAppPolicy" objects. - /// - /// Valid values: 'microsoft.graph.managedAppPolicy', 'microsoft.graph.windowsInformationProtection', 'microsoft.graph.windowsInformationProtectionPolicy', 'microsoft.graph.mdmWindowsInformationProtectionPolicy', 'microsoft.graph.managedAppConfiguration', 'microsoft.graph.targetedManagedAppConfiguration', 'microsoft.graph.managedAppProtection', 'microsoft.graph.defaultManagedAppProtection', 'microsoft.graph.targetedManagedAppProtection', 'microsoft.graph.androidManagedAppProtection', 'microsoft.graph.iosManagedAppProtection' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.managedAppPolicy", @"microsoft.graph.windowsInformationProtection", @"microsoft.graph.windowsInformationProtectionPolicy", @"microsoft.graph.mdmWindowsInformationProtectionPolicy", @"microsoft.graph.managedAppConfiguration", @"microsoft.graph.targetedManagedAppConfiguration", @"microsoft.graph.managedAppProtection", @"microsoft.graph.defaultManagedAppProtection", @"microsoft.graph.targetedManagedAppProtection", @"microsoft.graph.androidManagedAppProtection", @"microsoft.graph.iosManagedAppProtection")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.managedAppPolicy" objects.")] - public System.String appliedPolicyODataType { get; set; } - - internal override System.String GetResourcePath() - { - return $"deviceAppManagement/managedAppRegistrations/{managedAppRegistrationId}/appliedPolicies/{managedAppPolicyId}/{appliedPolicyODataType}/apps/{managedMobileAppId}"; - } - } -} \ No newline at end of file diff --git a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/ManagedAppRegistrations/AppliedPolicies/Assignments.cs b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/ManagedAppRegistrations/AppliedPolicies/Assignments.cs deleted file mode 100644 index dfb8870..0000000 --- a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/ManagedAppRegistrations/AppliedPolicies/Assignments.cs +++ /dev/null @@ -1,290 +0,0 @@ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. - -namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets -{ - using System.Management.Automation; - - /// - /// Retrieves "microsoft.graph.targetedManagedAppPolicyAssignment" objects. - /// GET ~/deviceAppManagement/managedAppRegistrations/{managedAppRegistrationId}/appliedPolicies/{managedAppPolicyId}/{appliedPolicyODataType}/assignments - /// Retrieves "microsoft.graph.targetedManagedAppPolicyAssignment" objects in the "assignments" collection. - /// Navigation property to list of security groups targeted for policy. - /// - /// GitHub Repository - [Cmdlet("Get", "DeviceAppManagement_ManagedAppRegistrations_AppliedPolicies_Assignments", DefaultParameterSetName = @"Search")] - [ODataType("microsoft.graph.targetedManagedAppPolicyAssignment")] - [ResourceTypePropertyName("assignmentODataType")] - [ResourceReference] - public class Get_DeviceAppManagement_ManagedAppRegistrations_AppliedPolicies_Assignments : GetOrSearchCmdlet - { - /// - /// A required ID for referencing a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection.")] - public System.String managedAppRegistrationId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.managedAppPolicy" object in the "appliedPolicies" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedAppPolicy" object in the "appliedPolicies" collection.")] - public System.String managedAppPolicyId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.managedAppPolicy" objects. - /// - /// Valid values: 'microsoft.graph.managedAppPolicy', 'microsoft.graph.windowsInformationProtection', 'microsoft.graph.windowsInformationProtectionPolicy', 'microsoft.graph.mdmWindowsInformationProtectionPolicy', 'microsoft.graph.managedAppConfiguration', 'microsoft.graph.targetedManagedAppConfiguration', 'microsoft.graph.managedAppProtection', 'microsoft.graph.defaultManagedAppProtection', 'microsoft.graph.targetedManagedAppProtection', 'microsoft.graph.androidManagedAppProtection', 'microsoft.graph.iosManagedAppProtection' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.managedAppPolicy", @"microsoft.graph.windowsInformationProtection", @"microsoft.graph.windowsInformationProtectionPolicy", @"microsoft.graph.mdmWindowsInformationProtectionPolicy", @"microsoft.graph.managedAppConfiguration", @"microsoft.graph.targetedManagedAppConfiguration", @"microsoft.graph.managedAppProtection", @"microsoft.graph.defaultManagedAppProtection", @"microsoft.graph.targetedManagedAppProtection", @"microsoft.graph.androidManagedAppProtection", @"microsoft.graph.iosManagedAppProtection")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.managedAppPolicy" objects.")] - public System.String appliedPolicyODataType { get; set; } - - /// - /// The ID for a "microsoft.graph.targetedManagedAppPolicyAssignment" object in the "assignments" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(ParameterSetName = @"Get", Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.targetedManagedAppPolicyAssignment" object in the "assignments" collection.")] - public System.String targetedManagedAppPolicyAssignmentId { get; set; } - - /// - /// The "target" property, of type "microsoft.graph.deviceAndAppManagementAssignmentTarget". - /// This property is on the "microsoft.graph.targetedManagedAppPolicyAssignment" type. - /// Identifier for deployment of a group or app - /// - [ODataType("microsoft.graph.deviceAndAppManagementAssignmentTarget", "microsoft.graph.allDevicesAssignmentTarget", "microsoft.graph.groupAssignmentTarget", "microsoft.graph.exclusionGroupAssignmentTarget", "microsoft.graph.allLicensedUsersAssignmentTarget")] - [Selectable] - [Sortable] - public System.Object target { get; set; } - - internal override System.String GetResourcePath() - { - return $"deviceAppManagement/managedAppRegistrations/{managedAppRegistrationId}/appliedPolicies/{managedAppPolicyId}/{appliedPolicyODataType}/assignments/{targetedManagedAppPolicyAssignmentId ?? string.Empty}"; - } - } - - /// - /// Creates a "microsoft.graph.targetedManagedAppPolicyAssignment" object. - /// POST ~/deviceAppManagement/managedAppRegistrations/{managedAppRegistrationId}/appliedPolicies/{managedAppPolicyId}/{appliedPolicyODataType}/assignments - /// Adds a "microsoft.graph.targetedManagedAppPolicyAssignment" object to the "assignments" collection. - /// Navigation property to list of security groups targeted for policy. - /// - /// GitHub Repository - [Cmdlet("New", "DeviceAppManagement_ManagedAppRegistrations_AppliedPolicies_Assignments", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.targetedManagedAppPolicyAssignment")] - [ODataType("microsoft.graph.targetedManagedAppPolicyAssignment")] - [ResourceTypePropertyName("assignmentODataType")] - [ResourceReference] - public class New_DeviceAppManagement_ManagedAppRegistrations_AppliedPolicies_Assignments : PostCmdlet - { - /// - /// The ID for a "microsoft.graph.targetedManagedAppPolicyAssignment" object in the "assignments" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - public System.String targetedManagedAppPolicyAssignmentId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection.")] - public System.String managedAppRegistrationId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.managedAppPolicy" object in the "appliedPolicies" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedAppPolicy" object in the "appliedPolicies" collection.")] - public System.String managedAppPolicyId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.managedAppPolicy" objects. - /// - /// Valid values: 'microsoft.graph.managedAppPolicy', 'microsoft.graph.windowsInformationProtection', 'microsoft.graph.windowsInformationProtectionPolicy', 'microsoft.graph.mdmWindowsInformationProtectionPolicy', 'microsoft.graph.managedAppConfiguration', 'microsoft.graph.targetedManagedAppConfiguration', 'microsoft.graph.managedAppProtection', 'microsoft.graph.defaultManagedAppProtection', 'microsoft.graph.targetedManagedAppProtection', 'microsoft.graph.androidManagedAppProtection', 'microsoft.graph.iosManagedAppProtection' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.managedAppPolicy", @"microsoft.graph.windowsInformationProtection", @"microsoft.graph.windowsInformationProtectionPolicy", @"microsoft.graph.mdmWindowsInformationProtectionPolicy", @"microsoft.graph.managedAppConfiguration", @"microsoft.graph.targetedManagedAppConfiguration", @"microsoft.graph.managedAppProtection", @"microsoft.graph.defaultManagedAppProtection", @"microsoft.graph.targetedManagedAppProtection", @"microsoft.graph.androidManagedAppProtection", @"microsoft.graph.iosManagedAppProtection")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.managedAppPolicy" objects.")] - public System.String appliedPolicyODataType { get; set; } - - /// - /// The "target" property, of type "microsoft.graph.deviceAndAppManagementAssignmentTarget". - /// This property is on the "microsoft.graph.targetedManagedAppPolicyAssignment" type. - /// Identifier for deployment of a group or app - /// - [ODataType("microsoft.graph.deviceAndAppManagementAssignmentTarget", "microsoft.graph.allDevicesAssignmentTarget", "microsoft.graph.groupAssignmentTarget", "microsoft.graph.exclusionGroupAssignmentTarget", "microsoft.graph.allLicensedUsersAssignmentTarget")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppPolicyAssignment", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "target" property, of type "microsoft.graph.deviceAndAppManagementAssignmentTarget".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "target" property, of type "microsoft.graph.deviceAndAppManagementAssignmentTarget".")] - public System.Object target { get; set; } - - internal override System.String GetResourcePath() - { - return $"deviceAppManagement/managedAppRegistrations/{managedAppRegistrationId}/appliedPolicies/{managedAppPolicyId}/{appliedPolicyODataType}/assignments/{targetedManagedAppPolicyAssignmentId}"; - } - } - - /// - /// Updates a "microsoft.graph.targetedManagedAppPolicyAssignment". - /// PATCH ~/deviceAppManagement/managedAppRegistrations/{managedAppRegistrationId}/appliedPolicies/{managedAppPolicyId}/{appliedPolicyODataType}/assignments - /// Updates a "microsoft.graph.targetedManagedAppPolicyAssignment" object in the "assignments" collection. - /// Navigation property to list of security groups targeted for policy. - /// - /// GitHub Repository - [Cmdlet("Update", "DeviceAppManagement_ManagedAppRegistrations_AppliedPolicies_Assignments", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.targetedManagedAppPolicyAssignment")] - [ODataType("microsoft.graph.targetedManagedAppPolicyAssignment")] - [ResourceTypePropertyName("assignmentODataType")] - public class Update_DeviceAppManagement_ManagedAppRegistrations_AppliedPolicies_Assignments : PatchCmdlet - { - /// - /// The ID for a "microsoft.graph.targetedManagedAppPolicyAssignment" object in the "assignments" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.targetedManagedAppPolicyAssignment" object in the "assignments" collection.")] - public System.String targetedManagedAppPolicyAssignmentId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection.")] - public System.String managedAppRegistrationId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.managedAppPolicy" object in the "appliedPolicies" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedAppPolicy" object in the "appliedPolicies" collection.")] - public System.String managedAppPolicyId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.managedAppPolicy" objects. - /// - /// Valid values: 'microsoft.graph.managedAppPolicy', 'microsoft.graph.windowsInformationProtection', 'microsoft.graph.windowsInformationProtectionPolicy', 'microsoft.graph.mdmWindowsInformationProtectionPolicy', 'microsoft.graph.managedAppConfiguration', 'microsoft.graph.targetedManagedAppConfiguration', 'microsoft.graph.managedAppProtection', 'microsoft.graph.defaultManagedAppProtection', 'microsoft.graph.targetedManagedAppProtection', 'microsoft.graph.androidManagedAppProtection', 'microsoft.graph.iosManagedAppProtection' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.managedAppPolicy", @"microsoft.graph.windowsInformationProtection", @"microsoft.graph.windowsInformationProtectionPolicy", @"microsoft.graph.mdmWindowsInformationProtectionPolicy", @"microsoft.graph.managedAppConfiguration", @"microsoft.graph.targetedManagedAppConfiguration", @"microsoft.graph.managedAppProtection", @"microsoft.graph.defaultManagedAppProtection", @"microsoft.graph.targetedManagedAppProtection", @"microsoft.graph.androidManagedAppProtection", @"microsoft.graph.iosManagedAppProtection")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.managedAppPolicy" objects.")] - public System.String appliedPolicyODataType { get; set; } - - /// - /// The "target" property, of type "microsoft.graph.deviceAndAppManagementAssignmentTarget". - /// This property is on the "microsoft.graph.targetedManagedAppPolicyAssignment" type. - /// Identifier for deployment of a group or app - /// - [ODataType("microsoft.graph.deviceAndAppManagementAssignmentTarget", "microsoft.graph.allDevicesAssignmentTarget", "microsoft.graph.groupAssignmentTarget", "microsoft.graph.exclusionGroupAssignmentTarget", "microsoft.graph.allLicensedUsersAssignmentTarget")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppPolicyAssignment", HelpMessage = @"The "target" property, of type "microsoft.graph.deviceAndAppManagementAssignmentTarget".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "target" property, of type "microsoft.graph.deviceAndAppManagementAssignmentTarget".")] - public System.Object target { get; set; } - - internal override System.String GetResourcePath() - { - return $"deviceAppManagement/managedAppRegistrations/{managedAppRegistrationId}/appliedPolicies/{managedAppPolicyId}/{appliedPolicyODataType}/assignments/{targetedManagedAppPolicyAssignmentId}"; - } - } - - /// - /// Removes a "microsoft.graph.targetedManagedAppPolicyAssignment" object. - /// DELETE ~/deviceAppManagement/managedAppRegistrations/{managedAppRegistrationId}/appliedPolicies/{managedAppPolicyId}/{appliedPolicyODataType}/assignments/targetedManagedAppPolicyAssignmentId - /// Removes a "microsoft.graph.targetedManagedAppPolicyAssignment" object from the "assignments" collection. - /// Navigation property to list of security groups targeted for policy. - /// - /// GitHub Repository - [Cmdlet("Remove", "DeviceAppManagement_ManagedAppRegistrations_AppliedPolicies_Assignments", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.targetedManagedAppPolicyAssignment")] - [ResourceTypePropertyName("assignmentODataType")] - public class Remove_DeviceAppManagement_ManagedAppRegistrations_AppliedPolicies_Assignments : DeleteCmdlet - { - /// - /// The ID for a "microsoft.graph.targetedManagedAppPolicyAssignment" object in the "assignments" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.targetedManagedAppPolicyAssignment" object in the "assignments" collection.")] - public System.String targetedManagedAppPolicyAssignmentId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection.")] - public System.String managedAppRegistrationId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.managedAppPolicy" object in the "appliedPolicies" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedAppPolicy" object in the "appliedPolicies" collection.")] - public System.String managedAppPolicyId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.managedAppPolicy" objects. - /// - /// Valid values: 'microsoft.graph.managedAppPolicy', 'microsoft.graph.windowsInformationProtection', 'microsoft.graph.windowsInformationProtectionPolicy', 'microsoft.graph.mdmWindowsInformationProtectionPolicy', 'microsoft.graph.managedAppConfiguration', 'microsoft.graph.targetedManagedAppConfiguration', 'microsoft.graph.managedAppProtection', 'microsoft.graph.defaultManagedAppProtection', 'microsoft.graph.targetedManagedAppProtection', 'microsoft.graph.androidManagedAppProtection', 'microsoft.graph.iosManagedAppProtection' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.managedAppPolicy", @"microsoft.graph.windowsInformationProtection", @"microsoft.graph.windowsInformationProtectionPolicy", @"microsoft.graph.mdmWindowsInformationProtectionPolicy", @"microsoft.graph.managedAppConfiguration", @"microsoft.graph.targetedManagedAppConfiguration", @"microsoft.graph.managedAppProtection", @"microsoft.graph.defaultManagedAppProtection", @"microsoft.graph.targetedManagedAppProtection", @"microsoft.graph.androidManagedAppProtection", @"microsoft.graph.iosManagedAppProtection")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.managedAppPolicy" objects.")] - public System.String appliedPolicyODataType { get; set; } - - internal override System.String GetResourcePath() - { - return $"deviceAppManagement/managedAppRegistrations/{managedAppRegistrationId}/appliedPolicies/{managedAppPolicyId}/{appliedPolicyODataType}/assignments/{targetedManagedAppPolicyAssignmentId}"; - } - } -} \ No newline at end of file diff --git a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/ManagedAppRegistrations/AppliedPolicies/DeploymentSummary.cs b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/ManagedAppRegistrations/AppliedPolicies/DeploymentSummary.cs deleted file mode 100644 index a258fba..0000000 --- a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/ManagedAppRegistrations/AppliedPolicies/DeploymentSummary.cs +++ /dev/null @@ -1,365 +0,0 @@ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. - -namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets -{ - using System.Management.Automation; - - /// - /// Retrieves the "deploymentSummary" object. - /// GET ~/deviceAppManagement/managedAppRegistrations/{managedAppRegistrationId}/appliedPolicies/{managedAppPolicyId}/{appliedPolicyODataType}/deploymentSummary - /// Retrieves the "deploymentSummary" object (which is of type "microsoft.graph.managedAppPolicyDeploymentSummary"). - /// Navigation property to deployment summary of the configuration. - /// - /// GitHub Repository - [Cmdlet("Get", "DeviceAppManagement_ManagedAppRegistrations_AppliedPolicies_DeploymentSummary", DefaultParameterSetName = @"Get")] - [ODataType("microsoft.graph.managedAppPolicyDeploymentSummary")] - [ResourceTypePropertyName("deploymentSummaryODataType")] - [ResourceReference] - public class Get_DeviceAppManagement_ManagedAppRegistrations_AppliedPolicies_DeploymentSummary : GetCmdlet - { - /// - /// A required ID for referencing a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection.")] - public System.String managedAppRegistrationId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.managedAppPolicy" object in the "appliedPolicies" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedAppPolicy" object in the "appliedPolicies" collection.")] - public System.String managedAppPolicyId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.managedAppPolicy" objects. - /// - /// Valid values: 'microsoft.graph.managedAppPolicy', 'microsoft.graph.windowsInformationProtection', 'microsoft.graph.windowsInformationProtectionPolicy', 'microsoft.graph.mdmWindowsInformationProtectionPolicy', 'microsoft.graph.managedAppConfiguration', 'microsoft.graph.targetedManagedAppConfiguration', 'microsoft.graph.managedAppProtection', 'microsoft.graph.defaultManagedAppProtection', 'microsoft.graph.targetedManagedAppProtection', 'microsoft.graph.androidManagedAppProtection', 'microsoft.graph.iosManagedAppProtection' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.managedAppPolicy", @"microsoft.graph.windowsInformationProtection", @"microsoft.graph.windowsInformationProtectionPolicy", @"microsoft.graph.mdmWindowsInformationProtectionPolicy", @"microsoft.graph.managedAppConfiguration", @"microsoft.graph.targetedManagedAppConfiguration", @"microsoft.graph.managedAppProtection", @"microsoft.graph.defaultManagedAppProtection", @"microsoft.graph.targetedManagedAppProtection", @"microsoft.graph.androidManagedAppProtection", @"microsoft.graph.iosManagedAppProtection")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.managedAppPolicy" objects.")] - public System.String appliedPolicyODataType { get; set; } - - /// - /// The "displayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedAppPolicyDeploymentSummary" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String displayName { get; set; } - - /// - /// The "configurationDeployedUserCount" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.managedAppPolicyDeploymentSummary" type. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - public System.Int32 configurationDeployedUserCount { get; set; } - - /// - /// The "lastRefreshTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.managedAppPolicyDeploymentSummary" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - public System.DateTimeOffset lastRefreshTime { get; set; } - - /// - /// The "configurationDeploymentSummaryPerApp" property, of type "microsoft.graph.managedAppPolicyDeploymentSummaryPerApp". - /// This property is on the "microsoft.graph.managedAppPolicyDeploymentSummary" type. - /// - [ODataType("microsoft.graph.managedAppPolicyDeploymentSummaryPerApp")] - [Selectable] - public System.Object[] configurationDeploymentSummaryPerApp { get; set; } - - /// - /// The "version" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedAppPolicyDeploymentSummary" type. - /// Version of the entity. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String version { get; set; } - - internal override System.String GetResourcePath() - { - return $"deviceAppManagement/managedAppRegistrations/{managedAppRegistrationId}/appliedPolicies/{managedAppPolicyId}/{appliedPolicyODataType}/deploymentSummary"; - } - } - - /// - /// Creates a "microsoft.graph.managedAppPolicyDeploymentSummary" object. - /// POST ~/deviceAppManagement/managedAppRegistrations/{managedAppRegistrationId}/appliedPolicies/{managedAppPolicyId}/{appliedPolicyODataType}/deploymentSummary - /// Creates the "deploymentSummary" object (which is of type "microsoft.graph.managedAppPolicyDeploymentSummary"). - /// Navigation property to deployment summary of the configuration. - /// - /// GitHub Repository - [Cmdlet("New", "DeviceAppManagement_ManagedAppRegistrations_AppliedPolicies_DeploymentSummary", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.managedAppPolicyDeploymentSummary")] - [ODataType("microsoft.graph.managedAppPolicyDeploymentSummary")] - [ResourceTypePropertyName("deploymentSummaryODataType")] - [ResourceReference] - public class New_DeviceAppManagement_ManagedAppRegistrations_AppliedPolicies_DeploymentSummary : PostCmdlet - { - /// - /// A required ID for referencing a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection.")] - public System.String managedAppRegistrationId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.managedAppPolicy" object in the "appliedPolicies" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedAppPolicy" object in the "appliedPolicies" collection.")] - public System.String managedAppPolicyId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.managedAppPolicy" objects. - /// - /// Valid values: 'microsoft.graph.managedAppPolicy', 'microsoft.graph.windowsInformationProtection', 'microsoft.graph.windowsInformationProtectionPolicy', 'microsoft.graph.mdmWindowsInformationProtectionPolicy', 'microsoft.graph.managedAppConfiguration', 'microsoft.graph.targetedManagedAppConfiguration', 'microsoft.graph.managedAppProtection', 'microsoft.graph.defaultManagedAppProtection', 'microsoft.graph.targetedManagedAppProtection', 'microsoft.graph.androidManagedAppProtection', 'microsoft.graph.iosManagedAppProtection' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.managedAppPolicy", @"microsoft.graph.windowsInformationProtection", @"microsoft.graph.windowsInformationProtectionPolicy", @"microsoft.graph.mdmWindowsInformationProtectionPolicy", @"microsoft.graph.managedAppConfiguration", @"microsoft.graph.targetedManagedAppConfiguration", @"microsoft.graph.managedAppProtection", @"microsoft.graph.defaultManagedAppProtection", @"microsoft.graph.targetedManagedAppProtection", @"microsoft.graph.androidManagedAppProtection", @"microsoft.graph.iosManagedAppProtection")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.managedAppPolicy" objects.")] - public System.String appliedPolicyODataType { get; set; } - - /// - /// The "displayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedAppPolicyDeploymentSummary" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppPolicyDeploymentSummary", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "displayName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "displayName" property, of type "Edm.String".")] - public System.String displayName { get; set; } - - /// - /// The "configurationDeployedUserCount" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.managedAppPolicyDeploymentSummary" type. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppPolicyDeploymentSummary", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "configurationDeployedUserCount" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "configurationDeployedUserCount" property, of type "Edm.Int32".")] - public System.Int32 configurationDeployedUserCount { get; set; } - - /// - /// The "lastRefreshTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.managedAppPolicyDeploymentSummary" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppPolicyDeploymentSummary", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "lastRefreshTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "lastRefreshTime" property, of type "Edm.DateTimeOffset".")] - public System.DateTimeOffset lastRefreshTime { get; set; } - - /// - /// The "configurationDeploymentSummaryPerApp" property, of type "microsoft.graph.managedAppPolicyDeploymentSummaryPerApp". - /// This property is on the "microsoft.graph.managedAppPolicyDeploymentSummary" type. - /// - [ODataType("microsoft.graph.managedAppPolicyDeploymentSummaryPerApp")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppPolicyDeploymentSummary", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "configurationDeploymentSummaryPerApp" property, of type "microsoft.graph.managedAppPolicyDeploymentSummaryPerApp".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "configurationDeploymentSummaryPerApp" property, of type "microsoft.graph.managedAppPolicyDeploymentSummaryPerApp".")] - public System.Object[] configurationDeploymentSummaryPerApp { get; set; } - - /// - /// The "version" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedAppPolicyDeploymentSummary" type. - /// Version of the entity. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppPolicyDeploymentSummary", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "version" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "version" property, of type "Edm.String".")] - public System.String version { get; set; } - - internal override System.String GetResourcePath() - { - return $"deviceAppManagement/managedAppRegistrations/{managedAppRegistrationId}/appliedPolicies/{managedAppPolicyId}/{appliedPolicyODataType}/deploymentSummary"; - } - } - - /// - /// Updates a "microsoft.graph.managedAppPolicyDeploymentSummary". - /// PATCH ~/deviceAppManagement/managedAppRegistrations/{managedAppRegistrationId}/appliedPolicies/{managedAppPolicyId}/{appliedPolicyODataType}/deploymentSummary - /// Updates the "deploymentSummary" object (which is of type "microsoft.graph.managedAppPolicyDeploymentSummary"). - /// Navigation property to deployment summary of the configuration. - /// - /// GitHub Repository - [Cmdlet("Update", "DeviceAppManagement_ManagedAppRegistrations_AppliedPolicies_DeploymentSummary", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.managedAppPolicyDeploymentSummary")] - [ODataType("microsoft.graph.managedAppPolicyDeploymentSummary")] - [ResourceTypePropertyName("deploymentSummaryODataType")] - public class Update_DeviceAppManagement_ManagedAppRegistrations_AppliedPolicies_DeploymentSummary : PatchCmdlet - { - /// - /// A required ID for referencing a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection.")] - public System.String managedAppRegistrationId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.managedAppPolicy" object in the "appliedPolicies" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedAppPolicy" object in the "appliedPolicies" collection.")] - public System.String managedAppPolicyId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.managedAppPolicy" objects. - /// - /// Valid values: 'microsoft.graph.managedAppPolicy', 'microsoft.graph.windowsInformationProtection', 'microsoft.graph.windowsInformationProtectionPolicy', 'microsoft.graph.mdmWindowsInformationProtectionPolicy', 'microsoft.graph.managedAppConfiguration', 'microsoft.graph.targetedManagedAppConfiguration', 'microsoft.graph.managedAppProtection', 'microsoft.graph.defaultManagedAppProtection', 'microsoft.graph.targetedManagedAppProtection', 'microsoft.graph.androidManagedAppProtection', 'microsoft.graph.iosManagedAppProtection' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.managedAppPolicy", @"microsoft.graph.windowsInformationProtection", @"microsoft.graph.windowsInformationProtectionPolicy", @"microsoft.graph.mdmWindowsInformationProtectionPolicy", @"microsoft.graph.managedAppConfiguration", @"microsoft.graph.targetedManagedAppConfiguration", @"microsoft.graph.managedAppProtection", @"microsoft.graph.defaultManagedAppProtection", @"microsoft.graph.targetedManagedAppProtection", @"microsoft.graph.androidManagedAppProtection", @"microsoft.graph.iosManagedAppProtection")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.managedAppPolicy" objects.")] - public System.String appliedPolicyODataType { get; set; } - - /// - /// The "displayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedAppPolicyDeploymentSummary" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppPolicyDeploymentSummary", HelpMessage = @"The "displayName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "displayName" property, of type "Edm.String".")] - public System.String displayName { get; set; } - - /// - /// The "configurationDeployedUserCount" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.managedAppPolicyDeploymentSummary" type. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppPolicyDeploymentSummary", HelpMessage = @"The "configurationDeployedUserCount" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "configurationDeployedUserCount" property, of type "Edm.Int32".")] - public System.Int32 configurationDeployedUserCount { get; set; } - - /// - /// The "lastRefreshTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.managedAppPolicyDeploymentSummary" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppPolicyDeploymentSummary", HelpMessage = @"The "lastRefreshTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "lastRefreshTime" property, of type "Edm.DateTimeOffset".")] - public System.DateTimeOffset lastRefreshTime { get; set; } - - /// - /// The "configurationDeploymentSummaryPerApp" property, of type "microsoft.graph.managedAppPolicyDeploymentSummaryPerApp". - /// This property is on the "microsoft.graph.managedAppPolicyDeploymentSummary" type. - /// - [ODataType("microsoft.graph.managedAppPolicyDeploymentSummaryPerApp")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppPolicyDeploymentSummary", HelpMessage = @"The "configurationDeploymentSummaryPerApp" property, of type "microsoft.graph.managedAppPolicyDeploymentSummaryPerApp".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "configurationDeploymentSummaryPerApp" property, of type "microsoft.graph.managedAppPolicyDeploymentSummaryPerApp".")] - public System.Object[] configurationDeploymentSummaryPerApp { get; set; } - - /// - /// The "version" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedAppPolicyDeploymentSummary" type. - /// Version of the entity. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppPolicyDeploymentSummary", HelpMessage = @"The "version" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "version" property, of type "Edm.String".")] - public System.String version { get; set; } - - internal override System.String GetResourcePath() - { - return $"deviceAppManagement/managedAppRegistrations/{managedAppRegistrationId}/appliedPolicies/{managedAppPolicyId}/{appliedPolicyODataType}/deploymentSummary"; - } - } - - /// - /// Removes a "microsoft.graph.managedAppPolicyDeploymentSummary" object. - /// DELETE ~/deviceAppManagement/managedAppRegistrations/{managedAppRegistrationId}/appliedPolicies/{managedAppPolicyId}/{appliedPolicyODataType}/deploymentSummary - /// Removes the "deploymentSummary" object (which is of type "microsoft.graph.managedAppPolicyDeploymentSummary"). - /// Navigation property to deployment summary of the configuration. - /// - /// GitHub Repository - [Cmdlet("Remove", "DeviceAppManagement_ManagedAppRegistrations_AppliedPolicies_DeploymentSummary", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.managedAppPolicyDeploymentSummary")] - [ResourceTypePropertyName("deploymentSummaryODataType")] - public class Remove_DeviceAppManagement_ManagedAppRegistrations_AppliedPolicies_DeploymentSummary : DeleteCmdlet - { - /// - /// A required ID for referencing a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection.")] - public System.String managedAppRegistrationId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.managedAppPolicy" object in the "appliedPolicies" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedAppPolicy" object in the "appliedPolicies" collection.")] - public System.String managedAppPolicyId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.managedAppPolicy" objects. - /// - /// Valid values: 'microsoft.graph.managedAppPolicy', 'microsoft.graph.windowsInformationProtection', 'microsoft.graph.windowsInformationProtectionPolicy', 'microsoft.graph.mdmWindowsInformationProtectionPolicy', 'microsoft.graph.managedAppConfiguration', 'microsoft.graph.targetedManagedAppConfiguration', 'microsoft.graph.managedAppProtection', 'microsoft.graph.defaultManagedAppProtection', 'microsoft.graph.targetedManagedAppProtection', 'microsoft.graph.androidManagedAppProtection', 'microsoft.graph.iosManagedAppProtection' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.managedAppPolicy", @"microsoft.graph.windowsInformationProtection", @"microsoft.graph.windowsInformationProtectionPolicy", @"microsoft.graph.mdmWindowsInformationProtectionPolicy", @"microsoft.graph.managedAppConfiguration", @"microsoft.graph.targetedManagedAppConfiguration", @"microsoft.graph.managedAppProtection", @"microsoft.graph.defaultManagedAppProtection", @"microsoft.graph.targetedManagedAppProtection", @"microsoft.graph.androidManagedAppProtection", @"microsoft.graph.iosManagedAppProtection")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.managedAppPolicy" objects.")] - public System.String appliedPolicyODataType { get; set; } - - internal override System.String GetResourcePath() - { - return $"deviceAppManagement/managedAppRegistrations/{managedAppRegistrationId}/appliedPolicies/{managedAppPolicyId}/{appliedPolicyODataType}/deploymentSummary"; - } - } -} \ No newline at end of file diff --git a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/ManagedAppRegistrations/AppliedPolicies/ExemptAppLockerFiles.cs b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/ManagedAppRegistrations/AppliedPolicies/ExemptAppLockerFiles.cs deleted file mode 100644 index 6412d4d..0000000 --- a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/ManagedAppRegistrations/AppliedPolicies/ExemptAppLockerFiles.cs +++ /dev/null @@ -1,388 +0,0 @@ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. - -namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets -{ - using System.Management.Automation; - - /// - /// Retrieves "microsoft.graph.windowsInformationProtectionAppLockerFile" objects. - /// GET ~/deviceAppManagement/managedAppRegistrations/{managedAppRegistrationId}/appliedPolicies/{managedAppPolicyId}/{appliedPolicyODataType}/exemptAppLockerFiles - /// Retrieves "microsoft.graph.windowsInformationProtectionAppLockerFile" objects in the "exemptAppLockerFiles" collection. - /// Another way to input exempt apps through xml files - /// - /// GitHub Repository - [Cmdlet("Get", "DeviceAppManagement_ManagedAppRegistrations_AppliedPolicies_ExemptAppLockerFiles", DefaultParameterSetName = @"Search")] - [ODataType("microsoft.graph.windowsInformationProtectionAppLockerFile")] - [ResourceTypePropertyName("exemptAppLockerFileODataType")] - [ResourceReference] - public class Get_DeviceAppManagement_ManagedAppRegistrations_AppliedPolicies_ExemptAppLockerFiles : GetOrSearchCmdlet - { - /// - /// A required ID for referencing a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection.")] - public System.String managedAppRegistrationId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.managedAppPolicy" object in the "appliedPolicies" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedAppPolicy" object in the "appliedPolicies" collection.")] - public System.String managedAppPolicyId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.managedAppPolicy" objects. - /// - /// Valid values: 'microsoft.graph.managedAppPolicy', 'microsoft.graph.windowsInformationProtection', 'microsoft.graph.windowsInformationProtectionPolicy', 'microsoft.graph.mdmWindowsInformationProtectionPolicy', 'microsoft.graph.managedAppConfiguration', 'microsoft.graph.targetedManagedAppConfiguration', 'microsoft.graph.managedAppProtection', 'microsoft.graph.defaultManagedAppProtection', 'microsoft.graph.targetedManagedAppProtection', 'microsoft.graph.androidManagedAppProtection', 'microsoft.graph.iosManagedAppProtection' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.managedAppPolicy", @"microsoft.graph.windowsInformationProtection", @"microsoft.graph.windowsInformationProtectionPolicy", @"microsoft.graph.mdmWindowsInformationProtectionPolicy", @"microsoft.graph.managedAppConfiguration", @"microsoft.graph.targetedManagedAppConfiguration", @"microsoft.graph.managedAppProtection", @"microsoft.graph.defaultManagedAppProtection", @"microsoft.graph.targetedManagedAppProtection", @"microsoft.graph.androidManagedAppProtection", @"microsoft.graph.iosManagedAppProtection")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.managedAppPolicy" objects.")] - public System.String appliedPolicyODataType { get; set; } - - /// - /// The ID for a "microsoft.graph.windowsInformationProtectionAppLockerFile" object in the "exemptAppLockerFiles" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(ParameterSetName = @"Get", Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.windowsInformationProtectionAppLockerFile" object in the "exemptAppLockerFiles" collection.")] - public System.String windowsInformationProtectionAppLockerFileId { get; set; } - - /// - /// The "displayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.windowsInformationProtectionAppLockerFile" type. - /// The friendly name - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String displayName { get; set; } - - /// - /// The "fileHash" property, of type "Edm.String". - /// This property is on the "microsoft.graph.windowsInformationProtectionAppLockerFile" type. - /// SHA256 hash of the file - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String fileHash { get; set; } - - /// - /// The "file" property, of type "Edm.Binary". - /// This property is on the "microsoft.graph.windowsInformationProtectionAppLockerFile" type. - /// File as a byte array - /// - [ODataType("Edm.Binary")] - [Selectable] - [Sortable] - public System.Byte[] file { get; set; } - - /// - /// The "version" property, of type "Edm.String". - /// This property is on the "microsoft.graph.windowsInformationProtectionAppLockerFile" type. - /// Version of the entity. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String version { get; set; } - - internal override System.String GetResourcePath() - { - return $"deviceAppManagement/managedAppRegistrations/{managedAppRegistrationId}/appliedPolicies/{managedAppPolicyId}/{appliedPolicyODataType}/exemptAppLockerFiles/{windowsInformationProtectionAppLockerFileId ?? string.Empty}"; - } - } - - /// - /// Creates a "microsoft.graph.windowsInformationProtectionAppLockerFile" object. - /// POST ~/deviceAppManagement/managedAppRegistrations/{managedAppRegistrationId}/appliedPolicies/{managedAppPolicyId}/{appliedPolicyODataType}/exemptAppLockerFiles - /// Adds a "microsoft.graph.windowsInformationProtectionAppLockerFile" object to the "exemptAppLockerFiles" collection. - /// Another way to input exempt apps through xml files - /// - /// GitHub Repository - [Cmdlet("New", "DeviceAppManagement_ManagedAppRegistrations_AppliedPolicies_ExemptAppLockerFiles", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.windowsInformationProtectionAppLockerFile")] - [ODataType("microsoft.graph.windowsInformationProtectionAppLockerFile")] - [ResourceTypePropertyName("exemptAppLockerFileODataType")] - [ResourceReference] - public class New_DeviceAppManagement_ManagedAppRegistrations_AppliedPolicies_ExemptAppLockerFiles : PostCmdlet - { - /// - /// The ID for a "microsoft.graph.windowsInformationProtectionAppLockerFile" object in the "exemptAppLockerFiles" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - public System.String windowsInformationProtectionAppLockerFileId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection.")] - public System.String managedAppRegistrationId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.managedAppPolicy" object in the "appliedPolicies" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedAppPolicy" object in the "appliedPolicies" collection.")] - public System.String managedAppPolicyId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.managedAppPolicy" objects. - /// - /// Valid values: 'microsoft.graph.managedAppPolicy', 'microsoft.graph.windowsInformationProtection', 'microsoft.graph.windowsInformationProtectionPolicy', 'microsoft.graph.mdmWindowsInformationProtectionPolicy', 'microsoft.graph.managedAppConfiguration', 'microsoft.graph.targetedManagedAppConfiguration', 'microsoft.graph.managedAppProtection', 'microsoft.graph.defaultManagedAppProtection', 'microsoft.graph.targetedManagedAppProtection', 'microsoft.graph.androidManagedAppProtection', 'microsoft.graph.iosManagedAppProtection' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.managedAppPolicy", @"microsoft.graph.windowsInformationProtection", @"microsoft.graph.windowsInformationProtectionPolicy", @"microsoft.graph.mdmWindowsInformationProtectionPolicy", @"microsoft.graph.managedAppConfiguration", @"microsoft.graph.targetedManagedAppConfiguration", @"microsoft.graph.managedAppProtection", @"microsoft.graph.defaultManagedAppProtection", @"microsoft.graph.targetedManagedAppProtection", @"microsoft.graph.androidManagedAppProtection", @"microsoft.graph.iosManagedAppProtection")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.managedAppPolicy" objects.")] - public System.String appliedPolicyODataType { get; set; } - - /// - /// The "displayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.windowsInformationProtectionAppLockerFile" type. - /// The friendly name - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionAppLockerFile", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "displayName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "displayName" property, of type "Edm.String".")] - public System.String displayName { get; set; } - - /// - /// The "fileHash" property, of type "Edm.String". - /// This property is on the "microsoft.graph.windowsInformationProtectionAppLockerFile" type. - /// SHA256 hash of the file - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionAppLockerFile", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "fileHash" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "fileHash" property, of type "Edm.String".")] - public System.String fileHash { get; set; } - - /// - /// The "file" property, of type "Edm.Binary". - /// This property is on the "microsoft.graph.windowsInformationProtectionAppLockerFile" type. - /// File as a byte array - /// - [ODataType("Edm.Binary")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionAppLockerFile", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "file" property, of type "Edm.Binary".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "file" property, of type "Edm.Binary".")] - public System.Byte[] file { get; set; } - - /// - /// The "version" property, of type "Edm.String". - /// This property is on the "microsoft.graph.windowsInformationProtectionAppLockerFile" type. - /// Version of the entity. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionAppLockerFile", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "version" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "version" property, of type "Edm.String".")] - public System.String version { get; set; } - - internal override System.String GetResourcePath() - { - return $"deviceAppManagement/managedAppRegistrations/{managedAppRegistrationId}/appliedPolicies/{managedAppPolicyId}/{appliedPolicyODataType}/exemptAppLockerFiles/{windowsInformationProtectionAppLockerFileId}"; - } - } - - /// - /// Updates a "microsoft.graph.windowsInformationProtectionAppLockerFile". - /// PATCH ~/deviceAppManagement/managedAppRegistrations/{managedAppRegistrationId}/appliedPolicies/{managedAppPolicyId}/{appliedPolicyODataType}/exemptAppLockerFiles - /// Updates a "microsoft.graph.windowsInformationProtectionAppLockerFile" object in the "exemptAppLockerFiles" collection. - /// Another way to input exempt apps through xml files - /// - /// GitHub Repository - [Cmdlet("Update", "DeviceAppManagement_ManagedAppRegistrations_AppliedPolicies_ExemptAppLockerFiles", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.windowsInformationProtectionAppLockerFile")] - [ODataType("microsoft.graph.windowsInformationProtectionAppLockerFile")] - [ResourceTypePropertyName("exemptAppLockerFileODataType")] - public class Update_DeviceAppManagement_ManagedAppRegistrations_AppliedPolicies_ExemptAppLockerFiles : PatchCmdlet - { - /// - /// The ID for a "microsoft.graph.windowsInformationProtectionAppLockerFile" object in the "exemptAppLockerFiles" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.windowsInformationProtectionAppLockerFile" object in the "exemptAppLockerFiles" collection.")] - public System.String windowsInformationProtectionAppLockerFileId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection.")] - public System.String managedAppRegistrationId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.managedAppPolicy" object in the "appliedPolicies" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedAppPolicy" object in the "appliedPolicies" collection.")] - public System.String managedAppPolicyId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.managedAppPolicy" objects. - /// - /// Valid values: 'microsoft.graph.managedAppPolicy', 'microsoft.graph.windowsInformationProtection', 'microsoft.graph.windowsInformationProtectionPolicy', 'microsoft.graph.mdmWindowsInformationProtectionPolicy', 'microsoft.graph.managedAppConfiguration', 'microsoft.graph.targetedManagedAppConfiguration', 'microsoft.graph.managedAppProtection', 'microsoft.graph.defaultManagedAppProtection', 'microsoft.graph.targetedManagedAppProtection', 'microsoft.graph.androidManagedAppProtection', 'microsoft.graph.iosManagedAppProtection' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.managedAppPolicy", @"microsoft.graph.windowsInformationProtection", @"microsoft.graph.windowsInformationProtectionPolicy", @"microsoft.graph.mdmWindowsInformationProtectionPolicy", @"microsoft.graph.managedAppConfiguration", @"microsoft.graph.targetedManagedAppConfiguration", @"microsoft.graph.managedAppProtection", @"microsoft.graph.defaultManagedAppProtection", @"microsoft.graph.targetedManagedAppProtection", @"microsoft.graph.androidManagedAppProtection", @"microsoft.graph.iosManagedAppProtection")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.managedAppPolicy" objects.")] - public System.String appliedPolicyODataType { get; set; } - - /// - /// The "displayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.windowsInformationProtectionAppLockerFile" type. - /// The friendly name - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionAppLockerFile", HelpMessage = @"The "displayName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "displayName" property, of type "Edm.String".")] - public System.String displayName { get; set; } - - /// - /// The "fileHash" property, of type "Edm.String". - /// This property is on the "microsoft.graph.windowsInformationProtectionAppLockerFile" type. - /// SHA256 hash of the file - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionAppLockerFile", HelpMessage = @"The "fileHash" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "fileHash" property, of type "Edm.String".")] - public System.String fileHash { get; set; } - - /// - /// The "file" property, of type "Edm.Binary". - /// This property is on the "microsoft.graph.windowsInformationProtectionAppLockerFile" type. - /// File as a byte array - /// - [ODataType("Edm.Binary")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionAppLockerFile", HelpMessage = @"The "file" property, of type "Edm.Binary".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "file" property, of type "Edm.Binary".")] - public System.Byte[] file { get; set; } - - /// - /// The "version" property, of type "Edm.String". - /// This property is on the "microsoft.graph.windowsInformationProtectionAppLockerFile" type. - /// Version of the entity. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionAppLockerFile", HelpMessage = @"The "version" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "version" property, of type "Edm.String".")] - public System.String version { get; set; } - - internal override System.String GetResourcePath() - { - return $"deviceAppManagement/managedAppRegistrations/{managedAppRegistrationId}/appliedPolicies/{managedAppPolicyId}/{appliedPolicyODataType}/exemptAppLockerFiles/{windowsInformationProtectionAppLockerFileId}"; - } - } - - /// - /// Removes a "microsoft.graph.windowsInformationProtectionAppLockerFile" object. - /// DELETE ~/deviceAppManagement/managedAppRegistrations/{managedAppRegistrationId}/appliedPolicies/{managedAppPolicyId}/{appliedPolicyODataType}/exemptAppLockerFiles/windowsInformationProtectionAppLockerFileId - /// Removes a "microsoft.graph.windowsInformationProtectionAppLockerFile" object from the "exemptAppLockerFiles" collection. - /// Another way to input exempt apps through xml files - /// - /// GitHub Repository - [Cmdlet("Remove", "DeviceAppManagement_ManagedAppRegistrations_AppliedPolicies_ExemptAppLockerFiles", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.windowsInformationProtectionAppLockerFile")] - [ResourceTypePropertyName("exemptAppLockerFileODataType")] - public class Remove_DeviceAppManagement_ManagedAppRegistrations_AppliedPolicies_ExemptAppLockerFiles : DeleteCmdlet - { - /// - /// The ID for a "microsoft.graph.windowsInformationProtectionAppLockerFile" object in the "exemptAppLockerFiles" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.windowsInformationProtectionAppLockerFile" object in the "exemptAppLockerFiles" collection.")] - public System.String windowsInformationProtectionAppLockerFileId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection.")] - public System.String managedAppRegistrationId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.managedAppPolicy" object in the "appliedPolicies" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedAppPolicy" object in the "appliedPolicies" collection.")] - public System.String managedAppPolicyId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.managedAppPolicy" objects. - /// - /// Valid values: 'microsoft.graph.managedAppPolicy', 'microsoft.graph.windowsInformationProtection', 'microsoft.graph.windowsInformationProtectionPolicy', 'microsoft.graph.mdmWindowsInformationProtectionPolicy', 'microsoft.graph.managedAppConfiguration', 'microsoft.graph.targetedManagedAppConfiguration', 'microsoft.graph.managedAppProtection', 'microsoft.graph.defaultManagedAppProtection', 'microsoft.graph.targetedManagedAppProtection', 'microsoft.graph.androidManagedAppProtection', 'microsoft.graph.iosManagedAppProtection' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.managedAppPolicy", @"microsoft.graph.windowsInformationProtection", @"microsoft.graph.windowsInformationProtectionPolicy", @"microsoft.graph.mdmWindowsInformationProtectionPolicy", @"microsoft.graph.managedAppConfiguration", @"microsoft.graph.targetedManagedAppConfiguration", @"microsoft.graph.managedAppProtection", @"microsoft.graph.defaultManagedAppProtection", @"microsoft.graph.targetedManagedAppProtection", @"microsoft.graph.androidManagedAppProtection", @"microsoft.graph.iosManagedAppProtection")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.managedAppPolicy" objects.")] - public System.String appliedPolicyODataType { get; set; } - - internal override System.String GetResourcePath() - { - return $"deviceAppManagement/managedAppRegistrations/{managedAppRegistrationId}/appliedPolicies/{managedAppPolicyId}/{appliedPolicyODataType}/exemptAppLockerFiles/{windowsInformationProtectionAppLockerFileId}"; - } - } -} \ No newline at end of file diff --git a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/ManagedAppRegistrations/AppliedPolicies/ProtectedAppLockerFiles.cs b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/ManagedAppRegistrations/AppliedPolicies/ProtectedAppLockerFiles.cs deleted file mode 100644 index 1029767..0000000 --- a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/ManagedAppRegistrations/AppliedPolicies/ProtectedAppLockerFiles.cs +++ /dev/null @@ -1,388 +0,0 @@ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. - -namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets -{ - using System.Management.Automation; - - /// - /// Retrieves "microsoft.graph.windowsInformationProtectionAppLockerFile" objects. - /// GET ~/deviceAppManagement/managedAppRegistrations/{managedAppRegistrationId}/appliedPolicies/{managedAppPolicyId}/{appliedPolicyODataType}/protectedAppLockerFiles - /// Retrieves "microsoft.graph.windowsInformationProtectionAppLockerFile" objects in the "protectedAppLockerFiles" collection. - /// Another way to input protected apps through xml files - /// - /// GitHub Repository - [Cmdlet("Get", "DeviceAppManagement_ManagedAppRegistrations_AppliedPolicies_ProtectedAppLockerFiles", DefaultParameterSetName = @"Search")] - [ODataType("microsoft.graph.windowsInformationProtectionAppLockerFile")] - [ResourceTypePropertyName("protectedAppLockerFileODataType")] - [ResourceReference] - public class Get_DeviceAppManagement_ManagedAppRegistrations_AppliedPolicies_ProtectedAppLockerFiles : GetOrSearchCmdlet - { - /// - /// A required ID for referencing a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection.")] - public System.String managedAppRegistrationId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.managedAppPolicy" object in the "appliedPolicies" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedAppPolicy" object in the "appliedPolicies" collection.")] - public System.String managedAppPolicyId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.managedAppPolicy" objects. - /// - /// Valid values: 'microsoft.graph.managedAppPolicy', 'microsoft.graph.windowsInformationProtection', 'microsoft.graph.windowsInformationProtectionPolicy', 'microsoft.graph.mdmWindowsInformationProtectionPolicy', 'microsoft.graph.managedAppConfiguration', 'microsoft.graph.targetedManagedAppConfiguration', 'microsoft.graph.managedAppProtection', 'microsoft.graph.defaultManagedAppProtection', 'microsoft.graph.targetedManagedAppProtection', 'microsoft.graph.androidManagedAppProtection', 'microsoft.graph.iosManagedAppProtection' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.managedAppPolicy", @"microsoft.graph.windowsInformationProtection", @"microsoft.graph.windowsInformationProtectionPolicy", @"microsoft.graph.mdmWindowsInformationProtectionPolicy", @"microsoft.graph.managedAppConfiguration", @"microsoft.graph.targetedManagedAppConfiguration", @"microsoft.graph.managedAppProtection", @"microsoft.graph.defaultManagedAppProtection", @"microsoft.graph.targetedManagedAppProtection", @"microsoft.graph.androidManagedAppProtection", @"microsoft.graph.iosManagedAppProtection")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.managedAppPolicy" objects.")] - public System.String appliedPolicyODataType { get; set; } - - /// - /// The ID for a "microsoft.graph.windowsInformationProtectionAppLockerFile" object in the "protectedAppLockerFiles" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(ParameterSetName = @"Get", Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.windowsInformationProtectionAppLockerFile" object in the "protectedAppLockerFiles" collection.")] - public System.String windowsInformationProtectionAppLockerFileId { get; set; } - - /// - /// The "displayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.windowsInformationProtectionAppLockerFile" type. - /// The friendly name - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String displayName { get; set; } - - /// - /// The "fileHash" property, of type "Edm.String". - /// This property is on the "microsoft.graph.windowsInformationProtectionAppLockerFile" type. - /// SHA256 hash of the file - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String fileHash { get; set; } - - /// - /// The "file" property, of type "Edm.Binary". - /// This property is on the "microsoft.graph.windowsInformationProtectionAppLockerFile" type. - /// File as a byte array - /// - [ODataType("Edm.Binary")] - [Selectable] - [Sortable] - public System.Byte[] file { get; set; } - - /// - /// The "version" property, of type "Edm.String". - /// This property is on the "microsoft.graph.windowsInformationProtectionAppLockerFile" type. - /// Version of the entity. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String version { get; set; } - - internal override System.String GetResourcePath() - { - return $"deviceAppManagement/managedAppRegistrations/{managedAppRegistrationId}/appliedPolicies/{managedAppPolicyId}/{appliedPolicyODataType}/protectedAppLockerFiles/{windowsInformationProtectionAppLockerFileId ?? string.Empty}"; - } - } - - /// - /// Creates a "microsoft.graph.windowsInformationProtectionAppLockerFile" object. - /// POST ~/deviceAppManagement/managedAppRegistrations/{managedAppRegistrationId}/appliedPolicies/{managedAppPolicyId}/{appliedPolicyODataType}/protectedAppLockerFiles - /// Adds a "microsoft.graph.windowsInformationProtectionAppLockerFile" object to the "protectedAppLockerFiles" collection. - /// Another way to input protected apps through xml files - /// - /// GitHub Repository - [Cmdlet("New", "DeviceAppManagement_ManagedAppRegistrations_AppliedPolicies_ProtectedAppLockerFiles", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.windowsInformationProtectionAppLockerFile")] - [ODataType("microsoft.graph.windowsInformationProtectionAppLockerFile")] - [ResourceTypePropertyName("protectedAppLockerFileODataType")] - [ResourceReference] - public class New_DeviceAppManagement_ManagedAppRegistrations_AppliedPolicies_ProtectedAppLockerFiles : PostCmdlet - { - /// - /// The ID for a "microsoft.graph.windowsInformationProtectionAppLockerFile" object in the "protectedAppLockerFiles" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - public System.String windowsInformationProtectionAppLockerFileId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection.")] - public System.String managedAppRegistrationId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.managedAppPolicy" object in the "appliedPolicies" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedAppPolicy" object in the "appliedPolicies" collection.")] - public System.String managedAppPolicyId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.managedAppPolicy" objects. - /// - /// Valid values: 'microsoft.graph.managedAppPolicy', 'microsoft.graph.windowsInformationProtection', 'microsoft.graph.windowsInformationProtectionPolicy', 'microsoft.graph.mdmWindowsInformationProtectionPolicy', 'microsoft.graph.managedAppConfiguration', 'microsoft.graph.targetedManagedAppConfiguration', 'microsoft.graph.managedAppProtection', 'microsoft.graph.defaultManagedAppProtection', 'microsoft.graph.targetedManagedAppProtection', 'microsoft.graph.androidManagedAppProtection', 'microsoft.graph.iosManagedAppProtection' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.managedAppPolicy", @"microsoft.graph.windowsInformationProtection", @"microsoft.graph.windowsInformationProtectionPolicy", @"microsoft.graph.mdmWindowsInformationProtectionPolicy", @"microsoft.graph.managedAppConfiguration", @"microsoft.graph.targetedManagedAppConfiguration", @"microsoft.graph.managedAppProtection", @"microsoft.graph.defaultManagedAppProtection", @"microsoft.graph.targetedManagedAppProtection", @"microsoft.graph.androidManagedAppProtection", @"microsoft.graph.iosManagedAppProtection")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.managedAppPolicy" objects.")] - public System.String appliedPolicyODataType { get; set; } - - /// - /// The "displayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.windowsInformationProtectionAppLockerFile" type. - /// The friendly name - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionAppLockerFile", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "displayName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "displayName" property, of type "Edm.String".")] - public System.String displayName { get; set; } - - /// - /// The "fileHash" property, of type "Edm.String". - /// This property is on the "microsoft.graph.windowsInformationProtectionAppLockerFile" type. - /// SHA256 hash of the file - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionAppLockerFile", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "fileHash" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "fileHash" property, of type "Edm.String".")] - public System.String fileHash { get; set; } - - /// - /// The "file" property, of type "Edm.Binary". - /// This property is on the "microsoft.graph.windowsInformationProtectionAppLockerFile" type. - /// File as a byte array - /// - [ODataType("Edm.Binary")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionAppLockerFile", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "file" property, of type "Edm.Binary".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "file" property, of type "Edm.Binary".")] - public System.Byte[] file { get; set; } - - /// - /// The "version" property, of type "Edm.String". - /// This property is on the "microsoft.graph.windowsInformationProtectionAppLockerFile" type. - /// Version of the entity. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionAppLockerFile", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "version" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "version" property, of type "Edm.String".")] - public System.String version { get; set; } - - internal override System.String GetResourcePath() - { - return $"deviceAppManagement/managedAppRegistrations/{managedAppRegistrationId}/appliedPolicies/{managedAppPolicyId}/{appliedPolicyODataType}/protectedAppLockerFiles/{windowsInformationProtectionAppLockerFileId}"; - } - } - - /// - /// Updates a "microsoft.graph.windowsInformationProtectionAppLockerFile". - /// PATCH ~/deviceAppManagement/managedAppRegistrations/{managedAppRegistrationId}/appliedPolicies/{managedAppPolicyId}/{appliedPolicyODataType}/protectedAppLockerFiles - /// Updates a "microsoft.graph.windowsInformationProtectionAppLockerFile" object in the "protectedAppLockerFiles" collection. - /// Another way to input protected apps through xml files - /// - /// GitHub Repository - [Cmdlet("Update", "DeviceAppManagement_ManagedAppRegistrations_AppliedPolicies_ProtectedAppLockerFiles", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.windowsInformationProtectionAppLockerFile")] - [ODataType("microsoft.graph.windowsInformationProtectionAppLockerFile")] - [ResourceTypePropertyName("protectedAppLockerFileODataType")] - public class Update_DeviceAppManagement_ManagedAppRegistrations_AppliedPolicies_ProtectedAppLockerFiles : PatchCmdlet - { - /// - /// The ID for a "microsoft.graph.windowsInformationProtectionAppLockerFile" object in the "protectedAppLockerFiles" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.windowsInformationProtectionAppLockerFile" object in the "protectedAppLockerFiles" collection.")] - public System.String windowsInformationProtectionAppLockerFileId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection.")] - public System.String managedAppRegistrationId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.managedAppPolicy" object in the "appliedPolicies" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedAppPolicy" object in the "appliedPolicies" collection.")] - public System.String managedAppPolicyId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.managedAppPolicy" objects. - /// - /// Valid values: 'microsoft.graph.managedAppPolicy', 'microsoft.graph.windowsInformationProtection', 'microsoft.graph.windowsInformationProtectionPolicy', 'microsoft.graph.mdmWindowsInformationProtectionPolicy', 'microsoft.graph.managedAppConfiguration', 'microsoft.graph.targetedManagedAppConfiguration', 'microsoft.graph.managedAppProtection', 'microsoft.graph.defaultManagedAppProtection', 'microsoft.graph.targetedManagedAppProtection', 'microsoft.graph.androidManagedAppProtection', 'microsoft.graph.iosManagedAppProtection' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.managedAppPolicy", @"microsoft.graph.windowsInformationProtection", @"microsoft.graph.windowsInformationProtectionPolicy", @"microsoft.graph.mdmWindowsInformationProtectionPolicy", @"microsoft.graph.managedAppConfiguration", @"microsoft.graph.targetedManagedAppConfiguration", @"microsoft.graph.managedAppProtection", @"microsoft.graph.defaultManagedAppProtection", @"microsoft.graph.targetedManagedAppProtection", @"microsoft.graph.androidManagedAppProtection", @"microsoft.graph.iosManagedAppProtection")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.managedAppPolicy" objects.")] - public System.String appliedPolicyODataType { get; set; } - - /// - /// The "displayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.windowsInformationProtectionAppLockerFile" type. - /// The friendly name - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionAppLockerFile", HelpMessage = @"The "displayName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "displayName" property, of type "Edm.String".")] - public System.String displayName { get; set; } - - /// - /// The "fileHash" property, of type "Edm.String". - /// This property is on the "microsoft.graph.windowsInformationProtectionAppLockerFile" type. - /// SHA256 hash of the file - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionAppLockerFile", HelpMessage = @"The "fileHash" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "fileHash" property, of type "Edm.String".")] - public System.String fileHash { get; set; } - - /// - /// The "file" property, of type "Edm.Binary". - /// This property is on the "microsoft.graph.windowsInformationProtectionAppLockerFile" type. - /// File as a byte array - /// - [ODataType("Edm.Binary")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionAppLockerFile", HelpMessage = @"The "file" property, of type "Edm.Binary".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "file" property, of type "Edm.Binary".")] - public System.Byte[] file { get; set; } - - /// - /// The "version" property, of type "Edm.String". - /// This property is on the "microsoft.graph.windowsInformationProtectionAppLockerFile" type. - /// Version of the entity. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionAppLockerFile", HelpMessage = @"The "version" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "version" property, of type "Edm.String".")] - public System.String version { get; set; } - - internal override System.String GetResourcePath() - { - return $"deviceAppManagement/managedAppRegistrations/{managedAppRegistrationId}/appliedPolicies/{managedAppPolicyId}/{appliedPolicyODataType}/protectedAppLockerFiles/{windowsInformationProtectionAppLockerFileId}"; - } - } - - /// - /// Removes a "microsoft.graph.windowsInformationProtectionAppLockerFile" object. - /// DELETE ~/deviceAppManagement/managedAppRegistrations/{managedAppRegistrationId}/appliedPolicies/{managedAppPolicyId}/{appliedPolicyODataType}/protectedAppLockerFiles/windowsInformationProtectionAppLockerFileId - /// Removes a "microsoft.graph.windowsInformationProtectionAppLockerFile" object from the "protectedAppLockerFiles" collection. - /// Another way to input protected apps through xml files - /// - /// GitHub Repository - [Cmdlet("Remove", "DeviceAppManagement_ManagedAppRegistrations_AppliedPolicies_ProtectedAppLockerFiles", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.windowsInformationProtectionAppLockerFile")] - [ResourceTypePropertyName("protectedAppLockerFileODataType")] - public class Remove_DeviceAppManagement_ManagedAppRegistrations_AppliedPolicies_ProtectedAppLockerFiles : DeleteCmdlet - { - /// - /// The ID for a "microsoft.graph.windowsInformationProtectionAppLockerFile" object in the "protectedAppLockerFiles" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.windowsInformationProtectionAppLockerFile" object in the "protectedAppLockerFiles" collection.")] - public System.String windowsInformationProtectionAppLockerFileId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection.")] - public System.String managedAppRegistrationId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.managedAppPolicy" object in the "appliedPolicies" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedAppPolicy" object in the "appliedPolicies" collection.")] - public System.String managedAppPolicyId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.managedAppPolicy" objects. - /// - /// Valid values: 'microsoft.graph.managedAppPolicy', 'microsoft.graph.windowsInformationProtection', 'microsoft.graph.windowsInformationProtectionPolicy', 'microsoft.graph.mdmWindowsInformationProtectionPolicy', 'microsoft.graph.managedAppConfiguration', 'microsoft.graph.targetedManagedAppConfiguration', 'microsoft.graph.managedAppProtection', 'microsoft.graph.defaultManagedAppProtection', 'microsoft.graph.targetedManagedAppProtection', 'microsoft.graph.androidManagedAppProtection', 'microsoft.graph.iosManagedAppProtection' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.managedAppPolicy", @"microsoft.graph.windowsInformationProtection", @"microsoft.graph.windowsInformationProtectionPolicy", @"microsoft.graph.mdmWindowsInformationProtectionPolicy", @"microsoft.graph.managedAppConfiguration", @"microsoft.graph.targetedManagedAppConfiguration", @"microsoft.graph.managedAppProtection", @"microsoft.graph.defaultManagedAppProtection", @"microsoft.graph.targetedManagedAppProtection", @"microsoft.graph.androidManagedAppProtection", @"microsoft.graph.iosManagedAppProtection")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.managedAppPolicy" objects.")] - public System.String appliedPolicyODataType { get; set; } - - internal override System.String GetResourcePath() - { - return $"deviceAppManagement/managedAppRegistrations/{managedAppRegistrationId}/appliedPolicies/{managedAppPolicyId}/{appliedPolicyODataType}/protectedAppLockerFiles/{windowsInformationProtectionAppLockerFileId}"; - } - } -} \ No newline at end of file diff --git a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/ManagedAppRegistrations/IntendedPolicies.cs b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/ManagedAppRegistrations/IntendedPolicies.cs deleted file mode 100644 index fd097fd..0000000 --- a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/ManagedAppRegistrations/IntendedPolicies.cs +++ /dev/null @@ -1,3526 +0,0 @@ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. - -namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets -{ - using System.Management.Automation; - - /// - /// Retrieves "microsoft.graph.managedAppPolicy" objects. - /// GET ~/deviceAppManagement/managedAppRegistrations/{managedAppRegistrationId}/intendedPolicies - /// Retrieves "microsoft.graph.managedAppPolicy" objects in the "intendedPolicies" collection. - /// Zero or more policies admin intended for the app as of now. - /// - /// GitHub Repository - [Cmdlet("Get", "DeviceAppManagement_ManagedAppRegistrations_IntendedPolicies", DefaultParameterSetName = @"Search")] - [ODataType("microsoft.graph.managedAppPolicy", "microsoft.graph.windowsInformationProtection", "microsoft.graph.windowsInformationProtectionPolicy", "microsoft.graph.mdmWindowsInformationProtectionPolicy", "microsoft.graph.managedAppConfiguration", "microsoft.graph.targetedManagedAppConfiguration", "microsoft.graph.managedAppProtection", "microsoft.graph.defaultManagedAppProtection", "microsoft.graph.targetedManagedAppProtection", "microsoft.graph.androidManagedAppProtection", "microsoft.graph.iosManagedAppProtection")] - [ResourceTypePropertyName("intendedPolicyODataType")] - [ResourceReference] - public class Get_DeviceAppManagement_ManagedAppRegistrations_IntendedPolicies : GetOrSearchCmdlet - { - /// - /// A required ID for referencing a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection.")] - public System.String managedAppRegistrationId { get; set; } - - /// - /// The ID for a "microsoft.graph.managedAppPolicy" object in the "intendedPolicies" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(ParameterSetName = @"Get", Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.managedAppPolicy" object in the "intendedPolicies" collection.")] - public System.String managedAppPolicyId { get; set; } - - /// - /// The "displayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedAppPolicy" type. - /// Policy display name. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String displayName { get; set; } - - /// - /// The "description" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedAppPolicy" type. - /// The policy's description. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String description { get; set; } - - /// - /// The "createdDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.managedAppPolicy" type. - /// The date and time the policy was created. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - public System.DateTimeOffset createdDateTime { get; set; } - - /// - /// The "lastModifiedDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.managedAppPolicy" type. - /// Last time the policy was modified. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - public System.DateTimeOffset lastModifiedDateTime { get; set; } - - /// - /// The "version" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedAppPolicy" type. - /// Version of the entity. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String version { get; set; } - - /// - /// The "enforcementLevel" property, of type "microsoft.graph.windowsInformationProtectionEnforcementLevel". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// WIP enforcement level.See the Enum definition for supported values - /// - [ODataType("microsoft.graph.windowsInformationProtectionEnforcementLevel")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.windowsInformationProtection")] - public System.String enforcementLevel { get; set; } - - /// - /// The "enterpriseDomain" property, of type "Edm.String". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// Primary enterprise domain - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.windowsInformationProtection")] - public System.String enterpriseDomain { get; set; } - - /// - /// The "enterpriseProtectedDomainNames" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// List of enterprise domains to be protected - /// - [ODataType("microsoft.graph.windowsInformationProtectionResourceCollection")] - [Selectable] - [DerivedType("microsoft.graph.windowsInformationProtection")] - public System.Object[] enterpriseProtectedDomainNames { get; set; } - - /// - /// The "protectionUnderLockConfigRequired" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// Specifies whether the protection under lock feature (also known as encrypt under pin) should be configured - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.windowsInformationProtection")] - public System.Boolean protectionUnderLockConfigRequired { get; set; } - - /// - /// The "dataRecoveryCertificate" property, of type "microsoft.graph.windowsInformationProtectionDataRecoveryCertificate". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// Specifies a recovery certificate that can be used for data recovery of encrypted files. This is the same as the data recovery agent(DRA) certificate for encrypting file system(EFS) - /// - [ODataType("microsoft.graph.windowsInformationProtectionDataRecoveryCertificate")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.windowsInformationProtection")] - public System.Object dataRecoveryCertificate { get; set; } - - /// - /// The "revokeOnUnenrollDisabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// This policy controls whether to revoke the WIP keys when a device unenrolls from the management service. If set to 1 (Don't revoke keys), the keys will not be revoked and the user will continue to have access to protected files after unenrollment. If the keys are not revoked, there will be no revoked file cleanup subsequently. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.windowsInformationProtection")] - public System.Boolean revokeOnUnenrollDisabled { get; set; } - - /// - /// The "rightsManagementServicesTemplateId" property, of type "Edm.Guid". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// TemplateID GUID to use for RMS encryption. The RMS template allows the IT admin to configure the details about who has access to RMS-protected file and how long they have access - /// - [ODataType("Edm.Guid")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.windowsInformationProtection")] - public System.Guid rightsManagementServicesTemplateId { get; set; } - - /// - /// The "azureRightsManagementServicesAllowed" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// Specifies whether to allow Azure RMS encryption for WIP - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.windowsInformationProtection")] - public System.Boolean azureRightsManagementServicesAllowed { get; set; } - - /// - /// The "iconsVisible" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// Determines whether overlays are added to icons for WIP protected files in Explorer and enterprise only app tiles in the Start menu. Starting in Windows 10, version 1703 this setting also configures the visibility of the WIP icon in the title bar of a WIP-protected app - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.windowsInformationProtection")] - public System.Boolean iconsVisible { get; set; } - - /// - /// The "protectedApps" property, of type "microsoft.graph.windowsInformationProtectionApp". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// Protected applications can access enterprise data and the data handled by those applications are protected with encryption - /// - [ODataType("microsoft.graph.windowsInformationProtectionApp", "microsoft.graph.windowsInformationProtectionDesktopApp", "microsoft.graph.windowsInformationProtectionStoreApp")] - [Selectable] - [DerivedType("microsoft.graph.windowsInformationProtection")] - public System.Object[] protectedApps { get; set; } - - /// - /// The "exemptApps" property, of type "microsoft.graph.windowsInformationProtectionApp". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// Exempt applications can also access enterprise data, but the data handled by those applications are not protected. This is because some critical enterprise applications may have compatibility problems with encrypted data. - /// - [ODataType("microsoft.graph.windowsInformationProtectionApp", "microsoft.graph.windowsInformationProtectionDesktopApp", "microsoft.graph.windowsInformationProtectionStoreApp")] - [Selectable] - [DerivedType("microsoft.graph.windowsInformationProtection")] - public System.Object[] exemptApps { get; set; } - - /// - /// The "enterpriseNetworkDomainNames" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// This is the list of domains that comprise the boundaries of the enterprise. Data from one of these domains that is sent to a device will be considered enterprise data and protected These locations will be considered a safe destination for enterprise data to be shared to - /// - [ODataType("microsoft.graph.windowsInformationProtectionResourceCollection")] - [Selectable] - [DerivedType("microsoft.graph.windowsInformationProtection")] - public System.Object[] enterpriseNetworkDomainNames { get; set; } - - /// - /// The "enterpriseProxiedDomains" property, of type "microsoft.graph.windowsInformationProtectionProxiedDomainCollection". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// Contains a list of Enterprise resource domains hosted in the cloud that need to be protected. Connections to these resources are considered enterprise data. If a proxy is paired with a cloud resource, traffic to the cloud resource will be routed through the enterprise network via the denoted proxy server (on Port 80). A proxy server used for this purpose must also be configured using the EnterpriseInternalProxyServers policy - /// - [ODataType("microsoft.graph.windowsInformationProtectionProxiedDomainCollection")] - [Selectable] - [DerivedType("microsoft.graph.windowsInformationProtection")] - public System.Object[] enterpriseProxiedDomains { get; set; } - - /// - /// The "enterpriseIPRanges" property, of type "microsoft.graph.windowsInformationProtectionIPRangeCollection". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// Sets the enterprise IP ranges that define the computers in the enterprise network. Data that comes from those computers will be considered part of the enterprise and protected. These locations will be considered a safe destination for enterprise data to be shared to - /// - [ODataType("microsoft.graph.windowsInformationProtectionIPRangeCollection")] - [Selectable] - [DerivedType("microsoft.graph.windowsInformationProtection")] - public System.Object[] enterpriseIPRanges { get; set; } - - /// - /// The "enterpriseIPRangesAreAuthoritative" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// Boolean value that tells the client to accept the configured list and not to use heuristics to attempt to find other subnets. Default is false - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.windowsInformationProtection")] - public System.Boolean enterpriseIPRangesAreAuthoritative { get; set; } - - /// - /// The "enterpriseProxyServers" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// This is a list of proxy servers. Any server not on this list is considered non-enterprise - /// - [ODataType("microsoft.graph.windowsInformationProtectionResourceCollection")] - [Selectable] - [DerivedType("microsoft.graph.windowsInformationProtection")] - public System.Object[] enterpriseProxyServers { get; set; } - - /// - /// The "enterpriseInternalProxyServers" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// This is the comma-separated list of internal proxy servers. For example, "157.54.14.28, 157.54.11.118, 10.202.14.167, 157.53.14.163, 157.69.210.59". These proxies have been configured by the admin to connect to specific resources on the Internet. They are considered to be enterprise network locations. The proxies are only leveraged in configuring the EnterpriseProxiedDomains policy to force traffic to the matched domains through these proxies - /// - [ODataType("microsoft.graph.windowsInformationProtectionResourceCollection")] - [Selectable] - [DerivedType("microsoft.graph.windowsInformationProtection")] - public System.Object[] enterpriseInternalProxyServers { get; set; } - - /// - /// The "enterpriseProxyServersAreAuthoritative" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// Boolean value that tells the client to accept the configured list of proxies and not try to detect other work proxies. Default is false - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.windowsInformationProtection")] - public System.Boolean enterpriseProxyServersAreAuthoritative { get; set; } - - /// - /// The "neutralDomainResources" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// List of domain names that can used for work or personal resource - /// - [ODataType("microsoft.graph.windowsInformationProtectionResourceCollection")] - [Selectable] - [DerivedType("microsoft.graph.windowsInformationProtection")] - public System.Object[] neutralDomainResources { get; set; } - - /// - /// The "indexingEncryptedStoresOrItemsBlocked" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// This switch is for the Windows Search Indexer, to allow or disallow indexing of items - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.windowsInformationProtection")] - public System.Boolean indexingEncryptedStoresOrItemsBlocked { get; set; } - - /// - /// The "smbAutoEncryptedFileExtensions" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// Specifies a list of file extensions, so that files with these extensions are encrypted when copying from an SMB share within the corporate boundary - /// - [ODataType("microsoft.graph.windowsInformationProtectionResourceCollection")] - [Selectable] - [DerivedType("microsoft.graph.windowsInformationProtection")] - public System.Object[] smbAutoEncryptedFileExtensions { get; set; } - - /// - /// The "isAssigned" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// Indicates if the policy is deployed to any inclusion groups or not. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.windowsInformationProtection")] - public System.Boolean isAssigned { get; set; } - - /// - /// The "protectedAppLockerFiles" property, of type "microsoft.graph.windowsInformationProtectionAppLockerFile". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// Another way to input protected apps through xml files - /// - [ODataType("microsoft.graph.windowsInformationProtectionAppLockerFile")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.windowsInformationProtection")] - public System.Object[] protectedAppLockerFiles { get; set; } - - /// - /// The "exemptAppLockerFiles" property, of type "microsoft.graph.windowsInformationProtectionAppLockerFile". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// Another way to input exempt apps through xml files - /// - [ODataType("microsoft.graph.windowsInformationProtectionAppLockerFile")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.windowsInformationProtection")] - public System.Object[] exemptAppLockerFiles { get; set; } - - /// - /// The "assignments" property, of type "microsoft.graph.targetedManagedAppPolicyAssignment". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// Navigation property to list of security groups targeted for policy. - /// - [ODataType("microsoft.graph.targetedManagedAppPolicyAssignment")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.windowsInformationProtection")] - public System.Object[] assignments { get; set; } - - /// - /// The "revokeOnMdmHandoffDisabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.windowsInformationProtectionPolicy" type. - /// New property in RS2, pending documentation - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.windowsInformationProtectionPolicy")] - public System.Boolean revokeOnMdmHandoffDisabled { get; set; } - - /// - /// The "mdmEnrollmentUrl" property, of type "Edm.String". - /// This property is on the "microsoft.graph.windowsInformationProtectionPolicy" type. - /// Enrollment url for the MDM - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.windowsInformationProtectionPolicy")] - public System.String mdmEnrollmentUrl { get; set; } - - /// - /// The "windowsHelloForBusinessBlocked" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.windowsInformationProtectionPolicy" type. - /// Boolean value that sets Windows Hello for Business as a method for signing into Windows. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.windowsInformationProtectionPolicy")] - public System.Boolean windowsHelloForBusinessBlocked { get; set; } - - /// - /// The "pinMinimumLength" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.windowsInformationProtectionPolicy" type. - /// Integer value that sets the minimum number of characters required for the PIN. Default value is 4. The lowest number you can configure for this policy setting is 4. The largest number you can configure must be less than the number configured in the Maximum PIN length policy setting or the number 127, whichever is the lowest. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.windowsInformationProtectionPolicy")] - public System.Int32 pinMinimumLength { get; set; } - - /// - /// The "pinUppercaseLetters" property, of type "microsoft.graph.windowsInformationProtectionPinCharacterRequirements". - /// This property is on the "microsoft.graph.windowsInformationProtectionPolicy" type. - /// Integer value that configures the use of uppercase letters in the Windows Hello for Business PIN. Default is NotAllow. - /// - [ODataType("microsoft.graph.windowsInformationProtectionPinCharacterRequirements")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.windowsInformationProtectionPolicy")] - public System.String pinUppercaseLetters { get; set; } - - /// - /// The "pinLowercaseLetters" property, of type "microsoft.graph.windowsInformationProtectionPinCharacterRequirements". - /// This property is on the "microsoft.graph.windowsInformationProtectionPolicy" type. - /// Integer value that configures the use of lowercase letters in the Windows Hello for Business PIN. Default is NotAllow. - /// - [ODataType("microsoft.graph.windowsInformationProtectionPinCharacterRequirements")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.windowsInformationProtectionPolicy")] - public System.String pinLowercaseLetters { get; set; } - - /// - /// The "pinSpecialCharacters" property, of type "microsoft.graph.windowsInformationProtectionPinCharacterRequirements". - /// This property is on the "microsoft.graph.windowsInformationProtectionPolicy" type. - /// Integer value that configures the use of special characters in the Windows Hello for Business PIN. Valid special characters for Windows Hello for Business PIN gestures include: ! " # $ % & ' ( ) * + , - . / : ; < = > ? @ [ \ ] ^ _ ` { | } ~. Default is NotAllow. - /// - [ODataType("microsoft.graph.windowsInformationProtectionPinCharacterRequirements")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.windowsInformationProtectionPolicy")] - public System.String pinSpecialCharacters { get; set; } - - /// - /// The "pinExpirationDays" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.windowsInformationProtectionPolicy" type. - /// Integer value specifies the period of time (in days) that a PIN can be used before the system requires the user to change it. The largest number you can configure for this policy setting is 730. The lowest number you can configure for this policy setting is 0. If this policy is set to 0, then the user's PIN will never expire. This node was added in Windows 10, version 1511. Default is 0. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.windowsInformationProtectionPolicy")] - public System.Int32 pinExpirationDays { get; set; } - - /// - /// The "numberOfPastPinsRemembered" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.windowsInformationProtectionPolicy" type. - /// Integer value that specifies the number of past PINs that can be associated to a user account that can't be reused. The largest number you can configure for this policy setting is 50. The lowest number you can configure for this policy setting is 0. If this policy is set to 0, then storage of previous PINs is not required. This node was added in Windows 10, version 1511. Default is 0. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.windowsInformationProtectionPolicy")] - public System.Int32 numberOfPastPinsRemembered { get; set; } - - /// - /// The "passwordMaximumAttemptCount" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.windowsInformationProtectionPolicy" type. - /// The number of authentication failures allowed before the device will be wiped. A value of 0 disables device wipe functionality. Range is an integer X where 4 <= X <= 16 for desktop and 0 <= X <= 999 for mobile devices. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.windowsInformationProtectionPolicy")] - public System.Int32 passwordMaximumAttemptCount { get; set; } - - /// - /// The "minutesOfInactivityBeforeDeviceLock" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.windowsInformationProtectionPolicy" type. - /// Specifies the maximum amount of time (in minutes) allowed after the device is idle that will cause the device to become PIN or password locked. Range is an integer X where 0 <= X <= 999. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.windowsInformationProtectionPolicy")] - public System.Int32 minutesOfInactivityBeforeDeviceLock { get; set; } - - /// - /// The "daysWithoutContactBeforeUnenroll" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.windowsInformationProtectionPolicy" type. - /// Offline interval before app data is wiped (days) - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.windowsInformationProtectionPolicy")] - public System.Int32 daysWithoutContactBeforeUnenroll { get; set; } - - /// - /// The "customSettings" property, of type "microsoft.graph.keyValuePair". - /// This property is on the "microsoft.graph.managedAppConfiguration" type. - /// A set of string key and string value pairs to be sent to apps for users to whom the configuration is scoped, unalterned by this service - /// - [ODataType("microsoft.graph.keyValuePair")] - [Selectable] - [DerivedType("microsoft.graph.managedAppConfiguration")] - public System.Object[] customSettings { get; set; } - - /// - /// The "deployedAppCount" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.targetedManagedAppConfiguration" type. - /// Count of apps to which the current policy is deployed. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.targetedManagedAppConfiguration")] - public System.Int32 deployedAppCount { get; set; } - - /// - /// The "apps" property, of type "microsoft.graph.managedMobileApp". - /// This property is on the "microsoft.graph.targetedManagedAppConfiguration" type. - /// List of apps to which the policy is deployed. - /// - [ODataType("microsoft.graph.managedMobileApp")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.targetedManagedAppConfiguration")] - public System.Object[] apps { get; set; } - - /// - /// The "deploymentSummary" property, of type "microsoft.graph.managedAppPolicyDeploymentSummary". - /// This property is on the "microsoft.graph.targetedManagedAppConfiguration" type. - /// Navigation property to deployment summary of the configuration. - /// - [ODataType("microsoft.graph.managedAppPolicyDeploymentSummary")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.targetedManagedAppConfiguration")] - public System.Object deploymentSummary { get; set; } - - /// - /// The "periodOfflineBeforeAccessCheck" property, of type "Edm.Duration". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// The period after which access is checked when the device is not connected to the internet. - /// - [ODataType("Edm.Duration")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.managedAppProtection")] - public System.TimeSpan periodOfflineBeforeAccessCheck { get; set; } - - /// - /// The "periodOnlineBeforeAccessCheck" property, of type "Edm.Duration". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// The period after which access is checked when the device is connected to the internet. - /// - [ODataType("Edm.Duration")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.managedAppProtection")] - public System.TimeSpan periodOnlineBeforeAccessCheck { get; set; } - - /// - /// The "allowedInboundDataTransferSources" property, of type "microsoft.graph.managedAppDataTransferLevel". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Sources from which data is allowed to be transferred. - /// - [ODataType("microsoft.graph.managedAppDataTransferLevel")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.managedAppProtection")] - public System.String allowedInboundDataTransferSources { get; set; } - - /// - /// The "allowedOutboundDataTransferDestinations" property, of type "microsoft.graph.managedAppDataTransferLevel". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Destinations to which data is allowed to be transferred. - /// - [ODataType("microsoft.graph.managedAppDataTransferLevel")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.managedAppProtection")] - public System.String allowedOutboundDataTransferDestinations { get; set; } - - /// - /// The "organizationalCredentialsRequired" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Indicates whether organizational credentials are required for app use. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.managedAppProtection")] - public System.Boolean organizationalCredentialsRequired { get; set; } - - /// - /// The "allowedOutboundClipboardSharingLevel" property, of type "microsoft.graph.managedAppClipboardSharingLevel". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// The level to which the clipboard may be shared between apps on the managed device. - /// - [ODataType("microsoft.graph.managedAppClipboardSharingLevel")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.managedAppProtection")] - public System.String allowedOutboundClipboardSharingLevel { get; set; } - - /// - /// The "dataBackupBlocked" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Indicates whether the backup of a managed app's data is blocked. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.managedAppProtection")] - public System.Boolean dataBackupBlocked { get; set; } - - /// - /// The "deviceComplianceRequired" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Indicates whether device compliance is required. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.managedAppProtection")] - public System.Boolean deviceComplianceRequired { get; set; } - - /// - /// The "managedBrowserToOpenLinksRequired" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Indicates whether internet links should be opened in the managed browser app. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.managedAppProtection")] - public System.Boolean managedBrowserToOpenLinksRequired { get; set; } - - /// - /// The "saveAsBlocked" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Indicates whether users may use the "Save As" menu item to save a copy of protected files. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.managedAppProtection")] - public System.Boolean saveAsBlocked { get; set; } - - /// - /// The "periodOfflineBeforeWipeIsEnforced" property, of type "Edm.Duration". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// The amount of time an app is allowed to remain disconnected from the internet before all managed data it is wiped. - /// - [ODataType("Edm.Duration")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.managedAppProtection")] - public System.TimeSpan periodOfflineBeforeWipeIsEnforced { get; set; } - - /// - /// The "pinRequired" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Indicates whether an app-level pin is required. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.managedAppProtection")] - public System.Boolean pinRequired { get; set; } - - /// - /// The "maximumPinRetries" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Maximum number of incorrect pin retry attempts before the managed app is either blocked or wiped. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.managedAppProtection")] - public System.Int32 maximumPinRetries { get; set; } - - /// - /// The "simplePinBlocked" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Indicates whether simplePin is blocked. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.managedAppProtection")] - public System.Boolean simplePinBlocked { get; set; } - - /// - /// The "minimumPinLength" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Minimum pin length required for an app-level pin if PinRequired is set to True - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.managedAppProtection")] - public System.Int32 minimumPinLength { get; set; } - - /// - /// The "pinCharacterSet" property, of type "microsoft.graph.managedAppPinCharacterSet". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Character set which may be used for an app-level pin if PinRequired is set to True. - /// - [ODataType("microsoft.graph.managedAppPinCharacterSet")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.managedAppProtection")] - public System.String pinCharacterSet { get; set; } - - /// - /// The "periodBeforePinReset" property, of type "Edm.Duration". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// TimePeriod before the all-level pin must be reset if PinRequired is set to True. - /// - [ODataType("Edm.Duration")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.managedAppProtection")] - public System.TimeSpan periodBeforePinReset { get; set; } - - /// - /// The "allowedDataStorageLocations" property, of type "microsoft.graph.managedAppDataStorageLocation". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Data storage locations where a user may store managed data. - /// - [ODataType("microsoft.graph.managedAppDataStorageLocation")] - [Selectable] - [DerivedType("microsoft.graph.managedAppProtection")] - public System.String[] allowedDataStorageLocations { get; set; } - - /// - /// The "contactSyncBlocked" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Indicates whether contacts can be synced to the user's device. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.managedAppProtection")] - public System.Boolean contactSyncBlocked { get; set; } - - /// - /// The "printBlocked" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Indicates whether printing is allowed from managed apps. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.managedAppProtection")] - public System.Boolean printBlocked { get; set; } - - /// - /// The "fingerprintBlocked" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Indicates whether use of the fingerprint reader is allowed in place of a pin if PinRequired is set to True. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.managedAppProtection")] - public System.Boolean fingerprintBlocked { get; set; } - - /// - /// The "disableAppPinIfDevicePinIsSet" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Indicates whether use of the app pin is required if the device pin is set. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.managedAppProtection")] - public System.Boolean disableAppPinIfDevicePinIsSet { get; set; } - - /// - /// The "minimumRequiredOsVersion" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Versions less than the specified version will block the managed app from accessing company data. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.managedAppProtection")] - public System.String minimumRequiredOsVersion { get; set; } - - /// - /// The "minimumWarningOsVersion" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Versions less than the specified version will result in warning message on the managed app from accessing company data. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.managedAppProtection")] - public System.String minimumWarningOsVersion { get; set; } - - /// - /// The "minimumRequiredAppVersion" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Versions less than the specified version will block the managed app from accessing company data. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.managedAppProtection")] - public System.String minimumRequiredAppVersion { get; set; } - - /// - /// The "minimumWarningAppVersion" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Versions less than the specified version will result in warning message on the managed app. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.managedAppProtection")] - public System.String minimumWarningAppVersion { get; set; } - - /// - /// The "appDataEncryptionType" property, of type "microsoft.graph.managedAppDataEncryptionType". - /// This property is on the "microsoft.graph.defaultManagedAppProtection" type. - /// Type of encryption which should be used for data in a managed app. (iOS Only) - /// - [ODataType("microsoft.graph.managedAppDataEncryptionType")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.defaultManagedAppProtection")] - public System.String appDataEncryptionType { get; set; } - - /// - /// The "screenCaptureBlocked" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.defaultManagedAppProtection" type. - /// Indicates whether screen capture is blocked. (Android only) - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.defaultManagedAppProtection")] - public System.Boolean screenCaptureBlocked { get; set; } - - /// - /// The "encryptAppData" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.defaultManagedAppProtection" type. - /// Indicates whether managed-app data should be encrypted. (Android only) - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.defaultManagedAppProtection")] - public System.Boolean encryptAppData { get; set; } - - /// - /// The "disableAppEncryptionIfDeviceEncryptionIsEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.defaultManagedAppProtection" type. - /// When this setting is enabled, app level encryption is disabled if device level encryption is enabled. (Android only) - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.defaultManagedAppProtection")] - public System.Boolean disableAppEncryptionIfDeviceEncryptionIsEnabled { get; set; } - - /// - /// The "minimumRequiredSdkVersion" property, of type "Edm.String". - /// This property is on the "microsoft.graph.defaultManagedAppProtection" type. - /// Versions less than the specified version will block the managed app from accessing company data. (iOS Only) - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.defaultManagedAppProtection")] - public System.String minimumRequiredSdkVersion { get; set; } - - /// - /// The "minimumRequiredPatchVersion" property, of type "Edm.String". - /// This property is on the "microsoft.graph.defaultManagedAppProtection" type. - /// Define the oldest required Android security patch level a user can have to gain secure access to the app. (Android only) - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.defaultManagedAppProtection")] - public System.String minimumRequiredPatchVersion { get; set; } - - /// - /// The "minimumWarningPatchVersion" property, of type "Edm.String". - /// This property is on the "microsoft.graph.defaultManagedAppProtection" type. - /// Define the oldest recommended Android security patch level a user can have for secure access to the app. (Android only) - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.defaultManagedAppProtection")] - public System.String minimumWarningPatchVersion { get; set; } - - /// - /// The "faceIdBlocked" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.defaultManagedAppProtection" type. - /// Indicates whether use of the FaceID is allowed in place of a pin if PinRequired is set to True. (iOS Only) - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.defaultManagedAppProtection")] - public System.Boolean faceIdBlocked { get; set; } - - internal override System.String GetResourcePath() - { - return $"deviceAppManagement/managedAppRegistrations/{managedAppRegistrationId}/intendedPolicies/{managedAppPolicyId ?? string.Empty}"; - } - } - - /// - /// Creates a "microsoft.graph.managedAppPolicy" object. - /// POST ~/deviceAppManagement/managedAppRegistrations/{managedAppRegistrationId}/intendedPolicies - /// Adds a "microsoft.graph.managedAppPolicy" object to the "intendedPolicies" collection. - /// Zero or more policies admin intended for the app as of now. - /// - /// GitHub Repository - [Cmdlet("New", "DeviceAppManagement_ManagedAppRegistrations_IntendedPolicies", ConfirmImpact = ConfirmImpact.Low)] - [ODataType("microsoft.graph.managedAppPolicy", "microsoft.graph.windowsInformationProtection", "microsoft.graph.windowsInformationProtectionPolicy", "microsoft.graph.mdmWindowsInformationProtectionPolicy", "microsoft.graph.managedAppConfiguration", "microsoft.graph.targetedManagedAppConfiguration", "microsoft.graph.managedAppProtection", "microsoft.graph.defaultManagedAppProtection", "microsoft.graph.targetedManagedAppProtection", "microsoft.graph.androidManagedAppProtection", "microsoft.graph.iosManagedAppProtection")] - [ResourceTypePropertyName("intendedPolicyODataType")] - [ResourceReference] - public class New_DeviceAppManagement_ManagedAppRegistrations_IntendedPolicies : PostCmdlet - { - /// - /// The ID for a "microsoft.graph.managedAppPolicy" object in the "intendedPolicies" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - public System.String managedAppPolicyId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection.")] - public System.String managedAppRegistrationId { get; set; } - - /// - /// The "displayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedAppPolicy" type. - /// Policy display name. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "displayName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "displayName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "displayName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "displayName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppConfiguration", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "displayName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppConfiguration", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "displayName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "displayName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "displayName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "displayName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "displayName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "displayName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "displayName" property, of type "Edm.String".")] - public System.String displayName { get; set; } - - /// - /// The "description" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedAppPolicy" type. - /// The policy's description. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "description" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "description" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "description" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "description" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppConfiguration", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "description" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppConfiguration", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "description" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "description" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "description" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "description" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "description" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "description" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "description" property, of type "Edm.String".")] - public System.String description { get; set; } - - /// - /// The "createdDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.managedAppPolicy" type. - /// The date and time the policy was created. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "createdDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "createdDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "createdDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "createdDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppConfiguration", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "createdDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppConfiguration", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "createdDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "createdDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "createdDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "createdDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "createdDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "createdDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "createdDateTime" property, of type "Edm.DateTimeOffset".")] - public System.DateTimeOffset createdDateTime { get; set; } - - /// - /// The "lastModifiedDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.managedAppPolicy" type. - /// Last time the policy was modified. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "lastModifiedDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "lastModifiedDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "lastModifiedDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "lastModifiedDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppConfiguration", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "lastModifiedDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppConfiguration", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "lastModifiedDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "lastModifiedDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "lastModifiedDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "lastModifiedDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "lastModifiedDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "lastModifiedDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "lastModifiedDateTime" property, of type "Edm.DateTimeOffset".")] - public System.DateTimeOffset lastModifiedDateTime { get; set; } - - /// - /// The "version" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedAppPolicy" type. - /// Version of the entity. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "version" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "version" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "version" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "version" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppConfiguration", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "version" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppConfiguration", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "version" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "version" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "version" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "version" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "version" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "version" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "version" property, of type "Edm.String".")] - public System.String version { get; set; } - - /// - /// The "enforcementLevel" property, of type "microsoft.graph.windowsInformationProtectionEnforcementLevel". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// WIP enforcement level.See the Enum definition for supported values - /// - /// Valid values: 'noProtection', 'encryptAndAuditOnly', 'encryptAuditAndPrompt', 'encryptAuditAndBlock' - /// - /// - [ODataType("microsoft.graph.windowsInformationProtectionEnforcementLevel")] - [Selectable] - [ValidateSet(@"noProtection", @"encryptAndAuditOnly", @"encryptAuditAndPrompt", @"encryptAuditAndBlock")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "enforcementLevel" property, of type "microsoft.graph.windowsInformationProtectionEnforcementLevel".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "enforcementLevel" property, of type "microsoft.graph.windowsInformationProtectionEnforcementLevel".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "enforcementLevel" property, of type "microsoft.graph.windowsInformationProtectionEnforcementLevel".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "enforcementLevel" property, of type "microsoft.graph.windowsInformationProtectionEnforcementLevel".")] - public System.String enforcementLevel { get; set; } - - /// - /// The "enterpriseDomain" property, of type "Edm.String". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// Primary enterprise domain - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "enterpriseDomain" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "enterpriseDomain" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "enterpriseDomain" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "enterpriseDomain" property, of type "Edm.String".")] - public System.String enterpriseDomain { get; set; } - - /// - /// The "enterpriseProtectedDomainNames" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// List of enterprise domains to be protected - /// - [ODataType("microsoft.graph.windowsInformationProtectionResourceCollection")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "enterpriseProtectedDomainNames" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "enterpriseProtectedDomainNames" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "enterpriseProtectedDomainNames" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "enterpriseProtectedDomainNames" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection".")] - public System.Object[] enterpriseProtectedDomainNames { get; set; } - - /// - /// The "protectionUnderLockConfigRequired" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// Specifies whether the protection under lock feature (also known as encrypt under pin) should be configured - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "protectionUnderLockConfigRequired" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "protectionUnderLockConfigRequired" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "protectionUnderLockConfigRequired" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "protectionUnderLockConfigRequired" property, of type "Edm.Boolean".")] - public System.Boolean protectionUnderLockConfigRequired { get; set; } - - /// - /// The "dataRecoveryCertificate" property, of type "microsoft.graph.windowsInformationProtectionDataRecoveryCertificate". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// Specifies a recovery certificate that can be used for data recovery of encrypted files. This is the same as the data recovery agent(DRA) certificate for encrypting file system(EFS) - /// - [ODataType("microsoft.graph.windowsInformationProtectionDataRecoveryCertificate")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "dataRecoveryCertificate" property, of type "microsoft.graph.windowsInformationProtectionDataRecoveryCertificate".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "dataRecoveryCertificate" property, of type "microsoft.graph.windowsInformationProtectionDataRecoveryCertificate".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "dataRecoveryCertificate" property, of type "microsoft.graph.windowsInformationProtectionDataRecoveryCertificate".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "dataRecoveryCertificate" property, of type "microsoft.graph.windowsInformationProtectionDataRecoveryCertificate".")] - public System.Object dataRecoveryCertificate { get; set; } - - /// - /// The "revokeOnUnenrollDisabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// This policy controls whether to revoke the WIP keys when a device unenrolls from the management service. If set to 1 (Don't revoke keys), the keys will not be revoked and the user will continue to have access to protected files after unenrollment. If the keys are not revoked, there will be no revoked file cleanup subsequently. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "revokeOnUnenrollDisabled" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "revokeOnUnenrollDisabled" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "revokeOnUnenrollDisabled" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "revokeOnUnenrollDisabled" property, of type "Edm.Boolean".")] - public System.Boolean revokeOnUnenrollDisabled { get; set; } - - /// - /// The "rightsManagementServicesTemplateId" property, of type "Edm.Guid". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// TemplateID GUID to use for RMS encryption. The RMS template allows the IT admin to configure the details about who has access to RMS-protected file and how long they have access - /// - [ODataType("Edm.Guid")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "rightsManagementServicesTemplateId" property, of type "Edm.Guid".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "rightsManagementServicesTemplateId" property, of type "Edm.Guid".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "rightsManagementServicesTemplateId" property, of type "Edm.Guid".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "rightsManagementServicesTemplateId" property, of type "Edm.Guid".")] - public System.Guid rightsManagementServicesTemplateId { get; set; } - - /// - /// The "azureRightsManagementServicesAllowed" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// Specifies whether to allow Azure RMS encryption for WIP - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "azureRightsManagementServicesAllowed" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "azureRightsManagementServicesAllowed" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "azureRightsManagementServicesAllowed" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "azureRightsManagementServicesAllowed" property, of type "Edm.Boolean".")] - public System.Boolean azureRightsManagementServicesAllowed { get; set; } - - /// - /// The "iconsVisible" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// Determines whether overlays are added to icons for WIP protected files in Explorer and enterprise only app tiles in the Start menu. Starting in Windows 10, version 1703 this setting also configures the visibility of the WIP icon in the title bar of a WIP-protected app - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "iconsVisible" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "iconsVisible" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "iconsVisible" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "iconsVisible" property, of type "Edm.Boolean".")] - public System.Boolean iconsVisible { get; set; } - - /// - /// The "protectedApps" property, of type "microsoft.graph.windowsInformationProtectionApp". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// Protected applications can access enterprise data and the data handled by those applications are protected with encryption - /// - [ODataType("microsoft.graph.windowsInformationProtectionApp", "microsoft.graph.windowsInformationProtectionDesktopApp", "microsoft.graph.windowsInformationProtectionStoreApp")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "protectedApps" property, of type "microsoft.graph.windowsInformationProtectionApp".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "protectedApps" property, of type "microsoft.graph.windowsInformationProtectionApp".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "protectedApps" property, of type "microsoft.graph.windowsInformationProtectionApp".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "protectedApps" property, of type "microsoft.graph.windowsInformationProtectionApp".")] - public System.Object[] protectedApps { get; set; } - - /// - /// The "exemptApps" property, of type "microsoft.graph.windowsInformationProtectionApp". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// Exempt applications can also access enterprise data, but the data handled by those applications are not protected. This is because some critical enterprise applications may have compatibility problems with encrypted data. - /// - [ODataType("microsoft.graph.windowsInformationProtectionApp", "microsoft.graph.windowsInformationProtectionDesktopApp", "microsoft.graph.windowsInformationProtectionStoreApp")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "exemptApps" property, of type "microsoft.graph.windowsInformationProtectionApp".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "exemptApps" property, of type "microsoft.graph.windowsInformationProtectionApp".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "exemptApps" property, of type "microsoft.graph.windowsInformationProtectionApp".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "exemptApps" property, of type "microsoft.graph.windowsInformationProtectionApp".")] - public System.Object[] exemptApps { get; set; } - - /// - /// The "enterpriseNetworkDomainNames" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// This is the list of domains that comprise the boundaries of the enterprise. Data from one of these domains that is sent to a device will be considered enterprise data and protected These locations will be considered a safe destination for enterprise data to be shared to - /// - [ODataType("microsoft.graph.windowsInformationProtectionResourceCollection")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "enterpriseNetworkDomainNames" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "enterpriseNetworkDomainNames" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "enterpriseNetworkDomainNames" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "enterpriseNetworkDomainNames" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection".")] - public System.Object[] enterpriseNetworkDomainNames { get; set; } - - /// - /// The "enterpriseProxiedDomains" property, of type "microsoft.graph.windowsInformationProtectionProxiedDomainCollection". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// Contains a list of Enterprise resource domains hosted in the cloud that need to be protected. Connections to these resources are considered enterprise data. If a proxy is paired with a cloud resource, traffic to the cloud resource will be routed through the enterprise network via the denoted proxy server (on Port 80). A proxy server used for this purpose must also be configured using the EnterpriseInternalProxyServers policy - /// - [ODataType("microsoft.graph.windowsInformationProtectionProxiedDomainCollection")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "enterpriseProxiedDomains" property, of type "microsoft.graph.windowsInformationProtectionProxiedDomainCollection".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "enterpriseProxiedDomains" property, of type "microsoft.graph.windowsInformationProtectionProxiedDomainCollection".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "enterpriseProxiedDomains" property, of type "microsoft.graph.windowsInformationProtectionProxiedDomainCollection".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "enterpriseProxiedDomains" property, of type "microsoft.graph.windowsInformationProtectionProxiedDomainCollection".")] - public System.Object[] enterpriseProxiedDomains { get; set; } - - /// - /// The "enterpriseIPRanges" property, of type "microsoft.graph.windowsInformationProtectionIPRangeCollection". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// Sets the enterprise IP ranges that define the computers in the enterprise network. Data that comes from those computers will be considered part of the enterprise and protected. These locations will be considered a safe destination for enterprise data to be shared to - /// - [ODataType("microsoft.graph.windowsInformationProtectionIPRangeCollection")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "enterpriseIPRanges" property, of type "microsoft.graph.windowsInformationProtectionIPRangeCollection".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "enterpriseIPRanges" property, of type "microsoft.graph.windowsInformationProtectionIPRangeCollection".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "enterpriseIPRanges" property, of type "microsoft.graph.windowsInformationProtectionIPRangeCollection".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "enterpriseIPRanges" property, of type "microsoft.graph.windowsInformationProtectionIPRangeCollection".")] - public System.Object[] enterpriseIPRanges { get; set; } - - /// - /// The "enterpriseIPRangesAreAuthoritative" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// Boolean value that tells the client to accept the configured list and not to use heuristics to attempt to find other subnets. Default is false - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "enterpriseIPRangesAreAuthoritative" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "enterpriseIPRangesAreAuthoritative" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "enterpriseIPRangesAreAuthoritative" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "enterpriseIPRangesAreAuthoritative" property, of type "Edm.Boolean".")] - public System.Boolean enterpriseIPRangesAreAuthoritative { get; set; } - - /// - /// The "enterpriseProxyServers" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// This is a list of proxy servers. Any server not on this list is considered non-enterprise - /// - [ODataType("microsoft.graph.windowsInformationProtectionResourceCollection")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "enterpriseProxyServers" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "enterpriseProxyServers" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "enterpriseProxyServers" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "enterpriseProxyServers" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection".")] - public System.Object[] enterpriseProxyServers { get; set; } - - /// - /// The "enterpriseInternalProxyServers" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// This is the comma-separated list of internal proxy servers. For example, "157.54.14.28, 157.54.11.118, 10.202.14.167, 157.53.14.163, 157.69.210.59". These proxies have been configured by the admin to connect to specific resources on the Internet. They are considered to be enterprise network locations. The proxies are only leveraged in configuring the EnterpriseProxiedDomains policy to force traffic to the matched domains through these proxies - /// - [ODataType("microsoft.graph.windowsInformationProtectionResourceCollection")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "enterpriseInternalProxyServers" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "enterpriseInternalProxyServers" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "enterpriseInternalProxyServers" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "enterpriseInternalProxyServers" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection".")] - public System.Object[] enterpriseInternalProxyServers { get; set; } - - /// - /// The "enterpriseProxyServersAreAuthoritative" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// Boolean value that tells the client to accept the configured list of proxies and not try to detect other work proxies. Default is false - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "enterpriseProxyServersAreAuthoritative" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "enterpriseProxyServersAreAuthoritative" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "enterpriseProxyServersAreAuthoritative" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "enterpriseProxyServersAreAuthoritative" property, of type "Edm.Boolean".")] - public System.Boolean enterpriseProxyServersAreAuthoritative { get; set; } - - /// - /// The "neutralDomainResources" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// List of domain names that can used for work or personal resource - /// - [ODataType("microsoft.graph.windowsInformationProtectionResourceCollection")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "neutralDomainResources" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "neutralDomainResources" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "neutralDomainResources" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "neutralDomainResources" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection".")] - public System.Object[] neutralDomainResources { get; set; } - - /// - /// The "indexingEncryptedStoresOrItemsBlocked" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// This switch is for the Windows Search Indexer, to allow or disallow indexing of items - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "indexingEncryptedStoresOrItemsBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "indexingEncryptedStoresOrItemsBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "indexingEncryptedStoresOrItemsBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "indexingEncryptedStoresOrItemsBlocked" property, of type "Edm.Boolean".")] - public System.Boolean indexingEncryptedStoresOrItemsBlocked { get; set; } - - /// - /// The "smbAutoEncryptedFileExtensions" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// Specifies a list of file extensions, so that files with these extensions are encrypted when copying from an SMB share within the corporate boundary - /// - [ODataType("microsoft.graph.windowsInformationProtectionResourceCollection")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "smbAutoEncryptedFileExtensions" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "smbAutoEncryptedFileExtensions" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "smbAutoEncryptedFileExtensions" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "smbAutoEncryptedFileExtensions" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection".")] - public System.Object[] smbAutoEncryptedFileExtensions { get; set; } - - /// - /// The "isAssigned" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// Indicates if the policy is deployed to any inclusion groups or not. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "isAssigned" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "isAssigned" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "isAssigned" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppConfiguration", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "isAssigned" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "isAssigned" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "isAssigned" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "isAssigned" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "isAssigned" property, of type "Edm.Boolean".")] - public System.Boolean isAssigned { get; set; } - - /// - /// The "protectedAppLockerFiles" property, of type "microsoft.graph.windowsInformationProtectionAppLockerFile". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// Another way to input protected apps through xml files - /// - [ODataType("microsoft.graph.windowsInformationProtectionAppLockerFile")] - [Selectable] - [Expandable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "protectedAppLockerFiles" property, of type "microsoft.graph.windowsInformationProtectionAppLockerFile".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "protectedAppLockerFiles" property, of type "microsoft.graph.windowsInformationProtectionAppLockerFile".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "protectedAppLockerFiles" property, of type "microsoft.graph.windowsInformationProtectionAppLockerFile".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "protectedAppLockerFiles" property, of type "microsoft.graph.windowsInformationProtectionAppLockerFile".")] - public System.Object[] protectedAppLockerFiles { get; set; } - - /// - /// The "exemptAppLockerFiles" property, of type "microsoft.graph.windowsInformationProtectionAppLockerFile". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// Another way to input exempt apps through xml files - /// - [ODataType("microsoft.graph.windowsInformationProtectionAppLockerFile")] - [Selectable] - [Expandable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "exemptAppLockerFiles" property, of type "microsoft.graph.windowsInformationProtectionAppLockerFile".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "exemptAppLockerFiles" property, of type "microsoft.graph.windowsInformationProtectionAppLockerFile".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "exemptAppLockerFiles" property, of type "microsoft.graph.windowsInformationProtectionAppLockerFile".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "exemptAppLockerFiles" property, of type "microsoft.graph.windowsInformationProtectionAppLockerFile".")] - public System.Object[] exemptAppLockerFiles { get; set; } - - /// - /// The "assignments" property, of type "microsoft.graph.targetedManagedAppPolicyAssignment". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// Navigation property to list of security groups targeted for policy. - /// - [ODataType("microsoft.graph.targetedManagedAppPolicyAssignment")] - [Selectable] - [Expandable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "assignments" property, of type "microsoft.graph.targetedManagedAppPolicyAssignment".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "assignments" property, of type "microsoft.graph.targetedManagedAppPolicyAssignment".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "assignments" property, of type "microsoft.graph.targetedManagedAppPolicyAssignment".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppConfiguration", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "assignments" property, of type "microsoft.graph.targetedManagedAppPolicyAssignment".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "assignments" property, of type "microsoft.graph.targetedManagedAppPolicyAssignment".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "assignments" property, of type "microsoft.graph.targetedManagedAppPolicyAssignment".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "assignments" property, of type "microsoft.graph.targetedManagedAppPolicyAssignment".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "assignments" property, of type "microsoft.graph.targetedManagedAppPolicyAssignment".")] - public System.Object[] assignments { get; set; } - - /// - /// A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.windowsInformationProtectionPolicy" type. - /// - [Selectable] - [Expandable] - [ParameterSetSelector(@"microsoft.graph.windowsInformationProtectionPolicy")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", Mandatory = true, HelpMessage = @"A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.windowsInformationProtectionPolicy" type.")] - public System.Management.Automation.SwitchParameter windowsInformationProtectionPolicy { get; set; } - - /// - /// The "revokeOnMdmHandoffDisabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.windowsInformationProtectionPolicy" type. - /// New property in RS2, pending documentation - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "revokeOnMdmHandoffDisabled" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "revokeOnMdmHandoffDisabled" property, of type "Edm.Boolean".")] - public System.Boolean revokeOnMdmHandoffDisabled { get; set; } - - /// - /// The "mdmEnrollmentUrl" property, of type "Edm.String". - /// This property is on the "microsoft.graph.windowsInformationProtectionPolicy" type. - /// Enrollment url for the MDM - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "mdmEnrollmentUrl" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "mdmEnrollmentUrl" property, of type "Edm.String".")] - public System.String mdmEnrollmentUrl { get; set; } - - /// - /// The "windowsHelloForBusinessBlocked" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.windowsInformationProtectionPolicy" type. - /// Boolean value that sets Windows Hello for Business as a method for signing into Windows. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "windowsHelloForBusinessBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "windowsHelloForBusinessBlocked" property, of type "Edm.Boolean".")] - public System.Boolean windowsHelloForBusinessBlocked { get; set; } - - /// - /// The "pinMinimumLength" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.windowsInformationProtectionPolicy" type. - /// Integer value that sets the minimum number of characters required for the PIN. Default value is 4. The lowest number you can configure for this policy setting is 4. The largest number you can configure must be less than the number configured in the Maximum PIN length policy setting or the number 127, whichever is the lowest. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "pinMinimumLength" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "pinMinimumLength" property, of type "Edm.Int32".")] - public System.Int32 pinMinimumLength { get; set; } - - /// - /// The "pinUppercaseLetters" property, of type "microsoft.graph.windowsInformationProtectionPinCharacterRequirements". - /// This property is on the "microsoft.graph.windowsInformationProtectionPolicy" type. - /// Integer value that configures the use of uppercase letters in the Windows Hello for Business PIN. Default is NotAllow. - /// - /// Valid values: 'notAllow', 'requireAtLeastOne', 'allow' - /// - /// - [ODataType("microsoft.graph.windowsInformationProtectionPinCharacterRequirements")] - [Selectable] - [ValidateSet(@"notAllow", @"requireAtLeastOne", @"allow")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "pinUppercaseLetters" property, of type "microsoft.graph.windowsInformationProtectionPinCharacterRequirements".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "pinUppercaseLetters" property, of type "microsoft.graph.windowsInformationProtectionPinCharacterRequirements".")] - public System.String pinUppercaseLetters { get; set; } - - /// - /// The "pinLowercaseLetters" property, of type "microsoft.graph.windowsInformationProtectionPinCharacterRequirements". - /// This property is on the "microsoft.graph.windowsInformationProtectionPolicy" type. - /// Integer value that configures the use of lowercase letters in the Windows Hello for Business PIN. Default is NotAllow. - /// - /// Valid values: 'notAllow', 'requireAtLeastOne', 'allow' - /// - /// - [ODataType("microsoft.graph.windowsInformationProtectionPinCharacterRequirements")] - [Selectable] - [ValidateSet(@"notAllow", @"requireAtLeastOne", @"allow")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "pinLowercaseLetters" property, of type "microsoft.graph.windowsInformationProtectionPinCharacterRequirements".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "pinLowercaseLetters" property, of type "microsoft.graph.windowsInformationProtectionPinCharacterRequirements".")] - public System.String pinLowercaseLetters { get; set; } - - /// - /// The "pinSpecialCharacters" property, of type "microsoft.graph.windowsInformationProtectionPinCharacterRequirements". - /// This property is on the "microsoft.graph.windowsInformationProtectionPolicy" type. - /// Integer value that configures the use of special characters in the Windows Hello for Business PIN. Valid special characters for Windows Hello for Business PIN gestures include: ! " # $ % & ' ( ) * + , - . / : ; < = > ? @ [ \ ] ^ _ ` { | } ~. Default is NotAllow. - /// - /// Valid values: 'notAllow', 'requireAtLeastOne', 'allow' - /// - /// - [ODataType("microsoft.graph.windowsInformationProtectionPinCharacterRequirements")] - [Selectable] - [ValidateSet(@"notAllow", @"requireAtLeastOne", @"allow")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "pinSpecialCharacters" property, of type "microsoft.graph.windowsInformationProtectionPinCharacterRequirements".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "pinSpecialCharacters" property, of type "microsoft.graph.windowsInformationProtectionPinCharacterRequirements".")] - public System.String pinSpecialCharacters { get; set; } - - /// - /// The "pinExpirationDays" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.windowsInformationProtectionPolicy" type. - /// Integer value specifies the period of time (in days) that a PIN can be used before the system requires the user to change it. The largest number you can configure for this policy setting is 730. The lowest number you can configure for this policy setting is 0. If this policy is set to 0, then the user's PIN will never expire. This node was added in Windows 10, version 1511. Default is 0. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "pinExpirationDays" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "pinExpirationDays" property, of type "Edm.Int32".")] - public System.Int32 pinExpirationDays { get; set; } - - /// - /// The "numberOfPastPinsRemembered" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.windowsInformationProtectionPolicy" type. - /// Integer value that specifies the number of past PINs that can be associated to a user account that can't be reused. The largest number you can configure for this policy setting is 50. The lowest number you can configure for this policy setting is 0. If this policy is set to 0, then storage of previous PINs is not required. This node was added in Windows 10, version 1511. Default is 0. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "numberOfPastPinsRemembered" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "numberOfPastPinsRemembered" property, of type "Edm.Int32".")] - public System.Int32 numberOfPastPinsRemembered { get; set; } - - /// - /// The "passwordMaximumAttemptCount" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.windowsInformationProtectionPolicy" type. - /// The number of authentication failures allowed before the device will be wiped. A value of 0 disables device wipe functionality. Range is an integer X where 4 <= X <= 16 for desktop and 0 <= X <= 999 for mobile devices. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "passwordMaximumAttemptCount" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "passwordMaximumAttemptCount" property, of type "Edm.Int32".")] - public System.Int32 passwordMaximumAttemptCount { get; set; } - - /// - /// The "minutesOfInactivityBeforeDeviceLock" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.windowsInformationProtectionPolicy" type. - /// Specifies the maximum amount of time (in minutes) allowed after the device is idle that will cause the device to become PIN or password locked. Range is an integer X where 0 <= X <= 999. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "minutesOfInactivityBeforeDeviceLock" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "minutesOfInactivityBeforeDeviceLock" property, of type "Edm.Int32".")] - public System.Int32 minutesOfInactivityBeforeDeviceLock { get; set; } - - /// - /// The "daysWithoutContactBeforeUnenroll" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.windowsInformationProtectionPolicy" type. - /// Offline interval before app data is wiped (days) - /// - [ODataType("Edm.Int32")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "daysWithoutContactBeforeUnenroll" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "daysWithoutContactBeforeUnenroll" property, of type "Edm.Int32".")] - public System.Int32 daysWithoutContactBeforeUnenroll { get; set; } - - /// - /// A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.mdmWindowsInformationProtectionPolicy" type. - /// - [Selectable] - [Expandable] - [ParameterSetSelector(@"microsoft.graph.mdmWindowsInformationProtectionPolicy")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", Mandatory = true, HelpMessage = @"A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.mdmWindowsInformationProtectionPolicy" type.")] - public System.Management.Automation.SwitchParameter mdmWindowsInformationProtectionPolicy { get; set; } - - /// - /// The "customSettings" property, of type "microsoft.graph.keyValuePair". - /// This property is on the "microsoft.graph.managedAppConfiguration" type. - /// A set of string key and string value pairs to be sent to apps for users to whom the configuration is scoped, unalterned by this service - /// - [ODataType("microsoft.graph.keyValuePair")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppConfiguration", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "customSettings" property, of type "microsoft.graph.keyValuePair".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppConfiguration", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "customSettings" property, of type "microsoft.graph.keyValuePair".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "customSettings" property, of type "microsoft.graph.keyValuePair".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "customSettings" property, of type "microsoft.graph.keyValuePair".")] - public System.Object[] customSettings { get; set; } - - /// - /// A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.targetedManagedAppConfiguration" type. - /// - [Selectable] - [Expandable] - [ParameterSetSelector(@"microsoft.graph.targetedManagedAppConfiguration")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppConfiguration", Mandatory = true, HelpMessage = @"A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.targetedManagedAppConfiguration" type.")] - public System.Management.Automation.SwitchParameter targetedManagedAppConfiguration { get; set; } - - /// - /// The "deployedAppCount" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.targetedManagedAppConfiguration" type. - /// Count of apps to which the current policy is deployed. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppConfiguration", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "deployedAppCount" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "deployedAppCount" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "deployedAppCount" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "deployedAppCount" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "deployedAppCount" property, of type "Edm.Int32".")] - public System.Int32 deployedAppCount { get; set; } - - /// - /// The "apps" property, of type "microsoft.graph.managedMobileApp". - /// This property is on the "microsoft.graph.targetedManagedAppConfiguration" type. - /// List of apps to which the policy is deployed. - /// - [ODataType("microsoft.graph.managedMobileApp")] - [Selectable] - [Expandable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppConfiguration", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "apps" property, of type "microsoft.graph.managedMobileApp".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "apps" property, of type "microsoft.graph.managedMobileApp".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "apps" property, of type "microsoft.graph.managedMobileApp".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "apps" property, of type "microsoft.graph.managedMobileApp".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "apps" property, of type "microsoft.graph.managedMobileApp".")] - public System.Object[] apps { get; set; } - - /// - /// The "deploymentSummary" property, of type "microsoft.graph.managedAppPolicyDeploymentSummary". - /// This property is on the "microsoft.graph.targetedManagedAppConfiguration" type. - /// Navigation property to deployment summary of the configuration. - /// - [ODataType("microsoft.graph.managedAppPolicyDeploymentSummary")] - [Selectable] - [Expandable] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppConfiguration", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "deploymentSummary" property, of type "microsoft.graph.managedAppPolicyDeploymentSummary".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "deploymentSummary" property, of type "microsoft.graph.managedAppPolicyDeploymentSummary".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "deploymentSummary" property, of type "microsoft.graph.managedAppPolicyDeploymentSummary".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "deploymentSummary" property, of type "microsoft.graph.managedAppPolicyDeploymentSummary".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "deploymentSummary" property, of type "microsoft.graph.managedAppPolicyDeploymentSummary".")] - public System.Object deploymentSummary { get; set; } - - /// - /// The "periodOfflineBeforeAccessCheck" property, of type "Edm.Duration". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// The period after which access is checked when the device is not connected to the internet. - /// - [ODataType("Edm.Duration")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "periodOfflineBeforeAccessCheck" property, of type "Edm.Duration".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "periodOfflineBeforeAccessCheck" property, of type "Edm.Duration".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "periodOfflineBeforeAccessCheck" property, of type "Edm.Duration".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "periodOfflineBeforeAccessCheck" property, of type "Edm.Duration".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "periodOfflineBeforeAccessCheck" property, of type "Edm.Duration".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "periodOfflineBeforeAccessCheck" property, of type "Edm.Duration".")] - public System.TimeSpan periodOfflineBeforeAccessCheck { get; set; } - - /// - /// The "periodOnlineBeforeAccessCheck" property, of type "Edm.Duration". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// The period after which access is checked when the device is connected to the internet. - /// - [ODataType("Edm.Duration")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "periodOnlineBeforeAccessCheck" property, of type "Edm.Duration".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "periodOnlineBeforeAccessCheck" property, of type "Edm.Duration".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "periodOnlineBeforeAccessCheck" property, of type "Edm.Duration".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "periodOnlineBeforeAccessCheck" property, of type "Edm.Duration".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "periodOnlineBeforeAccessCheck" property, of type "Edm.Duration".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "periodOnlineBeforeAccessCheck" property, of type "Edm.Duration".")] - public System.TimeSpan periodOnlineBeforeAccessCheck { get; set; } - - /// - /// The "allowedInboundDataTransferSources" property, of type "microsoft.graph.managedAppDataTransferLevel". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Sources from which data is allowed to be transferred. - /// - /// Valid values: 'allApps', 'managedApps', 'none' - /// - /// - [ODataType("microsoft.graph.managedAppDataTransferLevel")] - [Selectable] - [ValidateSet(@"allApps", @"managedApps", @"none")] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "allowedInboundDataTransferSources" property, of type "microsoft.graph.managedAppDataTransferLevel".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "allowedInboundDataTransferSources" property, of type "microsoft.graph.managedAppDataTransferLevel".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "allowedInboundDataTransferSources" property, of type "microsoft.graph.managedAppDataTransferLevel".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "allowedInboundDataTransferSources" property, of type "microsoft.graph.managedAppDataTransferLevel".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "allowedInboundDataTransferSources" property, of type "microsoft.graph.managedAppDataTransferLevel".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "allowedInboundDataTransferSources" property, of type "microsoft.graph.managedAppDataTransferLevel".")] - public System.String allowedInboundDataTransferSources { get; set; } - - /// - /// The "allowedOutboundDataTransferDestinations" property, of type "microsoft.graph.managedAppDataTransferLevel". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Destinations to which data is allowed to be transferred. - /// - /// Valid values: 'allApps', 'managedApps', 'none' - /// - /// - [ODataType("microsoft.graph.managedAppDataTransferLevel")] - [Selectable] - [ValidateSet(@"allApps", @"managedApps", @"none")] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "allowedOutboundDataTransferDestinations" property, of type "microsoft.graph.managedAppDataTransferLevel".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "allowedOutboundDataTransferDestinations" property, of type "microsoft.graph.managedAppDataTransferLevel".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "allowedOutboundDataTransferDestinations" property, of type "microsoft.graph.managedAppDataTransferLevel".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "allowedOutboundDataTransferDestinations" property, of type "microsoft.graph.managedAppDataTransferLevel".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "allowedOutboundDataTransferDestinations" property, of type "microsoft.graph.managedAppDataTransferLevel".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "allowedOutboundDataTransferDestinations" property, of type "microsoft.graph.managedAppDataTransferLevel".")] - public System.String allowedOutboundDataTransferDestinations { get; set; } - - /// - /// The "organizationalCredentialsRequired" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Indicates whether organizational credentials are required for app use. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "organizationalCredentialsRequired" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "organizationalCredentialsRequired" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "organizationalCredentialsRequired" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "organizationalCredentialsRequired" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "organizationalCredentialsRequired" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "organizationalCredentialsRequired" property, of type "Edm.Boolean".")] - public System.Boolean organizationalCredentialsRequired { get; set; } - - /// - /// The "allowedOutboundClipboardSharingLevel" property, of type "microsoft.graph.managedAppClipboardSharingLevel". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// The level to which the clipboard may be shared between apps on the managed device. - /// - /// Valid values: 'allApps', 'managedAppsWithPasteIn', 'managedApps', 'blocked' - /// - /// - [ODataType("microsoft.graph.managedAppClipboardSharingLevel")] - [Selectable] - [ValidateSet(@"allApps", @"managedAppsWithPasteIn", @"managedApps", @"blocked")] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "allowedOutboundClipboardSharingLevel" property, of type "microsoft.graph.managedAppClipboardSharingLevel".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "allowedOutboundClipboardSharingLevel" property, of type "microsoft.graph.managedAppClipboardSharingLevel".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "allowedOutboundClipboardSharingLevel" property, of type "microsoft.graph.managedAppClipboardSharingLevel".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "allowedOutboundClipboardSharingLevel" property, of type "microsoft.graph.managedAppClipboardSharingLevel".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "allowedOutboundClipboardSharingLevel" property, of type "microsoft.graph.managedAppClipboardSharingLevel".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "allowedOutboundClipboardSharingLevel" property, of type "microsoft.graph.managedAppClipboardSharingLevel".")] - public System.String allowedOutboundClipboardSharingLevel { get; set; } - - /// - /// The "dataBackupBlocked" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Indicates whether the backup of a managed app's data is blocked. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "dataBackupBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "dataBackupBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "dataBackupBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "dataBackupBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "dataBackupBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "dataBackupBlocked" property, of type "Edm.Boolean".")] - public System.Boolean dataBackupBlocked { get; set; } - - /// - /// The "deviceComplianceRequired" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Indicates whether device compliance is required. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "deviceComplianceRequired" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "deviceComplianceRequired" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "deviceComplianceRequired" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "deviceComplianceRequired" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "deviceComplianceRequired" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "deviceComplianceRequired" property, of type "Edm.Boolean".")] - public System.Boolean deviceComplianceRequired { get; set; } - - /// - /// The "managedBrowserToOpenLinksRequired" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Indicates whether internet links should be opened in the managed browser app. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "managedBrowserToOpenLinksRequired" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "managedBrowserToOpenLinksRequired" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "managedBrowserToOpenLinksRequired" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "managedBrowserToOpenLinksRequired" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "managedBrowserToOpenLinksRequired" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "managedBrowserToOpenLinksRequired" property, of type "Edm.Boolean".")] - public System.Boolean managedBrowserToOpenLinksRequired { get; set; } - - /// - /// The "saveAsBlocked" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Indicates whether users may use the "Save As" menu item to save a copy of protected files. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "saveAsBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "saveAsBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "saveAsBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "saveAsBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "saveAsBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "saveAsBlocked" property, of type "Edm.Boolean".")] - public System.Boolean saveAsBlocked { get; set; } - - /// - /// The "periodOfflineBeforeWipeIsEnforced" property, of type "Edm.Duration". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// The amount of time an app is allowed to remain disconnected from the internet before all managed data it is wiped. - /// - [ODataType("Edm.Duration")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "periodOfflineBeforeWipeIsEnforced" property, of type "Edm.Duration".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "periodOfflineBeforeWipeIsEnforced" property, of type "Edm.Duration".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "periodOfflineBeforeWipeIsEnforced" property, of type "Edm.Duration".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "periodOfflineBeforeWipeIsEnforced" property, of type "Edm.Duration".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "periodOfflineBeforeWipeIsEnforced" property, of type "Edm.Duration".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "periodOfflineBeforeWipeIsEnforced" property, of type "Edm.Duration".")] - public System.TimeSpan periodOfflineBeforeWipeIsEnforced { get; set; } - - /// - /// The "pinRequired" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Indicates whether an app-level pin is required. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "pinRequired" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "pinRequired" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "pinRequired" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "pinRequired" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "pinRequired" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "pinRequired" property, of type "Edm.Boolean".")] - public System.Boolean pinRequired { get; set; } - - /// - /// The "maximumPinRetries" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Maximum number of incorrect pin retry attempts before the managed app is either blocked or wiped. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "maximumPinRetries" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "maximumPinRetries" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "maximumPinRetries" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "maximumPinRetries" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "maximumPinRetries" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "maximumPinRetries" property, of type "Edm.Int32".")] - public System.Int32 maximumPinRetries { get; set; } - - /// - /// The "simplePinBlocked" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Indicates whether simplePin is blocked. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "simplePinBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "simplePinBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "simplePinBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "simplePinBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "simplePinBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "simplePinBlocked" property, of type "Edm.Boolean".")] - public System.Boolean simplePinBlocked { get; set; } - - /// - /// The "minimumPinLength" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Minimum pin length required for an app-level pin if PinRequired is set to True - /// - [ODataType("Edm.Int32")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "minimumPinLength" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "minimumPinLength" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "minimumPinLength" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "minimumPinLength" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "minimumPinLength" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "minimumPinLength" property, of type "Edm.Int32".")] - public System.Int32 minimumPinLength { get; set; } - - /// - /// The "pinCharacterSet" property, of type "microsoft.graph.managedAppPinCharacterSet". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Character set which may be used for an app-level pin if PinRequired is set to True. - /// - /// Valid values: 'numeric', 'alphanumericAndSymbol' - /// - /// - [ODataType("microsoft.graph.managedAppPinCharacterSet")] - [Selectable] - [ValidateSet(@"numeric", @"alphanumericAndSymbol")] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "pinCharacterSet" property, of type "microsoft.graph.managedAppPinCharacterSet".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "pinCharacterSet" property, of type "microsoft.graph.managedAppPinCharacterSet".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "pinCharacterSet" property, of type "microsoft.graph.managedAppPinCharacterSet".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "pinCharacterSet" property, of type "microsoft.graph.managedAppPinCharacterSet".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "pinCharacterSet" property, of type "microsoft.graph.managedAppPinCharacterSet".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "pinCharacterSet" property, of type "microsoft.graph.managedAppPinCharacterSet".")] - public System.String pinCharacterSet { get; set; } - - /// - /// The "periodBeforePinReset" property, of type "Edm.Duration". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// TimePeriod before the all-level pin must be reset if PinRequired is set to True. - /// - [ODataType("Edm.Duration")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "periodBeforePinReset" property, of type "Edm.Duration".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "periodBeforePinReset" property, of type "Edm.Duration".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "periodBeforePinReset" property, of type "Edm.Duration".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "periodBeforePinReset" property, of type "Edm.Duration".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "periodBeforePinReset" property, of type "Edm.Duration".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "periodBeforePinReset" property, of type "Edm.Duration".")] - public System.TimeSpan periodBeforePinReset { get; set; } - - /// - /// The "allowedDataStorageLocations" property, of type "microsoft.graph.managedAppDataStorageLocation". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Data storage locations where a user may store managed data. - /// - /// Valid values: 'oneDriveForBusiness', 'sharePoint', 'localStorage' - /// - /// - [ODataType("microsoft.graph.managedAppDataStorageLocation")] - [Selectable] - [ValidateSet(@"oneDriveForBusiness", @"sharePoint", @"localStorage")] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "allowedDataStorageLocations" property, of type "microsoft.graph.managedAppDataStorageLocation".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "allowedDataStorageLocations" property, of type "microsoft.graph.managedAppDataStorageLocation".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "allowedDataStorageLocations" property, of type "microsoft.graph.managedAppDataStorageLocation".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "allowedDataStorageLocations" property, of type "microsoft.graph.managedAppDataStorageLocation".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "allowedDataStorageLocations" property, of type "microsoft.graph.managedAppDataStorageLocation".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "allowedDataStorageLocations" property, of type "microsoft.graph.managedAppDataStorageLocation".")] - public System.String[] allowedDataStorageLocations { get; set; } - - /// - /// The "contactSyncBlocked" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Indicates whether contacts can be synced to the user's device. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "contactSyncBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "contactSyncBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "contactSyncBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "contactSyncBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "contactSyncBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "contactSyncBlocked" property, of type "Edm.Boolean".")] - public System.Boolean contactSyncBlocked { get; set; } - - /// - /// The "printBlocked" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Indicates whether printing is allowed from managed apps. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "printBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "printBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "printBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "printBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "printBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "printBlocked" property, of type "Edm.Boolean".")] - public System.Boolean printBlocked { get; set; } - - /// - /// The "fingerprintBlocked" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Indicates whether use of the fingerprint reader is allowed in place of a pin if PinRequired is set to True. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "fingerprintBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "fingerprintBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "fingerprintBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "fingerprintBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "fingerprintBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "fingerprintBlocked" property, of type "Edm.Boolean".")] - public System.Boolean fingerprintBlocked { get; set; } - - /// - /// The "disableAppPinIfDevicePinIsSet" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Indicates whether use of the app pin is required if the device pin is set. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "disableAppPinIfDevicePinIsSet" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "disableAppPinIfDevicePinIsSet" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "disableAppPinIfDevicePinIsSet" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "disableAppPinIfDevicePinIsSet" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "disableAppPinIfDevicePinIsSet" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "disableAppPinIfDevicePinIsSet" property, of type "Edm.Boolean".")] - public System.Boolean disableAppPinIfDevicePinIsSet { get; set; } - - /// - /// The "minimumRequiredOsVersion" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Versions less than the specified version will block the managed app from accessing company data. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "minimumRequiredOsVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "minimumRequiredOsVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "minimumRequiredOsVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "minimumRequiredOsVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "minimumRequiredOsVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "minimumRequiredOsVersion" property, of type "Edm.String".")] - public System.String minimumRequiredOsVersion { get; set; } - - /// - /// The "minimumWarningOsVersion" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Versions less than the specified version will result in warning message on the managed app from accessing company data. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "minimumWarningOsVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "minimumWarningOsVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "minimumWarningOsVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "minimumWarningOsVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "minimumWarningOsVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "minimumWarningOsVersion" property, of type "Edm.String".")] - public System.String minimumWarningOsVersion { get; set; } - - /// - /// The "minimumRequiredAppVersion" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Versions less than the specified version will block the managed app from accessing company data. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "minimumRequiredAppVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "minimumRequiredAppVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "minimumRequiredAppVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "minimumRequiredAppVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "minimumRequiredAppVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "minimumRequiredAppVersion" property, of type "Edm.String".")] - public System.String minimumRequiredAppVersion { get; set; } - - /// - /// The "minimumWarningAppVersion" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Versions less than the specified version will result in warning message on the managed app. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "minimumWarningAppVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "minimumWarningAppVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "minimumWarningAppVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "minimumWarningAppVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "minimumWarningAppVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "minimumWarningAppVersion" property, of type "Edm.String".")] - public System.String minimumWarningAppVersion { get; set; } - - /// - /// A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.defaultManagedAppProtection" type. - /// - [Selectable] - [Expandable] - [ParameterSetSelector(@"microsoft.graph.defaultManagedAppProtection")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", Mandatory = true, HelpMessage = @"A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.defaultManagedAppProtection" type.")] - public System.Management.Automation.SwitchParameter defaultManagedAppProtection { get; set; } - - /// - /// The "appDataEncryptionType" property, of type "microsoft.graph.managedAppDataEncryptionType". - /// This property is on the "microsoft.graph.defaultManagedAppProtection" type. - /// Type of encryption which should be used for data in a managed app. (iOS Only) - /// - /// Valid values: 'useDeviceSettings', 'afterDeviceRestart', 'whenDeviceLockedExceptOpenFiles', 'whenDeviceLocked' - /// - /// - [ODataType("microsoft.graph.managedAppDataEncryptionType")] - [Selectable] - [ValidateSet(@"useDeviceSettings", @"afterDeviceRestart", @"whenDeviceLockedExceptOpenFiles", @"whenDeviceLocked")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "appDataEncryptionType" property, of type "microsoft.graph.managedAppDataEncryptionType".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "appDataEncryptionType" property, of type "microsoft.graph.managedAppDataEncryptionType".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "appDataEncryptionType" property, of type "microsoft.graph.managedAppDataEncryptionType".")] - public System.String appDataEncryptionType { get; set; } - - /// - /// The "screenCaptureBlocked" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.defaultManagedAppProtection" type. - /// Indicates whether screen capture is blocked. (Android only) - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "screenCaptureBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "screenCaptureBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "screenCaptureBlocked" property, of type "Edm.Boolean".")] - public System.Boolean screenCaptureBlocked { get; set; } - - /// - /// The "encryptAppData" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.defaultManagedAppProtection" type. - /// Indicates whether managed-app data should be encrypted. (Android only) - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "encryptAppData" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "encryptAppData" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "encryptAppData" property, of type "Edm.Boolean".")] - public System.Boolean encryptAppData { get; set; } - - /// - /// The "disableAppEncryptionIfDeviceEncryptionIsEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.defaultManagedAppProtection" type. - /// When this setting is enabled, app level encryption is disabled if device level encryption is enabled. (Android only) - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "disableAppEncryptionIfDeviceEncryptionIsEnabled" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "disableAppEncryptionIfDeviceEncryptionIsEnabled" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "disableAppEncryptionIfDeviceEncryptionIsEnabled" property, of type "Edm.Boolean".")] - public System.Boolean disableAppEncryptionIfDeviceEncryptionIsEnabled { get; set; } - - /// - /// The "minimumRequiredSdkVersion" property, of type "Edm.String". - /// This property is on the "microsoft.graph.defaultManagedAppProtection" type. - /// Versions less than the specified version will block the managed app from accessing company data. (iOS Only) - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "minimumRequiredSdkVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "minimumRequiredSdkVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "minimumRequiredSdkVersion" property, of type "Edm.String".")] - public System.String minimumRequiredSdkVersion { get; set; } - - /// - /// The "minimumRequiredPatchVersion" property, of type "Edm.String". - /// This property is on the "microsoft.graph.defaultManagedAppProtection" type. - /// Define the oldest required Android security patch level a user can have to gain secure access to the app. (Android only) - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "minimumRequiredPatchVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "minimumRequiredPatchVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "minimumRequiredPatchVersion" property, of type "Edm.String".")] - public System.String minimumRequiredPatchVersion { get; set; } - - /// - /// The "minimumWarningPatchVersion" property, of type "Edm.String". - /// This property is on the "microsoft.graph.defaultManagedAppProtection" type. - /// Define the oldest recommended Android security patch level a user can have for secure access to the app. (Android only) - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "minimumWarningPatchVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "minimumWarningPatchVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "minimumWarningPatchVersion" property, of type "Edm.String".")] - public System.String minimumWarningPatchVersion { get; set; } - - /// - /// The "faceIdBlocked" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.defaultManagedAppProtection" type. - /// Indicates whether use of the FaceID is allowed in place of a pin if PinRequired is set to True. (iOS Only) - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "faceIdBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "faceIdBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "faceIdBlocked" property, of type "Edm.Boolean".")] - public System.Boolean faceIdBlocked { get; set; } - - /// - /// A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.androidManagedAppProtection" type. - /// - [Selectable] - [Expandable] - [ParameterSetSelector(@"microsoft.graph.androidManagedAppProtection")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", Mandatory = true, HelpMessage = @"A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.androidManagedAppProtection" type.")] - public System.Management.Automation.SwitchParameter androidManagedAppProtection { get; set; } - - /// - /// A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.iosManagedAppProtection" type. - /// - [Selectable] - [Expandable] - [ParameterSetSelector(@"microsoft.graph.iosManagedAppProtection")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", Mandatory = true, HelpMessage = @"A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.iosManagedAppProtection" type.")] - public System.Management.Automation.SwitchParameter iosManagedAppProtection { get; set; } - - internal override System.String GetResourcePath() - { - return $"deviceAppManagement/managedAppRegistrations/{managedAppRegistrationId}/intendedPolicies/{managedAppPolicyId}"; - } - } - - /// - /// Updates a "microsoft.graph.managedAppPolicy". - /// PATCH ~/deviceAppManagement/managedAppRegistrations/{managedAppRegistrationId}/intendedPolicies - /// Updates a "microsoft.graph.managedAppPolicy" object in the "intendedPolicies" collection. - /// Zero or more policies admin intended for the app as of now. - /// - /// GitHub Repository - [Cmdlet("Update", "DeviceAppManagement_ManagedAppRegistrations_IntendedPolicies", ConfirmImpact = ConfirmImpact.Medium)] - [ODataType("microsoft.graph.managedAppPolicy", "microsoft.graph.windowsInformationProtection", "microsoft.graph.windowsInformationProtectionPolicy", "microsoft.graph.mdmWindowsInformationProtectionPolicy", "microsoft.graph.managedAppConfiguration", "microsoft.graph.targetedManagedAppConfiguration", "microsoft.graph.managedAppProtection", "microsoft.graph.defaultManagedAppProtection", "microsoft.graph.targetedManagedAppProtection", "microsoft.graph.androidManagedAppProtection", "microsoft.graph.iosManagedAppProtection")] - [ResourceTypePropertyName("intendedPolicyODataType")] - public class Update_DeviceAppManagement_ManagedAppRegistrations_IntendedPolicies : PatchCmdlet - { - /// - /// The ID for a "microsoft.graph.managedAppPolicy" object in the "intendedPolicies" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.managedAppPolicy" object in the "intendedPolicies" collection.")] - public System.String managedAppPolicyId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection.")] - public System.String managedAppRegistrationId { get; set; } - - /// - /// The "displayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedAppPolicy" type. - /// Policy display name. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppPolicy", HelpMessage = @"The "displayName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", HelpMessage = @"The "displayName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", HelpMessage = @"The "displayName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", HelpMessage = @"The "displayName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppConfiguration", HelpMessage = @"The "displayName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppConfiguration", HelpMessage = @"The "displayName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", HelpMessage = @"The "displayName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", HelpMessage = @"The "displayName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", HelpMessage = @"The "displayName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", HelpMessage = @"The "displayName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", HelpMessage = @"The "displayName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "displayName" property, of type "Edm.String".")] - public System.String displayName { get; set; } - - /// - /// The "description" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedAppPolicy" type. - /// The policy's description. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppPolicy", HelpMessage = @"The "description" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", HelpMessage = @"The "description" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", HelpMessage = @"The "description" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", HelpMessage = @"The "description" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppConfiguration", HelpMessage = @"The "description" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppConfiguration", HelpMessage = @"The "description" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", HelpMessage = @"The "description" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", HelpMessage = @"The "description" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", HelpMessage = @"The "description" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", HelpMessage = @"The "description" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", HelpMessage = @"The "description" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "description" property, of type "Edm.String".")] - public System.String description { get; set; } - - /// - /// The "createdDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.managedAppPolicy" type. - /// The date and time the policy was created. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppPolicy", HelpMessage = @"The "createdDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", HelpMessage = @"The "createdDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", HelpMessage = @"The "createdDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", HelpMessage = @"The "createdDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppConfiguration", HelpMessage = @"The "createdDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppConfiguration", HelpMessage = @"The "createdDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", HelpMessage = @"The "createdDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", HelpMessage = @"The "createdDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", HelpMessage = @"The "createdDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", HelpMessage = @"The "createdDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", HelpMessage = @"The "createdDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "createdDateTime" property, of type "Edm.DateTimeOffset".")] - public System.DateTimeOffset createdDateTime { get; set; } - - /// - /// The "lastModifiedDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.managedAppPolicy" type. - /// Last time the policy was modified. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppPolicy", HelpMessage = @"The "lastModifiedDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", HelpMessage = @"The "lastModifiedDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", HelpMessage = @"The "lastModifiedDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", HelpMessage = @"The "lastModifiedDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppConfiguration", HelpMessage = @"The "lastModifiedDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppConfiguration", HelpMessage = @"The "lastModifiedDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", HelpMessage = @"The "lastModifiedDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", HelpMessage = @"The "lastModifiedDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", HelpMessage = @"The "lastModifiedDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", HelpMessage = @"The "lastModifiedDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", HelpMessage = @"The "lastModifiedDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "lastModifiedDateTime" property, of type "Edm.DateTimeOffset".")] - public System.DateTimeOffset lastModifiedDateTime { get; set; } - - /// - /// The "version" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedAppPolicy" type. - /// Version of the entity. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppPolicy", HelpMessage = @"The "version" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", HelpMessage = @"The "version" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", HelpMessage = @"The "version" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", HelpMessage = @"The "version" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppConfiguration", HelpMessage = @"The "version" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppConfiguration", HelpMessage = @"The "version" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", HelpMessage = @"The "version" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", HelpMessage = @"The "version" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", HelpMessage = @"The "version" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", HelpMessage = @"The "version" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", HelpMessage = @"The "version" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "version" property, of type "Edm.String".")] - public System.String version { get; set; } - - /// - /// The "enforcementLevel" property, of type "microsoft.graph.windowsInformationProtectionEnforcementLevel". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// WIP enforcement level.See the Enum definition for supported values - /// - /// Valid values: 'noProtection', 'encryptAndAuditOnly', 'encryptAuditAndPrompt', 'encryptAuditAndBlock' - /// - /// - [ODataType("microsoft.graph.windowsInformationProtectionEnforcementLevel")] - [Selectable] - [ValidateSet(@"noProtection", @"encryptAndAuditOnly", @"encryptAuditAndPrompt", @"encryptAuditAndBlock")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", HelpMessage = @"The "enforcementLevel" property, of type "microsoft.graph.windowsInformationProtectionEnforcementLevel".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", HelpMessage = @"The "enforcementLevel" property, of type "microsoft.graph.windowsInformationProtectionEnforcementLevel".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", HelpMessage = @"The "enforcementLevel" property, of type "microsoft.graph.windowsInformationProtectionEnforcementLevel".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "enforcementLevel" property, of type "microsoft.graph.windowsInformationProtectionEnforcementLevel".")] - public System.String enforcementLevel { get; set; } - - /// - /// The "enterpriseDomain" property, of type "Edm.String". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// Primary enterprise domain - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", HelpMessage = @"The "enterpriseDomain" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", HelpMessage = @"The "enterpriseDomain" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", HelpMessage = @"The "enterpriseDomain" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "enterpriseDomain" property, of type "Edm.String".")] - public System.String enterpriseDomain { get; set; } - - /// - /// The "enterpriseProtectedDomainNames" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// List of enterprise domains to be protected - /// - [ODataType("microsoft.graph.windowsInformationProtectionResourceCollection")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", HelpMessage = @"The "enterpriseProtectedDomainNames" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", HelpMessage = @"The "enterpriseProtectedDomainNames" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", HelpMessage = @"The "enterpriseProtectedDomainNames" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "enterpriseProtectedDomainNames" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection".")] - public System.Object[] enterpriseProtectedDomainNames { get; set; } - - /// - /// The "protectionUnderLockConfigRequired" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// Specifies whether the protection under lock feature (also known as encrypt under pin) should be configured - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", HelpMessage = @"The "protectionUnderLockConfigRequired" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", HelpMessage = @"The "protectionUnderLockConfigRequired" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", HelpMessage = @"The "protectionUnderLockConfigRequired" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "protectionUnderLockConfigRequired" property, of type "Edm.Boolean".")] - public System.Boolean protectionUnderLockConfigRequired { get; set; } - - /// - /// The "dataRecoveryCertificate" property, of type "microsoft.graph.windowsInformationProtectionDataRecoveryCertificate". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// Specifies a recovery certificate that can be used for data recovery of encrypted files. This is the same as the data recovery agent(DRA) certificate for encrypting file system(EFS) - /// - [ODataType("microsoft.graph.windowsInformationProtectionDataRecoveryCertificate")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", HelpMessage = @"The "dataRecoveryCertificate" property, of type "microsoft.graph.windowsInformationProtectionDataRecoveryCertificate".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", HelpMessage = @"The "dataRecoveryCertificate" property, of type "microsoft.graph.windowsInformationProtectionDataRecoveryCertificate".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", HelpMessage = @"The "dataRecoveryCertificate" property, of type "microsoft.graph.windowsInformationProtectionDataRecoveryCertificate".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "dataRecoveryCertificate" property, of type "microsoft.graph.windowsInformationProtectionDataRecoveryCertificate".")] - public System.Object dataRecoveryCertificate { get; set; } - - /// - /// The "revokeOnUnenrollDisabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// This policy controls whether to revoke the WIP keys when a device unenrolls from the management service. If set to 1 (Don't revoke keys), the keys will not be revoked and the user will continue to have access to protected files after unenrollment. If the keys are not revoked, there will be no revoked file cleanup subsequently. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", HelpMessage = @"The "revokeOnUnenrollDisabled" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", HelpMessage = @"The "revokeOnUnenrollDisabled" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", HelpMessage = @"The "revokeOnUnenrollDisabled" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "revokeOnUnenrollDisabled" property, of type "Edm.Boolean".")] - public System.Boolean revokeOnUnenrollDisabled { get; set; } - - /// - /// The "rightsManagementServicesTemplateId" property, of type "Edm.Guid". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// TemplateID GUID to use for RMS encryption. The RMS template allows the IT admin to configure the details about who has access to RMS-protected file and how long they have access - /// - [ODataType("Edm.Guid")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", HelpMessage = @"The "rightsManagementServicesTemplateId" property, of type "Edm.Guid".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", HelpMessage = @"The "rightsManagementServicesTemplateId" property, of type "Edm.Guid".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", HelpMessage = @"The "rightsManagementServicesTemplateId" property, of type "Edm.Guid".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "rightsManagementServicesTemplateId" property, of type "Edm.Guid".")] - public System.Guid rightsManagementServicesTemplateId { get; set; } - - /// - /// The "azureRightsManagementServicesAllowed" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// Specifies whether to allow Azure RMS encryption for WIP - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", HelpMessage = @"The "azureRightsManagementServicesAllowed" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", HelpMessage = @"The "azureRightsManagementServicesAllowed" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", HelpMessage = @"The "azureRightsManagementServicesAllowed" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "azureRightsManagementServicesAllowed" property, of type "Edm.Boolean".")] - public System.Boolean azureRightsManagementServicesAllowed { get; set; } - - /// - /// The "iconsVisible" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// Determines whether overlays are added to icons for WIP protected files in Explorer and enterprise only app tiles in the Start menu. Starting in Windows 10, version 1703 this setting also configures the visibility of the WIP icon in the title bar of a WIP-protected app - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", HelpMessage = @"The "iconsVisible" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", HelpMessage = @"The "iconsVisible" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", HelpMessage = @"The "iconsVisible" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "iconsVisible" property, of type "Edm.Boolean".")] - public System.Boolean iconsVisible { get; set; } - - /// - /// The "protectedApps" property, of type "microsoft.graph.windowsInformationProtectionApp". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// Protected applications can access enterprise data and the data handled by those applications are protected with encryption - /// - [ODataType("microsoft.graph.windowsInformationProtectionApp", "microsoft.graph.windowsInformationProtectionDesktopApp", "microsoft.graph.windowsInformationProtectionStoreApp")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", HelpMessage = @"The "protectedApps" property, of type "microsoft.graph.windowsInformationProtectionApp".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", HelpMessage = @"The "protectedApps" property, of type "microsoft.graph.windowsInformationProtectionApp".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", HelpMessage = @"The "protectedApps" property, of type "microsoft.graph.windowsInformationProtectionApp".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "protectedApps" property, of type "microsoft.graph.windowsInformationProtectionApp".")] - public System.Object[] protectedApps { get; set; } - - /// - /// The "exemptApps" property, of type "microsoft.graph.windowsInformationProtectionApp". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// Exempt applications can also access enterprise data, but the data handled by those applications are not protected. This is because some critical enterprise applications may have compatibility problems with encrypted data. - /// - [ODataType("microsoft.graph.windowsInformationProtectionApp", "microsoft.graph.windowsInformationProtectionDesktopApp", "microsoft.graph.windowsInformationProtectionStoreApp")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", HelpMessage = @"The "exemptApps" property, of type "microsoft.graph.windowsInformationProtectionApp".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", HelpMessage = @"The "exemptApps" property, of type "microsoft.graph.windowsInformationProtectionApp".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", HelpMessage = @"The "exemptApps" property, of type "microsoft.graph.windowsInformationProtectionApp".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "exemptApps" property, of type "microsoft.graph.windowsInformationProtectionApp".")] - public System.Object[] exemptApps { get; set; } - - /// - /// The "enterpriseNetworkDomainNames" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// This is the list of domains that comprise the boundaries of the enterprise. Data from one of these domains that is sent to a device will be considered enterprise data and protected These locations will be considered a safe destination for enterprise data to be shared to - /// - [ODataType("microsoft.graph.windowsInformationProtectionResourceCollection")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", HelpMessage = @"The "enterpriseNetworkDomainNames" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", HelpMessage = @"The "enterpriseNetworkDomainNames" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", HelpMessage = @"The "enterpriseNetworkDomainNames" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "enterpriseNetworkDomainNames" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection".")] - public System.Object[] enterpriseNetworkDomainNames { get; set; } - - /// - /// The "enterpriseProxiedDomains" property, of type "microsoft.graph.windowsInformationProtectionProxiedDomainCollection". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// Contains a list of Enterprise resource domains hosted in the cloud that need to be protected. Connections to these resources are considered enterprise data. If a proxy is paired with a cloud resource, traffic to the cloud resource will be routed through the enterprise network via the denoted proxy server (on Port 80). A proxy server used for this purpose must also be configured using the EnterpriseInternalProxyServers policy - /// - [ODataType("microsoft.graph.windowsInformationProtectionProxiedDomainCollection")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", HelpMessage = @"The "enterpriseProxiedDomains" property, of type "microsoft.graph.windowsInformationProtectionProxiedDomainCollection".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", HelpMessage = @"The "enterpriseProxiedDomains" property, of type "microsoft.graph.windowsInformationProtectionProxiedDomainCollection".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", HelpMessage = @"The "enterpriseProxiedDomains" property, of type "microsoft.graph.windowsInformationProtectionProxiedDomainCollection".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "enterpriseProxiedDomains" property, of type "microsoft.graph.windowsInformationProtectionProxiedDomainCollection".")] - public System.Object[] enterpriseProxiedDomains { get; set; } - - /// - /// The "enterpriseIPRanges" property, of type "microsoft.graph.windowsInformationProtectionIPRangeCollection". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// Sets the enterprise IP ranges that define the computers in the enterprise network. Data that comes from those computers will be considered part of the enterprise and protected. These locations will be considered a safe destination for enterprise data to be shared to - /// - [ODataType("microsoft.graph.windowsInformationProtectionIPRangeCollection")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", HelpMessage = @"The "enterpriseIPRanges" property, of type "microsoft.graph.windowsInformationProtectionIPRangeCollection".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", HelpMessage = @"The "enterpriseIPRanges" property, of type "microsoft.graph.windowsInformationProtectionIPRangeCollection".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", HelpMessage = @"The "enterpriseIPRanges" property, of type "microsoft.graph.windowsInformationProtectionIPRangeCollection".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "enterpriseIPRanges" property, of type "microsoft.graph.windowsInformationProtectionIPRangeCollection".")] - public System.Object[] enterpriseIPRanges { get; set; } - - /// - /// The "enterpriseIPRangesAreAuthoritative" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// Boolean value that tells the client to accept the configured list and not to use heuristics to attempt to find other subnets. Default is false - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", HelpMessage = @"The "enterpriseIPRangesAreAuthoritative" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", HelpMessage = @"The "enterpriseIPRangesAreAuthoritative" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", HelpMessage = @"The "enterpriseIPRangesAreAuthoritative" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "enterpriseIPRangesAreAuthoritative" property, of type "Edm.Boolean".")] - public System.Boolean enterpriseIPRangesAreAuthoritative { get; set; } - - /// - /// The "enterpriseProxyServers" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// This is a list of proxy servers. Any server not on this list is considered non-enterprise - /// - [ODataType("microsoft.graph.windowsInformationProtectionResourceCollection")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", HelpMessage = @"The "enterpriseProxyServers" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", HelpMessage = @"The "enterpriseProxyServers" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", HelpMessage = @"The "enterpriseProxyServers" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "enterpriseProxyServers" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection".")] - public System.Object[] enterpriseProxyServers { get; set; } - - /// - /// The "enterpriseInternalProxyServers" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// This is the comma-separated list of internal proxy servers. For example, "157.54.14.28, 157.54.11.118, 10.202.14.167, 157.53.14.163, 157.69.210.59". These proxies have been configured by the admin to connect to specific resources on the Internet. They are considered to be enterprise network locations. The proxies are only leveraged in configuring the EnterpriseProxiedDomains policy to force traffic to the matched domains through these proxies - /// - [ODataType("microsoft.graph.windowsInformationProtectionResourceCollection")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", HelpMessage = @"The "enterpriseInternalProxyServers" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", HelpMessage = @"The "enterpriseInternalProxyServers" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", HelpMessage = @"The "enterpriseInternalProxyServers" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "enterpriseInternalProxyServers" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection".")] - public System.Object[] enterpriseInternalProxyServers { get; set; } - - /// - /// The "enterpriseProxyServersAreAuthoritative" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// Boolean value that tells the client to accept the configured list of proxies and not try to detect other work proxies. Default is false - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", HelpMessage = @"The "enterpriseProxyServersAreAuthoritative" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", HelpMessage = @"The "enterpriseProxyServersAreAuthoritative" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", HelpMessage = @"The "enterpriseProxyServersAreAuthoritative" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "enterpriseProxyServersAreAuthoritative" property, of type "Edm.Boolean".")] - public System.Boolean enterpriseProxyServersAreAuthoritative { get; set; } - - /// - /// The "neutralDomainResources" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// List of domain names that can used for work or personal resource - /// - [ODataType("microsoft.graph.windowsInformationProtectionResourceCollection")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", HelpMessage = @"The "neutralDomainResources" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", HelpMessage = @"The "neutralDomainResources" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", HelpMessage = @"The "neutralDomainResources" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "neutralDomainResources" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection".")] - public System.Object[] neutralDomainResources { get; set; } - - /// - /// The "indexingEncryptedStoresOrItemsBlocked" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// This switch is for the Windows Search Indexer, to allow or disallow indexing of items - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", HelpMessage = @"The "indexingEncryptedStoresOrItemsBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", HelpMessage = @"The "indexingEncryptedStoresOrItemsBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", HelpMessage = @"The "indexingEncryptedStoresOrItemsBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "indexingEncryptedStoresOrItemsBlocked" property, of type "Edm.Boolean".")] - public System.Boolean indexingEncryptedStoresOrItemsBlocked { get; set; } - - /// - /// The "smbAutoEncryptedFileExtensions" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// Specifies a list of file extensions, so that files with these extensions are encrypted when copying from an SMB share within the corporate boundary - /// - [ODataType("microsoft.graph.windowsInformationProtectionResourceCollection")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", HelpMessage = @"The "smbAutoEncryptedFileExtensions" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", HelpMessage = @"The "smbAutoEncryptedFileExtensions" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", HelpMessage = @"The "smbAutoEncryptedFileExtensions" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "smbAutoEncryptedFileExtensions" property, of type "microsoft.graph.windowsInformationProtectionResourceCollection".")] - public System.Object[] smbAutoEncryptedFileExtensions { get; set; } - - /// - /// The "isAssigned" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// Indicates if the policy is deployed to any inclusion groups or not. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", HelpMessage = @"The "isAssigned" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", HelpMessage = @"The "isAssigned" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", HelpMessage = @"The "isAssigned" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppConfiguration", HelpMessage = @"The "isAssigned" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", HelpMessage = @"The "isAssigned" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", HelpMessage = @"The "isAssigned" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", HelpMessage = @"The "isAssigned" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "isAssigned" property, of type "Edm.Boolean".")] - public System.Boolean isAssigned { get; set; } - - /// - /// The "protectedAppLockerFiles" property, of type "microsoft.graph.windowsInformationProtectionAppLockerFile". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// Another way to input protected apps through xml files - /// - [ODataType("microsoft.graph.windowsInformationProtectionAppLockerFile")] - [Selectable] - [Expandable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", HelpMessage = @"The "protectedAppLockerFiles" property, of type "microsoft.graph.windowsInformationProtectionAppLockerFile".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", HelpMessage = @"The "protectedAppLockerFiles" property, of type "microsoft.graph.windowsInformationProtectionAppLockerFile".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", HelpMessage = @"The "protectedAppLockerFiles" property, of type "microsoft.graph.windowsInformationProtectionAppLockerFile".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "protectedAppLockerFiles" property, of type "microsoft.graph.windowsInformationProtectionAppLockerFile".")] - public System.Object[] protectedAppLockerFiles { get; set; } - - /// - /// The "exemptAppLockerFiles" property, of type "microsoft.graph.windowsInformationProtectionAppLockerFile". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// Another way to input exempt apps through xml files - /// - [ODataType("microsoft.graph.windowsInformationProtectionAppLockerFile")] - [Selectable] - [Expandable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", HelpMessage = @"The "exemptAppLockerFiles" property, of type "microsoft.graph.windowsInformationProtectionAppLockerFile".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", HelpMessage = @"The "exemptAppLockerFiles" property, of type "microsoft.graph.windowsInformationProtectionAppLockerFile".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", HelpMessage = @"The "exemptAppLockerFiles" property, of type "microsoft.graph.windowsInformationProtectionAppLockerFile".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "exemptAppLockerFiles" property, of type "microsoft.graph.windowsInformationProtectionAppLockerFile".")] - public System.Object[] exemptAppLockerFiles { get; set; } - - /// - /// The "assignments" property, of type "microsoft.graph.targetedManagedAppPolicyAssignment". - /// This property is on the "microsoft.graph.windowsInformationProtection" type. - /// Navigation property to list of security groups targeted for policy. - /// - [ODataType("microsoft.graph.targetedManagedAppPolicyAssignment")] - [Selectable] - [Expandable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtection", HelpMessage = @"The "assignments" property, of type "microsoft.graph.targetedManagedAppPolicyAssignment".")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", HelpMessage = @"The "assignments" property, of type "microsoft.graph.targetedManagedAppPolicyAssignment".")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", HelpMessage = @"The "assignments" property, of type "microsoft.graph.targetedManagedAppPolicyAssignment".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppConfiguration", HelpMessage = @"The "assignments" property, of type "microsoft.graph.targetedManagedAppPolicyAssignment".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", HelpMessage = @"The "assignments" property, of type "microsoft.graph.targetedManagedAppPolicyAssignment".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", HelpMessage = @"The "assignments" property, of type "microsoft.graph.targetedManagedAppPolicyAssignment".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", HelpMessage = @"The "assignments" property, of type "microsoft.graph.targetedManagedAppPolicyAssignment".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "assignments" property, of type "microsoft.graph.targetedManagedAppPolicyAssignment".")] - public System.Object[] assignments { get; set; } - - /// - /// A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.windowsInformationProtectionPolicy" type. - /// - [Selectable] - [Expandable] - [ParameterSetSelector(@"microsoft.graph.windowsInformationProtectionPolicy")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", Mandatory = true, HelpMessage = @"A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.windowsInformationProtectionPolicy" type.")] - public System.Management.Automation.SwitchParameter windowsInformationProtectionPolicy { get; set; } - - /// - /// The "revokeOnMdmHandoffDisabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.windowsInformationProtectionPolicy" type. - /// New property in RS2, pending documentation - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", HelpMessage = @"The "revokeOnMdmHandoffDisabled" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "revokeOnMdmHandoffDisabled" property, of type "Edm.Boolean".")] - public System.Boolean revokeOnMdmHandoffDisabled { get; set; } - - /// - /// The "mdmEnrollmentUrl" property, of type "Edm.String". - /// This property is on the "microsoft.graph.windowsInformationProtectionPolicy" type. - /// Enrollment url for the MDM - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", HelpMessage = @"The "mdmEnrollmentUrl" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "mdmEnrollmentUrl" property, of type "Edm.String".")] - public System.String mdmEnrollmentUrl { get; set; } - - /// - /// The "windowsHelloForBusinessBlocked" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.windowsInformationProtectionPolicy" type. - /// Boolean value that sets Windows Hello for Business as a method for signing into Windows. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", HelpMessage = @"The "windowsHelloForBusinessBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "windowsHelloForBusinessBlocked" property, of type "Edm.Boolean".")] - public System.Boolean windowsHelloForBusinessBlocked { get; set; } - - /// - /// The "pinMinimumLength" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.windowsInformationProtectionPolicy" type. - /// Integer value that sets the minimum number of characters required for the PIN. Default value is 4. The lowest number you can configure for this policy setting is 4. The largest number you can configure must be less than the number configured in the Maximum PIN length policy setting or the number 127, whichever is the lowest. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", HelpMessage = @"The "pinMinimumLength" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "pinMinimumLength" property, of type "Edm.Int32".")] - public System.Int32 pinMinimumLength { get; set; } - - /// - /// The "pinUppercaseLetters" property, of type "microsoft.graph.windowsInformationProtectionPinCharacterRequirements". - /// This property is on the "microsoft.graph.windowsInformationProtectionPolicy" type. - /// Integer value that configures the use of uppercase letters in the Windows Hello for Business PIN. Default is NotAllow. - /// - /// Valid values: 'notAllow', 'requireAtLeastOne', 'allow' - /// - /// - [ODataType("microsoft.graph.windowsInformationProtectionPinCharacterRequirements")] - [Selectable] - [ValidateSet(@"notAllow", @"requireAtLeastOne", @"allow")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", HelpMessage = @"The "pinUppercaseLetters" property, of type "microsoft.graph.windowsInformationProtectionPinCharacterRequirements".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "pinUppercaseLetters" property, of type "microsoft.graph.windowsInformationProtectionPinCharacterRequirements".")] - public System.String pinUppercaseLetters { get; set; } - - /// - /// The "pinLowercaseLetters" property, of type "microsoft.graph.windowsInformationProtectionPinCharacterRequirements". - /// This property is on the "microsoft.graph.windowsInformationProtectionPolicy" type. - /// Integer value that configures the use of lowercase letters in the Windows Hello for Business PIN. Default is NotAllow. - /// - /// Valid values: 'notAllow', 'requireAtLeastOne', 'allow' - /// - /// - [ODataType("microsoft.graph.windowsInformationProtectionPinCharacterRequirements")] - [Selectable] - [ValidateSet(@"notAllow", @"requireAtLeastOne", @"allow")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", HelpMessage = @"The "pinLowercaseLetters" property, of type "microsoft.graph.windowsInformationProtectionPinCharacterRequirements".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "pinLowercaseLetters" property, of type "microsoft.graph.windowsInformationProtectionPinCharacterRequirements".")] - public System.String pinLowercaseLetters { get; set; } - - /// - /// The "pinSpecialCharacters" property, of type "microsoft.graph.windowsInformationProtectionPinCharacterRequirements". - /// This property is on the "microsoft.graph.windowsInformationProtectionPolicy" type. - /// Integer value that configures the use of special characters in the Windows Hello for Business PIN. Valid special characters for Windows Hello for Business PIN gestures include: ! " # $ % & ' ( ) * + , - . / : ; < = > ? @ [ \ ] ^ _ ` { | } ~. Default is NotAllow. - /// - /// Valid values: 'notAllow', 'requireAtLeastOne', 'allow' - /// - /// - [ODataType("microsoft.graph.windowsInformationProtectionPinCharacterRequirements")] - [Selectable] - [ValidateSet(@"notAllow", @"requireAtLeastOne", @"allow")] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", HelpMessage = @"The "pinSpecialCharacters" property, of type "microsoft.graph.windowsInformationProtectionPinCharacterRequirements".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "pinSpecialCharacters" property, of type "microsoft.graph.windowsInformationProtectionPinCharacterRequirements".")] - public System.String pinSpecialCharacters { get; set; } - - /// - /// The "pinExpirationDays" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.windowsInformationProtectionPolicy" type. - /// Integer value specifies the period of time (in days) that a PIN can be used before the system requires the user to change it. The largest number you can configure for this policy setting is 730. The lowest number you can configure for this policy setting is 0. If this policy is set to 0, then the user's PIN will never expire. This node was added in Windows 10, version 1511. Default is 0. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", HelpMessage = @"The "pinExpirationDays" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "pinExpirationDays" property, of type "Edm.Int32".")] - public System.Int32 pinExpirationDays { get; set; } - - /// - /// The "numberOfPastPinsRemembered" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.windowsInformationProtectionPolicy" type. - /// Integer value that specifies the number of past PINs that can be associated to a user account that can't be reused. The largest number you can configure for this policy setting is 50. The lowest number you can configure for this policy setting is 0. If this policy is set to 0, then storage of previous PINs is not required. This node was added in Windows 10, version 1511. Default is 0. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", HelpMessage = @"The "numberOfPastPinsRemembered" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "numberOfPastPinsRemembered" property, of type "Edm.Int32".")] - public System.Int32 numberOfPastPinsRemembered { get; set; } - - /// - /// The "passwordMaximumAttemptCount" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.windowsInformationProtectionPolicy" type. - /// The number of authentication failures allowed before the device will be wiped. A value of 0 disables device wipe functionality. Range is an integer X where 4 <= X <= 16 for desktop and 0 <= X <= 999 for mobile devices. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", HelpMessage = @"The "passwordMaximumAttemptCount" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "passwordMaximumAttemptCount" property, of type "Edm.Int32".")] - public System.Int32 passwordMaximumAttemptCount { get; set; } - - /// - /// The "minutesOfInactivityBeforeDeviceLock" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.windowsInformationProtectionPolicy" type. - /// Specifies the maximum amount of time (in minutes) allowed after the device is idle that will cause the device to become PIN or password locked. Range is an integer X where 0 <= X <= 999. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", HelpMessage = @"The "minutesOfInactivityBeforeDeviceLock" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "minutesOfInactivityBeforeDeviceLock" property, of type "Edm.Int32".")] - public System.Int32 minutesOfInactivityBeforeDeviceLock { get; set; } - - /// - /// The "daysWithoutContactBeforeUnenroll" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.windowsInformationProtectionPolicy" type. - /// Offline interval before app data is wiped (days) - /// - [ODataType("Edm.Int32")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy", HelpMessage = @"The "daysWithoutContactBeforeUnenroll" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "daysWithoutContactBeforeUnenroll" property, of type "Edm.Int32".")] - public System.Int32 daysWithoutContactBeforeUnenroll { get; set; } - - /// - /// A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.mdmWindowsInformationProtectionPolicy" type. - /// - [Selectable] - [Expandable] - [ParameterSetSelector(@"microsoft.graph.mdmWindowsInformationProtectionPolicy")] - [Parameter(ParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy", Mandatory = true, HelpMessage = @"A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.mdmWindowsInformationProtectionPolicy" type.")] - public System.Management.Automation.SwitchParameter mdmWindowsInformationProtectionPolicy { get; set; } - - /// - /// The "customSettings" property, of type "microsoft.graph.keyValuePair". - /// This property is on the "microsoft.graph.managedAppConfiguration" type. - /// A set of string key and string value pairs to be sent to apps for users to whom the configuration is scoped, unalterned by this service - /// - [ODataType("microsoft.graph.keyValuePair")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppConfiguration", HelpMessage = @"The "customSettings" property, of type "microsoft.graph.keyValuePair".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppConfiguration", HelpMessage = @"The "customSettings" property, of type "microsoft.graph.keyValuePair".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", HelpMessage = @"The "customSettings" property, of type "microsoft.graph.keyValuePair".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "customSettings" property, of type "microsoft.graph.keyValuePair".")] - public System.Object[] customSettings { get; set; } - - /// - /// A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.targetedManagedAppConfiguration" type. - /// - [Selectable] - [Expandable] - [ParameterSetSelector(@"microsoft.graph.targetedManagedAppConfiguration")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppConfiguration", Mandatory = true, HelpMessage = @"A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.targetedManagedAppConfiguration" type.")] - public System.Management.Automation.SwitchParameter targetedManagedAppConfiguration { get; set; } - - /// - /// The "deployedAppCount" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.targetedManagedAppConfiguration" type. - /// Count of apps to which the current policy is deployed. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppConfiguration", HelpMessage = @"The "deployedAppCount" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", HelpMessage = @"The "deployedAppCount" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", HelpMessage = @"The "deployedAppCount" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", HelpMessage = @"The "deployedAppCount" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "deployedAppCount" property, of type "Edm.Int32".")] - public System.Int32 deployedAppCount { get; set; } - - /// - /// The "apps" property, of type "microsoft.graph.managedMobileApp". - /// This property is on the "microsoft.graph.targetedManagedAppConfiguration" type. - /// List of apps to which the policy is deployed. - /// - [ODataType("microsoft.graph.managedMobileApp")] - [Selectable] - [Expandable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppConfiguration", HelpMessage = @"The "apps" property, of type "microsoft.graph.managedMobileApp".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", HelpMessage = @"The "apps" property, of type "microsoft.graph.managedMobileApp".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", HelpMessage = @"The "apps" property, of type "microsoft.graph.managedMobileApp".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", HelpMessage = @"The "apps" property, of type "microsoft.graph.managedMobileApp".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "apps" property, of type "microsoft.graph.managedMobileApp".")] - public System.Object[] apps { get; set; } - - /// - /// The "deploymentSummary" property, of type "microsoft.graph.managedAppPolicyDeploymentSummary". - /// This property is on the "microsoft.graph.targetedManagedAppConfiguration" type. - /// Navigation property to deployment summary of the configuration. - /// - [ODataType("microsoft.graph.managedAppPolicyDeploymentSummary")] - [Selectable] - [Expandable] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppConfiguration", HelpMessage = @"The "deploymentSummary" property, of type "microsoft.graph.managedAppPolicyDeploymentSummary".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", HelpMessage = @"The "deploymentSummary" property, of type "microsoft.graph.managedAppPolicyDeploymentSummary".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", HelpMessage = @"The "deploymentSummary" property, of type "microsoft.graph.managedAppPolicyDeploymentSummary".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", HelpMessage = @"The "deploymentSummary" property, of type "microsoft.graph.managedAppPolicyDeploymentSummary".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "deploymentSummary" property, of type "microsoft.graph.managedAppPolicyDeploymentSummary".")] - public System.Object deploymentSummary { get; set; } - - /// - /// The "periodOfflineBeforeAccessCheck" property, of type "Edm.Duration". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// The period after which access is checked when the device is not connected to the internet. - /// - [ODataType("Edm.Duration")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", HelpMessage = @"The "periodOfflineBeforeAccessCheck" property, of type "Edm.Duration".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", HelpMessage = @"The "periodOfflineBeforeAccessCheck" property, of type "Edm.Duration".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", HelpMessage = @"The "periodOfflineBeforeAccessCheck" property, of type "Edm.Duration".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", HelpMessage = @"The "periodOfflineBeforeAccessCheck" property, of type "Edm.Duration".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", HelpMessage = @"The "periodOfflineBeforeAccessCheck" property, of type "Edm.Duration".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "periodOfflineBeforeAccessCheck" property, of type "Edm.Duration".")] - public System.TimeSpan periodOfflineBeforeAccessCheck { get; set; } - - /// - /// The "periodOnlineBeforeAccessCheck" property, of type "Edm.Duration". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// The period after which access is checked when the device is connected to the internet. - /// - [ODataType("Edm.Duration")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", HelpMessage = @"The "periodOnlineBeforeAccessCheck" property, of type "Edm.Duration".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", HelpMessage = @"The "periodOnlineBeforeAccessCheck" property, of type "Edm.Duration".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", HelpMessage = @"The "periodOnlineBeforeAccessCheck" property, of type "Edm.Duration".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", HelpMessage = @"The "periodOnlineBeforeAccessCheck" property, of type "Edm.Duration".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", HelpMessage = @"The "periodOnlineBeforeAccessCheck" property, of type "Edm.Duration".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "periodOnlineBeforeAccessCheck" property, of type "Edm.Duration".")] - public System.TimeSpan periodOnlineBeforeAccessCheck { get; set; } - - /// - /// The "allowedInboundDataTransferSources" property, of type "microsoft.graph.managedAppDataTransferLevel". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Sources from which data is allowed to be transferred. - /// - /// Valid values: 'allApps', 'managedApps', 'none' - /// - /// - [ODataType("microsoft.graph.managedAppDataTransferLevel")] - [Selectable] - [ValidateSet(@"allApps", @"managedApps", @"none")] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", HelpMessage = @"The "allowedInboundDataTransferSources" property, of type "microsoft.graph.managedAppDataTransferLevel".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", HelpMessage = @"The "allowedInboundDataTransferSources" property, of type "microsoft.graph.managedAppDataTransferLevel".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", HelpMessage = @"The "allowedInboundDataTransferSources" property, of type "microsoft.graph.managedAppDataTransferLevel".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", HelpMessage = @"The "allowedInboundDataTransferSources" property, of type "microsoft.graph.managedAppDataTransferLevel".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", HelpMessage = @"The "allowedInboundDataTransferSources" property, of type "microsoft.graph.managedAppDataTransferLevel".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "allowedInboundDataTransferSources" property, of type "microsoft.graph.managedAppDataTransferLevel".")] - public System.String allowedInboundDataTransferSources { get; set; } - - /// - /// The "allowedOutboundDataTransferDestinations" property, of type "microsoft.graph.managedAppDataTransferLevel". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Destinations to which data is allowed to be transferred. - /// - /// Valid values: 'allApps', 'managedApps', 'none' - /// - /// - [ODataType("microsoft.graph.managedAppDataTransferLevel")] - [Selectable] - [ValidateSet(@"allApps", @"managedApps", @"none")] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", HelpMessage = @"The "allowedOutboundDataTransferDestinations" property, of type "microsoft.graph.managedAppDataTransferLevel".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", HelpMessage = @"The "allowedOutboundDataTransferDestinations" property, of type "microsoft.graph.managedAppDataTransferLevel".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", HelpMessage = @"The "allowedOutboundDataTransferDestinations" property, of type "microsoft.graph.managedAppDataTransferLevel".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", HelpMessage = @"The "allowedOutboundDataTransferDestinations" property, of type "microsoft.graph.managedAppDataTransferLevel".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", HelpMessage = @"The "allowedOutboundDataTransferDestinations" property, of type "microsoft.graph.managedAppDataTransferLevel".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "allowedOutboundDataTransferDestinations" property, of type "microsoft.graph.managedAppDataTransferLevel".")] - public System.String allowedOutboundDataTransferDestinations { get; set; } - - /// - /// The "organizationalCredentialsRequired" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Indicates whether organizational credentials are required for app use. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", HelpMessage = @"The "organizationalCredentialsRequired" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", HelpMessage = @"The "organizationalCredentialsRequired" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", HelpMessage = @"The "organizationalCredentialsRequired" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", HelpMessage = @"The "organizationalCredentialsRequired" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", HelpMessage = @"The "organizationalCredentialsRequired" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "organizationalCredentialsRequired" property, of type "Edm.Boolean".")] - public System.Boolean organizationalCredentialsRequired { get; set; } - - /// - /// The "allowedOutboundClipboardSharingLevel" property, of type "microsoft.graph.managedAppClipboardSharingLevel". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// The level to which the clipboard may be shared between apps on the managed device. - /// - /// Valid values: 'allApps', 'managedAppsWithPasteIn', 'managedApps', 'blocked' - /// - /// - [ODataType("microsoft.graph.managedAppClipboardSharingLevel")] - [Selectable] - [ValidateSet(@"allApps", @"managedAppsWithPasteIn", @"managedApps", @"blocked")] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", HelpMessage = @"The "allowedOutboundClipboardSharingLevel" property, of type "microsoft.graph.managedAppClipboardSharingLevel".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", HelpMessage = @"The "allowedOutboundClipboardSharingLevel" property, of type "microsoft.graph.managedAppClipboardSharingLevel".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", HelpMessage = @"The "allowedOutboundClipboardSharingLevel" property, of type "microsoft.graph.managedAppClipboardSharingLevel".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", HelpMessage = @"The "allowedOutboundClipboardSharingLevel" property, of type "microsoft.graph.managedAppClipboardSharingLevel".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", HelpMessage = @"The "allowedOutboundClipboardSharingLevel" property, of type "microsoft.graph.managedAppClipboardSharingLevel".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "allowedOutboundClipboardSharingLevel" property, of type "microsoft.graph.managedAppClipboardSharingLevel".")] - public System.String allowedOutboundClipboardSharingLevel { get; set; } - - /// - /// The "dataBackupBlocked" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Indicates whether the backup of a managed app's data is blocked. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", HelpMessage = @"The "dataBackupBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", HelpMessage = @"The "dataBackupBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", HelpMessage = @"The "dataBackupBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", HelpMessage = @"The "dataBackupBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", HelpMessage = @"The "dataBackupBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "dataBackupBlocked" property, of type "Edm.Boolean".")] - public System.Boolean dataBackupBlocked { get; set; } - - /// - /// The "deviceComplianceRequired" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Indicates whether device compliance is required. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", HelpMessage = @"The "deviceComplianceRequired" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", HelpMessage = @"The "deviceComplianceRequired" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", HelpMessage = @"The "deviceComplianceRequired" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", HelpMessage = @"The "deviceComplianceRequired" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", HelpMessage = @"The "deviceComplianceRequired" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "deviceComplianceRequired" property, of type "Edm.Boolean".")] - public System.Boolean deviceComplianceRequired { get; set; } - - /// - /// The "managedBrowserToOpenLinksRequired" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Indicates whether internet links should be opened in the managed browser app. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", HelpMessage = @"The "managedBrowserToOpenLinksRequired" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", HelpMessage = @"The "managedBrowserToOpenLinksRequired" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", HelpMessage = @"The "managedBrowserToOpenLinksRequired" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", HelpMessage = @"The "managedBrowserToOpenLinksRequired" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", HelpMessage = @"The "managedBrowserToOpenLinksRequired" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "managedBrowserToOpenLinksRequired" property, of type "Edm.Boolean".")] - public System.Boolean managedBrowserToOpenLinksRequired { get; set; } - - /// - /// The "saveAsBlocked" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Indicates whether users may use the "Save As" menu item to save a copy of protected files. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", HelpMessage = @"The "saveAsBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", HelpMessage = @"The "saveAsBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", HelpMessage = @"The "saveAsBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", HelpMessage = @"The "saveAsBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", HelpMessage = @"The "saveAsBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "saveAsBlocked" property, of type "Edm.Boolean".")] - public System.Boolean saveAsBlocked { get; set; } - - /// - /// The "periodOfflineBeforeWipeIsEnforced" property, of type "Edm.Duration". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// The amount of time an app is allowed to remain disconnected from the internet before all managed data it is wiped. - /// - [ODataType("Edm.Duration")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", HelpMessage = @"The "periodOfflineBeforeWipeIsEnforced" property, of type "Edm.Duration".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", HelpMessage = @"The "periodOfflineBeforeWipeIsEnforced" property, of type "Edm.Duration".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", HelpMessage = @"The "periodOfflineBeforeWipeIsEnforced" property, of type "Edm.Duration".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", HelpMessage = @"The "periodOfflineBeforeWipeIsEnforced" property, of type "Edm.Duration".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", HelpMessage = @"The "periodOfflineBeforeWipeIsEnforced" property, of type "Edm.Duration".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "periodOfflineBeforeWipeIsEnforced" property, of type "Edm.Duration".")] - public System.TimeSpan periodOfflineBeforeWipeIsEnforced { get; set; } - - /// - /// The "pinRequired" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Indicates whether an app-level pin is required. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", HelpMessage = @"The "pinRequired" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", HelpMessage = @"The "pinRequired" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", HelpMessage = @"The "pinRequired" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", HelpMessage = @"The "pinRequired" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", HelpMessage = @"The "pinRequired" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "pinRequired" property, of type "Edm.Boolean".")] - public System.Boolean pinRequired { get; set; } - - /// - /// The "maximumPinRetries" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Maximum number of incorrect pin retry attempts before the managed app is either blocked or wiped. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", HelpMessage = @"The "maximumPinRetries" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", HelpMessage = @"The "maximumPinRetries" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", HelpMessage = @"The "maximumPinRetries" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", HelpMessage = @"The "maximumPinRetries" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", HelpMessage = @"The "maximumPinRetries" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "maximumPinRetries" property, of type "Edm.Int32".")] - public System.Int32 maximumPinRetries { get; set; } - - /// - /// The "simplePinBlocked" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Indicates whether simplePin is blocked. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", HelpMessage = @"The "simplePinBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", HelpMessage = @"The "simplePinBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", HelpMessage = @"The "simplePinBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", HelpMessage = @"The "simplePinBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", HelpMessage = @"The "simplePinBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "simplePinBlocked" property, of type "Edm.Boolean".")] - public System.Boolean simplePinBlocked { get; set; } - - /// - /// The "minimumPinLength" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Minimum pin length required for an app-level pin if PinRequired is set to True - /// - [ODataType("Edm.Int32")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", HelpMessage = @"The "minimumPinLength" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", HelpMessage = @"The "minimumPinLength" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", HelpMessage = @"The "minimumPinLength" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", HelpMessage = @"The "minimumPinLength" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", HelpMessage = @"The "minimumPinLength" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "minimumPinLength" property, of type "Edm.Int32".")] - public System.Int32 minimumPinLength { get; set; } - - /// - /// The "pinCharacterSet" property, of type "microsoft.graph.managedAppPinCharacterSet". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Character set which may be used for an app-level pin if PinRequired is set to True. - /// - /// Valid values: 'numeric', 'alphanumericAndSymbol' - /// - /// - [ODataType("microsoft.graph.managedAppPinCharacterSet")] - [Selectable] - [ValidateSet(@"numeric", @"alphanumericAndSymbol")] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", HelpMessage = @"The "pinCharacterSet" property, of type "microsoft.graph.managedAppPinCharacterSet".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", HelpMessage = @"The "pinCharacterSet" property, of type "microsoft.graph.managedAppPinCharacterSet".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", HelpMessage = @"The "pinCharacterSet" property, of type "microsoft.graph.managedAppPinCharacterSet".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", HelpMessage = @"The "pinCharacterSet" property, of type "microsoft.graph.managedAppPinCharacterSet".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", HelpMessage = @"The "pinCharacterSet" property, of type "microsoft.graph.managedAppPinCharacterSet".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "pinCharacterSet" property, of type "microsoft.graph.managedAppPinCharacterSet".")] - public System.String pinCharacterSet { get; set; } - - /// - /// The "periodBeforePinReset" property, of type "Edm.Duration". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// TimePeriod before the all-level pin must be reset if PinRequired is set to True. - /// - [ODataType("Edm.Duration")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", HelpMessage = @"The "periodBeforePinReset" property, of type "Edm.Duration".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", HelpMessage = @"The "periodBeforePinReset" property, of type "Edm.Duration".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", HelpMessage = @"The "periodBeforePinReset" property, of type "Edm.Duration".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", HelpMessage = @"The "periodBeforePinReset" property, of type "Edm.Duration".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", HelpMessage = @"The "periodBeforePinReset" property, of type "Edm.Duration".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "periodBeforePinReset" property, of type "Edm.Duration".")] - public System.TimeSpan periodBeforePinReset { get; set; } - - /// - /// The "allowedDataStorageLocations" property, of type "microsoft.graph.managedAppDataStorageLocation". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Data storage locations where a user may store managed data. - /// - /// Valid values: 'oneDriveForBusiness', 'sharePoint', 'localStorage' - /// - /// - [ODataType("microsoft.graph.managedAppDataStorageLocation")] - [Selectable] - [ValidateSet(@"oneDriveForBusiness", @"sharePoint", @"localStorage")] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", HelpMessage = @"The "allowedDataStorageLocations" property, of type "microsoft.graph.managedAppDataStorageLocation".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", HelpMessage = @"The "allowedDataStorageLocations" property, of type "microsoft.graph.managedAppDataStorageLocation".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", HelpMessage = @"The "allowedDataStorageLocations" property, of type "microsoft.graph.managedAppDataStorageLocation".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", HelpMessage = @"The "allowedDataStorageLocations" property, of type "microsoft.graph.managedAppDataStorageLocation".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", HelpMessage = @"The "allowedDataStorageLocations" property, of type "microsoft.graph.managedAppDataStorageLocation".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "allowedDataStorageLocations" property, of type "microsoft.graph.managedAppDataStorageLocation".")] - public System.String[] allowedDataStorageLocations { get; set; } - - /// - /// The "contactSyncBlocked" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Indicates whether contacts can be synced to the user's device. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", HelpMessage = @"The "contactSyncBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", HelpMessage = @"The "contactSyncBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", HelpMessage = @"The "contactSyncBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", HelpMessage = @"The "contactSyncBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", HelpMessage = @"The "contactSyncBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "contactSyncBlocked" property, of type "Edm.Boolean".")] - public System.Boolean contactSyncBlocked { get; set; } - - /// - /// The "printBlocked" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Indicates whether printing is allowed from managed apps. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", HelpMessage = @"The "printBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", HelpMessage = @"The "printBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", HelpMessage = @"The "printBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", HelpMessage = @"The "printBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", HelpMessage = @"The "printBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "printBlocked" property, of type "Edm.Boolean".")] - public System.Boolean printBlocked { get; set; } - - /// - /// The "fingerprintBlocked" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Indicates whether use of the fingerprint reader is allowed in place of a pin if PinRequired is set to True. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", HelpMessage = @"The "fingerprintBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", HelpMessage = @"The "fingerprintBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", HelpMessage = @"The "fingerprintBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", HelpMessage = @"The "fingerprintBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", HelpMessage = @"The "fingerprintBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "fingerprintBlocked" property, of type "Edm.Boolean".")] - public System.Boolean fingerprintBlocked { get; set; } - - /// - /// The "disableAppPinIfDevicePinIsSet" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Indicates whether use of the app pin is required if the device pin is set. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", HelpMessage = @"The "disableAppPinIfDevicePinIsSet" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", HelpMessage = @"The "disableAppPinIfDevicePinIsSet" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", HelpMessage = @"The "disableAppPinIfDevicePinIsSet" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", HelpMessage = @"The "disableAppPinIfDevicePinIsSet" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", HelpMessage = @"The "disableAppPinIfDevicePinIsSet" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "disableAppPinIfDevicePinIsSet" property, of type "Edm.Boolean".")] - public System.Boolean disableAppPinIfDevicePinIsSet { get; set; } - - /// - /// The "minimumRequiredOsVersion" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Versions less than the specified version will block the managed app from accessing company data. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", HelpMessage = @"The "minimumRequiredOsVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", HelpMessage = @"The "minimumRequiredOsVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", HelpMessage = @"The "minimumRequiredOsVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", HelpMessage = @"The "minimumRequiredOsVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", HelpMessage = @"The "minimumRequiredOsVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "minimumRequiredOsVersion" property, of type "Edm.String".")] - public System.String minimumRequiredOsVersion { get; set; } - - /// - /// The "minimumWarningOsVersion" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Versions less than the specified version will result in warning message on the managed app from accessing company data. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", HelpMessage = @"The "minimumWarningOsVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", HelpMessage = @"The "minimumWarningOsVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", HelpMessage = @"The "minimumWarningOsVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", HelpMessage = @"The "minimumWarningOsVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", HelpMessage = @"The "minimumWarningOsVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "minimumWarningOsVersion" property, of type "Edm.String".")] - public System.String minimumWarningOsVersion { get; set; } - - /// - /// The "minimumRequiredAppVersion" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Versions less than the specified version will block the managed app from accessing company data. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", HelpMessage = @"The "minimumRequiredAppVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", HelpMessage = @"The "minimumRequiredAppVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", HelpMessage = @"The "minimumRequiredAppVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", HelpMessage = @"The "minimumRequiredAppVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", HelpMessage = @"The "minimumRequiredAppVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "minimumRequiredAppVersion" property, of type "Edm.String".")] - public System.String minimumRequiredAppVersion { get; set; } - - /// - /// The "minimumWarningAppVersion" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedAppProtection" type. - /// Versions less than the specified version will result in warning message on the managed app. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppProtection", HelpMessage = @"The "minimumWarningAppVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", HelpMessage = @"The "minimumWarningAppVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppProtection", HelpMessage = @"The "minimumWarningAppVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", HelpMessage = @"The "minimumWarningAppVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", HelpMessage = @"The "minimumWarningAppVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "minimumWarningAppVersion" property, of type "Edm.String".")] - public System.String minimumWarningAppVersion { get; set; } - - /// - /// A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.defaultManagedAppProtection" type. - /// - [Selectable] - [Expandable] - [ParameterSetSelector(@"microsoft.graph.defaultManagedAppProtection")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", Mandatory = true, HelpMessage = @"A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.defaultManagedAppProtection" type.")] - public System.Management.Automation.SwitchParameter defaultManagedAppProtection { get; set; } - - /// - /// The "appDataEncryptionType" property, of type "microsoft.graph.managedAppDataEncryptionType". - /// This property is on the "microsoft.graph.defaultManagedAppProtection" type. - /// Type of encryption which should be used for data in a managed app. (iOS Only) - /// - /// Valid values: 'useDeviceSettings', 'afterDeviceRestart', 'whenDeviceLockedExceptOpenFiles', 'whenDeviceLocked' - /// - /// - [ODataType("microsoft.graph.managedAppDataEncryptionType")] - [Selectable] - [ValidateSet(@"useDeviceSettings", @"afterDeviceRestart", @"whenDeviceLockedExceptOpenFiles", @"whenDeviceLocked")] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", HelpMessage = @"The "appDataEncryptionType" property, of type "microsoft.graph.managedAppDataEncryptionType".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", HelpMessage = @"The "appDataEncryptionType" property, of type "microsoft.graph.managedAppDataEncryptionType".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "appDataEncryptionType" property, of type "microsoft.graph.managedAppDataEncryptionType".")] - public System.String appDataEncryptionType { get; set; } - - /// - /// The "screenCaptureBlocked" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.defaultManagedAppProtection" type. - /// Indicates whether screen capture is blocked. (Android only) - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", HelpMessage = @"The "screenCaptureBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", HelpMessage = @"The "screenCaptureBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "screenCaptureBlocked" property, of type "Edm.Boolean".")] - public System.Boolean screenCaptureBlocked { get; set; } - - /// - /// The "encryptAppData" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.defaultManagedAppProtection" type. - /// Indicates whether managed-app data should be encrypted. (Android only) - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", HelpMessage = @"The "encryptAppData" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", HelpMessage = @"The "encryptAppData" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "encryptAppData" property, of type "Edm.Boolean".")] - public System.Boolean encryptAppData { get; set; } - - /// - /// The "disableAppEncryptionIfDeviceEncryptionIsEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.defaultManagedAppProtection" type. - /// When this setting is enabled, app level encryption is disabled if device level encryption is enabled. (Android only) - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", HelpMessage = @"The "disableAppEncryptionIfDeviceEncryptionIsEnabled" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", HelpMessage = @"The "disableAppEncryptionIfDeviceEncryptionIsEnabled" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "disableAppEncryptionIfDeviceEncryptionIsEnabled" property, of type "Edm.Boolean".")] - public System.Boolean disableAppEncryptionIfDeviceEncryptionIsEnabled { get; set; } - - /// - /// The "minimumRequiredSdkVersion" property, of type "Edm.String". - /// This property is on the "microsoft.graph.defaultManagedAppProtection" type. - /// Versions less than the specified version will block the managed app from accessing company data. (iOS Only) - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", HelpMessage = @"The "minimumRequiredSdkVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", HelpMessage = @"The "minimumRequiredSdkVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "minimumRequiredSdkVersion" property, of type "Edm.String".")] - public System.String minimumRequiredSdkVersion { get; set; } - - /// - /// The "minimumRequiredPatchVersion" property, of type "Edm.String". - /// This property is on the "microsoft.graph.defaultManagedAppProtection" type. - /// Define the oldest required Android security patch level a user can have to gain secure access to the app. (Android only) - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", HelpMessage = @"The "minimumRequiredPatchVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", HelpMessage = @"The "minimumRequiredPatchVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "minimumRequiredPatchVersion" property, of type "Edm.String".")] - public System.String minimumRequiredPatchVersion { get; set; } - - /// - /// The "minimumWarningPatchVersion" property, of type "Edm.String". - /// This property is on the "microsoft.graph.defaultManagedAppProtection" type. - /// Define the oldest recommended Android security patch level a user can have for secure access to the app. (Android only) - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", HelpMessage = @"The "minimumWarningPatchVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", HelpMessage = @"The "minimumWarningPatchVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "minimumWarningPatchVersion" property, of type "Edm.String".")] - public System.String minimumWarningPatchVersion { get; set; } - - /// - /// The "faceIdBlocked" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.defaultManagedAppProtection" type. - /// Indicates whether use of the FaceID is allowed in place of a pin if PinRequired is set to True. (iOS Only) - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.defaultManagedAppProtection", HelpMessage = @"The "faceIdBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", HelpMessage = @"The "faceIdBlocked" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "faceIdBlocked" property, of type "Edm.Boolean".")] - public System.Boolean faceIdBlocked { get; set; } - - /// - /// A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.androidManagedAppProtection" type. - /// - [Selectable] - [Expandable] - [ParameterSetSelector(@"microsoft.graph.androidManagedAppProtection")] - [Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppProtection", Mandatory = true, HelpMessage = @"A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.androidManagedAppProtection" type.")] - public System.Management.Automation.SwitchParameter androidManagedAppProtection { get; set; } - - /// - /// A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.iosManagedAppProtection" type. - /// - [Selectable] - [Expandable] - [ParameterSetSelector(@"microsoft.graph.iosManagedAppProtection")] - [Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppProtection", Mandatory = true, HelpMessage = @"A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.iosManagedAppProtection" type.")] - public System.Management.Automation.SwitchParameter iosManagedAppProtection { get; set; } - - internal override System.String GetResourcePath() - { - return $"deviceAppManagement/managedAppRegistrations/{managedAppRegistrationId}/intendedPolicies/{managedAppPolicyId}"; - } - } - - /// - /// Removes a "microsoft.graph.managedAppPolicy" object. - /// DELETE ~/deviceAppManagement/managedAppRegistrations/{managedAppRegistrationId}/intendedPolicies/managedAppPolicyId - /// Removes a "microsoft.graph.managedAppPolicy" object from the "intendedPolicies" collection. - /// Zero or more policies admin intended for the app as of now. - /// - /// GitHub Repository - [Cmdlet("Remove", "DeviceAppManagement_ManagedAppRegistrations_IntendedPolicies", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.managedAppPolicy", "microsoft.graph.windowsInformationProtection", "microsoft.graph.windowsInformationProtectionPolicy", "microsoft.graph.mdmWindowsInformationProtectionPolicy", "microsoft.graph.managedAppConfiguration", "microsoft.graph.targetedManagedAppConfiguration", "microsoft.graph.managedAppProtection", "microsoft.graph.defaultManagedAppProtection", "microsoft.graph.targetedManagedAppProtection", "microsoft.graph.androidManagedAppProtection", "microsoft.graph.iosManagedAppProtection")] - [ResourceTypePropertyName("intendedPolicyODataType")] - public class Remove_DeviceAppManagement_ManagedAppRegistrations_IntendedPolicies : DeleteCmdlet - { - /// - /// The ID for a "microsoft.graph.managedAppPolicy" object in the "intendedPolicies" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.managedAppPolicy" object in the "intendedPolicies" collection.")] - public System.String managedAppPolicyId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection.")] - public System.String managedAppRegistrationId { get; set; } - - internal override System.String GetResourcePath() - { - return $"deviceAppManagement/managedAppRegistrations/{managedAppRegistrationId}/intendedPolicies/{managedAppPolicyId}"; - } - } - - /// - /// POST ~/deviceAppManagement/managedAppRegistrations/{managedAppRegistrationId}/intendedPolicies/targetApps - /// The action "microsoft.graph.targetApps", which exists on the type "microsoft.graph.managedAppPolicy". - /// This action does not return any objects. - /// - /// GitHub Repository - [Cmdlet("Invoke", "DeviceAppManagement_ManagedAppRegistrations_IntendedPolicies_TargetApps", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.managedAppPolicy", "microsoft.graph.windowsInformationProtection", "microsoft.graph.windowsInformationProtectionPolicy", "microsoft.graph.mdmWindowsInformationProtectionPolicy", "microsoft.graph.managedAppConfiguration", "microsoft.graph.targetedManagedAppConfiguration", "microsoft.graph.managedAppProtection", "microsoft.graph.defaultManagedAppProtection", "microsoft.graph.targetedManagedAppProtection", "microsoft.graph.androidManagedAppProtection", "microsoft.graph.iosManagedAppProtection")] - [ResourceTypePropertyName("intendedPolicyODataType")] - public class Invoke_DeviceAppManagement_ManagedAppRegistrations_IntendedPolicies_TargetApps : ActionCmdlet - { - /// - /// The "apps" action parameter of type "microsoft.graph.managedMobileApp". - /// - [ODataType("microsoft.graph.managedMobileApp")] - [Selectable] - [Expandable] - [AllowEmptyCollection] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "apps" action parameter of type "microsoft.graph.managedMobileApp".")] - public System.Object[] apps { get; set; } - - /// - /// The ID for a "microsoft.graph.managedAppPolicy" object in the "intendedPolicies" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.managedAppPolicy" object in the "intendedPolicies" collection.")] - public System.String managedAppPolicyId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection.")] - public System.String managedAppRegistrationId { get; set; } - - internal override System.String GetResourcePath() - { - return $"deviceAppManagement/managedAppRegistrations/{managedAppRegistrationId}/intendedPolicies/{managedAppPolicyId}/targetApps"; - } - } -} \ No newline at end of file diff --git a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/ManagedAppRegistrations/IntendedPolicies/Apps.cs b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/ManagedAppRegistrations/IntendedPolicies/Apps.cs deleted file mode 100644 index aa78592..0000000 --- a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/ManagedAppRegistrations/IntendedPolicies/Apps.cs +++ /dev/null @@ -1,322 +0,0 @@ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. - -namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets -{ - using System.Management.Automation; - - /// - /// Retrieves "microsoft.graph.managedMobileApp" objects. - /// GET ~/deviceAppManagement/managedAppRegistrations/{managedAppRegistrationId}/intendedPolicies/{managedAppPolicyId}/{intendedPolicyODataType}/apps - /// Retrieves "microsoft.graph.managedMobileApp" objects in the "apps" collection. - /// List of apps to which the policy is deployed. - /// - /// GitHub Repository - [Cmdlet("Get", "DeviceAppManagement_ManagedAppRegistrations_IntendedPolicies_Apps", DefaultParameterSetName = @"Search")] - [ODataType("microsoft.graph.managedMobileApp")] - [ResourceTypePropertyName("appODataType")] - [ResourceReference] - public class Get_DeviceAppManagement_ManagedAppRegistrations_IntendedPolicies_Apps : GetOrSearchCmdlet - { - /// - /// A required ID for referencing a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection.")] - public System.String managedAppRegistrationId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.managedAppPolicy" object in the "intendedPolicies" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedAppPolicy" object in the "intendedPolicies" collection.")] - public System.String managedAppPolicyId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.managedAppPolicy" objects. - /// - /// Valid values: 'microsoft.graph.managedAppPolicy', 'microsoft.graph.windowsInformationProtection', 'microsoft.graph.windowsInformationProtectionPolicy', 'microsoft.graph.mdmWindowsInformationProtectionPolicy', 'microsoft.graph.managedAppConfiguration', 'microsoft.graph.targetedManagedAppConfiguration', 'microsoft.graph.managedAppProtection', 'microsoft.graph.defaultManagedAppProtection', 'microsoft.graph.targetedManagedAppProtection', 'microsoft.graph.androidManagedAppProtection', 'microsoft.graph.iosManagedAppProtection' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.managedAppPolicy", @"microsoft.graph.windowsInformationProtection", @"microsoft.graph.windowsInformationProtectionPolicy", @"microsoft.graph.mdmWindowsInformationProtectionPolicy", @"microsoft.graph.managedAppConfiguration", @"microsoft.graph.targetedManagedAppConfiguration", @"microsoft.graph.managedAppProtection", @"microsoft.graph.defaultManagedAppProtection", @"microsoft.graph.targetedManagedAppProtection", @"microsoft.graph.androidManagedAppProtection", @"microsoft.graph.iosManagedAppProtection")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.managedAppPolicy" objects.")] - public System.String intendedPolicyODataType { get; set; } - - /// - /// The ID for a "microsoft.graph.managedMobileApp" object in the "apps" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(ParameterSetName = @"Get", Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.managedMobileApp" object in the "apps" collection.")] - public System.String managedMobileAppId { get; set; } - - /// - /// The "mobileAppIdentifier" property, of type "microsoft.graph.mobileAppIdentifier". - /// This property is on the "microsoft.graph.managedMobileApp" type. - /// The identifier for an app with it's operating system type. - /// - [ODataType("microsoft.graph.mobileAppIdentifier", "microsoft.graph.iosMobileAppIdentifier", "microsoft.graph.androidMobileAppIdentifier")] - [Selectable] - [Sortable] - public System.Object mobileAppIdentifier { get; set; } - - /// - /// The "version" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedMobileApp" type. - /// Version of the entity. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String version { get; set; } - - internal override System.String GetResourcePath() - { - return $"deviceAppManagement/managedAppRegistrations/{managedAppRegistrationId}/intendedPolicies/{managedAppPolicyId}/{intendedPolicyODataType}/apps/{managedMobileAppId ?? string.Empty}"; - } - } - - /// - /// Creates a "microsoft.graph.managedMobileApp" object. - /// POST ~/deviceAppManagement/managedAppRegistrations/{managedAppRegistrationId}/intendedPolicies/{managedAppPolicyId}/{intendedPolicyODataType}/apps - /// Adds a "microsoft.graph.managedMobileApp" object to the "apps" collection. - /// List of apps to which the policy is deployed. - /// - /// GitHub Repository - [Cmdlet("New", "DeviceAppManagement_ManagedAppRegistrations_IntendedPolicies_Apps", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.managedMobileApp")] - [ODataType("microsoft.graph.managedMobileApp")] - [ResourceTypePropertyName("appODataType")] - [ResourceReference] - public class New_DeviceAppManagement_ManagedAppRegistrations_IntendedPolicies_Apps : PostCmdlet - { - /// - /// The ID for a "microsoft.graph.managedMobileApp" object in the "apps" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - public System.String managedMobileAppId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection.")] - public System.String managedAppRegistrationId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.managedAppPolicy" object in the "intendedPolicies" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedAppPolicy" object in the "intendedPolicies" collection.")] - public System.String managedAppPolicyId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.managedAppPolicy" objects. - /// - /// Valid values: 'microsoft.graph.managedAppPolicy', 'microsoft.graph.windowsInformationProtection', 'microsoft.graph.windowsInformationProtectionPolicy', 'microsoft.graph.mdmWindowsInformationProtectionPolicy', 'microsoft.graph.managedAppConfiguration', 'microsoft.graph.targetedManagedAppConfiguration', 'microsoft.graph.managedAppProtection', 'microsoft.graph.defaultManagedAppProtection', 'microsoft.graph.targetedManagedAppProtection', 'microsoft.graph.androidManagedAppProtection', 'microsoft.graph.iosManagedAppProtection' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.managedAppPolicy", @"microsoft.graph.windowsInformationProtection", @"microsoft.graph.windowsInformationProtectionPolicy", @"microsoft.graph.mdmWindowsInformationProtectionPolicy", @"microsoft.graph.managedAppConfiguration", @"microsoft.graph.targetedManagedAppConfiguration", @"microsoft.graph.managedAppProtection", @"microsoft.graph.defaultManagedAppProtection", @"microsoft.graph.targetedManagedAppProtection", @"microsoft.graph.androidManagedAppProtection", @"microsoft.graph.iosManagedAppProtection")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.managedAppPolicy" objects.")] - public System.String intendedPolicyODataType { get; set; } - - /// - /// The "mobileAppIdentifier" property, of type "microsoft.graph.mobileAppIdentifier". - /// This property is on the "microsoft.graph.managedMobileApp" type. - /// The identifier for an app with it's operating system type. - /// - [ODataType("microsoft.graph.mobileAppIdentifier", "microsoft.graph.iosMobileAppIdentifier", "microsoft.graph.androidMobileAppIdentifier")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedMobileApp", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "mobileAppIdentifier" property, of type "microsoft.graph.mobileAppIdentifier".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "mobileAppIdentifier" property, of type "microsoft.graph.mobileAppIdentifier".")] - public System.Object mobileAppIdentifier { get; set; } - - /// - /// The "version" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedMobileApp" type. - /// Version of the entity. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedMobileApp", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "version" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "version" property, of type "Edm.String".")] - public System.String version { get; set; } - - internal override System.String GetResourcePath() - { - return $"deviceAppManagement/managedAppRegistrations/{managedAppRegistrationId}/intendedPolicies/{managedAppPolicyId}/{intendedPolicyODataType}/apps/{managedMobileAppId}"; - } - } - - /// - /// Updates a "microsoft.graph.managedMobileApp". - /// PATCH ~/deviceAppManagement/managedAppRegistrations/{managedAppRegistrationId}/intendedPolicies/{managedAppPolicyId}/{intendedPolicyODataType}/apps - /// Updates a "microsoft.graph.managedMobileApp" object in the "apps" collection. - /// List of apps to which the policy is deployed. - /// - /// GitHub Repository - [Cmdlet("Update", "DeviceAppManagement_ManagedAppRegistrations_IntendedPolicies_Apps", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.managedMobileApp")] - [ODataType("microsoft.graph.managedMobileApp")] - [ResourceTypePropertyName("appODataType")] - public class Update_DeviceAppManagement_ManagedAppRegistrations_IntendedPolicies_Apps : PatchCmdlet - { - /// - /// The ID for a "microsoft.graph.managedMobileApp" object in the "apps" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.managedMobileApp" object in the "apps" collection.")] - public System.String managedMobileAppId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection.")] - public System.String managedAppRegistrationId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.managedAppPolicy" object in the "intendedPolicies" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedAppPolicy" object in the "intendedPolicies" collection.")] - public System.String managedAppPolicyId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.managedAppPolicy" objects. - /// - /// Valid values: 'microsoft.graph.managedAppPolicy', 'microsoft.graph.windowsInformationProtection', 'microsoft.graph.windowsInformationProtectionPolicy', 'microsoft.graph.mdmWindowsInformationProtectionPolicy', 'microsoft.graph.managedAppConfiguration', 'microsoft.graph.targetedManagedAppConfiguration', 'microsoft.graph.managedAppProtection', 'microsoft.graph.defaultManagedAppProtection', 'microsoft.graph.targetedManagedAppProtection', 'microsoft.graph.androidManagedAppProtection', 'microsoft.graph.iosManagedAppProtection' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.managedAppPolicy", @"microsoft.graph.windowsInformationProtection", @"microsoft.graph.windowsInformationProtectionPolicy", @"microsoft.graph.mdmWindowsInformationProtectionPolicy", @"microsoft.graph.managedAppConfiguration", @"microsoft.graph.targetedManagedAppConfiguration", @"microsoft.graph.managedAppProtection", @"microsoft.graph.defaultManagedAppProtection", @"microsoft.graph.targetedManagedAppProtection", @"microsoft.graph.androidManagedAppProtection", @"microsoft.graph.iosManagedAppProtection")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.managedAppPolicy" objects.")] - public System.String intendedPolicyODataType { get; set; } - - /// - /// The "mobileAppIdentifier" property, of type "microsoft.graph.mobileAppIdentifier". - /// This property is on the "microsoft.graph.managedMobileApp" type. - /// The identifier for an app with it's operating system type. - /// - [ODataType("microsoft.graph.mobileAppIdentifier", "microsoft.graph.iosMobileAppIdentifier", "microsoft.graph.androidMobileAppIdentifier")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedMobileApp", HelpMessage = @"The "mobileAppIdentifier" property, of type "microsoft.graph.mobileAppIdentifier".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "mobileAppIdentifier" property, of type "microsoft.graph.mobileAppIdentifier".")] - public System.Object mobileAppIdentifier { get; set; } - - /// - /// The "version" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedMobileApp" type. - /// Version of the entity. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedMobileApp", HelpMessage = @"The "version" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "version" property, of type "Edm.String".")] - public System.String version { get; set; } - - internal override System.String GetResourcePath() - { - return $"deviceAppManagement/managedAppRegistrations/{managedAppRegistrationId}/intendedPolicies/{managedAppPolicyId}/{intendedPolicyODataType}/apps/{managedMobileAppId}"; - } - } - - /// - /// Removes a "microsoft.graph.managedMobileApp" object. - /// DELETE ~/deviceAppManagement/managedAppRegistrations/{managedAppRegistrationId}/intendedPolicies/{managedAppPolicyId}/{intendedPolicyODataType}/apps/managedMobileAppId - /// Removes a "microsoft.graph.managedMobileApp" object from the "apps" collection. - /// List of apps to which the policy is deployed. - /// - /// GitHub Repository - [Cmdlet("Remove", "DeviceAppManagement_ManagedAppRegistrations_IntendedPolicies_Apps", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.managedMobileApp")] - [ResourceTypePropertyName("appODataType")] - public class Remove_DeviceAppManagement_ManagedAppRegistrations_IntendedPolicies_Apps : DeleteCmdlet - { - /// - /// The ID for a "microsoft.graph.managedMobileApp" object in the "apps" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.managedMobileApp" object in the "apps" collection.")] - public System.String managedMobileAppId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection.")] - public System.String managedAppRegistrationId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.managedAppPolicy" object in the "intendedPolicies" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedAppPolicy" object in the "intendedPolicies" collection.")] - public System.String managedAppPolicyId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.managedAppPolicy" objects. - /// - /// Valid values: 'microsoft.graph.managedAppPolicy', 'microsoft.graph.windowsInformationProtection', 'microsoft.graph.windowsInformationProtectionPolicy', 'microsoft.graph.mdmWindowsInformationProtectionPolicy', 'microsoft.graph.managedAppConfiguration', 'microsoft.graph.targetedManagedAppConfiguration', 'microsoft.graph.managedAppProtection', 'microsoft.graph.defaultManagedAppProtection', 'microsoft.graph.targetedManagedAppProtection', 'microsoft.graph.androidManagedAppProtection', 'microsoft.graph.iosManagedAppProtection' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.managedAppPolicy", @"microsoft.graph.windowsInformationProtection", @"microsoft.graph.windowsInformationProtectionPolicy", @"microsoft.graph.mdmWindowsInformationProtectionPolicy", @"microsoft.graph.managedAppConfiguration", @"microsoft.graph.targetedManagedAppConfiguration", @"microsoft.graph.managedAppProtection", @"microsoft.graph.defaultManagedAppProtection", @"microsoft.graph.targetedManagedAppProtection", @"microsoft.graph.androidManagedAppProtection", @"microsoft.graph.iosManagedAppProtection")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.managedAppPolicy" objects.")] - public System.String intendedPolicyODataType { get; set; } - - internal override System.String GetResourcePath() - { - return $"deviceAppManagement/managedAppRegistrations/{managedAppRegistrationId}/intendedPolicies/{managedAppPolicyId}/{intendedPolicyODataType}/apps/{managedMobileAppId}"; - } - } -} \ No newline at end of file diff --git a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/ManagedAppRegistrations/IntendedPolicies/Assignments.cs b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/ManagedAppRegistrations/IntendedPolicies/Assignments.cs deleted file mode 100644 index ec43690..0000000 --- a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/ManagedAppRegistrations/IntendedPolicies/Assignments.cs +++ /dev/null @@ -1,290 +0,0 @@ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. - -namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets -{ - using System.Management.Automation; - - /// - /// Retrieves "microsoft.graph.targetedManagedAppPolicyAssignment" objects. - /// GET ~/deviceAppManagement/managedAppRegistrations/{managedAppRegistrationId}/intendedPolicies/{managedAppPolicyId}/{intendedPolicyODataType}/assignments - /// Retrieves "microsoft.graph.targetedManagedAppPolicyAssignment" objects in the "assignments" collection. - /// Navigation property to list of security groups targeted for policy. - /// - /// GitHub Repository - [Cmdlet("Get", "DeviceAppManagement_ManagedAppRegistrations_IntendedPolicies_Assignments", DefaultParameterSetName = @"Search")] - [ODataType("microsoft.graph.targetedManagedAppPolicyAssignment")] - [ResourceTypePropertyName("assignmentODataType")] - [ResourceReference] - public class Get_DeviceAppManagement_ManagedAppRegistrations_IntendedPolicies_Assignments : GetOrSearchCmdlet - { - /// - /// A required ID for referencing a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection.")] - public System.String managedAppRegistrationId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.managedAppPolicy" object in the "intendedPolicies" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedAppPolicy" object in the "intendedPolicies" collection.")] - public System.String managedAppPolicyId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.managedAppPolicy" objects. - /// - /// Valid values: 'microsoft.graph.managedAppPolicy', 'microsoft.graph.windowsInformationProtection', 'microsoft.graph.windowsInformationProtectionPolicy', 'microsoft.graph.mdmWindowsInformationProtectionPolicy', 'microsoft.graph.managedAppConfiguration', 'microsoft.graph.targetedManagedAppConfiguration', 'microsoft.graph.managedAppProtection', 'microsoft.graph.defaultManagedAppProtection', 'microsoft.graph.targetedManagedAppProtection', 'microsoft.graph.androidManagedAppProtection', 'microsoft.graph.iosManagedAppProtection' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.managedAppPolicy", @"microsoft.graph.windowsInformationProtection", @"microsoft.graph.windowsInformationProtectionPolicy", @"microsoft.graph.mdmWindowsInformationProtectionPolicy", @"microsoft.graph.managedAppConfiguration", @"microsoft.graph.targetedManagedAppConfiguration", @"microsoft.graph.managedAppProtection", @"microsoft.graph.defaultManagedAppProtection", @"microsoft.graph.targetedManagedAppProtection", @"microsoft.graph.androidManagedAppProtection", @"microsoft.graph.iosManagedAppProtection")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.managedAppPolicy" objects.")] - public System.String intendedPolicyODataType { get; set; } - - /// - /// The ID for a "microsoft.graph.targetedManagedAppPolicyAssignment" object in the "assignments" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(ParameterSetName = @"Get", Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.targetedManagedAppPolicyAssignment" object in the "assignments" collection.")] - public System.String targetedManagedAppPolicyAssignmentId { get; set; } - - /// - /// The "target" property, of type "microsoft.graph.deviceAndAppManagementAssignmentTarget". - /// This property is on the "microsoft.graph.targetedManagedAppPolicyAssignment" type. - /// Identifier for deployment of a group or app - /// - [ODataType("microsoft.graph.deviceAndAppManagementAssignmentTarget", "microsoft.graph.allDevicesAssignmentTarget", "microsoft.graph.groupAssignmentTarget", "microsoft.graph.exclusionGroupAssignmentTarget", "microsoft.graph.allLicensedUsersAssignmentTarget")] - [Selectable] - [Sortable] - public System.Object target { get; set; } - - internal override System.String GetResourcePath() - { - return $"deviceAppManagement/managedAppRegistrations/{managedAppRegistrationId}/intendedPolicies/{managedAppPolicyId}/{intendedPolicyODataType}/assignments/{targetedManagedAppPolicyAssignmentId ?? string.Empty}"; - } - } - - /// - /// Creates a "microsoft.graph.targetedManagedAppPolicyAssignment" object. - /// POST ~/deviceAppManagement/managedAppRegistrations/{managedAppRegistrationId}/intendedPolicies/{managedAppPolicyId}/{intendedPolicyODataType}/assignments - /// Adds a "microsoft.graph.targetedManagedAppPolicyAssignment" object to the "assignments" collection. - /// Navigation property to list of security groups targeted for policy. - /// - /// GitHub Repository - [Cmdlet("New", "DeviceAppManagement_ManagedAppRegistrations_IntendedPolicies_Assignments", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.targetedManagedAppPolicyAssignment")] - [ODataType("microsoft.graph.targetedManagedAppPolicyAssignment")] - [ResourceTypePropertyName("assignmentODataType")] - [ResourceReference] - public class New_DeviceAppManagement_ManagedAppRegistrations_IntendedPolicies_Assignments : PostCmdlet - { - /// - /// The ID for a "microsoft.graph.targetedManagedAppPolicyAssignment" object in the "assignments" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - public System.String targetedManagedAppPolicyAssignmentId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection.")] - public System.String managedAppRegistrationId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.managedAppPolicy" object in the "intendedPolicies" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedAppPolicy" object in the "intendedPolicies" collection.")] - public System.String managedAppPolicyId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.managedAppPolicy" objects. - /// - /// Valid values: 'microsoft.graph.managedAppPolicy', 'microsoft.graph.windowsInformationProtection', 'microsoft.graph.windowsInformationProtectionPolicy', 'microsoft.graph.mdmWindowsInformationProtectionPolicy', 'microsoft.graph.managedAppConfiguration', 'microsoft.graph.targetedManagedAppConfiguration', 'microsoft.graph.managedAppProtection', 'microsoft.graph.defaultManagedAppProtection', 'microsoft.graph.targetedManagedAppProtection', 'microsoft.graph.androidManagedAppProtection', 'microsoft.graph.iosManagedAppProtection' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.managedAppPolicy", @"microsoft.graph.windowsInformationProtection", @"microsoft.graph.windowsInformationProtectionPolicy", @"microsoft.graph.mdmWindowsInformationProtectionPolicy", @"microsoft.graph.managedAppConfiguration", @"microsoft.graph.targetedManagedAppConfiguration", @"microsoft.graph.managedAppProtection", @"microsoft.graph.defaultManagedAppProtection", @"microsoft.graph.targetedManagedAppProtection", @"microsoft.graph.androidManagedAppProtection", @"microsoft.graph.iosManagedAppProtection")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.managedAppPolicy" objects.")] - public System.String intendedPolicyODataType { get; set; } - - /// - /// The "target" property, of type "microsoft.graph.deviceAndAppManagementAssignmentTarget". - /// This property is on the "microsoft.graph.targetedManagedAppPolicyAssignment" type. - /// Identifier for deployment of a group or app - /// - [ODataType("microsoft.graph.deviceAndAppManagementAssignmentTarget", "microsoft.graph.allDevicesAssignmentTarget", "microsoft.graph.groupAssignmentTarget", "microsoft.graph.exclusionGroupAssignmentTarget", "microsoft.graph.allLicensedUsersAssignmentTarget")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppPolicyAssignment", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "target" property, of type "microsoft.graph.deviceAndAppManagementAssignmentTarget".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "target" property, of type "microsoft.graph.deviceAndAppManagementAssignmentTarget".")] - public System.Object target { get; set; } - - internal override System.String GetResourcePath() - { - return $"deviceAppManagement/managedAppRegistrations/{managedAppRegistrationId}/intendedPolicies/{managedAppPolicyId}/{intendedPolicyODataType}/assignments/{targetedManagedAppPolicyAssignmentId}"; - } - } - - /// - /// Updates a "microsoft.graph.targetedManagedAppPolicyAssignment". - /// PATCH ~/deviceAppManagement/managedAppRegistrations/{managedAppRegistrationId}/intendedPolicies/{managedAppPolicyId}/{intendedPolicyODataType}/assignments - /// Updates a "microsoft.graph.targetedManagedAppPolicyAssignment" object in the "assignments" collection. - /// Navigation property to list of security groups targeted for policy. - /// - /// GitHub Repository - [Cmdlet("Update", "DeviceAppManagement_ManagedAppRegistrations_IntendedPolicies_Assignments", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.targetedManagedAppPolicyAssignment")] - [ODataType("microsoft.graph.targetedManagedAppPolicyAssignment")] - [ResourceTypePropertyName("assignmentODataType")] - public class Update_DeviceAppManagement_ManagedAppRegistrations_IntendedPolicies_Assignments : PatchCmdlet - { - /// - /// The ID for a "microsoft.graph.targetedManagedAppPolicyAssignment" object in the "assignments" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.targetedManagedAppPolicyAssignment" object in the "assignments" collection.")] - public System.String targetedManagedAppPolicyAssignmentId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection.")] - public System.String managedAppRegistrationId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.managedAppPolicy" object in the "intendedPolicies" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedAppPolicy" object in the "intendedPolicies" collection.")] - public System.String managedAppPolicyId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.managedAppPolicy" objects. - /// - /// Valid values: 'microsoft.graph.managedAppPolicy', 'microsoft.graph.windowsInformationProtection', 'microsoft.graph.windowsInformationProtectionPolicy', 'microsoft.graph.mdmWindowsInformationProtectionPolicy', 'microsoft.graph.managedAppConfiguration', 'microsoft.graph.targetedManagedAppConfiguration', 'microsoft.graph.managedAppProtection', 'microsoft.graph.defaultManagedAppProtection', 'microsoft.graph.targetedManagedAppProtection', 'microsoft.graph.androidManagedAppProtection', 'microsoft.graph.iosManagedAppProtection' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.managedAppPolicy", @"microsoft.graph.windowsInformationProtection", @"microsoft.graph.windowsInformationProtectionPolicy", @"microsoft.graph.mdmWindowsInformationProtectionPolicy", @"microsoft.graph.managedAppConfiguration", @"microsoft.graph.targetedManagedAppConfiguration", @"microsoft.graph.managedAppProtection", @"microsoft.graph.defaultManagedAppProtection", @"microsoft.graph.targetedManagedAppProtection", @"microsoft.graph.androidManagedAppProtection", @"microsoft.graph.iosManagedAppProtection")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.managedAppPolicy" objects.")] - public System.String intendedPolicyODataType { get; set; } - - /// - /// The "target" property, of type "microsoft.graph.deviceAndAppManagementAssignmentTarget". - /// This property is on the "microsoft.graph.targetedManagedAppPolicyAssignment" type. - /// Identifier for deployment of a group or app - /// - [ODataType("microsoft.graph.deviceAndAppManagementAssignmentTarget", "microsoft.graph.allDevicesAssignmentTarget", "microsoft.graph.groupAssignmentTarget", "microsoft.graph.exclusionGroupAssignmentTarget", "microsoft.graph.allLicensedUsersAssignmentTarget")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.targetedManagedAppPolicyAssignment", HelpMessage = @"The "target" property, of type "microsoft.graph.deviceAndAppManagementAssignmentTarget".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "target" property, of type "microsoft.graph.deviceAndAppManagementAssignmentTarget".")] - public System.Object target { get; set; } - - internal override System.String GetResourcePath() - { - return $"deviceAppManagement/managedAppRegistrations/{managedAppRegistrationId}/intendedPolicies/{managedAppPolicyId}/{intendedPolicyODataType}/assignments/{targetedManagedAppPolicyAssignmentId}"; - } - } - - /// - /// Removes a "microsoft.graph.targetedManagedAppPolicyAssignment" object. - /// DELETE ~/deviceAppManagement/managedAppRegistrations/{managedAppRegistrationId}/intendedPolicies/{managedAppPolicyId}/{intendedPolicyODataType}/assignments/targetedManagedAppPolicyAssignmentId - /// Removes a "microsoft.graph.targetedManagedAppPolicyAssignment" object from the "assignments" collection. - /// Navigation property to list of security groups targeted for policy. - /// - /// GitHub Repository - [Cmdlet("Remove", "DeviceAppManagement_ManagedAppRegistrations_IntendedPolicies_Assignments", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.targetedManagedAppPolicyAssignment")] - [ResourceTypePropertyName("assignmentODataType")] - public class Remove_DeviceAppManagement_ManagedAppRegistrations_IntendedPolicies_Assignments : DeleteCmdlet - { - /// - /// The ID for a "microsoft.graph.targetedManagedAppPolicyAssignment" object in the "assignments" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.targetedManagedAppPolicyAssignment" object in the "assignments" collection.")] - public System.String targetedManagedAppPolicyAssignmentId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection.")] - public System.String managedAppRegistrationId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.managedAppPolicy" object in the "intendedPolicies" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedAppPolicy" object in the "intendedPolicies" collection.")] - public System.String managedAppPolicyId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.managedAppPolicy" objects. - /// - /// Valid values: 'microsoft.graph.managedAppPolicy', 'microsoft.graph.windowsInformationProtection', 'microsoft.graph.windowsInformationProtectionPolicy', 'microsoft.graph.mdmWindowsInformationProtectionPolicy', 'microsoft.graph.managedAppConfiguration', 'microsoft.graph.targetedManagedAppConfiguration', 'microsoft.graph.managedAppProtection', 'microsoft.graph.defaultManagedAppProtection', 'microsoft.graph.targetedManagedAppProtection', 'microsoft.graph.androidManagedAppProtection', 'microsoft.graph.iosManagedAppProtection' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.managedAppPolicy", @"microsoft.graph.windowsInformationProtection", @"microsoft.graph.windowsInformationProtectionPolicy", @"microsoft.graph.mdmWindowsInformationProtectionPolicy", @"microsoft.graph.managedAppConfiguration", @"microsoft.graph.targetedManagedAppConfiguration", @"microsoft.graph.managedAppProtection", @"microsoft.graph.defaultManagedAppProtection", @"microsoft.graph.targetedManagedAppProtection", @"microsoft.graph.androidManagedAppProtection", @"microsoft.graph.iosManagedAppProtection")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.managedAppPolicy" objects.")] - public System.String intendedPolicyODataType { get; set; } - - internal override System.String GetResourcePath() - { - return $"deviceAppManagement/managedAppRegistrations/{managedAppRegistrationId}/intendedPolicies/{managedAppPolicyId}/{intendedPolicyODataType}/assignments/{targetedManagedAppPolicyAssignmentId}"; - } - } -} \ No newline at end of file diff --git a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/ManagedAppRegistrations/IntendedPolicies/DeploymentSummary.cs b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/ManagedAppRegistrations/IntendedPolicies/DeploymentSummary.cs deleted file mode 100644 index fe162b8..0000000 --- a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/ManagedAppRegistrations/IntendedPolicies/DeploymentSummary.cs +++ /dev/null @@ -1,365 +0,0 @@ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. - -namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets -{ - using System.Management.Automation; - - /// - /// Retrieves the "deploymentSummary" object. - /// GET ~/deviceAppManagement/managedAppRegistrations/{managedAppRegistrationId}/intendedPolicies/{managedAppPolicyId}/{intendedPolicyODataType}/deploymentSummary - /// Retrieves the "deploymentSummary" object (which is of type "microsoft.graph.managedAppPolicyDeploymentSummary"). - /// Navigation property to deployment summary of the configuration. - /// - /// GitHub Repository - [Cmdlet("Get", "DeviceAppManagement_ManagedAppRegistrations_IntendedPolicies_DeploymentSummary", DefaultParameterSetName = @"Get")] - [ODataType("microsoft.graph.managedAppPolicyDeploymentSummary")] - [ResourceTypePropertyName("deploymentSummaryODataType")] - [ResourceReference] - public class Get_DeviceAppManagement_ManagedAppRegistrations_IntendedPolicies_DeploymentSummary : GetCmdlet - { - /// - /// A required ID for referencing a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection.")] - public System.String managedAppRegistrationId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.managedAppPolicy" object in the "intendedPolicies" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedAppPolicy" object in the "intendedPolicies" collection.")] - public System.String managedAppPolicyId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.managedAppPolicy" objects. - /// - /// Valid values: 'microsoft.graph.managedAppPolicy', 'microsoft.graph.windowsInformationProtection', 'microsoft.graph.windowsInformationProtectionPolicy', 'microsoft.graph.mdmWindowsInformationProtectionPolicy', 'microsoft.graph.managedAppConfiguration', 'microsoft.graph.targetedManagedAppConfiguration', 'microsoft.graph.managedAppProtection', 'microsoft.graph.defaultManagedAppProtection', 'microsoft.graph.targetedManagedAppProtection', 'microsoft.graph.androidManagedAppProtection', 'microsoft.graph.iosManagedAppProtection' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.managedAppPolicy", @"microsoft.graph.windowsInformationProtection", @"microsoft.graph.windowsInformationProtectionPolicy", @"microsoft.graph.mdmWindowsInformationProtectionPolicy", @"microsoft.graph.managedAppConfiguration", @"microsoft.graph.targetedManagedAppConfiguration", @"microsoft.graph.managedAppProtection", @"microsoft.graph.defaultManagedAppProtection", @"microsoft.graph.targetedManagedAppProtection", @"microsoft.graph.androidManagedAppProtection", @"microsoft.graph.iosManagedAppProtection")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.managedAppPolicy" objects.")] - public System.String intendedPolicyODataType { get; set; } - - /// - /// The "displayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedAppPolicyDeploymentSummary" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String displayName { get; set; } - - /// - /// The "configurationDeployedUserCount" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.managedAppPolicyDeploymentSummary" type. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - public System.Int32 configurationDeployedUserCount { get; set; } - - /// - /// The "lastRefreshTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.managedAppPolicyDeploymentSummary" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - public System.DateTimeOffset lastRefreshTime { get; set; } - - /// - /// The "configurationDeploymentSummaryPerApp" property, of type "microsoft.graph.managedAppPolicyDeploymentSummaryPerApp". - /// This property is on the "microsoft.graph.managedAppPolicyDeploymentSummary" type. - /// - [ODataType("microsoft.graph.managedAppPolicyDeploymentSummaryPerApp")] - [Selectable] - public System.Object[] configurationDeploymentSummaryPerApp { get; set; } - - /// - /// The "version" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedAppPolicyDeploymentSummary" type. - /// Version of the entity. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String version { get; set; } - - internal override System.String GetResourcePath() - { - return $"deviceAppManagement/managedAppRegistrations/{managedAppRegistrationId}/intendedPolicies/{managedAppPolicyId}/{intendedPolicyODataType}/deploymentSummary"; - } - } - - /// - /// Creates a "microsoft.graph.managedAppPolicyDeploymentSummary" object. - /// POST ~/deviceAppManagement/managedAppRegistrations/{managedAppRegistrationId}/intendedPolicies/{managedAppPolicyId}/{intendedPolicyODataType}/deploymentSummary - /// Creates the "deploymentSummary" object (which is of type "microsoft.graph.managedAppPolicyDeploymentSummary"). - /// Navigation property to deployment summary of the configuration. - /// - /// GitHub Repository - [Cmdlet("New", "DeviceAppManagement_ManagedAppRegistrations_IntendedPolicies_DeploymentSummary", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.managedAppPolicyDeploymentSummary")] - [ODataType("microsoft.graph.managedAppPolicyDeploymentSummary")] - [ResourceTypePropertyName("deploymentSummaryODataType")] - [ResourceReference] - public class New_DeviceAppManagement_ManagedAppRegistrations_IntendedPolicies_DeploymentSummary : PostCmdlet - { - /// - /// A required ID for referencing a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection.")] - public System.String managedAppRegistrationId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.managedAppPolicy" object in the "intendedPolicies" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedAppPolicy" object in the "intendedPolicies" collection.")] - public System.String managedAppPolicyId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.managedAppPolicy" objects. - /// - /// Valid values: 'microsoft.graph.managedAppPolicy', 'microsoft.graph.windowsInformationProtection', 'microsoft.graph.windowsInformationProtectionPolicy', 'microsoft.graph.mdmWindowsInformationProtectionPolicy', 'microsoft.graph.managedAppConfiguration', 'microsoft.graph.targetedManagedAppConfiguration', 'microsoft.graph.managedAppProtection', 'microsoft.graph.defaultManagedAppProtection', 'microsoft.graph.targetedManagedAppProtection', 'microsoft.graph.androidManagedAppProtection', 'microsoft.graph.iosManagedAppProtection' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.managedAppPolicy", @"microsoft.graph.windowsInformationProtection", @"microsoft.graph.windowsInformationProtectionPolicy", @"microsoft.graph.mdmWindowsInformationProtectionPolicy", @"microsoft.graph.managedAppConfiguration", @"microsoft.graph.targetedManagedAppConfiguration", @"microsoft.graph.managedAppProtection", @"microsoft.graph.defaultManagedAppProtection", @"microsoft.graph.targetedManagedAppProtection", @"microsoft.graph.androidManagedAppProtection", @"microsoft.graph.iosManagedAppProtection")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.managedAppPolicy" objects.")] - public System.String intendedPolicyODataType { get; set; } - - /// - /// The "displayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedAppPolicyDeploymentSummary" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppPolicyDeploymentSummary", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "displayName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "displayName" property, of type "Edm.String".")] - public System.String displayName { get; set; } - - /// - /// The "configurationDeployedUserCount" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.managedAppPolicyDeploymentSummary" type. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppPolicyDeploymentSummary", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "configurationDeployedUserCount" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "configurationDeployedUserCount" property, of type "Edm.Int32".")] - public System.Int32 configurationDeployedUserCount { get; set; } - - /// - /// The "lastRefreshTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.managedAppPolicyDeploymentSummary" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppPolicyDeploymentSummary", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "lastRefreshTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "lastRefreshTime" property, of type "Edm.DateTimeOffset".")] - public System.DateTimeOffset lastRefreshTime { get; set; } - - /// - /// The "configurationDeploymentSummaryPerApp" property, of type "microsoft.graph.managedAppPolicyDeploymentSummaryPerApp". - /// This property is on the "microsoft.graph.managedAppPolicyDeploymentSummary" type. - /// - [ODataType("microsoft.graph.managedAppPolicyDeploymentSummaryPerApp")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppPolicyDeploymentSummary", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "configurationDeploymentSummaryPerApp" property, of type "microsoft.graph.managedAppPolicyDeploymentSummaryPerApp".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "configurationDeploymentSummaryPerApp" property, of type "microsoft.graph.managedAppPolicyDeploymentSummaryPerApp".")] - public System.Object[] configurationDeploymentSummaryPerApp { get; set; } - - /// - /// The "version" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedAppPolicyDeploymentSummary" type. - /// Version of the entity. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppPolicyDeploymentSummary", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "version" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "version" property, of type "Edm.String".")] - public System.String version { get; set; } - - internal override System.String GetResourcePath() - { - return $"deviceAppManagement/managedAppRegistrations/{managedAppRegistrationId}/intendedPolicies/{managedAppPolicyId}/{intendedPolicyODataType}/deploymentSummary"; - } - } - - /// - /// Updates a "microsoft.graph.managedAppPolicyDeploymentSummary". - /// PATCH ~/deviceAppManagement/managedAppRegistrations/{managedAppRegistrationId}/intendedPolicies/{managedAppPolicyId}/{intendedPolicyODataType}/deploymentSummary - /// Updates the "deploymentSummary" object (which is of type "microsoft.graph.managedAppPolicyDeploymentSummary"). - /// Navigation property to deployment summary of the configuration. - /// - /// GitHub Repository - [Cmdlet("Update", "DeviceAppManagement_ManagedAppRegistrations_IntendedPolicies_DeploymentSummary", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.managedAppPolicyDeploymentSummary")] - [ODataType("microsoft.graph.managedAppPolicyDeploymentSummary")] - [ResourceTypePropertyName("deploymentSummaryODataType")] - public class Update_DeviceAppManagement_ManagedAppRegistrations_IntendedPolicies_DeploymentSummary : PatchCmdlet - { - /// - /// A required ID for referencing a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection.")] - public System.String managedAppRegistrationId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.managedAppPolicy" object in the "intendedPolicies" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedAppPolicy" object in the "intendedPolicies" collection.")] - public System.String managedAppPolicyId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.managedAppPolicy" objects. - /// - /// Valid values: 'microsoft.graph.managedAppPolicy', 'microsoft.graph.windowsInformationProtection', 'microsoft.graph.windowsInformationProtectionPolicy', 'microsoft.graph.mdmWindowsInformationProtectionPolicy', 'microsoft.graph.managedAppConfiguration', 'microsoft.graph.targetedManagedAppConfiguration', 'microsoft.graph.managedAppProtection', 'microsoft.graph.defaultManagedAppProtection', 'microsoft.graph.targetedManagedAppProtection', 'microsoft.graph.androidManagedAppProtection', 'microsoft.graph.iosManagedAppProtection' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.managedAppPolicy", @"microsoft.graph.windowsInformationProtection", @"microsoft.graph.windowsInformationProtectionPolicy", @"microsoft.graph.mdmWindowsInformationProtectionPolicy", @"microsoft.graph.managedAppConfiguration", @"microsoft.graph.targetedManagedAppConfiguration", @"microsoft.graph.managedAppProtection", @"microsoft.graph.defaultManagedAppProtection", @"microsoft.graph.targetedManagedAppProtection", @"microsoft.graph.androidManagedAppProtection", @"microsoft.graph.iosManagedAppProtection")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.managedAppPolicy" objects.")] - public System.String intendedPolicyODataType { get; set; } - - /// - /// The "displayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedAppPolicyDeploymentSummary" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppPolicyDeploymentSummary", HelpMessage = @"The "displayName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "displayName" property, of type "Edm.String".")] - public System.String displayName { get; set; } - - /// - /// The "configurationDeployedUserCount" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.managedAppPolicyDeploymentSummary" type. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppPolicyDeploymentSummary", HelpMessage = @"The "configurationDeployedUserCount" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "configurationDeployedUserCount" property, of type "Edm.Int32".")] - public System.Int32 configurationDeployedUserCount { get; set; } - - /// - /// The "lastRefreshTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.managedAppPolicyDeploymentSummary" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppPolicyDeploymentSummary", HelpMessage = @"The "lastRefreshTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "lastRefreshTime" property, of type "Edm.DateTimeOffset".")] - public System.DateTimeOffset lastRefreshTime { get; set; } - - /// - /// The "configurationDeploymentSummaryPerApp" property, of type "microsoft.graph.managedAppPolicyDeploymentSummaryPerApp". - /// This property is on the "microsoft.graph.managedAppPolicyDeploymentSummary" type. - /// - [ODataType("microsoft.graph.managedAppPolicyDeploymentSummaryPerApp")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppPolicyDeploymentSummary", HelpMessage = @"The "configurationDeploymentSummaryPerApp" property, of type "microsoft.graph.managedAppPolicyDeploymentSummaryPerApp".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "configurationDeploymentSummaryPerApp" property, of type "microsoft.graph.managedAppPolicyDeploymentSummaryPerApp".")] - public System.Object[] configurationDeploymentSummaryPerApp { get; set; } - - /// - /// The "version" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedAppPolicyDeploymentSummary" type. - /// Version of the entity. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppPolicyDeploymentSummary", HelpMessage = @"The "version" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "version" property, of type "Edm.String".")] - public System.String version { get; set; } - - internal override System.String GetResourcePath() - { - return $"deviceAppManagement/managedAppRegistrations/{managedAppRegistrationId}/intendedPolicies/{managedAppPolicyId}/{intendedPolicyODataType}/deploymentSummary"; - } - } - - /// - /// Removes a "microsoft.graph.managedAppPolicyDeploymentSummary" object. - /// DELETE ~/deviceAppManagement/managedAppRegistrations/{managedAppRegistrationId}/intendedPolicies/{managedAppPolicyId}/{intendedPolicyODataType}/deploymentSummary - /// Removes the "deploymentSummary" object (which is of type "microsoft.graph.managedAppPolicyDeploymentSummary"). - /// Navigation property to deployment summary of the configuration. - /// - /// GitHub Repository - [Cmdlet("Remove", "DeviceAppManagement_ManagedAppRegistrations_IntendedPolicies_DeploymentSummary", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.managedAppPolicyDeploymentSummary")] - [ResourceTypePropertyName("deploymentSummaryODataType")] - public class Remove_DeviceAppManagement_ManagedAppRegistrations_IntendedPolicies_DeploymentSummary : DeleteCmdlet - { - /// - /// A required ID for referencing a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection.")] - public System.String managedAppRegistrationId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.managedAppPolicy" object in the "intendedPolicies" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedAppPolicy" object in the "intendedPolicies" collection.")] - public System.String managedAppPolicyId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.managedAppPolicy" objects. - /// - /// Valid values: 'microsoft.graph.managedAppPolicy', 'microsoft.graph.windowsInformationProtection', 'microsoft.graph.windowsInformationProtectionPolicy', 'microsoft.graph.mdmWindowsInformationProtectionPolicy', 'microsoft.graph.managedAppConfiguration', 'microsoft.graph.targetedManagedAppConfiguration', 'microsoft.graph.managedAppProtection', 'microsoft.graph.defaultManagedAppProtection', 'microsoft.graph.targetedManagedAppProtection', 'microsoft.graph.androidManagedAppProtection', 'microsoft.graph.iosManagedAppProtection' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.managedAppPolicy", @"microsoft.graph.windowsInformationProtection", @"microsoft.graph.windowsInformationProtectionPolicy", @"microsoft.graph.mdmWindowsInformationProtectionPolicy", @"microsoft.graph.managedAppConfiguration", @"microsoft.graph.targetedManagedAppConfiguration", @"microsoft.graph.managedAppProtection", @"microsoft.graph.defaultManagedAppProtection", @"microsoft.graph.targetedManagedAppProtection", @"microsoft.graph.androidManagedAppProtection", @"microsoft.graph.iosManagedAppProtection")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.managedAppPolicy" objects.")] - public System.String intendedPolicyODataType { get; set; } - - internal override System.String GetResourcePath() - { - return $"deviceAppManagement/managedAppRegistrations/{managedAppRegistrationId}/intendedPolicies/{managedAppPolicyId}/{intendedPolicyODataType}/deploymentSummary"; - } - } -} \ No newline at end of file diff --git a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/ManagedAppRegistrations/IntendedPolicies/ExemptAppLockerFiles.cs b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/ManagedAppRegistrations/IntendedPolicies/ExemptAppLockerFiles.cs deleted file mode 100644 index adecb4f..0000000 --- a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/ManagedAppRegistrations/IntendedPolicies/ExemptAppLockerFiles.cs +++ /dev/null @@ -1,388 +0,0 @@ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. - -namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets -{ - using System.Management.Automation; - - /// - /// Retrieves "microsoft.graph.windowsInformationProtectionAppLockerFile" objects. - /// GET ~/deviceAppManagement/managedAppRegistrations/{managedAppRegistrationId}/intendedPolicies/{managedAppPolicyId}/{intendedPolicyODataType}/exemptAppLockerFiles - /// Retrieves "microsoft.graph.windowsInformationProtectionAppLockerFile" objects in the "exemptAppLockerFiles" collection. - /// Another way to input exempt apps through xml files - /// - /// GitHub Repository - [Cmdlet("Get", "DeviceAppManagement_ManagedAppRegistrations_IntendedPolicies_ExemptAppLockerFiles", DefaultParameterSetName = @"Search")] - [ODataType("microsoft.graph.windowsInformationProtectionAppLockerFile")] - [ResourceTypePropertyName("exemptAppLockerFileODataType")] - [ResourceReference] - public class Get_DeviceAppManagement_ManagedAppRegistrations_IntendedPolicies_ExemptAppLockerFiles : GetOrSearchCmdlet - { - /// - /// A required ID for referencing a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection.")] - public System.String managedAppRegistrationId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.managedAppPolicy" object in the "intendedPolicies" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedAppPolicy" object in the "intendedPolicies" collection.")] - public System.String managedAppPolicyId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.managedAppPolicy" objects. - /// - /// Valid values: 'microsoft.graph.managedAppPolicy', 'microsoft.graph.windowsInformationProtection', 'microsoft.graph.windowsInformationProtectionPolicy', 'microsoft.graph.mdmWindowsInformationProtectionPolicy', 'microsoft.graph.managedAppConfiguration', 'microsoft.graph.targetedManagedAppConfiguration', 'microsoft.graph.managedAppProtection', 'microsoft.graph.defaultManagedAppProtection', 'microsoft.graph.targetedManagedAppProtection', 'microsoft.graph.androidManagedAppProtection', 'microsoft.graph.iosManagedAppProtection' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.managedAppPolicy", @"microsoft.graph.windowsInformationProtection", @"microsoft.graph.windowsInformationProtectionPolicy", @"microsoft.graph.mdmWindowsInformationProtectionPolicy", @"microsoft.graph.managedAppConfiguration", @"microsoft.graph.targetedManagedAppConfiguration", @"microsoft.graph.managedAppProtection", @"microsoft.graph.defaultManagedAppProtection", @"microsoft.graph.targetedManagedAppProtection", @"microsoft.graph.androidManagedAppProtection", @"microsoft.graph.iosManagedAppProtection")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.managedAppPolicy" objects.")] - public System.String intendedPolicyODataType { get; set; } - - /// - /// The ID for a "microsoft.graph.windowsInformationProtectionAppLockerFile" object in the "exemptAppLockerFiles" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(ParameterSetName = @"Get", Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.windowsInformationProtectionAppLockerFile" object in the "exemptAppLockerFiles" collection.")] - public System.String windowsInformationProtectionAppLockerFileId { get; set; } - - /// - /// The "displayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.windowsInformationProtectionAppLockerFile" type. - /// The friendly name - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String displayName { get; set; } - - /// - /// The "fileHash" property, of type "Edm.String". - /// This property is on the "microsoft.graph.windowsInformationProtectionAppLockerFile" type. - /// SHA256 hash of the file - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String fileHash { get; set; } - - /// - /// The "file" property, of type "Edm.Binary". - /// This property is on the "microsoft.graph.windowsInformationProtectionAppLockerFile" type. - /// File as a byte array - /// - [ODataType("Edm.Binary")] - [Selectable] - [Sortable] - public System.Byte[] file { get; set; } - - /// - /// The "version" property, of type "Edm.String". - /// This property is on the "microsoft.graph.windowsInformationProtectionAppLockerFile" type. - /// Version of the entity. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String version { get; set; } - - internal override System.String GetResourcePath() - { - return $"deviceAppManagement/managedAppRegistrations/{managedAppRegistrationId}/intendedPolicies/{managedAppPolicyId}/{intendedPolicyODataType}/exemptAppLockerFiles/{windowsInformationProtectionAppLockerFileId ?? string.Empty}"; - } - } - - /// - /// Creates a "microsoft.graph.windowsInformationProtectionAppLockerFile" object. - /// POST ~/deviceAppManagement/managedAppRegistrations/{managedAppRegistrationId}/intendedPolicies/{managedAppPolicyId}/{intendedPolicyODataType}/exemptAppLockerFiles - /// Adds a "microsoft.graph.windowsInformationProtectionAppLockerFile" object to the "exemptAppLockerFiles" collection. - /// Another way to input exempt apps through xml files - /// - /// GitHub Repository - [Cmdlet("New", "DeviceAppManagement_ManagedAppRegistrations_IntendedPolicies_ExemptAppLockerFiles", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.windowsInformationProtectionAppLockerFile")] - [ODataType("microsoft.graph.windowsInformationProtectionAppLockerFile")] - [ResourceTypePropertyName("exemptAppLockerFileODataType")] - [ResourceReference] - public class New_DeviceAppManagement_ManagedAppRegistrations_IntendedPolicies_ExemptAppLockerFiles : PostCmdlet - { - /// - /// The ID for a "microsoft.graph.windowsInformationProtectionAppLockerFile" object in the "exemptAppLockerFiles" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - public System.String windowsInformationProtectionAppLockerFileId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection.")] - public System.String managedAppRegistrationId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.managedAppPolicy" object in the "intendedPolicies" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedAppPolicy" object in the "intendedPolicies" collection.")] - public System.String managedAppPolicyId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.managedAppPolicy" objects. - /// - /// Valid values: 'microsoft.graph.managedAppPolicy', 'microsoft.graph.windowsInformationProtection', 'microsoft.graph.windowsInformationProtectionPolicy', 'microsoft.graph.mdmWindowsInformationProtectionPolicy', 'microsoft.graph.managedAppConfiguration', 'microsoft.graph.targetedManagedAppConfiguration', 'microsoft.graph.managedAppProtection', 'microsoft.graph.defaultManagedAppProtection', 'microsoft.graph.targetedManagedAppProtection', 'microsoft.graph.androidManagedAppProtection', 'microsoft.graph.iosManagedAppProtection' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.managedAppPolicy", @"microsoft.graph.windowsInformationProtection", @"microsoft.graph.windowsInformationProtectionPolicy", @"microsoft.graph.mdmWindowsInformationProtectionPolicy", @"microsoft.graph.managedAppConfiguration", @"microsoft.graph.targetedManagedAppConfiguration", @"microsoft.graph.managedAppProtection", @"microsoft.graph.defaultManagedAppProtection", @"microsoft.graph.targetedManagedAppProtection", @"microsoft.graph.androidManagedAppProtection", @"microsoft.graph.iosManagedAppProtection")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.managedAppPolicy" objects.")] - public System.String intendedPolicyODataType { get; set; } - - /// - /// The "displayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.windowsInformationProtectionAppLockerFile" type. - /// The friendly name - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionAppLockerFile", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "displayName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "displayName" property, of type "Edm.String".")] - public System.String displayName { get; set; } - - /// - /// The "fileHash" property, of type "Edm.String". - /// This property is on the "microsoft.graph.windowsInformationProtectionAppLockerFile" type. - /// SHA256 hash of the file - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionAppLockerFile", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "fileHash" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "fileHash" property, of type "Edm.String".")] - public System.String fileHash { get; set; } - - /// - /// The "file" property, of type "Edm.Binary". - /// This property is on the "microsoft.graph.windowsInformationProtectionAppLockerFile" type. - /// File as a byte array - /// - [ODataType("Edm.Binary")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionAppLockerFile", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "file" property, of type "Edm.Binary".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "file" property, of type "Edm.Binary".")] - public System.Byte[] file { get; set; } - - /// - /// The "version" property, of type "Edm.String". - /// This property is on the "microsoft.graph.windowsInformationProtectionAppLockerFile" type. - /// Version of the entity. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionAppLockerFile", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "version" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "version" property, of type "Edm.String".")] - public System.String version { get; set; } - - internal override System.String GetResourcePath() - { - return $"deviceAppManagement/managedAppRegistrations/{managedAppRegistrationId}/intendedPolicies/{managedAppPolicyId}/{intendedPolicyODataType}/exemptAppLockerFiles/{windowsInformationProtectionAppLockerFileId}"; - } - } - - /// - /// Updates a "microsoft.graph.windowsInformationProtectionAppLockerFile". - /// PATCH ~/deviceAppManagement/managedAppRegistrations/{managedAppRegistrationId}/intendedPolicies/{managedAppPolicyId}/{intendedPolicyODataType}/exemptAppLockerFiles - /// Updates a "microsoft.graph.windowsInformationProtectionAppLockerFile" object in the "exemptAppLockerFiles" collection. - /// Another way to input exempt apps through xml files - /// - /// GitHub Repository - [Cmdlet("Update", "DeviceAppManagement_ManagedAppRegistrations_IntendedPolicies_ExemptAppLockerFiles", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.windowsInformationProtectionAppLockerFile")] - [ODataType("microsoft.graph.windowsInformationProtectionAppLockerFile")] - [ResourceTypePropertyName("exemptAppLockerFileODataType")] - public class Update_DeviceAppManagement_ManagedAppRegistrations_IntendedPolicies_ExemptAppLockerFiles : PatchCmdlet - { - /// - /// The ID for a "microsoft.graph.windowsInformationProtectionAppLockerFile" object in the "exemptAppLockerFiles" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.windowsInformationProtectionAppLockerFile" object in the "exemptAppLockerFiles" collection.")] - public System.String windowsInformationProtectionAppLockerFileId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection.")] - public System.String managedAppRegistrationId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.managedAppPolicy" object in the "intendedPolicies" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedAppPolicy" object in the "intendedPolicies" collection.")] - public System.String managedAppPolicyId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.managedAppPolicy" objects. - /// - /// Valid values: 'microsoft.graph.managedAppPolicy', 'microsoft.graph.windowsInformationProtection', 'microsoft.graph.windowsInformationProtectionPolicy', 'microsoft.graph.mdmWindowsInformationProtectionPolicy', 'microsoft.graph.managedAppConfiguration', 'microsoft.graph.targetedManagedAppConfiguration', 'microsoft.graph.managedAppProtection', 'microsoft.graph.defaultManagedAppProtection', 'microsoft.graph.targetedManagedAppProtection', 'microsoft.graph.androidManagedAppProtection', 'microsoft.graph.iosManagedAppProtection' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.managedAppPolicy", @"microsoft.graph.windowsInformationProtection", @"microsoft.graph.windowsInformationProtectionPolicy", @"microsoft.graph.mdmWindowsInformationProtectionPolicy", @"microsoft.graph.managedAppConfiguration", @"microsoft.graph.targetedManagedAppConfiguration", @"microsoft.graph.managedAppProtection", @"microsoft.graph.defaultManagedAppProtection", @"microsoft.graph.targetedManagedAppProtection", @"microsoft.graph.androidManagedAppProtection", @"microsoft.graph.iosManagedAppProtection")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.managedAppPolicy" objects.")] - public System.String intendedPolicyODataType { get; set; } - - /// - /// The "displayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.windowsInformationProtectionAppLockerFile" type. - /// The friendly name - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionAppLockerFile", HelpMessage = @"The "displayName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "displayName" property, of type "Edm.String".")] - public System.String displayName { get; set; } - - /// - /// The "fileHash" property, of type "Edm.String". - /// This property is on the "microsoft.graph.windowsInformationProtectionAppLockerFile" type. - /// SHA256 hash of the file - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionAppLockerFile", HelpMessage = @"The "fileHash" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "fileHash" property, of type "Edm.String".")] - public System.String fileHash { get; set; } - - /// - /// The "file" property, of type "Edm.Binary". - /// This property is on the "microsoft.graph.windowsInformationProtectionAppLockerFile" type. - /// File as a byte array - /// - [ODataType("Edm.Binary")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionAppLockerFile", HelpMessage = @"The "file" property, of type "Edm.Binary".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "file" property, of type "Edm.Binary".")] - public System.Byte[] file { get; set; } - - /// - /// The "version" property, of type "Edm.String". - /// This property is on the "microsoft.graph.windowsInformationProtectionAppLockerFile" type. - /// Version of the entity. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionAppLockerFile", HelpMessage = @"The "version" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "version" property, of type "Edm.String".")] - public System.String version { get; set; } - - internal override System.String GetResourcePath() - { - return $"deviceAppManagement/managedAppRegistrations/{managedAppRegistrationId}/intendedPolicies/{managedAppPolicyId}/{intendedPolicyODataType}/exemptAppLockerFiles/{windowsInformationProtectionAppLockerFileId}"; - } - } - - /// - /// Removes a "microsoft.graph.windowsInformationProtectionAppLockerFile" object. - /// DELETE ~/deviceAppManagement/managedAppRegistrations/{managedAppRegistrationId}/intendedPolicies/{managedAppPolicyId}/{intendedPolicyODataType}/exemptAppLockerFiles/windowsInformationProtectionAppLockerFileId - /// Removes a "microsoft.graph.windowsInformationProtectionAppLockerFile" object from the "exemptAppLockerFiles" collection. - /// Another way to input exempt apps through xml files - /// - /// GitHub Repository - [Cmdlet("Remove", "DeviceAppManagement_ManagedAppRegistrations_IntendedPolicies_ExemptAppLockerFiles", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.windowsInformationProtectionAppLockerFile")] - [ResourceTypePropertyName("exemptAppLockerFileODataType")] - public class Remove_DeviceAppManagement_ManagedAppRegistrations_IntendedPolicies_ExemptAppLockerFiles : DeleteCmdlet - { - /// - /// The ID for a "microsoft.graph.windowsInformationProtectionAppLockerFile" object in the "exemptAppLockerFiles" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.windowsInformationProtectionAppLockerFile" object in the "exemptAppLockerFiles" collection.")] - public System.String windowsInformationProtectionAppLockerFileId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection.")] - public System.String managedAppRegistrationId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.managedAppPolicy" object in the "intendedPolicies" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedAppPolicy" object in the "intendedPolicies" collection.")] - public System.String managedAppPolicyId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.managedAppPolicy" objects. - /// - /// Valid values: 'microsoft.graph.managedAppPolicy', 'microsoft.graph.windowsInformationProtection', 'microsoft.graph.windowsInformationProtectionPolicy', 'microsoft.graph.mdmWindowsInformationProtectionPolicy', 'microsoft.graph.managedAppConfiguration', 'microsoft.graph.targetedManagedAppConfiguration', 'microsoft.graph.managedAppProtection', 'microsoft.graph.defaultManagedAppProtection', 'microsoft.graph.targetedManagedAppProtection', 'microsoft.graph.androidManagedAppProtection', 'microsoft.graph.iosManagedAppProtection' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.managedAppPolicy", @"microsoft.graph.windowsInformationProtection", @"microsoft.graph.windowsInformationProtectionPolicy", @"microsoft.graph.mdmWindowsInformationProtectionPolicy", @"microsoft.graph.managedAppConfiguration", @"microsoft.graph.targetedManagedAppConfiguration", @"microsoft.graph.managedAppProtection", @"microsoft.graph.defaultManagedAppProtection", @"microsoft.graph.targetedManagedAppProtection", @"microsoft.graph.androidManagedAppProtection", @"microsoft.graph.iosManagedAppProtection")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.managedAppPolicy" objects.")] - public System.String intendedPolicyODataType { get; set; } - - internal override System.String GetResourcePath() - { - return $"deviceAppManagement/managedAppRegistrations/{managedAppRegistrationId}/intendedPolicies/{managedAppPolicyId}/{intendedPolicyODataType}/exemptAppLockerFiles/{windowsInformationProtectionAppLockerFileId}"; - } - } -} \ No newline at end of file diff --git a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/ManagedAppRegistrations/IntendedPolicies/ProtectedAppLockerFiles.cs b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/ManagedAppRegistrations/IntendedPolicies/ProtectedAppLockerFiles.cs deleted file mode 100644 index 7773cfe..0000000 --- a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/ManagedAppRegistrations/IntendedPolicies/ProtectedAppLockerFiles.cs +++ /dev/null @@ -1,388 +0,0 @@ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. - -namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets -{ - using System.Management.Automation; - - /// - /// Retrieves "microsoft.graph.windowsInformationProtectionAppLockerFile" objects. - /// GET ~/deviceAppManagement/managedAppRegistrations/{managedAppRegistrationId}/intendedPolicies/{managedAppPolicyId}/{intendedPolicyODataType}/protectedAppLockerFiles - /// Retrieves "microsoft.graph.windowsInformationProtectionAppLockerFile" objects in the "protectedAppLockerFiles" collection. - /// Another way to input protected apps through xml files - /// - /// GitHub Repository - [Cmdlet("Get", "DeviceAppManagement_ManagedAppRegistrations_IntendedPolicies_ProtectedAppLockerFiles", DefaultParameterSetName = @"Search")] - [ODataType("microsoft.graph.windowsInformationProtectionAppLockerFile")] - [ResourceTypePropertyName("protectedAppLockerFileODataType")] - [ResourceReference] - public class Get_DeviceAppManagement_ManagedAppRegistrations_IntendedPolicies_ProtectedAppLockerFiles : GetOrSearchCmdlet - { - /// - /// A required ID for referencing a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection.")] - public System.String managedAppRegistrationId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.managedAppPolicy" object in the "intendedPolicies" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedAppPolicy" object in the "intendedPolicies" collection.")] - public System.String managedAppPolicyId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.managedAppPolicy" objects. - /// - /// Valid values: 'microsoft.graph.managedAppPolicy', 'microsoft.graph.windowsInformationProtection', 'microsoft.graph.windowsInformationProtectionPolicy', 'microsoft.graph.mdmWindowsInformationProtectionPolicy', 'microsoft.graph.managedAppConfiguration', 'microsoft.graph.targetedManagedAppConfiguration', 'microsoft.graph.managedAppProtection', 'microsoft.graph.defaultManagedAppProtection', 'microsoft.graph.targetedManagedAppProtection', 'microsoft.graph.androidManagedAppProtection', 'microsoft.graph.iosManagedAppProtection' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.managedAppPolicy", @"microsoft.graph.windowsInformationProtection", @"microsoft.graph.windowsInformationProtectionPolicy", @"microsoft.graph.mdmWindowsInformationProtectionPolicy", @"microsoft.graph.managedAppConfiguration", @"microsoft.graph.targetedManagedAppConfiguration", @"microsoft.graph.managedAppProtection", @"microsoft.graph.defaultManagedAppProtection", @"microsoft.graph.targetedManagedAppProtection", @"microsoft.graph.androidManagedAppProtection", @"microsoft.graph.iosManagedAppProtection")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.managedAppPolicy" objects.")] - public System.String intendedPolicyODataType { get; set; } - - /// - /// The ID for a "microsoft.graph.windowsInformationProtectionAppLockerFile" object in the "protectedAppLockerFiles" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(ParameterSetName = @"Get", Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.windowsInformationProtectionAppLockerFile" object in the "protectedAppLockerFiles" collection.")] - public System.String windowsInformationProtectionAppLockerFileId { get; set; } - - /// - /// The "displayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.windowsInformationProtectionAppLockerFile" type. - /// The friendly name - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String displayName { get; set; } - - /// - /// The "fileHash" property, of type "Edm.String". - /// This property is on the "microsoft.graph.windowsInformationProtectionAppLockerFile" type. - /// SHA256 hash of the file - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String fileHash { get; set; } - - /// - /// The "file" property, of type "Edm.Binary". - /// This property is on the "microsoft.graph.windowsInformationProtectionAppLockerFile" type. - /// File as a byte array - /// - [ODataType("Edm.Binary")] - [Selectable] - [Sortable] - public System.Byte[] file { get; set; } - - /// - /// The "version" property, of type "Edm.String". - /// This property is on the "microsoft.graph.windowsInformationProtectionAppLockerFile" type. - /// Version of the entity. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String version { get; set; } - - internal override System.String GetResourcePath() - { - return $"deviceAppManagement/managedAppRegistrations/{managedAppRegistrationId}/intendedPolicies/{managedAppPolicyId}/{intendedPolicyODataType}/protectedAppLockerFiles/{windowsInformationProtectionAppLockerFileId ?? string.Empty}"; - } - } - - /// - /// Creates a "microsoft.graph.windowsInformationProtectionAppLockerFile" object. - /// POST ~/deviceAppManagement/managedAppRegistrations/{managedAppRegistrationId}/intendedPolicies/{managedAppPolicyId}/{intendedPolicyODataType}/protectedAppLockerFiles - /// Adds a "microsoft.graph.windowsInformationProtectionAppLockerFile" object to the "protectedAppLockerFiles" collection. - /// Another way to input protected apps through xml files - /// - /// GitHub Repository - [Cmdlet("New", "DeviceAppManagement_ManagedAppRegistrations_IntendedPolicies_ProtectedAppLockerFiles", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.windowsInformationProtectionAppLockerFile")] - [ODataType("microsoft.graph.windowsInformationProtectionAppLockerFile")] - [ResourceTypePropertyName("protectedAppLockerFileODataType")] - [ResourceReference] - public class New_DeviceAppManagement_ManagedAppRegistrations_IntendedPolicies_ProtectedAppLockerFiles : PostCmdlet - { - /// - /// The ID for a "microsoft.graph.windowsInformationProtectionAppLockerFile" object in the "protectedAppLockerFiles" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - public System.String windowsInformationProtectionAppLockerFileId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection.")] - public System.String managedAppRegistrationId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.managedAppPolicy" object in the "intendedPolicies" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedAppPolicy" object in the "intendedPolicies" collection.")] - public System.String managedAppPolicyId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.managedAppPolicy" objects. - /// - /// Valid values: 'microsoft.graph.managedAppPolicy', 'microsoft.graph.windowsInformationProtection', 'microsoft.graph.windowsInformationProtectionPolicy', 'microsoft.graph.mdmWindowsInformationProtectionPolicy', 'microsoft.graph.managedAppConfiguration', 'microsoft.graph.targetedManagedAppConfiguration', 'microsoft.graph.managedAppProtection', 'microsoft.graph.defaultManagedAppProtection', 'microsoft.graph.targetedManagedAppProtection', 'microsoft.graph.androidManagedAppProtection', 'microsoft.graph.iosManagedAppProtection' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.managedAppPolicy", @"microsoft.graph.windowsInformationProtection", @"microsoft.graph.windowsInformationProtectionPolicy", @"microsoft.graph.mdmWindowsInformationProtectionPolicy", @"microsoft.graph.managedAppConfiguration", @"microsoft.graph.targetedManagedAppConfiguration", @"microsoft.graph.managedAppProtection", @"microsoft.graph.defaultManagedAppProtection", @"microsoft.graph.targetedManagedAppProtection", @"microsoft.graph.androidManagedAppProtection", @"microsoft.graph.iosManagedAppProtection")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.managedAppPolicy" objects.")] - public System.String intendedPolicyODataType { get; set; } - - /// - /// The "displayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.windowsInformationProtectionAppLockerFile" type. - /// The friendly name - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionAppLockerFile", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "displayName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "displayName" property, of type "Edm.String".")] - public System.String displayName { get; set; } - - /// - /// The "fileHash" property, of type "Edm.String". - /// This property is on the "microsoft.graph.windowsInformationProtectionAppLockerFile" type. - /// SHA256 hash of the file - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionAppLockerFile", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "fileHash" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "fileHash" property, of type "Edm.String".")] - public System.String fileHash { get; set; } - - /// - /// The "file" property, of type "Edm.Binary". - /// This property is on the "microsoft.graph.windowsInformationProtectionAppLockerFile" type. - /// File as a byte array - /// - [ODataType("Edm.Binary")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionAppLockerFile", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "file" property, of type "Edm.Binary".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "file" property, of type "Edm.Binary".")] - public System.Byte[] file { get; set; } - - /// - /// The "version" property, of type "Edm.String". - /// This property is on the "microsoft.graph.windowsInformationProtectionAppLockerFile" type. - /// Version of the entity. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionAppLockerFile", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "version" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "version" property, of type "Edm.String".")] - public System.String version { get; set; } - - internal override System.String GetResourcePath() - { - return $"deviceAppManagement/managedAppRegistrations/{managedAppRegistrationId}/intendedPolicies/{managedAppPolicyId}/{intendedPolicyODataType}/protectedAppLockerFiles/{windowsInformationProtectionAppLockerFileId}"; - } - } - - /// - /// Updates a "microsoft.graph.windowsInformationProtectionAppLockerFile". - /// PATCH ~/deviceAppManagement/managedAppRegistrations/{managedAppRegistrationId}/intendedPolicies/{managedAppPolicyId}/{intendedPolicyODataType}/protectedAppLockerFiles - /// Updates a "microsoft.graph.windowsInformationProtectionAppLockerFile" object in the "protectedAppLockerFiles" collection. - /// Another way to input protected apps through xml files - /// - /// GitHub Repository - [Cmdlet("Update", "DeviceAppManagement_ManagedAppRegistrations_IntendedPolicies_ProtectedAppLockerFiles", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.windowsInformationProtectionAppLockerFile")] - [ODataType("microsoft.graph.windowsInformationProtectionAppLockerFile")] - [ResourceTypePropertyName("protectedAppLockerFileODataType")] - public class Update_DeviceAppManagement_ManagedAppRegistrations_IntendedPolicies_ProtectedAppLockerFiles : PatchCmdlet - { - /// - /// The ID for a "microsoft.graph.windowsInformationProtectionAppLockerFile" object in the "protectedAppLockerFiles" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.windowsInformationProtectionAppLockerFile" object in the "protectedAppLockerFiles" collection.")] - public System.String windowsInformationProtectionAppLockerFileId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection.")] - public System.String managedAppRegistrationId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.managedAppPolicy" object in the "intendedPolicies" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedAppPolicy" object in the "intendedPolicies" collection.")] - public System.String managedAppPolicyId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.managedAppPolicy" objects. - /// - /// Valid values: 'microsoft.graph.managedAppPolicy', 'microsoft.graph.windowsInformationProtection', 'microsoft.graph.windowsInformationProtectionPolicy', 'microsoft.graph.mdmWindowsInformationProtectionPolicy', 'microsoft.graph.managedAppConfiguration', 'microsoft.graph.targetedManagedAppConfiguration', 'microsoft.graph.managedAppProtection', 'microsoft.graph.defaultManagedAppProtection', 'microsoft.graph.targetedManagedAppProtection', 'microsoft.graph.androidManagedAppProtection', 'microsoft.graph.iosManagedAppProtection' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.managedAppPolicy", @"microsoft.graph.windowsInformationProtection", @"microsoft.graph.windowsInformationProtectionPolicy", @"microsoft.graph.mdmWindowsInformationProtectionPolicy", @"microsoft.graph.managedAppConfiguration", @"microsoft.graph.targetedManagedAppConfiguration", @"microsoft.graph.managedAppProtection", @"microsoft.graph.defaultManagedAppProtection", @"microsoft.graph.targetedManagedAppProtection", @"microsoft.graph.androidManagedAppProtection", @"microsoft.graph.iosManagedAppProtection")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.managedAppPolicy" objects.")] - public System.String intendedPolicyODataType { get; set; } - - /// - /// The "displayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.windowsInformationProtectionAppLockerFile" type. - /// The friendly name - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionAppLockerFile", HelpMessage = @"The "displayName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "displayName" property, of type "Edm.String".")] - public System.String displayName { get; set; } - - /// - /// The "fileHash" property, of type "Edm.String". - /// This property is on the "microsoft.graph.windowsInformationProtectionAppLockerFile" type. - /// SHA256 hash of the file - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionAppLockerFile", HelpMessage = @"The "fileHash" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "fileHash" property, of type "Edm.String".")] - public System.String fileHash { get; set; } - - /// - /// The "file" property, of type "Edm.Binary". - /// This property is on the "microsoft.graph.windowsInformationProtectionAppLockerFile" type. - /// File as a byte array - /// - [ODataType("Edm.Binary")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionAppLockerFile", HelpMessage = @"The "file" property, of type "Edm.Binary".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "file" property, of type "Edm.Binary".")] - public System.Byte[] file { get; set; } - - /// - /// The "version" property, of type "Edm.String". - /// This property is on the "microsoft.graph.windowsInformationProtectionAppLockerFile" type. - /// Version of the entity. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.windowsInformationProtectionAppLockerFile", HelpMessage = @"The "version" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "version" property, of type "Edm.String".")] - public System.String version { get; set; } - - internal override System.String GetResourcePath() - { - return $"deviceAppManagement/managedAppRegistrations/{managedAppRegistrationId}/intendedPolicies/{managedAppPolicyId}/{intendedPolicyODataType}/protectedAppLockerFiles/{windowsInformationProtectionAppLockerFileId}"; - } - } - - /// - /// Removes a "microsoft.graph.windowsInformationProtectionAppLockerFile" object. - /// DELETE ~/deviceAppManagement/managedAppRegistrations/{managedAppRegistrationId}/intendedPolicies/{managedAppPolicyId}/{intendedPolicyODataType}/protectedAppLockerFiles/windowsInformationProtectionAppLockerFileId - /// Removes a "microsoft.graph.windowsInformationProtectionAppLockerFile" object from the "protectedAppLockerFiles" collection. - /// Another way to input protected apps through xml files - /// - /// GitHub Repository - [Cmdlet("Remove", "DeviceAppManagement_ManagedAppRegistrations_IntendedPolicies_ProtectedAppLockerFiles", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.windowsInformationProtectionAppLockerFile")] - [ResourceTypePropertyName("protectedAppLockerFileODataType")] - public class Remove_DeviceAppManagement_ManagedAppRegistrations_IntendedPolicies_ProtectedAppLockerFiles : DeleteCmdlet - { - /// - /// The ID for a "microsoft.graph.windowsInformationProtectionAppLockerFile" object in the "protectedAppLockerFiles" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.windowsInformationProtectionAppLockerFile" object in the "protectedAppLockerFiles" collection.")] - public System.String windowsInformationProtectionAppLockerFileId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection.")] - public System.String managedAppRegistrationId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.managedAppPolicy" object in the "intendedPolicies" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedAppPolicy" object in the "intendedPolicies" collection.")] - public System.String managedAppPolicyId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.managedAppPolicy" objects. - /// - /// Valid values: 'microsoft.graph.managedAppPolicy', 'microsoft.graph.windowsInformationProtection', 'microsoft.graph.windowsInformationProtectionPolicy', 'microsoft.graph.mdmWindowsInformationProtectionPolicy', 'microsoft.graph.managedAppConfiguration', 'microsoft.graph.targetedManagedAppConfiguration', 'microsoft.graph.managedAppProtection', 'microsoft.graph.defaultManagedAppProtection', 'microsoft.graph.targetedManagedAppProtection', 'microsoft.graph.androidManagedAppProtection', 'microsoft.graph.iosManagedAppProtection' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.managedAppPolicy", @"microsoft.graph.windowsInformationProtection", @"microsoft.graph.windowsInformationProtectionPolicy", @"microsoft.graph.mdmWindowsInformationProtectionPolicy", @"microsoft.graph.managedAppConfiguration", @"microsoft.graph.targetedManagedAppConfiguration", @"microsoft.graph.managedAppProtection", @"microsoft.graph.defaultManagedAppProtection", @"microsoft.graph.targetedManagedAppProtection", @"microsoft.graph.androidManagedAppProtection", @"microsoft.graph.iosManagedAppProtection")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.managedAppPolicy" objects.")] - public System.String intendedPolicyODataType { get; set; } - - internal override System.String GetResourcePath() - { - return $"deviceAppManagement/managedAppRegistrations/{managedAppRegistrationId}/intendedPolicies/{managedAppPolicyId}/{intendedPolicyODataType}/protectedAppLockerFiles/{windowsInformationProtectionAppLockerFileId}"; - } - } -} \ No newline at end of file diff --git a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/ManagedAppRegistrations/Operations.cs b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/ManagedAppRegistrations/Operations.cs deleted file mode 100644 index 0b200cb..0000000 --- a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/ManagedAppRegistrations/Operations.cs +++ /dev/null @@ -1,290 +0,0 @@ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. - -namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets -{ - using System.Management.Automation; - - /// - /// Retrieves "microsoft.graph.managedAppOperation" objects. - /// GET ~/deviceAppManagement/managedAppRegistrations/{managedAppRegistrationId}/operations - /// Retrieves "microsoft.graph.managedAppOperation" objects in the "operations" collection. - /// Zero or more long running operations triggered on the app registration. - /// - /// GitHub Repository - [Cmdlet("Get", "DeviceAppManagement_ManagedAppRegistrations_Operations", DefaultParameterSetName = @"Search")] - [ODataType("microsoft.graph.managedAppOperation")] - [ResourceTypePropertyName("operationODataType")] - [ResourceReference] - public class Get_DeviceAppManagement_ManagedAppRegistrations_Operations : GetOrSearchCmdlet - { - /// - /// A required ID for referencing a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection.")] - public System.String managedAppRegistrationId { get; set; } - - /// - /// The ID for a "microsoft.graph.managedAppOperation" object in the "operations" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(ParameterSetName = @"Get", Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.managedAppOperation" object in the "operations" collection.")] - public System.String managedAppOperationId { get; set; } - - /// - /// The "displayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedAppOperation" type. - /// The operation name. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String displayName { get; set; } - - /// - /// The "lastModifiedDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.managedAppOperation" type. - /// The last time the app operation was modified. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - public System.DateTimeOffset lastModifiedDateTime { get; set; } - - /// - /// The "state" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedAppOperation" type. - /// The current state of the operation - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String state { get; set; } - - /// - /// The "version" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedAppOperation" type. - /// Version of the entity. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String version { get; set; } - - internal override System.String GetResourcePath() - { - return $"deviceAppManagement/managedAppRegistrations/{managedAppRegistrationId}/operations/{managedAppOperationId ?? string.Empty}"; - } - } - - /// - /// Creates a "microsoft.graph.managedAppOperation" object. - /// POST ~/deviceAppManagement/managedAppRegistrations/{managedAppRegistrationId}/operations - /// Adds a "microsoft.graph.managedAppOperation" object to the "operations" collection. - /// Zero or more long running operations triggered on the app registration. - /// - /// GitHub Repository - [Cmdlet("New", "DeviceAppManagement_ManagedAppRegistrations_Operations", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.managedAppOperation")] - [ODataType("microsoft.graph.managedAppOperation")] - [ResourceTypePropertyName("operationODataType")] - [ResourceReference] - public class New_DeviceAppManagement_ManagedAppRegistrations_Operations : PostCmdlet - { - /// - /// The ID for a "microsoft.graph.managedAppOperation" object in the "operations" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - public System.String managedAppOperationId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection.")] - public System.String managedAppRegistrationId { get; set; } - - /// - /// The "displayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedAppOperation" type. - /// The operation name. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppOperation", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "displayName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "displayName" property, of type "Edm.String".")] - public System.String displayName { get; set; } - - /// - /// The "lastModifiedDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.managedAppOperation" type. - /// The last time the app operation was modified. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppOperation", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "lastModifiedDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "lastModifiedDateTime" property, of type "Edm.DateTimeOffset".")] - public System.DateTimeOffset lastModifiedDateTime { get; set; } - - /// - /// The "state" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedAppOperation" type. - /// The current state of the operation - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppOperation", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "state" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "state" property, of type "Edm.String".")] - public System.String state { get; set; } - - /// - /// The "version" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedAppOperation" type. - /// Version of the entity. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppOperation", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "version" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "version" property, of type "Edm.String".")] - public System.String version { get; set; } - - internal override System.String GetResourcePath() - { - return $"deviceAppManagement/managedAppRegistrations/{managedAppRegistrationId}/operations/{managedAppOperationId}"; - } - } - - /// - /// Updates a "microsoft.graph.managedAppOperation". - /// PATCH ~/deviceAppManagement/managedAppRegistrations/{managedAppRegistrationId}/operations - /// Updates a "microsoft.graph.managedAppOperation" object in the "operations" collection. - /// Zero or more long running operations triggered on the app registration. - /// - /// GitHub Repository - [Cmdlet("Update", "DeviceAppManagement_ManagedAppRegistrations_Operations", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.managedAppOperation")] - [ODataType("microsoft.graph.managedAppOperation")] - [ResourceTypePropertyName("operationODataType")] - public class Update_DeviceAppManagement_ManagedAppRegistrations_Operations : PatchCmdlet - { - /// - /// The ID for a "microsoft.graph.managedAppOperation" object in the "operations" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.managedAppOperation" object in the "operations" collection.")] - public System.String managedAppOperationId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection.")] - public System.String managedAppRegistrationId { get; set; } - - /// - /// The "displayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedAppOperation" type. - /// The operation name. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppOperation", HelpMessage = @"The "displayName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "displayName" property, of type "Edm.String".")] - public System.String displayName { get; set; } - - /// - /// The "lastModifiedDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.managedAppOperation" type. - /// The last time the app operation was modified. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppOperation", HelpMessage = @"The "lastModifiedDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "lastModifiedDateTime" property, of type "Edm.DateTimeOffset".")] - public System.DateTimeOffset lastModifiedDateTime { get; set; } - - /// - /// The "state" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedAppOperation" type. - /// The current state of the operation - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppOperation", HelpMessage = @"The "state" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "state" property, of type "Edm.String".")] - public System.String state { get; set; } - - /// - /// The "version" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedAppOperation" type. - /// Version of the entity. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedAppOperation", HelpMessage = @"The "version" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "version" property, of type "Edm.String".")] - public System.String version { get; set; } - - internal override System.String GetResourcePath() - { - return $"deviceAppManagement/managedAppRegistrations/{managedAppRegistrationId}/operations/{managedAppOperationId}"; - } - } - - /// - /// Removes a "microsoft.graph.managedAppOperation" object. - /// DELETE ~/deviceAppManagement/managedAppRegistrations/{managedAppRegistrationId}/operations/managedAppOperationId - /// Removes a "microsoft.graph.managedAppOperation" object from the "operations" collection. - /// Zero or more long running operations triggered on the app registration. - /// - /// GitHub Repository - [Cmdlet("Remove", "DeviceAppManagement_ManagedAppRegistrations_Operations", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.managedAppOperation")] - [ResourceTypePropertyName("operationODataType")] - public class Remove_DeviceAppManagement_ManagedAppRegistrations_Operations : DeleteCmdlet - { - /// - /// The ID for a "microsoft.graph.managedAppOperation" object in the "operations" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.managedAppOperation" object in the "operations" collection.")] - public System.String managedAppOperationId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection.")] - public System.String managedAppRegistrationId { get; set; } - - internal override System.String GetResourcePath() - { - return $"deviceAppManagement/managedAppRegistrations/{managedAppRegistrationId}/operations/{managedAppOperationId}"; - } - } -} \ No newline at end of file diff --git a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/ManagedAppStatuses.cs b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/ManagedAppStatuses.cs index ac5d082..5104337 100644 --- a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/ManagedAppStatuses.cs +++ b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/ManagedAppStatuses.cs @@ -8,14 +8,13 @@ namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets /// Retrieves "microsoft.graph.managedAppStatus" objects. /// GET ~/deviceAppManagement/managedAppStatuses /// Retrieves "microsoft.graph.managedAppStatus" objects in the "managedAppStatuses" collection. - /// The managed app statuses. /// /// GitHub Repository - [Cmdlet("Get", "DeviceAppManagement_ManagedAppStatuses", DefaultParameterSetName = @"Search")] + [Cmdlet("Get", "IntuneManagedAppStatus", DefaultParameterSetName = @"Search")] [ODataType("microsoft.graph.managedAppStatus", "microsoft.graph.managedAppStatusRaw")] [ResourceTypePropertyName("managedAppStatusODataType")] [ResourceReference] - public class Get_DeviceAppManagement_ManagedAppStatuses : GetOrSearchCmdlet + public class Get_IntuneManagedAppStatus : GetOrSearchCmdlet { /// /// The ID for a "microsoft.graph.managedAppStatus" object in the "managedAppStatuses" collection. @@ -69,14 +68,13 @@ internal override System.String GetResourcePath() /// Creates a "microsoft.graph.managedAppStatus" object. /// POST ~/deviceAppManagement/managedAppStatuses /// Adds a "microsoft.graph.managedAppStatus" object to the "managedAppStatuses" collection. - /// The managed app statuses. /// /// GitHub Repository - [Cmdlet("New", "DeviceAppManagement_ManagedAppStatuses", ConfirmImpact = ConfirmImpact.Low)] + [Cmdlet("New", "IntuneManagedAppStatus", ConfirmImpact = ConfirmImpact.Low)] [ODataType("microsoft.graph.managedAppStatus", "microsoft.graph.managedAppStatusRaw")] [ResourceTypePropertyName("managedAppStatusODataType")] [ResourceReference] - public class New_DeviceAppManagement_ManagedAppStatuses : PostCmdlet + public class New_IntuneManagedAppStatus : PostCmdlet { /// /// The ID for a "microsoft.graph.managedAppStatus" object in the "managedAppStatuses" collection. @@ -141,13 +139,12 @@ internal override System.String GetResourcePath() /// Updates a "microsoft.graph.managedAppStatus". /// PATCH ~/deviceAppManagement/managedAppStatuses /// Updates a "microsoft.graph.managedAppStatus" object in the "managedAppStatuses" collection. - /// The managed app statuses. /// /// GitHub Repository - [Cmdlet("Update", "DeviceAppManagement_ManagedAppStatuses", ConfirmImpact = ConfirmImpact.Medium)] + [Cmdlet("Update", "IntuneManagedAppStatus", ConfirmImpact = ConfirmImpact.Medium)] [ODataType("microsoft.graph.managedAppStatus", "microsoft.graph.managedAppStatusRaw")] [ResourceTypePropertyName("managedAppStatusODataType")] - public class Update_DeviceAppManagement_ManagedAppStatuses : PatchCmdlet + public class Update_IntuneManagedAppStatus : PatchCmdlet { /// /// The ID for a "microsoft.graph.managedAppStatus" object in the "managedAppStatuses" collection. @@ -214,13 +211,12 @@ internal override System.String GetResourcePath() /// Removes a "microsoft.graph.managedAppStatus" object. /// DELETE ~/deviceAppManagement/managedAppStatuses/managedAppStatusId /// Removes a "microsoft.graph.managedAppStatus" object from the "managedAppStatuses" collection. - /// The managed app statuses. /// /// GitHub Repository - [Cmdlet("Remove", "DeviceAppManagement_ManagedAppStatuses", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Remove", "IntuneManagedAppStatus", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.managedAppStatus", "microsoft.graph.managedAppStatusRaw")] [ResourceTypePropertyName("managedAppStatusODataType")] - public class Remove_DeviceAppManagement_ManagedAppStatuses : DeleteCmdlet + public class Remove_IntuneManagedAppStatus : DeleteCmdlet { /// /// The ID for a "microsoft.graph.managedAppStatus" object in the "managedAppStatuses" collection. diff --git a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/ManagedEBooks.cs b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/ManagedEBooks.cs index 30391db..ad0b3ff 100644 --- a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/ManagedEBooks.cs +++ b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/ManagedEBooks.cs @@ -11,11 +11,11 @@ namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets /// The Managed eBook. /// /// GitHub Repository - [Cmdlet("Get", "DeviceAppManagement_ManagedEBooks", DefaultParameterSetName = @"Search")] + [Cmdlet("Get", "IntuneManagedEBook", DefaultParameterSetName = @"Search")] [ODataType("microsoft.graph.managedEBook", "microsoft.graph.iosVppEBook")] [ResourceTypePropertyName("managedEBookODataType")] [ResourceReference] - public class Get_DeviceAppManagement_ManagedEBooks : GetOrSearchCmdlet + public class Get_IntuneManagedEBook : GetOrSearchCmdlet { /// /// The ID for a "microsoft.graph.managedEBook" object in the "managedEBooks" collection. @@ -259,11 +259,11 @@ internal override System.String GetResourcePath() /// The Managed eBook. /// /// GitHub Repository - [Cmdlet("New", "DeviceAppManagement_ManagedEBooks", ConfirmImpact = ConfirmImpact.Low)] + [Cmdlet("New", "IntuneManagedEBook", ConfirmImpact = ConfirmImpact.Low)] [ODataType("microsoft.graph.managedEBook", "microsoft.graph.iosVppEBook")] [ResourceTypePropertyName("managedEBookODataType")] [ResourceReference] - public class New_DeviceAppManagement_ManagedEBooks : PostCmdlet + public class New_IntuneManagedEBook : PostCmdlet { /// /// The ID for a "microsoft.graph.managedEBook" object in the "managedEBooks" collection. @@ -548,10 +548,10 @@ internal override System.String GetResourcePath() /// The Managed eBook. /// /// GitHub Repository - [Cmdlet("Update", "DeviceAppManagement_ManagedEBooks", ConfirmImpact = ConfirmImpact.Medium)] + [Cmdlet("Update", "IntuneManagedEBook", ConfirmImpact = ConfirmImpact.Medium)] [ODataType("microsoft.graph.managedEBook", "microsoft.graph.iosVppEBook")] [ResourceTypePropertyName("managedEBookODataType")] - public class Update_DeviceAppManagement_ManagedEBooks : PatchCmdlet + public class Update_IntuneManagedEBook : PatchCmdlet { /// /// The ID for a "microsoft.graph.managedEBook" object in the "managedEBooks" collection. @@ -838,10 +838,10 @@ internal override System.String GetResourcePath() /// The Managed eBook. /// /// GitHub Repository - [Cmdlet("Remove", "DeviceAppManagement_ManagedEBooks", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Remove", "IntuneManagedEBook", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.managedEBook", "microsoft.graph.iosVppEBook")] [ResourceTypePropertyName("managedEBookODataType")] - public class Remove_DeviceAppManagement_ManagedEBooks : DeleteCmdlet + public class Remove_IntuneManagedEBook : DeleteCmdlet { /// /// The ID for a "microsoft.graph.managedEBook" object in the "managedEBooks" collection. @@ -866,10 +866,10 @@ internal override System.String GetResourcePath() /// This action does not return any objects. /// /// GitHub Repository - [Cmdlet("Invoke", "DeviceAppManagement_ManagedEBooks_Assign", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Invoke", "IntuneManagedEBookAssign", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.managedEBook", "microsoft.graph.iosVppEBook")] [ResourceTypePropertyName("managedEBookODataType")] - public class Invoke_DeviceAppManagement_ManagedEBooks_Assign : ActionCmdlet + public class Invoke_IntuneManagedEBookAssign : ActionCmdlet { /// /// The "managedEBookAssignments" action parameter of type "microsoft.graph.managedEBookAssignment". diff --git a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/ManagedEBooks/Assignments.cs b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/ManagedEBooks/Assignments.cs index 7b3928c..4ee3969 100644 --- a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/ManagedEBooks/Assignments.cs +++ b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/ManagedEBooks/Assignments.cs @@ -11,11 +11,11 @@ namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets /// The list of assignments for this eBook. /// /// GitHub Repository - [Cmdlet("Get", "DeviceAppManagement_ManagedEBooks_Assignments", DefaultParameterSetName = @"Search")] + [Cmdlet("Get", "IntuneManagedEBookAssignment", DefaultParameterSetName = @"Search")] [ODataType("microsoft.graph.managedEBookAssignment", "microsoft.graph.iosVppEBookAssignment")] [ResourceTypePropertyName("assignmentODataType")] [ResourceReference] - public class Get_DeviceAppManagement_ManagedEBooks_Assignments : GetOrSearchCmdlet + public class Get_IntuneManagedEBookAssignment : GetOrSearchCmdlet { /// /// A required ID for referencing a "microsoft.graph.managedEBook" object in the "managedEBooks" collection. @@ -71,11 +71,11 @@ internal override System.String GetResourcePath() /// The list of assignments for this eBook. /// /// GitHub Repository - [Cmdlet("New", "DeviceAppManagement_ManagedEBooks_Assignments", ConfirmImpact = ConfirmImpact.Low)] + [Cmdlet("New", "IntuneManagedEBookAssignment", ConfirmImpact = ConfirmImpact.Low)] [ODataType("microsoft.graph.managedEBookAssignment", "microsoft.graph.iosVppEBookAssignment")] [ResourceTypePropertyName("assignmentODataType")] [ResourceReference] - public class New_DeviceAppManagement_ManagedEBooks_Assignments : PostCmdlet + public class New_IntuneManagedEBookAssignment : PostCmdlet { /// /// The ID for a "microsoft.graph.managedEBookAssignment" object in the "assignments" collection. @@ -155,10 +155,10 @@ internal override System.String GetResourcePath() /// The list of assignments for this eBook. /// /// GitHub Repository - [Cmdlet("Update", "DeviceAppManagement_ManagedEBooks_Assignments", ConfirmImpact = ConfirmImpact.Medium)] + [Cmdlet("Update", "IntuneManagedEBookAssignment", ConfirmImpact = ConfirmImpact.Medium)] [ODataType("microsoft.graph.managedEBookAssignment", "microsoft.graph.iosVppEBookAssignment")] [ResourceTypePropertyName("assignmentODataType")] - public class Update_DeviceAppManagement_ManagedEBooks_Assignments : PatchCmdlet + public class Update_IntuneManagedEBookAssignment : PatchCmdlet { /// /// The ID for a "microsoft.graph.managedEBookAssignment" object in the "assignments" collection. @@ -240,10 +240,10 @@ internal override System.String GetResourcePath() /// The list of assignments for this eBook. /// /// GitHub Repository - [Cmdlet("Remove", "DeviceAppManagement_ManagedEBooks_Assignments", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Remove", "IntuneManagedEBookAssignment", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.managedEBookAssignment", "microsoft.graph.iosVppEBookAssignment")] [ResourceTypePropertyName("assignmentODataType")] - public class Remove_DeviceAppManagement_ManagedEBooks_Assignments : DeleteCmdlet + public class Remove_IntuneManagedEBookAssignment : DeleteCmdlet { /// /// The ID for a "microsoft.graph.managedEBookAssignment" object in the "assignments" collection. diff --git a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/ManagedEBooks/DeviceStates.cs b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/ManagedEBooks/DeviceStates.cs index b1bd419..0843124 100644 --- a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/ManagedEBooks/DeviceStates.cs +++ b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/ManagedEBooks/DeviceStates.cs @@ -11,11 +11,11 @@ namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets /// The list of installation states for this eBook. /// /// GitHub Repository - [Cmdlet("Get", "DeviceAppManagement_ManagedEBooks_DeviceStates", DefaultParameterSetName = @"Search")] + [Cmdlet("Get", "IntuneManagedEBookDeviceState", DefaultParameterSetName = @"Search")] [ODataType("microsoft.graph.deviceInstallState")] [ResourceTypePropertyName("deviceStateODataType")] [ResourceReference] - public class Get_DeviceAppManagement_ManagedEBooks_DeviceStates : GetOrSearchCmdlet + public class Get_IntuneManagedEBookDeviceState : GetOrSearchCmdlet { /// /// A required ID for referencing a "microsoft.graph.managedEBook" object in the "managedEBooks" collection. @@ -131,11 +131,11 @@ internal override System.String GetResourcePath() /// The list of installation states for this eBook. /// /// GitHub Repository - [Cmdlet("New", "DeviceAppManagement_ManagedEBooks_DeviceStates", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.deviceInstallState")] + [Cmdlet("New", "IntuneManagedEBookDeviceState", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.deviceInstallState")] [ODataType("microsoft.graph.deviceInstallState")] [ResourceTypePropertyName("deviceStateODataType")] [ResourceReference] - public class New_DeviceAppManagement_ManagedEBooks_DeviceStates : PostCmdlet + public class New_IntuneManagedEBookDeviceState : PostCmdlet { /// /// The ID for a "microsoft.graph.deviceInstallState" object in the "deviceStates" collection. @@ -261,10 +261,10 @@ internal override System.String GetResourcePath() /// The list of installation states for this eBook. /// /// GitHub Repository - [Cmdlet("Update", "DeviceAppManagement_ManagedEBooks_DeviceStates", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.deviceInstallState")] + [Cmdlet("Update", "IntuneManagedEBookDeviceState", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.deviceInstallState")] [ODataType("microsoft.graph.deviceInstallState")] [ResourceTypePropertyName("deviceStateODataType")] - public class Update_DeviceAppManagement_ManagedEBooks_DeviceStates : PatchCmdlet + public class Update_IntuneManagedEBookDeviceState : PatchCmdlet { /// /// The ID for a "microsoft.graph.deviceInstallState" object in the "deviceStates" collection. @@ -392,10 +392,10 @@ internal override System.String GetResourcePath() /// The list of installation states for this eBook. /// /// GitHub Repository - [Cmdlet("Remove", "DeviceAppManagement_ManagedEBooks_DeviceStates", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Remove", "IntuneManagedEBookDeviceState", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.deviceInstallState")] [ResourceTypePropertyName("deviceStateODataType")] - public class Remove_DeviceAppManagement_ManagedEBooks_DeviceStates : DeleteCmdlet + public class Remove_IntuneManagedEBookDeviceState : DeleteCmdlet { /// /// The ID for a "microsoft.graph.deviceInstallState" object in the "deviceStates" collection. diff --git a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/ManagedEBooks/InstallSummary.cs b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/ManagedEBooks/InstallSummary.cs index 9beb972..bab6f87 100644 --- a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/ManagedEBooks/InstallSummary.cs +++ b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/ManagedEBooks/InstallSummary.cs @@ -11,11 +11,11 @@ namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets /// Mobile App Install Summary. /// /// GitHub Repository - [Cmdlet("Get", "DeviceAppManagement_ManagedEBooks_InstallSummary", DefaultParameterSetName = @"Get")] + [Cmdlet("Get", "IntuneManagedEBookInstallSummary", DefaultParameterSetName = @"Get")] [ODataType("microsoft.graph.eBookInstallSummary")] [ResourceTypePropertyName("installSummaryODataType")] [ResourceReference] - public class Get_DeviceAppManagement_ManagedEBooks_InstallSummary : GetCmdlet + public class Get_IntuneManagedEBookInstallSummary : GetCmdlet { /// /// A required ID for referencing a "microsoft.graph.managedEBook" object in the "managedEBooks" collection. @@ -100,11 +100,11 @@ internal override System.String GetResourcePath() /// Mobile App Install Summary. /// /// GitHub Repository - [Cmdlet("New", "DeviceAppManagement_ManagedEBooks_InstallSummary", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.eBookInstallSummary")] + [Cmdlet("New", "IntuneManagedEBookInstallSummary", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.eBookInstallSummary")] [ODataType("microsoft.graph.eBookInstallSummary")] [ResourceTypePropertyName("installSummaryODataType")] [ResourceReference] - public class New_DeviceAppManagement_ManagedEBooks_InstallSummary : PostCmdlet + public class New_IntuneManagedEBookInstallSummary : PostCmdlet { /// /// A required ID for referencing a "microsoft.graph.managedEBook" object in the "managedEBooks" collection. @@ -195,10 +195,10 @@ internal override System.String GetResourcePath() /// Mobile App Install Summary. /// /// GitHub Repository - [Cmdlet("Update", "DeviceAppManagement_ManagedEBooks_InstallSummary", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.eBookInstallSummary")] + [Cmdlet("Update", "IntuneManagedEBookInstallSummary", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.eBookInstallSummary")] [ODataType("microsoft.graph.eBookInstallSummary")] [ResourceTypePropertyName("installSummaryODataType")] - public class Update_DeviceAppManagement_ManagedEBooks_InstallSummary : PatchCmdlet + public class Update_IntuneManagedEBookInstallSummary : PatchCmdlet { /// /// A required ID for referencing a "microsoft.graph.managedEBook" object in the "managedEBooks" collection. @@ -289,10 +289,10 @@ internal override System.String GetResourcePath() /// Mobile App Install Summary. /// /// GitHub Repository - [Cmdlet("Remove", "DeviceAppManagement_ManagedEBooks_InstallSummary", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Remove", "IntuneManagedEBookInstallSummary", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.eBookInstallSummary")] [ResourceTypePropertyName("installSummaryODataType")] - public class Remove_DeviceAppManagement_ManagedEBooks_InstallSummary : DeleteCmdlet + public class Remove_IntuneManagedEBookInstallSummary : DeleteCmdlet { /// /// A required ID for referencing a "microsoft.graph.managedEBook" object in the "managedEBooks" collection. diff --git a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/ManagedEBooks/UserStateSummary.cs b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/ManagedEBooks/UserStateSummary.cs index 5301f02..ca97e4c 100644 --- a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/ManagedEBooks/UserStateSummary.cs +++ b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/ManagedEBooks/UserStateSummary.cs @@ -11,11 +11,11 @@ namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets /// The list of installation states for this eBook. /// /// GitHub Repository - [Cmdlet("Get", "DeviceAppManagement_ManagedEBooks_UserStateSummary", DefaultParameterSetName = @"Search")] + [Cmdlet("Get", "IntuneManagedEBookUserStateSummary", DefaultParameterSetName = @"Search")] [ODataType("microsoft.graph.userInstallStateSummary")] [ResourceTypePropertyName("userStateSummaryODataType")] [ResourceReference] - public class Get_DeviceAppManagement_ManagedEBooks_UserStateSummary : GetOrSearchCmdlet + public class Get_IntuneManagedEBookUserStateSummary : GetOrSearchCmdlet { /// /// A required ID for referencing a "microsoft.graph.managedEBook" object in the "managedEBooks" collection. @@ -101,11 +101,11 @@ internal override System.String GetResourcePath() /// The list of installation states for this eBook. /// /// GitHub Repository - [Cmdlet("New", "DeviceAppManagement_ManagedEBooks_UserStateSummary", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.userInstallStateSummary")] + [Cmdlet("New", "IntuneManagedEBookUserStateSummary", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.userInstallStateSummary")] [ODataType("microsoft.graph.userInstallStateSummary")] [ResourceTypePropertyName("userStateSummaryODataType")] [ResourceReference] - public class New_DeviceAppManagement_ManagedEBooks_UserStateSummary : PostCmdlet + public class New_IntuneManagedEBookUserStateSummary : PostCmdlet { /// /// The ID for a "microsoft.graph.userInstallStateSummary" object in the "userStateSummary" collection. @@ -196,10 +196,10 @@ internal override System.String GetResourcePath() /// The list of installation states for this eBook. /// /// GitHub Repository - [Cmdlet("Update", "DeviceAppManagement_ManagedEBooks_UserStateSummary", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.userInstallStateSummary")] + [Cmdlet("Update", "IntuneManagedEBookUserStateSummary", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.userInstallStateSummary")] [ODataType("microsoft.graph.userInstallStateSummary")] [ResourceTypePropertyName("userStateSummaryODataType")] - public class Update_DeviceAppManagement_ManagedEBooks_UserStateSummary : PatchCmdlet + public class Update_IntuneManagedEBookUserStateSummary : PatchCmdlet { /// /// The ID for a "microsoft.graph.userInstallStateSummary" object in the "userStateSummary" collection. @@ -292,10 +292,10 @@ internal override System.String GetResourcePath() /// The list of installation states for this eBook. /// /// GitHub Repository - [Cmdlet("Remove", "DeviceAppManagement_ManagedEBooks_UserStateSummary", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Remove", "IntuneManagedEBookUserStateSummary", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.userInstallStateSummary")] [ResourceTypePropertyName("userStateSummaryODataType")] - public class Remove_DeviceAppManagement_ManagedEBooks_UserStateSummary : DeleteCmdlet + public class Remove_IntuneManagedEBookUserStateSummary : DeleteCmdlet { /// /// The ID for a "microsoft.graph.userInstallStateSummary" object in the "userStateSummary" collection. diff --git a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/ManagedEBooks/UserStateSummary/DeviceStates.cs b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/ManagedEBooks/UserStateSummary/DeviceStates.cs index e72ae6c..a913716 100644 --- a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/ManagedEBooks/UserStateSummary/DeviceStates.cs +++ b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/ManagedEBooks/UserStateSummary/DeviceStates.cs @@ -11,11 +11,11 @@ namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets /// The install state of the eBook. /// /// GitHub Repository - [Cmdlet("Get", "DeviceAppManagement_ManagedEBooks_UserStateSummary_DeviceStates", DefaultParameterSetName = @"Search")] + [Cmdlet("Get", "IntuneManagedEBookUserStateSummaryDeviceState", DefaultParameterSetName = @"Search")] [ODataType("microsoft.graph.deviceInstallState")] [ResourceTypePropertyName("deviceStateODataType")] [ResourceReference] - public class Get_DeviceAppManagement_ManagedEBooks_UserStateSummary_DeviceStates : GetOrSearchCmdlet + public class Get_IntuneManagedEBookUserStateSummaryDeviceState : GetOrSearchCmdlet { /// /// A required ID for referencing a "microsoft.graph.managedEBook" object in the "managedEBooks" collection. @@ -141,11 +141,11 @@ internal override System.String GetResourcePath() /// The install state of the eBook. /// /// GitHub Repository - [Cmdlet("New", "DeviceAppManagement_ManagedEBooks_UserStateSummary_DeviceStates", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.deviceInstallState")] + [Cmdlet("New", "IntuneManagedEBookUserStateSummaryDeviceState", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.deviceInstallState")] [ODataType("microsoft.graph.deviceInstallState")] [ResourceTypePropertyName("deviceStateODataType")] [ResourceReference] - public class New_DeviceAppManagement_ManagedEBooks_UserStateSummary_DeviceStates : PostCmdlet + public class New_IntuneManagedEBookUserStateSummaryDeviceState : PostCmdlet { /// /// The ID for a "microsoft.graph.deviceInstallState" object in the "deviceStates" collection. @@ -281,10 +281,10 @@ internal override System.String GetResourcePath() /// The install state of the eBook. /// /// GitHub Repository - [Cmdlet("Update", "DeviceAppManagement_ManagedEBooks_UserStateSummary_DeviceStates", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.deviceInstallState")] + [Cmdlet("Update", "IntuneManagedEBookUserStateSummaryDeviceState", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.deviceInstallState")] [ODataType("microsoft.graph.deviceInstallState")] [ResourceTypePropertyName("deviceStateODataType")] - public class Update_DeviceAppManagement_ManagedEBooks_UserStateSummary_DeviceStates : PatchCmdlet + public class Update_IntuneManagedEBookUserStateSummaryDeviceState : PatchCmdlet { /// /// The ID for a "microsoft.graph.deviceInstallState" object in the "deviceStates" collection. @@ -422,10 +422,10 @@ internal override System.String GetResourcePath() /// The install state of the eBook. /// /// GitHub Repository - [Cmdlet("Remove", "DeviceAppManagement_ManagedEBooks_UserStateSummary_DeviceStates", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Remove", "IntuneManagedEBookUserStateSummaryDeviceState", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.deviceInstallState")] [ResourceTypePropertyName("deviceStateODataType")] - public class Remove_DeviceAppManagement_ManagedEBooks_UserStateSummary_DeviceStates : DeleteCmdlet + public class Remove_IntuneManagedEBookUserStateSummaryDeviceState : DeleteCmdlet { /// /// The ID for a "microsoft.graph.deviceInstallState" object in the "deviceStates" collection. diff --git a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/MdmWindowsInformationProtectionPolicies.cs b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/MdmWindowsInformationProtectionPolicies.cs index b2c7cab..287b13f 100644 --- a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/MdmWindowsInformationProtectionPolicies.cs +++ b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/MdmWindowsInformationProtectionPolicies.cs @@ -11,11 +11,11 @@ namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets /// Windows information protection for apps running on devices which are MDM enrolled. /// /// GitHub Repository - [Cmdlet("Get", "DeviceAppManagement_MdmWindowsInformationProtectionPolicies", DefaultParameterSetName = @"Search")] + [Cmdlet("Get", "IntuneMdmWindowsInformationProtectionPolicy", DefaultParameterSetName = @"Search")] [ODataType("microsoft.graph.mdmWindowsInformationProtectionPolicy")] [ResourceTypePropertyName("mdmWindowsInformationProtectionPolicyODataType")] [ResourceReference] - public class Get_DeviceAppManagement_MdmWindowsInformationProtectionPolicies : GetOrSearchCmdlet + public class Get_IntuneMdmWindowsInformationProtectionPolicy : GetOrSearchCmdlet { /// /// The ID for a "microsoft.graph.mdmWindowsInformationProtectionPolicy" object in the "mdmWindowsInformationProtectionPolicies" collection. @@ -331,11 +331,11 @@ internal override System.String GetResourcePath() /// Windows information protection for apps running on devices which are MDM enrolled. /// /// GitHub Repository - [Cmdlet("New", "DeviceAppManagement_MdmWindowsInformationProtectionPolicies", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy")] + [Cmdlet("New", "IntuneMdmWindowsInformationProtectionPolicy", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy")] [ODataType("microsoft.graph.mdmWindowsInformationProtectionPolicy")] [ResourceTypePropertyName("mdmWindowsInformationProtectionPolicyODataType")] [ResourceReference] - public class New_DeviceAppManagement_MdmWindowsInformationProtectionPolicies : PostCmdlet + public class New_IntuneMdmWindowsInformationProtectionPolicy : PostCmdlet { /// /// The ID for a "microsoft.graph.mdmWindowsInformationProtectionPolicy" object in the "mdmWindowsInformationProtectionPolicies" collection. @@ -709,10 +709,10 @@ internal override System.String GetResourcePath() /// Windows information protection for apps running on devices which are MDM enrolled. /// /// GitHub Repository - [Cmdlet("Update", "DeviceAppManagement_MdmWindowsInformationProtectionPolicies", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy")] + [Cmdlet("Update", "IntuneMdmWindowsInformationProtectionPolicy", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.mdmWindowsInformationProtectionPolicy")] [ODataType("microsoft.graph.mdmWindowsInformationProtectionPolicy")] [ResourceTypePropertyName("mdmWindowsInformationProtectionPolicyODataType")] - public class Update_DeviceAppManagement_MdmWindowsInformationProtectionPolicies : PatchCmdlet + public class Update_IntuneMdmWindowsInformationProtectionPolicy : PatchCmdlet { /// /// The ID for a "microsoft.graph.mdmWindowsInformationProtectionPolicy" object in the "mdmWindowsInformationProtectionPolicies" collection. @@ -1088,10 +1088,10 @@ internal override System.String GetResourcePath() /// Windows information protection for apps running on devices which are MDM enrolled. /// /// GitHub Repository - [Cmdlet("Remove", "DeviceAppManagement_MdmWindowsInformationProtectionPolicies", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Remove", "IntuneMdmWindowsInformationProtectionPolicy", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.mdmWindowsInformationProtectionPolicy")] [ResourceTypePropertyName("mdmWindowsInformationProtectionPolicyODataType")] - public class Remove_DeviceAppManagement_MdmWindowsInformationProtectionPolicies : DeleteCmdlet + public class Remove_IntuneMdmWindowsInformationProtectionPolicy : DeleteCmdlet { /// /// The ID for a "microsoft.graph.mdmWindowsInformationProtectionPolicy" object in the "mdmWindowsInformationProtectionPolicies" collection. @@ -1116,10 +1116,10 @@ internal override System.String GetResourcePath() /// This action does not return any objects. /// /// GitHub Repository - [Cmdlet("Invoke", "DeviceAppManagement_MdmWindowsInformationProtectionPolicies_Assign", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Invoke", "IntuneMdmWindowsInformationProtectionPolicyAssign", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.mdmWindowsInformationProtectionPolicy")] [ResourceTypePropertyName("mdmWindowsInformationProtectionPolicyODataType")] - public class Invoke_DeviceAppManagement_MdmWindowsInformationProtectionPolicies_Assign : ActionCmdlet + public class Invoke_IntuneMdmWindowsInformationProtectionPolicyAssign : ActionCmdlet { /// /// The "assignments" action parameter of type "microsoft.graph.targetedManagedAppPolicyAssignment". @@ -1154,10 +1154,10 @@ internal override System.String GetResourcePath() /// This action does not return any objects. /// /// GitHub Repository - [Cmdlet("Invoke", "DeviceAppManagement_MdmWindowsInformationProtectionPolicies_TargetApps", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Invoke", "IntuneMdmWindowsInformationProtectionPolicyTargetApp", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.mdmWindowsInformationProtectionPolicy")] [ResourceTypePropertyName("mdmWindowsInformationProtectionPolicyODataType")] - public class Invoke_DeviceAppManagement_MdmWindowsInformationProtectionPolicies_TargetApps : ActionCmdlet + public class Invoke_IntuneMdmWindowsInformationProtectionPolicyTargetApp : ActionCmdlet { /// /// The "apps" action parameter of type "microsoft.graph.managedMobileApp". diff --git a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Assignments.cs b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Assignments.cs index f264ca3..f94f2fe 100644 --- a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Assignments.cs +++ b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Assignments.cs @@ -11,11 +11,11 @@ namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets /// Navigation property to list of security groups targeted for policy. /// /// GitHub Repository - [Cmdlet("Get", "DeviceAppManagement_MdmWindowsInformationProtectionPolicies_Assignments", DefaultParameterSetName = @"Search")] + [Cmdlet("Get", "IntuneMdmWindowsInformationProtectionPolicyAssignment", DefaultParameterSetName = @"Search")] [ODataType("microsoft.graph.targetedManagedAppPolicyAssignment")] [ResourceTypePropertyName("assignmentODataType")] [ResourceReference] - public class Get_DeviceAppManagement_MdmWindowsInformationProtectionPolicies_Assignments : GetOrSearchCmdlet + public class Get_IntuneMdmWindowsInformationProtectionPolicyAssignment : GetOrSearchCmdlet { /// /// A required ID for referencing a "microsoft.graph.mdmWindowsInformationProtectionPolicy" object in the "mdmWindowsInformationProtectionPolicies" collection. @@ -75,11 +75,11 @@ internal override System.String GetResourcePath() /// Navigation property to list of security groups targeted for policy. /// /// GitHub Repository - [Cmdlet("New", "DeviceAppManagement_MdmWindowsInformationProtectionPolicies_Assignments", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.targetedManagedAppPolicyAssignment")] + [Cmdlet("New", "IntuneMdmWindowsInformationProtectionPolicyAssignment", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.targetedManagedAppPolicyAssignment")] [ODataType("microsoft.graph.targetedManagedAppPolicyAssignment")] [ResourceTypePropertyName("assignmentODataType")] [ResourceReference] - public class New_DeviceAppManagement_MdmWindowsInformationProtectionPolicies_Assignments : PostCmdlet + public class New_IntuneMdmWindowsInformationProtectionPolicyAssignment : PostCmdlet { /// /// The ID for a "microsoft.graph.targetedManagedAppPolicyAssignment" object in the "assignments" collection. @@ -138,10 +138,10 @@ internal override System.String GetResourcePath() /// Navigation property to list of security groups targeted for policy. /// /// GitHub Repository - [Cmdlet("Update", "DeviceAppManagement_MdmWindowsInformationProtectionPolicies_Assignments", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.targetedManagedAppPolicyAssignment")] + [Cmdlet("Update", "IntuneMdmWindowsInformationProtectionPolicyAssignment", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.targetedManagedAppPolicyAssignment")] [ODataType("microsoft.graph.targetedManagedAppPolicyAssignment")] [ResourceTypePropertyName("assignmentODataType")] - public class Update_DeviceAppManagement_MdmWindowsInformationProtectionPolicies_Assignments : PatchCmdlet + public class Update_IntuneMdmWindowsInformationProtectionPolicyAssignment : PatchCmdlet { /// /// The ID for a "microsoft.graph.targetedManagedAppPolicyAssignment" object in the "assignments" collection. @@ -202,10 +202,10 @@ internal override System.String GetResourcePath() /// Navigation property to list of security groups targeted for policy. /// /// GitHub Repository - [Cmdlet("Remove", "DeviceAppManagement_MdmWindowsInformationProtectionPolicies_Assignments", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Remove", "IntuneMdmWindowsInformationProtectionPolicyAssignment", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.targetedManagedAppPolicyAssignment")] [ResourceTypePropertyName("assignmentODataType")] - public class Remove_DeviceAppManagement_MdmWindowsInformationProtectionPolicies_Assignments : DeleteCmdlet + public class Remove_IntuneMdmWindowsInformationProtectionPolicyAssignment : DeleteCmdlet { /// /// The ID for a "microsoft.graph.targetedManagedAppPolicyAssignment" object in the "assignments" collection. diff --git a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/ExemptAppLockerFiles.cs b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/ExemptAppLockerFiles.cs index 1ebb132..579192c 100644 --- a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/ExemptAppLockerFiles.cs +++ b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/ExemptAppLockerFiles.cs @@ -11,11 +11,11 @@ namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets /// Another way to input exempt apps through xml files /// /// GitHub Repository - [Cmdlet("Get", "DeviceAppManagement_MdmWindowsInformationProtectionPolicies_ExemptAppLockerFiles", DefaultParameterSetName = @"Search")] + [Cmdlet("Get", "IntuneMdmWindowsInformationProtectionPolicyExemptAppLockerFile", DefaultParameterSetName = @"Search")] [ODataType("microsoft.graph.windowsInformationProtectionAppLockerFile")] [ResourceTypePropertyName("exemptAppLockerFileODataType")] [ResourceReference] - public class Get_DeviceAppManagement_MdmWindowsInformationProtectionPolicies_ExemptAppLockerFiles : GetOrSearchCmdlet + public class Get_IntuneMdmWindowsInformationProtectionPolicyExemptAppLockerFile : GetOrSearchCmdlet { /// /// A required ID for referencing a "microsoft.graph.mdmWindowsInformationProtectionPolicy" object in the "mdmWindowsInformationProtectionPolicies" collection. @@ -105,11 +105,11 @@ internal override System.String GetResourcePath() /// Another way to input exempt apps through xml files /// /// GitHub Repository - [Cmdlet("New", "DeviceAppManagement_MdmWindowsInformationProtectionPolicies_ExemptAppLockerFiles", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.windowsInformationProtectionAppLockerFile")] + [Cmdlet("New", "IntuneMdmWindowsInformationProtectionPolicyExemptAppLockerFile", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.windowsInformationProtectionAppLockerFile")] [ODataType("microsoft.graph.windowsInformationProtectionAppLockerFile")] [ResourceTypePropertyName("exemptAppLockerFileODataType")] [ResourceReference] - public class New_DeviceAppManagement_MdmWindowsInformationProtectionPolicies_ExemptAppLockerFiles : PostCmdlet + public class New_IntuneMdmWindowsInformationProtectionPolicyExemptAppLockerFile : PostCmdlet { /// /// The ID for a "microsoft.graph.windowsInformationProtectionAppLockerFile" object in the "exemptAppLockerFiles" collection. @@ -202,10 +202,10 @@ internal override System.String GetResourcePath() /// Another way to input exempt apps through xml files /// /// GitHub Repository - [Cmdlet("Update", "DeviceAppManagement_MdmWindowsInformationProtectionPolicies_ExemptAppLockerFiles", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.windowsInformationProtectionAppLockerFile")] + [Cmdlet("Update", "IntuneMdmWindowsInformationProtectionPolicyExemptAppLockerFile", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.windowsInformationProtectionAppLockerFile")] [ODataType("microsoft.graph.windowsInformationProtectionAppLockerFile")] [ResourceTypePropertyName("exemptAppLockerFileODataType")] - public class Update_DeviceAppManagement_MdmWindowsInformationProtectionPolicies_ExemptAppLockerFiles : PatchCmdlet + public class Update_IntuneMdmWindowsInformationProtectionPolicyExemptAppLockerFile : PatchCmdlet { /// /// The ID for a "microsoft.graph.windowsInformationProtectionAppLockerFile" object in the "exemptAppLockerFiles" collection. @@ -300,10 +300,10 @@ internal override System.String GetResourcePath() /// Another way to input exempt apps through xml files /// /// GitHub Repository - [Cmdlet("Remove", "DeviceAppManagement_MdmWindowsInformationProtectionPolicies_ExemptAppLockerFiles", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Remove", "IntuneMdmWindowsInformationProtectionPolicyExemptAppLockerFile", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.windowsInformationProtectionAppLockerFile")] [ResourceTypePropertyName("exemptAppLockerFileODataType")] - public class Remove_DeviceAppManagement_MdmWindowsInformationProtectionPolicies_ExemptAppLockerFiles : DeleteCmdlet + public class Remove_IntuneMdmWindowsInformationProtectionPolicyExemptAppLockerFile : DeleteCmdlet { /// /// The ID for a "microsoft.graph.windowsInformationProtectionAppLockerFile" object in the "exemptAppLockerFiles" collection. diff --git a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/ProtectedAppLockerFiles.cs b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/ProtectedAppLockerFiles.cs index 66c5bcf..d291ca9 100644 --- a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/ProtectedAppLockerFiles.cs +++ b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/ProtectedAppLockerFiles.cs @@ -11,11 +11,11 @@ namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets /// Another way to input protected apps through xml files /// /// GitHub Repository - [Cmdlet("Get", "DeviceAppManagement_MdmWindowsInformationProtectionPolicies_ProtectedAppLockerFiles", DefaultParameterSetName = @"Search")] + [Cmdlet("Get", "IntuneMdmWindowsInformationProtectionPolicyProtectedAppLockerFile", DefaultParameterSetName = @"Search")] [ODataType("microsoft.graph.windowsInformationProtectionAppLockerFile")] [ResourceTypePropertyName("protectedAppLockerFileODataType")] [ResourceReference] - public class Get_DeviceAppManagement_MdmWindowsInformationProtectionPolicies_ProtectedAppLockerFiles : GetOrSearchCmdlet + public class Get_IntuneMdmWindowsInformationProtectionPolicyProtectedAppLockerFile : GetOrSearchCmdlet { /// /// A required ID for referencing a "microsoft.graph.mdmWindowsInformationProtectionPolicy" object in the "mdmWindowsInformationProtectionPolicies" collection. @@ -105,11 +105,11 @@ internal override System.String GetResourcePath() /// Another way to input protected apps through xml files /// /// GitHub Repository - [Cmdlet("New", "DeviceAppManagement_MdmWindowsInformationProtectionPolicies_ProtectedAppLockerFiles", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.windowsInformationProtectionAppLockerFile")] + [Cmdlet("New", "IntuneMdmWindowsInformationProtectionPolicyProtectedAppLockerFile", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.windowsInformationProtectionAppLockerFile")] [ODataType("microsoft.graph.windowsInformationProtectionAppLockerFile")] [ResourceTypePropertyName("protectedAppLockerFileODataType")] [ResourceReference] - public class New_DeviceAppManagement_MdmWindowsInformationProtectionPolicies_ProtectedAppLockerFiles : PostCmdlet + public class New_IntuneMdmWindowsInformationProtectionPolicyProtectedAppLockerFile : PostCmdlet { /// /// The ID for a "microsoft.graph.windowsInformationProtectionAppLockerFile" object in the "protectedAppLockerFiles" collection. @@ -202,10 +202,10 @@ internal override System.String GetResourcePath() /// Another way to input protected apps through xml files /// /// GitHub Repository - [Cmdlet("Update", "DeviceAppManagement_MdmWindowsInformationProtectionPolicies_ProtectedAppLockerFiles", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.windowsInformationProtectionAppLockerFile")] + [Cmdlet("Update", "IntuneMdmWindowsInformationProtectionPolicyProtectedAppLockerFile", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.windowsInformationProtectionAppLockerFile")] [ODataType("microsoft.graph.windowsInformationProtectionAppLockerFile")] [ResourceTypePropertyName("protectedAppLockerFileODataType")] - public class Update_DeviceAppManagement_MdmWindowsInformationProtectionPolicies_ProtectedAppLockerFiles : PatchCmdlet + public class Update_IntuneMdmWindowsInformationProtectionPolicyProtectedAppLockerFile : PatchCmdlet { /// /// The ID for a "microsoft.graph.windowsInformationProtectionAppLockerFile" object in the "protectedAppLockerFiles" collection. @@ -300,10 +300,10 @@ internal override System.String GetResourcePath() /// Another way to input protected apps through xml files /// /// GitHub Repository - [Cmdlet("Remove", "DeviceAppManagement_MdmWindowsInformationProtectionPolicies_ProtectedAppLockerFiles", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Remove", "IntuneMdmWindowsInformationProtectionPolicyProtectedAppLockerFile", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.windowsInformationProtectionAppLockerFile")] [ResourceTypePropertyName("protectedAppLockerFileODataType")] - public class Remove_DeviceAppManagement_MdmWindowsInformationProtectionPolicies_ProtectedAppLockerFiles : DeleteCmdlet + public class Remove_IntuneMdmWindowsInformationProtectionPolicyProtectedAppLockerFile : DeleteCmdlet { /// /// The ID for a "microsoft.graph.windowsInformationProtectionAppLockerFile" object in the "protectedAppLockerFiles" collection. diff --git a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/MobileAppCategories.cs b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/MobileAppCategories.cs index b82aa86..16ac6ca 100644 --- a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/MobileAppCategories.cs +++ b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/MobileAppCategories.cs @@ -11,11 +11,11 @@ namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets /// The mobile app categories. /// /// GitHub Repository - [Cmdlet("Get", "DeviceAppManagement_MobileAppCategories", DefaultParameterSetName = @"Search")] + [Cmdlet("Get", "IntuneMobileAppCategory", DefaultParameterSetName = @"Search")] [ODataType("microsoft.graph.mobileAppCategory")] [ResourceTypePropertyName("mobileAppCategoryODataType")] [ResourceReference] - public class Get_DeviceAppManagement_MobileAppCategories : GetOrSearchCmdlet + public class Get_IntuneMobileAppCategory : GetOrSearchCmdlet { /// /// The ID for a "microsoft.graph.mobileAppCategory" object in the "mobileAppCategories" collection. @@ -61,11 +61,11 @@ internal override System.String GetResourcePath() /// The mobile app categories. /// /// GitHub Repository - [Cmdlet("New", "DeviceAppManagement_MobileAppCategories", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.mobileAppCategory")] + [Cmdlet("New", "IntuneMobileAppCategory", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.mobileAppCategory")] [ODataType("microsoft.graph.mobileAppCategory")] [ResourceTypePropertyName("mobileAppCategoryODataType")] [ResourceReference] - public class New_DeviceAppManagement_MobileAppCategories : PostCmdlet + public class New_IntuneMobileAppCategory : PostCmdlet { /// /// The ID for a "microsoft.graph.mobileAppCategory" object in the "mobileAppCategories" collection. @@ -111,10 +111,10 @@ internal override System.String GetResourcePath() /// The mobile app categories. /// /// GitHub Repository - [Cmdlet("Update", "DeviceAppManagement_MobileAppCategories", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.mobileAppCategory")] + [Cmdlet("Update", "IntuneMobileAppCategory", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.mobileAppCategory")] [ODataType("microsoft.graph.mobileAppCategory")] [ResourceTypePropertyName("mobileAppCategoryODataType")] - public class Update_DeviceAppManagement_MobileAppCategories : PatchCmdlet + public class Update_IntuneMobileAppCategory : PatchCmdlet { /// /// The ID for a "microsoft.graph.mobileAppCategory" object in the "mobileAppCategories" collection. @@ -162,10 +162,10 @@ internal override System.String GetResourcePath() /// The mobile app categories. /// /// GitHub Repository - [Cmdlet("Remove", "DeviceAppManagement_MobileAppCategories", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Remove", "IntuneMobileAppCategory", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.mobileAppCategory")] [ResourceTypePropertyName("mobileAppCategoryODataType")] - public class Remove_DeviceAppManagement_MobileAppCategories : DeleteCmdlet + public class Remove_IntuneMobileAppCategory : DeleteCmdlet { /// /// The ID for a "microsoft.graph.mobileAppCategory" object in the "mobileAppCategories" collection. diff --git a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/MobileAppConfigurations.cs b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/MobileAppConfigurations.cs index 9dd9657..03b56db 100644 --- a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/MobileAppConfigurations.cs +++ b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/MobileAppConfigurations.cs @@ -11,11 +11,11 @@ namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets /// The Managed Device Mobile Application Configurations. /// /// GitHub Repository - [Cmdlet("Get", "DeviceAppManagement_MobileAppConfigurations", DefaultParameterSetName = @"Search")] + [Cmdlet("Get", "IntuneMobileAppConfigurationPolicy", DefaultParameterSetName = @"Search")] [ODataType("microsoft.graph.managedDeviceMobileAppConfiguration", "microsoft.graph.iosMobileAppConfiguration")] [ResourceTypePropertyName("mobileAppConfigurationODataType")] [ResourceReference] - public class Get_DeviceAppManagement_MobileAppConfigurations : GetOrSearchCmdlet + public class Get_IntuneMobileAppConfigurationPolicy : GetOrSearchCmdlet { /// /// The ID for a "microsoft.graph.managedDeviceMobileAppConfiguration" object in the "mobileAppConfigurations" collection. @@ -173,11 +173,11 @@ internal override System.String GetResourcePath() /// The Managed Device Mobile Application Configurations. /// /// GitHub Repository - [Cmdlet("New", "DeviceAppManagement_MobileAppConfigurations", ConfirmImpact = ConfirmImpact.Low)] + [Cmdlet("New", "IntuneMobileAppConfigurationPolicy", ConfirmImpact = ConfirmImpact.Low)] [ODataType("microsoft.graph.managedDeviceMobileAppConfiguration", "microsoft.graph.iosMobileAppConfiguration")] [ResourceTypePropertyName("mobileAppConfigurationODataType")] [ResourceReference] - public class New_DeviceAppManagement_MobileAppConfigurations : PostCmdlet + public class New_IntuneMobileAppConfigurationPolicy : PostCmdlet { /// /// The ID for a "microsoft.graph.managedDeviceMobileAppConfiguration" object in the "mobileAppConfigurations" collection. @@ -375,10 +375,10 @@ internal override System.String GetResourcePath() /// The Managed Device Mobile Application Configurations. /// /// GitHub Repository - [Cmdlet("Update", "DeviceAppManagement_MobileAppConfigurations", ConfirmImpact = ConfirmImpact.Medium)] + [Cmdlet("Update", "IntuneMobileAppConfigurationPolicy", ConfirmImpact = ConfirmImpact.Medium)] [ODataType("microsoft.graph.managedDeviceMobileAppConfiguration", "microsoft.graph.iosMobileAppConfiguration")] [ResourceTypePropertyName("mobileAppConfigurationODataType")] - public class Update_DeviceAppManagement_MobileAppConfigurations : PatchCmdlet + public class Update_IntuneMobileAppConfigurationPolicy : PatchCmdlet { /// /// The ID for a "microsoft.graph.managedDeviceMobileAppConfiguration" object in the "mobileAppConfigurations" collection. @@ -578,10 +578,10 @@ internal override System.String GetResourcePath() /// The Managed Device Mobile Application Configurations. /// /// GitHub Repository - [Cmdlet("Remove", "DeviceAppManagement_MobileAppConfigurations", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Remove", "IntuneMobileAppConfigurationPolicy", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.managedDeviceMobileAppConfiguration", "microsoft.graph.iosMobileAppConfiguration")] [ResourceTypePropertyName("mobileAppConfigurationODataType")] - public class Remove_DeviceAppManagement_MobileAppConfigurations : DeleteCmdlet + public class Remove_IntuneMobileAppConfigurationPolicy : DeleteCmdlet { /// /// The ID for a "microsoft.graph.managedDeviceMobileAppConfiguration" object in the "mobileAppConfigurations" collection. diff --git a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/MobileAppConfigurations/Assignments.cs b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/MobileAppConfigurations/Assignments.cs index 9e0adaf..0594b20 100644 --- a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/MobileAppConfigurations/Assignments.cs +++ b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/MobileAppConfigurations/Assignments.cs @@ -11,11 +11,11 @@ namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets /// The list of group assignemenets for app configration. /// /// GitHub Repository - [Cmdlet("Get", "DeviceAppManagement_MobileAppConfigurations_Assignments", DefaultParameterSetName = @"Search")] + [Cmdlet("Get", "IntuneMobileAppConfigurationPolicyAssignment", DefaultParameterSetName = @"Search")] [ODataType("microsoft.graph.managedDeviceMobileAppConfigurationAssignment")] [ResourceTypePropertyName("assignmentODataType")] [ResourceReference] - public class Get_DeviceAppManagement_MobileAppConfigurations_Assignments : GetOrSearchCmdlet + public class Get_IntuneMobileAppConfigurationPolicyAssignment : GetOrSearchCmdlet { /// /// A required ID for referencing a "microsoft.graph.managedDeviceMobileAppConfiguration" object in the "mobileAppConfigurations" collection. @@ -61,11 +61,11 @@ internal override System.String GetResourcePath() /// The list of group assignemenets for app configration. /// /// GitHub Repository - [Cmdlet("New", "DeviceAppManagement_MobileAppConfigurations_Assignments", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.managedDeviceMobileAppConfigurationAssignment")] + [Cmdlet("New", "IntuneMobileAppConfigurationPolicyAssignment", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.managedDeviceMobileAppConfigurationAssignment")] [ODataType("microsoft.graph.managedDeviceMobileAppConfigurationAssignment")] [ResourceTypePropertyName("assignmentODataType")] [ResourceReference] - public class New_DeviceAppManagement_MobileAppConfigurations_Assignments : PostCmdlet + public class New_IntuneMobileAppConfigurationPolicyAssignment : PostCmdlet { /// /// The ID for a "microsoft.graph.managedDeviceMobileAppConfigurationAssignment" object in the "assignments" collection. @@ -110,10 +110,10 @@ internal override System.String GetResourcePath() /// The list of group assignemenets for app configration. /// /// GitHub Repository - [Cmdlet("Update", "DeviceAppManagement_MobileAppConfigurations_Assignments", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.managedDeviceMobileAppConfigurationAssignment")] + [Cmdlet("Update", "IntuneMobileAppConfigurationPolicyAssignment", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.managedDeviceMobileAppConfigurationAssignment")] [ODataType("microsoft.graph.managedDeviceMobileAppConfigurationAssignment")] [ResourceTypePropertyName("assignmentODataType")] - public class Update_DeviceAppManagement_MobileAppConfigurations_Assignments : PatchCmdlet + public class Update_IntuneMobileAppConfigurationPolicyAssignment : PatchCmdlet { /// /// The ID for a "microsoft.graph.managedDeviceMobileAppConfigurationAssignment" object in the "assignments" collection. @@ -160,10 +160,10 @@ internal override System.String GetResourcePath() /// The list of group assignemenets for app configration. /// /// GitHub Repository - [Cmdlet("Remove", "DeviceAppManagement_MobileAppConfigurations_Assignments", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Remove", "IntuneMobileAppConfigurationPolicyAssignment", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.managedDeviceMobileAppConfigurationAssignment")] [ResourceTypePropertyName("assignmentODataType")] - public class Remove_DeviceAppManagement_MobileAppConfigurations_Assignments : DeleteCmdlet + public class Remove_IntuneMobileAppConfigurationPolicyAssignment : DeleteCmdlet { /// /// The ID for a "microsoft.graph.managedDeviceMobileAppConfigurationAssignment" object in the "assignments" collection. diff --git a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/MobileAppConfigurations/DeviceStatusSummary.cs b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/MobileAppConfigurations/DeviceStatusSummary.cs index c7c199a..7104df5 100644 --- a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/MobileAppConfigurations/DeviceStatusSummary.cs +++ b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/MobileAppConfigurations/DeviceStatusSummary.cs @@ -11,11 +11,11 @@ namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets /// App configuration device status summary. /// /// GitHub Repository - [Cmdlet("Get", "DeviceAppManagement_MobileAppConfigurations_DeviceStatusSummary", DefaultParameterSetName = @"Get")] + [Cmdlet("Get", "IntuneMobileAppConfigurationPolicyDeviceStatusSummary", DefaultParameterSetName = @"Get")] [ODataType("microsoft.graph.managedDeviceMobileAppConfigurationDeviceSummary")] [ResourceTypePropertyName("deviceStatusSummaryODataType")] [ResourceReference] - public class Get_DeviceAppManagement_MobileAppConfigurations_DeviceStatusSummary : GetCmdlet + public class Get_IntuneMobileAppConfigurationPolicyDeviceStatusSummary : GetCmdlet { /// /// A required ID for referencing a "microsoft.graph.managedDeviceMobileAppConfiguration" object in the "mobileAppConfigurations" collection. @@ -110,11 +110,11 @@ internal override System.String GetResourcePath() /// App configuration device status summary. /// /// GitHub Repository - [Cmdlet("New", "DeviceAppManagement_MobileAppConfigurations_DeviceStatusSummary", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.managedDeviceMobileAppConfigurationDeviceSummary")] + [Cmdlet("New", "IntuneMobileAppConfigurationPolicyDeviceStatusSummary", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.managedDeviceMobileAppConfigurationDeviceSummary")] [ODataType("microsoft.graph.managedDeviceMobileAppConfigurationDeviceSummary")] [ResourceTypePropertyName("deviceStatusSummaryODataType")] [ResourceReference] - public class New_DeviceAppManagement_MobileAppConfigurations_DeviceStatusSummary : PostCmdlet + public class New_IntuneMobileAppConfigurationPolicyDeviceStatusSummary : PostCmdlet { /// /// A required ID for referencing a "microsoft.graph.managedDeviceMobileAppConfiguration" object in the "mobileAppConfigurations" collection. @@ -216,10 +216,10 @@ internal override System.String GetResourcePath() /// App configuration device status summary. /// /// GitHub Repository - [Cmdlet("Update", "DeviceAppManagement_MobileAppConfigurations_DeviceStatusSummary", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.managedDeviceMobileAppConfigurationDeviceSummary")] + [Cmdlet("Update", "IntuneMobileAppConfigurationPolicyDeviceStatusSummary", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.managedDeviceMobileAppConfigurationDeviceSummary")] [ODataType("microsoft.graph.managedDeviceMobileAppConfigurationDeviceSummary")] [ResourceTypePropertyName("deviceStatusSummaryODataType")] - public class Update_DeviceAppManagement_MobileAppConfigurations_DeviceStatusSummary : PatchCmdlet + public class Update_IntuneMobileAppConfigurationPolicyDeviceStatusSummary : PatchCmdlet { /// /// A required ID for referencing a "microsoft.graph.managedDeviceMobileAppConfiguration" object in the "mobileAppConfigurations" collection. @@ -321,10 +321,10 @@ internal override System.String GetResourcePath() /// App configuration device status summary. /// /// GitHub Repository - [Cmdlet("Remove", "DeviceAppManagement_MobileAppConfigurations_DeviceStatusSummary", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Remove", "IntuneMobileAppConfigurationPolicyDeviceStatusSummary", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.managedDeviceMobileAppConfigurationDeviceSummary")] [ResourceTypePropertyName("deviceStatusSummaryODataType")] - public class Remove_DeviceAppManagement_MobileAppConfigurations_DeviceStatusSummary : DeleteCmdlet + public class Remove_IntuneMobileAppConfigurationPolicyDeviceStatusSummary : DeleteCmdlet { /// /// A required ID for referencing a "microsoft.graph.managedDeviceMobileAppConfiguration" object in the "mobileAppConfigurations" collection. diff --git a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/MobileAppConfigurations/DeviceStatuses.cs b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/MobileAppConfigurations/DeviceStatuses.cs index dc617f1..e4158a8 100644 --- a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/MobileAppConfigurations/DeviceStatuses.cs +++ b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/MobileAppConfigurations/DeviceStatuses.cs @@ -11,11 +11,11 @@ namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets /// List of ManagedDeviceMobileAppConfigurationDeviceStatus. /// /// GitHub Repository - [Cmdlet("Get", "DeviceAppManagement_MobileAppConfigurations_DeviceStatuses", DefaultParameterSetName = @"Search")] + [Cmdlet("Get", "IntuneMobileAppConfigurationPolicyDeviceStatus", DefaultParameterSetName = @"Search")] [ODataType("microsoft.graph.managedDeviceMobileAppConfigurationDeviceStatus")] [ResourceTypePropertyName("deviceStatusODataType")] [ResourceReference] - public class Get_DeviceAppManagement_MobileAppConfigurations_DeviceStatuses : GetOrSearchCmdlet + public class Get_IntuneMobileAppConfigurationPolicyDeviceStatus : GetOrSearchCmdlet { /// /// A required ID for referencing a "microsoft.graph.managedDeviceMobileAppConfiguration" object in the "mobileAppConfigurations" collection. @@ -121,11 +121,11 @@ internal override System.String GetResourcePath() /// List of ManagedDeviceMobileAppConfigurationDeviceStatus. /// /// GitHub Repository - [Cmdlet("New", "DeviceAppManagement_MobileAppConfigurations_DeviceStatuses", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.managedDeviceMobileAppConfigurationDeviceStatus")] + [Cmdlet("New", "IntuneMobileAppConfigurationPolicyDeviceStatus", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.managedDeviceMobileAppConfigurationDeviceStatus")] [ODataType("microsoft.graph.managedDeviceMobileAppConfigurationDeviceStatus")] [ResourceTypePropertyName("deviceStatusODataType")] [ResourceReference] - public class New_DeviceAppManagement_MobileAppConfigurations_DeviceStatuses : PostCmdlet + public class New_IntuneMobileAppConfigurationPolicyDeviceStatus : PostCmdlet { /// /// The ID for a "microsoft.graph.managedDeviceMobileAppConfigurationDeviceStatus" object in the "deviceStatuses" collection. @@ -240,10 +240,10 @@ internal override System.String GetResourcePath() /// List of ManagedDeviceMobileAppConfigurationDeviceStatus. /// /// GitHub Repository - [Cmdlet("Update", "DeviceAppManagement_MobileAppConfigurations_DeviceStatuses", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.managedDeviceMobileAppConfigurationDeviceStatus")] + [Cmdlet("Update", "IntuneMobileAppConfigurationPolicyDeviceStatus", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.managedDeviceMobileAppConfigurationDeviceStatus")] [ODataType("microsoft.graph.managedDeviceMobileAppConfigurationDeviceStatus")] [ResourceTypePropertyName("deviceStatusODataType")] - public class Update_DeviceAppManagement_MobileAppConfigurations_DeviceStatuses : PatchCmdlet + public class Update_IntuneMobileAppConfigurationPolicyDeviceStatus : PatchCmdlet { /// /// The ID for a "microsoft.graph.managedDeviceMobileAppConfigurationDeviceStatus" object in the "deviceStatuses" collection. @@ -360,10 +360,10 @@ internal override System.String GetResourcePath() /// List of ManagedDeviceMobileAppConfigurationDeviceStatus. /// /// GitHub Repository - [Cmdlet("Remove", "DeviceAppManagement_MobileAppConfigurations_DeviceStatuses", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Remove", "IntuneMobileAppConfigurationPolicyDeviceStatus", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.managedDeviceMobileAppConfigurationDeviceStatus")] [ResourceTypePropertyName("deviceStatusODataType")] - public class Remove_DeviceAppManagement_MobileAppConfigurations_DeviceStatuses : DeleteCmdlet + public class Remove_IntuneMobileAppConfigurationPolicyDeviceStatus : DeleteCmdlet { /// /// The ID for a "microsoft.graph.managedDeviceMobileAppConfigurationDeviceStatus" object in the "deviceStatuses" collection. diff --git a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/MobileAppConfigurations/UserStatusSummary.cs b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/MobileAppConfigurations/UserStatusSummary.cs index 48b548c..e4cf064 100644 --- a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/MobileAppConfigurations/UserStatusSummary.cs +++ b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/MobileAppConfigurations/UserStatusSummary.cs @@ -11,11 +11,11 @@ namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets /// App configuration user status summary. /// /// GitHub Repository - [Cmdlet("Get", "DeviceAppManagement_MobileAppConfigurations_UserStatusSummary", DefaultParameterSetName = @"Get")] + [Cmdlet("Get", "IntuneMobileAppConfigurationPolicyUserStatusSummary", DefaultParameterSetName = @"Get")] [ODataType("microsoft.graph.managedDeviceMobileAppConfigurationUserSummary")] [ResourceTypePropertyName("userStatusSummaryODataType")] [ResourceReference] - public class Get_DeviceAppManagement_MobileAppConfigurations_UserStatusSummary : GetCmdlet + public class Get_IntuneMobileAppConfigurationPolicyUserStatusSummary : GetCmdlet { /// /// A required ID for referencing a "microsoft.graph.managedDeviceMobileAppConfiguration" object in the "mobileAppConfigurations" collection. @@ -110,11 +110,11 @@ internal override System.String GetResourcePath() /// App configuration user status summary. /// /// GitHub Repository - [Cmdlet("New", "DeviceAppManagement_MobileAppConfigurations_UserStatusSummary", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.managedDeviceMobileAppConfigurationUserSummary")] + [Cmdlet("New", "IntuneMobileAppConfigurationPolicyUserStatusSummary", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.managedDeviceMobileAppConfigurationUserSummary")] [ODataType("microsoft.graph.managedDeviceMobileAppConfigurationUserSummary")] [ResourceTypePropertyName("userStatusSummaryODataType")] [ResourceReference] - public class New_DeviceAppManagement_MobileAppConfigurations_UserStatusSummary : PostCmdlet + public class New_IntuneMobileAppConfigurationPolicyUserStatusSummary : PostCmdlet { /// /// A required ID for referencing a "microsoft.graph.managedDeviceMobileAppConfiguration" object in the "mobileAppConfigurations" collection. @@ -216,10 +216,10 @@ internal override System.String GetResourcePath() /// App configuration user status summary. /// /// GitHub Repository - [Cmdlet("Update", "DeviceAppManagement_MobileAppConfigurations_UserStatusSummary", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.managedDeviceMobileAppConfigurationUserSummary")] + [Cmdlet("Update", "IntuneMobileAppConfigurationPolicyUserStatusSummary", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.managedDeviceMobileAppConfigurationUserSummary")] [ODataType("microsoft.graph.managedDeviceMobileAppConfigurationUserSummary")] [ResourceTypePropertyName("userStatusSummaryODataType")] - public class Update_DeviceAppManagement_MobileAppConfigurations_UserStatusSummary : PatchCmdlet + public class Update_IntuneMobileAppConfigurationPolicyUserStatusSummary : PatchCmdlet { /// /// A required ID for referencing a "microsoft.graph.managedDeviceMobileAppConfiguration" object in the "mobileAppConfigurations" collection. @@ -321,10 +321,10 @@ internal override System.String GetResourcePath() /// App configuration user status summary. /// /// GitHub Repository - [Cmdlet("Remove", "DeviceAppManagement_MobileAppConfigurations_UserStatusSummary", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Remove", "IntuneMobileAppConfigurationPolicyUserStatusSummary", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.managedDeviceMobileAppConfigurationUserSummary")] [ResourceTypePropertyName("userStatusSummaryODataType")] - public class Remove_DeviceAppManagement_MobileAppConfigurations_UserStatusSummary : DeleteCmdlet + public class Remove_IntuneMobileAppConfigurationPolicyUserStatusSummary : DeleteCmdlet { /// /// A required ID for referencing a "microsoft.graph.managedDeviceMobileAppConfiguration" object in the "mobileAppConfigurations" collection. diff --git a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/MobileAppConfigurations/UserStatuses.cs b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/MobileAppConfigurations/UserStatuses.cs index 5787eaf..00d1db6 100644 --- a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/MobileAppConfigurations/UserStatuses.cs +++ b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/MobileAppConfigurations/UserStatuses.cs @@ -11,11 +11,11 @@ namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets /// List of ManagedDeviceMobileAppConfigurationUserStatus. /// /// GitHub Repository - [Cmdlet("Get", "DeviceAppManagement_MobileAppConfigurations_UserStatuses", DefaultParameterSetName = @"Search")] + [Cmdlet("Get", "IntuneMobileAppConfigurationPolicyUserStatus", DefaultParameterSetName = @"Search")] [ODataType("microsoft.graph.managedDeviceMobileAppConfigurationUserStatus")] [ResourceTypePropertyName("userStatusODataType")] [ResourceReference] - public class Get_DeviceAppManagement_MobileAppConfigurations_UserStatuses : GetOrSearchCmdlet + public class Get_IntuneMobileAppConfigurationPolicyUserStatus : GetOrSearchCmdlet { /// /// A required ID for referencing a "microsoft.graph.managedDeviceMobileAppConfiguration" object in the "mobileAppConfigurations" collection. @@ -101,11 +101,11 @@ internal override System.String GetResourcePath() /// List of ManagedDeviceMobileAppConfigurationUserStatus. /// /// GitHub Repository - [Cmdlet("New", "DeviceAppManagement_MobileAppConfigurations_UserStatuses", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.managedDeviceMobileAppConfigurationUserStatus")] + [Cmdlet("New", "IntuneMobileAppConfigurationPolicyUserStatus", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.managedDeviceMobileAppConfigurationUserStatus")] [ODataType("microsoft.graph.managedDeviceMobileAppConfigurationUserStatus")] [ResourceTypePropertyName("userStatusODataType")] [ResourceReference] - public class New_DeviceAppManagement_MobileAppConfigurations_UserStatuses : PostCmdlet + public class New_IntuneMobileAppConfigurationPolicyUserStatus : PostCmdlet { /// /// The ID for a "microsoft.graph.managedDeviceMobileAppConfigurationUserStatus" object in the "userStatuses" collection. @@ -198,10 +198,10 @@ internal override System.String GetResourcePath() /// List of ManagedDeviceMobileAppConfigurationUserStatus. /// /// GitHub Repository - [Cmdlet("Update", "DeviceAppManagement_MobileAppConfigurations_UserStatuses", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.managedDeviceMobileAppConfigurationUserStatus")] + [Cmdlet("Update", "IntuneMobileAppConfigurationPolicyUserStatus", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.managedDeviceMobileAppConfigurationUserStatus")] [ODataType("microsoft.graph.managedDeviceMobileAppConfigurationUserStatus")] [ResourceTypePropertyName("userStatusODataType")] - public class Update_DeviceAppManagement_MobileAppConfigurations_UserStatuses : PatchCmdlet + public class Update_IntuneMobileAppConfigurationPolicyUserStatus : PatchCmdlet { /// /// The ID for a "microsoft.graph.managedDeviceMobileAppConfigurationUserStatus" object in the "userStatuses" collection. @@ -296,10 +296,10 @@ internal override System.String GetResourcePath() /// List of ManagedDeviceMobileAppConfigurationUserStatus. /// /// GitHub Repository - [Cmdlet("Remove", "DeviceAppManagement_MobileAppConfigurations_UserStatuses", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Remove", "IntuneMobileAppConfigurationPolicyUserStatus", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.managedDeviceMobileAppConfigurationUserStatus")] [ResourceTypePropertyName("userStatusODataType")] - public class Remove_DeviceAppManagement_MobileAppConfigurations_UserStatuses : DeleteCmdlet + public class Remove_IntuneMobileAppConfigurationPolicyUserStatus : DeleteCmdlet { /// /// The ID for a "microsoft.graph.managedDeviceMobileAppConfigurationUserStatus" object in the "userStatuses" collection. diff --git a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/MobileApps.cs b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/MobileApps.cs index b0a1dc3..dca6885 100644 --- a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/MobileApps.cs +++ b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/MobileApps.cs @@ -11,11 +11,11 @@ namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets /// The mobile apps. /// /// GitHub Repository - [Cmdlet("Get", "DeviceAppManagement_MobileApps", DefaultParameterSetName = @"Search")] + [Cmdlet("Get", "IntuneMobileApp", DefaultParameterSetName = @"Search")] [ODataType("microsoft.graph.mobileApp", "microsoft.graph.iosStoreApp", "microsoft.graph.iosVppApp", "microsoft.graph.androidStoreApp", "microsoft.graph.webApp", "microsoft.graph.microsoftStoreForBusinessApp", "microsoft.graph.mobileLobApp", "microsoft.graph.iosLobApp", "microsoft.graph.androidLobApp", "microsoft.graph.windowsUniversalAppX", "microsoft.graph.windowsMobileMSI", "microsoft.graph.managedApp", "microsoft.graph.managedMobileLobApp", "microsoft.graph.managedIOSLobApp", "microsoft.graph.managedAndroidLobApp", "microsoft.graph.managedIOSStoreApp", "microsoft.graph.managedAndroidStoreApp", "microsoft.graph.macOSOfficeSuiteApp")] [ResourceTypePropertyName("mobileAppODataType")] [ResourceReference] - public class Get_DeviceAppManagement_MobileApps : GetOrSearchCmdlet + public class Get_IntuneMobileApp : GetOrSearchCmdlet { /// /// The ID for a "microsoft.graph.mobileApp" object in the "mobileApps" collection. @@ -620,11 +620,11 @@ internal override System.String GetResourcePath() /// The mobile apps. /// /// GitHub Repository - [Cmdlet("New", "DeviceAppManagement_MobileApps", ConfirmImpact = ConfirmImpact.Low)] + [Cmdlet("New", "IntuneMobileApp", ConfirmImpact = ConfirmImpact.Low)] [ODataType("microsoft.graph.mobileApp", "microsoft.graph.iosStoreApp", "microsoft.graph.iosVppApp", "microsoft.graph.androidStoreApp", "microsoft.graph.webApp", "microsoft.graph.microsoftStoreForBusinessApp", "microsoft.graph.mobileLobApp", "microsoft.graph.iosLobApp", "microsoft.graph.androidLobApp", "microsoft.graph.windowsUniversalAppX", "microsoft.graph.windowsMobileMSI", "microsoft.graph.managedApp", "microsoft.graph.managedMobileLobApp", "microsoft.graph.managedIOSLobApp", "microsoft.graph.managedAndroidLobApp", "microsoft.graph.managedIOSStoreApp", "microsoft.graph.managedAndroidStoreApp", "microsoft.graph.macOSOfficeSuiteApp")] [ResourceTypePropertyName("mobileAppODataType")] [ResourceReference] - public class New_DeviceAppManagement_MobileApps : PostCmdlet + public class New_IntuneMobileApp : PostCmdlet { /// /// The ID for a "microsoft.graph.mobileApp" object in the "mobileApps" collection. @@ -1721,10 +1721,10 @@ internal override System.String GetResourcePath() /// The mobile apps. /// /// GitHub Repository - [Cmdlet("Update", "DeviceAppManagement_MobileApps", ConfirmImpact = ConfirmImpact.Medium)] + [Cmdlet("Update", "IntuneMobileApp", ConfirmImpact = ConfirmImpact.Medium)] [ODataType("microsoft.graph.mobileApp", "microsoft.graph.iosStoreApp", "microsoft.graph.iosVppApp", "microsoft.graph.androidStoreApp", "microsoft.graph.webApp", "microsoft.graph.microsoftStoreForBusinessApp", "microsoft.graph.mobileLobApp", "microsoft.graph.iosLobApp", "microsoft.graph.androidLobApp", "microsoft.graph.windowsUniversalAppX", "microsoft.graph.windowsMobileMSI", "microsoft.graph.managedApp", "microsoft.graph.managedMobileLobApp", "microsoft.graph.managedIOSLobApp", "microsoft.graph.managedAndroidLobApp", "microsoft.graph.managedIOSStoreApp", "microsoft.graph.managedAndroidStoreApp", "microsoft.graph.macOSOfficeSuiteApp")] [ResourceTypePropertyName("mobileAppODataType")] - public class Update_DeviceAppManagement_MobileApps : PatchCmdlet + public class Update_IntuneMobileApp : PatchCmdlet { /// /// The ID for a "microsoft.graph.mobileApp" object in the "mobileApps" collection. @@ -2823,10 +2823,10 @@ internal override System.String GetResourcePath() /// The mobile apps. /// /// GitHub Repository - [Cmdlet("Remove", "DeviceAppManagement_MobileApps", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Remove", "IntuneMobileApp", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.mobileApp", "microsoft.graph.iosStoreApp", "microsoft.graph.iosVppApp", "microsoft.graph.androidStoreApp", "microsoft.graph.webApp", "microsoft.graph.microsoftStoreForBusinessApp", "microsoft.graph.mobileLobApp", "microsoft.graph.iosLobApp", "microsoft.graph.androidLobApp", "microsoft.graph.windowsUniversalAppX", "microsoft.graph.windowsMobileMSI", "microsoft.graph.managedApp", "microsoft.graph.managedMobileLobApp", "microsoft.graph.managedIOSLobApp", "microsoft.graph.managedAndroidLobApp", "microsoft.graph.managedIOSStoreApp", "microsoft.graph.managedAndroidStoreApp", "microsoft.graph.macOSOfficeSuiteApp")] [ResourceTypePropertyName("mobileAppODataType")] - public class Remove_DeviceAppManagement_MobileApps : DeleteCmdlet + public class Remove_IntuneMobileApp : DeleteCmdlet { /// /// The ID for a "microsoft.graph.mobileApp" object in the "mobileApps" collection. @@ -2851,10 +2851,10 @@ internal override System.String GetResourcePath() /// This action does not return any objects. /// /// GitHub Repository - [Cmdlet("Invoke", "DeviceAppManagement_MobileApps_Assign", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Invoke", "IntuneMobileAppAssign", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.mobileApp", "microsoft.graph.iosStoreApp", "microsoft.graph.iosVppApp", "microsoft.graph.androidStoreApp", "microsoft.graph.webApp", "microsoft.graph.microsoftStoreForBusinessApp", "microsoft.graph.mobileLobApp", "microsoft.graph.iosLobApp", "microsoft.graph.androidLobApp", "microsoft.graph.windowsUniversalAppX", "microsoft.graph.windowsMobileMSI", "microsoft.graph.managedApp", "microsoft.graph.managedMobileLobApp", "microsoft.graph.managedIOSLobApp", "microsoft.graph.managedAndroidLobApp", "microsoft.graph.managedIOSStoreApp", "microsoft.graph.managedAndroidStoreApp", "microsoft.graph.macOSOfficeSuiteApp")] [ResourceTypePropertyName("mobileAppODataType")] - public class Invoke_DeviceAppManagement_MobileApps_Assign : ActionCmdlet + public class Invoke_IntuneMobileAppAssign : ActionCmdlet { /// /// The "mobileAppAssignments" action parameter of type "microsoft.graph.mobileAppAssignment". diff --git a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/MobileApps/Assignments.cs b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/MobileApps/Assignments.cs index 587c4a5..500d142 100644 --- a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/MobileApps/Assignments.cs +++ b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/MobileApps/Assignments.cs @@ -11,11 +11,11 @@ namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets /// The list of group assignments for this mobile app. /// /// GitHub Repository - [Cmdlet("Get", "DeviceAppManagement_MobileApps_Assignments", DefaultParameterSetName = @"Search")] + [Cmdlet("Get", "IntuneMobileAppAssignment", DefaultParameterSetName = @"Search")] [ODataType("microsoft.graph.mobileAppAssignment")] [ResourceTypePropertyName("assignmentODataType")] [ResourceReference] - public class Get_DeviceAppManagement_MobileApps_Assignments : GetOrSearchCmdlet + public class Get_IntuneMobileAppAssignment : GetOrSearchCmdlet { /// /// A required ID for referencing a "microsoft.graph.mobileApp" object in the "mobileApps" collection. @@ -81,11 +81,11 @@ internal override System.String GetResourcePath() /// The list of group assignments for this mobile app. /// /// GitHub Repository - [Cmdlet("New", "DeviceAppManagement_MobileApps_Assignments", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.mobileAppAssignment")] + [Cmdlet("New", "IntuneMobileAppAssignment", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.mobileAppAssignment")] [ODataType("microsoft.graph.mobileAppAssignment")] [ResourceTypePropertyName("assignmentODataType")] [ResourceReference] - public class New_DeviceAppManagement_MobileApps_Assignments : PostCmdlet + public class New_IntuneMobileAppAssignment : PostCmdlet { /// /// The ID for a "microsoft.graph.mobileAppAssignment" object in the "assignments" collection. @@ -156,10 +156,10 @@ internal override System.String GetResourcePath() /// The list of group assignments for this mobile app. /// /// GitHub Repository - [Cmdlet("Update", "DeviceAppManagement_MobileApps_Assignments", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.mobileAppAssignment")] + [Cmdlet("Update", "IntuneMobileAppAssignment", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.mobileAppAssignment")] [ODataType("microsoft.graph.mobileAppAssignment")] [ResourceTypePropertyName("assignmentODataType")] - public class Update_DeviceAppManagement_MobileApps_Assignments : PatchCmdlet + public class Update_IntuneMobileAppAssignment : PatchCmdlet { /// /// The ID for a "microsoft.graph.mobileAppAssignment" object in the "assignments" collection. @@ -232,10 +232,10 @@ internal override System.String GetResourcePath() /// The list of group assignments for this mobile app. /// /// GitHub Repository - [Cmdlet("Remove", "DeviceAppManagement_MobileApps_Assignments", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Remove", "IntuneMobileAppAssignment", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.mobileAppAssignment")] [ResourceTypePropertyName("assignmentODataType")] - public class Remove_DeviceAppManagement_MobileApps_Assignments : DeleteCmdlet + public class Remove_IntuneMobileAppAssignment : DeleteCmdlet { /// /// The ID for a "microsoft.graph.mobileAppAssignment" object in the "assignments" collection. diff --git a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/MobileApps/Categories.cs b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/MobileApps/Categories.cs index ef39c9b..c691172 100644 --- a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/MobileApps/Categories.cs +++ b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/MobileApps/Categories.cs @@ -11,10 +11,10 @@ namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets /// The list of categories for this app. /// /// GitHub Repository - [Cmdlet("Get", "DeviceAppManagement_MobileApps_Categories", DefaultParameterSetName = @"Search")] + [Cmdlet("Get", "IntuneMobileAppCategorySet", DefaultParameterSetName = @"Search")] [ODataType("microsoft.graph.mobileAppCategory")] [ResourceTypePropertyName("categoryODataType")] - public class Get_DeviceAppManagement_MobileApps_Categories : GetOrSearchCmdlet + public class Get_IntuneMobileAppCategorySet : GetOrSearchCmdlet { /// /// A required ID for referencing a "microsoft.graph.mobileApp" object in the "mobileApps" collection. @@ -70,10 +70,10 @@ internal override System.String GetResourcePath() /// The list of categories for this app. /// /// GitHub Repository - [Cmdlet("Get", "DeviceAppManagement_MobileApps_CategoriesReferences", DefaultParameterSetName = @"Search")] + [Cmdlet("Get", "IntuneMobileAppCategorySetReferences", DefaultParameterSetName = @"Search")] [ODataType("microsoft.graph.mobileAppCategory")] [ResourceTypePropertyName("categoryODataType")] - public class Get_DeviceAppManagement_MobileApps_CategoriesReferences : GetOrSearchCmdlet + public class Get_IntuneMobileAppCategorySetReferences : GetOrSearchCmdlet { /// /// A required ID for referencing a "microsoft.graph.mobileApp" object in the "mobileApps" collection. @@ -129,10 +129,10 @@ internal override System.String GetResourcePath() /// The list of categories for this app. /// /// GitHub Repository - [Cmdlet("New", "DeviceAppManagement_MobileApps_CategoriesReferences", ConfirmImpact = ConfirmImpact.Low)] + [Cmdlet("New", "IntuneMobileAppCategorySetReferences", ConfirmImpact = ConfirmImpact.Low)] [ODataType("microsoft.graph.mobileAppCategory")] [ResourceTypePropertyName("categoryODataType")] - public class New_DeviceAppManagement_MobileApps_CategoriesReferences : PostReferenceToCollectionCmdlet + public class New_IntuneMobileAppCategorySetReferences : PostReferenceToCollectionCmdlet { /// /// The ID for a "microsoft.graph.mobileAppCategory" object in the "categories" collection. @@ -180,10 +180,10 @@ internal override System.Object GetContent() /// The list of categories for this app. /// /// GitHub Repository - [Cmdlet("Remove", "DeviceAppManagement_MobileApps_CategoriesReferences", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Remove", "IntuneMobileAppCategorySetReferences", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.mobileAppCategory")] [ResourceTypePropertyName("categoryODataType")] - public class Remove_DeviceAppManagement_MobileApps_CategoriesReferences : DeleteCmdlet + public class Remove_IntuneMobileAppCategorySetReferences : DeleteCmdlet { /// /// The ID for a "microsoft.graph.mobileAppCategory" object in the "categories" collection. diff --git a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/MobileApps/ContentVersions.cs b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/MobileApps/ContentVersions.cs index 4ff2094..d9a84e6 100644 --- a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/MobileApps/ContentVersions.cs +++ b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/MobileApps/ContentVersions.cs @@ -11,11 +11,11 @@ namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets /// The list of content versions for this app. /// /// GitHub Repository - [Cmdlet("Get", "DeviceAppManagement_MobileApps_ContentVersions", DefaultParameterSetName = @"Search")] + [Cmdlet("Get", "IntuneMobileAppContentVersion", DefaultParameterSetName = @"Search")] [ODataType("microsoft.graph.mobileAppContent")] [ResourceTypePropertyName("contentVersionODataType")] [ResourceReference] - public class Get_DeviceAppManagement_MobileApps_ContentVersions : GetOrSearchCmdlet + public class Get_IntuneMobileAppContentVersion : GetOrSearchCmdlet { /// /// A required ID for referencing a "microsoft.graph.mobileApp" object in the "mobileApps" collection. @@ -75,11 +75,11 @@ internal override System.String GetResourcePath() /// The list of content versions for this app. /// /// GitHub Repository - [Cmdlet("New", "DeviceAppManagement_MobileApps_ContentVersions", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.mobileAppContent")] + [Cmdlet("New", "IntuneMobileAppContentVersion", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.mobileAppContent")] [ODataType("microsoft.graph.mobileAppContent")] [ResourceTypePropertyName("contentVersionODataType")] [ResourceReference] - public class New_DeviceAppManagement_MobileApps_ContentVersions : PostCmdlet + public class New_IntuneMobileAppContentVersion : PostCmdlet { /// /// The ID for a "microsoft.graph.mobileAppContent" object in the "contentVersions" collection. @@ -140,10 +140,10 @@ internal override System.String GetResourcePath() /// The list of content versions for this app. /// /// GitHub Repository - [Cmdlet("Update", "DeviceAppManagement_MobileApps_ContentVersions", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.mobileAppContent")] + [Cmdlet("Update", "IntuneMobileAppContentVersion", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.mobileAppContent")] [ODataType("microsoft.graph.mobileAppContent")] [ResourceTypePropertyName("contentVersionODataType")] - public class Update_DeviceAppManagement_MobileApps_ContentVersions : PatchCmdlet + public class Update_IntuneMobileAppContentVersion : PatchCmdlet { /// /// The ID for a "microsoft.graph.mobileAppContent" object in the "contentVersions" collection. @@ -206,10 +206,10 @@ internal override System.String GetResourcePath() /// The list of content versions for this app. /// /// GitHub Repository - [Cmdlet("Remove", "DeviceAppManagement_MobileApps_ContentVersions", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Remove", "IntuneMobileAppContentVersion", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.mobileAppContent")] [ResourceTypePropertyName("contentVersionODataType")] - public class Remove_DeviceAppManagement_MobileApps_ContentVersions : DeleteCmdlet + public class Remove_IntuneMobileAppContentVersion : DeleteCmdlet { /// /// The ID for a "microsoft.graph.mobileAppContent" object in the "contentVersions" collection. diff --git a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/MobileApps/ContentVersions/Files.cs b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/MobileApps/ContentVersions/Files.cs index 3acffcc..4aa8bfb 100644 --- a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/MobileApps/ContentVersions/Files.cs +++ b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/MobileApps/ContentVersions/Files.cs @@ -11,11 +11,11 @@ namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets /// The list of files for this app content version. /// /// GitHub Repository - [Cmdlet("Get", "DeviceAppManagement_MobileApps_ContentVersions_Files", DefaultParameterSetName = @"Search")] + [Cmdlet("Get", "IntuneMobileAppContentVersionFile", DefaultParameterSetName = @"Search")] [ODataType("microsoft.graph.mobileAppContentFile")] [ResourceTypePropertyName("fileODataType")] [ResourceReference] - public class Get_DeviceAppManagement_MobileApps_ContentVersions_Files : GetOrSearchCmdlet + public class Get_IntuneMobileAppContentVersionFile : GetOrSearchCmdlet { /// /// A required ID for referencing a "microsoft.graph.mobileApp" object in the "mobileApps" collection. @@ -165,11 +165,11 @@ internal override System.String GetResourcePath() /// The list of files for this app content version. /// /// GitHub Repository - [Cmdlet("New", "DeviceAppManagement_MobileApps_ContentVersions_Files", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.mobileAppContentFile")] + [Cmdlet("New", "IntuneMobileAppContentVersionFile", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.mobileAppContentFile")] [ODataType("microsoft.graph.mobileAppContentFile")] [ResourceTypePropertyName("fileODataType")] [ResourceReference] - public class New_DeviceAppManagement_MobileApps_ContentVersions_Files : PostCmdlet + public class New_IntuneMobileAppContentVersionFile : PostCmdlet { /// /// The ID for a "microsoft.graph.mobileAppContentFile" object in the "files" collection. @@ -331,10 +331,10 @@ internal override System.String GetResourcePath() /// The list of files for this app content version. /// /// GitHub Repository - [Cmdlet("Update", "DeviceAppManagement_MobileApps_ContentVersions_Files", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.mobileAppContentFile")] + [Cmdlet("Update", "IntuneMobileAppContentVersionFile", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.mobileAppContentFile")] [ODataType("microsoft.graph.mobileAppContentFile")] [ResourceTypePropertyName("fileODataType")] - public class Update_DeviceAppManagement_MobileApps_ContentVersions_Files : PatchCmdlet + public class Update_IntuneMobileAppContentVersionFile : PatchCmdlet { /// /// The ID for a "microsoft.graph.mobileAppContentFile" object in the "files" collection. @@ -498,10 +498,10 @@ internal override System.String GetResourcePath() /// The list of files for this app content version. /// /// GitHub Repository - [Cmdlet("Remove", "DeviceAppManagement_MobileApps_ContentVersions_Files", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Remove", "IntuneMobileAppContentVersionFile", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.mobileAppContentFile")] [ResourceTypePropertyName("fileODataType")] - public class Remove_DeviceAppManagement_MobileApps_ContentVersions_Files : DeleteCmdlet + public class Remove_IntuneMobileAppContentVersionFile : DeleteCmdlet { /// /// The ID for a "microsoft.graph.mobileAppContentFile" object in the "files" collection. @@ -560,10 +560,10 @@ internal override System.String GetResourcePath() /// This action does not return any objects. /// /// GitHub Repository - [Cmdlet("Invoke", "DeviceAppManagement_MobileApps_ContentVersions_Files_Commit", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Invoke", "IntuneMobileAppContentVersionFileCommit", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.mobileAppContentFile")] [ResourceTypePropertyName("fileODataType")] - public class Invoke_DeviceAppManagement_MobileApps_ContentVersions_Files_Commit : ActionCmdlet + public class Invoke_IntuneMobileAppContentVersionFileCommit : ActionCmdlet { /// /// The "fileEncryptionInfo" action parameter of type "microsoft.graph.fileEncryptionInfo". @@ -631,10 +631,10 @@ internal override System.String GetResourcePath() /// This action does not return any objects. /// /// GitHub Repository - [Cmdlet("Invoke", "DeviceAppManagement_MobileApps_ContentVersions_Files_RenewUpload", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Invoke", "IntuneMobileAppContentVersionRenewUpload", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.mobileAppContentFile")] [ResourceTypePropertyName("fileODataType")] - public class Invoke_DeviceAppManagement_MobileApps_ContentVersions_Files_RenewUpload : ActionCmdlet + public class Invoke_IntuneMobileAppContentVersionRenewUpload : ActionCmdlet { /// /// The ID for a "microsoft.graph.mobileAppContentFile" object in the "files" collection. diff --git a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/TargetedManagedAppConfigurations.cs b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/TargetedManagedAppConfigurations.cs index a98d530..ec09f6e 100644 --- a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/TargetedManagedAppConfigurations.cs +++ b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/TargetedManagedAppConfigurations.cs @@ -11,11 +11,11 @@ namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets /// Targeted managed app configurations. /// /// GitHub Repository - [Cmdlet("Get", "DeviceAppManagement_TargetedManagedAppConfigurations", DefaultParameterSetName = @"Search")] + [Cmdlet("Get", "IntuneAppConfigurationPolicyTargeted", DefaultParameterSetName = @"Search")] [ODataType("microsoft.graph.targetedManagedAppConfiguration")] [ResourceTypePropertyName("targetedManagedAppConfigurationODataType")] [ResourceReference] - public class Get_DeviceAppManagement_TargetedManagedAppConfigurations : GetOrSearchCmdlet + public class Get_IntuneAppConfigurationPolicyTargeted : GetOrSearchCmdlet { /// /// The ID for a "microsoft.graph.targetedManagedAppConfiguration" object in the "targetedManagedAppConfigurations" collection. @@ -151,11 +151,11 @@ internal override System.String GetResourcePath() /// Targeted managed app configurations. /// /// GitHub Repository - [Cmdlet("New", "DeviceAppManagement_TargetedManagedAppConfigurations", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.targetedManagedAppConfiguration")] + [Cmdlet("New", "IntuneAppConfigurationPolicyTargeted", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.targetedManagedAppConfiguration")] [ODataType("microsoft.graph.targetedManagedAppConfiguration")] [ResourceTypePropertyName("targetedManagedAppConfigurationODataType")] [ResourceReference] - public class New_DeviceAppManagement_TargetedManagedAppConfigurations : PostCmdlet + public class New_IntuneAppConfigurationPolicyTargeted : PostCmdlet { /// /// The ID for a "microsoft.graph.targetedManagedAppConfiguration" object in the "targetedManagedAppConfigurations" collection. @@ -306,10 +306,10 @@ internal override System.String GetResourcePath() /// Targeted managed app configurations. /// /// GitHub Repository - [Cmdlet("Update", "DeviceAppManagement_TargetedManagedAppConfigurations", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.targetedManagedAppConfiguration")] + [Cmdlet("Update", "IntuneAppConfigurationPolicyTargeted", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.targetedManagedAppConfiguration")] [ODataType("microsoft.graph.targetedManagedAppConfiguration")] [ResourceTypePropertyName("targetedManagedAppConfigurationODataType")] - public class Update_DeviceAppManagement_TargetedManagedAppConfigurations : PatchCmdlet + public class Update_IntuneAppConfigurationPolicyTargeted : PatchCmdlet { /// /// The ID for a "microsoft.graph.targetedManagedAppConfiguration" object in the "targetedManagedAppConfigurations" collection. @@ -462,10 +462,10 @@ internal override System.String GetResourcePath() /// Targeted managed app configurations. /// /// GitHub Repository - [Cmdlet("Remove", "DeviceAppManagement_TargetedManagedAppConfigurations", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Remove", "IntuneAppConfigurationPolicyTargeted", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.targetedManagedAppConfiguration")] [ResourceTypePropertyName("targetedManagedAppConfigurationODataType")] - public class Remove_DeviceAppManagement_TargetedManagedAppConfigurations : DeleteCmdlet + public class Remove_IntuneAppConfigurationPolicyTargeted : DeleteCmdlet { /// /// The ID for a "microsoft.graph.targetedManagedAppConfiguration" object in the "targetedManagedAppConfigurations" collection. @@ -490,10 +490,10 @@ internal override System.String GetResourcePath() /// This action does not return any objects. /// /// GitHub Repository - [Cmdlet("Invoke", "DeviceAppManagement_TargetedManagedAppConfigurations_Assign", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Invoke", "IntuneAppConfigurationPolicyTargetedAssign", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.targetedManagedAppConfiguration")] [ResourceTypePropertyName("targetedManagedAppConfigurationODataType")] - public class Invoke_DeviceAppManagement_TargetedManagedAppConfigurations_Assign : ActionCmdlet + public class Invoke_IntuneAppConfigurationPolicyTargetedAssign : ActionCmdlet { /// /// The "assignments" action parameter of type "microsoft.graph.targetedManagedAppPolicyAssignment". @@ -528,10 +528,10 @@ internal override System.String GetResourcePath() /// This action does not return any objects. /// /// GitHub Repository - [Cmdlet("Invoke", "DeviceAppManagement_TargetedManagedAppConfigurations_TargetApps", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Invoke", "IntuneAppConfigurationPolicyTargetedTargetedApp", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.targetedManagedAppConfiguration")] [ResourceTypePropertyName("targetedManagedAppConfigurationODataType")] - public class Invoke_DeviceAppManagement_TargetedManagedAppConfigurations_TargetApps : ActionCmdlet + public class Invoke_IntuneAppConfigurationPolicyTargetedTargetedApp : ActionCmdlet { /// /// The "apps" action parameter of type "microsoft.graph.managedMobileApp". diff --git a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/TargetedManagedAppConfigurations/Apps.cs b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/TargetedManagedAppConfigurations/Apps.cs index 951e228..fb30a7a 100644 --- a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/TargetedManagedAppConfigurations/Apps.cs +++ b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/TargetedManagedAppConfigurations/Apps.cs @@ -11,11 +11,11 @@ namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets /// List of apps to which the policy is deployed. /// /// GitHub Repository - [Cmdlet("Get", "DeviceAppManagement_TargetedManagedAppConfigurations_Apps", DefaultParameterSetName = @"Search")] + [Cmdlet("Get", "IntuneAppConfigurationPolicyTargetedApp", DefaultParameterSetName = @"Search")] [ODataType("microsoft.graph.managedMobileApp")] [ResourceTypePropertyName("appODataType")] [ResourceReference] - public class Get_DeviceAppManagement_TargetedManagedAppConfigurations_Apps : GetOrSearchCmdlet + public class Get_IntuneAppConfigurationPolicyTargetedApp : GetOrSearchCmdlet { /// /// A required ID for referencing a "microsoft.graph.targetedManagedAppConfiguration" object in the "targetedManagedAppConfigurations" collection. @@ -71,11 +71,11 @@ internal override System.String GetResourcePath() /// List of apps to which the policy is deployed. /// /// GitHub Repository - [Cmdlet("New", "DeviceAppManagement_TargetedManagedAppConfigurations_Apps", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.managedMobileApp")] + [Cmdlet("New", "IntuneAppConfigurationPolicyTargetedApp", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.managedMobileApp")] [ODataType("microsoft.graph.managedMobileApp")] [ResourceTypePropertyName("appODataType")] [ResourceReference] - public class New_DeviceAppManagement_TargetedManagedAppConfigurations_Apps : PostCmdlet + public class New_IntuneAppConfigurationPolicyTargetedApp : PostCmdlet { /// /// The ID for a "microsoft.graph.managedMobileApp" object in the "apps" collection. @@ -131,10 +131,10 @@ internal override System.String GetResourcePath() /// List of apps to which the policy is deployed. /// /// GitHub Repository - [Cmdlet("Update", "DeviceAppManagement_TargetedManagedAppConfigurations_Apps", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.managedMobileApp")] + [Cmdlet("Update", "IntuneAppConfigurationPolicyTargetedApp", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.managedMobileApp")] [ODataType("microsoft.graph.managedMobileApp")] [ResourceTypePropertyName("appODataType")] - public class Update_DeviceAppManagement_TargetedManagedAppConfigurations_Apps : PatchCmdlet + public class Update_IntuneAppConfigurationPolicyTargetedApp : PatchCmdlet { /// /// The ID for a "microsoft.graph.managedMobileApp" object in the "apps" collection. @@ -192,10 +192,10 @@ internal override System.String GetResourcePath() /// List of apps to which the policy is deployed. /// /// GitHub Repository - [Cmdlet("Remove", "DeviceAppManagement_TargetedManagedAppConfigurations_Apps", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Remove", "IntuneAppConfigurationPolicyTargetedApp", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.managedMobileApp")] [ResourceTypePropertyName("appODataType")] - public class Remove_DeviceAppManagement_TargetedManagedAppConfigurations_Apps : DeleteCmdlet + public class Remove_IntuneAppConfigurationPolicyTargetedApp : DeleteCmdlet { /// /// The ID for a "microsoft.graph.managedMobileApp" object in the "apps" collection. diff --git a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/TargetedManagedAppConfigurations/Assignments.cs b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/TargetedManagedAppConfigurations/Assignments.cs index 9764d90..91cd30f 100644 --- a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/TargetedManagedAppConfigurations/Assignments.cs +++ b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/TargetedManagedAppConfigurations/Assignments.cs @@ -11,11 +11,11 @@ namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets /// Navigation property to list of inclusion and exclusion groups to which the policy is deployed. /// /// GitHub Repository - [Cmdlet("Get", "DeviceAppManagement_TargetedManagedAppConfigurations_Assignments", DefaultParameterSetName = @"Search")] + [Cmdlet("Get", "IntuneAppConfigurationPolicyTargetedAssignment", DefaultParameterSetName = @"Search")] [ODataType("microsoft.graph.targetedManagedAppPolicyAssignment")] [ResourceTypePropertyName("assignmentODataType")] [ResourceReference] - public class Get_DeviceAppManagement_TargetedManagedAppConfigurations_Assignments : GetOrSearchCmdlet + public class Get_IntuneAppConfigurationPolicyTargetedAssignment : GetOrSearchCmdlet { /// /// A required ID for referencing a "microsoft.graph.targetedManagedAppConfiguration" object in the "targetedManagedAppConfigurations" collection. @@ -61,11 +61,11 @@ internal override System.String GetResourcePath() /// Navigation property to list of inclusion and exclusion groups to which the policy is deployed. /// /// GitHub Repository - [Cmdlet("New", "DeviceAppManagement_TargetedManagedAppConfigurations_Assignments", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.targetedManagedAppPolicyAssignment")] + [Cmdlet("New", "IntuneAppConfigurationPolicyTargetedAssignment", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.targetedManagedAppPolicyAssignment")] [ODataType("microsoft.graph.targetedManagedAppPolicyAssignment")] [ResourceTypePropertyName("assignmentODataType")] [ResourceReference] - public class New_DeviceAppManagement_TargetedManagedAppConfigurations_Assignments : PostCmdlet + public class New_IntuneAppConfigurationPolicyTargetedAssignment : PostCmdlet { /// /// The ID for a "microsoft.graph.targetedManagedAppPolicyAssignment" object in the "assignments" collection. @@ -110,10 +110,10 @@ internal override System.String GetResourcePath() /// Navigation property to list of inclusion and exclusion groups to which the policy is deployed. /// /// GitHub Repository - [Cmdlet("Update", "DeviceAppManagement_TargetedManagedAppConfigurations_Assignments", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.targetedManagedAppPolicyAssignment")] + [Cmdlet("Update", "IntuneAppConfigurationPolicyTargetedAssignment", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.targetedManagedAppPolicyAssignment")] [ODataType("microsoft.graph.targetedManagedAppPolicyAssignment")] [ResourceTypePropertyName("assignmentODataType")] - public class Update_DeviceAppManagement_TargetedManagedAppConfigurations_Assignments : PatchCmdlet + public class Update_IntuneAppConfigurationPolicyTargetedAssignment : PatchCmdlet { /// /// The ID for a "microsoft.graph.targetedManagedAppPolicyAssignment" object in the "assignments" collection. @@ -160,10 +160,10 @@ internal override System.String GetResourcePath() /// Navigation property to list of inclusion and exclusion groups to which the policy is deployed. /// /// GitHub Repository - [Cmdlet("Remove", "DeviceAppManagement_TargetedManagedAppConfigurations_Assignments", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Remove", "IntuneAppConfigurationPolicyTargetedAssignment", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.targetedManagedAppPolicyAssignment")] [ResourceTypePropertyName("assignmentODataType")] - public class Remove_DeviceAppManagement_TargetedManagedAppConfigurations_Assignments : DeleteCmdlet + public class Remove_IntuneAppConfigurationPolicyTargetedAssignment : DeleteCmdlet { /// /// The ID for a "microsoft.graph.targetedManagedAppPolicyAssignment" object in the "assignments" collection. diff --git a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/TargetedManagedAppConfigurations/DeploymentSummary.cs b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/TargetedManagedAppConfigurations/DeploymentSummary.cs index 9b41d0b..0cd4792 100644 --- a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/TargetedManagedAppConfigurations/DeploymentSummary.cs +++ b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/TargetedManagedAppConfigurations/DeploymentSummary.cs @@ -11,11 +11,11 @@ namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets /// Navigation property to deployment summary of the configuration. /// /// GitHub Repository - [Cmdlet("Get", "DeviceAppManagement_TargetedManagedAppConfigurations_DeploymentSummary", DefaultParameterSetName = @"Get")] + [Cmdlet("Get", "IntuneAppConfigurationPolicyTargetedDeploymentSummary", DefaultParameterSetName = @"Get")] [ODataType("microsoft.graph.managedAppPolicyDeploymentSummary")] [ResourceTypePropertyName("deploymentSummaryODataType")] [ResourceReference] - public class Get_DeviceAppManagement_TargetedManagedAppConfigurations_DeploymentSummary : GetCmdlet + public class Get_IntuneAppConfigurationPolicyTargetedDeploymentSummary : GetCmdlet { /// /// A required ID for referencing a "microsoft.graph.targetedManagedAppConfiguration" object in the "targetedManagedAppConfigurations" collection. @@ -85,11 +85,11 @@ internal override System.String GetResourcePath() /// Navigation property to deployment summary of the configuration. /// /// GitHub Repository - [Cmdlet("New", "DeviceAppManagement_TargetedManagedAppConfigurations_DeploymentSummary", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.managedAppPolicyDeploymentSummary")] + [Cmdlet("New", "IntuneAppConfigurationPolicyTargetedDeploymentSummary", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.managedAppPolicyDeploymentSummary")] [ODataType("microsoft.graph.managedAppPolicyDeploymentSummary")] [ResourceTypePropertyName("deploymentSummaryODataType")] [ResourceReference] - public class New_DeviceAppManagement_TargetedManagedAppConfigurations_DeploymentSummary : PostCmdlet + public class New_IntuneAppConfigurationPolicyTargetedDeploymentSummary : PostCmdlet { /// /// A required ID for referencing a "microsoft.graph.targetedManagedAppConfiguration" object in the "targetedManagedAppConfigurations" collection. @@ -166,10 +166,10 @@ internal override System.String GetResourcePath() /// Navigation property to deployment summary of the configuration. /// /// GitHub Repository - [Cmdlet("Update", "DeviceAppManagement_TargetedManagedAppConfigurations_DeploymentSummary", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.managedAppPolicyDeploymentSummary")] + [Cmdlet("Update", "IntuneAppConfigurationPolicyTargetedDeploymentSummary", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.managedAppPolicyDeploymentSummary")] [ODataType("microsoft.graph.managedAppPolicyDeploymentSummary")] [ResourceTypePropertyName("deploymentSummaryODataType")] - public class Update_DeviceAppManagement_TargetedManagedAppConfigurations_DeploymentSummary : PatchCmdlet + public class Update_IntuneAppConfigurationPolicyTargetedDeploymentSummary : PatchCmdlet { /// /// A required ID for referencing a "microsoft.graph.targetedManagedAppConfiguration" object in the "targetedManagedAppConfigurations" collection. @@ -246,10 +246,10 @@ internal override System.String GetResourcePath() /// Navigation property to deployment summary of the configuration. /// /// GitHub Repository - [Cmdlet("Remove", "DeviceAppManagement_TargetedManagedAppConfigurations_DeploymentSummary", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Remove", "IntuneAppConfigurationPolicyTargetedDeploymentSummary", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.managedAppPolicyDeploymentSummary")] [ResourceTypePropertyName("deploymentSummaryODataType")] - public class Remove_DeviceAppManagement_TargetedManagedAppConfigurations_DeploymentSummary : DeleteCmdlet + public class Remove_IntuneAppConfigurationPolicyTargetedDeploymentSummary : DeleteCmdlet { /// /// A required ID for referencing a "microsoft.graph.targetedManagedAppConfiguration" object in the "targetedManagedAppConfigurations" collection. diff --git a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/VppTokens.cs b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/VppTokens.cs index 7c83879..e11ed84 100644 --- a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/VppTokens.cs +++ b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/VppTokens.cs @@ -11,11 +11,11 @@ namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets /// List of Vpp tokens for this organization. /// /// GitHub Repository - [Cmdlet("Get", "DeviceAppManagement_VppTokens", DefaultParameterSetName = @"Search")] + [Cmdlet("Get", "IntuneVppToken", DefaultParameterSetName = @"Search")] [ODataType("microsoft.graph.vppToken")] [ResourceTypePropertyName("vppTokenODataType")] [ResourceReference] - public class Get_DeviceAppManagement_VppTokens : GetOrSearchCmdlet + public class Get_IntuneVppToken : GetOrSearchCmdlet { /// /// The ID for a "microsoft.graph.vppToken" object in the "vppTokens" collection. @@ -151,11 +151,11 @@ internal override System.String GetResourcePath() /// List of Vpp tokens for this organization. /// /// GitHub Repository - [Cmdlet("New", "DeviceAppManagement_VppTokens", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.vppToken")] + [Cmdlet("New", "IntuneVppToken", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.vppToken")] [ODataType("microsoft.graph.vppToken")] [ResourceTypePropertyName("vppTokenODataType")] [ResourceReference] - public class New_DeviceAppManagement_VppTokens : PostCmdlet + public class New_IntuneVppToken : PostCmdlet { /// /// The ID for a "microsoft.graph.vppToken" object in the "vppTokens" collection. @@ -312,10 +312,10 @@ internal override System.String GetResourcePath() /// List of Vpp tokens for this organization. /// /// GitHub Repository - [Cmdlet("Update", "DeviceAppManagement_VppTokens", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.vppToken")] + [Cmdlet("Update", "IntuneVppToken", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.vppToken")] [ODataType("microsoft.graph.vppToken")] [ResourceTypePropertyName("vppTokenODataType")] - public class Update_DeviceAppManagement_VppTokens : PatchCmdlet + public class Update_IntuneVppToken : PatchCmdlet { /// /// The ID for a "microsoft.graph.vppToken" object in the "vppTokens" collection. @@ -474,10 +474,10 @@ internal override System.String GetResourcePath() /// List of Vpp tokens for this organization. /// /// GitHub Repository - [Cmdlet("Remove", "DeviceAppManagement_VppTokens", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Remove", "IntuneVppToken", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.vppToken")] [ResourceTypePropertyName("vppTokenODataType")] - public class Remove_DeviceAppManagement_VppTokens : DeleteCmdlet + public class Remove_IntuneVppToken : DeleteCmdlet { /// /// The ID for a "microsoft.graph.vppToken" object in the "vppTokens" collection. @@ -502,10 +502,10 @@ internal override System.String GetResourcePath() /// This action returns a "microsoft.graph.vppToken" object. /// /// GitHub Repository - [Cmdlet("Invoke", "DeviceAppManagement_VppTokens_SyncLicenses", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Invoke", "IntuneVppTokenSyncLicense", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.vppToken")] [ResourceTypePropertyName("vppTokenODataType")] - public class Invoke_DeviceAppManagement_VppTokens_SyncLicenses : ActionCmdlet + public class Invoke_IntuneVppTokenSyncLicense : ActionCmdlet { /// /// The ID for a "microsoft.graph.vppToken" object in the "vppTokens" collection. diff --git a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/WindowsInformationProtectionPolicies.cs b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/WindowsInformationProtectionPolicies.cs index 7c40a69..4097aba 100644 --- a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/WindowsInformationProtectionPolicies.cs +++ b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/WindowsInformationProtectionPolicies.cs @@ -11,11 +11,11 @@ namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets /// Windows information protection for apps running on devices which are not MDM enrolled. /// /// GitHub Repository - [Cmdlet("Get", "DeviceAppManagement_WindowsInformationProtectionPolicies", DefaultParameterSetName = @"Search")] + [Cmdlet("Get", "IntuneWindowsInformationProtectionPolicy", DefaultParameterSetName = @"Search")] [ODataType("microsoft.graph.windowsInformationProtectionPolicy")] [ResourceTypePropertyName("windowsInformationProtectionPolicyODataType")] [ResourceReference] - public class Get_DeviceAppManagement_WindowsInformationProtectionPolicies : GetOrSearchCmdlet + public class Get_IntuneWindowsInformationProtectionPolicy : GetOrSearchCmdlet { /// /// The ID for a "microsoft.graph.windowsInformationProtectionPolicy" object in the "windowsInformationProtectionPolicies" collection. @@ -451,11 +451,11 @@ internal override System.String GetResourcePath() /// Windows information protection for apps running on devices which are not MDM enrolled. /// /// GitHub Repository - [Cmdlet("New", "DeviceAppManagement_WindowsInformationProtectionPolicies", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy")] + [Cmdlet("New", "IntuneWindowsInformationProtectionPolicy", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy")] [ODataType("microsoft.graph.windowsInformationProtectionPolicy")] [ResourceTypePropertyName("windowsInformationProtectionPolicyODataType")] [ResourceReference] - public class New_DeviceAppManagement_WindowsInformationProtectionPolicies : PostCmdlet + public class New_IntuneWindowsInformationProtectionPolicy : PostCmdlet { /// /// The ID for a "microsoft.graph.windowsInformationProtectionPolicy" object in the "windowsInformationProtectionPolicies" collection. @@ -973,10 +973,10 @@ internal override System.String GetResourcePath() /// Windows information protection for apps running on devices which are not MDM enrolled. /// /// GitHub Repository - [Cmdlet("Update", "DeviceAppManagement_WindowsInformationProtectionPolicies", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy")] + [Cmdlet("Update", "IntuneWindowsInformationProtectionPolicy", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.windowsInformationProtectionPolicy")] [ODataType("microsoft.graph.windowsInformationProtectionPolicy")] [ResourceTypePropertyName("windowsInformationProtectionPolicyODataType")] - public class Update_DeviceAppManagement_WindowsInformationProtectionPolicies : PatchCmdlet + public class Update_IntuneWindowsInformationProtectionPolicy : PatchCmdlet { /// /// The ID for a "microsoft.graph.windowsInformationProtectionPolicy" object in the "windowsInformationProtectionPolicies" collection. @@ -1496,10 +1496,10 @@ internal override System.String GetResourcePath() /// Windows information protection for apps running on devices which are not MDM enrolled. /// /// GitHub Repository - [Cmdlet("Remove", "DeviceAppManagement_WindowsInformationProtectionPolicies", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Remove", "IntuneWindowsInformationProtectionPolicy", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.windowsInformationProtectionPolicy")] [ResourceTypePropertyName("windowsInformationProtectionPolicyODataType")] - public class Remove_DeviceAppManagement_WindowsInformationProtectionPolicies : DeleteCmdlet + public class Remove_IntuneWindowsInformationProtectionPolicy : DeleteCmdlet { /// /// The ID for a "microsoft.graph.windowsInformationProtectionPolicy" object in the "windowsInformationProtectionPolicies" collection. @@ -1524,10 +1524,10 @@ internal override System.String GetResourcePath() /// This action does not return any objects. /// /// GitHub Repository - [Cmdlet("Invoke", "DeviceAppManagement_WindowsInformationProtectionPolicies_Assign", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Invoke", "IntuneWindowsInformationProtectionPolicyAssign", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.windowsInformationProtectionPolicy")] [ResourceTypePropertyName("windowsInformationProtectionPolicyODataType")] - public class Invoke_DeviceAppManagement_WindowsInformationProtectionPolicies_Assign : ActionCmdlet + public class Invoke_IntuneWindowsInformationProtectionPolicyAssign : ActionCmdlet { /// /// The "assignments" action parameter of type "microsoft.graph.targetedManagedAppPolicyAssignment". @@ -1562,10 +1562,10 @@ internal override System.String GetResourcePath() /// This action does not return any objects. /// /// GitHub Repository - [Cmdlet("Invoke", "DeviceAppManagement_WindowsInformationProtectionPolicies_TargetApps", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Invoke", "IntuneWindowsInformationProtectionPolicyTargetApp", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.windowsInformationProtectionPolicy")] [ResourceTypePropertyName("windowsInformationProtectionPolicyODataType")] - public class Invoke_DeviceAppManagement_WindowsInformationProtectionPolicies_TargetApps : ActionCmdlet + public class Invoke_IntuneWindowsInformationProtectionPolicyTargetApp : ActionCmdlet { /// /// The "apps" action parameter of type "microsoft.graph.managedMobileApp". diff --git a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/WindowsInformationProtectionPolicies/Assignments.cs b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/WindowsInformationProtectionPolicies/Assignments.cs index f2db859..479ca77 100644 --- a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/WindowsInformationProtectionPolicies/Assignments.cs +++ b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/WindowsInformationProtectionPolicies/Assignments.cs @@ -11,11 +11,11 @@ namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets /// Navigation property to list of security groups targeted for policy. /// /// GitHub Repository - [Cmdlet("Get", "DeviceAppManagement_WindowsInformationProtectionPolicies_Assignments", DefaultParameterSetName = @"Search")] + [Cmdlet("Get", "IntuneWindowsInformationProtectionPolicyAssignment", DefaultParameterSetName = @"Search")] [ODataType("microsoft.graph.targetedManagedAppPolicyAssignment")] [ResourceTypePropertyName("assignmentODataType")] [ResourceReference] - public class Get_DeviceAppManagement_WindowsInformationProtectionPolicies_Assignments : GetOrSearchCmdlet + public class Get_IntuneWindowsInformationProtectionPolicyAssignment : GetOrSearchCmdlet { /// /// A required ID for referencing a "microsoft.graph.windowsInformationProtectionPolicy" object in the "windowsInformationProtectionPolicies" collection. @@ -75,11 +75,11 @@ internal override System.String GetResourcePath() /// Navigation property to list of security groups targeted for policy. /// /// GitHub Repository - [Cmdlet("New", "DeviceAppManagement_WindowsInformationProtectionPolicies_Assignments", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.targetedManagedAppPolicyAssignment")] + [Cmdlet("New", "IntuneWindowsInformationProtectionPolicyAssignment", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.targetedManagedAppPolicyAssignment")] [ODataType("microsoft.graph.targetedManagedAppPolicyAssignment")] [ResourceTypePropertyName("assignmentODataType")] [ResourceReference] - public class New_DeviceAppManagement_WindowsInformationProtectionPolicies_Assignments : PostCmdlet + public class New_IntuneWindowsInformationProtectionPolicyAssignment : PostCmdlet { /// /// The ID for a "microsoft.graph.targetedManagedAppPolicyAssignment" object in the "assignments" collection. @@ -138,10 +138,10 @@ internal override System.String GetResourcePath() /// Navigation property to list of security groups targeted for policy. /// /// GitHub Repository - [Cmdlet("Update", "DeviceAppManagement_WindowsInformationProtectionPolicies_Assignments", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.targetedManagedAppPolicyAssignment")] + [Cmdlet("Update", "IntuneWindowsInformationProtectionPolicyAssignment", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.targetedManagedAppPolicyAssignment")] [ODataType("microsoft.graph.targetedManagedAppPolicyAssignment")] [ResourceTypePropertyName("assignmentODataType")] - public class Update_DeviceAppManagement_WindowsInformationProtectionPolicies_Assignments : PatchCmdlet + public class Update_IntuneWindowsInformationProtectionPolicyAssignment : PatchCmdlet { /// /// The ID for a "microsoft.graph.targetedManagedAppPolicyAssignment" object in the "assignments" collection. @@ -202,10 +202,10 @@ internal override System.String GetResourcePath() /// Navigation property to list of security groups targeted for policy. /// /// GitHub Repository - [Cmdlet("Remove", "DeviceAppManagement_WindowsInformationProtectionPolicies_Assignments", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Remove", "IntuneWindowsInformationProtectionPolicyAssignment", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.targetedManagedAppPolicyAssignment")] [ResourceTypePropertyName("assignmentODataType")] - public class Remove_DeviceAppManagement_WindowsInformationProtectionPolicies_Assignments : DeleteCmdlet + public class Remove_IntuneWindowsInformationProtectionPolicyAssignment : DeleteCmdlet { /// /// The ID for a "microsoft.graph.targetedManagedAppPolicyAssignment" object in the "assignments" collection. diff --git a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/WindowsInformationProtectionPolicies/ExemptAppLockerFiles.cs b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/WindowsInformationProtectionPolicies/ExemptAppLockerFiles.cs index 6bedd8f..5dd6c0a 100644 --- a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/WindowsInformationProtectionPolicies/ExemptAppLockerFiles.cs +++ b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/WindowsInformationProtectionPolicies/ExemptAppLockerFiles.cs @@ -11,11 +11,11 @@ namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets /// Another way to input exempt apps through xml files /// /// GitHub Repository - [Cmdlet("Get", "DeviceAppManagement_WindowsInformationProtectionPolicies_ExemptAppLockerFiles", DefaultParameterSetName = @"Search")] + [Cmdlet("Get", "IntuneWindowsInformationProtectionPolicyExemptAppLockerFile", DefaultParameterSetName = @"Search")] [ODataType("microsoft.graph.windowsInformationProtectionAppLockerFile")] [ResourceTypePropertyName("exemptAppLockerFileODataType")] [ResourceReference] - public class Get_DeviceAppManagement_WindowsInformationProtectionPolicies_ExemptAppLockerFiles : GetOrSearchCmdlet + public class Get_IntuneWindowsInformationProtectionPolicyExemptAppLockerFile : GetOrSearchCmdlet { /// /// A required ID for referencing a "microsoft.graph.windowsInformationProtectionPolicy" object in the "windowsInformationProtectionPolicies" collection. @@ -105,11 +105,11 @@ internal override System.String GetResourcePath() /// Another way to input exempt apps through xml files /// /// GitHub Repository - [Cmdlet("New", "DeviceAppManagement_WindowsInformationProtectionPolicies_ExemptAppLockerFiles", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.windowsInformationProtectionAppLockerFile")] + [Cmdlet("New", "IntuneWindowsInformationProtectionPolicyExemptAppLockerFile", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.windowsInformationProtectionAppLockerFile")] [ODataType("microsoft.graph.windowsInformationProtectionAppLockerFile")] [ResourceTypePropertyName("exemptAppLockerFileODataType")] [ResourceReference] - public class New_DeviceAppManagement_WindowsInformationProtectionPolicies_ExemptAppLockerFiles : PostCmdlet + public class New_IntuneWindowsInformationProtectionPolicyExemptAppLockerFile : PostCmdlet { /// /// The ID for a "microsoft.graph.windowsInformationProtectionAppLockerFile" object in the "exemptAppLockerFiles" collection. @@ -202,10 +202,10 @@ internal override System.String GetResourcePath() /// Another way to input exempt apps through xml files /// /// GitHub Repository - [Cmdlet("Update", "DeviceAppManagement_WindowsInformationProtectionPolicies_ExemptAppLockerFiles", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.windowsInformationProtectionAppLockerFile")] + [Cmdlet("Update", "IntuneWindowsInformationProtectionPolicyExemptAppLockerFile", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.windowsInformationProtectionAppLockerFile")] [ODataType("microsoft.graph.windowsInformationProtectionAppLockerFile")] [ResourceTypePropertyName("exemptAppLockerFileODataType")] - public class Update_DeviceAppManagement_WindowsInformationProtectionPolicies_ExemptAppLockerFiles : PatchCmdlet + public class Update_IntuneWindowsInformationProtectionPolicyExemptAppLockerFile : PatchCmdlet { /// /// The ID for a "microsoft.graph.windowsInformationProtectionAppLockerFile" object in the "exemptAppLockerFiles" collection. @@ -300,10 +300,10 @@ internal override System.String GetResourcePath() /// Another way to input exempt apps through xml files /// /// GitHub Repository - [Cmdlet("Remove", "DeviceAppManagement_WindowsInformationProtectionPolicies_ExemptAppLockerFiles", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Remove", "IntuneWindowsInformationProtectionPolicyExemptAppLockerFile", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.windowsInformationProtectionAppLockerFile")] [ResourceTypePropertyName("exemptAppLockerFileODataType")] - public class Remove_DeviceAppManagement_WindowsInformationProtectionPolicies_ExemptAppLockerFiles : DeleteCmdlet + public class Remove_IntuneWindowsInformationProtectionPolicyExemptAppLockerFile : DeleteCmdlet { /// /// The ID for a "microsoft.graph.windowsInformationProtectionAppLockerFile" object in the "exemptAppLockerFiles" collection. diff --git a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/WindowsInformationProtectionPolicies/ProtectedAppLockerFiles.cs b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/WindowsInformationProtectionPolicies/ProtectedAppLockerFiles.cs index c56802d..127223a 100644 --- a/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/WindowsInformationProtectionPolicies/ProtectedAppLockerFiles.cs +++ b/PowerShellCmdlets/Generated/SDK/DeviceAppManagement/WindowsInformationProtectionPolicies/ProtectedAppLockerFiles.cs @@ -11,11 +11,11 @@ namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets /// Another way to input protected apps through xml files /// /// GitHub Repository - [Cmdlet("Get", "DeviceAppManagement_WindowsInformationProtectionPolicies_ProtectedAppLockerFiles", DefaultParameterSetName = @"Search")] + [Cmdlet("Get", "IntuneWindowsInformationProtectionPolicyProtectedAppLockerFile", DefaultParameterSetName = @"Search")] [ODataType("microsoft.graph.windowsInformationProtectionAppLockerFile")] [ResourceTypePropertyName("protectedAppLockerFileODataType")] [ResourceReference] - public class Get_DeviceAppManagement_WindowsInformationProtectionPolicies_ProtectedAppLockerFiles : GetOrSearchCmdlet + public class Get_IntuneWindowsInformationProtectionPolicyProtectedAppLockerFile : GetOrSearchCmdlet { /// /// A required ID for referencing a "microsoft.graph.windowsInformationProtectionPolicy" object in the "windowsInformationProtectionPolicies" collection. @@ -105,11 +105,11 @@ internal override System.String GetResourcePath() /// Another way to input protected apps through xml files /// /// GitHub Repository - [Cmdlet("New", "DeviceAppManagement_WindowsInformationProtectionPolicies_ProtectedAppLockerFiles", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.windowsInformationProtectionAppLockerFile")] + [Cmdlet("New", "IntuneWindowsInformationProtectionPolicyProtectedAppLockerFile", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.windowsInformationProtectionAppLockerFile")] [ODataType("microsoft.graph.windowsInformationProtectionAppLockerFile")] [ResourceTypePropertyName("protectedAppLockerFileODataType")] [ResourceReference] - public class New_DeviceAppManagement_WindowsInformationProtectionPolicies_ProtectedAppLockerFiles : PostCmdlet + public class New_IntuneWindowsInformationProtectionPolicyProtectedAppLockerFile : PostCmdlet { /// /// The ID for a "microsoft.graph.windowsInformationProtectionAppLockerFile" object in the "protectedAppLockerFiles" collection. @@ -202,10 +202,10 @@ internal override System.String GetResourcePath() /// Another way to input protected apps through xml files /// /// GitHub Repository - [Cmdlet("Update", "DeviceAppManagement_WindowsInformationProtectionPolicies_ProtectedAppLockerFiles", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.windowsInformationProtectionAppLockerFile")] + [Cmdlet("Update", "IntuneWindowsInformationProtectionPolicyProtectedAppLockerFile", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.windowsInformationProtectionAppLockerFile")] [ODataType("microsoft.graph.windowsInformationProtectionAppLockerFile")] [ResourceTypePropertyName("protectedAppLockerFileODataType")] - public class Update_DeviceAppManagement_WindowsInformationProtectionPolicies_ProtectedAppLockerFiles : PatchCmdlet + public class Update_IntuneWindowsInformationProtectionPolicyProtectedAppLockerFile : PatchCmdlet { /// /// The ID for a "microsoft.graph.windowsInformationProtectionAppLockerFile" object in the "protectedAppLockerFiles" collection. @@ -300,10 +300,10 @@ internal override System.String GetResourcePath() /// Another way to input protected apps through xml files /// /// GitHub Repository - [Cmdlet("Remove", "DeviceAppManagement_WindowsInformationProtectionPolicies_ProtectedAppLockerFiles", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Remove", "IntuneWindowsInformationProtectionPolicyProtectedAppLockerFile", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.windowsInformationProtectionAppLockerFile")] [ResourceTypePropertyName("protectedAppLockerFileODataType")] - public class Remove_DeviceAppManagement_WindowsInformationProtectionPolicies_ProtectedAppLockerFiles : DeleteCmdlet + public class Remove_IntuneWindowsInformationProtectionPolicyProtectedAppLockerFile : DeleteCmdlet { /// /// The ID for a "microsoft.graph.windowsInformationProtectionAppLockerFile" object in the "protectedAppLockerFiles" collection. diff --git a/PowerShellCmdlets/Generated/SDK/DeviceManagement.cs b/PowerShellCmdlets/Generated/SDK/DeviceManagement.cs index fb6b0c3..2e22c81 100644 --- a/PowerShellCmdlets/Generated/SDK/DeviceManagement.cs +++ b/PowerShellCmdlets/Generated/SDK/DeviceManagement.cs @@ -10,10 +10,10 @@ namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets /// Retrieves the "deviceManagement" object (which is of type "microsoft.graph.deviceManagement"). /// /// GitHub Repository - [Cmdlet("Get", "DeviceManagement", DefaultParameterSetName = @"Get")] + [Cmdlet("Get", "IntuneDeviceManagement", DefaultParameterSetName = @"Get")] [ODataType("microsoft.graph.deviceManagement")] [ResourceTypePropertyName("deviceManagementODataType")] - public class Get_DeviceManagement : GetCmdlet + public class Get_IntuneDeviceManagement : GetCmdlet { /// /// The "subscriptionState" property, of type "microsoft.graph.deviceManagementSubscriptionState". @@ -333,10 +333,10 @@ internal override System.String GetResourcePath() /// Creates the "deviceManagement" object (which is of type "microsoft.graph.deviceManagement"). /// /// GitHub Repository - [Cmdlet("New", "DeviceManagement", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.deviceManagement")] + [Cmdlet("New", "IntuneDeviceManagement", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.deviceManagement")] [ODataType("microsoft.graph.deviceManagement")] [ResourceTypePropertyName("deviceManagementODataType")] - public class New_DeviceManagement : PostCmdlet + public class New_IntuneDeviceManagement : PostCmdlet { /// /// The "subscriptionState" property, of type "microsoft.graph.deviceManagementSubscriptionState". @@ -732,10 +732,10 @@ internal override System.String GetResourcePath() /// Updates the "deviceManagement" object (which is of type "microsoft.graph.deviceManagement"). /// /// GitHub Repository - [Cmdlet("Update", "DeviceManagement", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.deviceManagement")] + [Cmdlet("Update", "IntuneDeviceManagement", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.deviceManagement")] [ODataType("microsoft.graph.deviceManagement")] [ResourceTypePropertyName("deviceManagementODataType")] - public class Update_DeviceManagement : PatchCmdlet + public class Update_IntuneDeviceManagement : PatchCmdlet { /// /// The "subscriptionState" property, of type "microsoft.graph.deviceManagementSubscriptionState". @@ -1131,10 +1131,10 @@ internal override System.String GetResourcePath() /// Removes the "deviceManagement" object (which is of type "microsoft.graph.deviceManagement"). /// /// GitHub Repository - [Cmdlet("Remove", "DeviceManagement", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Remove", "IntuneDeviceManagement", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.deviceManagement")] [ResourceTypePropertyName("deviceManagementODataType")] - public class Remove_DeviceManagement : DeleteCmdlet + public class Remove_IntuneDeviceManagement : DeleteCmdlet { internal override System.String GetResourcePath() { @@ -1148,10 +1148,10 @@ internal override System.String GetResourcePath() /// This function returns a "Edm.Boolean" object. /// /// GitHub Repository - [Cmdlet("Invoke", "DeviceManagement_VerifyWindowsEnrollmentAutoDiscovery", DefaultParameterSetName = @"Get")] + [Cmdlet("Invoke", "IntuneVerifyWindowsEnrollmentAutoDiscovery", DefaultParameterSetName = @"Get")] [ODataType("microsoft.graph.deviceManagement")] [ResourceTypePropertyName("deviceManagementODataType")] - public class Invoke_DeviceManagement_VerifyWindowsEnrollmentAutoDiscovery : FunctionReturningEntityCmdlet + public class Invoke_IntuneVerifyWindowsEnrollmentAutoDiscovery : FunctionReturningEntityCmdlet { /// /// The "domainName" function parameter of type "Edm.String". @@ -1174,10 +1174,10 @@ internal override System.String GetResourcePath() /// This function returns a collection of "microsoft.graph.rolePermission" objects. /// /// GitHub Repository - [Cmdlet("Invoke", "DeviceManagement_GetEffectivePermissions", DefaultParameterSetName = @"Search")] + [Cmdlet("Invoke", "IntuneGetEffectivePermission", DefaultParameterSetName = @"Search")] [ODataType("microsoft.graph.deviceManagement")] [ResourceTypePropertyName("deviceManagementODataType")] - public class Invoke_DeviceManagement_GetEffectivePermissions : FunctionReturningCollectionCmdlet + public class Invoke_IntuneGetEffectivePermission : FunctionReturningCollectionCmdlet { /// /// The "scope" function parameter of type "Edm.String". diff --git a/PowerShellCmdlets/Generated/SDK/DeviceManagement/ApplePushNotificationCertificate.cs b/PowerShellCmdlets/Generated/SDK/DeviceManagement/ApplePushNotificationCertificate.cs index 12fa90f..6835b8b 100644 --- a/PowerShellCmdlets/Generated/SDK/DeviceManagement/ApplePushNotificationCertificate.cs +++ b/PowerShellCmdlets/Generated/SDK/DeviceManagement/ApplePushNotificationCertificate.cs @@ -11,11 +11,11 @@ namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets /// Apple push notification certificate. /// /// GitHub Repository - [Cmdlet("Get", "DeviceManagement_ApplePushNotificationCertificate", DefaultParameterSetName = @"Get")] + [Cmdlet("Get", "IntuneApplePushNotificationCertificate", DefaultParameterSetName = @"Get")] [ODataType("microsoft.graph.applePushNotificationCertificate")] [ResourceTypePropertyName("applePushNotificationCertificateODataType")] [ResourceReference] - public class Get_DeviceManagement_ApplePushNotificationCertificate : GetCmdlet + public class Get_IntuneApplePushNotificationCertificate : GetCmdlet { /// /// The "appleIdentifier" property, of type "Edm.String". @@ -79,11 +79,11 @@ internal override System.String GetResourcePath() /// Apple push notification certificate. /// /// GitHub Repository - [Cmdlet("New", "DeviceManagement_ApplePushNotificationCertificate", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.applePushNotificationCertificate")] + [Cmdlet("New", "IntuneApplePushNotificationCertificate", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.applePushNotificationCertificate")] [ODataType("microsoft.graph.applePushNotificationCertificate")] [ResourceTypePropertyName("applePushNotificationCertificateODataType")] [ResourceReference] - public class New_DeviceManagement_ApplePushNotificationCertificate : PostCmdlet + public class New_IntuneApplePushNotificationCertificate : PostCmdlet { /// /// The "appleIdentifier" property, of type "Edm.String". @@ -152,10 +152,10 @@ internal override System.String GetResourcePath() /// Apple push notification certificate. /// /// GitHub Repository - [Cmdlet("Update", "DeviceManagement_ApplePushNotificationCertificate", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.applePushNotificationCertificate")] + [Cmdlet("Update", "IntuneApplePushNotificationCertificate", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.applePushNotificationCertificate")] [ODataType("microsoft.graph.applePushNotificationCertificate")] [ResourceTypePropertyName("applePushNotificationCertificateODataType")] - public class Update_DeviceManagement_ApplePushNotificationCertificate : PatchCmdlet + public class Update_IntuneApplePushNotificationCertificate : PatchCmdlet { /// /// The "appleIdentifier" property, of type "Edm.String". @@ -224,10 +224,10 @@ internal override System.String GetResourcePath() /// Apple push notification certificate. /// /// GitHub Repository - [Cmdlet("Remove", "DeviceManagement_ApplePushNotificationCertificate", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Remove", "IntuneApplePushNotificationCertificate", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.applePushNotificationCertificate")] [ResourceTypePropertyName("applePushNotificationCertificateODataType")] - public class Remove_DeviceManagement_ApplePushNotificationCertificate : DeleteCmdlet + public class Remove_IntuneApplePushNotificationCertificate : DeleteCmdlet { internal override System.String GetResourcePath() { @@ -241,10 +241,10 @@ internal override System.String GetResourcePath() /// This function returns a "Edm.String" object. /// /// GitHub Repository - [Cmdlet("Invoke", "DeviceManagement_ApplePushNotificationCertificate_DownloadApplePushNotificationCertificateSigningRequest", DefaultParameterSetName = @"Get")] + [Cmdlet("Invoke", "IntuneDownloadApplePushNotificationCertificateSigningRequest", DefaultParameterSetName = @"Get")] [ODataType("microsoft.graph.applePushNotificationCertificate")] [ResourceTypePropertyName("applePushNotificationCertificateODataType")] - public class Invoke_DeviceManagement_ApplePushNotificationCertificate_DownloadApplePushNotificationCertificateSigningRequest : FunctionReturningEntityCmdlet + public class Invoke_IntuneDownloadApplePushNotificationCertificateSigningRequest : FunctionReturningEntityCmdlet { internal override System.String GetResourcePath() { diff --git a/PowerShellCmdlets/Generated/SDK/DeviceManagement/ConditionalAccessSettings.cs b/PowerShellCmdlets/Generated/SDK/DeviceManagement/ConditionalAccessSettings.cs index ecfca35..b73d563 100644 --- a/PowerShellCmdlets/Generated/SDK/DeviceManagement/ConditionalAccessSettings.cs +++ b/PowerShellCmdlets/Generated/SDK/DeviceManagement/ConditionalAccessSettings.cs @@ -11,11 +11,11 @@ namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets /// The Exchange on premises conditional access settings. On premises conditional access will require devices to be both enrolled and compliant for mail access /// /// GitHub Repository - [Cmdlet("Get", "DeviceManagement_ConditionalAccessSettings", DefaultParameterSetName = @"Get")] + [Cmdlet("Get", "IntuneConditionalAccessSetting", DefaultParameterSetName = @"Get")] [ODataType("microsoft.graph.onPremisesConditionalAccessSettings")] [ResourceTypePropertyName("conditionalAccessSettingODataType")] [ResourceReference] - public class Get_DeviceManagement_ConditionalAccessSettings : GetCmdlet + public class Get_IntuneConditionalAccessSetting : GetCmdlet { /// /// The "enabled" property, of type "Edm.Boolean". @@ -68,11 +68,11 @@ internal override System.String GetResourcePath() /// The Exchange on premises conditional access settings. On premises conditional access will require devices to be both enrolled and compliant for mail access /// /// GitHub Repository - [Cmdlet("New", "DeviceManagement_ConditionalAccessSettings", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.onPremisesConditionalAccessSettings")] + [Cmdlet("New", "IntuneConditionalAccessSetting", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.onPremisesConditionalAccessSettings")] [ODataType("microsoft.graph.onPremisesConditionalAccessSettings")] [ResourceTypePropertyName("conditionalAccessSettingODataType")] [ResourceReference] - public class New_DeviceManagement_ConditionalAccessSettings : PostCmdlet + public class New_IntuneConditionalAccessSetting : PostCmdlet { /// /// The "enabled" property, of type "Edm.Boolean". @@ -133,10 +133,10 @@ internal override System.String GetResourcePath() /// The Exchange on premises conditional access settings. On premises conditional access will require devices to be both enrolled and compliant for mail access /// /// GitHub Repository - [Cmdlet("Update", "DeviceManagement_ConditionalAccessSettings", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.onPremisesConditionalAccessSettings")] + [Cmdlet("Update", "IntuneConditionalAccessSetting", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.onPremisesConditionalAccessSettings")] [ODataType("microsoft.graph.onPremisesConditionalAccessSettings")] [ResourceTypePropertyName("conditionalAccessSettingODataType")] - public class Update_DeviceManagement_ConditionalAccessSettings : PatchCmdlet + public class Update_IntuneConditionalAccessSetting : PatchCmdlet { /// /// The "enabled" property, of type "Edm.Boolean". @@ -197,10 +197,10 @@ internal override System.String GetResourcePath() /// The Exchange on premises conditional access settings. On premises conditional access will require devices to be both enrolled and compliant for mail access /// /// GitHub Repository - [Cmdlet("Remove", "DeviceManagement_ConditionalAccessSettings", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Remove", "IntuneConditionalAccessSetting", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.onPremisesConditionalAccessSettings")] [ResourceTypePropertyName("conditionalAccessSettingODataType")] - public class Remove_DeviceManagement_ConditionalAccessSettings : DeleteCmdlet + public class Remove_IntuneConditionalAccessSetting : DeleteCmdlet { internal override System.String GetResourcePath() { diff --git a/PowerShellCmdlets/Generated/SDK/DeviceManagement/DetectedApps.cs b/PowerShellCmdlets/Generated/SDK/DeviceManagement/DetectedApps.cs index cbd5640..b83a3f1 100644 --- a/PowerShellCmdlets/Generated/SDK/DeviceManagement/DetectedApps.cs +++ b/PowerShellCmdlets/Generated/SDK/DeviceManagement/DetectedApps.cs @@ -11,11 +11,11 @@ namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets /// The list of detected apps associated with a device. /// /// GitHub Repository - [Cmdlet("Get", "DeviceManagement_DetectedApps", DefaultParameterSetName = @"Search")] + [Cmdlet("Get", "IntuneDetectedApp", DefaultParameterSetName = @"Search")] [ODataType("microsoft.graph.detectedApp")] [ResourceTypePropertyName("detectedAppODataType")] [ResourceReference] - public class Get_DeviceManagement_DetectedApps : GetOrSearchCmdlet + public class Get_IntuneDetectedApp : GetOrSearchCmdlet { /// /// The ID for a "microsoft.graph.detectedApp" object in the "detectedApps" collection. @@ -91,11 +91,11 @@ internal override System.String GetResourcePath() /// The list of detected apps associated with a device. /// /// GitHub Repository - [Cmdlet("New", "DeviceManagement_DetectedApps", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.detectedApp")] + [Cmdlet("New", "IntuneDetectedApp", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.detectedApp")] [ODataType("microsoft.graph.detectedApp")] [ResourceTypePropertyName("detectedAppODataType")] [ResourceReference] - public class New_DeviceManagement_DetectedApps : PostCmdlet + public class New_IntuneDetectedApp : PostCmdlet { /// /// The ID for a "microsoft.graph.detectedApp" object in the "detectedApps" collection. @@ -176,10 +176,10 @@ internal override System.String GetResourcePath() /// The list of detected apps associated with a device. /// /// GitHub Repository - [Cmdlet("Update", "DeviceManagement_DetectedApps", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.detectedApp")] + [Cmdlet("Update", "IntuneDetectedApp", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.detectedApp")] [ODataType("microsoft.graph.detectedApp")] [ResourceTypePropertyName("detectedAppODataType")] - public class Update_DeviceManagement_DetectedApps : PatchCmdlet + public class Update_IntuneDetectedApp : PatchCmdlet { /// /// The ID for a "microsoft.graph.detectedApp" object in the "detectedApps" collection. @@ -262,10 +262,10 @@ internal override System.String GetResourcePath() /// The list of detected apps associated with a device. /// /// GitHub Repository - [Cmdlet("Remove", "DeviceManagement_DetectedApps", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Remove", "IntuneDetectedApp", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.detectedApp")] [ResourceTypePropertyName("detectedAppODataType")] - public class Remove_DeviceManagement_DetectedApps : DeleteCmdlet + public class Remove_IntuneDetectedApp : DeleteCmdlet { /// /// The ID for a "microsoft.graph.detectedApp" object in the "detectedApps" collection. diff --git a/PowerShellCmdlets/Generated/SDK/DeviceManagement/DetectedApps/ManagedDevices.cs b/PowerShellCmdlets/Generated/SDK/DeviceManagement/DetectedApps/ManagedDevices.cs index d1f2c45..f4bbe95 100644 --- a/PowerShellCmdlets/Generated/SDK/DeviceManagement/DetectedApps/ManagedDevices.cs +++ b/PowerShellCmdlets/Generated/SDK/DeviceManagement/DetectedApps/ManagedDevices.cs @@ -11,10 +11,10 @@ namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets /// The devices that have the discovered application installed /// /// GitHub Repository - [Cmdlet("Get", "DeviceManagement_DetectedApps_ManagedDevices", DefaultParameterSetName = @"Search")] + [Cmdlet("Get", "IntuneDetectedAppDevice", DefaultParameterSetName = @"Search")] [ODataType("microsoft.graph.managedDevice")] [ResourceTypePropertyName("managedDeviceODataType")] - public class Get_DeviceManagement_DetectedApps_ManagedDevices : GetOrSearchCmdlet + public class Get_IntuneDetectedAppDevice : GetOrSearchCmdlet { /// /// A required ID for referencing a "microsoft.graph.detectedApp" object in the "detectedApps" collection. @@ -540,10 +540,10 @@ internal override System.String GetResourcePath() /// The devices that have the discovered application installed /// /// GitHub Repository - [Cmdlet("Get", "DeviceManagement_DetectedApps_ManagedDevicesReferences", DefaultParameterSetName = @"Search")] + [Cmdlet("Get", "IntuneDetectedAppDeviceReferences", DefaultParameterSetName = @"Search")] [ODataType("microsoft.graph.managedDevice")] [ResourceTypePropertyName("managedDeviceODataType")] - public class Get_DeviceManagement_DetectedApps_ManagedDevicesReferences : GetOrSearchCmdlet + public class Get_IntuneDetectedAppDeviceReferences : GetOrSearchCmdlet { /// /// A required ID for referencing a "microsoft.graph.detectedApp" object in the "detectedApps" collection. @@ -1069,10 +1069,10 @@ internal override System.String GetResourcePath() /// The devices that have the discovered application installed /// /// GitHub Repository - [Cmdlet("New", "DeviceManagement_DetectedApps_ManagedDevicesReferences", ConfirmImpact = ConfirmImpact.Low)] + [Cmdlet("New", "IntuneDetectedAppDeviceReferences", ConfirmImpact = ConfirmImpact.Low)] [ODataType("microsoft.graph.managedDevice")] [ResourceTypePropertyName("managedDeviceODataType")] - public class New_DeviceManagement_DetectedApps_ManagedDevicesReferences : PostReferenceToCollectionCmdlet + public class New_IntuneDetectedAppDeviceReferences : PostReferenceToCollectionCmdlet { /// /// The ID for a "microsoft.graph.managedDevice" object in the "managedDevices" collection. @@ -1120,10 +1120,10 @@ internal override System.Object GetContent() /// The devices that have the discovered application installed /// /// GitHub Repository - [Cmdlet("Remove", "DeviceManagement_DetectedApps_ManagedDevicesReferences", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Remove", "IntuneDetectedAppDeviceReferences", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.managedDevice")] [ResourceTypePropertyName("managedDeviceODataType")] - public class Remove_DeviceManagement_DetectedApps_ManagedDevicesReferences : DeleteCmdlet + public class Remove_IntuneDetectedAppDeviceReferences : DeleteCmdlet { /// /// The ID for a "microsoft.graph.managedDevice" object in the "managedDevices" collection. diff --git a/PowerShellCmdlets/Generated/SDK/DeviceManagement/DeviceCategories.cs b/PowerShellCmdlets/Generated/SDK/DeviceManagement/DeviceCategories.cs index be4a070..5d486ba 100644 --- a/PowerShellCmdlets/Generated/SDK/DeviceManagement/DeviceCategories.cs +++ b/PowerShellCmdlets/Generated/SDK/DeviceManagement/DeviceCategories.cs @@ -11,11 +11,11 @@ namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets /// The list of device categories with the tenant. /// /// GitHub Repository - [Cmdlet("Get", "DeviceManagement_DeviceCategories", DefaultParameterSetName = @"Search")] + [Cmdlet("Get", "IntuneDeviceCategory", DefaultParameterSetName = @"Search")] [ODataType("microsoft.graph.deviceCategory")] [ResourceTypePropertyName("deviceCategoryODataType")] [ResourceReference] - public class Get_DeviceManagement_DeviceCategories : GetOrSearchCmdlet + public class Get_IntuneDeviceCategory : GetOrSearchCmdlet { /// /// The ID for a "microsoft.graph.deviceCategory" object in the "deviceCategories" collection. @@ -61,11 +61,11 @@ internal override System.String GetResourcePath() /// The list of device categories with the tenant. /// /// GitHub Repository - [Cmdlet("New", "DeviceManagement_DeviceCategories", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.deviceCategory")] + [Cmdlet("New", "IntuneDeviceCategory", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.deviceCategory")] [ODataType("microsoft.graph.deviceCategory")] [ResourceTypePropertyName("deviceCategoryODataType")] [ResourceReference] - public class New_DeviceManagement_DeviceCategories : PostCmdlet + public class New_IntuneDeviceCategory : PostCmdlet { /// /// The ID for a "microsoft.graph.deviceCategory" object in the "deviceCategories" collection. @@ -111,10 +111,10 @@ internal override System.String GetResourcePath() /// The list of device categories with the tenant. /// /// GitHub Repository - [Cmdlet("Update", "DeviceManagement_DeviceCategories", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.deviceCategory")] + [Cmdlet("Update", "IntuneDeviceCategory", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.deviceCategory")] [ODataType("microsoft.graph.deviceCategory")] [ResourceTypePropertyName("deviceCategoryODataType")] - public class Update_DeviceManagement_DeviceCategories : PatchCmdlet + public class Update_IntuneDeviceCategory : PatchCmdlet { /// /// The ID for a "microsoft.graph.deviceCategory" object in the "deviceCategories" collection. @@ -162,10 +162,10 @@ internal override System.String GetResourcePath() /// The list of device categories with the tenant. /// /// GitHub Repository - [Cmdlet("Remove", "DeviceManagement_DeviceCategories", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Remove", "IntuneDeviceCategory", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.deviceCategory")] [ResourceTypePropertyName("deviceCategoryODataType")] - public class Remove_DeviceManagement_DeviceCategories : DeleteCmdlet + public class Remove_IntuneDeviceCategory : DeleteCmdlet { /// /// The ID for a "microsoft.graph.deviceCategory" object in the "deviceCategories" collection. diff --git a/PowerShellCmdlets/Generated/SDK/DeviceManagement/DeviceCompliancePolicies.cs b/PowerShellCmdlets/Generated/SDK/DeviceManagement/DeviceCompliancePolicies.cs index f991829..4cbebac 100644 --- a/PowerShellCmdlets/Generated/SDK/DeviceManagement/DeviceCompliancePolicies.cs +++ b/PowerShellCmdlets/Generated/SDK/DeviceManagement/DeviceCompliancePolicies.cs @@ -11,11 +11,11 @@ namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets /// The device compliance policies. /// /// GitHub Repository - [Cmdlet("Get", "DeviceManagement_DeviceCompliancePolicies", DefaultParameterSetName = @"Search")] + [Cmdlet("Get", "IntuneDeviceCompliancePolicy", DefaultParameterSetName = @"Search")] [ODataType("microsoft.graph.deviceCompliancePolicy", "microsoft.graph.windowsPhone81CompliancePolicy", "microsoft.graph.windows81CompliancePolicy", "microsoft.graph.windows10MobileCompliancePolicy", "microsoft.graph.windows10CompliancePolicy", "microsoft.graph.macOSCompliancePolicy", "microsoft.graph.iosCompliancePolicy", "microsoft.graph.androidWorkProfileCompliancePolicy", "microsoft.graph.androidCompliancePolicy")] [ResourceTypePropertyName("deviceCompliancePolicyODataType")] [ResourceReference] - public class Get_DeviceManagement_DeviceCompliancePolicies : GetOrSearchCmdlet + public class Get_IntuneDeviceCompliancePolicy : GetOrSearchCmdlet { /// /// The ID for a "microsoft.graph.deviceCompliancePolicy" object in the "deviceCompliancePolicies" collection. @@ -658,11 +658,11 @@ internal override System.String GetResourcePath() /// The device compliance policies. /// /// GitHub Repository - [Cmdlet("New", "DeviceManagement_DeviceCompliancePolicies", ConfirmImpact = ConfirmImpact.Low)] + [Cmdlet("New", "IntuneDeviceCompliancePolicy", ConfirmImpact = ConfirmImpact.Low)] [ODataType("microsoft.graph.deviceCompliancePolicy", "microsoft.graph.windowsPhone81CompliancePolicy", "microsoft.graph.windows81CompliancePolicy", "microsoft.graph.windows10MobileCompliancePolicy", "microsoft.graph.windows10CompliancePolicy", "microsoft.graph.macOSCompliancePolicy", "microsoft.graph.iosCompliancePolicy", "microsoft.graph.androidWorkProfileCompliancePolicy", "microsoft.graph.androidCompliancePolicy")] [ResourceTypePropertyName("deviceCompliancePolicyODataType")] [ResourceReference] - public class New_DeviceManagement_DeviceCompliancePolicies : PostCmdlet + public class New_IntuneDeviceCompliancePolicy : PostCmdlet { /// /// The ID for a "microsoft.graph.deviceCompliancePolicy" object in the "deviceCompliancePolicies" collection. @@ -1590,10 +1590,10 @@ internal override System.String GetResourcePath() /// The device compliance policies. /// /// GitHub Repository - [Cmdlet("Update", "DeviceManagement_DeviceCompliancePolicies", ConfirmImpact = ConfirmImpact.Medium)] + [Cmdlet("Update", "IntuneDeviceCompliancePolicy", ConfirmImpact = ConfirmImpact.Medium)] [ODataType("microsoft.graph.deviceCompliancePolicy", "microsoft.graph.windowsPhone81CompliancePolicy", "microsoft.graph.windows81CompliancePolicy", "microsoft.graph.windows10MobileCompliancePolicy", "microsoft.graph.windows10CompliancePolicy", "microsoft.graph.macOSCompliancePolicy", "microsoft.graph.iosCompliancePolicy", "microsoft.graph.androidWorkProfileCompliancePolicy", "microsoft.graph.androidCompliancePolicy")] [ResourceTypePropertyName("deviceCompliancePolicyODataType")] - public class Update_DeviceManagement_DeviceCompliancePolicies : PatchCmdlet + public class Update_IntuneDeviceCompliancePolicy : PatchCmdlet { /// /// The ID for a "microsoft.graph.deviceCompliancePolicy" object in the "deviceCompliancePolicies" collection. @@ -2523,10 +2523,10 @@ internal override System.String GetResourcePath() /// The device compliance policies. /// /// GitHub Repository - [Cmdlet("Remove", "DeviceManagement_DeviceCompliancePolicies", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Remove", "IntuneDeviceCompliancePolicy", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.deviceCompliancePolicy", "microsoft.graph.windowsPhone81CompliancePolicy", "microsoft.graph.windows81CompliancePolicy", "microsoft.graph.windows10MobileCompliancePolicy", "microsoft.graph.windows10CompliancePolicy", "microsoft.graph.macOSCompliancePolicy", "microsoft.graph.iosCompliancePolicy", "microsoft.graph.androidWorkProfileCompliancePolicy", "microsoft.graph.androidCompliancePolicy")] [ResourceTypePropertyName("deviceCompliancePolicyODataType")] - public class Remove_DeviceManagement_DeviceCompliancePolicies : DeleteCmdlet + public class Remove_IntuneDeviceCompliancePolicy : DeleteCmdlet { /// /// The ID for a "microsoft.graph.deviceCompliancePolicy" object in the "deviceCompliancePolicies" collection. @@ -2551,10 +2551,10 @@ internal override System.String GetResourcePath() /// This action returns a collection of "microsoft.graph.deviceCompliancePolicyAssignment" objects. /// /// GitHub Repository - [Cmdlet("Invoke", "DeviceManagement_DeviceCompliancePolicies_Assign", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Invoke", "IntuneDeviceCompliancePolicyAssign", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.deviceCompliancePolicy", "microsoft.graph.windowsPhone81CompliancePolicy", "microsoft.graph.windows81CompliancePolicy", "microsoft.graph.windows10MobileCompliancePolicy", "microsoft.graph.windows10CompliancePolicy", "microsoft.graph.macOSCompliancePolicy", "microsoft.graph.iosCompliancePolicy", "microsoft.graph.androidWorkProfileCompliancePolicy", "microsoft.graph.androidCompliancePolicy")] [ResourceTypePropertyName("deviceCompliancePolicyODataType")] - public class Invoke_DeviceManagement_DeviceCompliancePolicies_Assign : ActionCmdlet + public class Invoke_IntuneDeviceCompliancePolicyAssign : ActionCmdlet { /// /// The "assignments" action parameter of type "microsoft.graph.deviceCompliancePolicyAssignment". @@ -2589,10 +2589,10 @@ internal override System.String GetResourcePath() /// This action does not return any objects. /// /// GitHub Repository - [Cmdlet("Invoke", "DeviceManagement_DeviceCompliancePolicies_ScheduleActionsForRules", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Invoke", "IntuneDeviceCompliancePolicyScheduleActionsForRules", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.deviceCompliancePolicy", "microsoft.graph.windowsPhone81CompliancePolicy", "microsoft.graph.windows81CompliancePolicy", "microsoft.graph.windows10MobileCompliancePolicy", "microsoft.graph.windows10CompliancePolicy", "microsoft.graph.macOSCompliancePolicy", "microsoft.graph.iosCompliancePolicy", "microsoft.graph.androidWorkProfileCompliancePolicy", "microsoft.graph.androidCompliancePolicy")] [ResourceTypePropertyName("deviceCompliancePolicyODataType")] - public class Invoke_DeviceManagement_DeviceCompliancePolicies_ScheduleActionsForRules : ActionCmdlet + public class Invoke_IntuneDeviceCompliancePolicyScheduleActionsForRules : ActionCmdlet { /// /// The "deviceComplianceScheduledActionForRules" action parameter of type "microsoft.graph.deviceComplianceScheduledActionForRule". diff --git a/PowerShellCmdlets/Generated/SDK/DeviceManagement/DeviceCompliancePolicies/Assignments.cs b/PowerShellCmdlets/Generated/SDK/DeviceManagement/DeviceCompliancePolicies/Assignments.cs index ad0301f..30a26eb 100644 --- a/PowerShellCmdlets/Generated/SDK/DeviceManagement/DeviceCompliancePolicies/Assignments.cs +++ b/PowerShellCmdlets/Generated/SDK/DeviceManagement/DeviceCompliancePolicies/Assignments.cs @@ -11,11 +11,11 @@ namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets /// The collection of assignments for this compliance policy. /// /// GitHub Repository - [Cmdlet("Get", "DeviceManagement_DeviceCompliancePolicies_Assignments", DefaultParameterSetName = @"Search")] + [Cmdlet("Get", "IntuneDeviceCompliancePolicyAssignment", DefaultParameterSetName = @"Search")] [ODataType("microsoft.graph.deviceCompliancePolicyAssignment")] [ResourceTypePropertyName("assignmentODataType")] [ResourceReference] - public class Get_DeviceManagement_DeviceCompliancePolicies_Assignments : GetOrSearchCmdlet + public class Get_IntuneDeviceCompliancePolicyAssignment : GetOrSearchCmdlet { /// /// A required ID for referencing a "microsoft.graph.deviceCompliancePolicy" object in the "deviceCompliancePolicies" collection. @@ -61,11 +61,11 @@ internal override System.String GetResourcePath() /// The collection of assignments for this compliance policy. /// /// GitHub Repository - [Cmdlet("New", "DeviceManagement_DeviceCompliancePolicies_Assignments", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.deviceCompliancePolicyAssignment")] + [Cmdlet("New", "IntuneDeviceCompliancePolicyAssignment", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.deviceCompliancePolicyAssignment")] [ODataType("microsoft.graph.deviceCompliancePolicyAssignment")] [ResourceTypePropertyName("assignmentODataType")] [ResourceReference] - public class New_DeviceManagement_DeviceCompliancePolicies_Assignments : PostCmdlet + public class New_IntuneDeviceCompliancePolicyAssignment : PostCmdlet { /// /// The ID for a "microsoft.graph.deviceCompliancePolicyAssignment" object in the "assignments" collection. @@ -110,10 +110,10 @@ internal override System.String GetResourcePath() /// The collection of assignments for this compliance policy. /// /// GitHub Repository - [Cmdlet("Update", "DeviceManagement_DeviceCompliancePolicies_Assignments", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.deviceCompliancePolicyAssignment")] + [Cmdlet("Update", "IntuneDeviceCompliancePolicyAssignment", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.deviceCompliancePolicyAssignment")] [ODataType("microsoft.graph.deviceCompliancePolicyAssignment")] [ResourceTypePropertyName("assignmentODataType")] - public class Update_DeviceManagement_DeviceCompliancePolicies_Assignments : PatchCmdlet + public class Update_IntuneDeviceCompliancePolicyAssignment : PatchCmdlet { /// /// The ID for a "microsoft.graph.deviceCompliancePolicyAssignment" object in the "assignments" collection. @@ -160,10 +160,10 @@ internal override System.String GetResourcePath() /// The collection of assignments for this compliance policy. /// /// GitHub Repository - [Cmdlet("Remove", "DeviceManagement_DeviceCompliancePolicies_Assignments", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Remove", "IntuneDeviceCompliancePolicyAssignment", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.deviceCompliancePolicyAssignment")] [ResourceTypePropertyName("assignmentODataType")] - public class Remove_DeviceManagement_DeviceCompliancePolicies_Assignments : DeleteCmdlet + public class Remove_IntuneDeviceCompliancePolicyAssignment : DeleteCmdlet { /// /// The ID for a "microsoft.graph.deviceCompliancePolicyAssignment" object in the "assignments" collection. diff --git a/PowerShellCmdlets/Generated/SDK/DeviceManagement/DeviceCompliancePolicies/DeviceSettingStateSummaries.cs b/PowerShellCmdlets/Generated/SDK/DeviceManagement/DeviceCompliancePolicies/DeviceSettingStateSummaries.cs index cae2b28..e8c9bd1 100644 --- a/PowerShellCmdlets/Generated/SDK/DeviceManagement/DeviceCompliancePolicies/DeviceSettingStateSummaries.cs +++ b/PowerShellCmdlets/Generated/SDK/DeviceManagement/DeviceCompliancePolicies/DeviceSettingStateSummaries.cs @@ -11,11 +11,11 @@ namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets /// Compliance Setting State Device Summary /// /// GitHub Repository - [Cmdlet("Get", "DeviceManagement_DeviceCompliancePolicies_DeviceSettingStateSummaries", DefaultParameterSetName = @"Search")] + [Cmdlet("Get", "IntuneDeviceCompliancePolicyDeviceSettingStateSummary", DefaultParameterSetName = @"Search")] [ODataType("microsoft.graph.settingStateDeviceSummary")] [ResourceTypePropertyName("deviceSettingStateSummaryODataType")] [ResourceReference] - public class Get_DeviceManagement_DeviceCompliancePolicies_DeviceSettingStateSummaries : GetOrSearchCmdlet + public class Get_IntuneDeviceCompliancePolicyDeviceSettingStateSummary : GetOrSearchCmdlet { /// /// A required ID for referencing a "microsoft.graph.deviceCompliancePolicy" object in the "deviceCompliancePolicies" collection. @@ -141,11 +141,11 @@ internal override System.String GetResourcePath() /// Compliance Setting State Device Summary /// /// GitHub Repository - [Cmdlet("New", "DeviceManagement_DeviceCompliancePolicies_DeviceSettingStateSummaries", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.settingStateDeviceSummary")] + [Cmdlet("New", "IntuneDeviceCompliancePolicyDeviceSettingStateSummary", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.settingStateDeviceSummary")] [ODataType("microsoft.graph.settingStateDeviceSummary")] [ResourceTypePropertyName("deviceSettingStateSummaryODataType")] [ResourceReference] - public class New_DeviceManagement_DeviceCompliancePolicies_DeviceSettingStateSummaries : PostCmdlet + public class New_IntuneDeviceCompliancePolicyDeviceSettingStateSummary : PostCmdlet { /// /// The ID for a "microsoft.graph.settingStateDeviceSummary" object in the "deviceSettingStateSummaries" collection. @@ -278,10 +278,10 @@ internal override System.String GetResourcePath() /// Compliance Setting State Device Summary /// /// GitHub Repository - [Cmdlet("Update", "DeviceManagement_DeviceCompliancePolicies_DeviceSettingStateSummaries", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.settingStateDeviceSummary")] + [Cmdlet("Update", "IntuneDeviceCompliancePolicyDeviceSettingStateSummary", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.settingStateDeviceSummary")] [ODataType("microsoft.graph.settingStateDeviceSummary")] [ResourceTypePropertyName("deviceSettingStateSummaryODataType")] - public class Update_DeviceManagement_DeviceCompliancePolicies_DeviceSettingStateSummaries : PatchCmdlet + public class Update_IntuneDeviceCompliancePolicyDeviceSettingStateSummary : PatchCmdlet { /// /// The ID for a "microsoft.graph.settingStateDeviceSummary" object in the "deviceSettingStateSummaries" collection. @@ -416,10 +416,10 @@ internal override System.String GetResourcePath() /// Compliance Setting State Device Summary /// /// GitHub Repository - [Cmdlet("Remove", "DeviceManagement_DeviceCompliancePolicies_DeviceSettingStateSummaries", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Remove", "IntuneDeviceCompliancePolicyDeviceSettingStateSummary", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.settingStateDeviceSummary")] [ResourceTypePropertyName("deviceSettingStateSummaryODataType")] - public class Remove_DeviceManagement_DeviceCompliancePolicies_DeviceSettingStateSummaries : DeleteCmdlet + public class Remove_IntuneDeviceCompliancePolicyDeviceSettingStateSummary : DeleteCmdlet { /// /// The ID for a "microsoft.graph.settingStateDeviceSummary" object in the "deviceSettingStateSummaries" collection. diff --git a/PowerShellCmdlets/Generated/SDK/DeviceManagement/DeviceCompliancePolicies/DeviceStatusOverview.cs b/PowerShellCmdlets/Generated/SDK/DeviceManagement/DeviceCompliancePolicies/DeviceStatusOverview.cs index ecda180..5c8b98a 100644 --- a/PowerShellCmdlets/Generated/SDK/DeviceManagement/DeviceCompliancePolicies/DeviceStatusOverview.cs +++ b/PowerShellCmdlets/Generated/SDK/DeviceManagement/DeviceCompliancePolicies/DeviceStatusOverview.cs @@ -11,11 +11,11 @@ namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets /// Device compliance devices status overview /// /// GitHub Repository - [Cmdlet("Get", "DeviceManagement_DeviceCompliancePolicies_DeviceStatusOverview", DefaultParameterSetName = @"Get")] + [Cmdlet("Get", "IntuneDeviceCompliancePolicyDeviceStatusOverview", DefaultParameterSetName = @"Get")] [ODataType("microsoft.graph.deviceComplianceDeviceOverview")] [ResourceTypePropertyName("deviceStatusOverviewODataType")] [ResourceReference] - public class Get_DeviceManagement_DeviceCompliancePolicies_DeviceStatusOverview : GetCmdlet + public class Get_IntuneDeviceCompliancePolicyDeviceStatusOverview : GetCmdlet { /// /// A required ID for referencing a "microsoft.graph.deviceCompliancePolicy" object in the "deviceCompliancePolicies" collection. @@ -110,11 +110,11 @@ internal override System.String GetResourcePath() /// Device compliance devices status overview /// /// GitHub Repository - [Cmdlet("New", "DeviceManagement_DeviceCompliancePolicies_DeviceStatusOverview", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.deviceComplianceDeviceOverview")] + [Cmdlet("New", "IntuneDeviceCompliancePolicyDeviceStatusOverview", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.deviceComplianceDeviceOverview")] [ODataType("microsoft.graph.deviceComplianceDeviceOverview")] [ResourceTypePropertyName("deviceStatusOverviewODataType")] [ResourceReference] - public class New_DeviceManagement_DeviceCompliancePolicies_DeviceStatusOverview : PostCmdlet + public class New_IntuneDeviceCompliancePolicyDeviceStatusOverview : PostCmdlet { /// /// A required ID for referencing a "microsoft.graph.deviceCompliancePolicy" object in the "deviceCompliancePolicies" collection. @@ -216,10 +216,10 @@ internal override System.String GetResourcePath() /// Device compliance devices status overview /// /// GitHub Repository - [Cmdlet("Update", "DeviceManagement_DeviceCompliancePolicies_DeviceStatusOverview", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.deviceComplianceDeviceOverview")] + [Cmdlet("Update", "IntuneDeviceCompliancePolicyDeviceStatusOverview", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.deviceComplianceDeviceOverview")] [ODataType("microsoft.graph.deviceComplianceDeviceOverview")] [ResourceTypePropertyName("deviceStatusOverviewODataType")] - public class Update_DeviceManagement_DeviceCompliancePolicies_DeviceStatusOverview : PatchCmdlet + public class Update_IntuneDeviceCompliancePolicyDeviceStatusOverview : PatchCmdlet { /// /// A required ID for referencing a "microsoft.graph.deviceCompliancePolicy" object in the "deviceCompliancePolicies" collection. @@ -321,10 +321,10 @@ internal override System.String GetResourcePath() /// Device compliance devices status overview /// /// GitHub Repository - [Cmdlet("Remove", "DeviceManagement_DeviceCompliancePolicies_DeviceStatusOverview", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Remove", "IntuneDeviceCompliancePolicyDeviceStatusOverview", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.deviceComplianceDeviceOverview")] [ResourceTypePropertyName("deviceStatusOverviewODataType")] - public class Remove_DeviceManagement_DeviceCompliancePolicies_DeviceStatusOverview : DeleteCmdlet + public class Remove_IntuneDeviceCompliancePolicyDeviceStatusOverview : DeleteCmdlet { /// /// A required ID for referencing a "microsoft.graph.deviceCompliancePolicy" object in the "deviceCompliancePolicies" collection. diff --git a/PowerShellCmdlets/Generated/SDK/DeviceManagement/DeviceCompliancePolicies/DeviceStatuses.cs b/PowerShellCmdlets/Generated/SDK/DeviceManagement/DeviceCompliancePolicies/DeviceStatuses.cs index 98294cf..83c0108 100644 --- a/PowerShellCmdlets/Generated/SDK/DeviceManagement/DeviceCompliancePolicies/DeviceStatuses.cs +++ b/PowerShellCmdlets/Generated/SDK/DeviceManagement/DeviceCompliancePolicies/DeviceStatuses.cs @@ -11,11 +11,11 @@ namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets /// List of DeviceComplianceDeviceStatus. /// /// GitHub Repository - [Cmdlet("Get", "DeviceManagement_DeviceCompliancePolicies_DeviceStatuses", DefaultParameterSetName = @"Search")] + [Cmdlet("Get", "IntuneDeviceCompliancePolicyDeviceStatus", DefaultParameterSetName = @"Search")] [ODataType("microsoft.graph.deviceComplianceDeviceStatus")] [ResourceTypePropertyName("deviceStatusODataType")] [ResourceReference] - public class Get_DeviceManagement_DeviceCompliancePolicies_DeviceStatuses : GetOrSearchCmdlet + public class Get_IntuneDeviceCompliancePolicyDeviceStatus : GetOrSearchCmdlet { /// /// A required ID for referencing a "microsoft.graph.deviceCompliancePolicy" object in the "deviceCompliancePolicies" collection. @@ -121,11 +121,11 @@ internal override System.String GetResourcePath() /// List of DeviceComplianceDeviceStatus. /// /// GitHub Repository - [Cmdlet("New", "DeviceManagement_DeviceCompliancePolicies_DeviceStatuses", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.deviceComplianceDeviceStatus")] + [Cmdlet("New", "IntuneDeviceCompliancePolicyDeviceStatus", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.deviceComplianceDeviceStatus")] [ODataType("microsoft.graph.deviceComplianceDeviceStatus")] [ResourceTypePropertyName("deviceStatusODataType")] [ResourceReference] - public class New_DeviceManagement_DeviceCompliancePolicies_DeviceStatuses : PostCmdlet + public class New_IntuneDeviceCompliancePolicyDeviceStatus : PostCmdlet { /// /// The ID for a "microsoft.graph.deviceComplianceDeviceStatus" object in the "deviceStatuses" collection. @@ -240,10 +240,10 @@ internal override System.String GetResourcePath() /// List of DeviceComplianceDeviceStatus. /// /// GitHub Repository - [Cmdlet("Update", "DeviceManagement_DeviceCompliancePolicies_DeviceStatuses", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.deviceComplianceDeviceStatus")] + [Cmdlet("Update", "IntuneDeviceCompliancePolicyDeviceStatus", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.deviceComplianceDeviceStatus")] [ODataType("microsoft.graph.deviceComplianceDeviceStatus")] [ResourceTypePropertyName("deviceStatusODataType")] - public class Update_DeviceManagement_DeviceCompliancePolicies_DeviceStatuses : PatchCmdlet + public class Update_IntuneDeviceCompliancePolicyDeviceStatus : PatchCmdlet { /// /// The ID for a "microsoft.graph.deviceComplianceDeviceStatus" object in the "deviceStatuses" collection. @@ -360,10 +360,10 @@ internal override System.String GetResourcePath() /// List of DeviceComplianceDeviceStatus. /// /// GitHub Repository - [Cmdlet("Remove", "DeviceManagement_DeviceCompliancePolicies_DeviceStatuses", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Remove", "IntuneDeviceCompliancePolicyDeviceStatus", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.deviceComplianceDeviceStatus")] [ResourceTypePropertyName("deviceStatusODataType")] - public class Remove_DeviceManagement_DeviceCompliancePolicies_DeviceStatuses : DeleteCmdlet + public class Remove_IntuneDeviceCompliancePolicyDeviceStatus : DeleteCmdlet { /// /// The ID for a "microsoft.graph.deviceComplianceDeviceStatus" object in the "deviceStatuses" collection. diff --git a/PowerShellCmdlets/Generated/SDK/DeviceManagement/DeviceCompliancePolicies/ScheduledActionsForRule.cs b/PowerShellCmdlets/Generated/SDK/DeviceManagement/DeviceCompliancePolicies/ScheduledActionsForRule.cs index 654eef3..a8631d0 100644 --- a/PowerShellCmdlets/Generated/SDK/DeviceManagement/DeviceCompliancePolicies/ScheduledActionsForRule.cs +++ b/PowerShellCmdlets/Generated/SDK/DeviceManagement/DeviceCompliancePolicies/ScheduledActionsForRule.cs @@ -11,11 +11,11 @@ namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets /// The list of scheduled action for this rule /// /// GitHub Repository - [Cmdlet("Get", "DeviceManagement_DeviceCompliancePolicies_ScheduledActionsForRule", DefaultParameterSetName = @"Search")] + [Cmdlet("Get", "IntuneDeviceCompliancePolicyScheduledActionsForRule", DefaultParameterSetName = @"Search")] [ODataType("microsoft.graph.deviceComplianceScheduledActionForRule")] [ResourceTypePropertyName("scheduledActionsForRuleODataType")] [ResourceReference] - public class Get_DeviceManagement_DeviceCompliancePolicies_ScheduledActionsForRule : GetOrSearchCmdlet + public class Get_IntuneDeviceCompliancePolicyScheduledActionsForRule : GetOrSearchCmdlet { /// /// A required ID for referencing a "microsoft.graph.deviceCompliancePolicy" object in the "deviceCompliancePolicies" collection. @@ -71,11 +71,11 @@ internal override System.String GetResourcePath() /// The list of scheduled action for this rule /// /// GitHub Repository - [Cmdlet("New", "DeviceManagement_DeviceCompliancePolicies_ScheduledActionsForRule", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.deviceComplianceScheduledActionForRule")] + [Cmdlet("New", "IntuneDeviceCompliancePolicyScheduledActionsForRule", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.deviceComplianceScheduledActionForRule")] [ODataType("microsoft.graph.deviceComplianceScheduledActionForRule")] [ResourceTypePropertyName("scheduledActionsForRuleODataType")] [ResourceReference] - public class New_DeviceManagement_DeviceCompliancePolicies_ScheduledActionsForRule : PostCmdlet + public class New_IntuneDeviceCompliancePolicyScheduledActionsForRule : PostCmdlet { /// /// The ID for a "microsoft.graph.deviceComplianceScheduledActionForRule" object in the "scheduledActionsForRule" collection. @@ -133,10 +133,10 @@ internal override System.String GetResourcePath() /// The list of scheduled action for this rule /// /// GitHub Repository - [Cmdlet("Update", "DeviceManagement_DeviceCompliancePolicies_ScheduledActionsForRule", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.deviceComplianceScheduledActionForRule")] + [Cmdlet("Update", "IntuneDeviceCompliancePolicyScheduledActionsForRule", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.deviceComplianceScheduledActionForRule")] [ODataType("microsoft.graph.deviceComplianceScheduledActionForRule")] [ResourceTypePropertyName("scheduledActionsForRuleODataType")] - public class Update_DeviceManagement_DeviceCompliancePolicies_ScheduledActionsForRule : PatchCmdlet + public class Update_IntuneDeviceCompliancePolicyScheduledActionsForRule : PatchCmdlet { /// /// The ID for a "microsoft.graph.deviceComplianceScheduledActionForRule" object in the "scheduledActionsForRule" collection. @@ -196,10 +196,10 @@ internal override System.String GetResourcePath() /// The list of scheduled action for this rule /// /// GitHub Repository - [Cmdlet("Remove", "DeviceManagement_DeviceCompliancePolicies_ScheduledActionsForRule", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Remove", "IntuneDeviceCompliancePolicyScheduledActionsForRule", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.deviceComplianceScheduledActionForRule")] [ResourceTypePropertyName("scheduledActionsForRuleODataType")] - public class Remove_DeviceManagement_DeviceCompliancePolicies_ScheduledActionsForRule : DeleteCmdlet + public class Remove_IntuneDeviceCompliancePolicyScheduledActionsForRule : DeleteCmdlet { /// /// The ID for a "microsoft.graph.deviceComplianceScheduledActionForRule" object in the "scheduledActionsForRule" collection. diff --git a/PowerShellCmdlets/Generated/SDK/DeviceManagement/DeviceCompliancePolicies/ScheduledActionsForRule/ScheduledActionConfigurations.cs b/PowerShellCmdlets/Generated/SDK/DeviceManagement/DeviceCompliancePolicies/ScheduledActionsForRule/ScheduledActionConfigurations.cs index 9346ed8..f0e18d8 100644 --- a/PowerShellCmdlets/Generated/SDK/DeviceManagement/DeviceCompliancePolicies/ScheduledActionsForRule/ScheduledActionConfigurations.cs +++ b/PowerShellCmdlets/Generated/SDK/DeviceManagement/DeviceCompliancePolicies/ScheduledActionsForRule/ScheduledActionConfigurations.cs @@ -11,11 +11,11 @@ namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets /// The list of scheduled action configurations for this compliance policy. /// /// GitHub Repository - [Cmdlet("Get", "DeviceManagement_DeviceCompliancePolicies_ScheduledActionsForRule_ScheduledActionConfigurations", DefaultParameterSetName = @"Search")] + [Cmdlet("Get", "IntuneDeviceCompliancePolicyScheduledActionsForRuleConfiguration", DefaultParameterSetName = @"Search")] [ODataType("microsoft.graph.deviceComplianceActionItem")] [ResourceTypePropertyName("scheduledActionConfigurationODataType")] [ResourceReference] - public class Get_DeviceManagement_DeviceCompliancePolicies_ScheduledActionsForRule_ScheduledActionConfigurations : GetOrSearchCmdlet + public class Get_IntuneDeviceCompliancePolicyScheduledActionsForRuleConfiguration : GetOrSearchCmdlet { /// /// A required ID for referencing a "microsoft.graph.deviceCompliancePolicy" object in the "deviceCompliancePolicies" collection. @@ -100,11 +100,11 @@ internal override System.String GetResourcePath() /// The list of scheduled action configurations for this compliance policy. /// /// GitHub Repository - [Cmdlet("New", "DeviceManagement_DeviceCompliancePolicies_ScheduledActionsForRule_ScheduledActionConfigurations", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.deviceComplianceActionItem")] + [Cmdlet("New", "IntuneDeviceCompliancePolicyScheduledActionsForRuleConfiguration", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.deviceComplianceActionItem")] [ODataType("microsoft.graph.deviceComplianceActionItem")] [ResourceTypePropertyName("scheduledActionConfigurationODataType")] [ResourceReference] - public class New_DeviceManagement_DeviceCompliancePolicies_ScheduledActionsForRule_ScheduledActionConfigurations : PostCmdlet + public class New_IntuneDeviceCompliancePolicyScheduledActionsForRuleConfiguration : PostCmdlet { /// /// The ID for a "microsoft.graph.deviceComplianceActionItem" object in the "scheduledActionConfigurations" collection. @@ -197,10 +197,10 @@ internal override System.String GetResourcePath() /// The list of scheduled action configurations for this compliance policy. /// /// GitHub Repository - [Cmdlet("Update", "DeviceManagement_DeviceCompliancePolicies_ScheduledActionsForRule_ScheduledActionConfigurations", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.deviceComplianceActionItem")] + [Cmdlet("Update", "IntuneDeviceCompliancePolicyScheduledActionsForRuleConfiguration", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.deviceComplianceActionItem")] [ODataType("microsoft.graph.deviceComplianceActionItem")] [ResourceTypePropertyName("scheduledActionConfigurationODataType")] - public class Update_DeviceManagement_DeviceCompliancePolicies_ScheduledActionsForRule_ScheduledActionConfigurations : PatchCmdlet + public class Update_IntuneDeviceCompliancePolicyScheduledActionsForRuleConfiguration : PatchCmdlet { /// /// The ID for a "microsoft.graph.deviceComplianceActionItem" object in the "scheduledActionConfigurations" collection. @@ -295,10 +295,10 @@ internal override System.String GetResourcePath() /// The list of scheduled action configurations for this compliance policy. /// /// GitHub Repository - [Cmdlet("Remove", "DeviceManagement_DeviceCompliancePolicies_ScheduledActionsForRule_ScheduledActionConfigurations", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Remove", "IntuneDeviceCompliancePolicyScheduledActionsForRuleConfiguration", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.deviceComplianceActionItem")] [ResourceTypePropertyName("scheduledActionConfigurationODataType")] - public class Remove_DeviceManagement_DeviceCompliancePolicies_ScheduledActionsForRule_ScheduledActionConfigurations : DeleteCmdlet + public class Remove_IntuneDeviceCompliancePolicyScheduledActionsForRuleConfiguration : DeleteCmdlet { /// /// The ID for a "microsoft.graph.deviceComplianceActionItem" object in the "scheduledActionConfigurations" collection. diff --git a/PowerShellCmdlets/Generated/SDK/DeviceManagement/DeviceCompliancePolicies/UserStatusOverview.cs b/PowerShellCmdlets/Generated/SDK/DeviceManagement/DeviceCompliancePolicies/UserStatusOverview.cs index 4622281..e2327c0 100644 --- a/PowerShellCmdlets/Generated/SDK/DeviceManagement/DeviceCompliancePolicies/UserStatusOverview.cs +++ b/PowerShellCmdlets/Generated/SDK/DeviceManagement/DeviceCompliancePolicies/UserStatusOverview.cs @@ -11,11 +11,11 @@ namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets /// Device compliance users status overview /// /// GitHub Repository - [Cmdlet("Get", "DeviceManagement_DeviceCompliancePolicies_UserStatusOverview", DefaultParameterSetName = @"Get")] + [Cmdlet("Get", "IntuneDeviceCompliancePolicyUserStatusOverview", DefaultParameterSetName = @"Get")] [ODataType("microsoft.graph.deviceComplianceUserOverview")] [ResourceTypePropertyName("userStatusOverviewODataType")] [ResourceReference] - public class Get_DeviceManagement_DeviceCompliancePolicies_UserStatusOverview : GetCmdlet + public class Get_IntuneDeviceCompliancePolicyUserStatusOverview : GetCmdlet { /// /// A required ID for referencing a "microsoft.graph.deviceCompliancePolicy" object in the "deviceCompliancePolicies" collection. @@ -110,11 +110,11 @@ internal override System.String GetResourcePath() /// Device compliance users status overview /// /// GitHub Repository - [Cmdlet("New", "DeviceManagement_DeviceCompliancePolicies_UserStatusOverview", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.deviceComplianceUserOverview")] + [Cmdlet("New", "IntuneDeviceCompliancePolicyUserStatusOverview", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.deviceComplianceUserOverview")] [ODataType("microsoft.graph.deviceComplianceUserOverview")] [ResourceTypePropertyName("userStatusOverviewODataType")] [ResourceReference] - public class New_DeviceManagement_DeviceCompliancePolicies_UserStatusOverview : PostCmdlet + public class New_IntuneDeviceCompliancePolicyUserStatusOverview : PostCmdlet { /// /// A required ID for referencing a "microsoft.graph.deviceCompliancePolicy" object in the "deviceCompliancePolicies" collection. @@ -216,10 +216,10 @@ internal override System.String GetResourcePath() /// Device compliance users status overview /// /// GitHub Repository - [Cmdlet("Update", "DeviceManagement_DeviceCompliancePolicies_UserStatusOverview", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.deviceComplianceUserOverview")] + [Cmdlet("Update", "IntuneDeviceCompliancePolicyUserStatusOverview", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.deviceComplianceUserOverview")] [ODataType("microsoft.graph.deviceComplianceUserOverview")] [ResourceTypePropertyName("userStatusOverviewODataType")] - public class Update_DeviceManagement_DeviceCompliancePolicies_UserStatusOverview : PatchCmdlet + public class Update_IntuneDeviceCompliancePolicyUserStatusOverview : PatchCmdlet { /// /// A required ID for referencing a "microsoft.graph.deviceCompliancePolicy" object in the "deviceCompliancePolicies" collection. @@ -321,10 +321,10 @@ internal override System.String GetResourcePath() /// Device compliance users status overview /// /// GitHub Repository - [Cmdlet("Remove", "DeviceManagement_DeviceCompliancePolicies_UserStatusOverview", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Remove", "IntuneDeviceCompliancePolicyUserStatusOverview", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.deviceComplianceUserOverview")] [ResourceTypePropertyName("userStatusOverviewODataType")] - public class Remove_DeviceManagement_DeviceCompliancePolicies_UserStatusOverview : DeleteCmdlet + public class Remove_IntuneDeviceCompliancePolicyUserStatusOverview : DeleteCmdlet { /// /// A required ID for referencing a "microsoft.graph.deviceCompliancePolicy" object in the "deviceCompliancePolicies" collection. diff --git a/PowerShellCmdlets/Generated/SDK/DeviceManagement/DeviceCompliancePolicies/UserStatuses.cs b/PowerShellCmdlets/Generated/SDK/DeviceManagement/DeviceCompliancePolicies/UserStatuses.cs index ee8b788..27a66d2 100644 --- a/PowerShellCmdlets/Generated/SDK/DeviceManagement/DeviceCompliancePolicies/UserStatuses.cs +++ b/PowerShellCmdlets/Generated/SDK/DeviceManagement/DeviceCompliancePolicies/UserStatuses.cs @@ -11,11 +11,11 @@ namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets /// List of DeviceComplianceUserStatus. /// /// GitHub Repository - [Cmdlet("Get", "DeviceManagement_DeviceCompliancePolicies_UserStatuses", DefaultParameterSetName = @"Search")] + [Cmdlet("Get", "IntuneDeviceCompliancePolicyUserStatus", DefaultParameterSetName = @"Search")] [ODataType("microsoft.graph.deviceComplianceUserStatus")] [ResourceTypePropertyName("userStatusODataType")] [ResourceReference] - public class Get_DeviceManagement_DeviceCompliancePolicies_UserStatuses : GetOrSearchCmdlet + public class Get_IntuneDeviceCompliancePolicyUserStatus : GetOrSearchCmdlet { /// /// A required ID for referencing a "microsoft.graph.deviceCompliancePolicy" object in the "deviceCompliancePolicies" collection. @@ -101,11 +101,11 @@ internal override System.String GetResourcePath() /// List of DeviceComplianceUserStatus. /// /// GitHub Repository - [Cmdlet("New", "DeviceManagement_DeviceCompliancePolicies_UserStatuses", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.deviceComplianceUserStatus")] + [Cmdlet("New", "IntuneDeviceCompliancePolicyUserStatus", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.deviceComplianceUserStatus")] [ODataType("microsoft.graph.deviceComplianceUserStatus")] [ResourceTypePropertyName("userStatusODataType")] [ResourceReference] - public class New_DeviceManagement_DeviceCompliancePolicies_UserStatuses : PostCmdlet + public class New_IntuneDeviceCompliancePolicyUserStatus : PostCmdlet { /// /// The ID for a "microsoft.graph.deviceComplianceUserStatus" object in the "userStatuses" collection. @@ -198,10 +198,10 @@ internal override System.String GetResourcePath() /// List of DeviceComplianceUserStatus. /// /// GitHub Repository - [Cmdlet("Update", "DeviceManagement_DeviceCompliancePolicies_UserStatuses", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.deviceComplianceUserStatus")] + [Cmdlet("Update", "IntuneDeviceCompliancePolicyUserStatus", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.deviceComplianceUserStatus")] [ODataType("microsoft.graph.deviceComplianceUserStatus")] [ResourceTypePropertyName("userStatusODataType")] - public class Update_DeviceManagement_DeviceCompliancePolicies_UserStatuses : PatchCmdlet + public class Update_IntuneDeviceCompliancePolicyUserStatus : PatchCmdlet { /// /// The ID for a "microsoft.graph.deviceComplianceUserStatus" object in the "userStatuses" collection. @@ -296,10 +296,10 @@ internal override System.String GetResourcePath() /// List of DeviceComplianceUserStatus. /// /// GitHub Repository - [Cmdlet("Remove", "DeviceManagement_DeviceCompliancePolicies_UserStatuses", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Remove", "IntuneDeviceCompliancePolicyUserStatus", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.deviceComplianceUserStatus")] [ResourceTypePropertyName("userStatusODataType")] - public class Remove_DeviceManagement_DeviceCompliancePolicies_UserStatuses : DeleteCmdlet + public class Remove_IntuneDeviceCompliancePolicyUserStatus : DeleteCmdlet { /// /// The ID for a "microsoft.graph.deviceComplianceUserStatus" object in the "userStatuses" collection. diff --git a/PowerShellCmdlets/Generated/SDK/DeviceManagement/DeviceCompliancePolicyDeviceStateSummary.cs b/PowerShellCmdlets/Generated/SDK/DeviceManagement/DeviceCompliancePolicyDeviceStateSummary.cs index 7b402d3..f053b9a 100644 --- a/PowerShellCmdlets/Generated/SDK/DeviceManagement/DeviceCompliancePolicyDeviceStateSummary.cs +++ b/PowerShellCmdlets/Generated/SDK/DeviceManagement/DeviceCompliancePolicyDeviceStateSummary.cs @@ -11,11 +11,11 @@ namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets /// The device compliance state summary for this account. /// /// GitHub Repository - [Cmdlet("Get", "DeviceManagement_DeviceCompliancePolicyDeviceStateSummary", DefaultParameterSetName = @"Get")] + [Cmdlet("Get", "IntuneDeviceCompliancePolicyDeviceStateSummary", DefaultParameterSetName = @"Get")] [ODataType("microsoft.graph.deviceCompliancePolicyDeviceStateSummary")] [ResourceTypePropertyName("deviceCompliancePolicyDeviceStateSummaryODataType")] [ResourceReference] - public class Get_DeviceManagement_DeviceCompliancePolicyDeviceStateSummary : GetCmdlet + public class Get_IntuneDeviceCompliancePolicyDeviceStateSummary : GetCmdlet { /// /// The "inGracePeriodCount" property, of type "Edm.Int32". @@ -120,11 +120,11 @@ internal override System.String GetResourcePath() /// The device compliance state summary for this account. /// /// GitHub Repository - [Cmdlet("New", "DeviceManagement_DeviceCompliancePolicyDeviceStateSummary", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.deviceCompliancePolicyDeviceStateSummary")] + [Cmdlet("New", "IntuneDeviceCompliancePolicyDeviceStateSummary", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.deviceCompliancePolicyDeviceStateSummary")] [ODataType("microsoft.graph.deviceCompliancePolicyDeviceStateSummary")] [ResourceTypePropertyName("deviceCompliancePolicyDeviceStateSummaryODataType")] [ResourceReference] - public class New_DeviceManagement_DeviceCompliancePolicyDeviceStateSummary : PostCmdlet + public class New_IntuneDeviceCompliancePolicyDeviceStateSummary : PostCmdlet { /// /// The "inGracePeriodCount" property, of type "Edm.Int32". @@ -238,10 +238,10 @@ internal override System.String GetResourcePath() /// The device compliance state summary for this account. /// /// GitHub Repository - [Cmdlet("Update", "DeviceManagement_DeviceCompliancePolicyDeviceStateSummary", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.deviceCompliancePolicyDeviceStateSummary")] + [Cmdlet("Update", "IntuneDeviceCompliancePolicyDeviceStateSummary", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.deviceCompliancePolicyDeviceStateSummary")] [ODataType("microsoft.graph.deviceCompliancePolicyDeviceStateSummary")] [ResourceTypePropertyName("deviceCompliancePolicyDeviceStateSummaryODataType")] - public class Update_DeviceManagement_DeviceCompliancePolicyDeviceStateSummary : PatchCmdlet + public class Update_IntuneDeviceCompliancePolicyDeviceStateSummary : PatchCmdlet { /// /// The "inGracePeriodCount" property, of type "Edm.Int32". @@ -355,10 +355,10 @@ internal override System.String GetResourcePath() /// The device compliance state summary for this account. /// /// GitHub Repository - [Cmdlet("Remove", "DeviceManagement_DeviceCompliancePolicyDeviceStateSummary", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Remove", "IntuneDeviceCompliancePolicyDeviceStateSummary", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.deviceCompliancePolicyDeviceStateSummary")] [ResourceTypePropertyName("deviceCompliancePolicyDeviceStateSummaryODataType")] - public class Remove_DeviceManagement_DeviceCompliancePolicyDeviceStateSummary : DeleteCmdlet + public class Remove_IntuneDeviceCompliancePolicyDeviceStateSummary : DeleteCmdlet { internal override System.String GetResourcePath() { diff --git a/PowerShellCmdlets/Generated/SDK/DeviceManagement/DeviceCompliancePolicySettingStateSummaries.cs b/PowerShellCmdlets/Generated/SDK/DeviceManagement/DeviceCompliancePolicySettingStateSummaries.cs index aec618e..f2aa282 100644 --- a/PowerShellCmdlets/Generated/SDK/DeviceManagement/DeviceCompliancePolicySettingStateSummaries.cs +++ b/PowerShellCmdlets/Generated/SDK/DeviceManagement/DeviceCompliancePolicySettingStateSummaries.cs @@ -11,11 +11,11 @@ namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets /// The summary states of compliance policy settings for this account. /// /// GitHub Repository - [Cmdlet("Get", "DeviceManagement_DeviceCompliancePolicySettingStateSummaries", DefaultParameterSetName = @"Search")] + [Cmdlet("Get", "IntuneDeviceCompliancePolicySettingSummary", DefaultParameterSetName = @"Search")] [ODataType("microsoft.graph.deviceCompliancePolicySettingStateSummary")] [ResourceTypePropertyName("deviceCompliancePolicySettingStateSummaryODataType")] [ResourceReference] - public class Get_DeviceManagement_DeviceCompliancePolicySettingStateSummaries : GetOrSearchCmdlet + public class Get_IntuneDeviceCompliancePolicySettingSummary : GetOrSearchCmdlet { /// /// The ID for a "microsoft.graph.deviceCompliancePolicySettingStateSummary" object in the "deviceCompliancePolicySettingStateSummaries" collection. @@ -150,11 +150,11 @@ internal override System.String GetResourcePath() /// The summary states of compliance policy settings for this account. /// /// GitHub Repository - [Cmdlet("New", "DeviceManagement_DeviceCompliancePolicySettingStateSummaries", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.deviceCompliancePolicySettingStateSummary")] + [Cmdlet("New", "IntuneDeviceCompliancePolicySettingSummary", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.deviceCompliancePolicySettingStateSummary")] [ODataType("microsoft.graph.deviceCompliancePolicySettingStateSummary")] [ResourceTypePropertyName("deviceCompliancePolicySettingStateSummaryODataType")] [ResourceReference] - public class New_DeviceManagement_DeviceCompliancePolicySettingStateSummaries : PostCmdlet + public class New_IntuneDeviceCompliancePolicySettingSummary : PostCmdlet { /// /// The ID for a "microsoft.graph.deviceCompliancePolicySettingStateSummary" object in the "deviceCompliancePolicySettingStateSummaries" collection. @@ -304,10 +304,10 @@ internal override System.String GetResourcePath() /// The summary states of compliance policy settings for this account. /// /// GitHub Repository - [Cmdlet("Update", "DeviceManagement_DeviceCompliancePolicySettingStateSummaries", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.deviceCompliancePolicySettingStateSummary")] + [Cmdlet("Update", "IntuneDeviceCompliancePolicySettingSummary", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.deviceCompliancePolicySettingStateSummary")] [ODataType("microsoft.graph.deviceCompliancePolicySettingStateSummary")] [ResourceTypePropertyName("deviceCompliancePolicySettingStateSummaryODataType")] - public class Update_DeviceManagement_DeviceCompliancePolicySettingStateSummaries : PatchCmdlet + public class Update_IntuneDeviceCompliancePolicySettingSummary : PatchCmdlet { /// /// The ID for a "microsoft.graph.deviceCompliancePolicySettingStateSummary" object in the "deviceCompliancePolicySettingStateSummaries" collection. @@ -459,10 +459,10 @@ internal override System.String GetResourcePath() /// The summary states of compliance policy settings for this account. /// /// GitHub Repository - [Cmdlet("Remove", "DeviceManagement_DeviceCompliancePolicySettingStateSummaries", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Remove", "IntuneDeviceCompliancePolicySettingSummary", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.deviceCompliancePolicySettingStateSummary")] [ResourceTypePropertyName("deviceCompliancePolicySettingStateSummaryODataType")] - public class Remove_DeviceManagement_DeviceCompliancePolicySettingStateSummaries : DeleteCmdlet + public class Remove_IntuneDeviceCompliancePolicySettingSummary : DeleteCmdlet { /// /// The ID for a "microsoft.graph.deviceCompliancePolicySettingStateSummary" object in the "deviceCompliancePolicySettingStateSummaries" collection. diff --git a/PowerShellCmdlets/Generated/SDK/DeviceManagement/DeviceCompliancePolicySettingStateSummaries/DeviceComplianceSettingStates.cs b/PowerShellCmdlets/Generated/SDK/DeviceManagement/DeviceCompliancePolicySettingStateSummaries/DeviceComplianceSettingStates.cs index e04d97f..a44b2c1 100644 --- a/PowerShellCmdlets/Generated/SDK/DeviceManagement/DeviceCompliancePolicySettingStateSummaries/DeviceComplianceSettingStates.cs +++ b/PowerShellCmdlets/Generated/SDK/DeviceManagement/DeviceCompliancePolicySettingStateSummaries/DeviceComplianceSettingStates.cs @@ -10,11 +10,11 @@ namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets /// Retrieves "microsoft.graph.deviceComplianceSettingState" objects in the "deviceComplianceSettingStates" collection. /// /// GitHub Repository - [Cmdlet("Get", "DeviceManagement_DeviceCompliancePolicySettingStateSummaries_DeviceComplianceSettingStates", DefaultParameterSetName = @"Search")] + [Cmdlet("Get", "IntuneDeviceComplianceSettingState", DefaultParameterSetName = @"Search")] [ODataType("microsoft.graph.deviceComplianceSettingState")] [ResourceTypePropertyName("deviceComplianceSettingStateODataType")] [ResourceReference] - public class Get_DeviceManagement_DeviceCompliancePolicySettingStateSummaries_DeviceComplianceSettingStates : GetOrSearchCmdlet + public class Get_IntuneDeviceComplianceSettingState : GetOrSearchCmdlet { /// /// A required ID for referencing a "microsoft.graph.deviceCompliancePolicySettingStateSummary" object in the "deviceCompliancePolicySettingStateSummaries" collection. @@ -159,11 +159,11 @@ internal override System.String GetResourcePath() /// Adds a "microsoft.graph.deviceComplianceSettingState" object to the "deviceComplianceSettingStates" collection. /// /// GitHub Repository - [Cmdlet("New", "DeviceManagement_DeviceCompliancePolicySettingStateSummaries_DeviceComplianceSettingStates", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.deviceComplianceSettingState")] + [Cmdlet("New", "IntuneDeviceComplianceSettingState", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.deviceComplianceSettingState")] [ODataType("microsoft.graph.deviceComplianceSettingState")] [ResourceTypePropertyName("deviceComplianceSettingStateODataType")] [ResourceReference] - public class New_DeviceManagement_DeviceCompliancePolicySettingStateSummaries_DeviceComplianceSettingStates : PostCmdlet + public class New_IntuneDeviceComplianceSettingState : PostCmdlet { /// /// The ID for a "microsoft.graph.deviceComplianceSettingState" object in the "deviceComplianceSettingStates" collection. @@ -321,10 +321,10 @@ internal override System.String GetResourcePath() /// Updates a "microsoft.graph.deviceComplianceSettingState" object in the "deviceComplianceSettingStates" collection. /// /// GitHub Repository - [Cmdlet("Update", "DeviceManagement_DeviceCompliancePolicySettingStateSummaries_DeviceComplianceSettingStates", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.deviceComplianceSettingState")] + [Cmdlet("Update", "IntuneDeviceComplianceSettingState", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.deviceComplianceSettingState")] [ODataType("microsoft.graph.deviceComplianceSettingState")] [ResourceTypePropertyName("deviceComplianceSettingStateODataType")] - public class Update_DeviceManagement_DeviceCompliancePolicySettingStateSummaries_DeviceComplianceSettingStates : PatchCmdlet + public class Update_IntuneDeviceComplianceSettingState : PatchCmdlet { /// /// The ID for a "microsoft.graph.deviceComplianceSettingState" object in the "deviceComplianceSettingStates" collection. @@ -484,10 +484,10 @@ internal override System.String GetResourcePath() /// Removes a "microsoft.graph.deviceComplianceSettingState" object from the "deviceComplianceSettingStates" collection. /// /// GitHub Repository - [Cmdlet("Remove", "DeviceManagement_DeviceCompliancePolicySettingStateSummaries_DeviceComplianceSettingStates", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Remove", "IntuneDeviceComplianceSettingState", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.deviceComplianceSettingState")] [ResourceTypePropertyName("deviceComplianceSettingStateODataType")] - public class Remove_DeviceManagement_DeviceCompliancePolicySettingStateSummaries_DeviceComplianceSettingStates : DeleteCmdlet + public class Remove_IntuneDeviceComplianceSettingState : DeleteCmdlet { /// /// The ID for a "microsoft.graph.deviceComplianceSettingState" object in the "deviceComplianceSettingStates" collection. diff --git a/PowerShellCmdlets/Generated/SDK/DeviceManagement/DeviceConfigurationDeviceStateSummaries.cs b/PowerShellCmdlets/Generated/SDK/DeviceManagement/DeviceConfigurationDeviceStateSummaries.cs index 17fdf3d..5d24e30 100644 --- a/PowerShellCmdlets/Generated/SDK/DeviceManagement/DeviceConfigurationDeviceStateSummaries.cs +++ b/PowerShellCmdlets/Generated/SDK/DeviceManagement/DeviceConfigurationDeviceStateSummaries.cs @@ -11,11 +11,11 @@ namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets /// The device configuration device state summary for this account. /// /// GitHub Repository - [Cmdlet("Get", "DeviceManagement_DeviceConfigurationDeviceStateSummaries", DefaultParameterSetName = @"Get")] + [Cmdlet("Get", "IntuneDeviceConfigurationDeviceStateSummary", DefaultParameterSetName = @"Get")] [ODataType("microsoft.graph.deviceConfigurationDeviceStateSummary")] [ResourceTypePropertyName("deviceConfigurationDeviceStateSummaryODataType")] [ResourceReference] - public class Get_DeviceManagement_DeviceConfigurationDeviceStateSummaries : GetCmdlet + public class Get_IntuneDeviceConfigurationDeviceStateSummary : GetCmdlet { /// /// The "unknownDeviceCount" property, of type "Edm.Int32". @@ -100,11 +100,11 @@ internal override System.String GetResourcePath() /// The device configuration device state summary for this account. /// /// GitHub Repository - [Cmdlet("New", "DeviceManagement_DeviceConfigurationDeviceStateSummaries", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.deviceConfigurationDeviceStateSummary")] + [Cmdlet("New", "IntuneDeviceConfigurationDeviceStateSummary", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.deviceConfigurationDeviceStateSummary")] [ODataType("microsoft.graph.deviceConfigurationDeviceStateSummary")] [ResourceTypePropertyName("deviceConfigurationDeviceStateSummaryODataType")] [ResourceReference] - public class New_DeviceManagement_DeviceConfigurationDeviceStateSummaries : PostCmdlet + public class New_IntuneDeviceConfigurationDeviceStateSummary : PostCmdlet { /// /// The "unknownDeviceCount" property, of type "Edm.Int32". @@ -196,10 +196,10 @@ internal override System.String GetResourcePath() /// The device configuration device state summary for this account. /// /// GitHub Repository - [Cmdlet("Update", "DeviceManagement_DeviceConfigurationDeviceStateSummaries", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.deviceConfigurationDeviceStateSummary")] + [Cmdlet("Update", "IntuneDeviceConfigurationDeviceStateSummary", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.deviceConfigurationDeviceStateSummary")] [ODataType("microsoft.graph.deviceConfigurationDeviceStateSummary")] [ResourceTypePropertyName("deviceConfigurationDeviceStateSummaryODataType")] - public class Update_DeviceManagement_DeviceConfigurationDeviceStateSummaries : PatchCmdlet + public class Update_IntuneDeviceConfigurationDeviceStateSummary : PatchCmdlet { /// /// The "unknownDeviceCount" property, of type "Edm.Int32". @@ -291,10 +291,10 @@ internal override System.String GetResourcePath() /// The device configuration device state summary for this account. /// /// GitHub Repository - [Cmdlet("Remove", "DeviceManagement_DeviceConfigurationDeviceStateSummaries", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Remove", "IntuneDeviceConfigurationDeviceStateSummary", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.deviceConfigurationDeviceStateSummary")] [ResourceTypePropertyName("deviceConfigurationDeviceStateSummaryODataType")] - public class Remove_DeviceManagement_DeviceConfigurationDeviceStateSummaries : DeleteCmdlet + public class Remove_IntuneDeviceConfigurationDeviceStateSummary : DeleteCmdlet { internal override System.String GetResourcePath() { diff --git a/PowerShellCmdlets/Generated/SDK/DeviceManagement/DeviceConfigurations.cs b/PowerShellCmdlets/Generated/SDK/DeviceManagement/DeviceConfigurations.cs index 06bf6ce..3924e60 100644 --- a/PowerShellCmdlets/Generated/SDK/DeviceManagement/DeviceConfigurations.cs +++ b/PowerShellCmdlets/Generated/SDK/DeviceManagement/DeviceConfigurations.cs @@ -11,11 +11,11 @@ namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets /// The device configurations. /// /// GitHub Repository - [Cmdlet("Get", "DeviceManagement_DeviceConfigurations", DefaultParameterSetName = @"Search")] + [Cmdlet("Get", "IntuneDeviceConfigurationPolicy", DefaultParameterSetName = @"Search")] [ODataType("microsoft.graph.deviceConfiguration", "microsoft.graph.windows10TeamGeneralConfiguration", "microsoft.graph.windowsPhone81GeneralConfiguration", "microsoft.graph.windows81GeneralConfiguration", "microsoft.graph.windowsUpdateForBusinessConfiguration", "microsoft.graph.windowsPhone81CustomConfiguration", "microsoft.graph.windows10SecureAssessmentConfiguration", "microsoft.graph.sharedPCConfiguration", "microsoft.graph.windows10EnterpriseModernAppManagementConfiguration", "microsoft.graph.windows10CustomConfiguration", "microsoft.graph.windows10GeneralConfiguration", "microsoft.graph.windows10EndpointProtectionConfiguration", "microsoft.graph.editionUpgradeConfiguration", "microsoft.graph.windowsDefenderAdvancedThreatProtectionConfiguration", "microsoft.graph.appleDeviceFeaturesConfigurationBase", "microsoft.graph.macOSDeviceFeaturesConfiguration", "microsoft.graph.iosDeviceFeaturesConfiguration", "microsoft.graph.macOSGeneralDeviceConfiguration", "microsoft.graph.macOSCustomConfiguration", "microsoft.graph.iosUpdateConfiguration", "microsoft.graph.iosGeneralDeviceConfiguration", "microsoft.graph.iosCustomConfiguration", "microsoft.graph.iosCertificateProfile", "microsoft.graph.androidWorkProfileGeneralDeviceConfiguration", "microsoft.graph.androidWorkProfileCustomConfiguration", "microsoft.graph.androidGeneralDeviceConfiguration", "microsoft.graph.androidCustomConfiguration")] [ResourceTypePropertyName("deviceConfigurationODataType")] [ResourceReference] - public class Get_DeviceManagement_DeviceConfigurations : GetOrSearchCmdlet + public class Get_IntuneDeviceConfigurationPolicy : GetOrSearchCmdlet { /// /// The ID for a "microsoft.graph.deviceConfiguration" object in the "deviceConfigurations" collection. @@ -5794,11 +5794,11 @@ internal override System.String GetResourcePath() /// The device configurations. /// /// GitHub Repository - [Cmdlet("New", "DeviceManagement_DeviceConfigurations", ConfirmImpact = ConfirmImpact.Low)] + [Cmdlet("New", "IntuneDeviceConfigurationPolicy", ConfirmImpact = ConfirmImpact.Low)] [ODataType("microsoft.graph.deviceConfiguration", "microsoft.graph.windows10TeamGeneralConfiguration", "microsoft.graph.windowsPhone81GeneralConfiguration", "microsoft.graph.windows81GeneralConfiguration", "microsoft.graph.windowsUpdateForBusinessConfiguration", "microsoft.graph.windowsPhone81CustomConfiguration", "microsoft.graph.windows10SecureAssessmentConfiguration", "microsoft.graph.sharedPCConfiguration", "microsoft.graph.windows10EnterpriseModernAppManagementConfiguration", "microsoft.graph.windows10CustomConfiguration", "microsoft.graph.windows10GeneralConfiguration", "microsoft.graph.windows10EndpointProtectionConfiguration", "microsoft.graph.editionUpgradeConfiguration", "microsoft.graph.windowsDefenderAdvancedThreatProtectionConfiguration", "microsoft.graph.appleDeviceFeaturesConfigurationBase", "microsoft.graph.macOSDeviceFeaturesConfiguration", "microsoft.graph.iosDeviceFeaturesConfiguration", "microsoft.graph.macOSGeneralDeviceConfiguration", "microsoft.graph.macOSCustomConfiguration", "microsoft.graph.iosUpdateConfiguration", "microsoft.graph.iosGeneralDeviceConfiguration", "microsoft.graph.iosCustomConfiguration", "microsoft.graph.iosCertificateProfile", "microsoft.graph.androidWorkProfileGeneralDeviceConfiguration", "microsoft.graph.androidWorkProfileCustomConfiguration", "microsoft.graph.androidGeneralDeviceConfiguration", "microsoft.graph.androidCustomConfiguration")] [ResourceTypePropertyName("deviceConfigurationODataType")] [ResourceReference] - public class New_DeviceManagement_DeviceConfigurations : PostCmdlet + public class New_IntuneDeviceConfigurationPolicy : PostCmdlet { /// /// The ID for a "microsoft.graph.deviceConfiguration" object in the "deviceConfigurations" collection. @@ -12443,10 +12443,10 @@ internal override System.String GetResourcePath() /// The device configurations. /// /// GitHub Repository - [Cmdlet("Update", "DeviceManagement_DeviceConfigurations", ConfirmImpact = ConfirmImpact.Medium)] + [Cmdlet("Update", "IntuneDeviceConfigurationPolicy", ConfirmImpact = ConfirmImpact.Medium)] [ODataType("microsoft.graph.deviceConfiguration", "microsoft.graph.windows10TeamGeneralConfiguration", "microsoft.graph.windowsPhone81GeneralConfiguration", "microsoft.graph.windows81GeneralConfiguration", "microsoft.graph.windowsUpdateForBusinessConfiguration", "microsoft.graph.windowsPhone81CustomConfiguration", "microsoft.graph.windows10SecureAssessmentConfiguration", "microsoft.graph.sharedPCConfiguration", "microsoft.graph.windows10EnterpriseModernAppManagementConfiguration", "microsoft.graph.windows10CustomConfiguration", "microsoft.graph.windows10GeneralConfiguration", "microsoft.graph.windows10EndpointProtectionConfiguration", "microsoft.graph.editionUpgradeConfiguration", "microsoft.graph.windowsDefenderAdvancedThreatProtectionConfiguration", "microsoft.graph.appleDeviceFeaturesConfigurationBase", "microsoft.graph.macOSDeviceFeaturesConfiguration", "microsoft.graph.iosDeviceFeaturesConfiguration", "microsoft.graph.macOSGeneralDeviceConfiguration", "microsoft.graph.macOSCustomConfiguration", "microsoft.graph.iosUpdateConfiguration", "microsoft.graph.iosGeneralDeviceConfiguration", "microsoft.graph.iosCustomConfiguration", "microsoft.graph.iosCertificateProfile", "microsoft.graph.androidWorkProfileGeneralDeviceConfiguration", "microsoft.graph.androidWorkProfileCustomConfiguration", "microsoft.graph.androidGeneralDeviceConfiguration", "microsoft.graph.androidCustomConfiguration")] [ResourceTypePropertyName("deviceConfigurationODataType")] - public class Update_DeviceManagement_DeviceConfigurations : PatchCmdlet + public class Update_IntuneDeviceConfigurationPolicy : PatchCmdlet { /// /// The ID for a "microsoft.graph.deviceConfiguration" object in the "deviceConfigurations" collection. @@ -19093,10 +19093,10 @@ internal override System.String GetResourcePath() /// The device configurations. /// /// GitHub Repository - [Cmdlet("Remove", "DeviceManagement_DeviceConfigurations", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Remove", "IntuneDeviceConfigurationPolicy", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.deviceConfiguration", "microsoft.graph.windows10TeamGeneralConfiguration", "microsoft.graph.windowsPhone81GeneralConfiguration", "microsoft.graph.windows81GeneralConfiguration", "microsoft.graph.windowsUpdateForBusinessConfiguration", "microsoft.graph.windowsPhone81CustomConfiguration", "microsoft.graph.windows10SecureAssessmentConfiguration", "microsoft.graph.sharedPCConfiguration", "microsoft.graph.windows10EnterpriseModernAppManagementConfiguration", "microsoft.graph.windows10CustomConfiguration", "microsoft.graph.windows10GeneralConfiguration", "microsoft.graph.windows10EndpointProtectionConfiguration", "microsoft.graph.editionUpgradeConfiguration", "microsoft.graph.windowsDefenderAdvancedThreatProtectionConfiguration", "microsoft.graph.appleDeviceFeaturesConfigurationBase", "microsoft.graph.macOSDeviceFeaturesConfiguration", "microsoft.graph.iosDeviceFeaturesConfiguration", "microsoft.graph.macOSGeneralDeviceConfiguration", "microsoft.graph.macOSCustomConfiguration", "microsoft.graph.iosUpdateConfiguration", "microsoft.graph.iosGeneralDeviceConfiguration", "microsoft.graph.iosCustomConfiguration", "microsoft.graph.iosCertificateProfile", "microsoft.graph.androidWorkProfileGeneralDeviceConfiguration", "microsoft.graph.androidWorkProfileCustomConfiguration", "microsoft.graph.androidGeneralDeviceConfiguration", "microsoft.graph.androidCustomConfiguration")] [ResourceTypePropertyName("deviceConfigurationODataType")] - public class Remove_DeviceManagement_DeviceConfigurations : DeleteCmdlet + public class Remove_IntuneDeviceConfigurationPolicy : DeleteCmdlet { /// /// The ID for a "microsoft.graph.deviceConfiguration" object in the "deviceConfigurations" collection. @@ -19121,10 +19121,10 @@ internal override System.String GetResourcePath() /// This action returns a collection of "microsoft.graph.deviceConfigurationAssignment" objects. /// /// GitHub Repository - [Cmdlet("Invoke", "DeviceManagement_DeviceConfigurations_Assign", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Invoke", "IntuneDeviceConfigurationPolicyAssign", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.deviceConfiguration", "microsoft.graph.windows10TeamGeneralConfiguration", "microsoft.graph.windowsPhone81GeneralConfiguration", "microsoft.graph.windows81GeneralConfiguration", "microsoft.graph.windowsUpdateForBusinessConfiguration", "microsoft.graph.windowsPhone81CustomConfiguration", "microsoft.graph.windows10SecureAssessmentConfiguration", "microsoft.graph.sharedPCConfiguration", "microsoft.graph.windows10EnterpriseModernAppManagementConfiguration", "microsoft.graph.windows10CustomConfiguration", "microsoft.graph.windows10GeneralConfiguration", "microsoft.graph.windows10EndpointProtectionConfiguration", "microsoft.graph.editionUpgradeConfiguration", "microsoft.graph.windowsDefenderAdvancedThreatProtectionConfiguration", "microsoft.graph.appleDeviceFeaturesConfigurationBase", "microsoft.graph.macOSDeviceFeaturesConfiguration", "microsoft.graph.iosDeviceFeaturesConfiguration", "microsoft.graph.macOSGeneralDeviceConfiguration", "microsoft.graph.macOSCustomConfiguration", "microsoft.graph.iosUpdateConfiguration", "microsoft.graph.iosGeneralDeviceConfiguration", "microsoft.graph.iosCustomConfiguration", "microsoft.graph.iosCertificateProfile", "microsoft.graph.androidWorkProfileGeneralDeviceConfiguration", "microsoft.graph.androidWorkProfileCustomConfiguration", "microsoft.graph.androidGeneralDeviceConfiguration", "microsoft.graph.androidCustomConfiguration")] [ResourceTypePropertyName("deviceConfigurationODataType")] - public class Invoke_DeviceManagement_DeviceConfigurations_Assign : ActionCmdlet + public class Invoke_IntuneDeviceConfigurationPolicyAssign : ActionCmdlet { /// /// The "assignments" action parameter of type "microsoft.graph.deviceConfigurationAssignment". diff --git a/PowerShellCmdlets/Generated/SDK/DeviceManagement/DeviceConfigurations/Assignments.cs b/PowerShellCmdlets/Generated/SDK/DeviceManagement/DeviceConfigurations/Assignments.cs index 488b206..5c8eb8c 100644 --- a/PowerShellCmdlets/Generated/SDK/DeviceManagement/DeviceConfigurations/Assignments.cs +++ b/PowerShellCmdlets/Generated/SDK/DeviceManagement/DeviceConfigurations/Assignments.cs @@ -11,11 +11,11 @@ namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets /// The list of assignments for the device configuration profile. /// /// GitHub Repository - [Cmdlet("Get", "DeviceManagement_DeviceConfigurations_Assignments", DefaultParameterSetName = @"Search")] + [Cmdlet("Get", "IntuneDeviceConfigurationPolicyAssignment", DefaultParameterSetName = @"Search")] [ODataType("microsoft.graph.deviceConfigurationAssignment")] [ResourceTypePropertyName("assignmentODataType")] [ResourceReference] - public class Get_DeviceManagement_DeviceConfigurations_Assignments : GetOrSearchCmdlet + public class Get_IntuneDeviceConfigurationPolicyAssignment : GetOrSearchCmdlet { /// /// A required ID for referencing a "microsoft.graph.deviceConfiguration" object in the "deviceConfigurations" collection. @@ -61,11 +61,11 @@ internal override System.String GetResourcePath() /// The list of assignments for the device configuration profile. /// /// GitHub Repository - [Cmdlet("New", "DeviceManagement_DeviceConfigurations_Assignments", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.deviceConfigurationAssignment")] + [Cmdlet("New", "IntuneDeviceConfigurationPolicyAssignment", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.deviceConfigurationAssignment")] [ODataType("microsoft.graph.deviceConfigurationAssignment")] [ResourceTypePropertyName("assignmentODataType")] [ResourceReference] - public class New_DeviceManagement_DeviceConfigurations_Assignments : PostCmdlet + public class New_IntuneDeviceConfigurationPolicyAssignment : PostCmdlet { /// /// The ID for a "microsoft.graph.deviceConfigurationAssignment" object in the "assignments" collection. @@ -110,10 +110,10 @@ internal override System.String GetResourcePath() /// The list of assignments for the device configuration profile. /// /// GitHub Repository - [Cmdlet("Update", "DeviceManagement_DeviceConfigurations_Assignments", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.deviceConfigurationAssignment")] + [Cmdlet("Update", "IntuneDeviceConfigurationPolicyAssignment", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.deviceConfigurationAssignment")] [ODataType("microsoft.graph.deviceConfigurationAssignment")] [ResourceTypePropertyName("assignmentODataType")] - public class Update_DeviceManagement_DeviceConfigurations_Assignments : PatchCmdlet + public class Update_IntuneDeviceConfigurationPolicyAssignment : PatchCmdlet { /// /// The ID for a "microsoft.graph.deviceConfigurationAssignment" object in the "assignments" collection. @@ -160,10 +160,10 @@ internal override System.String GetResourcePath() /// The list of assignments for the device configuration profile. /// /// GitHub Repository - [Cmdlet("Remove", "DeviceManagement_DeviceConfigurations_Assignments", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Remove", "IntuneDeviceConfigurationPolicyAssignment", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.deviceConfigurationAssignment")] [ResourceTypePropertyName("assignmentODataType")] - public class Remove_DeviceManagement_DeviceConfigurations_Assignments : DeleteCmdlet + public class Remove_IntuneDeviceConfigurationPolicyAssignment : DeleteCmdlet { /// /// The ID for a "microsoft.graph.deviceConfigurationAssignment" object in the "assignments" collection. diff --git a/PowerShellCmdlets/Generated/SDK/DeviceManagement/DeviceConfigurations/DeviceSettingStateSummaries.cs b/PowerShellCmdlets/Generated/SDK/DeviceManagement/DeviceConfigurations/DeviceSettingStateSummaries.cs index 34a4dd1..1e74ccf 100644 --- a/PowerShellCmdlets/Generated/SDK/DeviceManagement/DeviceConfigurations/DeviceSettingStateSummaries.cs +++ b/PowerShellCmdlets/Generated/SDK/DeviceManagement/DeviceConfigurations/DeviceSettingStateSummaries.cs @@ -11,11 +11,11 @@ namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets /// Device Configuration Setting State Device Summary /// /// GitHub Repository - [Cmdlet("Get", "DeviceManagement_DeviceConfigurations_DeviceSettingStateSummaries", DefaultParameterSetName = @"Search")] + [Cmdlet("Get", "IntuneDeviceConfigurationPolicyDeviceSettingStateSummary", DefaultParameterSetName = @"Search")] [ODataType("microsoft.graph.settingStateDeviceSummary")] [ResourceTypePropertyName("deviceSettingStateSummaryODataType")] [ResourceReference] - public class Get_DeviceManagement_DeviceConfigurations_DeviceSettingStateSummaries : GetOrSearchCmdlet + public class Get_IntuneDeviceConfigurationPolicyDeviceSettingStateSummary : GetOrSearchCmdlet { /// /// A required ID for referencing a "microsoft.graph.deviceConfiguration" object in the "deviceConfigurations" collection. @@ -141,11 +141,11 @@ internal override System.String GetResourcePath() /// Device Configuration Setting State Device Summary /// /// GitHub Repository - [Cmdlet("New", "DeviceManagement_DeviceConfigurations_DeviceSettingStateSummaries", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.settingStateDeviceSummary")] + [Cmdlet("New", "IntuneDeviceConfigurationPolicyDeviceSettingStateSummary", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.settingStateDeviceSummary")] [ODataType("microsoft.graph.settingStateDeviceSummary")] [ResourceTypePropertyName("deviceSettingStateSummaryODataType")] [ResourceReference] - public class New_DeviceManagement_DeviceConfigurations_DeviceSettingStateSummaries : PostCmdlet + public class New_IntuneDeviceConfigurationPolicyDeviceSettingStateSummary : PostCmdlet { /// /// The ID for a "microsoft.graph.settingStateDeviceSummary" object in the "deviceSettingStateSummaries" collection. @@ -278,10 +278,10 @@ internal override System.String GetResourcePath() /// Device Configuration Setting State Device Summary /// /// GitHub Repository - [Cmdlet("Update", "DeviceManagement_DeviceConfigurations_DeviceSettingStateSummaries", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.settingStateDeviceSummary")] + [Cmdlet("Update", "IntuneDeviceConfigurationPolicyDeviceSettingStateSummary", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.settingStateDeviceSummary")] [ODataType("microsoft.graph.settingStateDeviceSummary")] [ResourceTypePropertyName("deviceSettingStateSummaryODataType")] - public class Update_DeviceManagement_DeviceConfigurations_DeviceSettingStateSummaries : PatchCmdlet + public class Update_IntuneDeviceConfigurationPolicyDeviceSettingStateSummary : PatchCmdlet { /// /// The ID for a "microsoft.graph.settingStateDeviceSummary" object in the "deviceSettingStateSummaries" collection. @@ -416,10 +416,10 @@ internal override System.String GetResourcePath() /// Device Configuration Setting State Device Summary /// /// GitHub Repository - [Cmdlet("Remove", "DeviceManagement_DeviceConfigurations_DeviceSettingStateSummaries", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Remove", "IntuneDeviceConfigurationPolicyDeviceSettingStateSummary", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.settingStateDeviceSummary")] [ResourceTypePropertyName("deviceSettingStateSummaryODataType")] - public class Remove_DeviceManagement_DeviceConfigurations_DeviceSettingStateSummaries : DeleteCmdlet + public class Remove_IntuneDeviceConfigurationPolicyDeviceSettingStateSummary : DeleteCmdlet { /// /// The ID for a "microsoft.graph.settingStateDeviceSummary" object in the "deviceSettingStateSummaries" collection. diff --git a/PowerShellCmdlets/Generated/SDK/DeviceManagement/DeviceConfigurations/DeviceStatusOverview.cs b/PowerShellCmdlets/Generated/SDK/DeviceManagement/DeviceConfigurations/DeviceStatusOverview.cs index c37c152..32dda17 100644 --- a/PowerShellCmdlets/Generated/SDK/DeviceManagement/DeviceConfigurations/DeviceStatusOverview.cs +++ b/PowerShellCmdlets/Generated/SDK/DeviceManagement/DeviceConfigurations/DeviceStatusOverview.cs @@ -11,11 +11,11 @@ namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets /// Device Configuration devices status overview /// /// GitHub Repository - [Cmdlet("Get", "DeviceManagement_DeviceConfigurations_DeviceStatusOverview", DefaultParameterSetName = @"Get")] + [Cmdlet("Get", "IntuneDeviceConfigurationPolicyDeviceStatusOverview", DefaultParameterSetName = @"Get")] [ODataType("microsoft.graph.deviceConfigurationDeviceOverview")] [ResourceTypePropertyName("deviceStatusOverviewODataType")] [ResourceReference] - public class Get_DeviceManagement_DeviceConfigurations_DeviceStatusOverview : GetCmdlet + public class Get_IntuneDeviceConfigurationPolicyDeviceStatusOverview : GetCmdlet { /// /// A required ID for referencing a "microsoft.graph.deviceConfiguration" object in the "deviceConfigurations" collection. @@ -110,11 +110,11 @@ internal override System.String GetResourcePath() /// Device Configuration devices status overview /// /// GitHub Repository - [Cmdlet("New", "DeviceManagement_DeviceConfigurations_DeviceStatusOverview", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.deviceConfigurationDeviceOverview")] + [Cmdlet("New", "IntuneDeviceConfigurationPolicyDeviceStatusOverview", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.deviceConfigurationDeviceOverview")] [ODataType("microsoft.graph.deviceConfigurationDeviceOverview")] [ResourceTypePropertyName("deviceStatusOverviewODataType")] [ResourceReference] - public class New_DeviceManagement_DeviceConfigurations_DeviceStatusOverview : PostCmdlet + public class New_IntuneDeviceConfigurationPolicyDeviceStatusOverview : PostCmdlet { /// /// A required ID for referencing a "microsoft.graph.deviceConfiguration" object in the "deviceConfigurations" collection. @@ -216,10 +216,10 @@ internal override System.String GetResourcePath() /// Device Configuration devices status overview /// /// GitHub Repository - [Cmdlet("Update", "DeviceManagement_DeviceConfigurations_DeviceStatusOverview", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.deviceConfigurationDeviceOverview")] + [Cmdlet("Update", "IntuneDeviceConfigurationPolicyDeviceStatusOverview", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.deviceConfigurationDeviceOverview")] [ODataType("microsoft.graph.deviceConfigurationDeviceOverview")] [ResourceTypePropertyName("deviceStatusOverviewODataType")] - public class Update_DeviceManagement_DeviceConfigurations_DeviceStatusOverview : PatchCmdlet + public class Update_IntuneDeviceConfigurationPolicyDeviceStatusOverview : PatchCmdlet { /// /// A required ID for referencing a "microsoft.graph.deviceConfiguration" object in the "deviceConfigurations" collection. @@ -321,10 +321,10 @@ internal override System.String GetResourcePath() /// Device Configuration devices status overview /// /// GitHub Repository - [Cmdlet("Remove", "DeviceManagement_DeviceConfigurations_DeviceStatusOverview", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Remove", "IntuneDeviceConfigurationPolicyDeviceStatusOverview", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.deviceConfigurationDeviceOverview")] [ResourceTypePropertyName("deviceStatusOverviewODataType")] - public class Remove_DeviceManagement_DeviceConfigurations_DeviceStatusOverview : DeleteCmdlet + public class Remove_IntuneDeviceConfigurationPolicyDeviceStatusOverview : DeleteCmdlet { /// /// A required ID for referencing a "microsoft.graph.deviceConfiguration" object in the "deviceConfigurations" collection. diff --git a/PowerShellCmdlets/Generated/SDK/DeviceManagement/DeviceConfigurations/DeviceStatuses.cs b/PowerShellCmdlets/Generated/SDK/DeviceManagement/DeviceConfigurations/DeviceStatuses.cs index 3af9c37..3431260 100644 --- a/PowerShellCmdlets/Generated/SDK/DeviceManagement/DeviceConfigurations/DeviceStatuses.cs +++ b/PowerShellCmdlets/Generated/SDK/DeviceManagement/DeviceConfigurations/DeviceStatuses.cs @@ -11,11 +11,11 @@ namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets /// Device configuration installation status by device. /// /// GitHub Repository - [Cmdlet("Get", "DeviceManagement_DeviceConfigurations_DeviceStatuses", DefaultParameterSetName = @"Search")] + [Cmdlet("Get", "IntuneDeviceConfigurationPolicyDeviceStatus", DefaultParameterSetName = @"Search")] [ODataType("microsoft.graph.deviceConfigurationDeviceStatus")] [ResourceTypePropertyName("deviceStatusODataType")] [ResourceReference] - public class Get_DeviceManagement_DeviceConfigurations_DeviceStatuses : GetOrSearchCmdlet + public class Get_IntuneDeviceConfigurationPolicyDeviceStatus : GetOrSearchCmdlet { /// /// A required ID for referencing a "microsoft.graph.deviceConfiguration" object in the "deviceConfigurations" collection. @@ -121,11 +121,11 @@ internal override System.String GetResourcePath() /// Device configuration installation status by device. /// /// GitHub Repository - [Cmdlet("New", "DeviceManagement_DeviceConfigurations_DeviceStatuses", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.deviceConfigurationDeviceStatus")] + [Cmdlet("New", "IntuneDeviceConfigurationPolicyDeviceStatus", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.deviceConfigurationDeviceStatus")] [ODataType("microsoft.graph.deviceConfigurationDeviceStatus")] [ResourceTypePropertyName("deviceStatusODataType")] [ResourceReference] - public class New_DeviceManagement_DeviceConfigurations_DeviceStatuses : PostCmdlet + public class New_IntuneDeviceConfigurationPolicyDeviceStatus : PostCmdlet { /// /// The ID for a "microsoft.graph.deviceConfigurationDeviceStatus" object in the "deviceStatuses" collection. @@ -240,10 +240,10 @@ internal override System.String GetResourcePath() /// Device configuration installation status by device. /// /// GitHub Repository - [Cmdlet("Update", "DeviceManagement_DeviceConfigurations_DeviceStatuses", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.deviceConfigurationDeviceStatus")] + [Cmdlet("Update", "IntuneDeviceConfigurationPolicyDeviceStatus", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.deviceConfigurationDeviceStatus")] [ODataType("microsoft.graph.deviceConfigurationDeviceStatus")] [ResourceTypePropertyName("deviceStatusODataType")] - public class Update_DeviceManagement_DeviceConfigurations_DeviceStatuses : PatchCmdlet + public class Update_IntuneDeviceConfigurationPolicyDeviceStatus : PatchCmdlet { /// /// The ID for a "microsoft.graph.deviceConfigurationDeviceStatus" object in the "deviceStatuses" collection. @@ -360,10 +360,10 @@ internal override System.String GetResourcePath() /// Device configuration installation status by device. /// /// GitHub Repository - [Cmdlet("Remove", "DeviceManagement_DeviceConfigurations_DeviceStatuses", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Remove", "IntuneDeviceConfigurationPolicyDeviceStatus", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.deviceConfigurationDeviceStatus")] [ResourceTypePropertyName("deviceStatusODataType")] - public class Remove_DeviceManagement_DeviceConfigurations_DeviceStatuses : DeleteCmdlet + public class Remove_IntuneDeviceConfigurationPolicyDeviceStatus : DeleteCmdlet { /// /// The ID for a "microsoft.graph.deviceConfigurationDeviceStatus" object in the "deviceStatuses" collection. diff --git a/PowerShellCmdlets/Generated/SDK/DeviceManagement/DeviceConfigurations/UserStatusOverview.cs b/PowerShellCmdlets/Generated/SDK/DeviceManagement/DeviceConfigurations/UserStatusOverview.cs index 7d3f1a4..aaf7f9f 100644 --- a/PowerShellCmdlets/Generated/SDK/DeviceManagement/DeviceConfigurations/UserStatusOverview.cs +++ b/PowerShellCmdlets/Generated/SDK/DeviceManagement/DeviceConfigurations/UserStatusOverview.cs @@ -11,11 +11,11 @@ namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets /// Device Configuration users status overview /// /// GitHub Repository - [Cmdlet("Get", "DeviceManagement_DeviceConfigurations_UserStatusOverview", DefaultParameterSetName = @"Get")] + [Cmdlet("Get", "IntuneDeviceConfigurationPolicyUserStatusOverview", DefaultParameterSetName = @"Get")] [ODataType("microsoft.graph.deviceConfigurationUserOverview")] [ResourceTypePropertyName("userStatusOverviewODataType")] [ResourceReference] - public class Get_DeviceManagement_DeviceConfigurations_UserStatusOverview : GetCmdlet + public class Get_IntuneDeviceConfigurationPolicyUserStatusOverview : GetCmdlet { /// /// A required ID for referencing a "microsoft.graph.deviceConfiguration" object in the "deviceConfigurations" collection. @@ -110,11 +110,11 @@ internal override System.String GetResourcePath() /// Device Configuration users status overview /// /// GitHub Repository - [Cmdlet("New", "DeviceManagement_DeviceConfigurations_UserStatusOverview", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.deviceConfigurationUserOverview")] + [Cmdlet("New", "IntuneDeviceConfigurationPolicyUserStatusOverview", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.deviceConfigurationUserOverview")] [ODataType("microsoft.graph.deviceConfigurationUserOverview")] [ResourceTypePropertyName("userStatusOverviewODataType")] [ResourceReference] - public class New_DeviceManagement_DeviceConfigurations_UserStatusOverview : PostCmdlet + public class New_IntuneDeviceConfigurationPolicyUserStatusOverview : PostCmdlet { /// /// A required ID for referencing a "microsoft.graph.deviceConfiguration" object in the "deviceConfigurations" collection. @@ -216,10 +216,10 @@ internal override System.String GetResourcePath() /// Device Configuration users status overview /// /// GitHub Repository - [Cmdlet("Update", "DeviceManagement_DeviceConfigurations_UserStatusOverview", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.deviceConfigurationUserOverview")] + [Cmdlet("Update", "IntuneDeviceConfigurationPolicyUserStatusOverview", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.deviceConfigurationUserOverview")] [ODataType("microsoft.graph.deviceConfigurationUserOverview")] [ResourceTypePropertyName("userStatusOverviewODataType")] - public class Update_DeviceManagement_DeviceConfigurations_UserStatusOverview : PatchCmdlet + public class Update_IntuneDeviceConfigurationPolicyUserStatusOverview : PatchCmdlet { /// /// A required ID for referencing a "microsoft.graph.deviceConfiguration" object in the "deviceConfigurations" collection. @@ -321,10 +321,10 @@ internal override System.String GetResourcePath() /// Device Configuration users status overview /// /// GitHub Repository - [Cmdlet("Remove", "DeviceManagement_DeviceConfigurations_UserStatusOverview", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Remove", "IntuneDeviceConfigurationPolicyUserStatusOverview", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.deviceConfigurationUserOverview")] [ResourceTypePropertyName("userStatusOverviewODataType")] - public class Remove_DeviceManagement_DeviceConfigurations_UserStatusOverview : DeleteCmdlet + public class Remove_IntuneDeviceConfigurationPolicyUserStatusOverview : DeleteCmdlet { /// /// A required ID for referencing a "microsoft.graph.deviceConfiguration" object in the "deviceConfigurations" collection. diff --git a/PowerShellCmdlets/Generated/SDK/DeviceManagement/DeviceConfigurations/UserStatuses.cs b/PowerShellCmdlets/Generated/SDK/DeviceManagement/DeviceConfigurations/UserStatuses.cs index a2ac219..6f04768 100644 --- a/PowerShellCmdlets/Generated/SDK/DeviceManagement/DeviceConfigurations/UserStatuses.cs +++ b/PowerShellCmdlets/Generated/SDK/DeviceManagement/DeviceConfigurations/UserStatuses.cs @@ -11,11 +11,11 @@ namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets /// Device configuration installation status by user. /// /// GitHub Repository - [Cmdlet("Get", "DeviceManagement_DeviceConfigurations_UserStatuses", DefaultParameterSetName = @"Search")] + [Cmdlet("Get", "IntuneDeviceConfigurationPolicyUserStatus", DefaultParameterSetName = @"Search")] [ODataType("microsoft.graph.deviceConfigurationUserStatus")] [ResourceTypePropertyName("userStatusODataType")] [ResourceReference] - public class Get_DeviceManagement_DeviceConfigurations_UserStatuses : GetOrSearchCmdlet + public class Get_IntuneDeviceConfigurationPolicyUserStatus : GetOrSearchCmdlet { /// /// A required ID for referencing a "microsoft.graph.deviceConfiguration" object in the "deviceConfigurations" collection. @@ -101,11 +101,11 @@ internal override System.String GetResourcePath() /// Device configuration installation status by user. /// /// GitHub Repository - [Cmdlet("New", "DeviceManagement_DeviceConfigurations_UserStatuses", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.deviceConfigurationUserStatus")] + [Cmdlet("New", "IntuneDeviceConfigurationPolicyUserStatus", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.deviceConfigurationUserStatus")] [ODataType("microsoft.graph.deviceConfigurationUserStatus")] [ResourceTypePropertyName("userStatusODataType")] [ResourceReference] - public class New_DeviceManagement_DeviceConfigurations_UserStatuses : PostCmdlet + public class New_IntuneDeviceConfigurationPolicyUserStatus : PostCmdlet { /// /// The ID for a "microsoft.graph.deviceConfigurationUserStatus" object in the "userStatuses" collection. @@ -198,10 +198,10 @@ internal override System.String GetResourcePath() /// Device configuration installation status by user. /// /// GitHub Repository - [Cmdlet("Update", "DeviceManagement_DeviceConfigurations_UserStatuses", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.deviceConfigurationUserStatus")] + [Cmdlet("Update", "IntuneDeviceConfigurationPolicyUserStatus", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.deviceConfigurationUserStatus")] [ODataType("microsoft.graph.deviceConfigurationUserStatus")] [ResourceTypePropertyName("userStatusODataType")] - public class Update_DeviceManagement_DeviceConfigurations_UserStatuses : PatchCmdlet + public class Update_IntuneDeviceConfigurationPolicyUserStatus : PatchCmdlet { /// /// The ID for a "microsoft.graph.deviceConfigurationUserStatus" object in the "userStatuses" collection. @@ -296,10 +296,10 @@ internal override System.String GetResourcePath() /// Device configuration installation status by user. /// /// GitHub Repository - [Cmdlet("Remove", "DeviceManagement_DeviceConfigurations_UserStatuses", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Remove", "IntuneDeviceConfigurationPolicyUserStatus", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.deviceConfigurationUserStatus")] [ResourceTypePropertyName("userStatusODataType")] - public class Remove_DeviceManagement_DeviceConfigurations_UserStatuses : DeleteCmdlet + public class Remove_IntuneDeviceConfigurationPolicyUserStatus : DeleteCmdlet { /// /// The ID for a "microsoft.graph.deviceConfigurationUserStatus" object in the "userStatuses" collection. diff --git a/PowerShellCmdlets/Generated/SDK/DeviceManagement/DeviceEnrollmentConfigurations.cs b/PowerShellCmdlets/Generated/SDK/DeviceManagement/DeviceEnrollmentConfigurations.cs index e24b97b..e44c74a 100644 --- a/PowerShellCmdlets/Generated/SDK/DeviceManagement/DeviceEnrollmentConfigurations.cs +++ b/PowerShellCmdlets/Generated/SDK/DeviceManagement/DeviceEnrollmentConfigurations.cs @@ -11,11 +11,11 @@ namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets /// The list of device enrollment configurations /// /// GitHub Repository - [Cmdlet("Get", "DeviceManagement_DeviceEnrollmentConfigurations", DefaultParameterSetName = @"Search")] + [Cmdlet("Get", "IntuneDeviceEnrollmentConfiguration", DefaultParameterSetName = @"Search")] [ODataType("microsoft.graph.deviceEnrollmentConfiguration", "microsoft.graph.deviceEnrollmentWindowsHelloForBusinessConfiguration", "microsoft.graph.deviceEnrollmentPlatformRestrictionsConfiguration", "microsoft.graph.deviceEnrollmentLimitConfiguration")] [ResourceTypePropertyName("deviceEnrollmentConfigurationODataType")] [ResourceReference] - public class Get_DeviceManagement_DeviceEnrollmentConfigurations : GetOrSearchCmdlet + public class Get_IntuneDeviceEnrollmentConfiguration : GetOrSearchCmdlet { /// /// The ID for a "microsoft.graph.deviceEnrollmentConfiguration" object in the "deviceEnrollmentConfigurations" collection. @@ -285,11 +285,11 @@ internal override System.String GetResourcePath() /// The list of device enrollment configurations /// /// GitHub Repository - [Cmdlet("New", "DeviceManagement_DeviceEnrollmentConfigurations", ConfirmImpact = ConfirmImpact.Low)] + [Cmdlet("New", "IntuneDeviceEnrollmentConfiguration", ConfirmImpact = ConfirmImpact.Low)] [ODataType("microsoft.graph.deviceEnrollmentConfiguration", "microsoft.graph.deviceEnrollmentWindowsHelloForBusinessConfiguration", "microsoft.graph.deviceEnrollmentPlatformRestrictionsConfiguration", "microsoft.graph.deviceEnrollmentLimitConfiguration")] [ResourceTypePropertyName("deviceEnrollmentConfigurationODataType")] [ResourceReference] - public class New_DeviceManagement_DeviceEnrollmentConfigurations : PostCmdlet + public class New_IntuneDeviceEnrollmentConfiguration : PostCmdlet { /// /// The ID for a "microsoft.graph.deviceEnrollmentConfiguration" object in the "deviceEnrollmentConfigurations" collection. @@ -634,10 +634,10 @@ internal override System.String GetResourcePath() /// The list of device enrollment configurations /// /// GitHub Repository - [Cmdlet("Update", "DeviceManagement_DeviceEnrollmentConfigurations", ConfirmImpact = ConfirmImpact.Medium)] + [Cmdlet("Update", "IntuneDeviceEnrollmentConfiguration", ConfirmImpact = ConfirmImpact.Medium)] [ODataType("microsoft.graph.deviceEnrollmentConfiguration", "microsoft.graph.deviceEnrollmentWindowsHelloForBusinessConfiguration", "microsoft.graph.deviceEnrollmentPlatformRestrictionsConfiguration", "microsoft.graph.deviceEnrollmentLimitConfiguration")] [ResourceTypePropertyName("deviceEnrollmentConfigurationODataType")] - public class Update_DeviceManagement_DeviceEnrollmentConfigurations : PatchCmdlet + public class Update_IntuneDeviceEnrollmentConfiguration : PatchCmdlet { /// /// The ID for a "microsoft.graph.deviceEnrollmentConfiguration" object in the "deviceEnrollmentConfigurations" collection. @@ -984,10 +984,10 @@ internal override System.String GetResourcePath() /// The list of device enrollment configurations /// /// GitHub Repository - [Cmdlet("Remove", "DeviceManagement_DeviceEnrollmentConfigurations", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Remove", "IntuneDeviceEnrollmentConfiguration", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.deviceEnrollmentConfiguration", "microsoft.graph.deviceEnrollmentWindowsHelloForBusinessConfiguration", "microsoft.graph.deviceEnrollmentPlatformRestrictionsConfiguration", "microsoft.graph.deviceEnrollmentLimitConfiguration")] [ResourceTypePropertyName("deviceEnrollmentConfigurationODataType")] - public class Remove_DeviceManagement_DeviceEnrollmentConfigurations : DeleteCmdlet + public class Remove_IntuneDeviceEnrollmentConfiguration : DeleteCmdlet { /// /// The ID for a "microsoft.graph.deviceEnrollmentConfiguration" object in the "deviceEnrollmentConfigurations" collection. @@ -1012,10 +1012,10 @@ internal override System.String GetResourcePath() /// This action does not return any objects. /// /// GitHub Repository - [Cmdlet("Invoke", "DeviceManagement_DeviceEnrollmentConfigurations_SetPriority", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Invoke", "IntuneDeviceEnrollmentConfigurationSetPriority", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.deviceEnrollmentConfiguration", "microsoft.graph.deviceEnrollmentWindowsHelloForBusinessConfiguration", "microsoft.graph.deviceEnrollmentPlatformRestrictionsConfiguration", "microsoft.graph.deviceEnrollmentLimitConfiguration")] [ResourceTypePropertyName("deviceEnrollmentConfigurationODataType")] - public class Invoke_DeviceManagement_DeviceEnrollmentConfigurations_SetPriority : ActionCmdlet + public class Invoke_IntuneDeviceEnrollmentConfigurationSetPriority : ActionCmdlet { /// /// The "priority" action parameter of type "Edm.Int32". @@ -1050,10 +1050,10 @@ internal override System.String GetResourcePath() /// This action does not return any objects. /// /// GitHub Repository - [Cmdlet("Invoke", "DeviceManagement_DeviceEnrollmentConfigurations_Assign", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Invoke", "IntuneDeviceEnrollmentConfigurationAssign", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.deviceEnrollmentConfiguration", "microsoft.graph.deviceEnrollmentWindowsHelloForBusinessConfiguration", "microsoft.graph.deviceEnrollmentPlatformRestrictionsConfiguration", "microsoft.graph.deviceEnrollmentLimitConfiguration")] [ResourceTypePropertyName("deviceEnrollmentConfigurationODataType")] - public class Invoke_DeviceManagement_DeviceEnrollmentConfigurations_Assign : ActionCmdlet + public class Invoke_IntuneDeviceEnrollmentConfigurationAssign : ActionCmdlet { /// /// The "enrollmentConfigurationAssignments" action parameter of type "microsoft.graph.enrollmentConfigurationAssignment". diff --git a/PowerShellCmdlets/Generated/SDK/DeviceManagement/DeviceEnrollmentConfigurations/Assignments.cs b/PowerShellCmdlets/Generated/SDK/DeviceManagement/DeviceEnrollmentConfigurations/Assignments.cs index bbf1e87..79a9f1e 100644 --- a/PowerShellCmdlets/Generated/SDK/DeviceManagement/DeviceEnrollmentConfigurations/Assignments.cs +++ b/PowerShellCmdlets/Generated/SDK/DeviceManagement/DeviceEnrollmentConfigurations/Assignments.cs @@ -11,11 +11,11 @@ namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets /// The list of group assignments for the device configuration profile. /// /// GitHub Repository - [Cmdlet("Get", "DeviceManagement_DeviceEnrollmentConfigurations_Assignments", DefaultParameterSetName = @"Search")] + [Cmdlet("Get", "IntuneDeviceEnrollmentConfigurationAssignment", DefaultParameterSetName = @"Search")] [ODataType("microsoft.graph.enrollmentConfigurationAssignment")] [ResourceTypePropertyName("assignmentODataType")] [ResourceReference] - public class Get_DeviceManagement_DeviceEnrollmentConfigurations_Assignments : GetOrSearchCmdlet + public class Get_IntuneDeviceEnrollmentConfigurationAssignment : GetOrSearchCmdlet { /// /// A required ID for referencing a "microsoft.graph.deviceEnrollmentConfiguration" object in the "deviceEnrollmentConfigurations" collection. @@ -60,11 +60,11 @@ internal override System.String GetResourcePath() /// The list of group assignments for the device configuration profile. /// /// GitHub Repository - [Cmdlet("New", "DeviceManagement_DeviceEnrollmentConfigurations_Assignments", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.enrollmentConfigurationAssignment")] + [Cmdlet("New", "IntuneDeviceEnrollmentConfigurationAssignment", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.enrollmentConfigurationAssignment")] [ODataType("microsoft.graph.enrollmentConfigurationAssignment")] [ResourceTypePropertyName("assignmentODataType")] [ResourceReference] - public class New_DeviceManagement_DeviceEnrollmentConfigurations_Assignments : PostCmdlet + public class New_IntuneDeviceEnrollmentConfigurationAssignment : PostCmdlet { /// /// The ID for a "microsoft.graph.enrollmentConfigurationAssignment" object in the "assignments" collection. @@ -108,10 +108,10 @@ internal override System.String GetResourcePath() /// The list of group assignments for the device configuration profile. /// /// GitHub Repository - [Cmdlet("Update", "DeviceManagement_DeviceEnrollmentConfigurations_Assignments", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.enrollmentConfigurationAssignment")] + [Cmdlet("Update", "IntuneDeviceEnrollmentConfigurationAssignment", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.enrollmentConfigurationAssignment")] [ODataType("microsoft.graph.enrollmentConfigurationAssignment")] [ResourceTypePropertyName("assignmentODataType")] - public class Update_DeviceManagement_DeviceEnrollmentConfigurations_Assignments : PatchCmdlet + public class Update_IntuneDeviceEnrollmentConfigurationAssignment : PatchCmdlet { /// /// The ID for a "microsoft.graph.enrollmentConfigurationAssignment" object in the "assignments" collection. @@ -157,10 +157,10 @@ internal override System.String GetResourcePath() /// The list of group assignments for the device configuration profile. /// /// GitHub Repository - [Cmdlet("Remove", "DeviceManagement_DeviceEnrollmentConfigurations_Assignments", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Remove", "IntuneDeviceEnrollmentConfigurationAssignment", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.enrollmentConfigurationAssignment")] [ResourceTypePropertyName("assignmentODataType")] - public class Remove_DeviceManagement_DeviceEnrollmentConfigurations_Assignments : DeleteCmdlet + public class Remove_IntuneDeviceEnrollmentConfigurationAssignment : DeleteCmdlet { /// /// The ID for a "microsoft.graph.enrollmentConfigurationAssignment" object in the "assignments" collection. diff --git a/PowerShellCmdlets/Generated/SDK/DeviceManagement/DeviceManagementPartners.cs b/PowerShellCmdlets/Generated/SDK/DeviceManagement/DeviceManagementPartners.cs index 8dab683..08ddf1c 100644 --- a/PowerShellCmdlets/Generated/SDK/DeviceManagement/DeviceManagementPartners.cs +++ b/PowerShellCmdlets/Generated/SDK/DeviceManagement/DeviceManagementPartners.cs @@ -11,11 +11,11 @@ namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets /// The list of Device Management Partners configured by the tenant. /// /// GitHub Repository - [Cmdlet("Get", "DeviceManagement_DeviceManagementPartners", DefaultParameterSetName = @"Search")] + [Cmdlet("Get", "IntuneDeviceManagementPartner", DefaultParameterSetName = @"Search")] [ODataType("microsoft.graph.deviceManagementPartner")] [ResourceTypePropertyName("deviceManagementPartnerODataType")] [ResourceReference] - public class Get_DeviceManagement_DeviceManagementPartners : GetOrSearchCmdlet + public class Get_IntuneDeviceManagementPartner : GetOrSearchCmdlet { /// /// The ID for a "microsoft.graph.deviceManagementPartner" object in the "deviceManagementPartners" collection. @@ -121,11 +121,11 @@ internal override System.String GetResourcePath() /// The list of Device Management Partners configured by the tenant. /// /// GitHub Repository - [Cmdlet("New", "DeviceManagement_DeviceManagementPartners", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.deviceManagementPartner")] + [Cmdlet("New", "IntuneDeviceManagementPartner", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.deviceManagementPartner")] [ODataType("microsoft.graph.deviceManagementPartner")] [ResourceTypePropertyName("deviceManagementPartnerODataType")] [ResourceReference] - public class New_DeviceManagement_DeviceManagementPartners : PostCmdlet + public class New_IntuneDeviceManagementPartner : PostCmdlet { /// /// The ID for a "microsoft.graph.deviceManagementPartner" object in the "deviceManagementPartners" collection. @@ -245,10 +245,10 @@ internal override System.String GetResourcePath() /// The list of Device Management Partners configured by the tenant. /// /// GitHub Repository - [Cmdlet("Update", "DeviceManagement_DeviceManagementPartners", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.deviceManagementPartner")] + [Cmdlet("Update", "IntuneDeviceManagementPartner", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.deviceManagementPartner")] [ODataType("microsoft.graph.deviceManagementPartner")] [ResourceTypePropertyName("deviceManagementPartnerODataType")] - public class Update_DeviceManagement_DeviceManagementPartners : PatchCmdlet + public class Update_IntuneDeviceManagementPartner : PatchCmdlet { /// /// The ID for a "microsoft.graph.deviceManagementPartner" object in the "deviceManagementPartners" collection. @@ -370,10 +370,10 @@ internal override System.String GetResourcePath() /// The list of Device Management Partners configured by the tenant. /// /// GitHub Repository - [Cmdlet("Remove", "DeviceManagement_DeviceManagementPartners", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Remove", "IntuneDeviceManagementPartner", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.deviceManagementPartner")] [ResourceTypePropertyName("deviceManagementPartnerODataType")] - public class Remove_DeviceManagement_DeviceManagementPartners : DeleteCmdlet + public class Remove_IntuneDeviceManagementPartner : DeleteCmdlet { /// /// The ID for a "microsoft.graph.deviceManagementPartner" object in the "deviceManagementPartners" collection. diff --git a/PowerShellCmdlets/Generated/SDK/DeviceManagement/ExchangeConnectors.cs b/PowerShellCmdlets/Generated/SDK/DeviceManagement/ExchangeConnectors.cs index 76d117f..f60e893 100644 --- a/PowerShellCmdlets/Generated/SDK/DeviceManagement/ExchangeConnectors.cs +++ b/PowerShellCmdlets/Generated/SDK/DeviceManagement/ExchangeConnectors.cs @@ -11,11 +11,11 @@ namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets /// The list of Exchange Connectors configured by the tenant. /// /// GitHub Repository - [Cmdlet("Get", "DeviceManagement_ExchangeConnectors", DefaultParameterSetName = @"Search")] + [Cmdlet("Get", "IntuneExchangeConnector", DefaultParameterSetName = @"Search")] [ODataType("microsoft.graph.deviceManagementExchangeConnector")] [ResourceTypePropertyName("exchangeConnectorODataType")] [ResourceReference] - public class Get_DeviceManagement_ExchangeConnectors : GetOrSearchCmdlet + public class Get_IntuneExchangeConnector : GetOrSearchCmdlet { /// /// The ID for a "microsoft.graph.deviceManagementExchangeConnector" object in the "exchangeConnectors" collection. @@ -131,11 +131,11 @@ internal override System.String GetResourcePath() /// The list of Exchange Connectors configured by the tenant. /// /// GitHub Repository - [Cmdlet("New", "DeviceManagement_ExchangeConnectors", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.deviceManagementExchangeConnector")] + [Cmdlet("New", "IntuneExchangeConnector", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.deviceManagementExchangeConnector")] [ODataType("microsoft.graph.deviceManagementExchangeConnector")] [ResourceTypePropertyName("exchangeConnectorODataType")] [ResourceReference] - public class New_DeviceManagement_ExchangeConnectors : PostCmdlet + public class New_IntuneExchangeConnector : PostCmdlet { /// /// The ID for a "microsoft.graph.deviceManagementExchangeConnector" object in the "exchangeConnectors" collection. @@ -266,10 +266,10 @@ internal override System.String GetResourcePath() /// The list of Exchange Connectors configured by the tenant. /// /// GitHub Repository - [Cmdlet("Update", "DeviceManagement_ExchangeConnectors", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.deviceManagementExchangeConnector")] + [Cmdlet("Update", "IntuneExchangeConnector", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.deviceManagementExchangeConnector")] [ODataType("microsoft.graph.deviceManagementExchangeConnector")] [ResourceTypePropertyName("exchangeConnectorODataType")] - public class Update_DeviceManagement_ExchangeConnectors : PatchCmdlet + public class Update_IntuneExchangeConnector : PatchCmdlet { /// /// The ID for a "microsoft.graph.deviceManagementExchangeConnector" object in the "exchangeConnectors" collection. @@ -402,10 +402,10 @@ internal override System.String GetResourcePath() /// The list of Exchange Connectors configured by the tenant. /// /// GitHub Repository - [Cmdlet("Remove", "DeviceManagement_ExchangeConnectors", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Remove", "IntuneExchangeConnector", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.deviceManagementExchangeConnector")] [ResourceTypePropertyName("exchangeConnectorODataType")] - public class Remove_DeviceManagement_ExchangeConnectors : DeleteCmdlet + public class Remove_IntuneExchangeConnector : DeleteCmdlet { /// /// The ID for a "microsoft.graph.deviceManagementExchangeConnector" object in the "exchangeConnectors" collection. @@ -430,10 +430,10 @@ internal override System.String GetResourcePath() /// This action does not return any objects. /// /// GitHub Repository - [Cmdlet("Invoke", "DeviceManagement_ExchangeConnectors_Sync", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Invoke", "IntuneExchangeConnectorSync", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.deviceManagementExchangeConnector")] [ResourceTypePropertyName("exchangeConnectorODataType")] - public class Invoke_DeviceManagement_ExchangeConnectors_Sync : ActionCmdlet + public class Invoke_IntuneExchangeConnectorSync : ActionCmdlet { /// /// The "syncType" action parameter of type "microsoft.graph.deviceManagementExchangeConnectorSyncType". diff --git a/PowerShellCmdlets/Generated/SDK/DeviceManagement/IosUpdateStatuses.cs b/PowerShellCmdlets/Generated/SDK/DeviceManagement/IosUpdateStatuses.cs index 88cb4cf..e7480ec 100644 --- a/PowerShellCmdlets/Generated/SDK/DeviceManagement/IosUpdateStatuses.cs +++ b/PowerShellCmdlets/Generated/SDK/DeviceManagement/IosUpdateStatuses.cs @@ -11,11 +11,11 @@ namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets /// The IOS software update installation statuses for this account. /// /// GitHub Repository - [Cmdlet("Get", "DeviceManagement_IosUpdateStatuses", DefaultParameterSetName = @"Search")] + [Cmdlet("Get", "IntuneIosUpdateStatus", DefaultParameterSetName = @"Search")] [ODataType("microsoft.graph.iosUpdateDeviceStatus")] [ResourceTypePropertyName("iosUpdateStatusODataType")] [ResourceReference] - public class Get_DeviceManagement_IosUpdateStatuses : GetOrSearchCmdlet + public class Get_IntuneIosUpdateStatus : GetOrSearchCmdlet { /// /// The ID for a "microsoft.graph.iosUpdateDeviceStatus" object in the "iosUpdateStatuses" collection. @@ -151,11 +151,11 @@ internal override System.String GetResourcePath() /// The IOS software update installation statuses for this account. /// /// GitHub Repository - [Cmdlet("New", "DeviceManagement_IosUpdateStatuses", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.iosUpdateDeviceStatus")] + [Cmdlet("New", "IntuneIosUpdateStatus", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.iosUpdateDeviceStatus")] [ODataType("microsoft.graph.iosUpdateDeviceStatus")] [ResourceTypePropertyName("iosUpdateStatusODataType")] [ResourceReference] - public class New_DeviceManagement_IosUpdateStatuses : PostCmdlet + public class New_IntuneIosUpdateStatus : PostCmdlet { /// /// The ID for a "microsoft.graph.iosUpdateDeviceStatus" object in the "iosUpdateStatuses" collection. @@ -308,10 +308,10 @@ internal override System.String GetResourcePath() /// The IOS software update installation statuses for this account. /// /// GitHub Repository - [Cmdlet("Update", "DeviceManagement_IosUpdateStatuses", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.iosUpdateDeviceStatus")] + [Cmdlet("Update", "IntuneIosUpdateStatus", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.iosUpdateDeviceStatus")] [ODataType("microsoft.graph.iosUpdateDeviceStatus")] [ResourceTypePropertyName("iosUpdateStatusODataType")] - public class Update_DeviceManagement_IosUpdateStatuses : PatchCmdlet + public class Update_IntuneIosUpdateStatus : PatchCmdlet { /// /// The ID for a "microsoft.graph.iosUpdateDeviceStatus" object in the "iosUpdateStatuses" collection. @@ -466,10 +466,10 @@ internal override System.String GetResourcePath() /// The IOS software update installation statuses for this account. /// /// GitHub Repository - [Cmdlet("Remove", "DeviceManagement_IosUpdateStatuses", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Remove", "IntuneIosUpdateStatus", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.iosUpdateDeviceStatus")] [ResourceTypePropertyName("iosUpdateStatusODataType")] - public class Remove_DeviceManagement_IosUpdateStatuses : DeleteCmdlet + public class Remove_IntuneIosUpdateStatus : DeleteCmdlet { /// /// The ID for a "microsoft.graph.iosUpdateDeviceStatus" object in the "iosUpdateStatuses" collection. diff --git a/PowerShellCmdlets/Generated/SDK/DeviceManagement/ManagedDeviceOverview.cs b/PowerShellCmdlets/Generated/SDK/DeviceManagement/ManagedDeviceOverview.cs index 80bc9c7..f76680a 100644 --- a/PowerShellCmdlets/Generated/SDK/DeviceManagement/ManagedDeviceOverview.cs +++ b/PowerShellCmdlets/Generated/SDK/DeviceManagement/ManagedDeviceOverview.cs @@ -11,10 +11,10 @@ namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets /// Device overview /// /// GitHub Repository - [Cmdlet("Get", "DeviceManagement_ManagedDeviceOverview", DefaultParameterSetName = @"Get")] + [Cmdlet("Get", "IntuneManagedDeviceOverview", DefaultParameterSetName = @"Get")] [ODataType("microsoft.graph.managedDeviceOverview")] [ResourceTypePropertyName("managedDeviceOverviewODataType")] - public class Get_DeviceManagement_ManagedDeviceOverview : GetCmdlet + public class Get_IntuneManagedDeviceOverview : GetCmdlet { /// /// The "enrolledDeviceCount" property, of type "Edm.Int32". @@ -79,10 +79,10 @@ internal override System.String GetResourcePath() /// Device overview /// /// GitHub Repository - [Cmdlet("Get", "DeviceManagement_ManagedDeviceOverviewReference", DefaultParameterSetName = @"Get")] + [Cmdlet("Get", "IntuneManagedDeviceOverviewReference", DefaultParameterSetName = @"Get")] [ODataType("microsoft.graph.managedDeviceOverview")] [ResourceTypePropertyName("managedDeviceOverviewODataType")] - public class Get_DeviceManagement_ManagedDeviceOverviewReference : GetCmdlet + public class Get_IntuneManagedDeviceOverviewReference : GetCmdlet { /// /// The "enrolledDeviceCount" property, of type "Edm.Int32". @@ -147,10 +147,10 @@ internal override System.String GetResourcePath() /// Device overview /// /// GitHub Repository - [Cmdlet("New", "DeviceManagement_ManagedDeviceOverviewReference", ConfirmImpact = ConfirmImpact.Low)] + [Cmdlet("New", "IntuneManagedDeviceOverviewReference", ConfirmImpact = ConfirmImpact.Low)] [ODataType("microsoft.graph.managedDeviceOverview")] [ResourceTypePropertyName("managedDeviceOverviewODataType")] - public class New_DeviceManagement_ManagedDeviceOverviewReference : PutReferenceToEntityCmdlet + public class New_IntuneManagedDeviceOverviewReference : PutReferenceToEntityCmdlet { /// /// The URL which should be used to access a "microsoft.graph.managedDeviceOverview" object. @@ -174,10 +174,10 @@ internal override System.String GetResourcePath() /// Device overview /// /// GitHub Repository - [Cmdlet("Remove", "DeviceManagement_ManagedDeviceOverviewReference", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Remove", "IntuneManagedDeviceOverviewReference", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.managedDeviceOverview")] [ResourceTypePropertyName("managedDeviceOverviewODataType")] - public class Remove_DeviceManagement_ManagedDeviceOverviewReference : DeleteCmdlet + public class Remove_IntuneManagedDeviceOverviewReference : DeleteCmdlet { internal override System.String GetResourcePath() { diff --git a/PowerShellCmdlets/Generated/SDK/DeviceManagement/ManagedDevices.cs b/PowerShellCmdlets/Generated/SDK/DeviceManagement/ManagedDevices.cs index 5d8e7cf..6a1fd0f 100644 --- a/PowerShellCmdlets/Generated/SDK/DeviceManagement/ManagedDevices.cs +++ b/PowerShellCmdlets/Generated/SDK/DeviceManagement/ManagedDevices.cs @@ -11,11 +11,11 @@ namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets /// The list of managed devices. /// /// GitHub Repository - [Cmdlet("Get", "DeviceManagement_ManagedDevices", DefaultParameterSetName = @"Search")] + [Cmdlet("Get", "IntuneManagedDevice", DefaultParameterSetName = @"Search")] [ODataType("microsoft.graph.managedDevice")] [ResourceTypePropertyName("managedDeviceODataType")] [ResourceReference] - public class Get_DeviceManagement_ManagedDevices : GetOrSearchCmdlet + public class Get_IntuneManagedDevice : GetOrSearchCmdlet { /// /// The ID for a "microsoft.graph.managedDevice" object in the "managedDevices" collection. @@ -531,11 +531,11 @@ internal override System.String GetResourcePath() /// The list of managed devices. /// /// GitHub Repository - [Cmdlet("New", "DeviceManagement_ManagedDevices", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.managedDevice")] + [Cmdlet("New", "IntuneManagedDevice", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.managedDevice")] [ODataType("microsoft.graph.managedDevice")] [ResourceTypePropertyName("managedDeviceODataType")] [ResourceReference] - public class New_DeviceManagement_ManagedDevices : PostCmdlet + public class New_IntuneManagedDevice : PostCmdlet { /// /// The ID for a "microsoft.graph.managedDevice" object in the "managedDevices" collection. @@ -1136,10 +1136,10 @@ internal override System.String GetResourcePath() /// The list of managed devices. /// /// GitHub Repository - [Cmdlet("Update", "DeviceManagement_ManagedDevices", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.managedDevice")] + [Cmdlet("Update", "IntuneManagedDevice", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.managedDevice")] [ODataType("microsoft.graph.managedDevice")] [ResourceTypePropertyName("managedDeviceODataType")] - public class Update_DeviceManagement_ManagedDevices : PatchCmdlet + public class Update_IntuneManagedDevice : PatchCmdlet { /// /// The ID for a "microsoft.graph.managedDevice" object in the "managedDevices" collection. @@ -1742,10 +1742,10 @@ internal override System.String GetResourcePath() /// The list of managed devices. /// /// GitHub Repository - [Cmdlet("Remove", "DeviceManagement_ManagedDevices", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Remove", "IntuneManagedDevice", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.managedDevice")] [ResourceTypePropertyName("managedDeviceODataType")] - public class Remove_DeviceManagement_ManagedDevices : DeleteCmdlet + public class Remove_IntuneManagedDevice : DeleteCmdlet { /// /// The ID for a "microsoft.graph.managedDevice" object in the "managedDevices" collection. @@ -1770,10 +1770,10 @@ internal override System.String GetResourcePath() /// This action does not return any objects. /// /// GitHub Repository - [Cmdlet("Invoke", "DeviceManagement_ManagedDevices_Retire", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Invoke", "IntuneManagedDeviceRetire", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.managedDevice")] [ResourceTypePropertyName("managedDeviceODataType")] - public class Invoke_DeviceManagement_ManagedDevices_Retire : ActionCmdlet + public class Invoke_IntuneManagedDeviceRetire : ActionCmdlet { /// /// The ID for a "microsoft.graph.managedDevice" object in the "managedDevices" collection. @@ -1798,10 +1798,10 @@ internal override System.String GetResourcePath() /// This action does not return any objects. /// /// GitHub Repository - [Cmdlet("Invoke", "DeviceManagement_ManagedDevices_Wipe", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Invoke", "IntuneManagedDeviceWipeDevice", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.managedDevice")] [ResourceTypePropertyName("managedDeviceODataType")] - public class Invoke_DeviceManagement_ManagedDevices_Wipe : ActionCmdlet + public class Invoke_IntuneManagedDeviceWipeDevice : ActionCmdlet { /// /// The "keepEnrollmentData" action parameter of type "Edm.Boolean". @@ -1853,10 +1853,10 @@ internal override System.String GetResourcePath() /// This action does not return any objects. /// /// GitHub Repository - [Cmdlet("Invoke", "DeviceManagement_ManagedDevices_ResetPasscode", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Invoke", "IntuneManagedDeviceResetPasscode", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.managedDevice")] [ResourceTypePropertyName("managedDeviceODataType")] - public class Invoke_DeviceManagement_ManagedDevices_ResetPasscode : ActionCmdlet + public class Invoke_IntuneManagedDeviceResetPasscode : ActionCmdlet { /// /// The ID for a "microsoft.graph.managedDevice" object in the "managedDevices" collection. @@ -1881,10 +1881,10 @@ internal override System.String GetResourcePath() /// This action does not return any objects. /// /// GitHub Repository - [Cmdlet("Invoke", "DeviceManagement_ManagedDevices_RemoteLock", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Invoke", "IntuneManagedDeviceRemoteLock", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.managedDevice")] [ResourceTypePropertyName("managedDeviceODataType")] - public class Invoke_DeviceManagement_ManagedDevices_RemoteLock : ActionCmdlet + public class Invoke_IntuneManagedDeviceRemoteLock : ActionCmdlet { /// /// The ID for a "microsoft.graph.managedDevice" object in the "managedDevices" collection. @@ -1909,10 +1909,10 @@ internal override System.String GetResourcePath() /// This action does not return any objects. /// /// GitHub Repository - [Cmdlet("Invoke", "DeviceManagement_ManagedDevices_RequestRemoteAssistance", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Invoke", "IntuneMangedDeviceRequestRemoteAssistance", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.managedDevice")] [ResourceTypePropertyName("managedDeviceODataType")] - public class Invoke_DeviceManagement_ManagedDevices_RequestRemoteAssistance : ActionCmdlet + public class Invoke_IntuneMangedDeviceRequestRemoteAssistance : ActionCmdlet { /// /// The ID for a "microsoft.graph.managedDevice" object in the "managedDevices" collection. @@ -1937,10 +1937,10 @@ internal override System.String GetResourcePath() /// This action does not return any objects. /// /// GitHub Repository - [Cmdlet("Invoke", "DeviceManagement_ManagedDevices_DisableLostMode", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Invoke", "IntuneManagedDeviceDisableLostMode", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.managedDevice")] [ResourceTypePropertyName("managedDeviceODataType")] - public class Invoke_DeviceManagement_ManagedDevices_DisableLostMode : ActionCmdlet + public class Invoke_IntuneManagedDeviceDisableLostMode : ActionCmdlet { /// /// The ID for a "microsoft.graph.managedDevice" object in the "managedDevices" collection. @@ -1965,10 +1965,10 @@ internal override System.String GetResourcePath() /// This action does not return any objects. /// /// GitHub Repository - [Cmdlet("Invoke", "DeviceManagement_ManagedDevices_LocateDevice", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Invoke", "IntuneManagedDeviceLocateDevice", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.managedDevice")] [ResourceTypePropertyName("managedDeviceODataType")] - public class Invoke_DeviceManagement_ManagedDevices_LocateDevice : ActionCmdlet + public class Invoke_IntuneManagedDeviceLocateDevice : ActionCmdlet { /// /// The ID for a "microsoft.graph.managedDevice" object in the "managedDevices" collection. @@ -1993,10 +1993,10 @@ internal override System.String GetResourcePath() /// This action does not return any objects. /// /// GitHub Repository - [Cmdlet("Invoke", "DeviceManagement_ManagedDevices_BypassActivationLock", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Invoke", "IntuneManagedDeviceBypassActivationLock", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.managedDevice")] [ResourceTypePropertyName("managedDeviceODataType")] - public class Invoke_DeviceManagement_ManagedDevices_BypassActivationLock : ActionCmdlet + public class Invoke_IntuneManagedDeviceBypassActivationLock : ActionCmdlet { /// /// The ID for a "microsoft.graph.managedDevice" object in the "managedDevices" collection. @@ -2021,10 +2021,10 @@ internal override System.String GetResourcePath() /// This action does not return any objects. /// /// GitHub Repository - [Cmdlet("Invoke", "DeviceManagement_ManagedDevices_RebootNow", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Invoke", "IntuneManagedDeviceRebootNow", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.managedDevice")] [ResourceTypePropertyName("managedDeviceODataType")] - public class Invoke_DeviceManagement_ManagedDevices_RebootNow : ActionCmdlet + public class Invoke_IntuneManagedDeviceRebootNow : ActionCmdlet { /// /// The ID for a "microsoft.graph.managedDevice" object in the "managedDevices" collection. @@ -2049,10 +2049,10 @@ internal override System.String GetResourcePath() /// This action does not return any objects. /// /// GitHub Repository - [Cmdlet("Invoke", "DeviceManagement_ManagedDevices_ShutDown", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Invoke", "IntuneManagedDeviceShutDownDevice", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.managedDevice")] [ResourceTypePropertyName("managedDeviceODataType")] - public class Invoke_DeviceManagement_ManagedDevices_ShutDown : ActionCmdlet + public class Invoke_IntuneManagedDeviceShutDownDevice : ActionCmdlet { /// /// The ID for a "microsoft.graph.managedDevice" object in the "managedDevices" collection. @@ -2077,10 +2077,10 @@ internal override System.String GetResourcePath() /// This action does not return any objects. /// /// GitHub Repository - [Cmdlet("Invoke", "DeviceManagement_ManagedDevices_RecoverPasscode", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Invoke", "IntuneManagedDeviceRecoverPasscode", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.managedDevice")] [ResourceTypePropertyName("managedDeviceODataType")] - public class Invoke_DeviceManagement_ManagedDevices_RecoverPasscode : ActionCmdlet + public class Invoke_IntuneManagedDeviceRecoverPasscode : ActionCmdlet { /// /// The ID for a "microsoft.graph.managedDevice" object in the "managedDevices" collection. @@ -2105,10 +2105,10 @@ internal override System.String GetResourcePath() /// This action does not return any objects. /// /// GitHub Repository - [Cmdlet("Invoke", "DeviceManagement_ManagedDevices_CleanWindowsDevice", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Invoke", "IntuneManagedDeviceCleanWindowsDevice", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.managedDevice")] [ResourceTypePropertyName("managedDeviceODataType")] - public class Invoke_DeviceManagement_ManagedDevices_CleanWindowsDevice : ActionCmdlet + public class Invoke_IntuneManagedDeviceCleanWindowsDevice : ActionCmdlet { /// /// The "keepUserData" action parameter of type "Edm.Boolean". @@ -2143,10 +2143,10 @@ internal override System.String GetResourcePath() /// This action does not return any objects. /// /// GitHub Repository - [Cmdlet("Invoke", "DeviceManagement_ManagedDevices_LogoutSharedAppleDeviceActiveUser", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Invoke", "IntuneLogoutSharedAppleDeviceActiveUser", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.managedDevice")] [ResourceTypePropertyName("managedDeviceODataType")] - public class Invoke_DeviceManagement_ManagedDevices_LogoutSharedAppleDeviceActiveUser : ActionCmdlet + public class Invoke_IntuneLogoutSharedAppleDeviceActiveUser : ActionCmdlet { /// /// The ID for a "microsoft.graph.managedDevice" object in the "managedDevices" collection. @@ -2171,10 +2171,10 @@ internal override System.String GetResourcePath() /// This action does not return any objects. /// /// GitHub Repository - [Cmdlet("Invoke", "DeviceManagement_ManagedDevices_DeleteUserFromSharedAppleDevice", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Invoke", "IntuneManagedDeviceDeleteUserFromSharedAppleDevice", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.managedDevice")] [ResourceTypePropertyName("managedDeviceODataType")] - public class Invoke_DeviceManagement_ManagedDevices_DeleteUserFromSharedAppleDevice : ActionCmdlet + public class Invoke_IntuneManagedDeviceDeleteUserFromSharedAppleDevice : ActionCmdlet { /// /// The "userPrincipalName" action parameter of type "Edm.String". @@ -2208,10 +2208,10 @@ internal override System.String GetResourcePath() /// This action does not return any objects. /// /// GitHub Repository - [Cmdlet("Invoke", "DeviceManagement_ManagedDevices_SyncDevice", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Invoke", "IntuneManagedDeviceSyncDevice", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.managedDevice")] [ResourceTypePropertyName("managedDeviceODataType")] - public class Invoke_DeviceManagement_ManagedDevices_SyncDevice : ActionCmdlet + public class Invoke_IntuneManagedDeviceSyncDevice : ActionCmdlet { /// /// The ID for a "microsoft.graph.managedDevice" object in the "managedDevices" collection. @@ -2236,10 +2236,10 @@ internal override System.String GetResourcePath() /// This action does not return any objects. /// /// GitHub Repository - [Cmdlet("Invoke", "DeviceManagement_ManagedDevices_WindowsDefenderScan", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Invoke", "IntuneManagedDeviceWindowsDefenderScan", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.managedDevice")] [ResourceTypePropertyName("managedDeviceODataType")] - public class Invoke_DeviceManagement_ManagedDevices_WindowsDefenderScan : ActionCmdlet + public class Invoke_IntuneManagedDeviceWindowsDefenderScan : ActionCmdlet { /// /// The "quickScan" action parameter of type "Edm.Boolean". @@ -2274,10 +2274,10 @@ internal override System.String GetResourcePath() /// This action does not return any objects. /// /// GitHub Repository - [Cmdlet("Invoke", "DeviceManagement_ManagedDevices_WindowsDefenderUpdateSignatures", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Invoke", "IntuneManagedDeviceWindowsDefenderUpdateSignature", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.managedDevice")] [ResourceTypePropertyName("managedDeviceODataType")] - public class Invoke_DeviceManagement_ManagedDevices_WindowsDefenderUpdateSignatures : ActionCmdlet + public class Invoke_IntuneManagedDeviceWindowsDefenderUpdateSignature : ActionCmdlet { /// /// The ID for a "microsoft.graph.managedDevice" object in the "managedDevices" collection. @@ -2302,10 +2302,10 @@ internal override System.String GetResourcePath() /// This action does not return any objects. /// /// GitHub Repository - [Cmdlet("Invoke", "DeviceManagement_ManagedDevices_UpdateWindowsDeviceAccount", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Invoke", "IntuneManagedDeviceUpdateWindowsDeviceAccount", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.managedDevice")] [ResourceTypePropertyName("managedDeviceODataType")] - public class Invoke_DeviceManagement_ManagedDevices_UpdateWindowsDeviceAccount : ActionCmdlet + public class Invoke_IntuneManagedDeviceUpdateWindowsDeviceAccount : ActionCmdlet { /// /// The "updateWindowsDeviceAccountActionParameter" action parameter of type "microsoft.graph.updateWindowsDeviceAccountActionParameter". diff --git a/PowerShellCmdlets/Generated/SDK/DeviceManagement/ManagedDevices/DeviceCategory.cs b/PowerShellCmdlets/Generated/SDK/DeviceManagement/ManagedDevices/DeviceCategory.cs index 118dd86..99ef4ba 100644 --- a/PowerShellCmdlets/Generated/SDK/DeviceManagement/ManagedDevices/DeviceCategory.cs +++ b/PowerShellCmdlets/Generated/SDK/DeviceManagement/ManagedDevices/DeviceCategory.cs @@ -11,11 +11,11 @@ namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets /// Device category /// /// GitHub Repository - [Cmdlet("Get", "DeviceManagement_ManagedDevices_DeviceCategory", DefaultParameterSetName = @"Get")] + [Cmdlet("Get", "IntuneManagedDeviceDeviceCategory", DefaultParameterSetName = @"Get")] [ODataType("microsoft.graph.deviceCategory")] [ResourceTypePropertyName("deviceCategoryODataType")] [ResourceReference] - public class Get_DeviceManagement_ManagedDevices_DeviceCategory : GetCmdlet + public class Get_IntuneManagedDeviceDeviceCategory : GetCmdlet { /// /// A required ID for referencing a "microsoft.graph.managedDevice" object in the "managedDevices" collection. @@ -60,11 +60,11 @@ internal override System.String GetResourcePath() /// Device category /// /// GitHub Repository - [Cmdlet("New", "DeviceManagement_ManagedDevices_DeviceCategory", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.deviceCategory")] + [Cmdlet("New", "IntuneManagedDeviceDeviceCategory", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.deviceCategory")] [ODataType("microsoft.graph.deviceCategory")] [ResourceTypePropertyName("deviceCategoryODataType")] [ResourceReference] - public class New_DeviceManagement_ManagedDevices_DeviceCategory : PostCmdlet + public class New_IntuneManagedDeviceDeviceCategory : PostCmdlet { /// /// A required ID for referencing a "microsoft.graph.managedDevice" object in the "managedDevices" collection. @@ -111,10 +111,10 @@ internal override System.String GetResourcePath() /// Device category /// /// GitHub Repository - [Cmdlet("Update", "DeviceManagement_ManagedDevices_DeviceCategory", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.deviceCategory")] + [Cmdlet("Update", "IntuneManagedDeviceDeviceCategory", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.deviceCategory")] [ODataType("microsoft.graph.deviceCategory")] [ResourceTypePropertyName("deviceCategoryODataType")] - public class Update_DeviceManagement_ManagedDevices_DeviceCategory : PatchCmdlet + public class Update_IntuneManagedDeviceDeviceCategory : PatchCmdlet { /// /// A required ID for referencing a "microsoft.graph.managedDevice" object in the "managedDevices" collection. @@ -161,10 +161,10 @@ internal override System.String GetResourcePath() /// Device category /// /// GitHub Repository - [Cmdlet("Remove", "DeviceManagement_ManagedDevices_DeviceCategory", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Remove", "IntuneManagedDeviceDeviceCategory", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.deviceCategory")] [ResourceTypePropertyName("deviceCategoryODataType")] - public class Remove_DeviceManagement_ManagedDevices_DeviceCategory : DeleteCmdlet + public class Remove_IntuneManagedDeviceDeviceCategory : DeleteCmdlet { /// /// A required ID for referencing a "microsoft.graph.managedDevice" object in the "managedDevices" collection. diff --git a/PowerShellCmdlets/Generated/SDK/DeviceManagement/ManagedDevices/DeviceCompliancePolicyStates.cs b/PowerShellCmdlets/Generated/SDK/DeviceManagement/ManagedDevices/DeviceCompliancePolicyStates.cs index c33d2ca..ad2ef23 100644 --- a/PowerShellCmdlets/Generated/SDK/DeviceManagement/ManagedDevices/DeviceCompliancePolicyStates.cs +++ b/PowerShellCmdlets/Generated/SDK/DeviceManagement/ManagedDevices/DeviceCompliancePolicyStates.cs @@ -11,11 +11,11 @@ namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets /// Device compliance policy states for this device. /// /// GitHub Repository - [Cmdlet("Get", "DeviceManagement_ManagedDevices_DeviceCompliancePolicyStates", DefaultParameterSetName = @"Search")] + [Cmdlet("Get", "IntuneManagedDeviceDeviceCompliancePolicyState", DefaultParameterSetName = @"Search")] [ODataType("microsoft.graph.deviceCompliancePolicyState")] [ResourceTypePropertyName("deviceCompliancePolicyStateODataType")] [ResourceReference] - public class Get_DeviceManagement_ManagedDevices_DeviceCompliancePolicyStates : GetOrSearchCmdlet + public class Get_IntuneManagedDeviceDeviceCompliancePolicyState : GetOrSearchCmdlet { /// /// A required ID for referencing a "microsoft.graph.managedDevice" object in the "managedDevices" collection. @@ -109,11 +109,11 @@ internal override System.String GetResourcePath() /// Device compliance policy states for this device. /// /// GitHub Repository - [Cmdlet("New", "DeviceManagement_ManagedDevices_DeviceCompliancePolicyStates", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.deviceCompliancePolicyState")] + [Cmdlet("New", "IntuneManagedDeviceDeviceCompliancePolicyState", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.deviceCompliancePolicyState")] [ODataType("microsoft.graph.deviceCompliancePolicyState")] [ResourceTypePropertyName("deviceCompliancePolicyStateODataType")] [ResourceReference] - public class New_DeviceManagement_ManagedDevices_DeviceCompliancePolicyStates : PostCmdlet + public class New_IntuneManagedDeviceDeviceCompliancePolicyState : PostCmdlet { /// /// The ID for a "microsoft.graph.deviceCompliancePolicyState" object in the "deviceCompliancePolicyStates" collection. @@ -221,10 +221,10 @@ internal override System.String GetResourcePath() /// Device compliance policy states for this device. /// /// GitHub Repository - [Cmdlet("Update", "DeviceManagement_ManagedDevices_DeviceCompliancePolicyStates", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.deviceCompliancePolicyState")] + [Cmdlet("Update", "IntuneManagedDeviceDeviceCompliancePolicyState", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.deviceCompliancePolicyState")] [ODataType("microsoft.graph.deviceCompliancePolicyState")] [ResourceTypePropertyName("deviceCompliancePolicyStateODataType")] - public class Update_DeviceManagement_ManagedDevices_DeviceCompliancePolicyStates : PatchCmdlet + public class Update_IntuneManagedDeviceDeviceCompliancePolicyState : PatchCmdlet { /// /// The ID for a "microsoft.graph.deviceCompliancePolicyState" object in the "deviceCompliancePolicyStates" collection. @@ -334,10 +334,10 @@ internal override System.String GetResourcePath() /// Device compliance policy states for this device. /// /// GitHub Repository - [Cmdlet("Remove", "DeviceManagement_ManagedDevices_DeviceCompliancePolicyStates", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Remove", "IntuneManagedDeviceDeviceCompliancePolicyState", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.deviceCompliancePolicyState")] [ResourceTypePropertyName("deviceCompliancePolicyStateODataType")] - public class Remove_DeviceManagement_ManagedDevices_DeviceCompliancePolicyStates : DeleteCmdlet + public class Remove_IntuneManagedDeviceDeviceCompliancePolicyState : DeleteCmdlet { /// /// The ID for a "microsoft.graph.deviceCompliancePolicyState" object in the "deviceCompliancePolicyStates" collection. diff --git a/PowerShellCmdlets/Generated/SDK/DeviceManagement/ManagedDevices/DeviceConfigurationStates.cs b/PowerShellCmdlets/Generated/SDK/DeviceManagement/ManagedDevices/DeviceConfigurationStates.cs index 6b73e9e..54c906d 100644 --- a/PowerShellCmdlets/Generated/SDK/DeviceManagement/ManagedDevices/DeviceConfigurationStates.cs +++ b/PowerShellCmdlets/Generated/SDK/DeviceManagement/ManagedDevices/DeviceConfigurationStates.cs @@ -11,11 +11,11 @@ namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets /// Device configuration states for this device. /// /// GitHub Repository - [Cmdlet("Get", "DeviceManagement_ManagedDevices_DeviceConfigurationStates", DefaultParameterSetName = @"Search")] + [Cmdlet("Get", "IntuneManagedDeviceDeviceConfigurationState", DefaultParameterSetName = @"Search")] [ODataType("microsoft.graph.deviceConfigurationState")] [ResourceTypePropertyName("deviceConfigurationStateODataType")] [ResourceReference] - public class Get_DeviceManagement_ManagedDevices_DeviceConfigurationStates : GetOrSearchCmdlet + public class Get_IntuneManagedDeviceDeviceConfigurationState : GetOrSearchCmdlet { /// /// A required ID for referencing a "microsoft.graph.managedDevice" object in the "managedDevices" collection. @@ -109,11 +109,11 @@ internal override System.String GetResourcePath() /// Device configuration states for this device. /// /// GitHub Repository - [Cmdlet("New", "DeviceManagement_ManagedDevices_DeviceConfigurationStates", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.deviceConfigurationState")] + [Cmdlet("New", "IntuneManagedDeviceDeviceConfigurationState", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.deviceConfigurationState")] [ODataType("microsoft.graph.deviceConfigurationState")] [ResourceTypePropertyName("deviceConfigurationStateODataType")] [ResourceReference] - public class New_DeviceManagement_ManagedDevices_DeviceConfigurationStates : PostCmdlet + public class New_IntuneManagedDeviceDeviceConfigurationState : PostCmdlet { /// /// The ID for a "microsoft.graph.deviceConfigurationState" object in the "deviceConfigurationStates" collection. @@ -221,10 +221,10 @@ internal override System.String GetResourcePath() /// Device configuration states for this device. /// /// GitHub Repository - [Cmdlet("Update", "DeviceManagement_ManagedDevices_DeviceConfigurationStates", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.deviceConfigurationState")] + [Cmdlet("Update", "IntuneManagedDeviceDeviceConfigurationState", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.deviceConfigurationState")] [ODataType("microsoft.graph.deviceConfigurationState")] [ResourceTypePropertyName("deviceConfigurationStateODataType")] - public class Update_DeviceManagement_ManagedDevices_DeviceConfigurationStates : PatchCmdlet + public class Update_IntuneManagedDeviceDeviceConfigurationState : PatchCmdlet { /// /// The ID for a "microsoft.graph.deviceConfigurationState" object in the "deviceConfigurationStates" collection. @@ -334,10 +334,10 @@ internal override System.String GetResourcePath() /// Device configuration states for this device. /// /// GitHub Repository - [Cmdlet("Remove", "DeviceManagement_ManagedDevices_DeviceConfigurationStates", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Remove", "IntuneManagedDeviceDeviceConfigurationState", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.deviceConfigurationState")] [ResourceTypePropertyName("deviceConfigurationStateODataType")] - public class Remove_DeviceManagement_ManagedDevices_DeviceConfigurationStates : DeleteCmdlet + public class Remove_IntuneManagedDeviceDeviceConfigurationState : DeleteCmdlet { /// /// The ID for a "microsoft.graph.deviceConfigurationState" object in the "deviceConfigurationStates" collection. diff --git a/PowerShellCmdlets/Generated/SDK/DeviceManagement/MobileThreatDefenseConnectors.cs b/PowerShellCmdlets/Generated/SDK/DeviceManagement/MobileThreatDefenseConnectors.cs index 6f8b0c3..3efa18a 100644 --- a/PowerShellCmdlets/Generated/SDK/DeviceManagement/MobileThreatDefenseConnectors.cs +++ b/PowerShellCmdlets/Generated/SDK/DeviceManagement/MobileThreatDefenseConnectors.cs @@ -11,11 +11,11 @@ namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets /// The list of Mobile threat Defense connectors configured by the tenant. /// /// GitHub Repository - [Cmdlet("Get", "DeviceManagement_MobileThreatDefenseConnectors", DefaultParameterSetName = @"Search")] + [Cmdlet("Get", "IntuneMobileThreatDefenseConnector", DefaultParameterSetName = @"Search")] [ODataType("microsoft.graph.mobileThreatDefenseConnector")] [ResourceTypePropertyName("mobileThreatDefenseConnectorODataType")] [ResourceReference] - public class Get_DeviceManagement_MobileThreatDefenseConnectors : GetOrSearchCmdlet + public class Get_IntuneMobileThreatDefenseConnector : GetOrSearchCmdlet { /// /// The ID for a "microsoft.graph.mobileThreatDefenseConnector" object in the "mobileThreatDefenseConnectors" collection. @@ -121,11 +121,11 @@ internal override System.String GetResourcePath() /// The list of Mobile threat Defense connectors configured by the tenant. /// /// GitHub Repository - [Cmdlet("New", "DeviceManagement_MobileThreatDefenseConnectors", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.mobileThreatDefenseConnector")] + [Cmdlet("New", "IntuneMobileThreatDefenseConnector", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.mobileThreatDefenseConnector")] [ODataType("microsoft.graph.mobileThreatDefenseConnector")] [ResourceTypePropertyName("mobileThreatDefenseConnectorODataType")] [ResourceReference] - public class New_DeviceManagement_MobileThreatDefenseConnectors : PostCmdlet + public class New_IntuneMobileThreatDefenseConnector : PostCmdlet { /// /// The ID for a "microsoft.graph.mobileThreatDefenseConnector" object in the "mobileThreatDefenseConnectors" collection. @@ -241,10 +241,10 @@ internal override System.String GetResourcePath() /// The list of Mobile threat Defense connectors configured by the tenant. /// /// GitHub Repository - [Cmdlet("Update", "DeviceManagement_MobileThreatDefenseConnectors", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.mobileThreatDefenseConnector")] + [Cmdlet("Update", "IntuneMobileThreatDefenseConnector", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.mobileThreatDefenseConnector")] [ODataType("microsoft.graph.mobileThreatDefenseConnector")] [ResourceTypePropertyName("mobileThreatDefenseConnectorODataType")] - public class Update_DeviceManagement_MobileThreatDefenseConnectors : PatchCmdlet + public class Update_IntuneMobileThreatDefenseConnector : PatchCmdlet { /// /// The ID for a "microsoft.graph.mobileThreatDefenseConnector" object in the "mobileThreatDefenseConnectors" collection. @@ -362,10 +362,10 @@ internal override System.String GetResourcePath() /// The list of Mobile threat Defense connectors configured by the tenant. /// /// GitHub Repository - [Cmdlet("Remove", "DeviceManagement_MobileThreatDefenseConnectors", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Remove", "IntuneMobileThreatDefenseConnector", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.mobileThreatDefenseConnector")] [ResourceTypePropertyName("mobileThreatDefenseConnectorODataType")] - public class Remove_DeviceManagement_MobileThreatDefenseConnectors : DeleteCmdlet + public class Remove_IntuneMobileThreatDefenseConnector : DeleteCmdlet { /// /// The ID for a "microsoft.graph.mobileThreatDefenseConnector" object in the "mobileThreatDefenseConnectors" collection. diff --git a/PowerShellCmdlets/Generated/SDK/DeviceManagement/NotificationMessageTemplates.cs b/PowerShellCmdlets/Generated/SDK/DeviceManagement/NotificationMessageTemplates.cs index 93ad48b..200c510 100644 --- a/PowerShellCmdlets/Generated/SDK/DeviceManagement/NotificationMessageTemplates.cs +++ b/PowerShellCmdlets/Generated/SDK/DeviceManagement/NotificationMessageTemplates.cs @@ -11,11 +11,11 @@ namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets /// The Notification Message Templates. /// /// GitHub Repository - [Cmdlet("Get", "DeviceManagement_NotificationMessageTemplates", DefaultParameterSetName = @"Search")] + [Cmdlet("Get", "IntuneNotificationMessageTemplate", DefaultParameterSetName = @"Search")] [ODataType("microsoft.graph.notificationMessageTemplate")] [ResourceTypePropertyName("notificationMessageTemplateODataType")] [ResourceReference] - public class Get_DeviceManagement_NotificationMessageTemplates : GetOrSearchCmdlet + public class Get_IntuneNotificationMessageTemplate : GetOrSearchCmdlet { /// /// The ID for a "microsoft.graph.notificationMessageTemplate" object in the "notificationMessageTemplates" collection. @@ -91,11 +91,11 @@ internal override System.String GetResourcePath() /// The Notification Message Templates. /// /// GitHub Repository - [Cmdlet("New", "DeviceManagement_NotificationMessageTemplates", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.notificationMessageTemplate")] + [Cmdlet("New", "IntuneNotificationMessageTemplate", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.notificationMessageTemplate")] [ODataType("microsoft.graph.notificationMessageTemplate")] [ResourceTypePropertyName("notificationMessageTemplateODataType")] [ResourceReference] - public class New_DeviceManagement_NotificationMessageTemplates : PostCmdlet + public class New_IntuneNotificationMessageTemplate : PostCmdlet { /// /// The ID for a "microsoft.graph.notificationMessageTemplate" object in the "notificationMessageTemplates" collection. @@ -180,10 +180,10 @@ internal override System.String GetResourcePath() /// The Notification Message Templates. /// /// GitHub Repository - [Cmdlet("Update", "DeviceManagement_NotificationMessageTemplates", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.notificationMessageTemplate")] + [Cmdlet("Update", "IntuneNotificationMessageTemplate", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.notificationMessageTemplate")] [ODataType("microsoft.graph.notificationMessageTemplate")] [ResourceTypePropertyName("notificationMessageTemplateODataType")] - public class Update_DeviceManagement_NotificationMessageTemplates : PatchCmdlet + public class Update_IntuneNotificationMessageTemplate : PatchCmdlet { /// /// The ID for a "microsoft.graph.notificationMessageTemplate" object in the "notificationMessageTemplates" collection. @@ -270,10 +270,10 @@ internal override System.String GetResourcePath() /// The Notification Message Templates. /// /// GitHub Repository - [Cmdlet("Remove", "DeviceManagement_NotificationMessageTemplates", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Remove", "IntuneNotificationMessageTemplate", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.notificationMessageTemplate")] [ResourceTypePropertyName("notificationMessageTemplateODataType")] - public class Remove_DeviceManagement_NotificationMessageTemplates : DeleteCmdlet + public class Remove_IntuneNotificationMessageTemplate : DeleteCmdlet { /// /// The ID for a "microsoft.graph.notificationMessageTemplate" object in the "notificationMessageTemplates" collection. @@ -298,10 +298,10 @@ internal override System.String GetResourcePath() /// This action does not return any objects. /// /// GitHub Repository - [Cmdlet("Invoke", "DeviceManagement_NotificationMessageTemplates_SendTestMessage", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Invoke", "IntuneSendTestMessage", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.notificationMessageTemplate")] [ResourceTypePropertyName("notificationMessageTemplateODataType")] - public class Invoke_DeviceManagement_NotificationMessageTemplates_SendTestMessage : ActionCmdlet + public class Invoke_IntuneSendTestMessage : ActionCmdlet { /// /// The ID for a "microsoft.graph.notificationMessageTemplate" object in the "notificationMessageTemplates" collection. diff --git a/PowerShellCmdlets/Generated/SDK/DeviceManagement/NotificationMessageTemplates/LocalizedNotificationMessages.cs b/PowerShellCmdlets/Generated/SDK/DeviceManagement/NotificationMessageTemplates/LocalizedNotificationMessages.cs index 6094ef7..d68bad1 100644 --- a/PowerShellCmdlets/Generated/SDK/DeviceManagement/NotificationMessageTemplates/LocalizedNotificationMessages.cs +++ b/PowerShellCmdlets/Generated/SDK/DeviceManagement/NotificationMessageTemplates/LocalizedNotificationMessages.cs @@ -11,11 +11,11 @@ namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets /// The list of localized messages for this Notification Message Template. /// /// GitHub Repository - [Cmdlet("Get", "DeviceManagement_NotificationMessageTemplates_LocalizedNotificationMessages", DefaultParameterSetName = @"Search")] + [Cmdlet("Get", "IntuneLocalizedNotificationMessage", DefaultParameterSetName = @"Search")] [ODataType("microsoft.graph.localizedNotificationMessage")] [ResourceTypePropertyName("localizedNotificationMessageODataType")] [ResourceReference] - public class Get_DeviceManagement_NotificationMessageTemplates_LocalizedNotificationMessages : GetOrSearchCmdlet + public class Get_IntuneLocalizedNotificationMessage : GetOrSearchCmdlet { /// /// A required ID for referencing a "microsoft.graph.notificationMessageTemplate" object in the "notificationMessageTemplates" collection. @@ -101,11 +101,11 @@ internal override System.String GetResourcePath() /// The list of localized messages for this Notification Message Template. /// /// GitHub Repository - [Cmdlet("New", "DeviceManagement_NotificationMessageTemplates_LocalizedNotificationMessages", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.localizedNotificationMessage")] + [Cmdlet("New", "IntuneLocalizedNotificationMessage", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.localizedNotificationMessage")] [ODataType("microsoft.graph.localizedNotificationMessage")] [ResourceTypePropertyName("localizedNotificationMessageODataType")] [ResourceReference] - public class New_DeviceManagement_NotificationMessageTemplates_LocalizedNotificationMessages : PostCmdlet + public class New_IntuneLocalizedNotificationMessage : PostCmdlet { /// /// The ID for a "microsoft.graph.localizedNotificationMessage" object in the "localizedNotificationMessages" collection. @@ -194,10 +194,10 @@ internal override System.String GetResourcePath() /// The list of localized messages for this Notification Message Template. /// /// GitHub Repository - [Cmdlet("Update", "DeviceManagement_NotificationMessageTemplates_LocalizedNotificationMessages", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.localizedNotificationMessage")] + [Cmdlet("Update", "IntuneLocalizedNotificationMessage", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.localizedNotificationMessage")] [ODataType("microsoft.graph.localizedNotificationMessage")] [ResourceTypePropertyName("localizedNotificationMessageODataType")] - public class Update_DeviceManagement_NotificationMessageTemplates_LocalizedNotificationMessages : PatchCmdlet + public class Update_IntuneLocalizedNotificationMessage : PatchCmdlet { /// /// The ID for a "microsoft.graph.localizedNotificationMessage" object in the "localizedNotificationMessages" collection. @@ -288,10 +288,10 @@ internal override System.String GetResourcePath() /// The list of localized messages for this Notification Message Template. /// /// GitHub Repository - [Cmdlet("Remove", "DeviceManagement_NotificationMessageTemplates_LocalizedNotificationMessages", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Remove", "IntuneLocalizedNotificationMessage", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.localizedNotificationMessage")] [ResourceTypePropertyName("localizedNotificationMessageODataType")] - public class Remove_DeviceManagement_NotificationMessageTemplates_LocalizedNotificationMessages : DeleteCmdlet + public class Remove_IntuneLocalizedNotificationMessage : DeleteCmdlet { /// /// The ID for a "microsoft.graph.localizedNotificationMessage" object in the "localizedNotificationMessages" collection. diff --git a/PowerShellCmdlets/Generated/SDK/DeviceManagement/RemoteAssistancePartners.cs b/PowerShellCmdlets/Generated/SDK/DeviceManagement/RemoteAssistancePartners.cs index e4d1cf8..1dcd8cd 100644 --- a/PowerShellCmdlets/Generated/SDK/DeviceManagement/RemoteAssistancePartners.cs +++ b/PowerShellCmdlets/Generated/SDK/DeviceManagement/RemoteAssistancePartners.cs @@ -11,11 +11,11 @@ namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets /// The remote assist partners. /// /// GitHub Repository - [Cmdlet("Get", "DeviceManagement_RemoteAssistancePartners", DefaultParameterSetName = @"Search")] + [Cmdlet("Get", "IntuneRemoteAssistancePartner", DefaultParameterSetName = @"Search")] [ODataType("microsoft.graph.remoteAssistancePartner")] [ResourceTypePropertyName("remoteAssistancePartnerODataType")] [ResourceReference] - public class Get_DeviceManagement_RemoteAssistancePartners : GetOrSearchCmdlet + public class Get_IntuneRemoteAssistancePartner : GetOrSearchCmdlet { /// /// The ID for a "microsoft.graph.remoteAssistancePartner" object in the "remoteAssistancePartners" collection. @@ -81,11 +81,11 @@ internal override System.String GetResourcePath() /// The remote assist partners. /// /// GitHub Repository - [Cmdlet("New", "DeviceManagement_RemoteAssistancePartners", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.remoteAssistancePartner")] + [Cmdlet("New", "IntuneRemoteAssistancePartner", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.remoteAssistancePartner")] [ODataType("microsoft.graph.remoteAssistancePartner")] [ResourceTypePropertyName("remoteAssistancePartnerODataType")] [ResourceReference] - public class New_DeviceManagement_RemoteAssistancePartners : PostCmdlet + public class New_IntuneRemoteAssistancePartner : PostCmdlet { /// /// The ID for a "microsoft.graph.remoteAssistancePartner" object in the "remoteAssistancePartners" collection. @@ -157,10 +157,10 @@ internal override System.String GetResourcePath() /// The remote assist partners. /// /// GitHub Repository - [Cmdlet("Update", "DeviceManagement_RemoteAssistancePartners", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.remoteAssistancePartner")] + [Cmdlet("Update", "IntuneRemoteAssistancePartner", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.remoteAssistancePartner")] [ODataType("microsoft.graph.remoteAssistancePartner")] [ResourceTypePropertyName("remoteAssistancePartnerODataType")] - public class Update_DeviceManagement_RemoteAssistancePartners : PatchCmdlet + public class Update_IntuneRemoteAssistancePartner : PatchCmdlet { /// /// The ID for a "microsoft.graph.remoteAssistancePartner" object in the "remoteAssistancePartners" collection. @@ -234,10 +234,10 @@ internal override System.String GetResourcePath() /// The remote assist partners. /// /// GitHub Repository - [Cmdlet("Remove", "DeviceManagement_RemoteAssistancePartners", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Remove", "IntuneRemoteAssistancePartner", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.remoteAssistancePartner")] [ResourceTypePropertyName("remoteAssistancePartnerODataType")] - public class Remove_DeviceManagement_RemoteAssistancePartners : DeleteCmdlet + public class Remove_IntuneRemoteAssistancePartner : DeleteCmdlet { /// /// The ID for a "microsoft.graph.remoteAssistancePartner" object in the "remoteAssistancePartners" collection. @@ -262,10 +262,10 @@ internal override System.String GetResourcePath() /// This action does not return any objects. /// /// GitHub Repository - [Cmdlet("Invoke", "DeviceManagement_RemoteAssistancePartners_BeginOnboarding", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Invoke", "IntuneRemoteAssistancePartnerBeginOnboarding", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.remoteAssistancePartner")] [ResourceTypePropertyName("remoteAssistancePartnerODataType")] - public class Invoke_DeviceManagement_RemoteAssistancePartners_BeginOnboarding : ActionCmdlet + public class Invoke_IntuneRemoteAssistancePartnerBeginOnboarding : ActionCmdlet { /// /// The ID for a "microsoft.graph.remoteAssistancePartner" object in the "remoteAssistancePartners" collection. @@ -290,10 +290,10 @@ internal override System.String GetResourcePath() /// This action does not return any objects. /// /// GitHub Repository - [Cmdlet("Invoke", "DeviceManagement_RemoteAssistancePartners_Disconnect", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Invoke", "IntuneRemoteAssistancePartnerDisconnect", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.remoteAssistancePartner")] [ResourceTypePropertyName("remoteAssistancePartnerODataType")] - public class Invoke_DeviceManagement_RemoteAssistancePartners_Disconnect : ActionCmdlet + public class Invoke_IntuneRemoteAssistancePartnerDisconnect : ActionCmdlet { /// /// The ID for a "microsoft.graph.remoteAssistancePartner" object in the "remoteAssistancePartners" collection. diff --git a/PowerShellCmdlets/Generated/SDK/DeviceManagement/ResourceOperations.cs b/PowerShellCmdlets/Generated/SDK/DeviceManagement/ResourceOperations.cs index 628ed51..880efba 100644 --- a/PowerShellCmdlets/Generated/SDK/DeviceManagement/ResourceOperations.cs +++ b/PowerShellCmdlets/Generated/SDK/DeviceManagement/ResourceOperations.cs @@ -11,11 +11,11 @@ namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets /// The Resource Operations. /// /// GitHub Repository - [Cmdlet("Get", "DeviceManagement_ResourceOperations", DefaultParameterSetName = @"Search")] + [Cmdlet("Get", "IntuneResourceOperation", DefaultParameterSetName = @"Search")] [ODataType("microsoft.graph.resourceOperation")] [ResourceTypePropertyName("resourceOperationODataType")] [ResourceReference] - public class Get_DeviceManagement_ResourceOperations : GetOrSearchCmdlet + public class Get_IntuneResourceOperation : GetOrSearchCmdlet { /// /// The ID for a "microsoft.graph.resourceOperation" object in the "resourceOperations" collection. @@ -71,11 +71,11 @@ internal override System.String GetResourcePath() /// The Resource Operations. /// /// GitHub Repository - [Cmdlet("New", "DeviceManagement_ResourceOperations", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.resourceOperation")] + [Cmdlet("New", "IntuneResourceOperation", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.resourceOperation")] [ODataType("microsoft.graph.resourceOperation")] [ResourceTypePropertyName("resourceOperationODataType")] [ResourceReference] - public class New_DeviceManagement_ResourceOperations : PostCmdlet + public class New_IntuneResourceOperation : PostCmdlet { /// /// The ID for a "microsoft.graph.resourceOperation" object in the "resourceOperations" collection. @@ -132,10 +132,10 @@ internal override System.String GetResourcePath() /// The Resource Operations. /// /// GitHub Repository - [Cmdlet("Update", "DeviceManagement_ResourceOperations", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.resourceOperation")] + [Cmdlet("Update", "IntuneResourceOperation", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.resourceOperation")] [ODataType("microsoft.graph.resourceOperation")] [ResourceTypePropertyName("resourceOperationODataType")] - public class Update_DeviceManagement_ResourceOperations : PatchCmdlet + public class Update_IntuneResourceOperation : PatchCmdlet { /// /// The ID for a "microsoft.graph.resourceOperation" object in the "resourceOperations" collection. @@ -194,10 +194,10 @@ internal override System.String GetResourcePath() /// The Resource Operations. /// /// GitHub Repository - [Cmdlet("Remove", "DeviceManagement_ResourceOperations", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Remove", "IntuneResourceOperation", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.resourceOperation")] [ResourceTypePropertyName("resourceOperationODataType")] - public class Remove_DeviceManagement_ResourceOperations : DeleteCmdlet + public class Remove_IntuneResourceOperation : DeleteCmdlet { /// /// The ID for a "microsoft.graph.resourceOperation" object in the "resourceOperations" collection. diff --git a/PowerShellCmdlets/Generated/SDK/DeviceManagement/RoleAssignments.cs b/PowerShellCmdlets/Generated/SDK/DeviceManagement/RoleAssignments.cs index ae4d380..c5ef4be 100644 --- a/PowerShellCmdlets/Generated/SDK/DeviceManagement/RoleAssignments.cs +++ b/PowerShellCmdlets/Generated/SDK/DeviceManagement/RoleAssignments.cs @@ -11,11 +11,11 @@ namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets /// The Role Assignments. /// /// GitHub Repository - [Cmdlet("Get", "DeviceManagement_RoleAssignments", DefaultParameterSetName = @"Search")] + [Cmdlet("Get", "IntuneRoleAssignment", DefaultParameterSetName = @"Search")] [ODataType("microsoft.graph.deviceAndAppManagementRoleAssignment")] [ResourceTypePropertyName("roleAssignmentODataType")] [ResourceReference] - public class Get_DeviceManagement_RoleAssignments : GetOrSearchCmdlet + public class Get_IntuneRoleAssignment : GetOrSearchCmdlet { /// /// The ID for a "microsoft.graph.deviceAndAppManagementRoleAssignment" object in the "roleAssignments" collection. @@ -66,17 +66,6 @@ public class Get_DeviceManagement_RoleAssignments : GetOrSearchCmdlet [Selectable] public System.String[] resourceScopes { get; set; } - /// - /// The "roleDefinition" property, of type "microsoft.graph.roleDefinition". - /// This property is on the "microsoft.graph.deviceAndAppManagementRoleAssignment" type. - /// Role definition this assignment is part of. - /// - [ODataType("microsoft.graph.roleDefinition", "microsoft.graph.deviceAndAppManagementRoleDefinition")] - [Selectable] - [Expandable] - [Sortable] - public System.Object roleDefinition { get; set; } - internal override System.String GetResourcePath() { return $"deviceManagement/roleAssignments/{deviceAndAppManagementRoleAssignmentId ?? string.Empty}"; @@ -90,11 +79,11 @@ internal override System.String GetResourcePath() /// The Role Assignments. /// /// GitHub Repository - [Cmdlet("New", "DeviceManagement_RoleAssignments", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.deviceAndAppManagementRoleAssignment")] + [Cmdlet("New", "IntuneRoleAssignment", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.deviceAndAppManagementRoleAssignment")] [ODataType("microsoft.graph.deviceAndAppManagementRoleAssignment")] [ResourceTypePropertyName("roleAssignmentODataType")] [ResourceReference] - public class New_DeviceManagement_RoleAssignments : PostCmdlet + public class New_IntuneRoleAssignment : PostCmdlet { /// /// The ID for a "microsoft.graph.deviceAndAppManagementRoleAssignment" object in the "roleAssignments" collection. @@ -151,18 +140,6 @@ public class New_DeviceManagement_RoleAssignments : PostCmdlet [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "resourceScopes" property, of type "Edm.String".")] public System.String[] resourceScopes { get; set; } - /// - /// The "roleDefinition" property, of type "microsoft.graph.roleDefinition". - /// This property is on the "microsoft.graph.deviceAndAppManagementRoleAssignment" type. - /// Role definition this assignment is part of. - /// - [ODataType("microsoft.graph.roleDefinition", "microsoft.graph.deviceAndAppManagementRoleDefinition")] - [Selectable] - [Expandable] - [Parameter(ParameterSetName = @"microsoft.graph.deviceAndAppManagementRoleAssignment", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "roleDefinition" property, of type "microsoft.graph.roleDefinition".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "roleDefinition" property, of type "microsoft.graph.roleDefinition".")] - public System.Object roleDefinition { get; set; } - internal override System.String GetResourcePath() { return $"deviceManagement/roleAssignments/{deviceAndAppManagementRoleAssignmentId}"; @@ -176,10 +153,10 @@ internal override System.String GetResourcePath() /// The Role Assignments. /// /// GitHub Repository - [Cmdlet("Update", "DeviceManagement_RoleAssignments", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.deviceAndAppManagementRoleAssignment")] + [Cmdlet("Update", "IntuneRoleAssignment", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.deviceAndAppManagementRoleAssignment")] [ODataType("microsoft.graph.deviceAndAppManagementRoleAssignment")] [ResourceTypePropertyName("roleAssignmentODataType")] - public class Update_DeviceManagement_RoleAssignments : PatchCmdlet + public class Update_IntuneRoleAssignment : PatchCmdlet { /// /// The ID for a "microsoft.graph.deviceAndAppManagementRoleAssignment" object in the "roleAssignments" collection. @@ -238,18 +215,6 @@ public class Update_DeviceManagement_RoleAssignments : PatchCmdlet [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "resourceScopes" property, of type "Edm.String".")] public System.String[] resourceScopes { get; set; } - /// - /// The "roleDefinition" property, of type "microsoft.graph.roleDefinition". - /// This property is on the "microsoft.graph.deviceAndAppManagementRoleAssignment" type. - /// Role definition this assignment is part of. - /// - [ODataType("microsoft.graph.roleDefinition", "microsoft.graph.deviceAndAppManagementRoleDefinition")] - [Selectable] - [Expandable] - [Parameter(ParameterSetName = @"microsoft.graph.deviceAndAppManagementRoleAssignment", HelpMessage = @"The "roleDefinition" property, of type "microsoft.graph.roleDefinition".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "roleDefinition" property, of type "microsoft.graph.roleDefinition".")] - public System.Object roleDefinition { get; set; } - internal override System.String GetResourcePath() { return $"deviceManagement/roleAssignments/{deviceAndAppManagementRoleAssignmentId}"; @@ -263,10 +228,10 @@ internal override System.String GetResourcePath() /// The Role Assignments. /// /// GitHub Repository - [Cmdlet("Remove", "DeviceManagement_RoleAssignments", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Remove", "IntuneRoleAssignment", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.deviceAndAppManagementRoleAssignment")] [ResourceTypePropertyName("roleAssignmentODataType")] - public class Remove_DeviceManagement_RoleAssignments : DeleteCmdlet + public class Remove_IntuneRoleAssignment : DeleteCmdlet { /// /// The ID for a "microsoft.graph.deviceAndAppManagementRoleAssignment" object in the "roleAssignments" collection. diff --git a/PowerShellCmdlets/Generated/SDK/DeviceManagement/RoleAssignments/RoleDefinition.cs b/PowerShellCmdlets/Generated/SDK/DeviceManagement/RoleAssignments/RoleDefinition.cs deleted file mode 100644 index 2b66fe8..0000000 --- a/PowerShellCmdlets/Generated/SDK/DeviceManagement/RoleAssignments/RoleDefinition.cs +++ /dev/null @@ -1,282 +0,0 @@ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. - -namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets -{ - using System.Management.Automation; - - /// - /// Retrieves the "roleDefinition" object. - /// GET ~/deviceManagement/roleAssignments/{deviceAndAppManagementRoleAssignmentId}/{roleAssignmentODataType}/roleDefinition - /// Retrieves the "roleDefinition" object (which is of type "microsoft.graph.roleDefinition"). - /// Role definition this assignment is part of. - /// - /// GitHub Repository - [Cmdlet("Get", "DeviceManagement_RoleAssignments_RoleDefinition", DefaultParameterSetName = @"Get")] - [ODataType("microsoft.graph.roleDefinition", "microsoft.graph.deviceAndAppManagementRoleDefinition")] - [ResourceTypePropertyName("roleDefinitionODataType")] - public class Get_DeviceManagement_RoleAssignments_RoleDefinition : GetCmdlet - { - /// - /// A required ID for referencing a "microsoft.graph.deviceAndAppManagementRoleAssignment" object in the "roleAssignments" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.deviceAndAppManagementRoleAssignment" object in the "roleAssignments" collection.")] - public System.String deviceAndAppManagementRoleAssignmentId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.deviceAndAppManagementRoleAssignment" objects. - /// - /// Valid values: 'microsoft.graph.deviceAndAppManagementRoleAssignment' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.deviceAndAppManagementRoleAssignment")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.deviceAndAppManagementRoleAssignment" objects.")] - public System.String roleAssignmentODataType { get; set; } - - /// - /// The "displayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.roleDefinition" type. - /// Display Name of the Role definition. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String displayName { get; set; } - - /// - /// The "description" property, of type "Edm.String". - /// This property is on the "microsoft.graph.roleDefinition" type. - /// Description of the Role definition. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String description { get; set; } - - /// - /// The "rolePermissions" property, of type "microsoft.graph.rolePermission". - /// This property is on the "microsoft.graph.roleDefinition" type. - /// List of Role Permissions this role is allowed to perform. These must match the actionName that is defined as part of the rolePermission. - /// - [ODataType("microsoft.graph.rolePermission")] - [Selectable] - public System.Object[] rolePermissions { get; set; } - - /// - /// The "isBuiltIn" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.roleDefinition" type. - /// Type of Role. Set to True if it is built-in, or set to False if it is a custom role definition. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - public System.Boolean isBuiltIn { get; set; } - - /// - /// The "roleAssignments" property, of type "microsoft.graph.roleAssignment". - /// This property is on the "microsoft.graph.roleDefinition" type. - /// List of Role assignments for this role definition. - /// - [ODataType("microsoft.graph.roleAssignment", "microsoft.graph.deviceAndAppManagementRoleAssignment")] - [Selectable] - [Expandable] - public System.Object[] roleAssignments { get; set; } - - internal override System.String GetResourcePath() - { - return $"deviceManagement/roleAssignments/{deviceAndAppManagementRoleAssignmentId}/{roleAssignmentODataType}/roleDefinition"; - } - } - - /// - /// Retrieves the "roleDefinition" object reference. - /// GET ~/deviceManagement/roleAssignments/{deviceAndAppManagementRoleAssignmentId}/{roleAssignmentODataType}/roleDefinition/$ref - /// Retrieves the "roleDefinition" object reference (which is of type "microsoft.graph.roleDefinition"). - /// Role definition this assignment is part of. - /// - /// GitHub Repository - [Cmdlet("Get", "DeviceManagement_RoleAssignments_RoleDefinitionReference", DefaultParameterSetName = @"Get")] - [ODataType("microsoft.graph.roleDefinition", "microsoft.graph.deviceAndAppManagementRoleDefinition")] - [ResourceTypePropertyName("roleDefinitionODataType")] - public class Get_DeviceManagement_RoleAssignments_RoleDefinitionReference : GetCmdlet - { - /// - /// A required ID for referencing a "microsoft.graph.deviceAndAppManagementRoleAssignment" object in the "roleAssignments" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.deviceAndAppManagementRoleAssignment" object in the "roleAssignments" collection.")] - public System.String deviceAndAppManagementRoleAssignmentId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.deviceAndAppManagementRoleAssignment" objects. - /// - /// Valid values: 'microsoft.graph.deviceAndAppManagementRoleAssignment' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.deviceAndAppManagementRoleAssignment")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.deviceAndAppManagementRoleAssignment" objects.")] - public System.String roleAssignmentODataType { get; set; } - - /// - /// The "displayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.roleDefinition" type. - /// Display Name of the Role definition. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String displayName { get; set; } - - /// - /// The "description" property, of type "Edm.String". - /// This property is on the "microsoft.graph.roleDefinition" type. - /// Description of the Role definition. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String description { get; set; } - - /// - /// The "rolePermissions" property, of type "microsoft.graph.rolePermission". - /// This property is on the "microsoft.graph.roleDefinition" type. - /// List of Role Permissions this role is allowed to perform. These must match the actionName that is defined as part of the rolePermission. - /// - [ODataType("microsoft.graph.rolePermission")] - [Selectable] - public System.Object[] rolePermissions { get; set; } - - /// - /// The "isBuiltIn" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.roleDefinition" type. - /// Type of Role. Set to True if it is built-in, or set to False if it is a custom role definition. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - public System.Boolean isBuiltIn { get; set; } - - /// - /// The "roleAssignments" property, of type "microsoft.graph.roleAssignment". - /// This property is on the "microsoft.graph.roleDefinition" type. - /// List of Role assignments for this role definition. - /// - [ODataType("microsoft.graph.roleAssignment", "microsoft.graph.deviceAndAppManagementRoleAssignment")] - [Selectable] - [Expandable] - public System.Object[] roleAssignments { get; set; } - - internal override System.String GetResourcePath() - { - return $"deviceManagement/roleAssignments/{deviceAndAppManagementRoleAssignmentId}/{roleAssignmentODataType}/roleDefinition/$ref"; - } - } - - /// - /// Creates a reference from a "roleAssignment" to a "microsoft.graph.roleDefinition" object. - /// PUT ~/deviceManagement/roleAssignments/{deviceAndAppManagementRoleAssignmentId}/{roleAssignmentODataType}/roleDefinition/$ref - /// Creates a reference from the "roleAssignment" object to a "roleDefinition". - /// Role definition this assignment is part of. - /// - /// GitHub Repository - [Cmdlet("New", "DeviceManagement_RoleAssignments_RoleDefinitionReference", ConfirmImpact = ConfirmImpact.Low)] - [ODataType("microsoft.graph.roleDefinition", "microsoft.graph.deviceAndAppManagementRoleDefinition")] - [ResourceTypePropertyName("roleDefinitionODataType")] - public class New_DeviceManagement_RoleAssignments_RoleDefinitionReference : PutReferenceToEntityCmdlet - { - /// - /// A required ID for referencing a "microsoft.graph.deviceAndAppManagementRoleAssignment" object in the "roleAssignments" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.deviceAndAppManagementRoleAssignment" object in the "roleAssignments" collection.")] - public System.String deviceAndAppManagementRoleAssignmentId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.deviceAndAppManagementRoleAssignment" objects. - /// - /// Valid values: 'microsoft.graph.deviceAndAppManagementRoleAssignment' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.deviceAndAppManagementRoleAssignment")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.deviceAndAppManagementRoleAssignment" objects.")] - public System.String roleAssignmentODataType { get; set; } - - /// - /// The URL which should be used to access a "microsoft.graph.roleDefinition" object. - /// - [Selectable] - [Expandable] - [Alias("deviceAndAppManagementRoleDefinitionReferenceUrl")] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The URL which should be used to access a "microsoft.graph.roleDefinition" object.")] - public System.String roleDefinitionReferenceUrl { get; set; } - - internal override System.String GetResourcePath() - { - return $"deviceManagement/roleAssignments/{deviceAndAppManagementRoleAssignmentId}/{roleAssignmentODataType}/roleDefinition/$ref"; - } - } - - /// - /// Removes a reference from a "roleAssignment" to a "microsoft.graph.roleDefinition" object. - /// DELETE ~/deviceManagement/roleAssignments/{deviceAndAppManagementRoleAssignmentId}/{roleAssignmentODataType}/roleDefinition/$ref - /// Removes a reference from the "roleAssignment" object to a "roleDefinition". - /// Role definition this assignment is part of. - /// - /// GitHub Repository - [Cmdlet("Remove", "DeviceManagement_RoleAssignments_RoleDefinitionReference", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.roleDefinition", "microsoft.graph.deviceAndAppManagementRoleDefinition")] - [ResourceTypePropertyName("roleDefinitionODataType")] - public class Remove_DeviceManagement_RoleAssignments_RoleDefinitionReference : DeleteCmdlet - { - /// - /// A required ID for referencing a "microsoft.graph.deviceAndAppManagementRoleAssignment" object in the "roleAssignments" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.deviceAndAppManagementRoleAssignment" object in the "roleAssignments" collection.")] - public System.String deviceAndAppManagementRoleAssignmentId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.deviceAndAppManagementRoleAssignment" objects. - /// - /// Valid values: 'microsoft.graph.deviceAndAppManagementRoleAssignment' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.deviceAndAppManagementRoleAssignment")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.deviceAndAppManagementRoleAssignment" objects.")] - public System.String roleAssignmentODataType { get; set; } - - internal override System.String GetResourcePath() - { - return $"deviceManagement/roleAssignments/{deviceAndAppManagementRoleAssignmentId}/{roleAssignmentODataType}/roleDefinition/$ref"; - } - } -} \ No newline at end of file diff --git a/PowerShellCmdlets/Generated/SDK/DeviceManagement/RoleDefinitions.cs b/PowerShellCmdlets/Generated/SDK/DeviceManagement/RoleDefinitions.cs index a8b8b84..9f20336 100644 --- a/PowerShellCmdlets/Generated/SDK/DeviceManagement/RoleDefinitions.cs +++ b/PowerShellCmdlets/Generated/SDK/DeviceManagement/RoleDefinitions.cs @@ -11,11 +11,11 @@ namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets /// The Role Definitions. /// /// GitHub Repository - [Cmdlet("Get", "DeviceManagement_RoleDefinitions", DefaultParameterSetName = @"Search")] + [Cmdlet("Get", "IntuneRoleDefinition", DefaultParameterSetName = @"Search")] [ODataType("microsoft.graph.roleDefinition", "microsoft.graph.deviceAndAppManagementRoleDefinition")] [ResourceTypePropertyName("roleDefinitionODataType")] [ResourceReference] - public class Get_DeviceManagement_RoleDefinitions : GetOrSearchCmdlet + public class Get_IntuneRoleDefinition : GetOrSearchCmdlet { /// /// The ID for a "microsoft.graph.roleDefinition" object in the "roleDefinitions" collection. @@ -67,16 +67,6 @@ public class Get_DeviceManagement_RoleDefinitions : GetOrSearchCmdlet [Sortable] public System.Boolean isBuiltIn { get; set; } - /// - /// The "roleAssignments" property, of type "microsoft.graph.roleAssignment". - /// This property is on the "microsoft.graph.roleDefinition" type. - /// List of Role assignments for this role definition. - /// - [ODataType("microsoft.graph.roleAssignment", "microsoft.graph.deviceAndAppManagementRoleAssignment")] - [Selectable] - [Expandable] - public System.Object[] roleAssignments { get; set; } - internal override System.String GetResourcePath() { return $"deviceManagement/roleDefinitions/{roleDefinitionId ?? string.Empty}"; @@ -90,11 +80,11 @@ internal override System.String GetResourcePath() /// The Role Definitions. /// /// GitHub Repository - [Cmdlet("New", "DeviceManagement_RoleDefinitions", ConfirmImpact = ConfirmImpact.Low)] + [Cmdlet("New", "IntuneRoleDefinition", ConfirmImpact = ConfirmImpact.Low)] [ODataType("microsoft.graph.roleDefinition", "microsoft.graph.deviceAndAppManagementRoleDefinition")] [ResourceTypePropertyName("roleDefinitionODataType")] [ResourceReference] - public class New_DeviceManagement_RoleDefinitions : PostCmdlet + public class New_IntuneRoleDefinition : PostCmdlet { /// /// The ID for a "microsoft.graph.roleDefinition" object in the "roleDefinitions" collection. @@ -163,20 +153,6 @@ public class New_DeviceManagement_RoleDefinitions : PostCmdlet [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "isBuiltIn" property, of type "Edm.Boolean".")] public System.Boolean isBuiltIn { get; set; } - /// - /// The "roleAssignments" property, of type "microsoft.graph.roleAssignment". - /// This property is on the "microsoft.graph.roleDefinition" type. - /// List of Role assignments for this role definition. - /// - [ODataType("microsoft.graph.roleAssignment", "microsoft.graph.deviceAndAppManagementRoleAssignment")] - [Selectable] - [Expandable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.roleDefinition", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "roleAssignments" property, of type "microsoft.graph.roleAssignment".")] - [Parameter(ParameterSetName = @"microsoft.graph.deviceAndAppManagementRoleDefinition", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "roleAssignments" property, of type "microsoft.graph.roleAssignment".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "roleAssignments" property, of type "microsoft.graph.roleAssignment".")] - public System.Object[] roleAssignments { get; set; } - /// /// A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.deviceAndAppManagementRoleDefinition" type. /// @@ -199,10 +175,10 @@ internal override System.String GetResourcePath() /// The Role Definitions. /// /// GitHub Repository - [Cmdlet("Update", "DeviceManagement_RoleDefinitions", ConfirmImpact = ConfirmImpact.Medium)] + [Cmdlet("Update", "IntuneRoleDefinition", ConfirmImpact = ConfirmImpact.Medium)] [ODataType("microsoft.graph.roleDefinition", "microsoft.graph.deviceAndAppManagementRoleDefinition")] [ResourceTypePropertyName("roleDefinitionODataType")] - public class Update_DeviceManagement_RoleDefinitions : PatchCmdlet + public class Update_IntuneRoleDefinition : PatchCmdlet { /// /// The ID for a "microsoft.graph.roleDefinition" object in the "roleDefinitions" collection. @@ -273,20 +249,6 @@ public class Update_DeviceManagement_RoleDefinitions : PatchCmdlet [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "isBuiltIn" property, of type "Edm.Boolean".")] public System.Boolean isBuiltIn { get; set; } - /// - /// The "roleAssignments" property, of type "microsoft.graph.roleAssignment". - /// This property is on the "microsoft.graph.roleDefinition" type. - /// List of Role assignments for this role definition. - /// - [ODataType("microsoft.graph.roleAssignment", "microsoft.graph.deviceAndAppManagementRoleAssignment")] - [Selectable] - [Expandable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.roleDefinition", HelpMessage = @"The "roleAssignments" property, of type "microsoft.graph.roleAssignment".")] - [Parameter(ParameterSetName = @"microsoft.graph.deviceAndAppManagementRoleDefinition", HelpMessage = @"The "roleAssignments" property, of type "microsoft.graph.roleAssignment".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "roleAssignments" property, of type "microsoft.graph.roleAssignment".")] - public System.Object[] roleAssignments { get; set; } - /// /// A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.deviceAndAppManagementRoleDefinition" type. /// @@ -309,10 +271,10 @@ internal override System.String GetResourcePath() /// The Role Definitions. /// /// GitHub Repository - [Cmdlet("Remove", "DeviceManagement_RoleDefinitions", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Remove", "IntuneRoleDefinition", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.roleDefinition", "microsoft.graph.deviceAndAppManagementRoleDefinition")] [ResourceTypePropertyName("roleDefinitionODataType")] - public class Remove_DeviceManagement_RoleDefinitions : DeleteCmdlet + public class Remove_IntuneRoleDefinition : DeleteCmdlet { /// /// The ID for a "microsoft.graph.roleDefinition" object in the "roleDefinitions" collection. diff --git a/PowerShellCmdlets/Generated/SDK/DeviceManagement/RoleDefinitions/RoleAssignments.cs b/PowerShellCmdlets/Generated/SDK/DeviceManagement/RoleDefinitions/RoleAssignments.cs deleted file mode 100644 index 76deee7..0000000 --- a/PowerShellCmdlets/Generated/SDK/DeviceManagement/RoleDefinitions/RoleAssignments.cs +++ /dev/null @@ -1,372 +0,0 @@ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. - -namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets -{ - using System.Management.Automation; - - /// - /// Retrieves "microsoft.graph.roleAssignment" objects. - /// GET ~/deviceManagement/roleDefinitions/{roleDefinitionId}/roleAssignments - /// Retrieves "microsoft.graph.roleAssignment" objects in the "roleAssignments" collection. - /// List of Role assignments for this role definition. - /// - /// GitHub Repository - [Cmdlet("Get", "DeviceManagement_RoleDefinitions_RoleAssignments", DefaultParameterSetName = @"Search")] - [ODataType("microsoft.graph.roleAssignment", "microsoft.graph.deviceAndAppManagementRoleAssignment")] - [ResourceTypePropertyName("roleAssignmentODataType")] - [ResourceReference] - public class Get_DeviceManagement_RoleDefinitions_RoleAssignments : GetOrSearchCmdlet - { - /// - /// A required ID for referencing a "microsoft.graph.roleDefinition" object in the "roleDefinitions" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.roleDefinition" object in the "roleDefinitions" collection.")] - public System.String roleDefinitionId { get; set; } - - /// - /// The ID for a "microsoft.graph.roleAssignment" object in the "roleAssignments" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(ParameterSetName = @"Get", Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.roleAssignment" object in the "roleAssignments" collection.")] - public System.String roleAssignmentId { get; set; } - - /// - /// The "displayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.roleAssignment" type. - /// The display or friendly name of the role Assignment. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String displayName { get; set; } - - /// - /// The "description" property, of type "Edm.String". - /// This property is on the "microsoft.graph.roleAssignment" type. - /// Description of the Role Assignment. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String description { get; set; } - - /// - /// The "resourceScopes" property, of type "Edm.String". - /// This property is on the "microsoft.graph.roleAssignment" type. - /// List of ids of role scope member security groups. These are IDs from Azure Active Directory. - /// - [ODataType("Edm.String")] - [Selectable] - public System.String[] resourceScopes { get; set; } - - /// - /// The "roleDefinition" property, of type "microsoft.graph.roleDefinition". - /// This property is on the "microsoft.graph.roleAssignment" type. - /// Role definition this assignment is part of. - /// - [ODataType("microsoft.graph.roleDefinition", "microsoft.graph.deviceAndAppManagementRoleDefinition")] - [Selectable] - [Expandable] - [Sortable] - public System.Object roleDefinition { get; set; } - - /// - /// The "members" property, of type "Edm.String". - /// This property is on the "microsoft.graph.deviceAndAppManagementRoleAssignment" type. - /// The list of ids of role member security groups. These are IDs from Azure Active Directory. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.deviceAndAppManagementRoleAssignment")] - public System.String[] members { get; set; } - - internal override System.String GetResourcePath() - { - return $"deviceManagement/roleDefinitions/{roleDefinitionId}/roleAssignments/{roleAssignmentId ?? string.Empty}"; - } - } - - /// - /// Creates a "microsoft.graph.roleAssignment" object. - /// POST ~/deviceManagement/roleDefinitions/{roleDefinitionId}/roleAssignments - /// Adds a "microsoft.graph.roleAssignment" object to the "roleAssignments" collection. - /// List of Role assignments for this role definition. - /// - /// GitHub Repository - [Cmdlet("New", "DeviceManagement_RoleDefinitions_RoleAssignments", ConfirmImpact = ConfirmImpact.Low)] - [ODataType("microsoft.graph.roleAssignment", "microsoft.graph.deviceAndAppManagementRoleAssignment")] - [ResourceTypePropertyName("roleAssignmentODataType")] - [ResourceReference] - public class New_DeviceManagement_RoleDefinitions_RoleAssignments : PostCmdlet - { - /// - /// The ID for a "microsoft.graph.roleAssignment" object in the "roleAssignments" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - public System.String roleAssignmentId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.roleDefinition" object in the "roleDefinitions" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.roleDefinition" object in the "roleDefinitions" collection.")] - public System.String roleDefinitionId { get; set; } - - /// - /// A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.roleAssignment" type. - /// - [Selectable] - [Expandable] - [ParameterSetSelector(@"microsoft.graph.roleAssignment")] - [Parameter(ParameterSetName = @"microsoft.graph.roleAssignment", Mandatory = true, HelpMessage = @"A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.roleAssignment" type.")] - public System.Management.Automation.SwitchParameter roleAssignment { get; set; } - - /// - /// The "displayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.roleAssignment" type. - /// The display or friendly name of the role Assignment. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.roleAssignment", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "displayName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.deviceAndAppManagementRoleAssignment", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "displayName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "displayName" property, of type "Edm.String".")] - public System.String displayName { get; set; } - - /// - /// The "description" property, of type "Edm.String". - /// This property is on the "microsoft.graph.roleAssignment" type. - /// Description of the Role Assignment. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.roleAssignment", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "description" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.deviceAndAppManagementRoleAssignment", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "description" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "description" property, of type "Edm.String".")] - public System.String description { get; set; } - - /// - /// The "resourceScopes" property, of type "Edm.String". - /// This property is on the "microsoft.graph.roleAssignment" type. - /// List of ids of role scope member security groups. These are IDs from Azure Active Directory. - /// - [ODataType("Edm.String")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.roleAssignment", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "resourceScopes" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.deviceAndAppManagementRoleAssignment", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "resourceScopes" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "resourceScopes" property, of type "Edm.String".")] - public System.String[] resourceScopes { get; set; } - - /// - /// The "roleDefinition" property, of type "microsoft.graph.roleDefinition". - /// This property is on the "microsoft.graph.roleAssignment" type. - /// Role definition this assignment is part of. - /// - [ODataType("microsoft.graph.roleDefinition", "microsoft.graph.deviceAndAppManagementRoleDefinition")] - [Selectable] - [Expandable] - [Parameter(ParameterSetName = @"microsoft.graph.roleAssignment", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "roleDefinition" property, of type "microsoft.graph.roleDefinition".")] - [Parameter(ParameterSetName = @"microsoft.graph.deviceAndAppManagementRoleAssignment", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "roleDefinition" property, of type "microsoft.graph.roleDefinition".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "roleDefinition" property, of type "microsoft.graph.roleDefinition".")] - public System.Object roleDefinition { get; set; } - - /// - /// A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.deviceAndAppManagementRoleAssignment" type. - /// - [Selectable] - [Expandable] - [ParameterSetSelector(@"microsoft.graph.deviceAndAppManagementRoleAssignment")] - [Parameter(ParameterSetName = @"microsoft.graph.deviceAndAppManagementRoleAssignment", Mandatory = true, HelpMessage = @"A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.deviceAndAppManagementRoleAssignment" type.")] - public System.Management.Automation.SwitchParameter deviceAndAppManagementRoleAssignment { get; set; } - - /// - /// The "members" property, of type "Edm.String". - /// This property is on the "microsoft.graph.deviceAndAppManagementRoleAssignment" type. - /// The list of ids of role member security groups. These are IDs from Azure Active Directory. - /// - [ODataType("Edm.String")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.deviceAndAppManagementRoleAssignment", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "members" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "members" property, of type "Edm.String".")] - public System.String[] members { get; set; } - - internal override System.String GetResourcePath() - { - return $"deviceManagement/roleDefinitions/{roleDefinitionId}/roleAssignments/{roleAssignmentId}"; - } - } - - /// - /// Updates a "microsoft.graph.roleAssignment". - /// PATCH ~/deviceManagement/roleDefinitions/{roleDefinitionId}/roleAssignments - /// Updates a "microsoft.graph.roleAssignment" object in the "roleAssignments" collection. - /// List of Role assignments for this role definition. - /// - /// GitHub Repository - [Cmdlet("Update", "DeviceManagement_RoleDefinitions_RoleAssignments", ConfirmImpact = ConfirmImpact.Medium)] - [ODataType("microsoft.graph.roleAssignment", "microsoft.graph.deviceAndAppManagementRoleAssignment")] - [ResourceTypePropertyName("roleAssignmentODataType")] - public class Update_DeviceManagement_RoleDefinitions_RoleAssignments : PatchCmdlet - { - /// - /// The ID for a "microsoft.graph.roleAssignment" object in the "roleAssignments" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.roleAssignment" object in the "roleAssignments" collection.")] - public System.String roleAssignmentId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.roleDefinition" object in the "roleDefinitions" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.roleDefinition" object in the "roleDefinitions" collection.")] - public System.String roleDefinitionId { get; set; } - - /// - /// A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.roleAssignment" type. - /// - [Selectable] - [Expandable] - [ParameterSetSelector(@"microsoft.graph.roleAssignment")] - [Parameter(ParameterSetName = @"microsoft.graph.roleAssignment", Mandatory = true, HelpMessage = @"A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.roleAssignment" type.")] - public System.Management.Automation.SwitchParameter roleAssignment { get; set; } - - /// - /// The "displayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.roleAssignment" type. - /// The display or friendly name of the role Assignment. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.roleAssignment", HelpMessage = @"The "displayName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.deviceAndAppManagementRoleAssignment", HelpMessage = @"The "displayName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "displayName" property, of type "Edm.String".")] - public System.String displayName { get; set; } - - /// - /// The "description" property, of type "Edm.String". - /// This property is on the "microsoft.graph.roleAssignment" type. - /// Description of the Role Assignment. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.roleAssignment", HelpMessage = @"The "description" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.deviceAndAppManagementRoleAssignment", HelpMessage = @"The "description" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "description" property, of type "Edm.String".")] - public System.String description { get; set; } - - /// - /// The "resourceScopes" property, of type "Edm.String". - /// This property is on the "microsoft.graph.roleAssignment" type. - /// List of ids of role scope member security groups. These are IDs from Azure Active Directory. - /// - [ODataType("Edm.String")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.roleAssignment", HelpMessage = @"The "resourceScopes" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.deviceAndAppManagementRoleAssignment", HelpMessage = @"The "resourceScopes" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "resourceScopes" property, of type "Edm.String".")] - public System.String[] resourceScopes { get; set; } - - /// - /// The "roleDefinition" property, of type "microsoft.graph.roleDefinition". - /// This property is on the "microsoft.graph.roleAssignment" type. - /// Role definition this assignment is part of. - /// - [ODataType("microsoft.graph.roleDefinition", "microsoft.graph.deviceAndAppManagementRoleDefinition")] - [Selectable] - [Expandable] - [Parameter(ParameterSetName = @"microsoft.graph.roleAssignment", HelpMessage = @"The "roleDefinition" property, of type "microsoft.graph.roleDefinition".")] - [Parameter(ParameterSetName = @"microsoft.graph.deviceAndAppManagementRoleAssignment", HelpMessage = @"The "roleDefinition" property, of type "microsoft.graph.roleDefinition".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "roleDefinition" property, of type "microsoft.graph.roleDefinition".")] - public System.Object roleDefinition { get; set; } - - /// - /// A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.deviceAndAppManagementRoleAssignment" type. - /// - [Selectable] - [Expandable] - [ParameterSetSelector(@"microsoft.graph.deviceAndAppManagementRoleAssignment")] - [Parameter(ParameterSetName = @"microsoft.graph.deviceAndAppManagementRoleAssignment", Mandatory = true, HelpMessage = @"A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.deviceAndAppManagementRoleAssignment" type.")] - public System.Management.Automation.SwitchParameter deviceAndAppManagementRoleAssignment { get; set; } - - /// - /// The "members" property, of type "Edm.String". - /// This property is on the "microsoft.graph.deviceAndAppManagementRoleAssignment" type. - /// The list of ids of role member security groups. These are IDs from Azure Active Directory. - /// - [ODataType("Edm.String")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.deviceAndAppManagementRoleAssignment", HelpMessage = @"The "members" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "members" property, of type "Edm.String".")] - public System.String[] members { get; set; } - - internal override System.String GetResourcePath() - { - return $"deviceManagement/roleDefinitions/{roleDefinitionId}/roleAssignments/{roleAssignmentId}"; - } - } - - /// - /// Removes a "microsoft.graph.roleAssignment" object. - /// DELETE ~/deviceManagement/roleDefinitions/{roleDefinitionId}/roleAssignments/roleAssignmentId - /// Removes a "microsoft.graph.roleAssignment" object from the "roleAssignments" collection. - /// List of Role assignments for this role definition. - /// - /// GitHub Repository - [Cmdlet("Remove", "DeviceManagement_RoleDefinitions_RoleAssignments", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.roleAssignment", "microsoft.graph.deviceAndAppManagementRoleAssignment")] - [ResourceTypePropertyName("roleAssignmentODataType")] - public class Remove_DeviceManagement_RoleDefinitions_RoleAssignments : DeleteCmdlet - { - /// - /// The ID for a "microsoft.graph.roleAssignment" object in the "roleAssignments" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.roleAssignment" object in the "roleAssignments" collection.")] - public System.String roleAssignmentId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.roleDefinition" object in the "roleDefinitions" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.roleDefinition" object in the "roleDefinitions" collection.")] - public System.String roleDefinitionId { get; set; } - - internal override System.String GetResourcePath() - { - return $"deviceManagement/roleDefinitions/{roleDefinitionId}/roleAssignments/{roleAssignmentId}"; - } - } -} \ No newline at end of file diff --git a/PowerShellCmdlets/Generated/SDK/DeviceManagement/RoleDefinitions/RoleAssignments/RoleDefinition.cs b/PowerShellCmdlets/Generated/SDK/DeviceManagement/RoleDefinitions/RoleAssignments/RoleDefinition.cs deleted file mode 100644 index ec0b019..0000000 --- a/PowerShellCmdlets/Generated/SDK/DeviceManagement/RoleDefinitions/RoleAssignments/RoleDefinition.cs +++ /dev/null @@ -1,266 +0,0 @@ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. - -namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets -{ - using System.Management.Automation; - - /// - /// Retrieves the "roleDefinition" object. - /// GET ~/deviceManagement/roleDefinitions/{roleDefinitionId}/roleAssignments/{roleAssignmentId}/roleDefinition - /// Retrieves the "roleDefinition" object (which is of type "microsoft.graph.roleDefinition"). - /// Role definition this assignment is part of. - /// - /// GitHub Repository - [Cmdlet("Get", "DeviceManagement_RoleDefinitions_RoleAssignments_RoleDefinition", DefaultParameterSetName = @"Get")] - [ODataType("microsoft.graph.roleDefinition", "microsoft.graph.deviceAndAppManagementRoleDefinition")] - [ResourceTypePropertyName("roleDefinitionODataType")] - public class Get_DeviceManagement_RoleDefinitions_RoleAssignments_RoleDefinition : GetCmdlet - { - /// - /// A required ID for referencing a "microsoft.graph.roleDefinition" object in the "roleDefinitions" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.roleDefinition" object in the "roleDefinitions" collection.")] - public System.String roleDefinitionId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.roleAssignment" object in the "roleAssignments" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.roleAssignment" object in the "roleAssignments" collection.")] - public System.String roleAssignmentId { get; set; } - - /// - /// The "displayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.roleDefinition" type. - /// Display Name of the Role definition. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String displayName { get; set; } - - /// - /// The "description" property, of type "Edm.String". - /// This property is on the "microsoft.graph.roleDefinition" type. - /// Description of the Role definition. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String description { get; set; } - - /// - /// The "rolePermissions" property, of type "microsoft.graph.rolePermission". - /// This property is on the "microsoft.graph.roleDefinition" type. - /// List of Role Permissions this role is allowed to perform. These must match the actionName that is defined as part of the rolePermission. - /// - [ODataType("microsoft.graph.rolePermission")] - [Selectable] - public System.Object[] rolePermissions { get; set; } - - /// - /// The "isBuiltIn" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.roleDefinition" type. - /// Type of Role. Set to True if it is built-in, or set to False if it is a custom role definition. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - public System.Boolean isBuiltIn { get; set; } - - /// - /// The "roleAssignments" property, of type "microsoft.graph.roleAssignment". - /// This property is on the "microsoft.graph.roleDefinition" type. - /// List of Role assignments for this role definition. - /// - [ODataType("microsoft.graph.roleAssignment", "microsoft.graph.deviceAndAppManagementRoleAssignment")] - [Selectable] - [Expandable] - public System.Object[] roleAssignments { get; set; } - - internal override System.String GetResourcePath() - { - return $"deviceManagement/roleDefinitions/{roleDefinitionId}/roleAssignments/{roleAssignmentId}/roleDefinition"; - } - } - - /// - /// Retrieves the "roleDefinition" object reference. - /// GET ~/deviceManagement/roleDefinitions/{roleDefinitionId}/roleAssignments/{roleAssignmentId}/roleDefinition/$ref - /// Retrieves the "roleDefinition" object reference (which is of type "microsoft.graph.roleDefinition"). - /// Role definition this assignment is part of. - /// - /// GitHub Repository - [Cmdlet("Get", "DeviceManagement_RoleDefinitions_RoleAssignments_RoleDefinitionReference", DefaultParameterSetName = @"Get")] - [ODataType("microsoft.graph.roleDefinition", "microsoft.graph.deviceAndAppManagementRoleDefinition")] - [ResourceTypePropertyName("roleDefinitionODataType")] - public class Get_DeviceManagement_RoleDefinitions_RoleAssignments_RoleDefinitionReference : GetCmdlet - { - /// - /// A required ID for referencing a "microsoft.graph.roleDefinition" object in the "roleDefinitions" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.roleDefinition" object in the "roleDefinitions" collection.")] - public System.String roleDefinitionId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.roleAssignment" object in the "roleAssignments" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.roleAssignment" object in the "roleAssignments" collection.")] - public System.String roleAssignmentId { get; set; } - - /// - /// The "displayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.roleDefinition" type. - /// Display Name of the Role definition. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String displayName { get; set; } - - /// - /// The "description" property, of type "Edm.String". - /// This property is on the "microsoft.graph.roleDefinition" type. - /// Description of the Role definition. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String description { get; set; } - - /// - /// The "rolePermissions" property, of type "microsoft.graph.rolePermission". - /// This property is on the "microsoft.graph.roleDefinition" type. - /// List of Role Permissions this role is allowed to perform. These must match the actionName that is defined as part of the rolePermission. - /// - [ODataType("microsoft.graph.rolePermission")] - [Selectable] - public System.Object[] rolePermissions { get; set; } - - /// - /// The "isBuiltIn" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.roleDefinition" type. - /// Type of Role. Set to True if it is built-in, or set to False if it is a custom role definition. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - public System.Boolean isBuiltIn { get; set; } - - /// - /// The "roleAssignments" property, of type "microsoft.graph.roleAssignment". - /// This property is on the "microsoft.graph.roleDefinition" type. - /// List of Role assignments for this role definition. - /// - [ODataType("microsoft.graph.roleAssignment", "microsoft.graph.deviceAndAppManagementRoleAssignment")] - [Selectable] - [Expandable] - public System.Object[] roleAssignments { get; set; } - - internal override System.String GetResourcePath() - { - return $"deviceManagement/roleDefinitions/{roleDefinitionId}/roleAssignments/{roleAssignmentId}/roleDefinition/$ref"; - } - } - - /// - /// Creates a reference from a "roleAssignment" to a "microsoft.graph.roleDefinition" object. - /// PUT ~/deviceManagement/roleDefinitions/{roleDefinitionId}/roleAssignments/{roleAssignmentId}/roleDefinition/$ref - /// Creates a reference from the "roleAssignment" object to a "roleDefinition". - /// Role definition this assignment is part of. - /// - /// GitHub Repository - [Cmdlet("New", "DeviceManagement_RoleDefinitions_RoleAssignments_RoleDefinitionReference", ConfirmImpact = ConfirmImpact.Low)] - [ODataType("microsoft.graph.roleDefinition", "microsoft.graph.deviceAndAppManagementRoleDefinition")] - [ResourceTypePropertyName("roleDefinitionODataType")] - public class New_DeviceManagement_RoleDefinitions_RoleAssignments_RoleDefinitionReference : PutReferenceToEntityCmdlet - { - /// - /// A required ID for referencing a "microsoft.graph.roleDefinition" object in the "roleDefinitions" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.roleDefinition" object in the "roleDefinitions" collection.")] - public System.String roleDefinitionId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.roleAssignment" object in the "roleAssignments" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.roleAssignment" object in the "roleAssignments" collection.")] - public System.String roleAssignmentId { get; set; } - - /// - /// The URL which should be used to access a "microsoft.graph.roleDefinition" object. - /// - [Selectable] - [Expandable] - [Alias("deviceAndAppManagementRoleDefinitionReferenceUrl")] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The URL which should be used to access a "microsoft.graph.roleDefinition" object.")] - public System.String roleDefinitionReferenceUrl { get; set; } - - internal override System.String GetResourcePath() - { - return $"deviceManagement/roleDefinitions/{roleDefinitionId}/roleAssignments/{roleAssignmentId}/roleDefinition/$ref"; - } - } - - /// - /// Removes a reference from a "roleAssignment" to a "microsoft.graph.roleDefinition" object. - /// DELETE ~/deviceManagement/roleDefinitions/{roleDefinitionId}/roleAssignments/{roleAssignmentId}/roleDefinition/$ref - /// Removes a reference from the "roleAssignment" object to a "roleDefinition". - /// Role definition this assignment is part of. - /// - /// GitHub Repository - [Cmdlet("Remove", "DeviceManagement_RoleDefinitions_RoleAssignments_RoleDefinitionReference", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.roleDefinition", "microsoft.graph.deviceAndAppManagementRoleDefinition")] - [ResourceTypePropertyName("roleDefinitionODataType")] - public class Remove_DeviceManagement_RoleDefinitions_RoleAssignments_RoleDefinitionReference : DeleteCmdlet - { - /// - /// A required ID for referencing a "microsoft.graph.roleDefinition" object in the "roleDefinitions" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.roleDefinition" object in the "roleDefinitions" collection.")] - public System.String roleDefinitionId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.roleAssignment" object in the "roleAssignments" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.roleAssignment" object in the "roleAssignments" collection.")] - public System.String roleAssignmentId { get; set; } - - internal override System.String GetResourcePath() - { - return $"deviceManagement/roleDefinitions/{roleDefinitionId}/roleAssignments/{roleAssignmentId}/roleDefinition/$ref"; - } - } -} \ No newline at end of file diff --git a/PowerShellCmdlets/Generated/SDK/DeviceManagement/SoftwareUpdateStatusSummary.cs b/PowerShellCmdlets/Generated/SDK/DeviceManagement/SoftwareUpdateStatusSummary.cs index 556d8f2..a5d8986 100644 --- a/PowerShellCmdlets/Generated/SDK/DeviceManagement/SoftwareUpdateStatusSummary.cs +++ b/PowerShellCmdlets/Generated/SDK/DeviceManagement/SoftwareUpdateStatusSummary.cs @@ -11,10 +11,10 @@ namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets /// The software update status summary. /// /// GitHub Repository - [Cmdlet("Get", "DeviceManagement_SoftwareUpdateStatusSummary", DefaultParameterSetName = @"Get")] + [Cmdlet("Get", "IntuneSoftwareUpdateStatusSummary", DefaultParameterSetName = @"Get")] [ODataType("microsoft.graph.softwareUpdateStatusSummary")] [ResourceTypePropertyName("softwareUpdateStatusSummaryODataType")] - public class Get_DeviceManagement_SoftwareUpdateStatusSummary : GetCmdlet + public class Get_IntuneSoftwareUpdateStatusSummary : GetCmdlet { /// /// The "displayName" property, of type "Edm.String". @@ -179,10 +179,10 @@ internal override System.String GetResourcePath() /// The software update status summary. /// /// GitHub Repository - [Cmdlet("Get", "DeviceManagement_SoftwareUpdateStatusSummaryReference", DefaultParameterSetName = @"Get")] + [Cmdlet("Get", "IntuneSoftwareUpdateStatusSummaryReference", DefaultParameterSetName = @"Get")] [ODataType("microsoft.graph.softwareUpdateStatusSummary")] [ResourceTypePropertyName("softwareUpdateStatusSummaryODataType")] - public class Get_DeviceManagement_SoftwareUpdateStatusSummaryReference : GetCmdlet + public class Get_IntuneSoftwareUpdateStatusSummaryReference : GetCmdlet { /// /// The "displayName" property, of type "Edm.String". @@ -347,10 +347,10 @@ internal override System.String GetResourcePath() /// The software update status summary. /// /// GitHub Repository - [Cmdlet("New", "DeviceManagement_SoftwareUpdateStatusSummaryReference", ConfirmImpact = ConfirmImpact.Low)] + [Cmdlet("New", "IntuneSoftwareUpdateStatusSummaryReference", ConfirmImpact = ConfirmImpact.Low)] [ODataType("microsoft.graph.softwareUpdateStatusSummary")] [ResourceTypePropertyName("softwareUpdateStatusSummaryODataType")] - public class New_DeviceManagement_SoftwareUpdateStatusSummaryReference : PutReferenceToEntityCmdlet + public class New_IntuneSoftwareUpdateStatusSummaryReference : PutReferenceToEntityCmdlet { /// /// The URL which should be used to access a "microsoft.graph.softwareUpdateStatusSummary" object. @@ -374,10 +374,10 @@ internal override System.String GetResourcePath() /// The software update status summary. /// /// GitHub Repository - [Cmdlet("Remove", "DeviceManagement_SoftwareUpdateStatusSummaryReference", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Remove", "IntuneSoftwareUpdateStatusSummaryReference", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.softwareUpdateStatusSummary")] [ResourceTypePropertyName("softwareUpdateStatusSummaryODataType")] - public class Remove_DeviceManagement_SoftwareUpdateStatusSummaryReference : DeleteCmdlet + public class Remove_IntuneSoftwareUpdateStatusSummaryReference : DeleteCmdlet { internal override System.String GetResourcePath() { diff --git a/PowerShellCmdlets/Generated/SDK/DeviceManagement/TelecomExpenseManagementPartners.cs b/PowerShellCmdlets/Generated/SDK/DeviceManagement/TelecomExpenseManagementPartners.cs index db0ec4a..bc65643 100644 --- a/PowerShellCmdlets/Generated/SDK/DeviceManagement/TelecomExpenseManagementPartners.cs +++ b/PowerShellCmdlets/Generated/SDK/DeviceManagement/TelecomExpenseManagementPartners.cs @@ -11,11 +11,11 @@ namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets /// The telecom expense management partners. /// /// GitHub Repository - [Cmdlet("Get", "DeviceManagement_TelecomExpenseManagementPartners", DefaultParameterSetName = @"Search")] + [Cmdlet("Get", "IntuneTelecomExpenseManagementPartner", DefaultParameterSetName = @"Search")] [ODataType("microsoft.graph.telecomExpenseManagementPartner")] [ResourceTypePropertyName("telecomExpenseManagementPartnerODataType")] [ResourceReference] - public class Get_DeviceManagement_TelecomExpenseManagementPartners : GetOrSearchCmdlet + public class Get_IntuneTelecomExpenseManagementPartner : GetOrSearchCmdlet { /// /// The ID for a "microsoft.graph.telecomExpenseManagementPartner" object in the "telecomExpenseManagementPartners" collection. @@ -91,11 +91,11 @@ internal override System.String GetResourcePath() /// The telecom expense management partners. /// /// GitHub Repository - [Cmdlet("New", "DeviceManagement_TelecomExpenseManagementPartners", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.telecomExpenseManagementPartner")] + [Cmdlet("New", "IntuneTelecomExpenseManagementPartner", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.telecomExpenseManagementPartner")] [ODataType("microsoft.graph.telecomExpenseManagementPartner")] [ResourceTypePropertyName("telecomExpenseManagementPartnerODataType")] [ResourceReference] - public class New_DeviceManagement_TelecomExpenseManagementPartners : PostCmdlet + public class New_IntuneTelecomExpenseManagementPartner : PostCmdlet { /// /// The ID for a "microsoft.graph.telecomExpenseManagementPartner" object in the "telecomExpenseManagementPartners" collection. @@ -174,10 +174,10 @@ internal override System.String GetResourcePath() /// The telecom expense management partners. /// /// GitHub Repository - [Cmdlet("Update", "DeviceManagement_TelecomExpenseManagementPartners", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.telecomExpenseManagementPartner")] + [Cmdlet("Update", "IntuneTelecomExpenseManagementPartner", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.telecomExpenseManagementPartner")] [ODataType("microsoft.graph.telecomExpenseManagementPartner")] [ResourceTypePropertyName("telecomExpenseManagementPartnerODataType")] - public class Update_DeviceManagement_TelecomExpenseManagementPartners : PatchCmdlet + public class Update_IntuneTelecomExpenseManagementPartner : PatchCmdlet { /// /// The ID for a "microsoft.graph.telecomExpenseManagementPartner" object in the "telecomExpenseManagementPartners" collection. @@ -258,10 +258,10 @@ internal override System.String GetResourcePath() /// The telecom expense management partners. /// /// GitHub Repository - [Cmdlet("Remove", "DeviceManagement_TelecomExpenseManagementPartners", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Remove", "IntuneTelecomExpenseManagementPartner", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.telecomExpenseManagementPartner")] [ResourceTypePropertyName("telecomExpenseManagementPartnerODataType")] - public class Remove_DeviceManagement_TelecomExpenseManagementPartners : DeleteCmdlet + public class Remove_IntuneTelecomExpenseManagementPartner : DeleteCmdlet { /// /// The ID for a "microsoft.graph.telecomExpenseManagementPartner" object in the "telecomExpenseManagementPartners" collection. diff --git a/PowerShellCmdlets/Generated/SDK/DeviceManagement/TermsAndConditions.cs b/PowerShellCmdlets/Generated/SDK/DeviceManagement/TermsAndConditions.cs index ed99588..a0b94cd 100644 --- a/PowerShellCmdlets/Generated/SDK/DeviceManagement/TermsAndConditions.cs +++ b/PowerShellCmdlets/Generated/SDK/DeviceManagement/TermsAndConditions.cs @@ -11,11 +11,11 @@ namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets /// The terms and conditions associated with device management of the company. /// /// GitHub Repository - [Cmdlet("Get", "DeviceManagement_TermsAndConditions", DefaultParameterSetName = @"Search")] + [Cmdlet("Get", "IntuneTermsAndConditions", DefaultParameterSetName = @"Search")] [ODataType("microsoft.graph.termsAndConditions")] [ResourceTypePropertyName("termsAndConditionODataType")] [ResourceReference] - public class Get_DeviceManagement_TermsAndConditions : GetOrSearchCmdlet + public class Get_IntuneTermsAndConditions : GetOrSearchCmdlet { /// /// The ID for a "microsoft.graph.termsAndConditions" object in the "termsAndConditions" collection. @@ -141,11 +141,11 @@ internal override System.String GetResourcePath() /// The terms and conditions associated with device management of the company. /// /// GitHub Repository - [Cmdlet("New", "DeviceManagement_TermsAndConditions", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.termsAndConditions")] + [Cmdlet("New", "IntuneTermsAndConditions", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.termsAndConditions")] [ODataType("microsoft.graph.termsAndConditions")] [ResourceTypePropertyName("termsAndConditionODataType")] [ResourceReference] - public class New_DeviceManagement_TermsAndConditions : PostCmdlet + public class New_IntuneTermsAndConditions : PostCmdlet { /// /// The ID for a "microsoft.graph.termsAndConditions" object in the "termsAndConditions" collection. @@ -283,10 +283,10 @@ internal override System.String GetResourcePath() /// The terms and conditions associated with device management of the company. /// /// GitHub Repository - [Cmdlet("Update", "DeviceManagement_TermsAndConditions", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.termsAndConditions")] + [Cmdlet("Update", "IntuneTermsAndConditions", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.termsAndConditions")] [ODataType("microsoft.graph.termsAndConditions")] [ResourceTypePropertyName("termsAndConditionODataType")] - public class Update_DeviceManagement_TermsAndConditions : PatchCmdlet + public class Update_IntuneTermsAndConditions : PatchCmdlet { /// /// The ID for a "microsoft.graph.termsAndConditions" object in the "termsAndConditions" collection. @@ -426,10 +426,10 @@ internal override System.String GetResourcePath() /// The terms and conditions associated with device management of the company. /// /// GitHub Repository - [Cmdlet("Remove", "DeviceManagement_TermsAndConditions", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Remove", "IntuneTermsAndConditions", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.termsAndConditions")] [ResourceTypePropertyName("termsAndConditionODataType")] - public class Remove_DeviceManagement_TermsAndConditions : DeleteCmdlet + public class Remove_IntuneTermsAndConditions : DeleteCmdlet { /// /// The ID for a "microsoft.graph.termsAndConditions" object in the "termsAndConditions" collection. diff --git a/PowerShellCmdlets/Generated/SDK/DeviceManagement/TermsAndConditions/AcceptanceStatuses.cs b/PowerShellCmdlets/Generated/SDK/DeviceManagement/TermsAndConditions/AcceptanceStatuses.cs index f4c5c40..a70abb8 100644 --- a/PowerShellCmdlets/Generated/SDK/DeviceManagement/TermsAndConditions/AcceptanceStatuses.cs +++ b/PowerShellCmdlets/Generated/SDK/DeviceManagement/TermsAndConditions/AcceptanceStatuses.cs @@ -11,11 +11,11 @@ namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets /// The list of acceptance statuses for this T&C policy. /// /// GitHub Repository - [Cmdlet("Get", "DeviceManagement_TermsAndConditions_AcceptanceStatuses", DefaultParameterSetName = @"Search")] + [Cmdlet("Get", "IntuneTermsAndConditionsAcceptanceStatus", DefaultParameterSetName = @"Search")] [ODataType("microsoft.graph.termsAndConditionsAcceptanceStatus")] [ResourceTypePropertyName("acceptanceStatusODataType")] [ResourceReference] - public class Get_DeviceManagement_TermsAndConditions_AcceptanceStatuses : GetOrSearchCmdlet + public class Get_IntuneTermsAndConditionsAcceptanceStatus : GetOrSearchCmdlet { /// /// A required ID for referencing a "microsoft.graph.termsAndConditions" object in the "termsAndConditions" collection. @@ -92,11 +92,11 @@ internal override System.String GetResourcePath() /// The list of acceptance statuses for this T&C policy. /// /// GitHub Repository - [Cmdlet("New", "DeviceManagement_TermsAndConditions_AcceptanceStatuses", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.termsAndConditionsAcceptanceStatus")] + [Cmdlet("New", "IntuneTermsAndConditionsAcceptanceStatus", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.termsAndConditionsAcceptanceStatus")] [ODataType("microsoft.graph.termsAndConditionsAcceptanceStatus")] [ResourceTypePropertyName("acceptanceStatusODataType")] [ResourceReference] - public class New_DeviceManagement_TermsAndConditions_AcceptanceStatuses : PostCmdlet + public class New_IntuneTermsAndConditionsAcceptanceStatus : PostCmdlet { /// /// The ID for a "microsoft.graph.termsAndConditionsAcceptanceStatus" object in the "acceptanceStatuses" collection. @@ -175,10 +175,10 @@ internal override System.String GetResourcePath() /// The list of acceptance statuses for this T&C policy. /// /// GitHub Repository - [Cmdlet("Update", "DeviceManagement_TermsAndConditions_AcceptanceStatuses", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.termsAndConditionsAcceptanceStatus")] + [Cmdlet("Update", "IntuneTermsAndConditionsAcceptanceStatus", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.termsAndConditionsAcceptanceStatus")] [ODataType("microsoft.graph.termsAndConditionsAcceptanceStatus")] [ResourceTypePropertyName("acceptanceStatusODataType")] - public class Update_DeviceManagement_TermsAndConditions_AcceptanceStatuses : PatchCmdlet + public class Update_IntuneTermsAndConditionsAcceptanceStatus : PatchCmdlet { /// /// The ID for a "microsoft.graph.termsAndConditionsAcceptanceStatus" object in the "acceptanceStatuses" collection. @@ -259,10 +259,10 @@ internal override System.String GetResourcePath() /// The list of acceptance statuses for this T&C policy. /// /// GitHub Repository - [Cmdlet("Remove", "DeviceManagement_TermsAndConditions_AcceptanceStatuses", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Remove", "IntuneTermsAndConditionsAcceptanceStatus", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.termsAndConditionsAcceptanceStatus")] [ResourceTypePropertyName("acceptanceStatusODataType")] - public class Remove_DeviceManagement_TermsAndConditions_AcceptanceStatuses : DeleteCmdlet + public class Remove_IntuneTermsAndConditionsAcceptanceStatus : DeleteCmdlet { /// /// The ID for a "microsoft.graph.termsAndConditionsAcceptanceStatus" object in the "acceptanceStatuses" collection. diff --git a/PowerShellCmdlets/Generated/SDK/DeviceManagement/TermsAndConditions/Assignments.cs b/PowerShellCmdlets/Generated/SDK/DeviceManagement/TermsAndConditions/Assignments.cs index 1b71c5d..308afa9 100644 --- a/PowerShellCmdlets/Generated/SDK/DeviceManagement/TermsAndConditions/Assignments.cs +++ b/PowerShellCmdlets/Generated/SDK/DeviceManagement/TermsAndConditions/Assignments.cs @@ -11,11 +11,11 @@ namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets /// The list of assignments for this T&C policy. /// /// GitHub Repository - [Cmdlet("Get", "DeviceManagement_TermsAndConditions_Assignments", DefaultParameterSetName = @"Search")] + [Cmdlet("Get", "IntuneTermsAndConditionsAssignment", DefaultParameterSetName = @"Search")] [ODataType("microsoft.graph.termsAndConditionsAssignment")] [ResourceTypePropertyName("assignmentODataType")] [ResourceReference] - public class Get_DeviceManagement_TermsAndConditions_Assignments : GetOrSearchCmdlet + public class Get_IntuneTermsAndConditionsAssignment : GetOrSearchCmdlet { /// /// A required ID for referencing a "microsoft.graph.termsAndConditions" object in the "termsAndConditions" collection. @@ -61,11 +61,11 @@ internal override System.String GetResourcePath() /// The list of assignments for this T&C policy. /// /// GitHub Repository - [Cmdlet("New", "DeviceManagement_TermsAndConditions_Assignments", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.termsAndConditionsAssignment")] + [Cmdlet("New", "IntuneTermsAndConditionsAssignment", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.termsAndConditionsAssignment")] [ODataType("microsoft.graph.termsAndConditionsAssignment")] [ResourceTypePropertyName("assignmentODataType")] [ResourceReference] - public class New_DeviceManagement_TermsAndConditions_Assignments : PostCmdlet + public class New_IntuneTermsAndConditionsAssignment : PostCmdlet { /// /// The ID for a "microsoft.graph.termsAndConditionsAssignment" object in the "assignments" collection. @@ -110,10 +110,10 @@ internal override System.String GetResourcePath() /// The list of assignments for this T&C policy. /// /// GitHub Repository - [Cmdlet("Update", "DeviceManagement_TermsAndConditions_Assignments", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.termsAndConditionsAssignment")] + [Cmdlet("Update", "IntuneTermsAndConditionsAssignment", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.termsAndConditionsAssignment")] [ODataType("microsoft.graph.termsAndConditionsAssignment")] [ResourceTypePropertyName("assignmentODataType")] - public class Update_DeviceManagement_TermsAndConditions_Assignments : PatchCmdlet + public class Update_IntuneTermsAndConditionsAssignment : PatchCmdlet { /// /// The ID for a "microsoft.graph.termsAndConditionsAssignment" object in the "assignments" collection. @@ -160,10 +160,10 @@ internal override System.String GetResourcePath() /// The list of assignments for this T&C policy. /// /// GitHub Repository - [Cmdlet("Remove", "DeviceManagement_TermsAndConditions_Assignments", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Remove", "IntuneTermsAndConditionsAssignment", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.termsAndConditionsAssignment")] [ResourceTypePropertyName("assignmentODataType")] - public class Remove_DeviceManagement_TermsAndConditions_Assignments : DeleteCmdlet + public class Remove_IntuneTermsAndConditionsAssignment : DeleteCmdlet { /// /// The ID for a "microsoft.graph.termsAndConditionsAssignment" object in the "assignments" collection. diff --git a/PowerShellCmdlets/Generated/SDK/DeviceManagement/TroubleshootingEvents.cs b/PowerShellCmdlets/Generated/SDK/DeviceManagement/TroubleshootingEvents.cs index 2633619..dc708d9 100644 --- a/PowerShellCmdlets/Generated/SDK/DeviceManagement/TroubleshootingEvents.cs +++ b/PowerShellCmdlets/Generated/SDK/DeviceManagement/TroubleshootingEvents.cs @@ -11,11 +11,11 @@ namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets /// The list of troubleshooting events for the tenant. /// /// GitHub Repository - [Cmdlet("Get", "DeviceManagement_TroubleshootingEvents", DefaultParameterSetName = @"Search")] + [Cmdlet("Get", "IntuneTroubleshootingEvent", DefaultParameterSetName = @"Search")] [ODataType("microsoft.graph.deviceManagementTroubleshootingEvent", "microsoft.graph.enrollmentTroubleshootingEvent")] [ResourceTypePropertyName("troubleshootingEventODataType")] [ResourceReference] - public class Get_DeviceManagement_TroubleshootingEvents : GetOrSearchCmdlet + public class Get_IntuneTroubleshootingEvent : GetOrSearchCmdlet { /// /// The ID for a "microsoft.graph.deviceManagementTroubleshootingEvent" object in the "troubleshootingEvents" collection. @@ -149,11 +149,11 @@ internal override System.String GetResourcePath() /// The list of troubleshooting events for the tenant. /// /// GitHub Repository - [Cmdlet("New", "DeviceManagement_TroubleshootingEvents", ConfirmImpact = ConfirmImpact.Low)] + [Cmdlet("New", "IntuneTroubleshootingEvent", ConfirmImpact = ConfirmImpact.Low)] [ODataType("microsoft.graph.deviceManagementTroubleshootingEvent", "microsoft.graph.enrollmentTroubleshootingEvent")] [ResourceTypePropertyName("troubleshootingEventODataType")] [ResourceReference] - public class New_DeviceManagement_TroubleshootingEvents : PostCmdlet + public class New_IntuneTroubleshootingEvent : PostCmdlet { /// /// The ID for a "microsoft.graph.deviceManagementTroubleshootingEvent" object in the "troubleshootingEvents" collection. @@ -315,10 +315,10 @@ internal override System.String GetResourcePath() /// The list of troubleshooting events for the tenant. /// /// GitHub Repository - [Cmdlet("Update", "DeviceManagement_TroubleshootingEvents", ConfirmImpact = ConfirmImpact.Medium)] + [Cmdlet("Update", "IntuneTroubleshootingEvent", ConfirmImpact = ConfirmImpact.Medium)] [ODataType("microsoft.graph.deviceManagementTroubleshootingEvent", "microsoft.graph.enrollmentTroubleshootingEvent")] [ResourceTypePropertyName("troubleshootingEventODataType")] - public class Update_DeviceManagement_TroubleshootingEvents : PatchCmdlet + public class Update_IntuneTroubleshootingEvent : PatchCmdlet { /// /// The ID for a "microsoft.graph.deviceManagementTroubleshootingEvent" object in the "troubleshootingEvents" collection. @@ -482,10 +482,10 @@ internal override System.String GetResourcePath() /// The list of troubleshooting events for the tenant. /// /// GitHub Repository - [Cmdlet("Remove", "DeviceManagement_TroubleshootingEvents", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Remove", "IntuneTroubleshootingEvent", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.deviceManagementTroubleshootingEvent", "microsoft.graph.enrollmentTroubleshootingEvent")] [ResourceTypePropertyName("troubleshootingEventODataType")] - public class Remove_DeviceManagement_TroubleshootingEvents : DeleteCmdlet + public class Remove_IntuneTroubleshootingEvent : DeleteCmdlet { /// /// The ID for a "microsoft.graph.deviceManagementTroubleshootingEvent" object in the "troubleshootingEvents" collection. diff --git a/PowerShellCmdlets/Generated/SDK/DeviceManagement/WindowsInformationProtectionAppLearningSummaries.cs b/PowerShellCmdlets/Generated/SDK/DeviceManagement/WindowsInformationProtectionAppLearningSummaries.cs index 6ea4802..64c7348 100644 --- a/PowerShellCmdlets/Generated/SDK/DeviceManagement/WindowsInformationProtectionAppLearningSummaries.cs +++ b/PowerShellCmdlets/Generated/SDK/DeviceManagement/WindowsInformationProtectionAppLearningSummaries.cs @@ -11,11 +11,11 @@ namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets /// The windows information protection app learning summaries. /// /// GitHub Repository - [Cmdlet("Get", "DeviceManagement_WindowsInformationProtectionAppLearningSummaries", DefaultParameterSetName = @"Search")] + [Cmdlet("Get", "IntuneWindowsInformationProtectionAppLearningSummary", DefaultParameterSetName = @"Search")] [ODataType("microsoft.graph.windowsInformationProtectionAppLearningSummary")] [ResourceTypePropertyName("windowsInformationProtectionAppLearningSummaryODataType")] [ResourceReference] - public class Get_DeviceManagement_WindowsInformationProtectionAppLearningSummaries : GetOrSearchCmdlet + public class Get_IntuneWindowsInformationProtectionAppLearningSummary : GetOrSearchCmdlet { /// /// The ID for a "microsoft.graph.windowsInformationProtectionAppLearningSummary" object in the "windowsInformationProtectionAppLearningSummaries" collection. @@ -71,11 +71,11 @@ internal override System.String GetResourcePath() /// The windows information protection app learning summaries. /// /// GitHub Repository - [Cmdlet("New", "DeviceManagement_WindowsInformationProtectionAppLearningSummaries", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.windowsInformationProtectionAppLearningSummary")] + [Cmdlet("New", "IntuneWindowsInformationProtectionAppLearningSummary", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.windowsInformationProtectionAppLearningSummary")] [ODataType("microsoft.graph.windowsInformationProtectionAppLearningSummary")] [ResourceTypePropertyName("windowsInformationProtectionAppLearningSummaryODataType")] [ResourceReference] - public class New_DeviceManagement_WindowsInformationProtectionAppLearningSummaries : PostCmdlet + public class New_IntuneWindowsInformationProtectionAppLearningSummary : PostCmdlet { /// /// The ID for a "microsoft.graph.windowsInformationProtectionAppLearningSummary" object in the "windowsInformationProtectionAppLearningSummaries" collection. @@ -136,10 +136,10 @@ internal override System.String GetResourcePath() /// The windows information protection app learning summaries. /// /// GitHub Repository - [Cmdlet("Update", "DeviceManagement_WindowsInformationProtectionAppLearningSummaries", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.windowsInformationProtectionAppLearningSummary")] + [Cmdlet("Update", "IntuneWindowsInformationProtectionAppLearningSummary", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.windowsInformationProtectionAppLearningSummary")] [ODataType("microsoft.graph.windowsInformationProtectionAppLearningSummary")] [ResourceTypePropertyName("windowsInformationProtectionAppLearningSummaryODataType")] - public class Update_DeviceManagement_WindowsInformationProtectionAppLearningSummaries : PatchCmdlet + public class Update_IntuneWindowsInformationProtectionAppLearningSummary : PatchCmdlet { /// /// The ID for a "microsoft.graph.windowsInformationProtectionAppLearningSummary" object in the "windowsInformationProtectionAppLearningSummaries" collection. @@ -202,10 +202,10 @@ internal override System.String GetResourcePath() /// The windows information protection app learning summaries. /// /// GitHub Repository - [Cmdlet("Remove", "DeviceManagement_WindowsInformationProtectionAppLearningSummaries", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Remove", "IntuneWindowsInformationProtectionAppLearningSummary", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.windowsInformationProtectionAppLearningSummary")] [ResourceTypePropertyName("windowsInformationProtectionAppLearningSummaryODataType")] - public class Remove_DeviceManagement_WindowsInformationProtectionAppLearningSummaries : DeleteCmdlet + public class Remove_IntuneWindowsInformationProtectionAppLearningSummary : DeleteCmdlet { /// /// The ID for a "microsoft.graph.windowsInformationProtectionAppLearningSummary" object in the "windowsInformationProtectionAppLearningSummaries" collection. diff --git a/PowerShellCmdlets/Generated/SDK/DeviceManagement/WindowsInformationProtectionNetworkLearningSummaries.cs b/PowerShellCmdlets/Generated/SDK/DeviceManagement/WindowsInformationProtectionNetworkLearningSummaries.cs index 77208dc..f6a3e37 100644 --- a/PowerShellCmdlets/Generated/SDK/DeviceManagement/WindowsInformationProtectionNetworkLearningSummaries.cs +++ b/PowerShellCmdlets/Generated/SDK/DeviceManagement/WindowsInformationProtectionNetworkLearningSummaries.cs @@ -11,11 +11,11 @@ namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets /// The windows information protection network learning summaries. /// /// GitHub Repository - [Cmdlet("Get", "DeviceManagement_WindowsInformationProtectionNetworkLearningSummaries", DefaultParameterSetName = @"Search")] + [Cmdlet("Get", "IntuneWindowsInformationProtectionNetworkLearningSummary", DefaultParameterSetName = @"Search")] [ODataType("microsoft.graph.windowsInformationProtectionNetworkLearningSummary")] [ResourceTypePropertyName("windowsInformationProtectionNetworkLearningSummaryODataType")] [ResourceReference] - public class Get_DeviceManagement_WindowsInformationProtectionNetworkLearningSummaries : GetOrSearchCmdlet + public class Get_IntuneWindowsInformationProtectionNetworkLearningSummary : GetOrSearchCmdlet { /// /// The ID for a "microsoft.graph.windowsInformationProtectionNetworkLearningSummary" object in the "windowsInformationProtectionNetworkLearningSummaries" collection. @@ -61,11 +61,11 @@ internal override System.String GetResourcePath() /// The windows information protection network learning summaries. /// /// GitHub Repository - [Cmdlet("New", "DeviceManagement_WindowsInformationProtectionNetworkLearningSummaries", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.windowsInformationProtectionNetworkLearningSummary")] + [Cmdlet("New", "IntuneWindowsInformationProtectionNetworkLearningSummary", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.windowsInformationProtectionNetworkLearningSummary")] [ODataType("microsoft.graph.windowsInformationProtectionNetworkLearningSummary")] [ResourceTypePropertyName("windowsInformationProtectionNetworkLearningSummaryODataType")] [ResourceReference] - public class New_DeviceManagement_WindowsInformationProtectionNetworkLearningSummaries : PostCmdlet + public class New_IntuneWindowsInformationProtectionNetworkLearningSummary : PostCmdlet { /// /// The ID for a "microsoft.graph.windowsInformationProtectionNetworkLearningSummary" object in the "windowsInformationProtectionNetworkLearningSummaries" collection. @@ -111,10 +111,10 @@ internal override System.String GetResourcePath() /// The windows information protection network learning summaries. /// /// GitHub Repository - [Cmdlet("Update", "DeviceManagement_WindowsInformationProtectionNetworkLearningSummaries", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.windowsInformationProtectionNetworkLearningSummary")] + [Cmdlet("Update", "IntuneWindowsInformationProtectionNetworkLearningSummary", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.windowsInformationProtectionNetworkLearningSummary")] [ODataType("microsoft.graph.windowsInformationProtectionNetworkLearningSummary")] [ResourceTypePropertyName("windowsInformationProtectionNetworkLearningSummaryODataType")] - public class Update_DeviceManagement_WindowsInformationProtectionNetworkLearningSummaries : PatchCmdlet + public class Update_IntuneWindowsInformationProtectionNetworkLearningSummary : PatchCmdlet { /// /// The ID for a "microsoft.graph.windowsInformationProtectionNetworkLearningSummary" object in the "windowsInformationProtectionNetworkLearningSummaries" collection. @@ -162,10 +162,10 @@ internal override System.String GetResourcePath() /// The windows information protection network learning summaries. /// /// GitHub Repository - [Cmdlet("Remove", "DeviceManagement_WindowsInformationProtectionNetworkLearningSummaries", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Remove", "IntuneWindowsInformationProtectionNetworkLearningSummary", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.windowsInformationProtectionNetworkLearningSummary")] [ResourceTypePropertyName("windowsInformationProtectionNetworkLearningSummaryODataType")] - public class Remove_DeviceManagement_WindowsInformationProtectionNetworkLearningSummaries : DeleteCmdlet + public class Remove_IntuneWindowsInformationProtectionNetworkLearningSummary : DeleteCmdlet { /// /// The ID for a "microsoft.graph.windowsInformationProtectionNetworkLearningSummary" object in the "windowsInformationProtectionNetworkLearningSummaries" collection. diff --git a/PowerShellCmdlets/Generated/SDK/DirectoryObjects.cs b/PowerShellCmdlets/Generated/SDK/DirectoryObjects.cs deleted file mode 100644 index 8e0f61a..0000000 --- a/PowerShellCmdlets/Generated/SDK/DirectoryObjects.cs +++ /dev/null @@ -1,4022 +0,0 @@ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. - -namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets -{ - using System.Management.Automation; - - /// - /// Retrieves "microsoft.graph.directoryObject" objects. - /// GET ~/directoryObjects - /// Retrieves "microsoft.graph.directoryObject" objects in the "directoryObjects" collection. - /// - /// GitHub Repository - [Cmdlet("Get", "DirectoryObjects", DefaultParameterSetName = @"Search")] - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [ResourceTypePropertyName("directoryObjectODataType")] - public class Get_DirectoryObjects : GetOrSearchCmdlet - { - /// - /// The ID for a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(ParameterSetName = @"Get", Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// The "deletedDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.directoryObject" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - public System.DateTimeOffset deletedDateTime { get; set; } - - /// - /// The "displayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.String displayName { get; set; } - - /// - /// The "description" property, of type "Edm.String". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.String description { get; set; } - - /// - /// The "values" property, of type "microsoft.graph.settingTemplateValue". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("microsoft.graph.settingTemplateValue")] - [Selectable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.Object[] values { get; set; } - - /// - /// The "accountEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Boolean accountEnabled { get; set; } - - /// - /// The "ageGroup" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String ageGroup { get; set; } - - /// - /// The "assignedLicenses" property, of type "microsoft.graph.assignedLicense". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.assignedLicense")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] assignedLicenses { get; set; } - - /// - /// The "assignedPlans" property, of type "microsoft.graph.assignedPlan". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.assignedPlan")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] assignedPlans { get; set; } - - /// - /// The "businessPhones" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] businessPhones { get; set; } - - /// - /// The "city" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String city { get; set; } - - /// - /// The "companyName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String companyName { get; set; } - - /// - /// The "consentProvidedForMinor" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String consentProvidedForMinor { get; set; } - - /// - /// The "country" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String country { get; set; } - - /// - /// The "department" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String department { get; set; } - - /// - /// The "givenName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String givenName { get; set; } - - /// - /// The "imAddresses" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] imAddresses { get; set; } - - /// - /// The "jobTitle" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String jobTitle { get; set; } - - /// - /// The "legalAgeGroupClassification" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String legalAgeGroupClassification { get; set; } - - /// - /// The "mail" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mail { get; set; } - - /// - /// The "mailNickname" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mailNickname { get; set; } - - /// - /// The "mobilePhone" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mobilePhone { get; set; } - - /// - /// The "onPremisesExtensionAttributes" property, of type "microsoft.graph.onPremisesExtensionAttributes". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.onPremisesExtensionAttributes")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object onPremisesExtensionAttributes { get; set; } - - /// - /// The "onPremisesImmutableId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesImmutableId { get; set; } - - /// - /// The "onPremisesLastSyncDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset onPremisesLastSyncDateTime { get; set; } - - /// - /// The "onPremisesProvisioningErrors" property, of type "microsoft.graph.onPremisesProvisioningError". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.onPremisesProvisioningError")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] onPremisesProvisioningErrors { get; set; } - - /// - /// The "onPremisesSecurityIdentifier" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesSecurityIdentifier { get; set; } - - /// - /// The "onPremisesSyncEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Boolean onPremisesSyncEnabled { get; set; } - - /// - /// The "onPremisesDomainName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesDomainName { get; set; } - - /// - /// The "onPremisesSamAccountName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesSamAccountName { get; set; } - - /// - /// The "onPremisesUserPrincipalName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesUserPrincipalName { get; set; } - - /// - /// The "passwordPolicies" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String passwordPolicies { get; set; } - - /// - /// The "passwordProfile" property, of type "microsoft.graph.passwordProfile". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.passwordProfile")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object passwordProfile { get; set; } - - /// - /// The "officeLocation" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String officeLocation { get; set; } - - /// - /// The "postalCode" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String postalCode { get; set; } - - /// - /// The "preferredLanguage" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String preferredLanguage { get; set; } - - /// - /// The "provisionedPlans" property, of type "microsoft.graph.provisionedPlan". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.provisionedPlan")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] provisionedPlans { get; set; } - - /// - /// The "proxyAddresses" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] proxyAddresses { get; set; } - - /// - /// The "state" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String state { get; set; } - - /// - /// The "streetAddress" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String streetAddress { get; set; } - - /// - /// The "surname" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String surname { get; set; } - - /// - /// The "usageLocation" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String usageLocation { get; set; } - - /// - /// The "userPrincipalName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String userPrincipalName { get; set; } - - /// - /// The "userType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String userType { get; set; } - - /// - /// The "mailboxSettings" property, of type "microsoft.graph.mailboxSettings". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.mailboxSettings")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object mailboxSettings { get; set; } - - /// - /// The "aboutMe" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String aboutMe { get; set; } - - /// - /// The "birthday" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset birthday { get; set; } - - /// - /// The "hireDate" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset hireDate { get; set; } - - /// - /// The "interests" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] interests { get; set; } - - /// - /// The "mySite" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mySite { get; set; } - - /// - /// The "pastProjects" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] pastProjects { get; set; } - - /// - /// The "preferredName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String preferredName { get; set; } - - /// - /// The "responsibilities" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] responsibilities { get; set; } - - /// - /// The "schools" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] schools { get; set; } - - /// - /// The "skills" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] skills { get; set; } - - /// - /// The "deviceEnrollmentLimit" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.user" type. - /// The limit on the maximum number of devices that the user is permitted to enroll. Allowed values are 5 or 1000. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Int32 deviceEnrollmentLimit { get; set; } - - /// - /// The "ownedDevices" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] ownedDevices { get; set; } - - /// - /// The "registeredDevices" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] registeredDevices { get; set; } - - /// - /// The "manager" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object manager { get; set; } - - /// - /// The "directReports" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] directReports { get; set; } - - /// - /// The "memberOf" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] memberOf { get; set; } - - /// - /// The "createdObjects" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] createdObjects { get; set; } - - /// - /// The "ownedObjects" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] ownedObjects { get; set; } - - /// - /// The "licenseDetails" property, of type "microsoft.graph.licenseDetails". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.licenseDetails")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] licenseDetails { get; set; } - - /// - /// The "inferenceClassification" property, of type "microsoft.graph.inferenceClassification". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.inferenceClassification")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object inferenceClassification { get; set; } - - /// - /// The "photo" property, of type "microsoft.graph.profilePhoto". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.profilePhoto")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object photo { get; set; } - - /// - /// The "photos" property, of type "microsoft.graph.profilePhoto". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.profilePhoto")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] photos { get; set; } - - /// - /// The "managedDevices" property, of type "microsoft.graph.managedDevice". - /// This property is on the "microsoft.graph.user" type. - /// The managed devices associated with the user. - /// - [ODataType("microsoft.graph.managedDevice")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] managedDevices { get; set; } - - /// - /// The "managedAppRegistrations" property, of type "microsoft.graph.managedAppRegistration". - /// This property is on the "microsoft.graph.user" type. - /// Zero or more managed app registrations that belong to the user. - /// - [ODataType("microsoft.graph.managedAppRegistration", "microsoft.graph.androidManagedAppRegistration", "microsoft.graph.iosManagedAppRegistration")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] managedAppRegistrations { get; set; } - - /// - /// The "deviceManagementTroubleshootingEvents" property, of type "microsoft.graph.deviceManagementTroubleshootingEvent". - /// This property is on the "microsoft.graph.user" type. - /// The list of troubleshooting events for this user. - /// - [ODataType("microsoft.graph.deviceManagementTroubleshootingEvent", "microsoft.graph.enrollmentTroubleshootingEvent")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] deviceManagementTroubleshootingEvents { get; set; } - - /// - /// The "countryLetterCode" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String countryLetterCode { get; set; } - - /// - /// The "marketingNotificationEmails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] marketingNotificationEmails { get; set; } - - /// - /// The "privacyProfile" property, of type "microsoft.graph.privacyProfile". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("microsoft.graph.privacyProfile")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.Object privacyProfile { get; set; } - - /// - /// The "securityComplianceNotificationMails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] securityComplianceNotificationMails { get; set; } - - /// - /// The "securityComplianceNotificationPhones" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] securityComplianceNotificationPhones { get; set; } - - /// - /// The "street" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String street { get; set; } - - /// - /// The "technicalNotificationMails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] technicalNotificationMails { get; set; } - - /// - /// The "mobileDeviceManagementAuthority" property, of type "microsoft.graph.mdmAuthority". - /// This property is on the "microsoft.graph.organization" type. - /// Mobile device management authority. - /// - [ODataType("microsoft.graph.mdmAuthority")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String mobileDeviceManagementAuthority { get; set; } - - /// - /// The "contractType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.String contractType { get; set; } - - /// - /// The "customerId" property, of type "Edm.Guid". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.Guid")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.Guid customerId { get; set; } - - /// - /// The "defaultDomainName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.String defaultDomainName { get; set; } - - /// - /// The "classification" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.String classification { get; set; } - - /// - /// The "createdDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.DateTimeOffset createdDateTime { get; set; } - - /// - /// The "groupTypes" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.group")] - public System.String[] groupTypes { get; set; } - - /// - /// The "mailEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean mailEnabled { get; set; } - - /// - /// The "renewedDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.DateTimeOffset renewedDateTime { get; set; } - - /// - /// The "securityEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean securityEnabled { get; set; } - - /// - /// The "visibility" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.String visibility { get; set; } - - /// - /// The "allowExternalSenders" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean allowExternalSenders { get; set; } - - /// - /// The "autoSubscribeNewMembers" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean autoSubscribeNewMembers { get; set; } - - /// - /// The "isSubscribedByMail" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean isSubscribedByMail { get; set; } - - /// - /// The "unseenCount" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Int32 unseenCount { get; set; } - - /// - /// The "members" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] members { get; set; } - - /// - /// The "createdOnBehalfOf" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Object createdOnBehalfOf { get; set; } - - /// - /// The "owners" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] owners { get; set; } - - /// - /// The "settings" property, of type "microsoft.graph.groupSetting". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.groupSetting")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] settings { get; set; } - - /// - /// The "groupLifecyclePolicies" property, of type "microsoft.graph.groupLifecyclePolicy". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.groupLifecyclePolicy")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] groupLifecyclePolicies { get; set; } - - /// - /// The "roleTemplateId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.directoryRole" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.directoryRole")] - public System.String roleTemplateId { get; set; } - - /// - /// The "alternativeSecurityIds" property, of type "microsoft.graph.alternativeSecurityId". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.alternativeSecurityId")] - [Selectable] - [DerivedType("microsoft.graph.device")] - public System.Object[] alternativeSecurityIds { get; set; } - - /// - /// The "approximateLastSignInDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.DateTimeOffset approximateLastSignInDateTime { get; set; } - - /// - /// The "deviceId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String deviceId { get; set; } - - /// - /// The "deviceMetadata" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String deviceMetadata { get; set; } - - /// - /// The "deviceVersion" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Int32 deviceVersion { get; set; } - - /// - /// The "isCompliant" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Boolean isCompliant { get; set; } - - /// - /// The "isManaged" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Boolean isManaged { get; set; } - - /// - /// The "operatingSystem" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String operatingSystem { get; set; } - - /// - /// The "operatingSystemVersion" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String operatingSystemVersion { get; set; } - - /// - /// The "physicalIds" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.device")] - public System.String[] physicalIds { get; set; } - - /// - /// The "trustType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String trustType { get; set; } - - /// - /// The "registeredOwners" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] registeredOwners { get; set; } - - /// - /// The "registeredUsers" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] registeredUsers { get; set; } - - /// - /// The "extensions" property, of type "microsoft.graph.extension". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.extension", "microsoft.graph.openTypeExtension")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] extensions { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId ?? string.Empty}"; - } - } - - /// - /// Creates a "microsoft.graph.directoryObject" object. - /// POST ~/directoryObjects - /// Adds a "microsoft.graph.directoryObject" object to the "directoryObjects" collection. - /// - /// GitHub Repository - [Cmdlet("New", "DirectoryObjects", ConfirmImpact = ConfirmImpact.Low)] - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [ResourceTypePropertyName("directoryObjectODataType")] - public class New_DirectoryObjects : PostCmdlet - { - /// - /// The ID for a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - public System.String directoryObjectId { get; set; } - - /// - /// A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.directoryObject" type. - /// - [Selectable] - [Expandable] - [ParameterSetSelector(@"microsoft.graph.directoryObject")] - [Parameter(ParameterSetName = @"microsoft.graph.directoryObject", Mandatory = true, HelpMessage = @"A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.directoryObject" type.")] - public System.Management.Automation.SwitchParameter directoryObject { get; set; } - - /// - /// The "deletedDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.directoryObject" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.directoryObject", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "deletedDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"microsoft.graph.administrativeUnit", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "deletedDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"microsoft.graph.groupSettingTemplate", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "deletedDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "deletedDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"microsoft.graph.organization", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "deletedDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"microsoft.graph.contract", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "deletedDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"microsoft.graph.group", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "deletedDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"microsoft.graph.directoryRoleTemplate", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "deletedDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"microsoft.graph.directoryRole", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "deletedDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"microsoft.graph.device", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "deletedDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "deletedDateTime" property, of type "Edm.DateTimeOffset".")] - public System.DateTimeOffset deletedDateTime { get; set; } - - /// - /// A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.administrativeUnit" type. - /// - [Selectable] - [Expandable] - [ParameterSetSelector(@"microsoft.graph.administrativeUnit")] - [Parameter(ParameterSetName = @"microsoft.graph.administrativeUnit", Mandatory = true, HelpMessage = @"A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.administrativeUnit" type.")] - public System.Management.Automation.SwitchParameter administrativeUnit { get; set; } - - /// - /// A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.groupSettingTemplate" type. - /// - [Selectable] - [Expandable] - [ParameterSetSelector(@"microsoft.graph.groupSettingTemplate")] - [Parameter(ParameterSetName = @"microsoft.graph.groupSettingTemplate", Mandatory = true, HelpMessage = @"A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.groupSettingTemplate" type.")] - public System.Management.Automation.SwitchParameter groupSettingTemplate { get; set; } - - /// - /// The "displayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.groupSettingTemplate", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "displayName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "displayName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.organization", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "displayName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.contract", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "displayName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.group", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "displayName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.directoryRoleTemplate", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "displayName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.directoryRole", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "displayName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.device", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "displayName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "displayName" property, of type "Edm.String".")] - public System.String displayName { get; set; } - - /// - /// The "description" property, of type "Edm.String". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.groupSettingTemplate", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "description" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.group", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "description" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.directoryRoleTemplate", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "description" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.directoryRole", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "description" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "description" property, of type "Edm.String".")] - public System.String description { get; set; } - - /// - /// The "values" property, of type "microsoft.graph.settingTemplateValue". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("microsoft.graph.settingTemplateValue")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.groupSettingTemplate", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "values" property, of type "microsoft.graph.settingTemplateValue".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "values" property, of type "microsoft.graph.settingTemplateValue".")] - public System.Object[] values { get; set; } - - /// - /// A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.user" type. - /// - [Selectable] - [Expandable] - [ParameterSetSelector(@"microsoft.graph.user")] - [Parameter(ParameterSetName = @"microsoft.graph.user", Mandatory = true, HelpMessage = @"A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.user" type.")] - public System.Management.Automation.SwitchParameter user { get; set; } - - /// - /// The "accountEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "accountEnabled" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.device", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "accountEnabled" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "accountEnabled" property, of type "Edm.Boolean".")] - public System.Boolean accountEnabled { get; set; } - - /// - /// The "ageGroup" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "ageGroup" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "ageGroup" property, of type "Edm.String".")] - public System.String ageGroup { get; set; } - - /// - /// The "assignedLicenses" property, of type "microsoft.graph.assignedLicense". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.assignedLicense")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "assignedLicenses" property, of type "microsoft.graph.assignedLicense".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "assignedLicenses" property, of type "microsoft.graph.assignedLicense".")] - public System.Object[] assignedLicenses { get; set; } - - /// - /// The "assignedPlans" property, of type "microsoft.graph.assignedPlan". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.assignedPlan")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "assignedPlans" property, of type "microsoft.graph.assignedPlan".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "assignedPlans" property, of type "microsoft.graph.assignedPlan".")] - public System.Object[] assignedPlans { get; set; } - - /// - /// The "businessPhones" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "businessPhones" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.organization", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "businessPhones" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "businessPhones" property, of type "Edm.String".")] - public System.String[] businessPhones { get; set; } - - /// - /// The "city" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "city" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.organization", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "city" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "city" property, of type "Edm.String".")] - public System.String city { get; set; } - - /// - /// The "companyName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "companyName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "companyName" property, of type "Edm.String".")] - public System.String companyName { get; set; } - - /// - /// The "consentProvidedForMinor" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "consentProvidedForMinor" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "consentProvidedForMinor" property, of type "Edm.String".")] - public System.String consentProvidedForMinor { get; set; } - - /// - /// The "country" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "country" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.organization", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "country" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "country" property, of type "Edm.String".")] - public System.String country { get; set; } - - /// - /// The "department" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "department" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "department" property, of type "Edm.String".")] - public System.String department { get; set; } - - /// - /// The "givenName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "givenName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "givenName" property, of type "Edm.String".")] - public System.String givenName { get; set; } - - /// - /// The "imAddresses" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "imAddresses" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "imAddresses" property, of type "Edm.String".")] - public System.String[] imAddresses { get; set; } - - /// - /// The "jobTitle" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "jobTitle" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "jobTitle" property, of type "Edm.String".")] - public System.String jobTitle { get; set; } - - /// - /// The "legalAgeGroupClassification" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "legalAgeGroupClassification" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "legalAgeGroupClassification" property, of type "Edm.String".")] - public System.String legalAgeGroupClassification { get; set; } - - /// - /// The "mail" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "mail" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.group", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "mail" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "mail" property, of type "Edm.String".")] - public System.String mail { get; set; } - - /// - /// The "mailNickname" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "mailNickname" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.group", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "mailNickname" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "mailNickname" property, of type "Edm.String".")] - public System.String mailNickname { get; set; } - - /// - /// The "mobilePhone" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "mobilePhone" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "mobilePhone" property, of type "Edm.String".")] - public System.String mobilePhone { get; set; } - - /// - /// The "onPremisesExtensionAttributes" property, of type "microsoft.graph.onPremisesExtensionAttributes". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.onPremisesExtensionAttributes")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "onPremisesExtensionAttributes" property, of type "microsoft.graph.onPremisesExtensionAttributes".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "onPremisesExtensionAttributes" property, of type "microsoft.graph.onPremisesExtensionAttributes".")] - public System.Object onPremisesExtensionAttributes { get; set; } - - /// - /// The "onPremisesImmutableId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "onPremisesImmutableId" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "onPremisesImmutableId" property, of type "Edm.String".")] - public System.String onPremisesImmutableId { get; set; } - - /// - /// The "onPremisesLastSyncDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "onPremisesLastSyncDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"microsoft.graph.organization", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "onPremisesLastSyncDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"microsoft.graph.group", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "onPremisesLastSyncDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"microsoft.graph.device", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "onPremisesLastSyncDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "onPremisesLastSyncDateTime" property, of type "Edm.DateTimeOffset".")] - public System.DateTimeOffset onPremisesLastSyncDateTime { get; set; } - - /// - /// The "onPremisesProvisioningErrors" property, of type "microsoft.graph.onPremisesProvisioningError". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.onPremisesProvisioningError")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "onPremisesProvisioningErrors" property, of type "microsoft.graph.onPremisesProvisioningError".")] - [Parameter(ParameterSetName = @"microsoft.graph.group", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "onPremisesProvisioningErrors" property, of type "microsoft.graph.onPremisesProvisioningError".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "onPremisesProvisioningErrors" property, of type "microsoft.graph.onPremisesProvisioningError".")] - public System.Object[] onPremisesProvisioningErrors { get; set; } - - /// - /// The "onPremisesSecurityIdentifier" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "onPremisesSecurityIdentifier" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.group", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "onPremisesSecurityIdentifier" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "onPremisesSecurityIdentifier" property, of type "Edm.String".")] - public System.String onPremisesSecurityIdentifier { get; set; } - - /// - /// The "onPremisesSyncEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "onPremisesSyncEnabled" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.organization", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "onPremisesSyncEnabled" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.group", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "onPremisesSyncEnabled" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.device", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "onPremisesSyncEnabled" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "onPremisesSyncEnabled" property, of type "Edm.Boolean".")] - public System.Boolean onPremisesSyncEnabled { get; set; } - - /// - /// The "onPremisesDomainName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "onPremisesDomainName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "onPremisesDomainName" property, of type "Edm.String".")] - public System.String onPremisesDomainName { get; set; } - - /// - /// The "onPremisesSamAccountName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "onPremisesSamAccountName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "onPremisesSamAccountName" property, of type "Edm.String".")] - public System.String onPremisesSamAccountName { get; set; } - - /// - /// The "onPremisesUserPrincipalName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "onPremisesUserPrincipalName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "onPremisesUserPrincipalName" property, of type "Edm.String".")] - public System.String onPremisesUserPrincipalName { get; set; } - - /// - /// The "passwordPolicies" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "passwordPolicies" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "passwordPolicies" property, of type "Edm.String".")] - public System.String passwordPolicies { get; set; } - - /// - /// The "passwordProfile" property, of type "microsoft.graph.passwordProfile". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.passwordProfile")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "passwordProfile" property, of type "microsoft.graph.passwordProfile".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "passwordProfile" property, of type "microsoft.graph.passwordProfile".")] - public System.Object passwordProfile { get; set; } - - /// - /// The "officeLocation" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "officeLocation" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "officeLocation" property, of type "Edm.String".")] - public System.String officeLocation { get; set; } - - /// - /// The "postalCode" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "postalCode" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.organization", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "postalCode" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "postalCode" property, of type "Edm.String".")] - public System.String postalCode { get; set; } - - /// - /// The "preferredLanguage" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "preferredLanguage" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.organization", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "preferredLanguage" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "preferredLanguage" property, of type "Edm.String".")] - public System.String preferredLanguage { get; set; } - - /// - /// The "provisionedPlans" property, of type "microsoft.graph.provisionedPlan". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.provisionedPlan")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "provisionedPlans" property, of type "microsoft.graph.provisionedPlan".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "provisionedPlans" property, of type "microsoft.graph.provisionedPlan".")] - public System.Object[] provisionedPlans { get; set; } - - /// - /// The "proxyAddresses" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "proxyAddresses" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.group", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "proxyAddresses" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "proxyAddresses" property, of type "Edm.String".")] - public System.String[] proxyAddresses { get; set; } - - /// - /// The "state" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "state" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.organization", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "state" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "state" property, of type "Edm.String".")] - public System.String state { get; set; } - - /// - /// The "streetAddress" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "streetAddress" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "streetAddress" property, of type "Edm.String".")] - public System.String streetAddress { get; set; } - - /// - /// The "surname" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "surname" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "surname" property, of type "Edm.String".")] - public System.String surname { get; set; } - - /// - /// The "usageLocation" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "usageLocation" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "usageLocation" property, of type "Edm.String".")] - public System.String usageLocation { get; set; } - - /// - /// The "userPrincipalName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "userPrincipalName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "userPrincipalName" property, of type "Edm.String".")] - public System.String userPrincipalName { get; set; } - - /// - /// The "userType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "userType" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "userType" property, of type "Edm.String".")] - public System.String userType { get; set; } - - /// - /// The "mailboxSettings" property, of type "microsoft.graph.mailboxSettings". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.mailboxSettings")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "mailboxSettings" property, of type "microsoft.graph.mailboxSettings".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "mailboxSettings" property, of type "microsoft.graph.mailboxSettings".")] - public System.Object mailboxSettings { get; set; } - - /// - /// The "aboutMe" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "aboutMe" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "aboutMe" property, of type "Edm.String".")] - public System.String aboutMe { get; set; } - - /// - /// The "birthday" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "birthday" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "birthday" property, of type "Edm.DateTimeOffset".")] - public System.DateTimeOffset birthday { get; set; } - - /// - /// The "hireDate" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "hireDate" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "hireDate" property, of type "Edm.DateTimeOffset".")] - public System.DateTimeOffset hireDate { get; set; } - - /// - /// The "interests" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "interests" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "interests" property, of type "Edm.String".")] - public System.String[] interests { get; set; } - - /// - /// The "mySite" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "mySite" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "mySite" property, of type "Edm.String".")] - public System.String mySite { get; set; } - - /// - /// The "pastProjects" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "pastProjects" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "pastProjects" property, of type "Edm.String".")] - public System.String[] pastProjects { get; set; } - - /// - /// The "preferredName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "preferredName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "preferredName" property, of type "Edm.String".")] - public System.String preferredName { get; set; } - - /// - /// The "responsibilities" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "responsibilities" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "responsibilities" property, of type "Edm.String".")] - public System.String[] responsibilities { get; set; } - - /// - /// The "schools" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "schools" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "schools" property, of type "Edm.String".")] - public System.String[] schools { get; set; } - - /// - /// The "skills" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "skills" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "skills" property, of type "Edm.String".")] - public System.String[] skills { get; set; } - - /// - /// The "deviceEnrollmentLimit" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.user" type. - /// The limit on the maximum number of devices that the user is permitted to enroll. Allowed values are 5 or 1000. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "deviceEnrollmentLimit" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "deviceEnrollmentLimit" property, of type "Edm.Int32".")] - public System.Int32 deviceEnrollmentLimit { get; set; } - - /// - /// The "ownedDevices" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "ownedDevices" property, of type "microsoft.graph.directoryObject".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "ownedDevices" property, of type "microsoft.graph.directoryObject".")] - public System.Object[] ownedDevices { get; set; } - - /// - /// The "registeredDevices" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "registeredDevices" property, of type "microsoft.graph.directoryObject".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "registeredDevices" property, of type "microsoft.graph.directoryObject".")] - public System.Object[] registeredDevices { get; set; } - - /// - /// The "manager" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "manager" property, of type "microsoft.graph.directoryObject".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "manager" property, of type "microsoft.graph.directoryObject".")] - public System.Object manager { get; set; } - - /// - /// The "directReports" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "directReports" property, of type "microsoft.graph.directoryObject".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "directReports" property, of type "microsoft.graph.directoryObject".")] - public System.Object[] directReports { get; set; } - - /// - /// The "memberOf" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "memberOf" property, of type "microsoft.graph.directoryObject".")] - [Parameter(ParameterSetName = @"microsoft.graph.group", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "memberOf" property, of type "microsoft.graph.directoryObject".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "memberOf" property, of type "microsoft.graph.directoryObject".")] - public System.Object[] memberOf { get; set; } - - /// - /// The "createdObjects" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "createdObjects" property, of type "microsoft.graph.directoryObject".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "createdObjects" property, of type "microsoft.graph.directoryObject".")] - public System.Object[] createdObjects { get; set; } - - /// - /// The "ownedObjects" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "ownedObjects" property, of type "microsoft.graph.directoryObject".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "ownedObjects" property, of type "microsoft.graph.directoryObject".")] - public System.Object[] ownedObjects { get; set; } - - /// - /// The "licenseDetails" property, of type "microsoft.graph.licenseDetails". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.licenseDetails")] - [Selectable] - [Expandable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "licenseDetails" property, of type "microsoft.graph.licenseDetails".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "licenseDetails" property, of type "microsoft.graph.licenseDetails".")] - public System.Object[] licenseDetails { get; set; } - - /// - /// The "inferenceClassification" property, of type "microsoft.graph.inferenceClassification". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.inferenceClassification")] - [Selectable] - [Expandable] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "inferenceClassification" property, of type "microsoft.graph.inferenceClassification".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "inferenceClassification" property, of type "microsoft.graph.inferenceClassification".")] - public System.Object inferenceClassification { get; set; } - - /// - /// The "photo" property, of type "microsoft.graph.profilePhoto". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.profilePhoto")] - [Selectable] - [Expandable] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "photo" property, of type "microsoft.graph.profilePhoto".")] - [Parameter(ParameterSetName = @"microsoft.graph.group", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "photo" property, of type "microsoft.graph.profilePhoto".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "photo" property, of type "microsoft.graph.profilePhoto".")] - public System.Object photo { get; set; } - - /// - /// The "photos" property, of type "microsoft.graph.profilePhoto". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.profilePhoto")] - [Selectable] - [Expandable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "photos" property, of type "microsoft.graph.profilePhoto".")] - [Parameter(ParameterSetName = @"microsoft.graph.group", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "photos" property, of type "microsoft.graph.profilePhoto".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "photos" property, of type "microsoft.graph.profilePhoto".")] - public System.Object[] photos { get; set; } - - /// - /// The "managedDevices" property, of type "microsoft.graph.managedDevice". - /// This property is on the "microsoft.graph.user" type. - /// The managed devices associated with the user. - /// - [ODataType("microsoft.graph.managedDevice")] - [Selectable] - [Expandable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "managedDevices" property, of type "microsoft.graph.managedDevice".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "managedDevices" property, of type "microsoft.graph.managedDevice".")] - public System.Object[] managedDevices { get; set; } - - /// - /// The "managedAppRegistrations" property, of type "microsoft.graph.managedAppRegistration". - /// This property is on the "microsoft.graph.user" type. - /// Zero or more managed app registrations that belong to the user. - /// - [ODataType("microsoft.graph.managedAppRegistration", "microsoft.graph.androidManagedAppRegistration", "microsoft.graph.iosManagedAppRegistration")] - [Selectable] - [Expandable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "managedAppRegistrations" property, of type "microsoft.graph.managedAppRegistration".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "managedAppRegistrations" property, of type "microsoft.graph.managedAppRegistration".")] - public System.Object[] managedAppRegistrations { get; set; } - - /// - /// The "deviceManagementTroubleshootingEvents" property, of type "microsoft.graph.deviceManagementTroubleshootingEvent". - /// This property is on the "microsoft.graph.user" type. - /// The list of troubleshooting events for this user. - /// - [ODataType("microsoft.graph.deviceManagementTroubleshootingEvent", "microsoft.graph.enrollmentTroubleshootingEvent")] - [Selectable] - [Expandable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "deviceManagementTroubleshootingEvents" property, of type "microsoft.graph.deviceManagementTroubleshootingEvent".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "deviceManagementTroubleshootingEvents" property, of type "microsoft.graph.deviceManagementTroubleshootingEvent".")] - public System.Object[] deviceManagementTroubleshootingEvents { get; set; } - - /// - /// A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.organization" type. - /// - [Selectable] - [Expandable] - [ParameterSetSelector(@"microsoft.graph.organization")] - [Parameter(ParameterSetName = @"microsoft.graph.organization", Mandatory = true, HelpMessage = @"A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.organization" type.")] - public System.Management.Automation.SwitchParameter organization { get; set; } - - /// - /// The "countryLetterCode" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.organization", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "countryLetterCode" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "countryLetterCode" property, of type "Edm.String".")] - public System.String countryLetterCode { get; set; } - - /// - /// The "marketingNotificationEmails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.organization", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "marketingNotificationEmails" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "marketingNotificationEmails" property, of type "Edm.String".")] - public System.String[] marketingNotificationEmails { get; set; } - - /// - /// The "privacyProfile" property, of type "microsoft.graph.privacyProfile". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("microsoft.graph.privacyProfile")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.organization", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "privacyProfile" property, of type "microsoft.graph.privacyProfile".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "privacyProfile" property, of type "microsoft.graph.privacyProfile".")] - public System.Object privacyProfile { get; set; } - - /// - /// The "securityComplianceNotificationMails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.organization", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "securityComplianceNotificationMails" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "securityComplianceNotificationMails" property, of type "Edm.String".")] - public System.String[] securityComplianceNotificationMails { get; set; } - - /// - /// The "securityComplianceNotificationPhones" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.organization", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "securityComplianceNotificationPhones" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "securityComplianceNotificationPhones" property, of type "Edm.String".")] - public System.String[] securityComplianceNotificationPhones { get; set; } - - /// - /// The "street" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.organization", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "street" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "street" property, of type "Edm.String".")] - public System.String street { get; set; } - - /// - /// The "technicalNotificationMails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.organization", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "technicalNotificationMails" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "technicalNotificationMails" property, of type "Edm.String".")] - public System.String[] technicalNotificationMails { get; set; } - - /// - /// The "mobileDeviceManagementAuthority" property, of type "microsoft.graph.mdmAuthority". - /// This property is on the "microsoft.graph.organization" type. - /// Mobile device management authority. - /// - /// Valid values: 'unknown', 'intune', 'sccm', 'office365' - /// - /// - [ODataType("microsoft.graph.mdmAuthority")] - [Selectable] - [ValidateSet(@"unknown", @"intune", @"sccm", @"office365")] - [Parameter(ParameterSetName = @"microsoft.graph.organization", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "mobileDeviceManagementAuthority" property, of type "microsoft.graph.mdmAuthority".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "mobileDeviceManagementAuthority" property, of type "microsoft.graph.mdmAuthority".")] - public System.String mobileDeviceManagementAuthority { get; set; } - - /// - /// A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.contract" type. - /// - [Selectable] - [Expandable] - [ParameterSetSelector(@"microsoft.graph.contract")] - [Parameter(ParameterSetName = @"microsoft.graph.contract", Mandatory = true, HelpMessage = @"A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.contract" type.")] - public System.Management.Automation.SwitchParameter contract { get; set; } - - /// - /// The "contractType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.contract", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "contractType" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "contractType" property, of type "Edm.String".")] - public System.String contractType { get; set; } - - /// - /// The "customerId" property, of type "Edm.Guid". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.Guid")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.contract", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "customerId" property, of type "Edm.Guid".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "customerId" property, of type "Edm.Guid".")] - public System.Guid customerId { get; set; } - - /// - /// The "defaultDomainName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.contract", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "defaultDomainName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "defaultDomainName" property, of type "Edm.String".")] - public System.String defaultDomainName { get; set; } - - /// - /// A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.group" type. - /// - [Selectable] - [Expandable] - [ParameterSetSelector(@"microsoft.graph.group")] - [Parameter(ParameterSetName = @"microsoft.graph.group", Mandatory = true, HelpMessage = @"A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.group" type.")] - public System.Management.Automation.SwitchParameter group { get; set; } - - /// - /// The "classification" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.group", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "classification" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "classification" property, of type "Edm.String".")] - public System.String classification { get; set; } - - /// - /// The "createdDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.group", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "createdDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "createdDateTime" property, of type "Edm.DateTimeOffset".")] - public System.DateTimeOffset createdDateTime { get; set; } - - /// - /// The "groupTypes" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.group", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "groupTypes" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "groupTypes" property, of type "Edm.String".")] - public System.String[] groupTypes { get; set; } - - /// - /// The "mailEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.group", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "mailEnabled" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "mailEnabled" property, of type "Edm.Boolean".")] - public System.Boolean mailEnabled { get; set; } - - /// - /// The "renewedDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.group", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "renewedDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "renewedDateTime" property, of type "Edm.DateTimeOffset".")] - public System.DateTimeOffset renewedDateTime { get; set; } - - /// - /// The "securityEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.group", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "securityEnabled" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "securityEnabled" property, of type "Edm.Boolean".")] - public System.Boolean securityEnabled { get; set; } - - /// - /// The "visibility" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.group", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "visibility" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "visibility" property, of type "Edm.String".")] - public System.String visibility { get; set; } - - /// - /// The "allowExternalSenders" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.group", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "allowExternalSenders" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "allowExternalSenders" property, of type "Edm.Boolean".")] - public System.Boolean allowExternalSenders { get; set; } - - /// - /// The "autoSubscribeNewMembers" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.group", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "autoSubscribeNewMembers" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "autoSubscribeNewMembers" property, of type "Edm.Boolean".")] - public System.Boolean autoSubscribeNewMembers { get; set; } - - /// - /// The "isSubscribedByMail" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.group", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "isSubscribedByMail" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "isSubscribedByMail" property, of type "Edm.Boolean".")] - public System.Boolean isSubscribedByMail { get; set; } - - /// - /// The "unseenCount" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.group", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "unseenCount" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "unseenCount" property, of type "Edm.Int32".")] - public System.Int32 unseenCount { get; set; } - - /// - /// The "members" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.group", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "members" property, of type "microsoft.graph.directoryObject".")] - [Parameter(ParameterSetName = @"microsoft.graph.directoryRole", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "members" property, of type "microsoft.graph.directoryObject".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "members" property, of type "microsoft.graph.directoryObject".")] - public System.Object[] members { get; set; } - - /// - /// The "createdOnBehalfOf" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [Parameter(ParameterSetName = @"microsoft.graph.group", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "createdOnBehalfOf" property, of type "microsoft.graph.directoryObject".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "createdOnBehalfOf" property, of type "microsoft.graph.directoryObject".")] - public System.Object createdOnBehalfOf { get; set; } - - /// - /// The "owners" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.group", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "owners" property, of type "microsoft.graph.directoryObject".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "owners" property, of type "microsoft.graph.directoryObject".")] - public System.Object[] owners { get; set; } - - /// - /// The "settings" property, of type "microsoft.graph.groupSetting". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.groupSetting")] - [Selectable] - [Expandable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.group", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "settings" property, of type "microsoft.graph.groupSetting".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "settings" property, of type "microsoft.graph.groupSetting".")] - public System.Object[] settings { get; set; } - - /// - /// The "groupLifecyclePolicies" property, of type "microsoft.graph.groupLifecyclePolicy". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.groupLifecyclePolicy")] - [Selectable] - [Expandable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.group", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "groupLifecyclePolicies" property, of type "microsoft.graph.groupLifecyclePolicy".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "groupLifecyclePolicies" property, of type "microsoft.graph.groupLifecyclePolicy".")] - public System.Object[] groupLifecyclePolicies { get; set; } - - /// - /// A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.directoryRoleTemplate" type. - /// - [Selectable] - [Expandable] - [ParameterSetSelector(@"microsoft.graph.directoryRoleTemplate")] - [Parameter(ParameterSetName = @"microsoft.graph.directoryRoleTemplate", Mandatory = true, HelpMessage = @"A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.directoryRoleTemplate" type.")] - public System.Management.Automation.SwitchParameter directoryRoleTemplate { get; set; } - - /// - /// A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.directoryRole" type. - /// - [Selectable] - [Expandable] - [ParameterSetSelector(@"microsoft.graph.directoryRole")] - [Parameter(ParameterSetName = @"microsoft.graph.directoryRole", Mandatory = true, HelpMessage = @"A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.directoryRole" type.")] - public System.Management.Automation.SwitchParameter directoryRole { get; set; } - - /// - /// The "roleTemplateId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.directoryRole" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.directoryRole", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "roleTemplateId" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "roleTemplateId" property, of type "Edm.String".")] - public System.String roleTemplateId { get; set; } - - /// - /// A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.device" type. - /// - [Selectable] - [Expandable] - [ParameterSetSelector(@"microsoft.graph.device")] - [Parameter(ParameterSetName = @"microsoft.graph.device", Mandatory = true, HelpMessage = @"A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.device" type.")] - public System.Management.Automation.SwitchParameter device { get; set; } - - /// - /// The "alternativeSecurityIds" property, of type "microsoft.graph.alternativeSecurityId". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.alternativeSecurityId")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.device", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "alternativeSecurityIds" property, of type "microsoft.graph.alternativeSecurityId".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "alternativeSecurityIds" property, of type "microsoft.graph.alternativeSecurityId".")] - public System.Object[] alternativeSecurityIds { get; set; } - - /// - /// The "approximateLastSignInDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.device", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "approximateLastSignInDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "approximateLastSignInDateTime" property, of type "Edm.DateTimeOffset".")] - public System.DateTimeOffset approximateLastSignInDateTime { get; set; } - - /// - /// The "deviceId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.device", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "deviceId" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "deviceId" property, of type "Edm.String".")] - public System.String deviceId { get; set; } - - /// - /// The "deviceMetadata" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.device", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "deviceMetadata" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "deviceMetadata" property, of type "Edm.String".")] - public System.String deviceMetadata { get; set; } - - /// - /// The "deviceVersion" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.device", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "deviceVersion" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "deviceVersion" property, of type "Edm.Int32".")] - public System.Int32 deviceVersion { get; set; } - - /// - /// The "isCompliant" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.device", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "isCompliant" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "isCompliant" property, of type "Edm.Boolean".")] - public System.Boolean isCompliant { get; set; } - - /// - /// The "isManaged" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.device", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "isManaged" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "isManaged" property, of type "Edm.Boolean".")] - public System.Boolean isManaged { get; set; } - - /// - /// The "operatingSystem" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.device", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "operatingSystem" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "operatingSystem" property, of type "Edm.String".")] - public System.String operatingSystem { get; set; } - - /// - /// The "operatingSystemVersion" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.device", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "operatingSystemVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "operatingSystemVersion" property, of type "Edm.String".")] - public System.String operatingSystemVersion { get; set; } - - /// - /// The "physicalIds" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.device", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "physicalIds" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "physicalIds" property, of type "Edm.String".")] - public System.String[] physicalIds { get; set; } - - /// - /// The "trustType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.device", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "trustType" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "trustType" property, of type "Edm.String".")] - public System.String trustType { get; set; } - - /// - /// The "registeredOwners" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.device", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "registeredOwners" property, of type "microsoft.graph.directoryObject".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "registeredOwners" property, of type "microsoft.graph.directoryObject".")] - public System.Object[] registeredOwners { get; set; } - - /// - /// The "registeredUsers" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.device", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "registeredUsers" property, of type "microsoft.graph.directoryObject".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "registeredUsers" property, of type "microsoft.graph.directoryObject".")] - public System.Object[] registeredUsers { get; set; } - - /// - /// The "extensions" property, of type "microsoft.graph.extension". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.extension", "microsoft.graph.openTypeExtension")] - [Selectable] - [Expandable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.device", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "extensions" property, of type "microsoft.graph.extension".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "extensions" property, of type "microsoft.graph.extension".")] - public System.Object[] extensions { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}"; - } - } - - /// - /// Updates a "microsoft.graph.directoryObject". - /// PATCH ~/directoryObjects - /// Updates a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - /// GitHub Repository - [Cmdlet("Update", "DirectoryObjects", ConfirmImpact = ConfirmImpact.Medium)] - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [ResourceTypePropertyName("directoryObjectODataType")] - public class Update_DirectoryObjects : PatchCmdlet - { - /// - /// The ID for a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.directoryObject" type. - /// - [Selectable] - [Expandable] - [ParameterSetSelector(@"microsoft.graph.directoryObject")] - [Parameter(ParameterSetName = @"microsoft.graph.directoryObject", Mandatory = true, HelpMessage = @"A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.directoryObject" type.")] - public System.Management.Automation.SwitchParameter directoryObject { get; set; } - - /// - /// The "deletedDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.directoryObject" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.directoryObject", HelpMessage = @"The "deletedDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"microsoft.graph.administrativeUnit", HelpMessage = @"The "deletedDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"microsoft.graph.groupSettingTemplate", HelpMessage = @"The "deletedDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "deletedDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"microsoft.graph.organization", HelpMessage = @"The "deletedDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"microsoft.graph.contract", HelpMessage = @"The "deletedDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"microsoft.graph.group", HelpMessage = @"The "deletedDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"microsoft.graph.directoryRoleTemplate", HelpMessage = @"The "deletedDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"microsoft.graph.directoryRole", HelpMessage = @"The "deletedDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"microsoft.graph.device", HelpMessage = @"The "deletedDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "deletedDateTime" property, of type "Edm.DateTimeOffset".")] - public System.DateTimeOffset deletedDateTime { get; set; } - - /// - /// A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.administrativeUnit" type. - /// - [Selectable] - [Expandable] - [ParameterSetSelector(@"microsoft.graph.administrativeUnit")] - [Parameter(ParameterSetName = @"microsoft.graph.administrativeUnit", Mandatory = true, HelpMessage = @"A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.administrativeUnit" type.")] - public System.Management.Automation.SwitchParameter administrativeUnit { get; set; } - - /// - /// A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.groupSettingTemplate" type. - /// - [Selectable] - [Expandable] - [ParameterSetSelector(@"microsoft.graph.groupSettingTemplate")] - [Parameter(ParameterSetName = @"microsoft.graph.groupSettingTemplate", Mandatory = true, HelpMessage = @"A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.groupSettingTemplate" type.")] - public System.Management.Automation.SwitchParameter groupSettingTemplate { get; set; } - - /// - /// The "displayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.groupSettingTemplate", HelpMessage = @"The "displayName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "displayName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.organization", HelpMessage = @"The "displayName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.contract", HelpMessage = @"The "displayName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.group", HelpMessage = @"The "displayName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.directoryRoleTemplate", HelpMessage = @"The "displayName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.directoryRole", HelpMessage = @"The "displayName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.device", HelpMessage = @"The "displayName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "displayName" property, of type "Edm.String".")] - public System.String displayName { get; set; } - - /// - /// The "description" property, of type "Edm.String". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.groupSettingTemplate", HelpMessage = @"The "description" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.group", HelpMessage = @"The "description" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.directoryRoleTemplate", HelpMessage = @"The "description" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.directoryRole", HelpMessage = @"The "description" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "description" property, of type "Edm.String".")] - public System.String description { get; set; } - - /// - /// The "values" property, of type "microsoft.graph.settingTemplateValue". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("microsoft.graph.settingTemplateValue")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.groupSettingTemplate", HelpMessage = @"The "values" property, of type "microsoft.graph.settingTemplateValue".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "values" property, of type "microsoft.graph.settingTemplateValue".")] - public System.Object[] values { get; set; } - - /// - /// A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.user" type. - /// - [Selectable] - [Expandable] - [ParameterSetSelector(@"microsoft.graph.user")] - [Parameter(ParameterSetName = @"microsoft.graph.user", Mandatory = true, HelpMessage = @"A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.user" type.")] - public System.Management.Automation.SwitchParameter user { get; set; } - - /// - /// The "accountEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "accountEnabled" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.device", HelpMessage = @"The "accountEnabled" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "accountEnabled" property, of type "Edm.Boolean".")] - public System.Boolean accountEnabled { get; set; } - - /// - /// The "ageGroup" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "ageGroup" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "ageGroup" property, of type "Edm.String".")] - public System.String ageGroup { get; set; } - - /// - /// The "assignedLicenses" property, of type "microsoft.graph.assignedLicense". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.assignedLicense")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "assignedLicenses" property, of type "microsoft.graph.assignedLicense".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "assignedLicenses" property, of type "microsoft.graph.assignedLicense".")] - public System.Object[] assignedLicenses { get; set; } - - /// - /// The "assignedPlans" property, of type "microsoft.graph.assignedPlan". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.assignedPlan")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "assignedPlans" property, of type "microsoft.graph.assignedPlan".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "assignedPlans" property, of type "microsoft.graph.assignedPlan".")] - public System.Object[] assignedPlans { get; set; } - - /// - /// The "businessPhones" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "businessPhones" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.organization", HelpMessage = @"The "businessPhones" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "businessPhones" property, of type "Edm.String".")] - public System.String[] businessPhones { get; set; } - - /// - /// The "city" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "city" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.organization", HelpMessage = @"The "city" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "city" property, of type "Edm.String".")] - public System.String city { get; set; } - - /// - /// The "companyName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "companyName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "companyName" property, of type "Edm.String".")] - public System.String companyName { get; set; } - - /// - /// The "consentProvidedForMinor" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "consentProvidedForMinor" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "consentProvidedForMinor" property, of type "Edm.String".")] - public System.String consentProvidedForMinor { get; set; } - - /// - /// The "country" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "country" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.organization", HelpMessage = @"The "country" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "country" property, of type "Edm.String".")] - public System.String country { get; set; } - - /// - /// The "department" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "department" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "department" property, of type "Edm.String".")] - public System.String department { get; set; } - - /// - /// The "givenName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "givenName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "givenName" property, of type "Edm.String".")] - public System.String givenName { get; set; } - - /// - /// The "imAddresses" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "imAddresses" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "imAddresses" property, of type "Edm.String".")] - public System.String[] imAddresses { get; set; } - - /// - /// The "jobTitle" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "jobTitle" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "jobTitle" property, of type "Edm.String".")] - public System.String jobTitle { get; set; } - - /// - /// The "legalAgeGroupClassification" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "legalAgeGroupClassification" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "legalAgeGroupClassification" property, of type "Edm.String".")] - public System.String legalAgeGroupClassification { get; set; } - - /// - /// The "mail" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "mail" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.group", HelpMessage = @"The "mail" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "mail" property, of type "Edm.String".")] - public System.String mail { get; set; } - - /// - /// The "mailNickname" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "mailNickname" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.group", HelpMessage = @"The "mailNickname" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "mailNickname" property, of type "Edm.String".")] - public System.String mailNickname { get; set; } - - /// - /// The "mobilePhone" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "mobilePhone" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "mobilePhone" property, of type "Edm.String".")] - public System.String mobilePhone { get; set; } - - /// - /// The "onPremisesExtensionAttributes" property, of type "microsoft.graph.onPremisesExtensionAttributes". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.onPremisesExtensionAttributes")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "onPremisesExtensionAttributes" property, of type "microsoft.graph.onPremisesExtensionAttributes".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "onPremisesExtensionAttributes" property, of type "microsoft.graph.onPremisesExtensionAttributes".")] - public System.Object onPremisesExtensionAttributes { get; set; } - - /// - /// The "onPremisesImmutableId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "onPremisesImmutableId" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "onPremisesImmutableId" property, of type "Edm.String".")] - public System.String onPremisesImmutableId { get; set; } - - /// - /// The "onPremisesLastSyncDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "onPremisesLastSyncDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"microsoft.graph.organization", HelpMessage = @"The "onPremisesLastSyncDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"microsoft.graph.group", HelpMessage = @"The "onPremisesLastSyncDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"microsoft.graph.device", HelpMessage = @"The "onPremisesLastSyncDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "onPremisesLastSyncDateTime" property, of type "Edm.DateTimeOffset".")] - public System.DateTimeOffset onPremisesLastSyncDateTime { get; set; } - - /// - /// The "onPremisesProvisioningErrors" property, of type "microsoft.graph.onPremisesProvisioningError". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.onPremisesProvisioningError")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "onPremisesProvisioningErrors" property, of type "microsoft.graph.onPremisesProvisioningError".")] - [Parameter(ParameterSetName = @"microsoft.graph.group", HelpMessage = @"The "onPremisesProvisioningErrors" property, of type "microsoft.graph.onPremisesProvisioningError".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "onPremisesProvisioningErrors" property, of type "microsoft.graph.onPremisesProvisioningError".")] - public System.Object[] onPremisesProvisioningErrors { get; set; } - - /// - /// The "onPremisesSecurityIdentifier" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "onPremisesSecurityIdentifier" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.group", HelpMessage = @"The "onPremisesSecurityIdentifier" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "onPremisesSecurityIdentifier" property, of type "Edm.String".")] - public System.String onPremisesSecurityIdentifier { get; set; } - - /// - /// The "onPremisesSyncEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "onPremisesSyncEnabled" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.organization", HelpMessage = @"The "onPremisesSyncEnabled" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.group", HelpMessage = @"The "onPremisesSyncEnabled" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"microsoft.graph.device", HelpMessage = @"The "onPremisesSyncEnabled" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "onPremisesSyncEnabled" property, of type "Edm.Boolean".")] - public System.Boolean onPremisesSyncEnabled { get; set; } - - /// - /// The "onPremisesDomainName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "onPremisesDomainName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "onPremisesDomainName" property, of type "Edm.String".")] - public System.String onPremisesDomainName { get; set; } - - /// - /// The "onPremisesSamAccountName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "onPremisesSamAccountName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "onPremisesSamAccountName" property, of type "Edm.String".")] - public System.String onPremisesSamAccountName { get; set; } - - /// - /// The "onPremisesUserPrincipalName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "onPremisesUserPrincipalName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "onPremisesUserPrincipalName" property, of type "Edm.String".")] - public System.String onPremisesUserPrincipalName { get; set; } - - /// - /// The "passwordPolicies" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "passwordPolicies" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "passwordPolicies" property, of type "Edm.String".")] - public System.String passwordPolicies { get; set; } - - /// - /// The "passwordProfile" property, of type "microsoft.graph.passwordProfile". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.passwordProfile")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "passwordProfile" property, of type "microsoft.graph.passwordProfile".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "passwordProfile" property, of type "microsoft.graph.passwordProfile".")] - public System.Object passwordProfile { get; set; } - - /// - /// The "officeLocation" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "officeLocation" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "officeLocation" property, of type "Edm.String".")] - public System.String officeLocation { get; set; } - - /// - /// The "postalCode" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "postalCode" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.organization", HelpMessage = @"The "postalCode" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "postalCode" property, of type "Edm.String".")] - public System.String postalCode { get; set; } - - /// - /// The "preferredLanguage" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "preferredLanguage" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.organization", HelpMessage = @"The "preferredLanguage" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "preferredLanguage" property, of type "Edm.String".")] - public System.String preferredLanguage { get; set; } - - /// - /// The "provisionedPlans" property, of type "microsoft.graph.provisionedPlan". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.provisionedPlan")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "provisionedPlans" property, of type "microsoft.graph.provisionedPlan".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "provisionedPlans" property, of type "microsoft.graph.provisionedPlan".")] - public System.Object[] provisionedPlans { get; set; } - - /// - /// The "proxyAddresses" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "proxyAddresses" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.group", HelpMessage = @"The "proxyAddresses" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "proxyAddresses" property, of type "Edm.String".")] - public System.String[] proxyAddresses { get; set; } - - /// - /// The "state" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "state" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.organization", HelpMessage = @"The "state" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "state" property, of type "Edm.String".")] - public System.String state { get; set; } - - /// - /// The "streetAddress" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "streetAddress" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "streetAddress" property, of type "Edm.String".")] - public System.String streetAddress { get; set; } - - /// - /// The "surname" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "surname" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "surname" property, of type "Edm.String".")] - public System.String surname { get; set; } - - /// - /// The "usageLocation" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "usageLocation" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "usageLocation" property, of type "Edm.String".")] - public System.String usageLocation { get; set; } - - /// - /// The "userPrincipalName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "userPrincipalName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "userPrincipalName" property, of type "Edm.String".")] - public System.String userPrincipalName { get; set; } - - /// - /// The "userType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "userType" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "userType" property, of type "Edm.String".")] - public System.String userType { get; set; } - - /// - /// The "mailboxSettings" property, of type "microsoft.graph.mailboxSettings". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.mailboxSettings")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "mailboxSettings" property, of type "microsoft.graph.mailboxSettings".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "mailboxSettings" property, of type "microsoft.graph.mailboxSettings".")] - public System.Object mailboxSettings { get; set; } - - /// - /// The "aboutMe" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "aboutMe" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "aboutMe" property, of type "Edm.String".")] - public System.String aboutMe { get; set; } - - /// - /// The "birthday" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "birthday" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "birthday" property, of type "Edm.DateTimeOffset".")] - public System.DateTimeOffset birthday { get; set; } - - /// - /// The "hireDate" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "hireDate" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "hireDate" property, of type "Edm.DateTimeOffset".")] - public System.DateTimeOffset hireDate { get; set; } - - /// - /// The "interests" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "interests" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "interests" property, of type "Edm.String".")] - public System.String[] interests { get; set; } - - /// - /// The "mySite" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "mySite" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "mySite" property, of type "Edm.String".")] - public System.String mySite { get; set; } - - /// - /// The "pastProjects" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "pastProjects" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "pastProjects" property, of type "Edm.String".")] - public System.String[] pastProjects { get; set; } - - /// - /// The "preferredName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "preferredName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "preferredName" property, of type "Edm.String".")] - public System.String preferredName { get; set; } - - /// - /// The "responsibilities" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "responsibilities" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "responsibilities" property, of type "Edm.String".")] - public System.String[] responsibilities { get; set; } - - /// - /// The "schools" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "schools" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "schools" property, of type "Edm.String".")] - public System.String[] schools { get; set; } - - /// - /// The "skills" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "skills" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "skills" property, of type "Edm.String".")] - public System.String[] skills { get; set; } - - /// - /// The "deviceEnrollmentLimit" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.user" type. - /// The limit on the maximum number of devices that the user is permitted to enroll. Allowed values are 5 or 1000. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "deviceEnrollmentLimit" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "deviceEnrollmentLimit" property, of type "Edm.Int32".")] - public System.Int32 deviceEnrollmentLimit { get; set; } - - /// - /// The "ownedDevices" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "ownedDevices" property, of type "microsoft.graph.directoryObject".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "ownedDevices" property, of type "microsoft.graph.directoryObject".")] - public System.Object[] ownedDevices { get; set; } - - /// - /// The "registeredDevices" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "registeredDevices" property, of type "microsoft.graph.directoryObject".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "registeredDevices" property, of type "microsoft.graph.directoryObject".")] - public System.Object[] registeredDevices { get; set; } - - /// - /// The "manager" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "manager" property, of type "microsoft.graph.directoryObject".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "manager" property, of type "microsoft.graph.directoryObject".")] - public System.Object manager { get; set; } - - /// - /// The "directReports" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "directReports" property, of type "microsoft.graph.directoryObject".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "directReports" property, of type "microsoft.graph.directoryObject".")] - public System.Object[] directReports { get; set; } - - /// - /// The "memberOf" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "memberOf" property, of type "microsoft.graph.directoryObject".")] - [Parameter(ParameterSetName = @"microsoft.graph.group", HelpMessage = @"The "memberOf" property, of type "microsoft.graph.directoryObject".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "memberOf" property, of type "microsoft.graph.directoryObject".")] - public System.Object[] memberOf { get; set; } - - /// - /// The "createdObjects" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "createdObjects" property, of type "microsoft.graph.directoryObject".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "createdObjects" property, of type "microsoft.graph.directoryObject".")] - public System.Object[] createdObjects { get; set; } - - /// - /// The "ownedObjects" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "ownedObjects" property, of type "microsoft.graph.directoryObject".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "ownedObjects" property, of type "microsoft.graph.directoryObject".")] - public System.Object[] ownedObjects { get; set; } - - /// - /// The "licenseDetails" property, of type "microsoft.graph.licenseDetails". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.licenseDetails")] - [Selectable] - [Expandable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "licenseDetails" property, of type "microsoft.graph.licenseDetails".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "licenseDetails" property, of type "microsoft.graph.licenseDetails".")] - public System.Object[] licenseDetails { get; set; } - - /// - /// The "inferenceClassification" property, of type "microsoft.graph.inferenceClassification". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.inferenceClassification")] - [Selectable] - [Expandable] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "inferenceClassification" property, of type "microsoft.graph.inferenceClassification".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "inferenceClassification" property, of type "microsoft.graph.inferenceClassification".")] - public System.Object inferenceClassification { get; set; } - - /// - /// The "photo" property, of type "microsoft.graph.profilePhoto". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.profilePhoto")] - [Selectable] - [Expandable] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "photo" property, of type "microsoft.graph.profilePhoto".")] - [Parameter(ParameterSetName = @"microsoft.graph.group", HelpMessage = @"The "photo" property, of type "microsoft.graph.profilePhoto".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "photo" property, of type "microsoft.graph.profilePhoto".")] - public System.Object photo { get; set; } - - /// - /// The "photos" property, of type "microsoft.graph.profilePhoto". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.profilePhoto")] - [Selectable] - [Expandable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "photos" property, of type "microsoft.graph.profilePhoto".")] - [Parameter(ParameterSetName = @"microsoft.graph.group", HelpMessage = @"The "photos" property, of type "microsoft.graph.profilePhoto".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "photos" property, of type "microsoft.graph.profilePhoto".")] - public System.Object[] photos { get; set; } - - /// - /// The "managedDevices" property, of type "microsoft.graph.managedDevice". - /// This property is on the "microsoft.graph.user" type. - /// The managed devices associated with the user. - /// - [ODataType("microsoft.graph.managedDevice")] - [Selectable] - [Expandable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "managedDevices" property, of type "microsoft.graph.managedDevice".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "managedDevices" property, of type "microsoft.graph.managedDevice".")] - public System.Object[] managedDevices { get; set; } - - /// - /// The "managedAppRegistrations" property, of type "microsoft.graph.managedAppRegistration". - /// This property is on the "microsoft.graph.user" type. - /// Zero or more managed app registrations that belong to the user. - /// - [ODataType("microsoft.graph.managedAppRegistration", "microsoft.graph.androidManagedAppRegistration", "microsoft.graph.iosManagedAppRegistration")] - [Selectable] - [Expandable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "managedAppRegistrations" property, of type "microsoft.graph.managedAppRegistration".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "managedAppRegistrations" property, of type "microsoft.graph.managedAppRegistration".")] - public System.Object[] managedAppRegistrations { get; set; } - - /// - /// The "deviceManagementTroubleshootingEvents" property, of type "microsoft.graph.deviceManagementTroubleshootingEvent". - /// This property is on the "microsoft.graph.user" type. - /// The list of troubleshooting events for this user. - /// - [ODataType("microsoft.graph.deviceManagementTroubleshootingEvent", "microsoft.graph.enrollmentTroubleshootingEvent")] - [Selectable] - [Expandable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "deviceManagementTroubleshootingEvents" property, of type "microsoft.graph.deviceManagementTroubleshootingEvent".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "deviceManagementTroubleshootingEvents" property, of type "microsoft.graph.deviceManagementTroubleshootingEvent".")] - public System.Object[] deviceManagementTroubleshootingEvents { get; set; } - - /// - /// A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.organization" type. - /// - [Selectable] - [Expandable] - [ParameterSetSelector(@"microsoft.graph.organization")] - [Parameter(ParameterSetName = @"microsoft.graph.organization", Mandatory = true, HelpMessage = @"A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.organization" type.")] - public System.Management.Automation.SwitchParameter organization { get; set; } - - /// - /// The "countryLetterCode" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.organization", HelpMessage = @"The "countryLetterCode" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "countryLetterCode" property, of type "Edm.String".")] - public System.String countryLetterCode { get; set; } - - /// - /// The "marketingNotificationEmails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.organization", HelpMessage = @"The "marketingNotificationEmails" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "marketingNotificationEmails" property, of type "Edm.String".")] - public System.String[] marketingNotificationEmails { get; set; } - - /// - /// The "privacyProfile" property, of type "microsoft.graph.privacyProfile". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("microsoft.graph.privacyProfile")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.organization", HelpMessage = @"The "privacyProfile" property, of type "microsoft.graph.privacyProfile".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "privacyProfile" property, of type "microsoft.graph.privacyProfile".")] - public System.Object privacyProfile { get; set; } - - /// - /// The "securityComplianceNotificationMails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.organization", HelpMessage = @"The "securityComplianceNotificationMails" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "securityComplianceNotificationMails" property, of type "Edm.String".")] - public System.String[] securityComplianceNotificationMails { get; set; } - - /// - /// The "securityComplianceNotificationPhones" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.organization", HelpMessage = @"The "securityComplianceNotificationPhones" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "securityComplianceNotificationPhones" property, of type "Edm.String".")] - public System.String[] securityComplianceNotificationPhones { get; set; } - - /// - /// The "street" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.organization", HelpMessage = @"The "street" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "street" property, of type "Edm.String".")] - public System.String street { get; set; } - - /// - /// The "technicalNotificationMails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.organization", HelpMessage = @"The "technicalNotificationMails" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "technicalNotificationMails" property, of type "Edm.String".")] - public System.String[] technicalNotificationMails { get; set; } - - /// - /// The "mobileDeviceManagementAuthority" property, of type "microsoft.graph.mdmAuthority". - /// This property is on the "microsoft.graph.organization" type. - /// Mobile device management authority. - /// - /// Valid values: 'unknown', 'intune', 'sccm', 'office365' - /// - /// - [ODataType("microsoft.graph.mdmAuthority")] - [Selectable] - [ValidateSet(@"unknown", @"intune", @"sccm", @"office365")] - [Parameter(ParameterSetName = @"microsoft.graph.organization", HelpMessage = @"The "mobileDeviceManagementAuthority" property, of type "microsoft.graph.mdmAuthority".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "mobileDeviceManagementAuthority" property, of type "microsoft.graph.mdmAuthority".")] - public System.String mobileDeviceManagementAuthority { get; set; } - - /// - /// A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.contract" type. - /// - [Selectable] - [Expandable] - [ParameterSetSelector(@"microsoft.graph.contract")] - [Parameter(ParameterSetName = @"microsoft.graph.contract", Mandatory = true, HelpMessage = @"A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.contract" type.")] - public System.Management.Automation.SwitchParameter contract { get; set; } - - /// - /// The "contractType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.contract", HelpMessage = @"The "contractType" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "contractType" property, of type "Edm.String".")] - public System.String contractType { get; set; } - - /// - /// The "customerId" property, of type "Edm.Guid". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.Guid")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.contract", HelpMessage = @"The "customerId" property, of type "Edm.Guid".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "customerId" property, of type "Edm.Guid".")] - public System.Guid customerId { get; set; } - - /// - /// The "defaultDomainName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.contract", HelpMessage = @"The "defaultDomainName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "defaultDomainName" property, of type "Edm.String".")] - public System.String defaultDomainName { get; set; } - - /// - /// A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.group" type. - /// - [Selectable] - [Expandable] - [ParameterSetSelector(@"microsoft.graph.group")] - [Parameter(ParameterSetName = @"microsoft.graph.group", Mandatory = true, HelpMessage = @"A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.group" type.")] - public System.Management.Automation.SwitchParameter group { get; set; } - - /// - /// The "classification" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.group", HelpMessage = @"The "classification" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "classification" property, of type "Edm.String".")] - public System.String classification { get; set; } - - /// - /// The "createdDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.group", HelpMessage = @"The "createdDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "createdDateTime" property, of type "Edm.DateTimeOffset".")] - public System.DateTimeOffset createdDateTime { get; set; } - - /// - /// The "groupTypes" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.group", HelpMessage = @"The "groupTypes" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "groupTypes" property, of type "Edm.String".")] - public System.String[] groupTypes { get; set; } - - /// - /// The "mailEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.group", HelpMessage = @"The "mailEnabled" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "mailEnabled" property, of type "Edm.Boolean".")] - public System.Boolean mailEnabled { get; set; } - - /// - /// The "renewedDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.group", HelpMessage = @"The "renewedDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "renewedDateTime" property, of type "Edm.DateTimeOffset".")] - public System.DateTimeOffset renewedDateTime { get; set; } - - /// - /// The "securityEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.group", HelpMessage = @"The "securityEnabled" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "securityEnabled" property, of type "Edm.Boolean".")] - public System.Boolean securityEnabled { get; set; } - - /// - /// The "visibility" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.group", HelpMessage = @"The "visibility" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "visibility" property, of type "Edm.String".")] - public System.String visibility { get; set; } - - /// - /// The "allowExternalSenders" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.group", HelpMessage = @"The "allowExternalSenders" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "allowExternalSenders" property, of type "Edm.Boolean".")] - public System.Boolean allowExternalSenders { get; set; } - - /// - /// The "autoSubscribeNewMembers" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.group", HelpMessage = @"The "autoSubscribeNewMembers" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "autoSubscribeNewMembers" property, of type "Edm.Boolean".")] - public System.Boolean autoSubscribeNewMembers { get; set; } - - /// - /// The "isSubscribedByMail" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.group", HelpMessage = @"The "isSubscribedByMail" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "isSubscribedByMail" property, of type "Edm.Boolean".")] - public System.Boolean isSubscribedByMail { get; set; } - - /// - /// The "unseenCount" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.group", HelpMessage = @"The "unseenCount" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "unseenCount" property, of type "Edm.Int32".")] - public System.Int32 unseenCount { get; set; } - - /// - /// The "members" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.group", HelpMessage = @"The "members" property, of type "microsoft.graph.directoryObject".")] - [Parameter(ParameterSetName = @"microsoft.graph.directoryRole", HelpMessage = @"The "members" property, of type "microsoft.graph.directoryObject".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "members" property, of type "microsoft.graph.directoryObject".")] - public System.Object[] members { get; set; } - - /// - /// The "createdOnBehalfOf" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [Parameter(ParameterSetName = @"microsoft.graph.group", HelpMessage = @"The "createdOnBehalfOf" property, of type "microsoft.graph.directoryObject".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "createdOnBehalfOf" property, of type "microsoft.graph.directoryObject".")] - public System.Object createdOnBehalfOf { get; set; } - - /// - /// The "owners" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.group", HelpMessage = @"The "owners" property, of type "microsoft.graph.directoryObject".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "owners" property, of type "microsoft.graph.directoryObject".")] - public System.Object[] owners { get; set; } - - /// - /// The "settings" property, of type "microsoft.graph.groupSetting". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.groupSetting")] - [Selectable] - [Expandable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.group", HelpMessage = @"The "settings" property, of type "microsoft.graph.groupSetting".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "settings" property, of type "microsoft.graph.groupSetting".")] - public System.Object[] settings { get; set; } - - /// - /// The "groupLifecyclePolicies" property, of type "microsoft.graph.groupLifecyclePolicy". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.groupLifecyclePolicy")] - [Selectable] - [Expandable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.group", HelpMessage = @"The "groupLifecyclePolicies" property, of type "microsoft.graph.groupLifecyclePolicy".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "groupLifecyclePolicies" property, of type "microsoft.graph.groupLifecyclePolicy".")] - public System.Object[] groupLifecyclePolicies { get; set; } - - /// - /// A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.directoryRoleTemplate" type. - /// - [Selectable] - [Expandable] - [ParameterSetSelector(@"microsoft.graph.directoryRoleTemplate")] - [Parameter(ParameterSetName = @"microsoft.graph.directoryRoleTemplate", Mandatory = true, HelpMessage = @"A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.directoryRoleTemplate" type.")] - public System.Management.Automation.SwitchParameter directoryRoleTemplate { get; set; } - - /// - /// A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.directoryRole" type. - /// - [Selectable] - [Expandable] - [ParameterSetSelector(@"microsoft.graph.directoryRole")] - [Parameter(ParameterSetName = @"microsoft.graph.directoryRole", Mandatory = true, HelpMessage = @"A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.directoryRole" type.")] - public System.Management.Automation.SwitchParameter directoryRole { get; set; } - - /// - /// The "roleTemplateId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.directoryRole" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.directoryRole", HelpMessage = @"The "roleTemplateId" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "roleTemplateId" property, of type "Edm.String".")] - public System.String roleTemplateId { get; set; } - - /// - /// A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.device" type. - /// - [Selectable] - [Expandable] - [ParameterSetSelector(@"microsoft.graph.device")] - [Parameter(ParameterSetName = @"microsoft.graph.device", Mandatory = true, HelpMessage = @"A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.device" type.")] - public System.Management.Automation.SwitchParameter device { get; set; } - - /// - /// The "alternativeSecurityIds" property, of type "microsoft.graph.alternativeSecurityId". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.alternativeSecurityId")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.device", HelpMessage = @"The "alternativeSecurityIds" property, of type "microsoft.graph.alternativeSecurityId".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "alternativeSecurityIds" property, of type "microsoft.graph.alternativeSecurityId".")] - public System.Object[] alternativeSecurityIds { get; set; } - - /// - /// The "approximateLastSignInDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.device", HelpMessage = @"The "approximateLastSignInDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "approximateLastSignInDateTime" property, of type "Edm.DateTimeOffset".")] - public System.DateTimeOffset approximateLastSignInDateTime { get; set; } - - /// - /// The "deviceId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.device", HelpMessage = @"The "deviceId" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "deviceId" property, of type "Edm.String".")] - public System.String deviceId { get; set; } - - /// - /// The "deviceMetadata" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.device", HelpMessage = @"The "deviceMetadata" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "deviceMetadata" property, of type "Edm.String".")] - public System.String deviceMetadata { get; set; } - - /// - /// The "deviceVersion" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.device", HelpMessage = @"The "deviceVersion" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "deviceVersion" property, of type "Edm.Int32".")] - public System.Int32 deviceVersion { get; set; } - - /// - /// The "isCompliant" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.device", HelpMessage = @"The "isCompliant" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "isCompliant" property, of type "Edm.Boolean".")] - public System.Boolean isCompliant { get; set; } - - /// - /// The "isManaged" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.device", HelpMessage = @"The "isManaged" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "isManaged" property, of type "Edm.Boolean".")] - public System.Boolean isManaged { get; set; } - - /// - /// The "operatingSystem" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.device", HelpMessage = @"The "operatingSystem" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "operatingSystem" property, of type "Edm.String".")] - public System.String operatingSystem { get; set; } - - /// - /// The "operatingSystemVersion" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.device", HelpMessage = @"The "operatingSystemVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "operatingSystemVersion" property, of type "Edm.String".")] - public System.String operatingSystemVersion { get; set; } - - /// - /// The "physicalIds" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.device", HelpMessage = @"The "physicalIds" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "physicalIds" property, of type "Edm.String".")] - public System.String[] physicalIds { get; set; } - - /// - /// The "trustType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.device", HelpMessage = @"The "trustType" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "trustType" property, of type "Edm.String".")] - public System.String trustType { get; set; } - - /// - /// The "registeredOwners" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.device", HelpMessage = @"The "registeredOwners" property, of type "microsoft.graph.directoryObject".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "registeredOwners" property, of type "microsoft.graph.directoryObject".")] - public System.Object[] registeredOwners { get; set; } - - /// - /// The "registeredUsers" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.device", HelpMessage = @"The "registeredUsers" property, of type "microsoft.graph.directoryObject".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "registeredUsers" property, of type "microsoft.graph.directoryObject".")] - public System.Object[] registeredUsers { get; set; } - - /// - /// The "extensions" property, of type "microsoft.graph.extension". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.extension", "microsoft.graph.openTypeExtension")] - [Selectable] - [Expandable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.device", HelpMessage = @"The "extensions" property, of type "microsoft.graph.extension".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "extensions" property, of type "microsoft.graph.extension".")] - public System.Object[] extensions { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}"; - } - } - - /// - /// Removes a "microsoft.graph.directoryObject" object. - /// DELETE ~/directoryObjects/directoryObjectId - /// Removes a "microsoft.graph.directoryObject" object from the "directoryObjects" collection. - /// - /// GitHub Repository - [Cmdlet("Remove", "DirectoryObjects", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [ResourceTypePropertyName("directoryObjectODataType")] - public class Remove_DirectoryObjects : DeleteCmdlet - { - /// - /// The ID for a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}"; - } - } - - /// - /// POST ~/directoryObjects/getByIds - /// The action "microsoft.graph.getByIds", which exists on the type "microsoft.graph.directoryObject". - /// This action returns a collection of "microsoft.graph.directoryObject" objects. - /// - /// GitHub Repository - [Cmdlet("Invoke", "DirectoryObjects_GetByIds", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [ResourceTypePropertyName("directoryObjectODataType")] - public class Invoke_DirectoryObjects_GetByIds : ActionCmdlet - { - /// - /// The "ids" action parameter of type "Edm.String". - /// - [ODataType("Edm.String")] - [Selectable] - [Expandable] - [ValidateNotNull] - [AllowEmptyCollection] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "ids" action parameter of type "Edm.String".")] - public System.String[] ids { get; set; } - - /// - /// The "types" action parameter of type "Edm.String". - /// - [ODataType("Edm.String")] - [Selectable] - [Expandable] - [AllowEmptyCollection] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "types" action parameter of type "Edm.String".")] - public System.String[] types { get; set; } - - /// - /// The ID for a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - public System.String directoryObjectId { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/getByIds"; - } - } - - /// - /// POST ~/directoryObjects/checkMemberGroups - /// The action "microsoft.graph.checkMemberGroups", which exists on the type "microsoft.graph.directoryObject". - /// This action returns a collection of "Edm.String" objects. - /// - /// GitHub Repository - [Cmdlet("Invoke", "DirectoryObjects_CheckMemberGroups", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [ResourceTypePropertyName("directoryObjectODataType")] - public class Invoke_DirectoryObjects_CheckMemberGroups : ActionCmdlet - { - /// - /// The "groupIds" action parameter of type "Edm.String". - /// - [ODataType("Edm.String")] - [Selectable] - [Expandable] - [ValidateNotNull] - [AllowEmptyCollection] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "groupIds" action parameter of type "Edm.String".")] - public System.String[] groupIds { get; set; } - - /// - /// The ID for a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/checkMemberGroups"; - } - } - - /// - /// POST ~/directoryObjects/getMemberGroups - /// The action "microsoft.graph.getMemberGroups", which exists on the type "microsoft.graph.directoryObject". - /// This action returns a collection of "Edm.String" objects. - /// - /// GitHub Repository - [Cmdlet("Invoke", "DirectoryObjects_GetMemberGroups", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [ResourceTypePropertyName("directoryObjectODataType")] - public class Invoke_DirectoryObjects_GetMemberGroups : ActionCmdlet - { - /// - /// The "securityEnabledOnly" action parameter of type "Edm.Boolean". - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Expandable] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "securityEnabledOnly" action parameter of type "Edm.Boolean".")] - public System.Boolean securityEnabledOnly { get; set; } - - /// - /// The ID for a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/getMemberGroups"; - } - } - - /// - /// POST ~/directoryObjects/getMemberObjects - /// The action "microsoft.graph.getMemberObjects", which exists on the type "microsoft.graph.directoryObject". - /// This action returns a collection of "Edm.String" objects. - /// - /// GitHub Repository - [Cmdlet("Invoke", "DirectoryObjects_GetMemberObjects", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [ResourceTypePropertyName("directoryObjectODataType")] - public class Invoke_DirectoryObjects_GetMemberObjects : ActionCmdlet - { - /// - /// The "securityEnabledOnly" action parameter of type "Edm.Boolean". - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Expandable] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "securityEnabledOnly" action parameter of type "Edm.Boolean".")] - public System.Boolean securityEnabledOnly { get; set; } - - /// - /// The ID for a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/getMemberObjects"; - } - } - - /// - /// POST ~/directoryObjects/restore - /// The action "microsoft.graph.restore", which exists on the type "microsoft.graph.directoryObject". - /// This action returns a "microsoft.graph.directoryObject" object. - /// - /// GitHub Repository - [Cmdlet("Invoke", "DirectoryObjects_Restore", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [ResourceTypePropertyName("directoryObjectODataType")] - public class Invoke_DirectoryObjects_Restore : ActionCmdlet - { - /// - /// The ID for a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/restore"; - } - } -} \ No newline at end of file diff --git a/PowerShellCmdlets/Generated/SDK/DirectoryObjects/CreatedObjects.cs b/PowerShellCmdlets/Generated/SDK/DirectoryObjects/CreatedObjects.cs deleted file mode 100644 index 58858d7..0000000 --- a/PowerShellCmdlets/Generated/SDK/DirectoryObjects/CreatedObjects.cs +++ /dev/null @@ -1,2381 +0,0 @@ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. - -namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets -{ - using System.Management.Automation; - - /// - /// Retrieves "microsoft.graph.directoryObject" objects. - /// GET ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/createdObjects - /// Retrieves "microsoft.graph.directoryObject" objects in the "createdObjects" collection. - /// - /// GitHub Repository - [Cmdlet("Get", "DirectoryObjects_CreatedObjects", DefaultParameterSetName = @"Search")] - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [ResourceTypePropertyName("createdObjectODataType")] - public class Get_DirectoryObjects_CreatedObjects : GetOrSearchCmdlet - { - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - [Parameter(ParameterSetName = @"Get", Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - /// - /// The "deletedDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.directoryObject" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - public System.DateTimeOffset deletedDateTime { get; set; } - - /// - /// The "displayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.String displayName { get; set; } - - /// - /// The "description" property, of type "Edm.String". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.String description { get; set; } - - /// - /// The "values" property, of type "microsoft.graph.settingTemplateValue". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("microsoft.graph.settingTemplateValue")] - [Selectable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.Object[] values { get; set; } - - /// - /// The "accountEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Boolean accountEnabled { get; set; } - - /// - /// The "ageGroup" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String ageGroup { get; set; } - - /// - /// The "assignedLicenses" property, of type "microsoft.graph.assignedLicense". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.assignedLicense")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] assignedLicenses { get; set; } - - /// - /// The "assignedPlans" property, of type "microsoft.graph.assignedPlan". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.assignedPlan")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] assignedPlans { get; set; } - - /// - /// The "businessPhones" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] businessPhones { get; set; } - - /// - /// The "city" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String city { get; set; } - - /// - /// The "companyName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String companyName { get; set; } - - /// - /// The "consentProvidedForMinor" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String consentProvidedForMinor { get; set; } - - /// - /// The "country" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String country { get; set; } - - /// - /// The "department" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String department { get; set; } - - /// - /// The "givenName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String givenName { get; set; } - - /// - /// The "imAddresses" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] imAddresses { get; set; } - - /// - /// The "jobTitle" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String jobTitle { get; set; } - - /// - /// The "legalAgeGroupClassification" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String legalAgeGroupClassification { get; set; } - - /// - /// The "mail" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mail { get; set; } - - /// - /// The "mailNickname" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mailNickname { get; set; } - - /// - /// The "mobilePhone" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mobilePhone { get; set; } - - /// - /// The "onPremisesExtensionAttributes" property, of type "microsoft.graph.onPremisesExtensionAttributes". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.onPremisesExtensionAttributes")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object onPremisesExtensionAttributes { get; set; } - - /// - /// The "onPremisesImmutableId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesImmutableId { get; set; } - - /// - /// The "onPremisesLastSyncDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset onPremisesLastSyncDateTime { get; set; } - - /// - /// The "onPremisesProvisioningErrors" property, of type "microsoft.graph.onPremisesProvisioningError". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.onPremisesProvisioningError")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] onPremisesProvisioningErrors { get; set; } - - /// - /// The "onPremisesSecurityIdentifier" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesSecurityIdentifier { get; set; } - - /// - /// The "onPremisesSyncEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Boolean onPremisesSyncEnabled { get; set; } - - /// - /// The "onPremisesDomainName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesDomainName { get; set; } - - /// - /// The "onPremisesSamAccountName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesSamAccountName { get; set; } - - /// - /// The "onPremisesUserPrincipalName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesUserPrincipalName { get; set; } - - /// - /// The "passwordPolicies" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String passwordPolicies { get; set; } - - /// - /// The "passwordProfile" property, of type "microsoft.graph.passwordProfile". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.passwordProfile")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object passwordProfile { get; set; } - - /// - /// The "officeLocation" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String officeLocation { get; set; } - - /// - /// The "postalCode" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String postalCode { get; set; } - - /// - /// The "preferredLanguage" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String preferredLanguage { get; set; } - - /// - /// The "provisionedPlans" property, of type "microsoft.graph.provisionedPlan". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.provisionedPlan")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] provisionedPlans { get; set; } - - /// - /// The "proxyAddresses" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] proxyAddresses { get; set; } - - /// - /// The "state" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String state { get; set; } - - /// - /// The "streetAddress" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String streetAddress { get; set; } - - /// - /// The "surname" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String surname { get; set; } - - /// - /// The "usageLocation" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String usageLocation { get; set; } - - /// - /// The "userPrincipalName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String userPrincipalName { get; set; } - - /// - /// The "userType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String userType { get; set; } - - /// - /// The "mailboxSettings" property, of type "microsoft.graph.mailboxSettings". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.mailboxSettings")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object mailboxSettings { get; set; } - - /// - /// The "aboutMe" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String aboutMe { get; set; } - - /// - /// The "birthday" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset birthday { get; set; } - - /// - /// The "hireDate" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset hireDate { get; set; } - - /// - /// The "interests" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] interests { get; set; } - - /// - /// The "mySite" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mySite { get; set; } - - /// - /// The "pastProjects" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] pastProjects { get; set; } - - /// - /// The "preferredName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String preferredName { get; set; } - - /// - /// The "responsibilities" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] responsibilities { get; set; } - - /// - /// The "schools" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] schools { get; set; } - - /// - /// The "skills" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] skills { get; set; } - - /// - /// The "deviceEnrollmentLimit" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.user" type. - /// The limit on the maximum number of devices that the user is permitted to enroll. Allowed values are 5 or 1000. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Int32 deviceEnrollmentLimit { get; set; } - - /// - /// The "ownedDevices" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] ownedDevices { get; set; } - - /// - /// The "registeredDevices" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] registeredDevices { get; set; } - - /// - /// The "manager" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object manager { get; set; } - - /// - /// The "directReports" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] directReports { get; set; } - - /// - /// The "memberOf" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] memberOf { get; set; } - - /// - /// The "createdObjects" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] createdObjects { get; set; } - - /// - /// The "ownedObjects" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] ownedObjects { get; set; } - - /// - /// The "licenseDetails" property, of type "microsoft.graph.licenseDetails". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.licenseDetails")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] licenseDetails { get; set; } - - /// - /// The "inferenceClassification" property, of type "microsoft.graph.inferenceClassification". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.inferenceClassification")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object inferenceClassification { get; set; } - - /// - /// The "photo" property, of type "microsoft.graph.profilePhoto". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.profilePhoto")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object photo { get; set; } - - /// - /// The "photos" property, of type "microsoft.graph.profilePhoto". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.profilePhoto")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] photos { get; set; } - - /// - /// The "managedDevices" property, of type "microsoft.graph.managedDevice". - /// This property is on the "microsoft.graph.user" type. - /// The managed devices associated with the user. - /// - [ODataType("microsoft.graph.managedDevice")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] managedDevices { get; set; } - - /// - /// The "managedAppRegistrations" property, of type "microsoft.graph.managedAppRegistration". - /// This property is on the "microsoft.graph.user" type. - /// Zero or more managed app registrations that belong to the user. - /// - [ODataType("microsoft.graph.managedAppRegistration", "microsoft.graph.androidManagedAppRegistration", "microsoft.graph.iosManagedAppRegistration")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] managedAppRegistrations { get; set; } - - /// - /// The "deviceManagementTroubleshootingEvents" property, of type "microsoft.graph.deviceManagementTroubleshootingEvent". - /// This property is on the "microsoft.graph.user" type. - /// The list of troubleshooting events for this user. - /// - [ODataType("microsoft.graph.deviceManagementTroubleshootingEvent", "microsoft.graph.enrollmentTroubleshootingEvent")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] deviceManagementTroubleshootingEvents { get; set; } - - /// - /// The "countryLetterCode" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String countryLetterCode { get; set; } - - /// - /// The "marketingNotificationEmails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] marketingNotificationEmails { get; set; } - - /// - /// The "privacyProfile" property, of type "microsoft.graph.privacyProfile". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("microsoft.graph.privacyProfile")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.Object privacyProfile { get; set; } - - /// - /// The "securityComplianceNotificationMails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] securityComplianceNotificationMails { get; set; } - - /// - /// The "securityComplianceNotificationPhones" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] securityComplianceNotificationPhones { get; set; } - - /// - /// The "street" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String street { get; set; } - - /// - /// The "technicalNotificationMails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] technicalNotificationMails { get; set; } - - /// - /// The "mobileDeviceManagementAuthority" property, of type "microsoft.graph.mdmAuthority". - /// This property is on the "microsoft.graph.organization" type. - /// Mobile device management authority. - /// - [ODataType("microsoft.graph.mdmAuthority")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String mobileDeviceManagementAuthority { get; set; } - - /// - /// The "contractType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.String contractType { get; set; } - - /// - /// The "customerId" property, of type "Edm.Guid". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.Guid")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.Guid customerId { get; set; } - - /// - /// The "defaultDomainName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.String defaultDomainName { get; set; } - - /// - /// The "classification" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.String classification { get; set; } - - /// - /// The "createdDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.DateTimeOffset createdDateTime { get; set; } - - /// - /// The "groupTypes" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.group")] - public System.String[] groupTypes { get; set; } - - /// - /// The "mailEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean mailEnabled { get; set; } - - /// - /// The "renewedDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.DateTimeOffset renewedDateTime { get; set; } - - /// - /// The "securityEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean securityEnabled { get; set; } - - /// - /// The "visibility" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.String visibility { get; set; } - - /// - /// The "allowExternalSenders" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean allowExternalSenders { get; set; } - - /// - /// The "autoSubscribeNewMembers" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean autoSubscribeNewMembers { get; set; } - - /// - /// The "isSubscribedByMail" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean isSubscribedByMail { get; set; } - - /// - /// The "unseenCount" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Int32 unseenCount { get; set; } - - /// - /// The "members" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] members { get; set; } - - /// - /// The "createdOnBehalfOf" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Object createdOnBehalfOf { get; set; } - - /// - /// The "owners" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] owners { get; set; } - - /// - /// The "settings" property, of type "microsoft.graph.groupSetting". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.groupSetting")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] settings { get; set; } - - /// - /// The "groupLifecyclePolicies" property, of type "microsoft.graph.groupLifecyclePolicy". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.groupLifecyclePolicy")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] groupLifecyclePolicies { get; set; } - - /// - /// The "roleTemplateId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.directoryRole" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.directoryRole")] - public System.String roleTemplateId { get; set; } - - /// - /// The "alternativeSecurityIds" property, of type "microsoft.graph.alternativeSecurityId". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.alternativeSecurityId")] - [Selectable] - [DerivedType("microsoft.graph.device")] - public System.Object[] alternativeSecurityIds { get; set; } - - /// - /// The "approximateLastSignInDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.DateTimeOffset approximateLastSignInDateTime { get; set; } - - /// - /// The "deviceId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String deviceId { get; set; } - - /// - /// The "deviceMetadata" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String deviceMetadata { get; set; } - - /// - /// The "deviceVersion" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Int32 deviceVersion { get; set; } - - /// - /// The "isCompliant" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Boolean isCompliant { get; set; } - - /// - /// The "isManaged" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Boolean isManaged { get; set; } - - /// - /// The "operatingSystem" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String operatingSystem { get; set; } - - /// - /// The "operatingSystemVersion" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String operatingSystemVersion { get; set; } - - /// - /// The "physicalIds" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.device")] - public System.String[] physicalIds { get; set; } - - /// - /// The "trustType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String trustType { get; set; } - - /// - /// The "registeredOwners" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] registeredOwners { get; set; } - - /// - /// The "registeredUsers" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] registeredUsers { get; set; } - - /// - /// The "extensions" property, of type "microsoft.graph.extension". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.extension", "microsoft.graph.openTypeExtension")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] extensions { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/createdObjects/{directoryObjectId ?? string.Empty}"; - } - } - - /// - /// Retrieves "microsoft.graph.directoryObject" object references. - /// GET ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/createdObjects/$ref - /// Retrieves "microsoft.graph.directoryObject" object references in the "createdObjects" collection. - /// - /// GitHub Repository - [Cmdlet("Get", "DirectoryObjects_CreatedObjectsReferences", DefaultParameterSetName = @"Search")] - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [ResourceTypePropertyName("createdObjectODataType")] - public class Get_DirectoryObjects_CreatedObjectsReferences : GetOrSearchCmdlet - { - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - [Parameter(ParameterSetName = @"Get", Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - /// - /// The "deletedDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.directoryObject" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - public System.DateTimeOffset deletedDateTime { get; set; } - - /// - /// The "displayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.String displayName { get; set; } - - /// - /// The "description" property, of type "Edm.String". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.String description { get; set; } - - /// - /// The "values" property, of type "microsoft.graph.settingTemplateValue". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("microsoft.graph.settingTemplateValue")] - [Selectable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.Object[] values { get; set; } - - /// - /// The "accountEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Boolean accountEnabled { get; set; } - - /// - /// The "ageGroup" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String ageGroup { get; set; } - - /// - /// The "assignedLicenses" property, of type "microsoft.graph.assignedLicense". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.assignedLicense")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] assignedLicenses { get; set; } - - /// - /// The "assignedPlans" property, of type "microsoft.graph.assignedPlan". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.assignedPlan")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] assignedPlans { get; set; } - - /// - /// The "businessPhones" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] businessPhones { get; set; } - - /// - /// The "city" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String city { get; set; } - - /// - /// The "companyName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String companyName { get; set; } - - /// - /// The "consentProvidedForMinor" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String consentProvidedForMinor { get; set; } - - /// - /// The "country" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String country { get; set; } - - /// - /// The "department" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String department { get; set; } - - /// - /// The "givenName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String givenName { get; set; } - - /// - /// The "imAddresses" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] imAddresses { get; set; } - - /// - /// The "jobTitle" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String jobTitle { get; set; } - - /// - /// The "legalAgeGroupClassification" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String legalAgeGroupClassification { get; set; } - - /// - /// The "mail" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mail { get; set; } - - /// - /// The "mailNickname" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mailNickname { get; set; } - - /// - /// The "mobilePhone" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mobilePhone { get; set; } - - /// - /// The "onPremisesExtensionAttributes" property, of type "microsoft.graph.onPremisesExtensionAttributes". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.onPremisesExtensionAttributes")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object onPremisesExtensionAttributes { get; set; } - - /// - /// The "onPremisesImmutableId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesImmutableId { get; set; } - - /// - /// The "onPremisesLastSyncDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset onPremisesLastSyncDateTime { get; set; } - - /// - /// The "onPremisesProvisioningErrors" property, of type "microsoft.graph.onPremisesProvisioningError". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.onPremisesProvisioningError")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] onPremisesProvisioningErrors { get; set; } - - /// - /// The "onPremisesSecurityIdentifier" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesSecurityIdentifier { get; set; } - - /// - /// The "onPremisesSyncEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Boolean onPremisesSyncEnabled { get; set; } - - /// - /// The "onPremisesDomainName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesDomainName { get; set; } - - /// - /// The "onPremisesSamAccountName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesSamAccountName { get; set; } - - /// - /// The "onPremisesUserPrincipalName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesUserPrincipalName { get; set; } - - /// - /// The "passwordPolicies" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String passwordPolicies { get; set; } - - /// - /// The "passwordProfile" property, of type "microsoft.graph.passwordProfile". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.passwordProfile")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object passwordProfile { get; set; } - - /// - /// The "officeLocation" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String officeLocation { get; set; } - - /// - /// The "postalCode" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String postalCode { get; set; } - - /// - /// The "preferredLanguage" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String preferredLanguage { get; set; } - - /// - /// The "provisionedPlans" property, of type "microsoft.graph.provisionedPlan". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.provisionedPlan")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] provisionedPlans { get; set; } - - /// - /// The "proxyAddresses" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] proxyAddresses { get; set; } - - /// - /// The "state" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String state { get; set; } - - /// - /// The "streetAddress" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String streetAddress { get; set; } - - /// - /// The "surname" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String surname { get; set; } - - /// - /// The "usageLocation" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String usageLocation { get; set; } - - /// - /// The "userPrincipalName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String userPrincipalName { get; set; } - - /// - /// The "userType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String userType { get; set; } - - /// - /// The "mailboxSettings" property, of type "microsoft.graph.mailboxSettings". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.mailboxSettings")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object mailboxSettings { get; set; } - - /// - /// The "aboutMe" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String aboutMe { get; set; } - - /// - /// The "birthday" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset birthday { get; set; } - - /// - /// The "hireDate" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset hireDate { get; set; } - - /// - /// The "interests" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] interests { get; set; } - - /// - /// The "mySite" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mySite { get; set; } - - /// - /// The "pastProjects" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] pastProjects { get; set; } - - /// - /// The "preferredName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String preferredName { get; set; } - - /// - /// The "responsibilities" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] responsibilities { get; set; } - - /// - /// The "schools" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] schools { get; set; } - - /// - /// The "skills" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] skills { get; set; } - - /// - /// The "deviceEnrollmentLimit" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.user" type. - /// The limit on the maximum number of devices that the user is permitted to enroll. Allowed values are 5 or 1000. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Int32 deviceEnrollmentLimit { get; set; } - - /// - /// The "ownedDevices" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] ownedDevices { get; set; } - - /// - /// The "registeredDevices" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] registeredDevices { get; set; } - - /// - /// The "manager" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object manager { get; set; } - - /// - /// The "directReports" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] directReports { get; set; } - - /// - /// The "memberOf" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] memberOf { get; set; } - - /// - /// The "createdObjects" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] createdObjects { get; set; } - - /// - /// The "ownedObjects" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] ownedObjects { get; set; } - - /// - /// The "licenseDetails" property, of type "microsoft.graph.licenseDetails". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.licenseDetails")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] licenseDetails { get; set; } - - /// - /// The "inferenceClassification" property, of type "microsoft.graph.inferenceClassification". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.inferenceClassification")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object inferenceClassification { get; set; } - - /// - /// The "photo" property, of type "microsoft.graph.profilePhoto". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.profilePhoto")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object photo { get; set; } - - /// - /// The "photos" property, of type "microsoft.graph.profilePhoto". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.profilePhoto")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] photos { get; set; } - - /// - /// The "managedDevices" property, of type "microsoft.graph.managedDevice". - /// This property is on the "microsoft.graph.user" type. - /// The managed devices associated with the user. - /// - [ODataType("microsoft.graph.managedDevice")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] managedDevices { get; set; } - - /// - /// The "managedAppRegistrations" property, of type "microsoft.graph.managedAppRegistration". - /// This property is on the "microsoft.graph.user" type. - /// Zero or more managed app registrations that belong to the user. - /// - [ODataType("microsoft.graph.managedAppRegistration", "microsoft.graph.androidManagedAppRegistration", "microsoft.graph.iosManagedAppRegistration")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] managedAppRegistrations { get; set; } - - /// - /// The "deviceManagementTroubleshootingEvents" property, of type "microsoft.graph.deviceManagementTroubleshootingEvent". - /// This property is on the "microsoft.graph.user" type. - /// The list of troubleshooting events for this user. - /// - [ODataType("microsoft.graph.deviceManagementTroubleshootingEvent", "microsoft.graph.enrollmentTroubleshootingEvent")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] deviceManagementTroubleshootingEvents { get; set; } - - /// - /// The "countryLetterCode" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String countryLetterCode { get; set; } - - /// - /// The "marketingNotificationEmails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] marketingNotificationEmails { get; set; } - - /// - /// The "privacyProfile" property, of type "microsoft.graph.privacyProfile". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("microsoft.graph.privacyProfile")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.Object privacyProfile { get; set; } - - /// - /// The "securityComplianceNotificationMails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] securityComplianceNotificationMails { get; set; } - - /// - /// The "securityComplianceNotificationPhones" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] securityComplianceNotificationPhones { get; set; } - - /// - /// The "street" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String street { get; set; } - - /// - /// The "technicalNotificationMails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] technicalNotificationMails { get; set; } - - /// - /// The "mobileDeviceManagementAuthority" property, of type "microsoft.graph.mdmAuthority". - /// This property is on the "microsoft.graph.organization" type. - /// Mobile device management authority. - /// - [ODataType("microsoft.graph.mdmAuthority")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String mobileDeviceManagementAuthority { get; set; } - - /// - /// The "contractType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.String contractType { get; set; } - - /// - /// The "customerId" property, of type "Edm.Guid". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.Guid")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.Guid customerId { get; set; } - - /// - /// The "defaultDomainName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.String defaultDomainName { get; set; } - - /// - /// The "classification" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.String classification { get; set; } - - /// - /// The "createdDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.DateTimeOffset createdDateTime { get; set; } - - /// - /// The "groupTypes" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.group")] - public System.String[] groupTypes { get; set; } - - /// - /// The "mailEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean mailEnabled { get; set; } - - /// - /// The "renewedDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.DateTimeOffset renewedDateTime { get; set; } - - /// - /// The "securityEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean securityEnabled { get; set; } - - /// - /// The "visibility" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.String visibility { get; set; } - - /// - /// The "allowExternalSenders" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean allowExternalSenders { get; set; } - - /// - /// The "autoSubscribeNewMembers" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean autoSubscribeNewMembers { get; set; } - - /// - /// The "isSubscribedByMail" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean isSubscribedByMail { get; set; } - - /// - /// The "unseenCount" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Int32 unseenCount { get; set; } - - /// - /// The "members" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] members { get; set; } - - /// - /// The "createdOnBehalfOf" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Object createdOnBehalfOf { get; set; } - - /// - /// The "owners" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] owners { get; set; } - - /// - /// The "settings" property, of type "microsoft.graph.groupSetting". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.groupSetting")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] settings { get; set; } - - /// - /// The "groupLifecyclePolicies" property, of type "microsoft.graph.groupLifecyclePolicy". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.groupLifecyclePolicy")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] groupLifecyclePolicies { get; set; } - - /// - /// The "roleTemplateId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.directoryRole" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.directoryRole")] - public System.String roleTemplateId { get; set; } - - /// - /// The "alternativeSecurityIds" property, of type "microsoft.graph.alternativeSecurityId". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.alternativeSecurityId")] - [Selectable] - [DerivedType("microsoft.graph.device")] - public System.Object[] alternativeSecurityIds { get; set; } - - /// - /// The "approximateLastSignInDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.DateTimeOffset approximateLastSignInDateTime { get; set; } - - /// - /// The "deviceId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String deviceId { get; set; } - - /// - /// The "deviceMetadata" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String deviceMetadata { get; set; } - - /// - /// The "deviceVersion" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Int32 deviceVersion { get; set; } - - /// - /// The "isCompliant" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Boolean isCompliant { get; set; } - - /// - /// The "isManaged" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Boolean isManaged { get; set; } - - /// - /// The "operatingSystem" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String operatingSystem { get; set; } - - /// - /// The "operatingSystemVersion" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String operatingSystemVersion { get; set; } - - /// - /// The "physicalIds" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.device")] - public System.String[] physicalIds { get; set; } - - /// - /// The "trustType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String trustType { get; set; } - - /// - /// The "registeredOwners" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] registeredOwners { get; set; } - - /// - /// The "registeredUsers" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] registeredUsers { get; set; } - - /// - /// The "extensions" property, of type "microsoft.graph.extension". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.extension", "microsoft.graph.openTypeExtension")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] extensions { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/createdObjects/{directoryObjectId ?? string.Empty}/$ref"; - } - } - - /// - /// Creates a reference from a "directoryObject" to a "microsoft.graph.directoryObject" object. - /// POST ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/createdObjects/$ref - /// Creates a reference from the specified "directoryObject" object to a "createdObject". - /// - /// GitHub Repository - [Cmdlet("New", "DirectoryObjects_CreatedObjectsReferences", ConfirmImpact = ConfirmImpact.Low)] - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [ResourceTypePropertyName("createdObjectODataType")] - public class New_DirectoryObjects_CreatedObjectsReferences : PostReferenceToCollectionCmdlet - { - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - /// - /// The URL which should be used to access a "microsoft.graph.directoryObject" object. - /// - [Selectable] - [Expandable] - [Alias("deviceReferenceUrl", "directoryRoleReferenceUrl", "directoryRoleTemplateReferenceUrl", "groupReferenceUrl", "contractReferenceUrl", "organizationReferenceUrl", "userReferenceUrl", "groupSettingTemplateReferenceUrl", "administrativeUnitReferenceUrl")] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The URL which should be used to access a "microsoft.graph.directoryObject" object.")] - public System.String directoryObjectReferenceUrl { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/createdObjects/{directoryObjectId}/$ref"; - } - - internal override System.Object GetContent() - { - return this.GetReferenceRequestContent(directoryObjectReferenceUrl); - } - } - - /// - /// Removes a reference from a "directoryObject" to a "microsoft.graph.directoryObject" object. - /// DELETE ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/createdObjects/directoryObjectId/$ref - /// Removes a reference from the specified "directoryObject" object to a "createdObject". - /// - /// GitHub Repository - [Cmdlet("Remove", "DirectoryObjects_CreatedObjectsReferences", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [ResourceTypePropertyName("createdObjectODataType")] - public class Remove_DirectoryObjects_CreatedObjectsReferences : DeleteCmdlet - { - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/createdObjects/{directoryObjectId}/$ref"; - } - } -} \ No newline at end of file diff --git a/PowerShellCmdlets/Generated/SDK/DirectoryObjects/CreatedOnBehalfOf.cs b/PowerShellCmdlets/Generated/SDK/DirectoryObjects/CreatedOnBehalfOf.cs deleted file mode 100644 index 6e10bb2..0000000 --- a/PowerShellCmdlets/Generated/SDK/DirectoryObjects/CreatedOnBehalfOf.cs +++ /dev/null @@ -1,2376 +0,0 @@ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. - -namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets -{ - using System.Management.Automation; - - /// - /// Retrieves the "createdOnBehalfOf" object. - /// GET ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/createdOnBehalfOf - /// Retrieves the "createdOnBehalfOf" object (which is of type "microsoft.graph.directoryObject"). - /// - /// GitHub Repository - [Cmdlet("Get", "DirectoryObjects_CreatedOnBehalfOf", DefaultParameterSetName = @"Get")] - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [ResourceTypePropertyName("createdOnBehalfOfODataType")] - public class Get_DirectoryObjects_CreatedOnBehalfOf : GetCmdlet - { - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - /// - /// The "deletedDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.directoryObject" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - public System.DateTimeOffset deletedDateTime { get; set; } - - /// - /// The "displayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.String displayName { get; set; } - - /// - /// The "description" property, of type "Edm.String". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.String description { get; set; } - - /// - /// The "values" property, of type "microsoft.graph.settingTemplateValue". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("microsoft.graph.settingTemplateValue")] - [Selectable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.Object[] values { get; set; } - - /// - /// The "accountEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Boolean accountEnabled { get; set; } - - /// - /// The "ageGroup" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String ageGroup { get; set; } - - /// - /// The "assignedLicenses" property, of type "microsoft.graph.assignedLicense". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.assignedLicense")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] assignedLicenses { get; set; } - - /// - /// The "assignedPlans" property, of type "microsoft.graph.assignedPlan". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.assignedPlan")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] assignedPlans { get; set; } - - /// - /// The "businessPhones" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] businessPhones { get; set; } - - /// - /// The "city" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String city { get; set; } - - /// - /// The "companyName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String companyName { get; set; } - - /// - /// The "consentProvidedForMinor" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String consentProvidedForMinor { get; set; } - - /// - /// The "country" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String country { get; set; } - - /// - /// The "department" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String department { get; set; } - - /// - /// The "givenName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String givenName { get; set; } - - /// - /// The "imAddresses" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] imAddresses { get; set; } - - /// - /// The "jobTitle" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String jobTitle { get; set; } - - /// - /// The "legalAgeGroupClassification" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String legalAgeGroupClassification { get; set; } - - /// - /// The "mail" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mail { get; set; } - - /// - /// The "mailNickname" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mailNickname { get; set; } - - /// - /// The "mobilePhone" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mobilePhone { get; set; } - - /// - /// The "onPremisesExtensionAttributes" property, of type "microsoft.graph.onPremisesExtensionAttributes". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.onPremisesExtensionAttributes")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object onPremisesExtensionAttributes { get; set; } - - /// - /// The "onPremisesImmutableId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesImmutableId { get; set; } - - /// - /// The "onPremisesLastSyncDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset onPremisesLastSyncDateTime { get; set; } - - /// - /// The "onPremisesProvisioningErrors" property, of type "microsoft.graph.onPremisesProvisioningError". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.onPremisesProvisioningError")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] onPremisesProvisioningErrors { get; set; } - - /// - /// The "onPremisesSecurityIdentifier" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesSecurityIdentifier { get; set; } - - /// - /// The "onPremisesSyncEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Boolean onPremisesSyncEnabled { get; set; } - - /// - /// The "onPremisesDomainName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesDomainName { get; set; } - - /// - /// The "onPremisesSamAccountName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesSamAccountName { get; set; } - - /// - /// The "onPremisesUserPrincipalName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesUserPrincipalName { get; set; } - - /// - /// The "passwordPolicies" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String passwordPolicies { get; set; } - - /// - /// The "passwordProfile" property, of type "microsoft.graph.passwordProfile". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.passwordProfile")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object passwordProfile { get; set; } - - /// - /// The "officeLocation" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String officeLocation { get; set; } - - /// - /// The "postalCode" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String postalCode { get; set; } - - /// - /// The "preferredLanguage" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String preferredLanguage { get; set; } - - /// - /// The "provisionedPlans" property, of type "microsoft.graph.provisionedPlan". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.provisionedPlan")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] provisionedPlans { get; set; } - - /// - /// The "proxyAddresses" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] proxyAddresses { get; set; } - - /// - /// The "state" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String state { get; set; } - - /// - /// The "streetAddress" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String streetAddress { get; set; } - - /// - /// The "surname" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String surname { get; set; } - - /// - /// The "usageLocation" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String usageLocation { get; set; } - - /// - /// The "userPrincipalName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String userPrincipalName { get; set; } - - /// - /// The "userType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String userType { get; set; } - - /// - /// The "mailboxSettings" property, of type "microsoft.graph.mailboxSettings". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.mailboxSettings")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object mailboxSettings { get; set; } - - /// - /// The "aboutMe" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String aboutMe { get; set; } - - /// - /// The "birthday" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset birthday { get; set; } - - /// - /// The "hireDate" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset hireDate { get; set; } - - /// - /// The "interests" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] interests { get; set; } - - /// - /// The "mySite" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mySite { get; set; } - - /// - /// The "pastProjects" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] pastProjects { get; set; } - - /// - /// The "preferredName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String preferredName { get; set; } - - /// - /// The "responsibilities" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] responsibilities { get; set; } - - /// - /// The "schools" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] schools { get; set; } - - /// - /// The "skills" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] skills { get; set; } - - /// - /// The "deviceEnrollmentLimit" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.user" type. - /// The limit on the maximum number of devices that the user is permitted to enroll. Allowed values are 5 or 1000. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Int32 deviceEnrollmentLimit { get; set; } - - /// - /// The "ownedDevices" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] ownedDevices { get; set; } - - /// - /// The "registeredDevices" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] registeredDevices { get; set; } - - /// - /// The "manager" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object manager { get; set; } - - /// - /// The "directReports" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] directReports { get; set; } - - /// - /// The "memberOf" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] memberOf { get; set; } - - /// - /// The "createdObjects" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] createdObjects { get; set; } - - /// - /// The "ownedObjects" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] ownedObjects { get; set; } - - /// - /// The "licenseDetails" property, of type "microsoft.graph.licenseDetails". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.licenseDetails")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] licenseDetails { get; set; } - - /// - /// The "inferenceClassification" property, of type "microsoft.graph.inferenceClassification". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.inferenceClassification")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object inferenceClassification { get; set; } - - /// - /// The "photo" property, of type "microsoft.graph.profilePhoto". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.profilePhoto")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object photo { get; set; } - - /// - /// The "photos" property, of type "microsoft.graph.profilePhoto". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.profilePhoto")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] photos { get; set; } - - /// - /// The "managedDevices" property, of type "microsoft.graph.managedDevice". - /// This property is on the "microsoft.graph.user" type. - /// The managed devices associated with the user. - /// - [ODataType("microsoft.graph.managedDevice")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] managedDevices { get; set; } - - /// - /// The "managedAppRegistrations" property, of type "microsoft.graph.managedAppRegistration". - /// This property is on the "microsoft.graph.user" type. - /// Zero or more managed app registrations that belong to the user. - /// - [ODataType("microsoft.graph.managedAppRegistration", "microsoft.graph.androidManagedAppRegistration", "microsoft.graph.iosManagedAppRegistration")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] managedAppRegistrations { get; set; } - - /// - /// The "deviceManagementTroubleshootingEvents" property, of type "microsoft.graph.deviceManagementTroubleshootingEvent". - /// This property is on the "microsoft.graph.user" type. - /// The list of troubleshooting events for this user. - /// - [ODataType("microsoft.graph.deviceManagementTroubleshootingEvent", "microsoft.graph.enrollmentTroubleshootingEvent")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] deviceManagementTroubleshootingEvents { get; set; } - - /// - /// The "countryLetterCode" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String countryLetterCode { get; set; } - - /// - /// The "marketingNotificationEmails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] marketingNotificationEmails { get; set; } - - /// - /// The "privacyProfile" property, of type "microsoft.graph.privacyProfile". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("microsoft.graph.privacyProfile")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.Object privacyProfile { get; set; } - - /// - /// The "securityComplianceNotificationMails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] securityComplianceNotificationMails { get; set; } - - /// - /// The "securityComplianceNotificationPhones" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] securityComplianceNotificationPhones { get; set; } - - /// - /// The "street" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String street { get; set; } - - /// - /// The "technicalNotificationMails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] technicalNotificationMails { get; set; } - - /// - /// The "mobileDeviceManagementAuthority" property, of type "microsoft.graph.mdmAuthority". - /// This property is on the "microsoft.graph.organization" type. - /// Mobile device management authority. - /// - [ODataType("microsoft.graph.mdmAuthority")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String mobileDeviceManagementAuthority { get; set; } - - /// - /// The "contractType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.String contractType { get; set; } - - /// - /// The "customerId" property, of type "Edm.Guid". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.Guid")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.Guid customerId { get; set; } - - /// - /// The "defaultDomainName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.String defaultDomainName { get; set; } - - /// - /// The "classification" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.String classification { get; set; } - - /// - /// The "createdDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.DateTimeOffset createdDateTime { get; set; } - - /// - /// The "groupTypes" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.group")] - public System.String[] groupTypes { get; set; } - - /// - /// The "mailEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean mailEnabled { get; set; } - - /// - /// The "renewedDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.DateTimeOffset renewedDateTime { get; set; } - - /// - /// The "securityEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean securityEnabled { get; set; } - - /// - /// The "visibility" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.String visibility { get; set; } - - /// - /// The "allowExternalSenders" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean allowExternalSenders { get; set; } - - /// - /// The "autoSubscribeNewMembers" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean autoSubscribeNewMembers { get; set; } - - /// - /// The "isSubscribedByMail" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean isSubscribedByMail { get; set; } - - /// - /// The "unseenCount" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Int32 unseenCount { get; set; } - - /// - /// The "members" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] members { get; set; } - - /// - /// The "createdOnBehalfOf" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Object createdOnBehalfOf { get; set; } - - /// - /// The "owners" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] owners { get; set; } - - /// - /// The "settings" property, of type "microsoft.graph.groupSetting". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.groupSetting")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] settings { get; set; } - - /// - /// The "groupLifecyclePolicies" property, of type "microsoft.graph.groupLifecyclePolicy". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.groupLifecyclePolicy")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] groupLifecyclePolicies { get; set; } - - /// - /// The "roleTemplateId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.directoryRole" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.directoryRole")] - public System.String roleTemplateId { get; set; } - - /// - /// The "alternativeSecurityIds" property, of type "microsoft.graph.alternativeSecurityId". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.alternativeSecurityId")] - [Selectable] - [DerivedType("microsoft.graph.device")] - public System.Object[] alternativeSecurityIds { get; set; } - - /// - /// The "approximateLastSignInDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.DateTimeOffset approximateLastSignInDateTime { get; set; } - - /// - /// The "deviceId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String deviceId { get; set; } - - /// - /// The "deviceMetadata" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String deviceMetadata { get; set; } - - /// - /// The "deviceVersion" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Int32 deviceVersion { get; set; } - - /// - /// The "isCompliant" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Boolean isCompliant { get; set; } - - /// - /// The "isManaged" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Boolean isManaged { get; set; } - - /// - /// The "operatingSystem" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String operatingSystem { get; set; } - - /// - /// The "operatingSystemVersion" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String operatingSystemVersion { get; set; } - - /// - /// The "physicalIds" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.device")] - public System.String[] physicalIds { get; set; } - - /// - /// The "trustType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String trustType { get; set; } - - /// - /// The "registeredOwners" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] registeredOwners { get; set; } - - /// - /// The "registeredUsers" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] registeredUsers { get; set; } - - /// - /// The "extensions" property, of type "microsoft.graph.extension". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.extension", "microsoft.graph.openTypeExtension")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] extensions { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/createdOnBehalfOf"; - } - } - - /// - /// Retrieves the "createdOnBehalfOf" object reference. - /// GET ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/createdOnBehalfOf/$ref - /// Retrieves the "createdOnBehalfOf" object reference (which is of type "microsoft.graph.directoryObject"). - /// - /// GitHub Repository - [Cmdlet("Get", "DirectoryObjects_CreatedOnBehalfOfReference", DefaultParameterSetName = @"Get")] - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [ResourceTypePropertyName("createdOnBehalfOfODataType")] - public class Get_DirectoryObjects_CreatedOnBehalfOfReference : GetCmdlet - { - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - /// - /// The "deletedDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.directoryObject" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - public System.DateTimeOffset deletedDateTime { get; set; } - - /// - /// The "displayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.String displayName { get; set; } - - /// - /// The "description" property, of type "Edm.String". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.String description { get; set; } - - /// - /// The "values" property, of type "microsoft.graph.settingTemplateValue". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("microsoft.graph.settingTemplateValue")] - [Selectable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.Object[] values { get; set; } - - /// - /// The "accountEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Boolean accountEnabled { get; set; } - - /// - /// The "ageGroup" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String ageGroup { get; set; } - - /// - /// The "assignedLicenses" property, of type "microsoft.graph.assignedLicense". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.assignedLicense")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] assignedLicenses { get; set; } - - /// - /// The "assignedPlans" property, of type "microsoft.graph.assignedPlan". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.assignedPlan")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] assignedPlans { get; set; } - - /// - /// The "businessPhones" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] businessPhones { get; set; } - - /// - /// The "city" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String city { get; set; } - - /// - /// The "companyName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String companyName { get; set; } - - /// - /// The "consentProvidedForMinor" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String consentProvidedForMinor { get; set; } - - /// - /// The "country" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String country { get; set; } - - /// - /// The "department" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String department { get; set; } - - /// - /// The "givenName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String givenName { get; set; } - - /// - /// The "imAddresses" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] imAddresses { get; set; } - - /// - /// The "jobTitle" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String jobTitle { get; set; } - - /// - /// The "legalAgeGroupClassification" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String legalAgeGroupClassification { get; set; } - - /// - /// The "mail" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mail { get; set; } - - /// - /// The "mailNickname" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mailNickname { get; set; } - - /// - /// The "mobilePhone" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mobilePhone { get; set; } - - /// - /// The "onPremisesExtensionAttributes" property, of type "microsoft.graph.onPremisesExtensionAttributes". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.onPremisesExtensionAttributes")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object onPremisesExtensionAttributes { get; set; } - - /// - /// The "onPremisesImmutableId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesImmutableId { get; set; } - - /// - /// The "onPremisesLastSyncDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset onPremisesLastSyncDateTime { get; set; } - - /// - /// The "onPremisesProvisioningErrors" property, of type "microsoft.graph.onPremisesProvisioningError". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.onPremisesProvisioningError")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] onPremisesProvisioningErrors { get; set; } - - /// - /// The "onPremisesSecurityIdentifier" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesSecurityIdentifier { get; set; } - - /// - /// The "onPremisesSyncEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Boolean onPremisesSyncEnabled { get; set; } - - /// - /// The "onPremisesDomainName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesDomainName { get; set; } - - /// - /// The "onPremisesSamAccountName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesSamAccountName { get; set; } - - /// - /// The "onPremisesUserPrincipalName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesUserPrincipalName { get; set; } - - /// - /// The "passwordPolicies" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String passwordPolicies { get; set; } - - /// - /// The "passwordProfile" property, of type "microsoft.graph.passwordProfile". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.passwordProfile")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object passwordProfile { get; set; } - - /// - /// The "officeLocation" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String officeLocation { get; set; } - - /// - /// The "postalCode" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String postalCode { get; set; } - - /// - /// The "preferredLanguage" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String preferredLanguage { get; set; } - - /// - /// The "provisionedPlans" property, of type "microsoft.graph.provisionedPlan". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.provisionedPlan")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] provisionedPlans { get; set; } - - /// - /// The "proxyAddresses" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] proxyAddresses { get; set; } - - /// - /// The "state" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String state { get; set; } - - /// - /// The "streetAddress" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String streetAddress { get; set; } - - /// - /// The "surname" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String surname { get; set; } - - /// - /// The "usageLocation" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String usageLocation { get; set; } - - /// - /// The "userPrincipalName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String userPrincipalName { get; set; } - - /// - /// The "userType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String userType { get; set; } - - /// - /// The "mailboxSettings" property, of type "microsoft.graph.mailboxSettings". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.mailboxSettings")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object mailboxSettings { get; set; } - - /// - /// The "aboutMe" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String aboutMe { get; set; } - - /// - /// The "birthday" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset birthday { get; set; } - - /// - /// The "hireDate" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset hireDate { get; set; } - - /// - /// The "interests" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] interests { get; set; } - - /// - /// The "mySite" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mySite { get; set; } - - /// - /// The "pastProjects" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] pastProjects { get; set; } - - /// - /// The "preferredName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String preferredName { get; set; } - - /// - /// The "responsibilities" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] responsibilities { get; set; } - - /// - /// The "schools" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] schools { get; set; } - - /// - /// The "skills" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] skills { get; set; } - - /// - /// The "deviceEnrollmentLimit" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.user" type. - /// The limit on the maximum number of devices that the user is permitted to enroll. Allowed values are 5 or 1000. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Int32 deviceEnrollmentLimit { get; set; } - - /// - /// The "ownedDevices" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] ownedDevices { get; set; } - - /// - /// The "registeredDevices" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] registeredDevices { get; set; } - - /// - /// The "manager" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object manager { get; set; } - - /// - /// The "directReports" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] directReports { get; set; } - - /// - /// The "memberOf" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] memberOf { get; set; } - - /// - /// The "createdObjects" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] createdObjects { get; set; } - - /// - /// The "ownedObjects" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] ownedObjects { get; set; } - - /// - /// The "licenseDetails" property, of type "microsoft.graph.licenseDetails". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.licenseDetails")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] licenseDetails { get; set; } - - /// - /// The "inferenceClassification" property, of type "microsoft.graph.inferenceClassification". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.inferenceClassification")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object inferenceClassification { get; set; } - - /// - /// The "photo" property, of type "microsoft.graph.profilePhoto". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.profilePhoto")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object photo { get; set; } - - /// - /// The "photos" property, of type "microsoft.graph.profilePhoto". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.profilePhoto")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] photos { get; set; } - - /// - /// The "managedDevices" property, of type "microsoft.graph.managedDevice". - /// This property is on the "microsoft.graph.user" type. - /// The managed devices associated with the user. - /// - [ODataType("microsoft.graph.managedDevice")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] managedDevices { get; set; } - - /// - /// The "managedAppRegistrations" property, of type "microsoft.graph.managedAppRegistration". - /// This property is on the "microsoft.graph.user" type. - /// Zero or more managed app registrations that belong to the user. - /// - [ODataType("microsoft.graph.managedAppRegistration", "microsoft.graph.androidManagedAppRegistration", "microsoft.graph.iosManagedAppRegistration")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] managedAppRegistrations { get; set; } - - /// - /// The "deviceManagementTroubleshootingEvents" property, of type "microsoft.graph.deviceManagementTroubleshootingEvent". - /// This property is on the "microsoft.graph.user" type. - /// The list of troubleshooting events for this user. - /// - [ODataType("microsoft.graph.deviceManagementTroubleshootingEvent", "microsoft.graph.enrollmentTroubleshootingEvent")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] deviceManagementTroubleshootingEvents { get; set; } - - /// - /// The "countryLetterCode" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String countryLetterCode { get; set; } - - /// - /// The "marketingNotificationEmails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] marketingNotificationEmails { get; set; } - - /// - /// The "privacyProfile" property, of type "microsoft.graph.privacyProfile". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("microsoft.graph.privacyProfile")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.Object privacyProfile { get; set; } - - /// - /// The "securityComplianceNotificationMails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] securityComplianceNotificationMails { get; set; } - - /// - /// The "securityComplianceNotificationPhones" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] securityComplianceNotificationPhones { get; set; } - - /// - /// The "street" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String street { get; set; } - - /// - /// The "technicalNotificationMails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] technicalNotificationMails { get; set; } - - /// - /// The "mobileDeviceManagementAuthority" property, of type "microsoft.graph.mdmAuthority". - /// This property is on the "microsoft.graph.organization" type. - /// Mobile device management authority. - /// - [ODataType("microsoft.graph.mdmAuthority")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String mobileDeviceManagementAuthority { get; set; } - - /// - /// The "contractType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.String contractType { get; set; } - - /// - /// The "customerId" property, of type "Edm.Guid". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.Guid")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.Guid customerId { get; set; } - - /// - /// The "defaultDomainName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.String defaultDomainName { get; set; } - - /// - /// The "classification" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.String classification { get; set; } - - /// - /// The "createdDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.DateTimeOffset createdDateTime { get; set; } - - /// - /// The "groupTypes" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.group")] - public System.String[] groupTypes { get; set; } - - /// - /// The "mailEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean mailEnabled { get; set; } - - /// - /// The "renewedDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.DateTimeOffset renewedDateTime { get; set; } - - /// - /// The "securityEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean securityEnabled { get; set; } - - /// - /// The "visibility" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.String visibility { get; set; } - - /// - /// The "allowExternalSenders" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean allowExternalSenders { get; set; } - - /// - /// The "autoSubscribeNewMembers" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean autoSubscribeNewMembers { get; set; } - - /// - /// The "isSubscribedByMail" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean isSubscribedByMail { get; set; } - - /// - /// The "unseenCount" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Int32 unseenCount { get; set; } - - /// - /// The "members" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] members { get; set; } - - /// - /// The "createdOnBehalfOf" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Object createdOnBehalfOf { get; set; } - - /// - /// The "owners" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] owners { get; set; } - - /// - /// The "settings" property, of type "microsoft.graph.groupSetting". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.groupSetting")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] settings { get; set; } - - /// - /// The "groupLifecyclePolicies" property, of type "microsoft.graph.groupLifecyclePolicy". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.groupLifecyclePolicy")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] groupLifecyclePolicies { get; set; } - - /// - /// The "roleTemplateId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.directoryRole" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.directoryRole")] - public System.String roleTemplateId { get; set; } - - /// - /// The "alternativeSecurityIds" property, of type "microsoft.graph.alternativeSecurityId". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.alternativeSecurityId")] - [Selectable] - [DerivedType("microsoft.graph.device")] - public System.Object[] alternativeSecurityIds { get; set; } - - /// - /// The "approximateLastSignInDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.DateTimeOffset approximateLastSignInDateTime { get; set; } - - /// - /// The "deviceId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String deviceId { get; set; } - - /// - /// The "deviceMetadata" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String deviceMetadata { get; set; } - - /// - /// The "deviceVersion" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Int32 deviceVersion { get; set; } - - /// - /// The "isCompliant" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Boolean isCompliant { get; set; } - - /// - /// The "isManaged" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Boolean isManaged { get; set; } - - /// - /// The "operatingSystem" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String operatingSystem { get; set; } - - /// - /// The "operatingSystemVersion" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String operatingSystemVersion { get; set; } - - /// - /// The "physicalIds" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.device")] - public System.String[] physicalIds { get; set; } - - /// - /// The "trustType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String trustType { get; set; } - - /// - /// The "registeredOwners" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] registeredOwners { get; set; } - - /// - /// The "registeredUsers" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] registeredUsers { get; set; } - - /// - /// The "extensions" property, of type "microsoft.graph.extension". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.extension", "microsoft.graph.openTypeExtension")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] extensions { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/createdOnBehalfOf/$ref"; - } - } - - /// - /// Creates a reference from a "directoryObject" to a "microsoft.graph.directoryObject" object. - /// PUT ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/createdOnBehalfOf/$ref - /// Creates a reference from the "directoryObject" object to a "createdOnBehalfOf". - /// - /// GitHub Repository - [Cmdlet("New", "DirectoryObjects_CreatedOnBehalfOfReference", ConfirmImpact = ConfirmImpact.Low)] - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [ResourceTypePropertyName("createdOnBehalfOfODataType")] - public class New_DirectoryObjects_CreatedOnBehalfOfReference : PutReferenceToEntityCmdlet - { - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - /// - /// The URL which should be used to access a "microsoft.graph.directoryObject" object. - /// - [Selectable] - [Expandable] - [Alias("deviceReferenceUrl", "directoryRoleReferenceUrl", "directoryRoleTemplateReferenceUrl", "groupReferenceUrl", "contractReferenceUrl", "organizationReferenceUrl", "userReferenceUrl", "groupSettingTemplateReferenceUrl", "administrativeUnitReferenceUrl")] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The URL which should be used to access a "microsoft.graph.directoryObject" object.")] - public System.String directoryObjectReferenceUrl { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/createdOnBehalfOf/$ref"; - } - } - - /// - /// Removes a reference from a "directoryObject" to a "microsoft.graph.directoryObject" object. - /// DELETE ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/createdOnBehalfOf/$ref - /// Removes a reference from the "directoryObject" object to a "createdOnBehalfOf". - /// - /// GitHub Repository - [Cmdlet("Remove", "DirectoryObjects_CreatedOnBehalfOfReference", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [ResourceTypePropertyName("createdOnBehalfOfODataType")] - public class Remove_DirectoryObjects_CreatedOnBehalfOfReference : DeleteCmdlet - { - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/createdOnBehalfOf/$ref"; - } - } -} \ No newline at end of file diff --git a/PowerShellCmdlets/Generated/SDK/DirectoryObjects/DeviceManagementTroubleshootingEvents.cs b/PowerShellCmdlets/Generated/SDK/DirectoryObjects/DeviceManagementTroubleshootingEvents.cs deleted file mode 100644 index a8d2293..0000000 --- a/PowerShellCmdlets/Generated/SDK/DirectoryObjects/DeviceManagementTroubleshootingEvents.cs +++ /dev/null @@ -1,602 +0,0 @@ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. - -namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets -{ - using System.Management.Automation; - - /// - /// Retrieves "microsoft.graph.deviceManagementTroubleshootingEvent" objects. - /// GET ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/deviceManagementTroubleshootingEvents - /// Retrieves "microsoft.graph.deviceManagementTroubleshootingEvent" objects in the "deviceManagementTroubleshootingEvents" collection. - /// The list of troubleshooting events for this user. - /// - /// GitHub Repository - [Cmdlet("Get", "DirectoryObjects_DeviceManagementTroubleshootingEvents", DefaultParameterSetName = @"Search")] - [ODataType("microsoft.graph.deviceManagementTroubleshootingEvent", "microsoft.graph.enrollmentTroubleshootingEvent")] - [ResourceTypePropertyName("deviceManagementTroubleshootingEventODataType")] - [ResourceReference] - public class Get_DirectoryObjects_DeviceManagementTroubleshootingEvents : GetOrSearchCmdlet - { - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - /// - /// The ID for a "microsoft.graph.deviceManagementTroubleshootingEvent" object in the "deviceManagementTroubleshootingEvents" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(ParameterSetName = @"Get", Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.deviceManagementTroubleshootingEvent" object in the "deviceManagementTroubleshootingEvents" collection.")] - public System.String deviceManagementTroubleshootingEventId { get; set; } - - /// - /// The "eventDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.deviceManagementTroubleshootingEvent" type. - /// Time when the event occurred . - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - public System.DateTimeOffset eventDateTime { get; set; } - - /// - /// The "correlationId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.deviceManagementTroubleshootingEvent" type. - /// Id used for tracing the failure in the service. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String correlationId { get; set; } - - /// - /// The "managedDeviceIdentifier" property, of type "Edm.String". - /// This property is on the "microsoft.graph.enrollmentTroubleshootingEvent" type. - /// Device identifier created or collected by Intune. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.enrollmentTroubleshootingEvent")] - public System.String managedDeviceIdentifier { get; set; } - - /// - /// The "operatingSystem" property, of type "Edm.String". - /// This property is on the "microsoft.graph.enrollmentTroubleshootingEvent" type. - /// Operating System. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.enrollmentTroubleshootingEvent")] - public System.String operatingSystem { get; set; } - - /// - /// The "osVersion" property, of type "Edm.String". - /// This property is on the "microsoft.graph.enrollmentTroubleshootingEvent" type. - /// OS Version. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.enrollmentTroubleshootingEvent")] - public System.String osVersion { get; set; } - - /// - /// The "userId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.enrollmentTroubleshootingEvent" type. - /// Identifier for the user that tried to enroll the device. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.enrollmentTroubleshootingEvent")] - public System.String userId { get; set; } - - /// - /// The "deviceId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.enrollmentTroubleshootingEvent" type. - /// Azure AD device identifier. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.enrollmentTroubleshootingEvent")] - public System.String deviceId { get; set; } - - /// - /// The "enrollmentType" property, of type "microsoft.graph.deviceEnrollmentType". - /// This property is on the "microsoft.graph.enrollmentTroubleshootingEvent" type. - /// Type of the enrollment. - /// - [ODataType("microsoft.graph.deviceEnrollmentType")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.enrollmentTroubleshootingEvent")] - public System.String enrollmentType { get; set; } - - /// - /// The "failureCategory" property, of type "microsoft.graph.deviceEnrollmentFailureReason". - /// This property is on the "microsoft.graph.enrollmentTroubleshootingEvent" type. - /// Highlevel failure category. - /// - [ODataType("microsoft.graph.deviceEnrollmentFailureReason")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.enrollmentTroubleshootingEvent")] - public System.String failureCategory { get; set; } - - /// - /// The "failureReason" property, of type "Edm.String". - /// This property is on the "microsoft.graph.enrollmentTroubleshootingEvent" type. - /// Detailed failure reason. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.enrollmentTroubleshootingEvent")] - public System.String failureReason { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/deviceManagementTroubleshootingEvents/{deviceManagementTroubleshootingEventId ?? string.Empty}"; - } - } - - /// - /// Creates a "microsoft.graph.deviceManagementTroubleshootingEvent" object. - /// POST ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/deviceManagementTroubleshootingEvents - /// Adds a "microsoft.graph.deviceManagementTroubleshootingEvent" object to the "deviceManagementTroubleshootingEvents" collection. - /// The list of troubleshooting events for this user. - /// - /// GitHub Repository - [Cmdlet("New", "DirectoryObjects_DeviceManagementTroubleshootingEvents", ConfirmImpact = ConfirmImpact.Low)] - [ODataType("microsoft.graph.deviceManagementTroubleshootingEvent", "microsoft.graph.enrollmentTroubleshootingEvent")] - [ResourceTypePropertyName("deviceManagementTroubleshootingEventODataType")] - [ResourceReference] - public class New_DirectoryObjects_DeviceManagementTroubleshootingEvents : PostCmdlet - { - /// - /// The ID for a "microsoft.graph.deviceManagementTroubleshootingEvent" object in the "deviceManagementTroubleshootingEvents" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - public System.String deviceManagementTroubleshootingEventId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - /// - /// A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.deviceManagementTroubleshootingEvent" type. - /// - [Selectable] - [Expandable] - [ParameterSetSelector(@"microsoft.graph.deviceManagementTroubleshootingEvent")] - [Parameter(ParameterSetName = @"microsoft.graph.deviceManagementTroubleshootingEvent", Mandatory = true, HelpMessage = @"A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.deviceManagementTroubleshootingEvent" type.")] - public System.Management.Automation.SwitchParameter deviceManagementTroubleshootingEvent { get; set; } - - /// - /// The "eventDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.deviceManagementTroubleshootingEvent" type. - /// Time when the event occurred . - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.deviceManagementTroubleshootingEvent", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "eventDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"microsoft.graph.enrollmentTroubleshootingEvent", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "eventDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "eventDateTime" property, of type "Edm.DateTimeOffset".")] - public System.DateTimeOffset eventDateTime { get; set; } - - /// - /// The "correlationId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.deviceManagementTroubleshootingEvent" type. - /// Id used for tracing the failure in the service. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.deviceManagementTroubleshootingEvent", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "correlationId" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.enrollmentTroubleshootingEvent", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "correlationId" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "correlationId" property, of type "Edm.String".")] - public System.String correlationId { get; set; } - - /// - /// A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.enrollmentTroubleshootingEvent" type. - /// - [Selectable] - [Expandable] - [ParameterSetSelector(@"microsoft.graph.enrollmentTroubleshootingEvent")] - [Parameter(ParameterSetName = @"microsoft.graph.enrollmentTroubleshootingEvent", Mandatory = true, HelpMessage = @"A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.enrollmentTroubleshootingEvent" type.")] - public System.Management.Automation.SwitchParameter enrollmentTroubleshootingEvent { get; set; } - - /// - /// The "managedDeviceIdentifier" property, of type "Edm.String". - /// This property is on the "microsoft.graph.enrollmentTroubleshootingEvent" type. - /// Device identifier created or collected by Intune. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.enrollmentTroubleshootingEvent", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "managedDeviceIdentifier" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "managedDeviceIdentifier" property, of type "Edm.String".")] - public System.String managedDeviceIdentifier { get; set; } - - /// - /// The "operatingSystem" property, of type "Edm.String". - /// This property is on the "microsoft.graph.enrollmentTroubleshootingEvent" type. - /// Operating System. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.enrollmentTroubleshootingEvent", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "operatingSystem" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "operatingSystem" property, of type "Edm.String".")] - public System.String operatingSystem { get; set; } - - /// - /// The "osVersion" property, of type "Edm.String". - /// This property is on the "microsoft.graph.enrollmentTroubleshootingEvent" type. - /// OS Version. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.enrollmentTroubleshootingEvent", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "osVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "osVersion" property, of type "Edm.String".")] - public System.String osVersion { get; set; } - - /// - /// The "userId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.enrollmentTroubleshootingEvent" type. - /// Identifier for the user that tried to enroll the device. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.enrollmentTroubleshootingEvent", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "userId" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "userId" property, of type "Edm.String".")] - public System.String userId { get; set; } - - /// - /// The "deviceId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.enrollmentTroubleshootingEvent" type. - /// Azure AD device identifier. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.enrollmentTroubleshootingEvent", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "deviceId" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "deviceId" property, of type "Edm.String".")] - public System.String deviceId { get; set; } - - /// - /// The "enrollmentType" property, of type "microsoft.graph.deviceEnrollmentType". - /// This property is on the "microsoft.graph.enrollmentTroubleshootingEvent" type. - /// Type of the enrollment. - /// - /// Valid values: 'unknown', 'userEnrollment', 'deviceEnrollmentManager', 'appleBulkWithUser', 'appleBulkWithoutUser', 'windowsAzureADJoin', 'windowsBulkUserless', 'windowsAutoEnrollment', 'windowsBulkAzureDomainJoin', 'windowsCoManagement' - /// - /// - [ODataType("microsoft.graph.deviceEnrollmentType")] - [Selectable] - [ValidateSet(@"unknown", @"userEnrollment", @"deviceEnrollmentManager", @"appleBulkWithUser", @"appleBulkWithoutUser", @"windowsAzureADJoin", @"windowsBulkUserless", @"windowsAutoEnrollment", @"windowsBulkAzureDomainJoin", @"windowsCoManagement")] - [Parameter(ParameterSetName = @"microsoft.graph.enrollmentTroubleshootingEvent", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "enrollmentType" property, of type "microsoft.graph.deviceEnrollmentType".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "enrollmentType" property, of type "microsoft.graph.deviceEnrollmentType".")] - public System.String enrollmentType { get; set; } - - /// - /// The "failureCategory" property, of type "microsoft.graph.deviceEnrollmentFailureReason". - /// This property is on the "microsoft.graph.enrollmentTroubleshootingEvent" type. - /// Highlevel failure category. - /// - /// Valid values: 'unknown', 'authentication', 'authorization', 'accountValidation', 'userValidation', 'deviceNotSupported', 'inMaintenance', 'badRequest', 'featureNotSupported', 'enrollmentRestrictionsEnforced', 'clientDisconnected', 'userAbandonment' - /// - /// - [ODataType("microsoft.graph.deviceEnrollmentFailureReason")] - [Selectable] - [ValidateSet(@"unknown", @"authentication", @"authorization", @"accountValidation", @"userValidation", @"deviceNotSupported", @"inMaintenance", @"badRequest", @"featureNotSupported", @"enrollmentRestrictionsEnforced", @"clientDisconnected", @"userAbandonment")] - [Parameter(ParameterSetName = @"microsoft.graph.enrollmentTroubleshootingEvent", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "failureCategory" property, of type "microsoft.graph.deviceEnrollmentFailureReason".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "failureCategory" property, of type "microsoft.graph.deviceEnrollmentFailureReason".")] - public System.String failureCategory { get; set; } - - /// - /// The "failureReason" property, of type "Edm.String". - /// This property is on the "microsoft.graph.enrollmentTroubleshootingEvent" type. - /// Detailed failure reason. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.enrollmentTroubleshootingEvent", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "failureReason" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "failureReason" property, of type "Edm.String".")] - public System.String failureReason { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/deviceManagementTroubleshootingEvents/{deviceManagementTroubleshootingEventId}"; - } - } - - /// - /// Updates a "microsoft.graph.deviceManagementTroubleshootingEvent". - /// PATCH ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/deviceManagementTroubleshootingEvents - /// Updates a "microsoft.graph.deviceManagementTroubleshootingEvent" object in the "deviceManagementTroubleshootingEvents" collection. - /// The list of troubleshooting events for this user. - /// - /// GitHub Repository - [Cmdlet("Update", "DirectoryObjects_DeviceManagementTroubleshootingEvents", ConfirmImpact = ConfirmImpact.Medium)] - [ODataType("microsoft.graph.deviceManagementTroubleshootingEvent", "microsoft.graph.enrollmentTroubleshootingEvent")] - [ResourceTypePropertyName("deviceManagementTroubleshootingEventODataType")] - public class Update_DirectoryObjects_DeviceManagementTroubleshootingEvents : PatchCmdlet - { - /// - /// The ID for a "microsoft.graph.deviceManagementTroubleshootingEvent" object in the "deviceManagementTroubleshootingEvents" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.deviceManagementTroubleshootingEvent" object in the "deviceManagementTroubleshootingEvents" collection.")] - public System.String deviceManagementTroubleshootingEventId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - /// - /// A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.deviceManagementTroubleshootingEvent" type. - /// - [Selectable] - [Expandable] - [ParameterSetSelector(@"microsoft.graph.deviceManagementTroubleshootingEvent")] - [Parameter(ParameterSetName = @"microsoft.graph.deviceManagementTroubleshootingEvent", Mandatory = true, HelpMessage = @"A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.deviceManagementTroubleshootingEvent" type.")] - public System.Management.Automation.SwitchParameter deviceManagementTroubleshootingEvent { get; set; } - - /// - /// The "eventDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.deviceManagementTroubleshootingEvent" type. - /// Time when the event occurred . - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.deviceManagementTroubleshootingEvent", HelpMessage = @"The "eventDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"microsoft.graph.enrollmentTroubleshootingEvent", HelpMessage = @"The "eventDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "eventDateTime" property, of type "Edm.DateTimeOffset".")] - public System.DateTimeOffset eventDateTime { get; set; } - - /// - /// The "correlationId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.deviceManagementTroubleshootingEvent" type. - /// Id used for tracing the failure in the service. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.deviceManagementTroubleshootingEvent", HelpMessage = @"The "correlationId" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.enrollmentTroubleshootingEvent", HelpMessage = @"The "correlationId" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "correlationId" property, of type "Edm.String".")] - public System.String correlationId { get; set; } - - /// - /// A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.enrollmentTroubleshootingEvent" type. - /// - [Selectable] - [Expandable] - [ParameterSetSelector(@"microsoft.graph.enrollmentTroubleshootingEvent")] - [Parameter(ParameterSetName = @"microsoft.graph.enrollmentTroubleshootingEvent", Mandatory = true, HelpMessage = @"A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.enrollmentTroubleshootingEvent" type.")] - public System.Management.Automation.SwitchParameter enrollmentTroubleshootingEvent { get; set; } - - /// - /// The "managedDeviceIdentifier" property, of type "Edm.String". - /// This property is on the "microsoft.graph.enrollmentTroubleshootingEvent" type. - /// Device identifier created or collected by Intune. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.enrollmentTroubleshootingEvent", HelpMessage = @"The "managedDeviceIdentifier" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "managedDeviceIdentifier" property, of type "Edm.String".")] - public System.String managedDeviceIdentifier { get; set; } - - /// - /// The "operatingSystem" property, of type "Edm.String". - /// This property is on the "microsoft.graph.enrollmentTroubleshootingEvent" type. - /// Operating System. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.enrollmentTroubleshootingEvent", HelpMessage = @"The "operatingSystem" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "operatingSystem" property, of type "Edm.String".")] - public System.String operatingSystem { get; set; } - - /// - /// The "osVersion" property, of type "Edm.String". - /// This property is on the "microsoft.graph.enrollmentTroubleshootingEvent" type. - /// OS Version. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.enrollmentTroubleshootingEvent", HelpMessage = @"The "osVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "osVersion" property, of type "Edm.String".")] - public System.String osVersion { get; set; } - - /// - /// The "userId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.enrollmentTroubleshootingEvent" type. - /// Identifier for the user that tried to enroll the device. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.enrollmentTroubleshootingEvent", HelpMessage = @"The "userId" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "userId" property, of type "Edm.String".")] - public System.String userId { get; set; } - - /// - /// The "deviceId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.enrollmentTroubleshootingEvent" type. - /// Azure AD device identifier. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.enrollmentTroubleshootingEvent", HelpMessage = @"The "deviceId" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "deviceId" property, of type "Edm.String".")] - public System.String deviceId { get; set; } - - /// - /// The "enrollmentType" property, of type "microsoft.graph.deviceEnrollmentType". - /// This property is on the "microsoft.graph.enrollmentTroubleshootingEvent" type. - /// Type of the enrollment. - /// - /// Valid values: 'unknown', 'userEnrollment', 'deviceEnrollmentManager', 'appleBulkWithUser', 'appleBulkWithoutUser', 'windowsAzureADJoin', 'windowsBulkUserless', 'windowsAutoEnrollment', 'windowsBulkAzureDomainJoin', 'windowsCoManagement' - /// - /// - [ODataType("microsoft.graph.deviceEnrollmentType")] - [Selectable] - [ValidateSet(@"unknown", @"userEnrollment", @"deviceEnrollmentManager", @"appleBulkWithUser", @"appleBulkWithoutUser", @"windowsAzureADJoin", @"windowsBulkUserless", @"windowsAutoEnrollment", @"windowsBulkAzureDomainJoin", @"windowsCoManagement")] - [Parameter(ParameterSetName = @"microsoft.graph.enrollmentTroubleshootingEvent", HelpMessage = @"The "enrollmentType" property, of type "microsoft.graph.deviceEnrollmentType".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "enrollmentType" property, of type "microsoft.graph.deviceEnrollmentType".")] - public System.String enrollmentType { get; set; } - - /// - /// The "failureCategory" property, of type "microsoft.graph.deviceEnrollmentFailureReason". - /// This property is on the "microsoft.graph.enrollmentTroubleshootingEvent" type. - /// Highlevel failure category. - /// - /// Valid values: 'unknown', 'authentication', 'authorization', 'accountValidation', 'userValidation', 'deviceNotSupported', 'inMaintenance', 'badRequest', 'featureNotSupported', 'enrollmentRestrictionsEnforced', 'clientDisconnected', 'userAbandonment' - /// - /// - [ODataType("microsoft.graph.deviceEnrollmentFailureReason")] - [Selectable] - [ValidateSet(@"unknown", @"authentication", @"authorization", @"accountValidation", @"userValidation", @"deviceNotSupported", @"inMaintenance", @"badRequest", @"featureNotSupported", @"enrollmentRestrictionsEnforced", @"clientDisconnected", @"userAbandonment")] - [Parameter(ParameterSetName = @"microsoft.graph.enrollmentTroubleshootingEvent", HelpMessage = @"The "failureCategory" property, of type "microsoft.graph.deviceEnrollmentFailureReason".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "failureCategory" property, of type "microsoft.graph.deviceEnrollmentFailureReason".")] - public System.String failureCategory { get; set; } - - /// - /// The "failureReason" property, of type "Edm.String". - /// This property is on the "microsoft.graph.enrollmentTroubleshootingEvent" type. - /// Detailed failure reason. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.enrollmentTroubleshootingEvent", HelpMessage = @"The "failureReason" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "failureReason" property, of type "Edm.String".")] - public System.String failureReason { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/deviceManagementTroubleshootingEvents/{deviceManagementTroubleshootingEventId}"; - } - } - - /// - /// Removes a "microsoft.graph.deviceManagementTroubleshootingEvent" object. - /// DELETE ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/deviceManagementTroubleshootingEvents/deviceManagementTroubleshootingEventId - /// Removes a "microsoft.graph.deviceManagementTroubleshootingEvent" object from the "deviceManagementTroubleshootingEvents" collection. - /// The list of troubleshooting events for this user. - /// - /// GitHub Repository - [Cmdlet("Remove", "DirectoryObjects_DeviceManagementTroubleshootingEvents", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.deviceManagementTroubleshootingEvent", "microsoft.graph.enrollmentTroubleshootingEvent")] - [ResourceTypePropertyName("deviceManagementTroubleshootingEventODataType")] - public class Remove_DirectoryObjects_DeviceManagementTroubleshootingEvents : DeleteCmdlet - { - /// - /// The ID for a "microsoft.graph.deviceManagementTroubleshootingEvent" object in the "deviceManagementTroubleshootingEvents" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.deviceManagementTroubleshootingEvent" object in the "deviceManagementTroubleshootingEvents" collection.")] - public System.String deviceManagementTroubleshootingEventId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/deviceManagementTroubleshootingEvents/{deviceManagementTroubleshootingEventId}"; - } - } -} \ No newline at end of file diff --git a/PowerShellCmdlets/Generated/SDK/DirectoryObjects/DirectReports.cs b/PowerShellCmdlets/Generated/SDK/DirectoryObjects/DirectReports.cs deleted file mode 100644 index 20190a3..0000000 --- a/PowerShellCmdlets/Generated/SDK/DirectoryObjects/DirectReports.cs +++ /dev/null @@ -1,2381 +0,0 @@ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. - -namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets -{ - using System.Management.Automation; - - /// - /// Retrieves "microsoft.graph.directoryObject" objects. - /// GET ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/directReports - /// Retrieves "microsoft.graph.directoryObject" objects in the "directReports" collection. - /// - /// GitHub Repository - [Cmdlet("Get", "DirectoryObjects_DirectReports", DefaultParameterSetName = @"Search")] - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [ResourceTypePropertyName("directReportODataType")] - public class Get_DirectoryObjects_DirectReports : GetOrSearchCmdlet - { - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - [Parameter(ParameterSetName = @"Get", Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - /// - /// The "deletedDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.directoryObject" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - public System.DateTimeOffset deletedDateTime { get; set; } - - /// - /// The "displayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.String displayName { get; set; } - - /// - /// The "description" property, of type "Edm.String". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.String description { get; set; } - - /// - /// The "values" property, of type "microsoft.graph.settingTemplateValue". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("microsoft.graph.settingTemplateValue")] - [Selectable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.Object[] values { get; set; } - - /// - /// The "accountEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Boolean accountEnabled { get; set; } - - /// - /// The "ageGroup" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String ageGroup { get; set; } - - /// - /// The "assignedLicenses" property, of type "microsoft.graph.assignedLicense". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.assignedLicense")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] assignedLicenses { get; set; } - - /// - /// The "assignedPlans" property, of type "microsoft.graph.assignedPlan". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.assignedPlan")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] assignedPlans { get; set; } - - /// - /// The "businessPhones" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] businessPhones { get; set; } - - /// - /// The "city" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String city { get; set; } - - /// - /// The "companyName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String companyName { get; set; } - - /// - /// The "consentProvidedForMinor" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String consentProvidedForMinor { get; set; } - - /// - /// The "country" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String country { get; set; } - - /// - /// The "department" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String department { get; set; } - - /// - /// The "givenName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String givenName { get; set; } - - /// - /// The "imAddresses" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] imAddresses { get; set; } - - /// - /// The "jobTitle" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String jobTitle { get; set; } - - /// - /// The "legalAgeGroupClassification" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String legalAgeGroupClassification { get; set; } - - /// - /// The "mail" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mail { get; set; } - - /// - /// The "mailNickname" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mailNickname { get; set; } - - /// - /// The "mobilePhone" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mobilePhone { get; set; } - - /// - /// The "onPremisesExtensionAttributes" property, of type "microsoft.graph.onPremisesExtensionAttributes". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.onPremisesExtensionAttributes")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object onPremisesExtensionAttributes { get; set; } - - /// - /// The "onPremisesImmutableId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesImmutableId { get; set; } - - /// - /// The "onPremisesLastSyncDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset onPremisesLastSyncDateTime { get; set; } - - /// - /// The "onPremisesProvisioningErrors" property, of type "microsoft.graph.onPremisesProvisioningError". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.onPremisesProvisioningError")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] onPremisesProvisioningErrors { get; set; } - - /// - /// The "onPremisesSecurityIdentifier" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesSecurityIdentifier { get; set; } - - /// - /// The "onPremisesSyncEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Boolean onPremisesSyncEnabled { get; set; } - - /// - /// The "onPremisesDomainName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesDomainName { get; set; } - - /// - /// The "onPremisesSamAccountName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesSamAccountName { get; set; } - - /// - /// The "onPremisesUserPrincipalName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesUserPrincipalName { get; set; } - - /// - /// The "passwordPolicies" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String passwordPolicies { get; set; } - - /// - /// The "passwordProfile" property, of type "microsoft.graph.passwordProfile". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.passwordProfile")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object passwordProfile { get; set; } - - /// - /// The "officeLocation" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String officeLocation { get; set; } - - /// - /// The "postalCode" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String postalCode { get; set; } - - /// - /// The "preferredLanguage" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String preferredLanguage { get; set; } - - /// - /// The "provisionedPlans" property, of type "microsoft.graph.provisionedPlan". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.provisionedPlan")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] provisionedPlans { get; set; } - - /// - /// The "proxyAddresses" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] proxyAddresses { get; set; } - - /// - /// The "state" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String state { get; set; } - - /// - /// The "streetAddress" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String streetAddress { get; set; } - - /// - /// The "surname" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String surname { get; set; } - - /// - /// The "usageLocation" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String usageLocation { get; set; } - - /// - /// The "userPrincipalName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String userPrincipalName { get; set; } - - /// - /// The "userType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String userType { get; set; } - - /// - /// The "mailboxSettings" property, of type "microsoft.graph.mailboxSettings". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.mailboxSettings")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object mailboxSettings { get; set; } - - /// - /// The "aboutMe" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String aboutMe { get; set; } - - /// - /// The "birthday" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset birthday { get; set; } - - /// - /// The "hireDate" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset hireDate { get; set; } - - /// - /// The "interests" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] interests { get; set; } - - /// - /// The "mySite" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mySite { get; set; } - - /// - /// The "pastProjects" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] pastProjects { get; set; } - - /// - /// The "preferredName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String preferredName { get; set; } - - /// - /// The "responsibilities" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] responsibilities { get; set; } - - /// - /// The "schools" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] schools { get; set; } - - /// - /// The "skills" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] skills { get; set; } - - /// - /// The "deviceEnrollmentLimit" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.user" type. - /// The limit on the maximum number of devices that the user is permitted to enroll. Allowed values are 5 or 1000. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Int32 deviceEnrollmentLimit { get; set; } - - /// - /// The "ownedDevices" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] ownedDevices { get; set; } - - /// - /// The "registeredDevices" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] registeredDevices { get; set; } - - /// - /// The "manager" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object manager { get; set; } - - /// - /// The "directReports" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] directReports { get; set; } - - /// - /// The "memberOf" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] memberOf { get; set; } - - /// - /// The "createdObjects" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] createdObjects { get; set; } - - /// - /// The "ownedObjects" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] ownedObjects { get; set; } - - /// - /// The "licenseDetails" property, of type "microsoft.graph.licenseDetails". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.licenseDetails")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] licenseDetails { get; set; } - - /// - /// The "inferenceClassification" property, of type "microsoft.graph.inferenceClassification". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.inferenceClassification")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object inferenceClassification { get; set; } - - /// - /// The "photo" property, of type "microsoft.graph.profilePhoto". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.profilePhoto")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object photo { get; set; } - - /// - /// The "photos" property, of type "microsoft.graph.profilePhoto". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.profilePhoto")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] photos { get; set; } - - /// - /// The "managedDevices" property, of type "microsoft.graph.managedDevice". - /// This property is on the "microsoft.graph.user" type. - /// The managed devices associated with the user. - /// - [ODataType("microsoft.graph.managedDevice")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] managedDevices { get; set; } - - /// - /// The "managedAppRegistrations" property, of type "microsoft.graph.managedAppRegistration". - /// This property is on the "microsoft.graph.user" type. - /// Zero or more managed app registrations that belong to the user. - /// - [ODataType("microsoft.graph.managedAppRegistration", "microsoft.graph.androidManagedAppRegistration", "microsoft.graph.iosManagedAppRegistration")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] managedAppRegistrations { get; set; } - - /// - /// The "deviceManagementTroubleshootingEvents" property, of type "microsoft.graph.deviceManagementTroubleshootingEvent". - /// This property is on the "microsoft.graph.user" type. - /// The list of troubleshooting events for this user. - /// - [ODataType("microsoft.graph.deviceManagementTroubleshootingEvent", "microsoft.graph.enrollmentTroubleshootingEvent")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] deviceManagementTroubleshootingEvents { get; set; } - - /// - /// The "countryLetterCode" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String countryLetterCode { get; set; } - - /// - /// The "marketingNotificationEmails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] marketingNotificationEmails { get; set; } - - /// - /// The "privacyProfile" property, of type "microsoft.graph.privacyProfile". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("microsoft.graph.privacyProfile")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.Object privacyProfile { get; set; } - - /// - /// The "securityComplianceNotificationMails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] securityComplianceNotificationMails { get; set; } - - /// - /// The "securityComplianceNotificationPhones" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] securityComplianceNotificationPhones { get; set; } - - /// - /// The "street" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String street { get; set; } - - /// - /// The "technicalNotificationMails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] technicalNotificationMails { get; set; } - - /// - /// The "mobileDeviceManagementAuthority" property, of type "microsoft.graph.mdmAuthority". - /// This property is on the "microsoft.graph.organization" type. - /// Mobile device management authority. - /// - [ODataType("microsoft.graph.mdmAuthority")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String mobileDeviceManagementAuthority { get; set; } - - /// - /// The "contractType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.String contractType { get; set; } - - /// - /// The "customerId" property, of type "Edm.Guid". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.Guid")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.Guid customerId { get; set; } - - /// - /// The "defaultDomainName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.String defaultDomainName { get; set; } - - /// - /// The "classification" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.String classification { get; set; } - - /// - /// The "createdDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.DateTimeOffset createdDateTime { get; set; } - - /// - /// The "groupTypes" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.group")] - public System.String[] groupTypes { get; set; } - - /// - /// The "mailEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean mailEnabled { get; set; } - - /// - /// The "renewedDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.DateTimeOffset renewedDateTime { get; set; } - - /// - /// The "securityEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean securityEnabled { get; set; } - - /// - /// The "visibility" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.String visibility { get; set; } - - /// - /// The "allowExternalSenders" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean allowExternalSenders { get; set; } - - /// - /// The "autoSubscribeNewMembers" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean autoSubscribeNewMembers { get; set; } - - /// - /// The "isSubscribedByMail" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean isSubscribedByMail { get; set; } - - /// - /// The "unseenCount" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Int32 unseenCount { get; set; } - - /// - /// The "members" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] members { get; set; } - - /// - /// The "createdOnBehalfOf" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Object createdOnBehalfOf { get; set; } - - /// - /// The "owners" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] owners { get; set; } - - /// - /// The "settings" property, of type "microsoft.graph.groupSetting". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.groupSetting")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] settings { get; set; } - - /// - /// The "groupLifecyclePolicies" property, of type "microsoft.graph.groupLifecyclePolicy". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.groupLifecyclePolicy")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] groupLifecyclePolicies { get; set; } - - /// - /// The "roleTemplateId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.directoryRole" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.directoryRole")] - public System.String roleTemplateId { get; set; } - - /// - /// The "alternativeSecurityIds" property, of type "microsoft.graph.alternativeSecurityId". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.alternativeSecurityId")] - [Selectable] - [DerivedType("microsoft.graph.device")] - public System.Object[] alternativeSecurityIds { get; set; } - - /// - /// The "approximateLastSignInDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.DateTimeOffset approximateLastSignInDateTime { get; set; } - - /// - /// The "deviceId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String deviceId { get; set; } - - /// - /// The "deviceMetadata" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String deviceMetadata { get; set; } - - /// - /// The "deviceVersion" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Int32 deviceVersion { get; set; } - - /// - /// The "isCompliant" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Boolean isCompliant { get; set; } - - /// - /// The "isManaged" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Boolean isManaged { get; set; } - - /// - /// The "operatingSystem" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String operatingSystem { get; set; } - - /// - /// The "operatingSystemVersion" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String operatingSystemVersion { get; set; } - - /// - /// The "physicalIds" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.device")] - public System.String[] physicalIds { get; set; } - - /// - /// The "trustType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String trustType { get; set; } - - /// - /// The "registeredOwners" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] registeredOwners { get; set; } - - /// - /// The "registeredUsers" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] registeredUsers { get; set; } - - /// - /// The "extensions" property, of type "microsoft.graph.extension". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.extension", "microsoft.graph.openTypeExtension")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] extensions { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/directReports/{directoryObjectId ?? string.Empty}"; - } - } - - /// - /// Retrieves "microsoft.graph.directoryObject" object references. - /// GET ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/directReports/$ref - /// Retrieves "microsoft.graph.directoryObject" object references in the "directReports" collection. - /// - /// GitHub Repository - [Cmdlet("Get", "DirectoryObjects_DirectReportsReferences", DefaultParameterSetName = @"Search")] - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [ResourceTypePropertyName("directReportODataType")] - public class Get_DirectoryObjects_DirectReportsReferences : GetOrSearchCmdlet - { - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - [Parameter(ParameterSetName = @"Get", Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - /// - /// The "deletedDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.directoryObject" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - public System.DateTimeOffset deletedDateTime { get; set; } - - /// - /// The "displayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.String displayName { get; set; } - - /// - /// The "description" property, of type "Edm.String". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.String description { get; set; } - - /// - /// The "values" property, of type "microsoft.graph.settingTemplateValue". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("microsoft.graph.settingTemplateValue")] - [Selectable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.Object[] values { get; set; } - - /// - /// The "accountEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Boolean accountEnabled { get; set; } - - /// - /// The "ageGroup" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String ageGroup { get; set; } - - /// - /// The "assignedLicenses" property, of type "microsoft.graph.assignedLicense". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.assignedLicense")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] assignedLicenses { get; set; } - - /// - /// The "assignedPlans" property, of type "microsoft.graph.assignedPlan". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.assignedPlan")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] assignedPlans { get; set; } - - /// - /// The "businessPhones" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] businessPhones { get; set; } - - /// - /// The "city" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String city { get; set; } - - /// - /// The "companyName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String companyName { get; set; } - - /// - /// The "consentProvidedForMinor" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String consentProvidedForMinor { get; set; } - - /// - /// The "country" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String country { get; set; } - - /// - /// The "department" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String department { get; set; } - - /// - /// The "givenName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String givenName { get; set; } - - /// - /// The "imAddresses" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] imAddresses { get; set; } - - /// - /// The "jobTitle" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String jobTitle { get; set; } - - /// - /// The "legalAgeGroupClassification" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String legalAgeGroupClassification { get; set; } - - /// - /// The "mail" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mail { get; set; } - - /// - /// The "mailNickname" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mailNickname { get; set; } - - /// - /// The "mobilePhone" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mobilePhone { get; set; } - - /// - /// The "onPremisesExtensionAttributes" property, of type "microsoft.graph.onPremisesExtensionAttributes". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.onPremisesExtensionAttributes")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object onPremisesExtensionAttributes { get; set; } - - /// - /// The "onPremisesImmutableId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesImmutableId { get; set; } - - /// - /// The "onPremisesLastSyncDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset onPremisesLastSyncDateTime { get; set; } - - /// - /// The "onPremisesProvisioningErrors" property, of type "microsoft.graph.onPremisesProvisioningError". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.onPremisesProvisioningError")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] onPremisesProvisioningErrors { get; set; } - - /// - /// The "onPremisesSecurityIdentifier" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesSecurityIdentifier { get; set; } - - /// - /// The "onPremisesSyncEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Boolean onPremisesSyncEnabled { get; set; } - - /// - /// The "onPremisesDomainName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesDomainName { get; set; } - - /// - /// The "onPremisesSamAccountName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesSamAccountName { get; set; } - - /// - /// The "onPremisesUserPrincipalName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesUserPrincipalName { get; set; } - - /// - /// The "passwordPolicies" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String passwordPolicies { get; set; } - - /// - /// The "passwordProfile" property, of type "microsoft.graph.passwordProfile". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.passwordProfile")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object passwordProfile { get; set; } - - /// - /// The "officeLocation" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String officeLocation { get; set; } - - /// - /// The "postalCode" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String postalCode { get; set; } - - /// - /// The "preferredLanguage" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String preferredLanguage { get; set; } - - /// - /// The "provisionedPlans" property, of type "microsoft.graph.provisionedPlan". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.provisionedPlan")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] provisionedPlans { get; set; } - - /// - /// The "proxyAddresses" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] proxyAddresses { get; set; } - - /// - /// The "state" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String state { get; set; } - - /// - /// The "streetAddress" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String streetAddress { get; set; } - - /// - /// The "surname" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String surname { get; set; } - - /// - /// The "usageLocation" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String usageLocation { get; set; } - - /// - /// The "userPrincipalName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String userPrincipalName { get; set; } - - /// - /// The "userType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String userType { get; set; } - - /// - /// The "mailboxSettings" property, of type "microsoft.graph.mailboxSettings". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.mailboxSettings")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object mailboxSettings { get; set; } - - /// - /// The "aboutMe" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String aboutMe { get; set; } - - /// - /// The "birthday" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset birthday { get; set; } - - /// - /// The "hireDate" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset hireDate { get; set; } - - /// - /// The "interests" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] interests { get; set; } - - /// - /// The "mySite" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mySite { get; set; } - - /// - /// The "pastProjects" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] pastProjects { get; set; } - - /// - /// The "preferredName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String preferredName { get; set; } - - /// - /// The "responsibilities" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] responsibilities { get; set; } - - /// - /// The "schools" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] schools { get; set; } - - /// - /// The "skills" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] skills { get; set; } - - /// - /// The "deviceEnrollmentLimit" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.user" type. - /// The limit on the maximum number of devices that the user is permitted to enroll. Allowed values are 5 or 1000. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Int32 deviceEnrollmentLimit { get; set; } - - /// - /// The "ownedDevices" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] ownedDevices { get; set; } - - /// - /// The "registeredDevices" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] registeredDevices { get; set; } - - /// - /// The "manager" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object manager { get; set; } - - /// - /// The "directReports" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] directReports { get; set; } - - /// - /// The "memberOf" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] memberOf { get; set; } - - /// - /// The "createdObjects" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] createdObjects { get; set; } - - /// - /// The "ownedObjects" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] ownedObjects { get; set; } - - /// - /// The "licenseDetails" property, of type "microsoft.graph.licenseDetails". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.licenseDetails")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] licenseDetails { get; set; } - - /// - /// The "inferenceClassification" property, of type "microsoft.graph.inferenceClassification". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.inferenceClassification")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object inferenceClassification { get; set; } - - /// - /// The "photo" property, of type "microsoft.graph.profilePhoto". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.profilePhoto")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object photo { get; set; } - - /// - /// The "photos" property, of type "microsoft.graph.profilePhoto". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.profilePhoto")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] photos { get; set; } - - /// - /// The "managedDevices" property, of type "microsoft.graph.managedDevice". - /// This property is on the "microsoft.graph.user" type. - /// The managed devices associated with the user. - /// - [ODataType("microsoft.graph.managedDevice")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] managedDevices { get; set; } - - /// - /// The "managedAppRegistrations" property, of type "microsoft.graph.managedAppRegistration". - /// This property is on the "microsoft.graph.user" type. - /// Zero or more managed app registrations that belong to the user. - /// - [ODataType("microsoft.graph.managedAppRegistration", "microsoft.graph.androidManagedAppRegistration", "microsoft.graph.iosManagedAppRegistration")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] managedAppRegistrations { get; set; } - - /// - /// The "deviceManagementTroubleshootingEvents" property, of type "microsoft.graph.deviceManagementTroubleshootingEvent". - /// This property is on the "microsoft.graph.user" type. - /// The list of troubleshooting events for this user. - /// - [ODataType("microsoft.graph.deviceManagementTroubleshootingEvent", "microsoft.graph.enrollmentTroubleshootingEvent")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] deviceManagementTroubleshootingEvents { get; set; } - - /// - /// The "countryLetterCode" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String countryLetterCode { get; set; } - - /// - /// The "marketingNotificationEmails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] marketingNotificationEmails { get; set; } - - /// - /// The "privacyProfile" property, of type "microsoft.graph.privacyProfile". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("microsoft.graph.privacyProfile")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.Object privacyProfile { get; set; } - - /// - /// The "securityComplianceNotificationMails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] securityComplianceNotificationMails { get; set; } - - /// - /// The "securityComplianceNotificationPhones" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] securityComplianceNotificationPhones { get; set; } - - /// - /// The "street" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String street { get; set; } - - /// - /// The "technicalNotificationMails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] technicalNotificationMails { get; set; } - - /// - /// The "mobileDeviceManagementAuthority" property, of type "microsoft.graph.mdmAuthority". - /// This property is on the "microsoft.graph.organization" type. - /// Mobile device management authority. - /// - [ODataType("microsoft.graph.mdmAuthority")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String mobileDeviceManagementAuthority { get; set; } - - /// - /// The "contractType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.String contractType { get; set; } - - /// - /// The "customerId" property, of type "Edm.Guid". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.Guid")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.Guid customerId { get; set; } - - /// - /// The "defaultDomainName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.String defaultDomainName { get; set; } - - /// - /// The "classification" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.String classification { get; set; } - - /// - /// The "createdDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.DateTimeOffset createdDateTime { get; set; } - - /// - /// The "groupTypes" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.group")] - public System.String[] groupTypes { get; set; } - - /// - /// The "mailEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean mailEnabled { get; set; } - - /// - /// The "renewedDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.DateTimeOffset renewedDateTime { get; set; } - - /// - /// The "securityEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean securityEnabled { get; set; } - - /// - /// The "visibility" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.String visibility { get; set; } - - /// - /// The "allowExternalSenders" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean allowExternalSenders { get; set; } - - /// - /// The "autoSubscribeNewMembers" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean autoSubscribeNewMembers { get; set; } - - /// - /// The "isSubscribedByMail" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean isSubscribedByMail { get; set; } - - /// - /// The "unseenCount" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Int32 unseenCount { get; set; } - - /// - /// The "members" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] members { get; set; } - - /// - /// The "createdOnBehalfOf" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Object createdOnBehalfOf { get; set; } - - /// - /// The "owners" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] owners { get; set; } - - /// - /// The "settings" property, of type "microsoft.graph.groupSetting". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.groupSetting")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] settings { get; set; } - - /// - /// The "groupLifecyclePolicies" property, of type "microsoft.graph.groupLifecyclePolicy". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.groupLifecyclePolicy")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] groupLifecyclePolicies { get; set; } - - /// - /// The "roleTemplateId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.directoryRole" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.directoryRole")] - public System.String roleTemplateId { get; set; } - - /// - /// The "alternativeSecurityIds" property, of type "microsoft.graph.alternativeSecurityId". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.alternativeSecurityId")] - [Selectable] - [DerivedType("microsoft.graph.device")] - public System.Object[] alternativeSecurityIds { get; set; } - - /// - /// The "approximateLastSignInDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.DateTimeOffset approximateLastSignInDateTime { get; set; } - - /// - /// The "deviceId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String deviceId { get; set; } - - /// - /// The "deviceMetadata" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String deviceMetadata { get; set; } - - /// - /// The "deviceVersion" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Int32 deviceVersion { get; set; } - - /// - /// The "isCompliant" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Boolean isCompliant { get; set; } - - /// - /// The "isManaged" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Boolean isManaged { get; set; } - - /// - /// The "operatingSystem" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String operatingSystem { get; set; } - - /// - /// The "operatingSystemVersion" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String operatingSystemVersion { get; set; } - - /// - /// The "physicalIds" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.device")] - public System.String[] physicalIds { get; set; } - - /// - /// The "trustType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String trustType { get; set; } - - /// - /// The "registeredOwners" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] registeredOwners { get; set; } - - /// - /// The "registeredUsers" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] registeredUsers { get; set; } - - /// - /// The "extensions" property, of type "microsoft.graph.extension". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.extension", "microsoft.graph.openTypeExtension")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] extensions { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/directReports/{directoryObjectId ?? string.Empty}/$ref"; - } - } - - /// - /// Creates a reference from a "directoryObject" to a "microsoft.graph.directoryObject" object. - /// POST ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/directReports/$ref - /// Creates a reference from the specified "directoryObject" object to a "directReport". - /// - /// GitHub Repository - [Cmdlet("New", "DirectoryObjects_DirectReportsReferences", ConfirmImpact = ConfirmImpact.Low)] - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [ResourceTypePropertyName("directReportODataType")] - public class New_DirectoryObjects_DirectReportsReferences : PostReferenceToCollectionCmdlet - { - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - /// - /// The URL which should be used to access a "microsoft.graph.directoryObject" object. - /// - [Selectable] - [Expandable] - [Alias("deviceReferenceUrl", "directoryRoleReferenceUrl", "directoryRoleTemplateReferenceUrl", "groupReferenceUrl", "contractReferenceUrl", "organizationReferenceUrl", "userReferenceUrl", "groupSettingTemplateReferenceUrl", "administrativeUnitReferenceUrl")] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The URL which should be used to access a "microsoft.graph.directoryObject" object.")] - public System.String directoryObjectReferenceUrl { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/directReports/{directoryObjectId}/$ref"; - } - - internal override System.Object GetContent() - { - return this.GetReferenceRequestContent(directoryObjectReferenceUrl); - } - } - - /// - /// Removes a reference from a "directoryObject" to a "microsoft.graph.directoryObject" object. - /// DELETE ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/directReports/directoryObjectId/$ref - /// Removes a reference from the specified "directoryObject" object to a "directReport". - /// - /// GitHub Repository - [Cmdlet("Remove", "DirectoryObjects_DirectReportsReferences", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [ResourceTypePropertyName("directReportODataType")] - public class Remove_DirectoryObjects_DirectReportsReferences : DeleteCmdlet - { - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/directReports/{directoryObjectId}/$ref"; - } - } -} \ No newline at end of file diff --git a/PowerShellCmdlets/Generated/SDK/DirectoryObjects/Extensions.cs b/PowerShellCmdlets/Generated/SDK/DirectoryObjects/Extensions.cs deleted file mode 100644 index a043e75..0000000 --- a/PowerShellCmdlets/Generated/SDK/DirectoryObjects/Extensions.cs +++ /dev/null @@ -1,262 +0,0 @@ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. - -namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets -{ - using System.Management.Automation; - - /// - /// Retrieves "microsoft.graph.extension" objects. - /// GET ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/extensions - /// Retrieves "microsoft.graph.extension" objects in the "extensions" collection. - /// - /// GitHub Repository - [Cmdlet("Get", "DirectoryObjects_Extensions", DefaultParameterSetName = @"Search")] - [ODataType("microsoft.graph.extension", "microsoft.graph.openTypeExtension")] - [ResourceTypePropertyName("extensionODataType")] - [ResourceReference] - public class Get_DirectoryObjects_Extensions : GetOrSearchCmdlet - { - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - /// - /// The ID for a "microsoft.graph.extension" object in the "extensions" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(ParameterSetName = @"Get", Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.extension" object in the "extensions" collection.")] - public System.String extensionId { get; set; } - - /// - /// The "extensionName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.openTypeExtension" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.openTypeExtension")] - public System.String extensionName { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/extensions/{extensionId ?? string.Empty}"; - } - } - - /// - /// Creates a "microsoft.graph.extension" object. - /// POST ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/extensions - /// Adds a "microsoft.graph.extension" object to the "extensions" collection. - /// - /// GitHub Repository - [Cmdlet("New", "DirectoryObjects_Extensions", ConfirmImpact = ConfirmImpact.Low)] - [ODataType("microsoft.graph.extension", "microsoft.graph.openTypeExtension")] - [ResourceTypePropertyName("extensionODataType")] - [ResourceReference] - public class New_DirectoryObjects_Extensions : PostCmdlet - { - /// - /// The ID for a "microsoft.graph.extension" object in the "extensions" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - public System.String extensionId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - /// - /// A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.openTypeExtension" type. - /// - [Selectable] - [Expandable] - [ParameterSetSelector(@"microsoft.graph.openTypeExtension")] - [Parameter(ParameterSetName = @"microsoft.graph.openTypeExtension", Mandatory = true, HelpMessage = @"A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.openTypeExtension" type.")] - public System.Management.Automation.SwitchParameter openTypeExtension { get; set; } - - /// - /// The "extensionName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.openTypeExtension" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.openTypeExtension", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "extensionName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "extensionName" property, of type "Edm.String".")] - public System.String extensionName { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/extensions/{extensionId}"; - } - } - - /// - /// Updates a "microsoft.graph.extension". - /// PATCH ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/extensions - /// Updates a "microsoft.graph.extension" object in the "extensions" collection. - /// - /// GitHub Repository - [Cmdlet("Update", "DirectoryObjects_Extensions", ConfirmImpact = ConfirmImpact.Medium)] - [ODataType("microsoft.graph.extension", "microsoft.graph.openTypeExtension")] - [ResourceTypePropertyName("extensionODataType")] - public class Update_DirectoryObjects_Extensions : PatchCmdlet - { - /// - /// The ID for a "microsoft.graph.extension" object in the "extensions" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.extension" object in the "extensions" collection.")] - public System.String extensionId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - /// - /// A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.openTypeExtension" type. - /// - [Selectable] - [Expandable] - [ParameterSetSelector(@"microsoft.graph.openTypeExtension")] - [Parameter(ParameterSetName = @"microsoft.graph.openTypeExtension", Mandatory = true, HelpMessage = @"A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.openTypeExtension" type.")] - public System.Management.Automation.SwitchParameter openTypeExtension { get; set; } - - /// - /// The "extensionName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.openTypeExtension" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.openTypeExtension", HelpMessage = @"The "extensionName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "extensionName" property, of type "Edm.String".")] - public System.String extensionName { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/extensions/{extensionId}"; - } - } - - /// - /// Removes a "microsoft.graph.extension" object. - /// DELETE ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/extensions/extensionId - /// Removes a "microsoft.graph.extension" object from the "extensions" collection. - /// - /// GitHub Repository - [Cmdlet("Remove", "DirectoryObjects_Extensions", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.extension", "microsoft.graph.openTypeExtension")] - [ResourceTypePropertyName("extensionODataType")] - public class Remove_DirectoryObjects_Extensions : DeleteCmdlet - { - /// - /// The ID for a "microsoft.graph.extension" object in the "extensions" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.extension" object in the "extensions" collection.")] - public System.String extensionId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/extensions/{extensionId}"; - } - } -} \ No newline at end of file diff --git a/PowerShellCmdlets/Generated/SDK/DirectoryObjects/GroupLifecyclePolicies.cs b/PowerShellCmdlets/Generated/SDK/DirectoryObjects/GroupLifecyclePolicies.cs deleted file mode 100644 index 9096451..0000000 --- a/PowerShellCmdlets/Generated/SDK/DirectoryObjects/GroupLifecyclePolicies.cs +++ /dev/null @@ -1,425 +0,0 @@ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. - -namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets -{ - using System.Management.Automation; - - /// - /// Retrieves "microsoft.graph.groupLifecyclePolicy" objects. - /// GET ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/groupLifecyclePolicies - /// Retrieves "microsoft.graph.groupLifecyclePolicy" objects in the "groupLifecyclePolicies" collection. - /// - /// GitHub Repository - [Cmdlet("Get", "DirectoryObjects_GroupLifecyclePolicies", DefaultParameterSetName = @"Search")] - [ODataType("microsoft.graph.groupLifecyclePolicy")] - [ResourceTypePropertyName("groupLifecyclePolicyODataType")] - [ResourceReference] - public class Get_DirectoryObjects_GroupLifecyclePolicies : GetOrSearchCmdlet - { - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - /// - /// The ID for a "microsoft.graph.groupLifecyclePolicy" object in the "groupLifecyclePolicies" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(ParameterSetName = @"Get", Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.groupLifecyclePolicy" object in the "groupLifecyclePolicies" collection.")] - public System.String groupLifecyclePolicyId { get; set; } - - /// - /// The "groupLifetimeInDays" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.groupLifecyclePolicy" type. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - public System.Int32 groupLifetimeInDays { get; set; } - - /// - /// The "managedGroupTypes" property, of type "Edm.String". - /// This property is on the "microsoft.graph.groupLifecyclePolicy" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String managedGroupTypes { get; set; } - - /// - /// The "alternateNotificationEmails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.groupLifecyclePolicy" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String alternateNotificationEmails { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/groupLifecyclePolicies/{groupLifecyclePolicyId ?? string.Empty}"; - } - } - - /// - /// Creates a "microsoft.graph.groupLifecyclePolicy" object. - /// POST ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/groupLifecyclePolicies - /// Adds a "microsoft.graph.groupLifecyclePolicy" object to the "groupLifecyclePolicies" collection. - /// - /// GitHub Repository - [Cmdlet("New", "DirectoryObjects_GroupLifecyclePolicies", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.groupLifecyclePolicy")] - [ODataType("microsoft.graph.groupLifecyclePolicy")] - [ResourceTypePropertyName("groupLifecyclePolicyODataType")] - [ResourceReference] - public class New_DirectoryObjects_GroupLifecyclePolicies : PostCmdlet - { - /// - /// The ID for a "microsoft.graph.groupLifecyclePolicy" object in the "groupLifecyclePolicies" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - public System.String groupLifecyclePolicyId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - /// - /// The "groupLifetimeInDays" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.groupLifecyclePolicy" type. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.groupLifecyclePolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "groupLifetimeInDays" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "groupLifetimeInDays" property, of type "Edm.Int32".")] - public System.Int32 groupLifetimeInDays { get; set; } - - /// - /// The "managedGroupTypes" property, of type "Edm.String". - /// This property is on the "microsoft.graph.groupLifecyclePolicy" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.groupLifecyclePolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "managedGroupTypes" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "managedGroupTypes" property, of type "Edm.String".")] - public System.String managedGroupTypes { get; set; } - - /// - /// The "alternateNotificationEmails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.groupLifecyclePolicy" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.groupLifecyclePolicy", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "alternateNotificationEmails" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "alternateNotificationEmails" property, of type "Edm.String".")] - public System.String alternateNotificationEmails { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/groupLifecyclePolicies/{groupLifecyclePolicyId}"; - } - } - - /// - /// Updates a "microsoft.graph.groupLifecyclePolicy". - /// PATCH ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/groupLifecyclePolicies - /// Updates a "microsoft.graph.groupLifecyclePolicy" object in the "groupLifecyclePolicies" collection. - /// - /// GitHub Repository - [Cmdlet("Update", "DirectoryObjects_GroupLifecyclePolicies", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.groupLifecyclePolicy")] - [ODataType("microsoft.graph.groupLifecyclePolicy")] - [ResourceTypePropertyName("groupLifecyclePolicyODataType")] - public class Update_DirectoryObjects_GroupLifecyclePolicies : PatchCmdlet - { - /// - /// The ID for a "microsoft.graph.groupLifecyclePolicy" object in the "groupLifecyclePolicies" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.groupLifecyclePolicy" object in the "groupLifecyclePolicies" collection.")] - public System.String groupLifecyclePolicyId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - /// - /// The "groupLifetimeInDays" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.groupLifecyclePolicy" type. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.groupLifecyclePolicy", HelpMessage = @"The "groupLifetimeInDays" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "groupLifetimeInDays" property, of type "Edm.Int32".")] - public System.Int32 groupLifetimeInDays { get; set; } - - /// - /// The "managedGroupTypes" property, of type "Edm.String". - /// This property is on the "microsoft.graph.groupLifecyclePolicy" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.groupLifecyclePolicy", HelpMessage = @"The "managedGroupTypes" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "managedGroupTypes" property, of type "Edm.String".")] - public System.String managedGroupTypes { get; set; } - - /// - /// The "alternateNotificationEmails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.groupLifecyclePolicy" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.groupLifecyclePolicy", HelpMessage = @"The "alternateNotificationEmails" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "alternateNotificationEmails" property, of type "Edm.String".")] - public System.String alternateNotificationEmails { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/groupLifecyclePolicies/{groupLifecyclePolicyId}"; - } - } - - /// - /// Removes a "microsoft.graph.groupLifecyclePolicy" object. - /// DELETE ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/groupLifecyclePolicies/groupLifecyclePolicyId - /// Removes a "microsoft.graph.groupLifecyclePolicy" object from the "groupLifecyclePolicies" collection. - /// - /// GitHub Repository - [Cmdlet("Remove", "DirectoryObjects_GroupLifecyclePolicies", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.groupLifecyclePolicy")] - [ResourceTypePropertyName("groupLifecyclePolicyODataType")] - public class Remove_DirectoryObjects_GroupLifecyclePolicies : DeleteCmdlet - { - /// - /// The ID for a "microsoft.graph.groupLifecyclePolicy" object in the "groupLifecyclePolicies" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.groupLifecyclePolicy" object in the "groupLifecyclePolicies" collection.")] - public System.String groupLifecyclePolicyId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/groupLifecyclePolicies/{groupLifecyclePolicyId}"; - } - } - - /// - /// POST ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/groupLifecyclePolicies/addGroup - /// The action "microsoft.graph.addGroup", which exists on the type "microsoft.graph.groupLifecyclePolicy". - /// This action returns a "Edm.Boolean" object. - /// - /// GitHub Repository - [Cmdlet("Invoke", "DirectoryObjects_GroupLifecyclePolicies_AddGroup", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.groupLifecyclePolicy")] - [ResourceTypePropertyName("groupLifecyclePolicyODataType")] - public class Invoke_DirectoryObjects_GroupLifecyclePolicies_AddGroup : ActionCmdlet - { - /// - /// The "groupId" action parameter of type "Edm.String". - /// - [ODataType("Edm.String")] - [Selectable] - [Expandable] - [ValidateNotNull] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "groupId" action parameter of type "Edm.String".")] - public System.String groupId { get; set; } - - /// - /// The ID for a "microsoft.graph.groupLifecyclePolicy" object in the "groupLifecyclePolicies" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.groupLifecyclePolicy" object in the "groupLifecyclePolicies" collection.")] - public System.String groupLifecyclePolicyId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/groupLifecyclePolicies/{groupLifecyclePolicyId}/addGroup"; - } - } - - /// - /// POST ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/groupLifecyclePolicies/removeGroup - /// The action "microsoft.graph.removeGroup", which exists on the type "microsoft.graph.groupLifecyclePolicy". - /// This action returns a "Edm.Boolean" object. - /// - /// GitHub Repository - [Cmdlet("Invoke", "DirectoryObjects_GroupLifecyclePolicies_RemoveGroup", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.groupLifecyclePolicy")] - [ResourceTypePropertyName("groupLifecyclePolicyODataType")] - public class Invoke_DirectoryObjects_GroupLifecyclePolicies_RemoveGroup : ActionCmdlet - { - /// - /// The "groupId" action parameter of type "Edm.String". - /// - [ODataType("Edm.String")] - [Selectable] - [Expandable] - [ValidateNotNull] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "groupId" action parameter of type "Edm.String".")] - public System.String groupId { get; set; } - - /// - /// The ID for a "microsoft.graph.groupLifecyclePolicy" object in the "groupLifecyclePolicies" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.groupLifecyclePolicy" object in the "groupLifecyclePolicies" collection.")] - public System.String groupLifecyclePolicyId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/groupLifecyclePolicies/{groupLifecyclePolicyId}/removeGroup"; - } - } -} \ No newline at end of file diff --git a/PowerShellCmdlets/Generated/SDK/DirectoryObjects/InferenceClassification.cs b/PowerShellCmdlets/Generated/SDK/DirectoryObjects/InferenceClassification.cs deleted file mode 100644 index a51b90d..0000000 --- a/PowerShellCmdlets/Generated/SDK/DirectoryObjects/InferenceClassification.cs +++ /dev/null @@ -1,110 +0,0 @@ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. - -namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets -{ - using System.Management.Automation; - - /// - /// Retrieves the "inferenceClassification" object. - /// GET ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/inferenceClassification - /// Retrieves the "inferenceClassification" object (which is of type "microsoft.graph.inferenceClassification"). - /// - /// GitHub Repository - [Cmdlet("Get", "DirectoryObjects_InferenceClassification", DefaultParameterSetName = @"Get")] - [ODataType("microsoft.graph.inferenceClassification")] - [ResourceTypePropertyName("inferenceClassificationODataType")] - [ResourceReference] - public class Get_DirectoryObjects_InferenceClassification : GetCmdlet - { - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - /// - /// The "overrides" property, of type "microsoft.graph.inferenceClassificationOverride". - /// This property is on the "microsoft.graph.inferenceClassification" type. - /// - [ODataType("microsoft.graph.inferenceClassificationOverride")] - [Selectable] - [Expandable] - public System.Object[] overrides { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/inferenceClassification"; - } - } - - /// - /// Updates a "microsoft.graph.inferenceClassification". - /// PATCH ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/inferenceClassification - /// Updates the "inferenceClassification" object (which is of type "microsoft.graph.inferenceClassification"). - /// - /// GitHub Repository - [Cmdlet("Update", "DirectoryObjects_InferenceClassification", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.inferenceClassification")] - [ODataType("microsoft.graph.inferenceClassification")] - [ResourceTypePropertyName("inferenceClassificationODataType")] - public class Update_DirectoryObjects_InferenceClassification : PatchCmdlet - { - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - /// - /// The "overrides" property, of type "microsoft.graph.inferenceClassificationOverride". - /// This property is on the "microsoft.graph.inferenceClassification" type. - /// - [ODataType("microsoft.graph.inferenceClassificationOverride")] - [Selectable] - [Expandable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.inferenceClassification", HelpMessage = @"The "overrides" property, of type "microsoft.graph.inferenceClassificationOverride".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "overrides" property, of type "microsoft.graph.inferenceClassificationOverride".")] - public System.Object[] overrides { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/inferenceClassification"; - } - } -} \ No newline at end of file diff --git a/PowerShellCmdlets/Generated/SDK/DirectoryObjects/InferenceClassification/Overrides.cs b/PowerShellCmdlets/Generated/SDK/DirectoryObjects/InferenceClassification/Overrides.cs deleted file mode 100644 index 4b8a7c0..0000000 --- a/PowerShellCmdlets/Generated/SDK/DirectoryObjects/InferenceClassification/Overrides.cs +++ /dev/null @@ -1,280 +0,0 @@ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. - -namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets -{ - using System.Management.Automation; - - /// - /// Retrieves "microsoft.graph.inferenceClassificationOverride" objects. - /// GET ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/inferenceClassification/overrides - /// Retrieves "microsoft.graph.inferenceClassificationOverride" objects in the "overrides" collection. - /// - /// GitHub Repository - [Cmdlet("Get", "DirectoryObjects_InferenceClassification_Overrides", DefaultParameterSetName = @"Search")] - [ODataType("microsoft.graph.inferenceClassificationOverride")] - [ResourceTypePropertyName("overrideODataType")] - [ResourceReference] - public class Get_DirectoryObjects_InferenceClassification_Overrides : GetOrSearchCmdlet - { - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - /// - /// The ID for a "microsoft.graph.inferenceClassificationOverride" object in the "overrides" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(ParameterSetName = @"Get", Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.inferenceClassificationOverride" object in the "overrides" collection.")] - public System.String inferenceClassificationOverrideId { get; set; } - - /// - /// The "classifyAs" property, of type "microsoft.graph.inferenceClassificationType". - /// This property is on the "microsoft.graph.inferenceClassificationOverride" type. - /// - [ODataType("microsoft.graph.inferenceClassificationType")] - [Selectable] - [Sortable] - public System.String classifyAs { get; set; } - - /// - /// The "senderEmailAddress" property, of type "microsoft.graph.emailAddress". - /// This property is on the "microsoft.graph.inferenceClassificationOverride" type. - /// - [ODataType("microsoft.graph.emailAddress")] - [Selectable] - [Sortable] - public System.Object senderEmailAddress { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/inferenceClassification/overrides/{inferenceClassificationOverrideId ?? string.Empty}"; - } - } - - /// - /// Creates a "microsoft.graph.inferenceClassificationOverride" object. - /// POST ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/inferenceClassification/overrides - /// Adds a "microsoft.graph.inferenceClassificationOverride" object to the "overrides" collection. - /// - /// GitHub Repository - [Cmdlet("New", "DirectoryObjects_InferenceClassification_Overrides", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.inferenceClassificationOverride")] - [ODataType("microsoft.graph.inferenceClassificationOverride")] - [ResourceTypePropertyName("overrideODataType")] - [ResourceReference] - public class New_DirectoryObjects_InferenceClassification_Overrides : PostCmdlet - { - /// - /// The ID for a "microsoft.graph.inferenceClassificationOverride" object in the "overrides" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - public System.String inferenceClassificationOverrideId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - /// - /// The "classifyAs" property, of type "microsoft.graph.inferenceClassificationType". - /// This property is on the "microsoft.graph.inferenceClassificationOverride" type. - /// - /// Valid values: 'focused', 'other' - /// - /// - [ODataType("microsoft.graph.inferenceClassificationType")] - [Selectable] - [ValidateSet(@"focused", @"other")] - [Parameter(ParameterSetName = @"microsoft.graph.inferenceClassificationOverride", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "classifyAs" property, of type "microsoft.graph.inferenceClassificationType".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "classifyAs" property, of type "microsoft.graph.inferenceClassificationType".")] - public System.String classifyAs { get; set; } - - /// - /// The "senderEmailAddress" property, of type "microsoft.graph.emailAddress". - /// This property is on the "microsoft.graph.inferenceClassificationOverride" type. - /// - [ODataType("microsoft.graph.emailAddress")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.inferenceClassificationOverride", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "senderEmailAddress" property, of type "microsoft.graph.emailAddress".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "senderEmailAddress" property, of type "microsoft.graph.emailAddress".")] - public System.Object senderEmailAddress { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/inferenceClassification/overrides/{inferenceClassificationOverrideId}"; - } - } - - /// - /// Updates a "microsoft.graph.inferenceClassificationOverride". - /// PATCH ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/inferenceClassification/overrides - /// Updates a "microsoft.graph.inferenceClassificationOverride" object in the "overrides" collection. - /// - /// GitHub Repository - [Cmdlet("Update", "DirectoryObjects_InferenceClassification_Overrides", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.inferenceClassificationOverride")] - [ODataType("microsoft.graph.inferenceClassificationOverride")] - [ResourceTypePropertyName("overrideODataType")] - public class Update_DirectoryObjects_InferenceClassification_Overrides : PatchCmdlet - { - /// - /// The ID for a "microsoft.graph.inferenceClassificationOverride" object in the "overrides" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.inferenceClassificationOverride" object in the "overrides" collection.")] - public System.String inferenceClassificationOverrideId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - /// - /// The "classifyAs" property, of type "microsoft.graph.inferenceClassificationType". - /// This property is on the "microsoft.graph.inferenceClassificationOverride" type. - /// - /// Valid values: 'focused', 'other' - /// - /// - [ODataType("microsoft.graph.inferenceClassificationType")] - [Selectable] - [ValidateSet(@"focused", @"other")] - [Parameter(ParameterSetName = @"microsoft.graph.inferenceClassificationOverride", HelpMessage = @"The "classifyAs" property, of type "microsoft.graph.inferenceClassificationType".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "classifyAs" property, of type "microsoft.graph.inferenceClassificationType".")] - public System.String classifyAs { get; set; } - - /// - /// The "senderEmailAddress" property, of type "microsoft.graph.emailAddress". - /// This property is on the "microsoft.graph.inferenceClassificationOverride" type. - /// - [ODataType("microsoft.graph.emailAddress")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.inferenceClassificationOverride", HelpMessage = @"The "senderEmailAddress" property, of type "microsoft.graph.emailAddress".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "senderEmailAddress" property, of type "microsoft.graph.emailAddress".")] - public System.Object senderEmailAddress { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/inferenceClassification/overrides/{inferenceClassificationOverrideId}"; - } - } - - /// - /// Removes a "microsoft.graph.inferenceClassificationOverride" object. - /// DELETE ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/inferenceClassification/overrides/inferenceClassificationOverrideId - /// Removes a "microsoft.graph.inferenceClassificationOverride" object from the "overrides" collection. - /// - /// GitHub Repository - [Cmdlet("Remove", "DirectoryObjects_InferenceClassification_Overrides", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.inferenceClassificationOverride")] - [ResourceTypePropertyName("overrideODataType")] - public class Remove_DirectoryObjects_InferenceClassification_Overrides : DeleteCmdlet - { - /// - /// The ID for a "microsoft.graph.inferenceClassificationOverride" object in the "overrides" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.inferenceClassificationOverride" object in the "overrides" collection.")] - public System.String inferenceClassificationOverrideId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/inferenceClassification/overrides/{inferenceClassificationOverrideId}"; - } - } -} \ No newline at end of file diff --git a/PowerShellCmdlets/Generated/SDK/DirectoryObjects/LicenseDetails.cs b/PowerShellCmdlets/Generated/SDK/DirectoryObjects/LicenseDetails.cs deleted file mode 100644 index cac7b84..0000000 --- a/PowerShellCmdlets/Generated/SDK/DirectoryObjects/LicenseDetails.cs +++ /dev/null @@ -1,302 +0,0 @@ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. - -namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets -{ - using System.Management.Automation; - - /// - /// Retrieves "microsoft.graph.licenseDetails" objects. - /// GET ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/licenseDetails - /// Retrieves "microsoft.graph.licenseDetails" objects in the "licenseDetails" collection. - /// - /// GitHub Repository - [Cmdlet("Get", "DirectoryObjects_LicenseDetails", DefaultParameterSetName = @"Search")] - [ODataType("microsoft.graph.licenseDetails")] - [ResourceTypePropertyName("licenseDetailODataType")] - [ResourceReference] - public class Get_DirectoryObjects_LicenseDetails : GetOrSearchCmdlet - { - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - /// - /// The ID for a "microsoft.graph.licenseDetails" object in the "licenseDetails" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(ParameterSetName = @"Get", Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.licenseDetails" object in the "licenseDetails" collection.")] - public System.String licenseDetailId { get; set; } - - /// - /// The "servicePlans" property, of type "microsoft.graph.servicePlanInfo". - /// This property is on the "microsoft.graph.licenseDetails" type. - /// - [ODataType("microsoft.graph.servicePlanInfo")] - [Selectable] - public System.Object[] servicePlans { get; set; } - - /// - /// The "skuId" property, of type "Edm.Guid". - /// This property is on the "microsoft.graph.licenseDetails" type. - /// - [ODataType("Edm.Guid")] - [Selectable] - [Sortable] - public System.Guid skuId { get; set; } - - /// - /// The "skuPartNumber" property, of type "Edm.String". - /// This property is on the "microsoft.graph.licenseDetails" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String skuPartNumber { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/licenseDetails/{licenseDetailId ?? string.Empty}"; - } - } - - /// - /// Creates a "microsoft.graph.licenseDetails" object. - /// POST ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/licenseDetails - /// Adds a "microsoft.graph.licenseDetails" object to the "licenseDetails" collection. - /// - /// GitHub Repository - [Cmdlet("New", "DirectoryObjects_LicenseDetails", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.licenseDetails")] - [ODataType("microsoft.graph.licenseDetails")] - [ResourceTypePropertyName("licenseDetailODataType")] - [ResourceReference] - public class New_DirectoryObjects_LicenseDetails : PostCmdlet - { - /// - /// The ID for a "microsoft.graph.licenseDetails" object in the "licenseDetails" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - public System.String licenseDetailId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - /// - /// The "servicePlans" property, of type "microsoft.graph.servicePlanInfo". - /// This property is on the "microsoft.graph.licenseDetails" type. - /// - [ODataType("microsoft.graph.servicePlanInfo")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.licenseDetails", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "servicePlans" property, of type "microsoft.graph.servicePlanInfo".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "servicePlans" property, of type "microsoft.graph.servicePlanInfo".")] - public System.Object[] servicePlans { get; set; } - - /// - /// The "skuId" property, of type "Edm.Guid". - /// This property is on the "microsoft.graph.licenseDetails" type. - /// - [ODataType("Edm.Guid")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.licenseDetails", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "skuId" property, of type "Edm.Guid".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "skuId" property, of type "Edm.Guid".")] - public System.Guid skuId { get; set; } - - /// - /// The "skuPartNumber" property, of type "Edm.String". - /// This property is on the "microsoft.graph.licenseDetails" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.licenseDetails", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "skuPartNumber" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "skuPartNumber" property, of type "Edm.String".")] - public System.String skuPartNumber { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/licenseDetails/{licenseDetailId}"; - } - } - - /// - /// Updates a "microsoft.graph.licenseDetails". - /// PATCH ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/licenseDetails - /// Updates a "microsoft.graph.licenseDetails" object in the "licenseDetails" collection. - /// - /// GitHub Repository - [Cmdlet("Update", "DirectoryObjects_LicenseDetails", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.licenseDetails")] - [ODataType("microsoft.graph.licenseDetails")] - [ResourceTypePropertyName("licenseDetailODataType")] - public class Update_DirectoryObjects_LicenseDetails : PatchCmdlet - { - /// - /// The ID for a "microsoft.graph.licenseDetails" object in the "licenseDetails" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.licenseDetails" object in the "licenseDetails" collection.")] - public System.String licenseDetailId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - /// - /// The "servicePlans" property, of type "microsoft.graph.servicePlanInfo". - /// This property is on the "microsoft.graph.licenseDetails" type. - /// - [ODataType("microsoft.graph.servicePlanInfo")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.licenseDetails", HelpMessage = @"The "servicePlans" property, of type "microsoft.graph.servicePlanInfo".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "servicePlans" property, of type "microsoft.graph.servicePlanInfo".")] - public System.Object[] servicePlans { get; set; } - - /// - /// The "skuId" property, of type "Edm.Guid". - /// This property is on the "microsoft.graph.licenseDetails" type. - /// - [ODataType("Edm.Guid")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.licenseDetails", HelpMessage = @"The "skuId" property, of type "Edm.Guid".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "skuId" property, of type "Edm.Guid".")] - public System.Guid skuId { get; set; } - - /// - /// The "skuPartNumber" property, of type "Edm.String". - /// This property is on the "microsoft.graph.licenseDetails" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.licenseDetails", HelpMessage = @"The "skuPartNumber" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "skuPartNumber" property, of type "Edm.String".")] - public System.String skuPartNumber { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/licenseDetails/{licenseDetailId}"; - } - } - - /// - /// Removes a "microsoft.graph.licenseDetails" object. - /// DELETE ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/licenseDetails/licenseDetailId - /// Removes a "microsoft.graph.licenseDetails" object from the "licenseDetails" collection. - /// - /// GitHub Repository - [Cmdlet("Remove", "DirectoryObjects_LicenseDetails", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.licenseDetails")] - [ResourceTypePropertyName("licenseDetailODataType")] - public class Remove_DirectoryObjects_LicenseDetails : DeleteCmdlet - { - /// - /// The ID for a "microsoft.graph.licenseDetails" object in the "licenseDetails" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.licenseDetails" object in the "licenseDetails" collection.")] - public System.String licenseDetailId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/licenseDetails/{licenseDetailId}"; - } - } -} \ No newline at end of file diff --git a/PowerShellCmdlets/Generated/SDK/DirectoryObjects/ManagedAppRegistrations.cs b/PowerShellCmdlets/Generated/SDK/DirectoryObjects/ManagedAppRegistrations.cs deleted file mode 100644 index 7884790..0000000 --- a/PowerShellCmdlets/Generated/SDK/DirectoryObjects/ManagedAppRegistrations.cs +++ /dev/null @@ -1,529 +0,0 @@ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. - -namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets -{ - using System.Management.Automation; - - /// - /// Retrieves "microsoft.graph.managedAppRegistration" objects. - /// GET ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/managedAppRegistrations - /// Retrieves "microsoft.graph.managedAppRegistration" objects in the "managedAppRegistrations" collection. - /// Zero or more managed app registrations that belong to the user. - /// - /// GitHub Repository - [Cmdlet("Get", "DirectoryObjects_ManagedAppRegistrations", DefaultParameterSetName = @"Search")] - [ODataType("microsoft.graph.managedAppRegistration", "microsoft.graph.androidManagedAppRegistration", "microsoft.graph.iosManagedAppRegistration")] - [ResourceTypePropertyName("managedAppRegistrationODataType")] - public class Get_DirectoryObjects_ManagedAppRegistrations : GetOrSearchCmdlet - { - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - /// - /// The ID for a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(ParameterSetName = @"Get", Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection.")] - public System.String managedAppRegistrationId { get; set; } - - /// - /// The "createdDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.managedAppRegistration" type. - /// Date and time of creation - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - public System.DateTimeOffset createdDateTime { get; set; } - - /// - /// The "lastSyncDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.managedAppRegistration" type. - /// Date and time of last the app synced with management service. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - public System.DateTimeOffset lastSyncDateTime { get; set; } - - /// - /// The "applicationVersion" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedAppRegistration" type. - /// App version - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String applicationVersion { get; set; } - - /// - /// The "managementSdkVersion" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedAppRegistration" type. - /// App management SDK version - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String managementSdkVersion { get; set; } - - /// - /// The "platformVersion" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedAppRegistration" type. - /// Operating System version - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String platformVersion { get; set; } - - /// - /// The "deviceType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedAppRegistration" type. - /// Host device type - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String deviceType { get; set; } - - /// - /// The "deviceTag" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedAppRegistration" type. - /// App management SDK generated tag, which helps relate apps hosted on the same device. Not guaranteed to relate apps in all conditions. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String deviceTag { get; set; } - - /// - /// The "deviceName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedAppRegistration" type. - /// Host device name - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String deviceName { get; set; } - - /// - /// The "flaggedReasons" property, of type "microsoft.graph.managedAppFlaggedReason". - /// This property is on the "microsoft.graph.managedAppRegistration" type. - /// Zero or more reasons an app registration is flagged. E.g. app running on rooted device - /// - [ODataType("microsoft.graph.managedAppFlaggedReason")] - [Selectable] - public System.String[] flaggedReasons { get; set; } - - /// - /// The "userId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedAppRegistration" type. - /// The user Id to who this app registration belongs. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String userId { get; set; } - - /// - /// The "appIdentifier" property, of type "microsoft.graph.mobileAppIdentifier". - /// This property is on the "microsoft.graph.managedAppRegistration" type. - /// The app package Identifier - /// - [ODataType("microsoft.graph.mobileAppIdentifier", "microsoft.graph.iosMobileAppIdentifier", "microsoft.graph.androidMobileAppIdentifier")] - [Selectable] - [Sortable] - public System.Object appIdentifier { get; set; } - - /// - /// The "version" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedAppRegistration" type. - /// Version of the entity. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String version { get; set; } - - /// - /// The "appliedPolicies" property, of type "microsoft.graph.managedAppPolicy". - /// This property is on the "microsoft.graph.managedAppRegistration" type. - /// Zero or more policys already applied on the registered app when it last synchronized with managment service. - /// - [ODataType("microsoft.graph.managedAppPolicy", "microsoft.graph.windowsInformationProtection", "microsoft.graph.windowsInformationProtectionPolicy", "microsoft.graph.mdmWindowsInformationProtectionPolicy", "microsoft.graph.managedAppConfiguration", "microsoft.graph.targetedManagedAppConfiguration", "microsoft.graph.managedAppProtection", "microsoft.graph.defaultManagedAppProtection", "microsoft.graph.targetedManagedAppProtection", "microsoft.graph.androidManagedAppProtection", "microsoft.graph.iosManagedAppProtection")] - [Selectable] - [Expandable] - public System.Object[] appliedPolicies { get; set; } - - /// - /// The "intendedPolicies" property, of type "microsoft.graph.managedAppPolicy". - /// This property is on the "microsoft.graph.managedAppRegistration" type. - /// Zero or more policies admin intended for the app as of now. - /// - [ODataType("microsoft.graph.managedAppPolicy", "microsoft.graph.windowsInformationProtection", "microsoft.graph.windowsInformationProtectionPolicy", "microsoft.graph.mdmWindowsInformationProtectionPolicy", "microsoft.graph.managedAppConfiguration", "microsoft.graph.targetedManagedAppConfiguration", "microsoft.graph.managedAppProtection", "microsoft.graph.defaultManagedAppProtection", "microsoft.graph.targetedManagedAppProtection", "microsoft.graph.androidManagedAppProtection", "microsoft.graph.iosManagedAppProtection")] - [Selectable] - [Expandable] - public System.Object[] intendedPolicies { get; set; } - - /// - /// The "operations" property, of type "microsoft.graph.managedAppOperation". - /// This property is on the "microsoft.graph.managedAppRegistration" type. - /// Zero or more long running operations triggered on the app registration. - /// - [ODataType("microsoft.graph.managedAppOperation")] - [Selectable] - [Expandable] - public System.Object[] operations { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/managedAppRegistrations/{managedAppRegistrationId ?? string.Empty}"; - } - } - - /// - /// Retrieves "microsoft.graph.managedAppRegistration" object references. - /// GET ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/managedAppRegistrations/$ref - /// Retrieves "microsoft.graph.managedAppRegistration" object references in the "managedAppRegistrations" collection. - /// Zero or more managed app registrations that belong to the user. - /// - /// GitHub Repository - [Cmdlet("Get", "DirectoryObjects_ManagedAppRegistrationsReferences", DefaultParameterSetName = @"Search")] - [ODataType("microsoft.graph.managedAppRegistration", "microsoft.graph.androidManagedAppRegistration", "microsoft.graph.iosManagedAppRegistration")] - [ResourceTypePropertyName("managedAppRegistrationODataType")] - public class Get_DirectoryObjects_ManagedAppRegistrationsReferences : GetOrSearchCmdlet - { - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - /// - /// The ID for a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(ParameterSetName = @"Get", Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection.")] - public System.String managedAppRegistrationId { get; set; } - - /// - /// The "createdDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.managedAppRegistration" type. - /// Date and time of creation - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - public System.DateTimeOffset createdDateTime { get; set; } - - /// - /// The "lastSyncDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.managedAppRegistration" type. - /// Date and time of last the app synced with management service. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - public System.DateTimeOffset lastSyncDateTime { get; set; } - - /// - /// The "applicationVersion" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedAppRegistration" type. - /// App version - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String applicationVersion { get; set; } - - /// - /// The "managementSdkVersion" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedAppRegistration" type. - /// App management SDK version - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String managementSdkVersion { get; set; } - - /// - /// The "platformVersion" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedAppRegistration" type. - /// Operating System version - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String platformVersion { get; set; } - - /// - /// The "deviceType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedAppRegistration" type. - /// Host device type - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String deviceType { get; set; } - - /// - /// The "deviceTag" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedAppRegistration" type. - /// App management SDK generated tag, which helps relate apps hosted on the same device. Not guaranteed to relate apps in all conditions. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String deviceTag { get; set; } - - /// - /// The "deviceName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedAppRegistration" type. - /// Host device name - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String deviceName { get; set; } - - /// - /// The "flaggedReasons" property, of type "microsoft.graph.managedAppFlaggedReason". - /// This property is on the "microsoft.graph.managedAppRegistration" type. - /// Zero or more reasons an app registration is flagged. E.g. app running on rooted device - /// - [ODataType("microsoft.graph.managedAppFlaggedReason")] - [Selectable] - public System.String[] flaggedReasons { get; set; } - - /// - /// The "userId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedAppRegistration" type. - /// The user Id to who this app registration belongs. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String userId { get; set; } - - /// - /// The "appIdentifier" property, of type "microsoft.graph.mobileAppIdentifier". - /// This property is on the "microsoft.graph.managedAppRegistration" type. - /// The app package Identifier - /// - [ODataType("microsoft.graph.mobileAppIdentifier", "microsoft.graph.iosMobileAppIdentifier", "microsoft.graph.androidMobileAppIdentifier")] - [Selectable] - [Sortable] - public System.Object appIdentifier { get; set; } - - /// - /// The "version" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedAppRegistration" type. - /// Version of the entity. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String version { get; set; } - - /// - /// The "appliedPolicies" property, of type "microsoft.graph.managedAppPolicy". - /// This property is on the "microsoft.graph.managedAppRegistration" type. - /// Zero or more policys already applied on the registered app when it last synchronized with managment service. - /// - [ODataType("microsoft.graph.managedAppPolicy", "microsoft.graph.windowsInformationProtection", "microsoft.graph.windowsInformationProtectionPolicy", "microsoft.graph.mdmWindowsInformationProtectionPolicy", "microsoft.graph.managedAppConfiguration", "microsoft.graph.targetedManagedAppConfiguration", "microsoft.graph.managedAppProtection", "microsoft.graph.defaultManagedAppProtection", "microsoft.graph.targetedManagedAppProtection", "microsoft.graph.androidManagedAppProtection", "microsoft.graph.iosManagedAppProtection")] - [Selectable] - [Expandable] - public System.Object[] appliedPolicies { get; set; } - - /// - /// The "intendedPolicies" property, of type "microsoft.graph.managedAppPolicy". - /// This property is on the "microsoft.graph.managedAppRegistration" type. - /// Zero or more policies admin intended for the app as of now. - /// - [ODataType("microsoft.graph.managedAppPolicy", "microsoft.graph.windowsInformationProtection", "microsoft.graph.windowsInformationProtectionPolicy", "microsoft.graph.mdmWindowsInformationProtectionPolicy", "microsoft.graph.managedAppConfiguration", "microsoft.graph.targetedManagedAppConfiguration", "microsoft.graph.managedAppProtection", "microsoft.graph.defaultManagedAppProtection", "microsoft.graph.targetedManagedAppProtection", "microsoft.graph.androidManagedAppProtection", "microsoft.graph.iosManagedAppProtection")] - [Selectable] - [Expandable] - public System.Object[] intendedPolicies { get; set; } - - /// - /// The "operations" property, of type "microsoft.graph.managedAppOperation". - /// This property is on the "microsoft.graph.managedAppRegistration" type. - /// Zero or more long running operations triggered on the app registration. - /// - [ODataType("microsoft.graph.managedAppOperation")] - [Selectable] - [Expandable] - public System.Object[] operations { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/managedAppRegistrations/{managedAppRegistrationId ?? string.Empty}/$ref"; - } - } - - /// - /// Creates a reference from a "directoryObject" to a "microsoft.graph.managedAppRegistration" object. - /// POST ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/managedAppRegistrations/$ref - /// Creates a reference from the specified "directoryObject" object to a "managedAppRegistration". - /// Zero or more managed app registrations that belong to the user. - /// - /// GitHub Repository - [Cmdlet("New", "DirectoryObjects_ManagedAppRegistrationsReferences", ConfirmImpact = ConfirmImpact.Low)] - [ODataType("microsoft.graph.managedAppRegistration", "microsoft.graph.androidManagedAppRegistration", "microsoft.graph.iosManagedAppRegistration")] - [ResourceTypePropertyName("managedAppRegistrationODataType")] - public class New_DirectoryObjects_ManagedAppRegistrationsReferences : PostReferenceToCollectionCmdlet - { - /// - /// The ID for a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - public System.String managedAppRegistrationId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - /// - /// The URL which should be used to access a "microsoft.graph.managedAppRegistration" object. - /// - [Selectable] - [Expandable] - [Alias("iosManagedAppRegistrationReferenceUrl", "androidManagedAppRegistrationReferenceUrl")] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The URL which should be used to access a "microsoft.graph.managedAppRegistration" object.")] - public System.String managedAppRegistrationReferenceUrl { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/managedAppRegistrations/{managedAppRegistrationId}/$ref"; - } - - internal override System.Object GetContent() - { - return this.GetReferenceRequestContent(managedAppRegistrationReferenceUrl); - } - } - - /// - /// Removes a reference from a "directoryObject" to a "microsoft.graph.managedAppRegistration" object. - /// DELETE ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/managedAppRegistrations/managedAppRegistrationId/$ref - /// Removes a reference from the specified "directoryObject" object to a "managedAppRegistration". - /// Zero or more managed app registrations that belong to the user. - /// - /// GitHub Repository - [Cmdlet("Remove", "DirectoryObjects_ManagedAppRegistrationsReferences", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.managedAppRegistration", "microsoft.graph.androidManagedAppRegistration", "microsoft.graph.iosManagedAppRegistration")] - [ResourceTypePropertyName("managedAppRegistrationODataType")] - public class Remove_DirectoryObjects_ManagedAppRegistrationsReferences : DeleteCmdlet - { - /// - /// The ID for a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection.")] - public System.String managedAppRegistrationId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/managedAppRegistrations/{managedAppRegistrationId}/$ref"; - } - } -} \ No newline at end of file diff --git a/PowerShellCmdlets/Generated/SDK/DirectoryObjects/ManagedDevices.cs b/PowerShellCmdlets/Generated/SDK/DirectoryObjects/ManagedDevices.cs deleted file mode 100644 index 8782db9..0000000 --- a/PowerShellCmdlets/Generated/SDK/DirectoryObjects/ManagedDevices.cs +++ /dev/null @@ -1,2863 +0,0 @@ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. - -namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets -{ - using System.Management.Automation; - - /// - /// Retrieves "microsoft.graph.managedDevice" objects. - /// GET ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/managedDevices - /// Retrieves "microsoft.graph.managedDevice" objects in the "managedDevices" collection. - /// The managed devices associated with the user. - /// - /// GitHub Repository - [Cmdlet("Get", "DirectoryObjects_ManagedDevices", DefaultParameterSetName = @"Search")] - [ODataType("microsoft.graph.managedDevice")] - [ResourceTypePropertyName("managedDeviceODataType")] - [ResourceReference] - public class Get_DirectoryObjects_ManagedDevices : GetOrSearchCmdlet - { - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - /// - /// The ID for a "microsoft.graph.managedDevice" object in the "managedDevices" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(ParameterSetName = @"Get", Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.managedDevice" object in the "managedDevices" collection.")] - public System.String managedDeviceId { get; set; } - - /// - /// The "userId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Unique Identifier for the user associated with the device - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String userId { get; set; } - - /// - /// The "deviceName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Name of the device - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String deviceName { get; set; } - - /// - /// The "managedDeviceOwnerType" property, of type "microsoft.graph.managedDeviceOwnerType". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Ownership of the device. Can be 'company' or 'personal' - /// - [ODataType("microsoft.graph.managedDeviceOwnerType")] - [Selectable] - [Sortable] - public System.String managedDeviceOwnerType { get; set; } - - /// - /// The "deviceActionResults" property, of type "microsoft.graph.deviceActionResult". - /// This property is on the "microsoft.graph.managedDevice" type. - /// List of ComplexType deviceActionResult objects. - /// - [ODataType("microsoft.graph.deviceActionResult", "microsoft.graph.resetPasscodeActionResult", "microsoft.graph.remoteLockActionResult", "microsoft.graph.locateDeviceActionResult", "microsoft.graph.deleteUserFromSharedAppleDeviceActionResult", "microsoft.graph.windowsDefenderScanActionResult")] - [Selectable] - public System.Object[] deviceActionResults { get; set; } - - /// - /// The "enrolledDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Enrollment time of the device. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - public System.DateTimeOffset enrolledDateTime { get; set; } - - /// - /// The "lastSyncDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.managedDevice" type. - /// The date and time that the device last completed a successful sync with Intune. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - public System.DateTimeOffset lastSyncDateTime { get; set; } - - /// - /// The "operatingSystem" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Operating system of the device. Windows, iOS, etc. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String operatingSystem { get; set; } - - /// - /// The "complianceState" property, of type "microsoft.graph.complianceState". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Compliance state of the device. - /// - [ODataType("microsoft.graph.complianceState")] - [Selectable] - [Sortable] - public System.String complianceState { get; set; } - - /// - /// The "jailBroken" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// whether the device is jail broken or rooted. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String jailBroken { get; set; } - - /// - /// The "managementAgent" property, of type "microsoft.graph.managementAgentType". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Management channel of the device. Intune, EAS, etc. - /// - [ODataType("microsoft.graph.managementAgentType")] - [Selectable] - [Sortable] - public System.String managementAgent { get; set; } - - /// - /// The "osVersion" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Operating system version of the device. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String osVersion { get; set; } - - /// - /// The "easActivated" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Whether the device is Exchange ActiveSync activated. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - public System.Boolean easActivated { get; set; } - - /// - /// The "easDeviceId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Exchange ActiveSync Id of the device. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String easDeviceId { get; set; } - - /// - /// The "easActivationDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Exchange ActivationSync activation time of the device. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - public System.DateTimeOffset easActivationDateTime { get; set; } - - /// - /// The "azureADRegistered" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Whether the device is Azure Active Directory registered. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - public System.Boolean azureADRegistered { get; set; } - - /// - /// The "deviceEnrollmentType" property, of type "microsoft.graph.deviceEnrollmentType". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Enrollment type of the device. - /// - [ODataType("microsoft.graph.deviceEnrollmentType")] - [Selectable] - [Sortable] - public System.String deviceEnrollmentType { get; set; } - - /// - /// The "activationLockBypassCode" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Code that allows the Activation Lock on a device to be bypassed. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String activationLockBypassCode { get; set; } - - /// - /// The "emailAddress" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Email(s) for the user associated with the device - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String emailAddress { get; set; } - - /// - /// The "azureADDeviceId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// The unique identifier for the Azure Active Directory device. Read only. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String azureADDeviceId { get; set; } - - /// - /// The "deviceRegistrationState" property, of type "microsoft.graph.deviceRegistrationState". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Device registration state. - /// - [ODataType("microsoft.graph.deviceRegistrationState")] - [Selectable] - [Sortable] - public System.String deviceRegistrationState { get; set; } - - /// - /// The "deviceCategoryDisplayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Device category display name - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String deviceCategoryDisplayName { get; set; } - - /// - /// The "isSupervised" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Device supervised status - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - public System.Boolean isSupervised { get; set; } - - /// - /// The "exchangeLastSuccessfulSyncDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Last time the device contacted Exchange. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - public System.DateTimeOffset exchangeLastSuccessfulSyncDateTime { get; set; } - - /// - /// The "exchangeAccessState" property, of type "microsoft.graph.deviceManagementExchangeAccessState". - /// This property is on the "microsoft.graph.managedDevice" type. - /// The Access State of the device in Exchange. - /// - [ODataType("microsoft.graph.deviceManagementExchangeAccessState")] - [Selectable] - [Sortable] - public System.String exchangeAccessState { get; set; } - - /// - /// The "exchangeAccessStateReason" property, of type "microsoft.graph.deviceManagementExchangeAccessStateReason". - /// This property is on the "microsoft.graph.managedDevice" type. - /// The reason for the device's access state in Exchange. - /// - [ODataType("microsoft.graph.deviceManagementExchangeAccessStateReason")] - [Selectable] - [Sortable] - public System.String exchangeAccessStateReason { get; set; } - - /// - /// The "remoteAssistanceSessionUrl" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Url that allows a Remote Assistance session to be established with the device. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String remoteAssistanceSessionUrl { get; set; } - - /// - /// The "remoteAssistanceSessionErrorDetails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// An error string that identifies issues when creating Remote Assistance session objects. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String remoteAssistanceSessionErrorDetails { get; set; } - - /// - /// The "isEncrypted" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Device encryption status - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - public System.Boolean isEncrypted { get; set; } - - /// - /// The "userPrincipalName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Device user principal name - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String userPrincipalName { get; set; } - - /// - /// The "model" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Model of the device - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String model { get; set; } - - /// - /// The "manufacturer" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Manufacturer of the device - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String manufacturer { get; set; } - - /// - /// The "imei" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// IMEI - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String imei { get; set; } - - /// - /// The "complianceGracePeriodExpirationDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.managedDevice" type. - /// The DateTime when device compliance grace period expires - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - public System.DateTimeOffset complianceGracePeriodExpirationDateTime { get; set; } - - /// - /// The "serialNumber" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// SerialNumber - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String serialNumber { get; set; } - - /// - /// The "phoneNumber" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Phone number of the device - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String phoneNumber { get; set; } - - /// - /// The "androidSecurityPatchLevel" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Android security patch level - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String androidSecurityPatchLevel { get; set; } - - /// - /// The "userDisplayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// User display name - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String userDisplayName { get; set; } - - /// - /// The "configurationManagerClientEnabledFeatures" property, of type "microsoft.graph.configurationManagerClientEnabledFeatures". - /// This property is on the "microsoft.graph.managedDevice" type. - /// ConfigrMgr client enabled features - /// - [ODataType("microsoft.graph.configurationManagerClientEnabledFeatures")] - [Selectable] - [Sortable] - public System.Object configurationManagerClientEnabledFeatures { get; set; } - - /// - /// The "wiFiMacAddress" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Wi-Fi MAC - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String wiFiMacAddress { get; set; } - - /// - /// The "deviceHealthAttestationState" property, of type "microsoft.graph.deviceHealthAttestationState". - /// This property is on the "microsoft.graph.managedDevice" type. - /// The device health attestation state. - /// - [ODataType("microsoft.graph.deviceHealthAttestationState")] - [Selectable] - [Sortable] - public System.Object deviceHealthAttestationState { get; set; } - - /// - /// The "subscriberCarrier" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Subscriber Carrier - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String subscriberCarrier { get; set; } - - /// - /// The "meid" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// MEID - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String meid { get; set; } - - /// - /// The "totalStorageSpaceInBytes" property, of type "Edm.Int64". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Total Storage in Bytes - /// - [ODataType("Edm.Int64")] - [Selectable] - [Sortable] - public System.Int64 totalStorageSpaceInBytes { get; set; } - - /// - /// The "freeStorageSpaceInBytes" property, of type "Edm.Int64". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Free Storage in Bytes - /// - [ODataType("Edm.Int64")] - [Selectable] - [Sortable] - public System.Int64 freeStorageSpaceInBytes { get; set; } - - /// - /// The "managedDeviceName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Automatically generated name to identify a device. Can be overwritten to a user friendly name. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String managedDeviceName { get; set; } - - /// - /// The "partnerReportedThreatState" property, of type "microsoft.graph.managedDevicePartnerReportedHealthState". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Indicates the threat state of a device when a Mobile Threat Defense partner is in use by the account and device. Read Only. - /// - [ODataType("microsoft.graph.managedDevicePartnerReportedHealthState")] - [Selectable] - [Sortable] - public System.String partnerReportedThreatState { get; set; } - - /// - /// The "deviceConfigurationStates" property, of type "microsoft.graph.deviceConfigurationState". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Device configuration states for this device. - /// - [ODataType("microsoft.graph.deviceConfigurationState")] - [Selectable] - [Expandable] - public System.Object[] deviceConfigurationStates { get; set; } - - /// - /// The "deviceCategory" property, of type "microsoft.graph.deviceCategory". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Device category - /// - [ODataType("microsoft.graph.deviceCategory")] - [Selectable] - [Expandable] - [Sortable] - public System.Object deviceCategory { get; set; } - - /// - /// The "deviceCompliancePolicyStates" property, of type "microsoft.graph.deviceCompliancePolicyState". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Device compliance policy states for this device. - /// - [ODataType("microsoft.graph.deviceCompliancePolicyState")] - [Selectable] - [Expandable] - public System.Object[] deviceCompliancePolicyStates { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/managedDevices/{managedDeviceId ?? string.Empty}"; - } - } - - /// - /// Creates a "microsoft.graph.managedDevice" object. - /// POST ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/managedDevices - /// Adds a "microsoft.graph.managedDevice" object to the "managedDevices" collection. - /// The managed devices associated with the user. - /// - /// GitHub Repository - [Cmdlet("New", "DirectoryObjects_ManagedDevices", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.managedDevice")] - [ODataType("microsoft.graph.managedDevice")] - [ResourceTypePropertyName("managedDeviceODataType")] - [ResourceReference] - public class New_DirectoryObjects_ManagedDevices : PostCmdlet - { - /// - /// The ID for a "microsoft.graph.managedDevice" object in the "managedDevices" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - public System.String managedDeviceId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - /// - /// The "userId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Unique Identifier for the user associated with the device - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "userId" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "userId" property, of type "Edm.String".")] - public System.String userId { get; set; } - - /// - /// The "deviceName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Name of the device - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "deviceName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "deviceName" property, of type "Edm.String".")] - public System.String deviceName { get; set; } - - /// - /// The "managedDeviceOwnerType" property, of type "microsoft.graph.managedDeviceOwnerType". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Ownership of the device. Can be 'company' or 'personal' - /// - /// Valid values: 'unknown', 'company', 'personal' - /// - /// - [ODataType("microsoft.graph.managedDeviceOwnerType")] - [Selectable] - [ValidateSet(@"unknown", @"company", @"personal")] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "managedDeviceOwnerType" property, of type "microsoft.graph.managedDeviceOwnerType".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "managedDeviceOwnerType" property, of type "microsoft.graph.managedDeviceOwnerType".")] - public System.String managedDeviceOwnerType { get; set; } - - /// - /// The "deviceActionResults" property, of type "microsoft.graph.deviceActionResult". - /// This property is on the "microsoft.graph.managedDevice" type. - /// List of ComplexType deviceActionResult objects. - /// - [ODataType("microsoft.graph.deviceActionResult", "microsoft.graph.resetPasscodeActionResult", "microsoft.graph.remoteLockActionResult", "microsoft.graph.locateDeviceActionResult", "microsoft.graph.deleteUserFromSharedAppleDeviceActionResult", "microsoft.graph.windowsDefenderScanActionResult")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "deviceActionResults" property, of type "microsoft.graph.deviceActionResult".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "deviceActionResults" property, of type "microsoft.graph.deviceActionResult".")] - public System.Object[] deviceActionResults { get; set; } - - /// - /// The "enrolledDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Enrollment time of the device. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "enrolledDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "enrolledDateTime" property, of type "Edm.DateTimeOffset".")] - public System.DateTimeOffset enrolledDateTime { get; set; } - - /// - /// The "lastSyncDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.managedDevice" type. - /// The date and time that the device last completed a successful sync with Intune. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "lastSyncDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "lastSyncDateTime" property, of type "Edm.DateTimeOffset".")] - public System.DateTimeOffset lastSyncDateTime { get; set; } - - /// - /// The "operatingSystem" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Operating system of the device. Windows, iOS, etc. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "operatingSystem" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "operatingSystem" property, of type "Edm.String".")] - public System.String operatingSystem { get; set; } - - /// - /// The "complianceState" property, of type "microsoft.graph.complianceState". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Compliance state of the device. - /// - /// Valid values: 'unknown', 'compliant', 'noncompliant', 'conflict', 'error', 'inGracePeriod', 'configManager' - /// - /// - [ODataType("microsoft.graph.complianceState")] - [Selectable] - [ValidateSet(@"unknown", @"compliant", @"noncompliant", @"conflict", @"error", @"inGracePeriod", @"configManager")] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "complianceState" property, of type "microsoft.graph.complianceState".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "complianceState" property, of type "microsoft.graph.complianceState".")] - public System.String complianceState { get; set; } - - /// - /// The "jailBroken" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// whether the device is jail broken or rooted. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "jailBroken" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "jailBroken" property, of type "Edm.String".")] - public System.String jailBroken { get; set; } - - /// - /// The "managementAgent" property, of type "microsoft.graph.managementAgentType". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Management channel of the device. Intune, EAS, etc. - /// - /// Valid values: 'eas', 'mdm', 'easMdm', 'intuneClient', 'easIntuneClient', 'configurationManagerClient', 'configurationManagerClientMdm', 'configurationManagerClientMdmEas', 'unknown', 'jamf', 'googleCloudDevicePolicyController' - /// - /// - [ODataType("microsoft.graph.managementAgentType")] - [Selectable] - [ValidateSet(@"eas", @"mdm", @"easMdm", @"intuneClient", @"easIntuneClient", @"configurationManagerClient", @"configurationManagerClientMdm", @"configurationManagerClientMdmEas", @"unknown", @"jamf", @"googleCloudDevicePolicyController")] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "managementAgent" property, of type "microsoft.graph.managementAgentType".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "managementAgent" property, of type "microsoft.graph.managementAgentType".")] - public System.String managementAgent { get; set; } - - /// - /// The "osVersion" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Operating system version of the device. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "osVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "osVersion" property, of type "Edm.String".")] - public System.String osVersion { get; set; } - - /// - /// The "easActivated" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Whether the device is Exchange ActiveSync activated. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "easActivated" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "easActivated" property, of type "Edm.Boolean".")] - public System.Boolean easActivated { get; set; } - - /// - /// The "easDeviceId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Exchange ActiveSync Id of the device. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "easDeviceId" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "easDeviceId" property, of type "Edm.String".")] - public System.String easDeviceId { get; set; } - - /// - /// The "easActivationDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Exchange ActivationSync activation time of the device. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "easActivationDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "easActivationDateTime" property, of type "Edm.DateTimeOffset".")] - public System.DateTimeOffset easActivationDateTime { get; set; } - - /// - /// The "azureADRegistered" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Whether the device is Azure Active Directory registered. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "azureADRegistered" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "azureADRegistered" property, of type "Edm.Boolean".")] - public System.Boolean azureADRegistered { get; set; } - - /// - /// The "deviceEnrollmentType" property, of type "microsoft.graph.deviceEnrollmentType". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Enrollment type of the device. - /// - /// Valid values: 'unknown', 'userEnrollment', 'deviceEnrollmentManager', 'appleBulkWithUser', 'appleBulkWithoutUser', 'windowsAzureADJoin', 'windowsBulkUserless', 'windowsAutoEnrollment', 'windowsBulkAzureDomainJoin', 'windowsCoManagement' - /// - /// - [ODataType("microsoft.graph.deviceEnrollmentType")] - [Selectable] - [ValidateSet(@"unknown", @"userEnrollment", @"deviceEnrollmentManager", @"appleBulkWithUser", @"appleBulkWithoutUser", @"windowsAzureADJoin", @"windowsBulkUserless", @"windowsAutoEnrollment", @"windowsBulkAzureDomainJoin", @"windowsCoManagement")] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "deviceEnrollmentType" property, of type "microsoft.graph.deviceEnrollmentType".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "deviceEnrollmentType" property, of type "microsoft.graph.deviceEnrollmentType".")] - public System.String deviceEnrollmentType { get; set; } - - /// - /// The "activationLockBypassCode" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Code that allows the Activation Lock on a device to be bypassed. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "activationLockBypassCode" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "activationLockBypassCode" property, of type "Edm.String".")] - public System.String activationLockBypassCode { get; set; } - - /// - /// The "emailAddress" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Email(s) for the user associated with the device - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "emailAddress" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "emailAddress" property, of type "Edm.String".")] - public System.String emailAddress { get; set; } - - /// - /// The "azureADDeviceId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// The unique identifier for the Azure Active Directory device. Read only. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "azureADDeviceId" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "azureADDeviceId" property, of type "Edm.String".")] - public System.String azureADDeviceId { get; set; } - - /// - /// The "deviceRegistrationState" property, of type "microsoft.graph.deviceRegistrationState". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Device registration state. - /// - /// Valid values: 'notRegistered', 'registered', 'revoked', 'keyConflict', 'approvalPending', 'certificateReset', 'notRegisteredPendingEnrollment', 'unknown' - /// - /// - [ODataType("microsoft.graph.deviceRegistrationState")] - [Selectable] - [ValidateSet(@"notRegistered", @"registered", @"revoked", @"keyConflict", @"approvalPending", @"certificateReset", @"notRegisteredPendingEnrollment", @"unknown")] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "deviceRegistrationState" property, of type "microsoft.graph.deviceRegistrationState".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "deviceRegistrationState" property, of type "microsoft.graph.deviceRegistrationState".")] - public System.String deviceRegistrationState { get; set; } - - /// - /// The "deviceCategoryDisplayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Device category display name - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "deviceCategoryDisplayName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "deviceCategoryDisplayName" property, of type "Edm.String".")] - public System.String deviceCategoryDisplayName { get; set; } - - /// - /// The "isSupervised" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Device supervised status - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "isSupervised" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "isSupervised" property, of type "Edm.Boolean".")] - public System.Boolean isSupervised { get; set; } - - /// - /// The "exchangeLastSuccessfulSyncDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Last time the device contacted Exchange. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "exchangeLastSuccessfulSyncDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "exchangeLastSuccessfulSyncDateTime" property, of type "Edm.DateTimeOffset".")] - public System.DateTimeOffset exchangeLastSuccessfulSyncDateTime { get; set; } - - /// - /// The "exchangeAccessState" property, of type "microsoft.graph.deviceManagementExchangeAccessState". - /// This property is on the "microsoft.graph.managedDevice" type. - /// The Access State of the device in Exchange. - /// - /// Valid values: 'none', 'unknown', 'allowed', 'blocked', 'quarantined' - /// - /// - [ODataType("microsoft.graph.deviceManagementExchangeAccessState")] - [Selectable] - [ValidateSet(@"none", @"unknown", @"allowed", @"blocked", @"quarantined")] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "exchangeAccessState" property, of type "microsoft.graph.deviceManagementExchangeAccessState".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "exchangeAccessState" property, of type "microsoft.graph.deviceManagementExchangeAccessState".")] - public System.String exchangeAccessState { get; set; } - - /// - /// The "exchangeAccessStateReason" property, of type "microsoft.graph.deviceManagementExchangeAccessStateReason". - /// This property is on the "microsoft.graph.managedDevice" type. - /// The reason for the device's access state in Exchange. - /// - /// Valid values: 'none', 'unknown', 'exchangeGlobalRule', 'exchangeIndividualRule', 'exchangeDeviceRule', 'exchangeUpgrade', 'exchangeMailboxPolicy', 'other', 'compliant', 'notCompliant', 'notEnrolled', 'unknownLocation', 'mfaRequired', 'azureADBlockDueToAccessPolicy', 'compromisedPassword', 'deviceNotKnownWithManagedApp' - /// - /// - [ODataType("microsoft.graph.deviceManagementExchangeAccessStateReason")] - [Selectable] - [ValidateSet(@"none", @"unknown", @"exchangeGlobalRule", @"exchangeIndividualRule", @"exchangeDeviceRule", @"exchangeUpgrade", @"exchangeMailboxPolicy", @"other", @"compliant", @"notCompliant", @"notEnrolled", @"unknownLocation", @"mfaRequired", @"azureADBlockDueToAccessPolicy", @"compromisedPassword", @"deviceNotKnownWithManagedApp")] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "exchangeAccessStateReason" property, of type "microsoft.graph.deviceManagementExchangeAccessStateReason".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "exchangeAccessStateReason" property, of type "microsoft.graph.deviceManagementExchangeAccessStateReason".")] - public System.String exchangeAccessStateReason { get; set; } - - /// - /// The "remoteAssistanceSessionUrl" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Url that allows a Remote Assistance session to be established with the device. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "remoteAssistanceSessionUrl" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "remoteAssistanceSessionUrl" property, of type "Edm.String".")] - public System.String remoteAssistanceSessionUrl { get; set; } - - /// - /// The "remoteAssistanceSessionErrorDetails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// An error string that identifies issues when creating Remote Assistance session objects. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "remoteAssistanceSessionErrorDetails" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "remoteAssistanceSessionErrorDetails" property, of type "Edm.String".")] - public System.String remoteAssistanceSessionErrorDetails { get; set; } - - /// - /// The "isEncrypted" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Device encryption status - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "isEncrypted" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "isEncrypted" property, of type "Edm.Boolean".")] - public System.Boolean isEncrypted { get; set; } - - /// - /// The "userPrincipalName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Device user principal name - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "userPrincipalName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "userPrincipalName" property, of type "Edm.String".")] - public System.String userPrincipalName { get; set; } - - /// - /// The "model" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Model of the device - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "model" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "model" property, of type "Edm.String".")] - public System.String model { get; set; } - - /// - /// The "manufacturer" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Manufacturer of the device - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "manufacturer" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "manufacturer" property, of type "Edm.String".")] - public System.String manufacturer { get; set; } - - /// - /// The "imei" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// IMEI - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "imei" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "imei" property, of type "Edm.String".")] - public System.String imei { get; set; } - - /// - /// The "complianceGracePeriodExpirationDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.managedDevice" type. - /// The DateTime when device compliance grace period expires - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "complianceGracePeriodExpirationDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "complianceGracePeriodExpirationDateTime" property, of type "Edm.DateTimeOffset".")] - public System.DateTimeOffset complianceGracePeriodExpirationDateTime { get; set; } - - /// - /// The "serialNumber" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// SerialNumber - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "serialNumber" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "serialNumber" property, of type "Edm.String".")] - public System.String serialNumber { get; set; } - - /// - /// The "phoneNumber" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Phone number of the device - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "phoneNumber" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "phoneNumber" property, of type "Edm.String".")] - public System.String phoneNumber { get; set; } - - /// - /// The "androidSecurityPatchLevel" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Android security patch level - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "androidSecurityPatchLevel" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "androidSecurityPatchLevel" property, of type "Edm.String".")] - public System.String androidSecurityPatchLevel { get; set; } - - /// - /// The "userDisplayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// User display name - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "userDisplayName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "userDisplayName" property, of type "Edm.String".")] - public System.String userDisplayName { get; set; } - - /// - /// The "configurationManagerClientEnabledFeatures" property, of type "microsoft.graph.configurationManagerClientEnabledFeatures". - /// This property is on the "microsoft.graph.managedDevice" type. - /// ConfigrMgr client enabled features - /// - [ODataType("microsoft.graph.configurationManagerClientEnabledFeatures")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "configurationManagerClientEnabledFeatures" property, of type "microsoft.graph.configurationManagerClientEnabledFeatures".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "configurationManagerClientEnabledFeatures" property, of type "microsoft.graph.configurationManagerClientEnabledFeatures".")] - public System.Object configurationManagerClientEnabledFeatures { get; set; } - - /// - /// The "wiFiMacAddress" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Wi-Fi MAC - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "wiFiMacAddress" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "wiFiMacAddress" property, of type "Edm.String".")] - public System.String wiFiMacAddress { get; set; } - - /// - /// The "deviceHealthAttestationState" property, of type "microsoft.graph.deviceHealthAttestationState". - /// This property is on the "microsoft.graph.managedDevice" type. - /// The device health attestation state. - /// - [ODataType("microsoft.graph.deviceHealthAttestationState")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "deviceHealthAttestationState" property, of type "microsoft.graph.deviceHealthAttestationState".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "deviceHealthAttestationState" property, of type "microsoft.graph.deviceHealthAttestationState".")] - public System.Object deviceHealthAttestationState { get; set; } - - /// - /// The "subscriberCarrier" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Subscriber Carrier - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "subscriberCarrier" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "subscriberCarrier" property, of type "Edm.String".")] - public System.String subscriberCarrier { get; set; } - - /// - /// The "meid" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// MEID - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "meid" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "meid" property, of type "Edm.String".")] - public System.String meid { get; set; } - - /// - /// The "totalStorageSpaceInBytes" property, of type "Edm.Int64". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Total Storage in Bytes - /// - [ODataType("Edm.Int64")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "totalStorageSpaceInBytes" property, of type "Edm.Int64".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "totalStorageSpaceInBytes" property, of type "Edm.Int64".")] - public System.Int64 totalStorageSpaceInBytes { get; set; } - - /// - /// The "freeStorageSpaceInBytes" property, of type "Edm.Int64". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Free Storage in Bytes - /// - [ODataType("Edm.Int64")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "freeStorageSpaceInBytes" property, of type "Edm.Int64".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "freeStorageSpaceInBytes" property, of type "Edm.Int64".")] - public System.Int64 freeStorageSpaceInBytes { get; set; } - - /// - /// The "managedDeviceName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Automatically generated name to identify a device. Can be overwritten to a user friendly name. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "managedDeviceName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "managedDeviceName" property, of type "Edm.String".")] - public System.String managedDeviceName { get; set; } - - /// - /// The "partnerReportedThreatState" property, of type "microsoft.graph.managedDevicePartnerReportedHealthState". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Indicates the threat state of a device when a Mobile Threat Defense partner is in use by the account and device. Read Only. - /// - /// Valid values: 'unknown', 'activated', 'deactivated', 'secured', 'lowSeverity', 'mediumSeverity', 'highSeverity', 'unresponsive', 'compromised', 'misconfigured' - /// - /// - [ODataType("microsoft.graph.managedDevicePartnerReportedHealthState")] - [Selectable] - [ValidateSet(@"unknown", @"activated", @"deactivated", @"secured", @"lowSeverity", @"mediumSeverity", @"highSeverity", @"unresponsive", @"compromised", @"misconfigured")] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "partnerReportedThreatState" property, of type "microsoft.graph.managedDevicePartnerReportedHealthState".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "partnerReportedThreatState" property, of type "microsoft.graph.managedDevicePartnerReportedHealthState".")] - public System.String partnerReportedThreatState { get; set; } - - /// - /// The "deviceConfigurationStates" property, of type "microsoft.graph.deviceConfigurationState". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Device configuration states for this device. - /// - [ODataType("microsoft.graph.deviceConfigurationState")] - [Selectable] - [Expandable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "deviceConfigurationStates" property, of type "microsoft.graph.deviceConfigurationState".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "deviceConfigurationStates" property, of type "microsoft.graph.deviceConfigurationState".")] - public System.Object[] deviceConfigurationStates { get; set; } - - /// - /// The "deviceCategory" property, of type "microsoft.graph.deviceCategory". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Device category - /// - [ODataType("microsoft.graph.deviceCategory")] - [Selectable] - [Expandable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "deviceCategory" property, of type "microsoft.graph.deviceCategory".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "deviceCategory" property, of type "microsoft.graph.deviceCategory".")] - public System.Object deviceCategory { get; set; } - - /// - /// The "deviceCompliancePolicyStates" property, of type "microsoft.graph.deviceCompliancePolicyState". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Device compliance policy states for this device. - /// - [ODataType("microsoft.graph.deviceCompliancePolicyState")] - [Selectable] - [Expandable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "deviceCompliancePolicyStates" property, of type "microsoft.graph.deviceCompliancePolicyState".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "deviceCompliancePolicyStates" property, of type "microsoft.graph.deviceCompliancePolicyState".")] - public System.Object[] deviceCompliancePolicyStates { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/managedDevices/{managedDeviceId}"; - } - } - - /// - /// Updates a "microsoft.graph.managedDevice". - /// PATCH ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/managedDevices - /// Updates a "microsoft.graph.managedDevice" object in the "managedDevices" collection. - /// The managed devices associated with the user. - /// - /// GitHub Repository - [Cmdlet("Update", "DirectoryObjects_ManagedDevices", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.managedDevice")] - [ODataType("microsoft.graph.managedDevice")] - [ResourceTypePropertyName("managedDeviceODataType")] - public class Update_DirectoryObjects_ManagedDevices : PatchCmdlet - { - /// - /// The ID for a "microsoft.graph.managedDevice" object in the "managedDevices" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.managedDevice" object in the "managedDevices" collection.")] - public System.String managedDeviceId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - /// - /// The "userId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Unique Identifier for the user associated with the device - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", HelpMessage = @"The "userId" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "userId" property, of type "Edm.String".")] - public System.String userId { get; set; } - - /// - /// The "deviceName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Name of the device - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", HelpMessage = @"The "deviceName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "deviceName" property, of type "Edm.String".")] - public System.String deviceName { get; set; } - - /// - /// The "managedDeviceOwnerType" property, of type "microsoft.graph.managedDeviceOwnerType". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Ownership of the device. Can be 'company' or 'personal' - /// - /// Valid values: 'unknown', 'company', 'personal' - /// - /// - [ODataType("microsoft.graph.managedDeviceOwnerType")] - [Selectable] - [ValidateSet(@"unknown", @"company", @"personal")] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", HelpMessage = @"The "managedDeviceOwnerType" property, of type "microsoft.graph.managedDeviceOwnerType".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "managedDeviceOwnerType" property, of type "microsoft.graph.managedDeviceOwnerType".")] - public System.String managedDeviceOwnerType { get; set; } - - /// - /// The "deviceActionResults" property, of type "microsoft.graph.deviceActionResult". - /// This property is on the "microsoft.graph.managedDevice" type. - /// List of ComplexType deviceActionResult objects. - /// - [ODataType("microsoft.graph.deviceActionResult", "microsoft.graph.resetPasscodeActionResult", "microsoft.graph.remoteLockActionResult", "microsoft.graph.locateDeviceActionResult", "microsoft.graph.deleteUserFromSharedAppleDeviceActionResult", "microsoft.graph.windowsDefenderScanActionResult")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", HelpMessage = @"The "deviceActionResults" property, of type "microsoft.graph.deviceActionResult".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "deviceActionResults" property, of type "microsoft.graph.deviceActionResult".")] - public System.Object[] deviceActionResults { get; set; } - - /// - /// The "enrolledDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Enrollment time of the device. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", HelpMessage = @"The "enrolledDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "enrolledDateTime" property, of type "Edm.DateTimeOffset".")] - public System.DateTimeOffset enrolledDateTime { get; set; } - - /// - /// The "lastSyncDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.managedDevice" type. - /// The date and time that the device last completed a successful sync with Intune. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", HelpMessage = @"The "lastSyncDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "lastSyncDateTime" property, of type "Edm.DateTimeOffset".")] - public System.DateTimeOffset lastSyncDateTime { get; set; } - - /// - /// The "operatingSystem" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Operating system of the device. Windows, iOS, etc. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", HelpMessage = @"The "operatingSystem" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "operatingSystem" property, of type "Edm.String".")] - public System.String operatingSystem { get; set; } - - /// - /// The "complianceState" property, of type "microsoft.graph.complianceState". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Compliance state of the device. - /// - /// Valid values: 'unknown', 'compliant', 'noncompliant', 'conflict', 'error', 'inGracePeriod', 'configManager' - /// - /// - [ODataType("microsoft.graph.complianceState")] - [Selectable] - [ValidateSet(@"unknown", @"compliant", @"noncompliant", @"conflict", @"error", @"inGracePeriod", @"configManager")] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", HelpMessage = @"The "complianceState" property, of type "microsoft.graph.complianceState".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "complianceState" property, of type "microsoft.graph.complianceState".")] - public System.String complianceState { get; set; } - - /// - /// The "jailBroken" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// whether the device is jail broken or rooted. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", HelpMessage = @"The "jailBroken" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "jailBroken" property, of type "Edm.String".")] - public System.String jailBroken { get; set; } - - /// - /// The "managementAgent" property, of type "microsoft.graph.managementAgentType". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Management channel of the device. Intune, EAS, etc. - /// - /// Valid values: 'eas', 'mdm', 'easMdm', 'intuneClient', 'easIntuneClient', 'configurationManagerClient', 'configurationManagerClientMdm', 'configurationManagerClientMdmEas', 'unknown', 'jamf', 'googleCloudDevicePolicyController' - /// - /// - [ODataType("microsoft.graph.managementAgentType")] - [Selectable] - [ValidateSet(@"eas", @"mdm", @"easMdm", @"intuneClient", @"easIntuneClient", @"configurationManagerClient", @"configurationManagerClientMdm", @"configurationManagerClientMdmEas", @"unknown", @"jamf", @"googleCloudDevicePolicyController")] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", HelpMessage = @"The "managementAgent" property, of type "microsoft.graph.managementAgentType".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "managementAgent" property, of type "microsoft.graph.managementAgentType".")] - public System.String managementAgent { get; set; } - - /// - /// The "osVersion" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Operating system version of the device. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", HelpMessage = @"The "osVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "osVersion" property, of type "Edm.String".")] - public System.String osVersion { get; set; } - - /// - /// The "easActivated" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Whether the device is Exchange ActiveSync activated. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", HelpMessage = @"The "easActivated" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "easActivated" property, of type "Edm.Boolean".")] - public System.Boolean easActivated { get; set; } - - /// - /// The "easDeviceId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Exchange ActiveSync Id of the device. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", HelpMessage = @"The "easDeviceId" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "easDeviceId" property, of type "Edm.String".")] - public System.String easDeviceId { get; set; } - - /// - /// The "easActivationDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Exchange ActivationSync activation time of the device. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", HelpMessage = @"The "easActivationDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "easActivationDateTime" property, of type "Edm.DateTimeOffset".")] - public System.DateTimeOffset easActivationDateTime { get; set; } - - /// - /// The "azureADRegistered" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Whether the device is Azure Active Directory registered. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", HelpMessage = @"The "azureADRegistered" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "azureADRegistered" property, of type "Edm.Boolean".")] - public System.Boolean azureADRegistered { get; set; } - - /// - /// The "deviceEnrollmentType" property, of type "microsoft.graph.deviceEnrollmentType". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Enrollment type of the device. - /// - /// Valid values: 'unknown', 'userEnrollment', 'deviceEnrollmentManager', 'appleBulkWithUser', 'appleBulkWithoutUser', 'windowsAzureADJoin', 'windowsBulkUserless', 'windowsAutoEnrollment', 'windowsBulkAzureDomainJoin', 'windowsCoManagement' - /// - /// - [ODataType("microsoft.graph.deviceEnrollmentType")] - [Selectable] - [ValidateSet(@"unknown", @"userEnrollment", @"deviceEnrollmentManager", @"appleBulkWithUser", @"appleBulkWithoutUser", @"windowsAzureADJoin", @"windowsBulkUserless", @"windowsAutoEnrollment", @"windowsBulkAzureDomainJoin", @"windowsCoManagement")] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", HelpMessage = @"The "deviceEnrollmentType" property, of type "microsoft.graph.deviceEnrollmentType".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "deviceEnrollmentType" property, of type "microsoft.graph.deviceEnrollmentType".")] - public System.String deviceEnrollmentType { get; set; } - - /// - /// The "activationLockBypassCode" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Code that allows the Activation Lock on a device to be bypassed. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", HelpMessage = @"The "activationLockBypassCode" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "activationLockBypassCode" property, of type "Edm.String".")] - public System.String activationLockBypassCode { get; set; } - - /// - /// The "emailAddress" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Email(s) for the user associated with the device - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", HelpMessage = @"The "emailAddress" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "emailAddress" property, of type "Edm.String".")] - public System.String emailAddress { get; set; } - - /// - /// The "azureADDeviceId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// The unique identifier for the Azure Active Directory device. Read only. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", HelpMessage = @"The "azureADDeviceId" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "azureADDeviceId" property, of type "Edm.String".")] - public System.String azureADDeviceId { get; set; } - - /// - /// The "deviceRegistrationState" property, of type "microsoft.graph.deviceRegistrationState". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Device registration state. - /// - /// Valid values: 'notRegistered', 'registered', 'revoked', 'keyConflict', 'approvalPending', 'certificateReset', 'notRegisteredPendingEnrollment', 'unknown' - /// - /// - [ODataType("microsoft.graph.deviceRegistrationState")] - [Selectable] - [ValidateSet(@"notRegistered", @"registered", @"revoked", @"keyConflict", @"approvalPending", @"certificateReset", @"notRegisteredPendingEnrollment", @"unknown")] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", HelpMessage = @"The "deviceRegistrationState" property, of type "microsoft.graph.deviceRegistrationState".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "deviceRegistrationState" property, of type "microsoft.graph.deviceRegistrationState".")] - public System.String deviceRegistrationState { get; set; } - - /// - /// The "deviceCategoryDisplayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Device category display name - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", HelpMessage = @"The "deviceCategoryDisplayName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "deviceCategoryDisplayName" property, of type "Edm.String".")] - public System.String deviceCategoryDisplayName { get; set; } - - /// - /// The "isSupervised" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Device supervised status - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", HelpMessage = @"The "isSupervised" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "isSupervised" property, of type "Edm.Boolean".")] - public System.Boolean isSupervised { get; set; } - - /// - /// The "exchangeLastSuccessfulSyncDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Last time the device contacted Exchange. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", HelpMessage = @"The "exchangeLastSuccessfulSyncDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "exchangeLastSuccessfulSyncDateTime" property, of type "Edm.DateTimeOffset".")] - public System.DateTimeOffset exchangeLastSuccessfulSyncDateTime { get; set; } - - /// - /// The "exchangeAccessState" property, of type "microsoft.graph.deviceManagementExchangeAccessState". - /// This property is on the "microsoft.graph.managedDevice" type. - /// The Access State of the device in Exchange. - /// - /// Valid values: 'none', 'unknown', 'allowed', 'blocked', 'quarantined' - /// - /// - [ODataType("microsoft.graph.deviceManagementExchangeAccessState")] - [Selectable] - [ValidateSet(@"none", @"unknown", @"allowed", @"blocked", @"quarantined")] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", HelpMessage = @"The "exchangeAccessState" property, of type "microsoft.graph.deviceManagementExchangeAccessState".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "exchangeAccessState" property, of type "microsoft.graph.deviceManagementExchangeAccessState".")] - public System.String exchangeAccessState { get; set; } - - /// - /// The "exchangeAccessStateReason" property, of type "microsoft.graph.deviceManagementExchangeAccessStateReason". - /// This property is on the "microsoft.graph.managedDevice" type. - /// The reason for the device's access state in Exchange. - /// - /// Valid values: 'none', 'unknown', 'exchangeGlobalRule', 'exchangeIndividualRule', 'exchangeDeviceRule', 'exchangeUpgrade', 'exchangeMailboxPolicy', 'other', 'compliant', 'notCompliant', 'notEnrolled', 'unknownLocation', 'mfaRequired', 'azureADBlockDueToAccessPolicy', 'compromisedPassword', 'deviceNotKnownWithManagedApp' - /// - /// - [ODataType("microsoft.graph.deviceManagementExchangeAccessStateReason")] - [Selectable] - [ValidateSet(@"none", @"unknown", @"exchangeGlobalRule", @"exchangeIndividualRule", @"exchangeDeviceRule", @"exchangeUpgrade", @"exchangeMailboxPolicy", @"other", @"compliant", @"notCompliant", @"notEnrolled", @"unknownLocation", @"mfaRequired", @"azureADBlockDueToAccessPolicy", @"compromisedPassword", @"deviceNotKnownWithManagedApp")] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", HelpMessage = @"The "exchangeAccessStateReason" property, of type "microsoft.graph.deviceManagementExchangeAccessStateReason".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "exchangeAccessStateReason" property, of type "microsoft.graph.deviceManagementExchangeAccessStateReason".")] - public System.String exchangeAccessStateReason { get; set; } - - /// - /// The "remoteAssistanceSessionUrl" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Url that allows a Remote Assistance session to be established with the device. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", HelpMessage = @"The "remoteAssistanceSessionUrl" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "remoteAssistanceSessionUrl" property, of type "Edm.String".")] - public System.String remoteAssistanceSessionUrl { get; set; } - - /// - /// The "remoteAssistanceSessionErrorDetails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// An error string that identifies issues when creating Remote Assistance session objects. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", HelpMessage = @"The "remoteAssistanceSessionErrorDetails" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "remoteAssistanceSessionErrorDetails" property, of type "Edm.String".")] - public System.String remoteAssistanceSessionErrorDetails { get; set; } - - /// - /// The "isEncrypted" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Device encryption status - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", HelpMessage = @"The "isEncrypted" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "isEncrypted" property, of type "Edm.Boolean".")] - public System.Boolean isEncrypted { get; set; } - - /// - /// The "userPrincipalName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Device user principal name - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", HelpMessage = @"The "userPrincipalName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "userPrincipalName" property, of type "Edm.String".")] - public System.String userPrincipalName { get; set; } - - /// - /// The "model" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Model of the device - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", HelpMessage = @"The "model" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "model" property, of type "Edm.String".")] - public System.String model { get; set; } - - /// - /// The "manufacturer" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Manufacturer of the device - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", HelpMessage = @"The "manufacturer" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "manufacturer" property, of type "Edm.String".")] - public System.String manufacturer { get; set; } - - /// - /// The "imei" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// IMEI - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", HelpMessage = @"The "imei" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "imei" property, of type "Edm.String".")] - public System.String imei { get; set; } - - /// - /// The "complianceGracePeriodExpirationDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.managedDevice" type. - /// The DateTime when device compliance grace period expires - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", HelpMessage = @"The "complianceGracePeriodExpirationDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "complianceGracePeriodExpirationDateTime" property, of type "Edm.DateTimeOffset".")] - public System.DateTimeOffset complianceGracePeriodExpirationDateTime { get; set; } - - /// - /// The "serialNumber" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// SerialNumber - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", HelpMessage = @"The "serialNumber" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "serialNumber" property, of type "Edm.String".")] - public System.String serialNumber { get; set; } - - /// - /// The "phoneNumber" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Phone number of the device - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", HelpMessage = @"The "phoneNumber" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "phoneNumber" property, of type "Edm.String".")] - public System.String phoneNumber { get; set; } - - /// - /// The "androidSecurityPatchLevel" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Android security patch level - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", HelpMessage = @"The "androidSecurityPatchLevel" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "androidSecurityPatchLevel" property, of type "Edm.String".")] - public System.String androidSecurityPatchLevel { get; set; } - - /// - /// The "userDisplayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// User display name - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", HelpMessage = @"The "userDisplayName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "userDisplayName" property, of type "Edm.String".")] - public System.String userDisplayName { get; set; } - - /// - /// The "configurationManagerClientEnabledFeatures" property, of type "microsoft.graph.configurationManagerClientEnabledFeatures". - /// This property is on the "microsoft.graph.managedDevice" type. - /// ConfigrMgr client enabled features - /// - [ODataType("microsoft.graph.configurationManagerClientEnabledFeatures")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", HelpMessage = @"The "configurationManagerClientEnabledFeatures" property, of type "microsoft.graph.configurationManagerClientEnabledFeatures".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "configurationManagerClientEnabledFeatures" property, of type "microsoft.graph.configurationManagerClientEnabledFeatures".")] - public System.Object configurationManagerClientEnabledFeatures { get; set; } - - /// - /// The "wiFiMacAddress" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Wi-Fi MAC - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", HelpMessage = @"The "wiFiMacAddress" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "wiFiMacAddress" property, of type "Edm.String".")] - public System.String wiFiMacAddress { get; set; } - - /// - /// The "deviceHealthAttestationState" property, of type "microsoft.graph.deviceHealthAttestationState". - /// This property is on the "microsoft.graph.managedDevice" type. - /// The device health attestation state. - /// - [ODataType("microsoft.graph.deviceHealthAttestationState")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", HelpMessage = @"The "deviceHealthAttestationState" property, of type "microsoft.graph.deviceHealthAttestationState".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "deviceHealthAttestationState" property, of type "microsoft.graph.deviceHealthAttestationState".")] - public System.Object deviceHealthAttestationState { get; set; } - - /// - /// The "subscriberCarrier" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Subscriber Carrier - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", HelpMessage = @"The "subscriberCarrier" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "subscriberCarrier" property, of type "Edm.String".")] - public System.String subscriberCarrier { get; set; } - - /// - /// The "meid" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// MEID - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", HelpMessage = @"The "meid" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "meid" property, of type "Edm.String".")] - public System.String meid { get; set; } - - /// - /// The "totalStorageSpaceInBytes" property, of type "Edm.Int64". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Total Storage in Bytes - /// - [ODataType("Edm.Int64")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", HelpMessage = @"The "totalStorageSpaceInBytes" property, of type "Edm.Int64".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "totalStorageSpaceInBytes" property, of type "Edm.Int64".")] - public System.Int64 totalStorageSpaceInBytes { get; set; } - - /// - /// The "freeStorageSpaceInBytes" property, of type "Edm.Int64". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Free Storage in Bytes - /// - [ODataType("Edm.Int64")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", HelpMessage = @"The "freeStorageSpaceInBytes" property, of type "Edm.Int64".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "freeStorageSpaceInBytes" property, of type "Edm.Int64".")] - public System.Int64 freeStorageSpaceInBytes { get; set; } - - /// - /// The "managedDeviceName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Automatically generated name to identify a device. Can be overwritten to a user friendly name. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", HelpMessage = @"The "managedDeviceName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "managedDeviceName" property, of type "Edm.String".")] - public System.String managedDeviceName { get; set; } - - /// - /// The "partnerReportedThreatState" property, of type "microsoft.graph.managedDevicePartnerReportedHealthState". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Indicates the threat state of a device when a Mobile Threat Defense partner is in use by the account and device. Read Only. - /// - /// Valid values: 'unknown', 'activated', 'deactivated', 'secured', 'lowSeverity', 'mediumSeverity', 'highSeverity', 'unresponsive', 'compromised', 'misconfigured' - /// - /// - [ODataType("microsoft.graph.managedDevicePartnerReportedHealthState")] - [Selectable] - [ValidateSet(@"unknown", @"activated", @"deactivated", @"secured", @"lowSeverity", @"mediumSeverity", @"highSeverity", @"unresponsive", @"compromised", @"misconfigured")] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", HelpMessage = @"The "partnerReportedThreatState" property, of type "microsoft.graph.managedDevicePartnerReportedHealthState".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "partnerReportedThreatState" property, of type "microsoft.graph.managedDevicePartnerReportedHealthState".")] - public System.String partnerReportedThreatState { get; set; } - - /// - /// The "deviceConfigurationStates" property, of type "microsoft.graph.deviceConfigurationState". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Device configuration states for this device. - /// - [ODataType("microsoft.graph.deviceConfigurationState")] - [Selectable] - [Expandable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", HelpMessage = @"The "deviceConfigurationStates" property, of type "microsoft.graph.deviceConfigurationState".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "deviceConfigurationStates" property, of type "microsoft.graph.deviceConfigurationState".")] - public System.Object[] deviceConfigurationStates { get; set; } - - /// - /// The "deviceCategory" property, of type "microsoft.graph.deviceCategory". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Device category - /// - [ODataType("microsoft.graph.deviceCategory")] - [Selectable] - [Expandable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", HelpMessage = @"The "deviceCategory" property, of type "microsoft.graph.deviceCategory".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "deviceCategory" property, of type "microsoft.graph.deviceCategory".")] - public System.Object deviceCategory { get; set; } - - /// - /// The "deviceCompliancePolicyStates" property, of type "microsoft.graph.deviceCompliancePolicyState". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Device compliance policy states for this device. - /// - [ODataType("microsoft.graph.deviceCompliancePolicyState")] - [Selectable] - [Expandable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", HelpMessage = @"The "deviceCompliancePolicyStates" property, of type "microsoft.graph.deviceCompliancePolicyState".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "deviceCompliancePolicyStates" property, of type "microsoft.graph.deviceCompliancePolicyState".")] - public System.Object[] deviceCompliancePolicyStates { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/managedDevices/{managedDeviceId}"; - } - } - - /// - /// Removes a "microsoft.graph.managedDevice" object. - /// DELETE ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/managedDevices/managedDeviceId - /// Removes a "microsoft.graph.managedDevice" object from the "managedDevices" collection. - /// The managed devices associated with the user. - /// - /// GitHub Repository - [Cmdlet("Remove", "DirectoryObjects_ManagedDevices", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.managedDevice")] - [ResourceTypePropertyName("managedDeviceODataType")] - public class Remove_DirectoryObjects_ManagedDevices : DeleteCmdlet - { - /// - /// The ID for a "microsoft.graph.managedDevice" object in the "managedDevices" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.managedDevice" object in the "managedDevices" collection.")] - public System.String managedDeviceId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/managedDevices/{managedDeviceId}"; - } - } - - /// - /// POST ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/managedDevices/retire - /// The action "microsoft.graph.retire", which exists on the type "microsoft.graph.managedDevice". - /// This action does not return any objects. - /// - /// GitHub Repository - [Cmdlet("Invoke", "DirectoryObjects_ManagedDevices_Retire", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.managedDevice")] - [ResourceTypePropertyName("managedDeviceODataType")] - public class Invoke_DirectoryObjects_ManagedDevices_Retire : ActionCmdlet - { - /// - /// The ID for a "microsoft.graph.managedDevice" object in the "managedDevices" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.managedDevice" object in the "managedDevices" collection.")] - public System.String managedDeviceId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/managedDevices/{managedDeviceId}/retire"; - } - } - - /// - /// POST ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/managedDevices/wipe - /// The action "microsoft.graph.wipe", which exists on the type "microsoft.graph.managedDevice". - /// This action does not return any objects. - /// - /// GitHub Repository - [Cmdlet("Invoke", "DirectoryObjects_ManagedDevices_Wipe", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.managedDevice")] - [ResourceTypePropertyName("managedDeviceODataType")] - public class Invoke_DirectoryObjects_ManagedDevices_Wipe : ActionCmdlet - { - /// - /// The "keepEnrollmentData" action parameter of type "Edm.Boolean". - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Expandable] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "keepEnrollmentData" action parameter of type "Edm.Boolean".")] - public System.Boolean keepEnrollmentData { get; set; } - - /// - /// The "keepUserData" action parameter of type "Edm.Boolean". - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Expandable] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "keepUserData" action parameter of type "Edm.Boolean".")] - public System.Boolean keepUserData { get; set; } - - /// - /// The "macOsUnlockCode" action parameter of type "Edm.String". - /// - [ODataType("Edm.String")] - [Selectable] - [Expandable] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "macOsUnlockCode" action parameter of type "Edm.String".")] - public System.String macOsUnlockCode { get; set; } - - /// - /// The ID for a "microsoft.graph.managedDevice" object in the "managedDevices" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.managedDevice" object in the "managedDevices" collection.")] - public System.String managedDeviceId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/managedDevices/{managedDeviceId}/wipe"; - } - } - - /// - /// POST ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/managedDevices/resetPasscode - /// The action "microsoft.graph.resetPasscode", which exists on the type "microsoft.graph.managedDevice". - /// This action does not return any objects. - /// - /// GitHub Repository - [Cmdlet("Invoke", "DirectoryObjects_ManagedDevices_ResetPasscode", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.managedDevice")] - [ResourceTypePropertyName("managedDeviceODataType")] - public class Invoke_DirectoryObjects_ManagedDevices_ResetPasscode : ActionCmdlet - { - /// - /// The ID for a "microsoft.graph.managedDevice" object in the "managedDevices" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.managedDevice" object in the "managedDevices" collection.")] - public System.String managedDeviceId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/managedDevices/{managedDeviceId}/resetPasscode"; - } - } - - /// - /// POST ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/managedDevices/remoteLock - /// The action "microsoft.graph.remoteLock", which exists on the type "microsoft.graph.managedDevice". - /// This action does not return any objects. - /// - /// GitHub Repository - [Cmdlet("Invoke", "DirectoryObjects_ManagedDevices_RemoteLock", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.managedDevice")] - [ResourceTypePropertyName("managedDeviceODataType")] - public class Invoke_DirectoryObjects_ManagedDevices_RemoteLock : ActionCmdlet - { - /// - /// The ID for a "microsoft.graph.managedDevice" object in the "managedDevices" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.managedDevice" object in the "managedDevices" collection.")] - public System.String managedDeviceId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/managedDevices/{managedDeviceId}/remoteLock"; - } - } - - /// - /// POST ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/managedDevices/requestRemoteAssistance - /// The action "microsoft.graph.requestRemoteAssistance", which exists on the type "microsoft.graph.managedDevice". - /// This action does not return any objects. - /// - /// GitHub Repository - [Cmdlet("Invoke", "DirectoryObjects_ManagedDevices_RequestRemoteAssistance", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.managedDevice")] - [ResourceTypePropertyName("managedDeviceODataType")] - public class Invoke_DirectoryObjects_ManagedDevices_RequestRemoteAssistance : ActionCmdlet - { - /// - /// The ID for a "microsoft.graph.managedDevice" object in the "managedDevices" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.managedDevice" object in the "managedDevices" collection.")] - public System.String managedDeviceId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/managedDevices/{managedDeviceId}/requestRemoteAssistance"; - } - } - - /// - /// POST ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/managedDevices/disableLostMode - /// The action "microsoft.graph.disableLostMode", which exists on the type "microsoft.graph.managedDevice". - /// This action does not return any objects. - /// - /// GitHub Repository - [Cmdlet("Invoke", "DirectoryObjects_ManagedDevices_DisableLostMode", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.managedDevice")] - [ResourceTypePropertyName("managedDeviceODataType")] - public class Invoke_DirectoryObjects_ManagedDevices_DisableLostMode : ActionCmdlet - { - /// - /// The ID for a "microsoft.graph.managedDevice" object in the "managedDevices" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.managedDevice" object in the "managedDevices" collection.")] - public System.String managedDeviceId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/managedDevices/{managedDeviceId}/disableLostMode"; - } - } - - /// - /// POST ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/managedDevices/locateDevice - /// The action "microsoft.graph.locateDevice", which exists on the type "microsoft.graph.managedDevice". - /// This action does not return any objects. - /// - /// GitHub Repository - [Cmdlet("Invoke", "DirectoryObjects_ManagedDevices_LocateDevice", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.managedDevice")] - [ResourceTypePropertyName("managedDeviceODataType")] - public class Invoke_DirectoryObjects_ManagedDevices_LocateDevice : ActionCmdlet - { - /// - /// The ID for a "microsoft.graph.managedDevice" object in the "managedDevices" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.managedDevice" object in the "managedDevices" collection.")] - public System.String managedDeviceId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/managedDevices/{managedDeviceId}/locateDevice"; - } - } - - /// - /// POST ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/managedDevices/bypassActivationLock - /// The action "microsoft.graph.bypassActivationLock", which exists on the type "microsoft.graph.managedDevice". - /// This action does not return any objects. - /// - /// GitHub Repository - [Cmdlet("Invoke", "DirectoryObjects_ManagedDevices_BypassActivationLock", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.managedDevice")] - [ResourceTypePropertyName("managedDeviceODataType")] - public class Invoke_DirectoryObjects_ManagedDevices_BypassActivationLock : ActionCmdlet - { - /// - /// The ID for a "microsoft.graph.managedDevice" object in the "managedDevices" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.managedDevice" object in the "managedDevices" collection.")] - public System.String managedDeviceId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/managedDevices/{managedDeviceId}/bypassActivationLock"; - } - } - - /// - /// POST ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/managedDevices/rebootNow - /// The action "microsoft.graph.rebootNow", which exists on the type "microsoft.graph.managedDevice". - /// This action does not return any objects. - /// - /// GitHub Repository - [Cmdlet("Invoke", "DirectoryObjects_ManagedDevices_RebootNow", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.managedDevice")] - [ResourceTypePropertyName("managedDeviceODataType")] - public class Invoke_DirectoryObjects_ManagedDevices_RebootNow : ActionCmdlet - { - /// - /// The ID for a "microsoft.graph.managedDevice" object in the "managedDevices" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.managedDevice" object in the "managedDevices" collection.")] - public System.String managedDeviceId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/managedDevices/{managedDeviceId}/rebootNow"; - } - } - - /// - /// POST ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/managedDevices/shutDown - /// The action "microsoft.graph.shutDown", which exists on the type "microsoft.graph.managedDevice". - /// This action does not return any objects. - /// - /// GitHub Repository - [Cmdlet("Invoke", "DirectoryObjects_ManagedDevices_ShutDown", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.managedDevice")] - [ResourceTypePropertyName("managedDeviceODataType")] - public class Invoke_DirectoryObjects_ManagedDevices_ShutDown : ActionCmdlet - { - /// - /// The ID for a "microsoft.graph.managedDevice" object in the "managedDevices" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.managedDevice" object in the "managedDevices" collection.")] - public System.String managedDeviceId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/managedDevices/{managedDeviceId}/shutDown"; - } - } - - /// - /// POST ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/managedDevices/recoverPasscode - /// The action "microsoft.graph.recoverPasscode", which exists on the type "microsoft.graph.managedDevice". - /// This action does not return any objects. - /// - /// GitHub Repository - [Cmdlet("Invoke", "DirectoryObjects_ManagedDevices_RecoverPasscode", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.managedDevice")] - [ResourceTypePropertyName("managedDeviceODataType")] - public class Invoke_DirectoryObjects_ManagedDevices_RecoverPasscode : ActionCmdlet - { - /// - /// The ID for a "microsoft.graph.managedDevice" object in the "managedDevices" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.managedDevice" object in the "managedDevices" collection.")] - public System.String managedDeviceId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/managedDevices/{managedDeviceId}/recoverPasscode"; - } - } - - /// - /// POST ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/managedDevices/cleanWindowsDevice - /// The action "microsoft.graph.cleanWindowsDevice", which exists on the type "microsoft.graph.managedDevice". - /// This action does not return any objects. - /// - /// GitHub Repository - [Cmdlet("Invoke", "DirectoryObjects_ManagedDevices_CleanWindowsDevice", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.managedDevice")] - [ResourceTypePropertyName("managedDeviceODataType")] - public class Invoke_DirectoryObjects_ManagedDevices_CleanWindowsDevice : ActionCmdlet - { - /// - /// The "keepUserData" action parameter of type "Edm.Boolean". - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Expandable] - [ValidateNotNull] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "keepUserData" action parameter of type "Edm.Boolean".")] - public System.Boolean keepUserData { get; set; } - - /// - /// The ID for a "microsoft.graph.managedDevice" object in the "managedDevices" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.managedDevice" object in the "managedDevices" collection.")] - public System.String managedDeviceId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/managedDevices/{managedDeviceId}/cleanWindowsDevice"; - } - } - - /// - /// POST ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/managedDevices/logoutSharedAppleDeviceActiveUser - /// The action "microsoft.graph.logoutSharedAppleDeviceActiveUser", which exists on the type "microsoft.graph.managedDevice". - /// This action does not return any objects. - /// - /// GitHub Repository - [Cmdlet("Invoke", "DirectoryObjects_ManagedDevices_LogoutSharedAppleDeviceActiveUser", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.managedDevice")] - [ResourceTypePropertyName("managedDeviceODataType")] - public class Invoke_DirectoryObjects_ManagedDevices_LogoutSharedAppleDeviceActiveUser : ActionCmdlet - { - /// - /// The ID for a "microsoft.graph.managedDevice" object in the "managedDevices" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.managedDevice" object in the "managedDevices" collection.")] - public System.String managedDeviceId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/managedDevices/{managedDeviceId}/logoutSharedAppleDeviceActiveUser"; - } - } - - /// - /// POST ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/managedDevices/deleteUserFromSharedAppleDevice - /// The action "microsoft.graph.deleteUserFromSharedAppleDevice", which exists on the type "microsoft.graph.managedDevice". - /// This action does not return any objects. - /// - /// GitHub Repository - [Cmdlet("Invoke", "DirectoryObjects_ManagedDevices_DeleteUserFromSharedAppleDevice", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.managedDevice")] - [ResourceTypePropertyName("managedDeviceODataType")] - public class Invoke_DirectoryObjects_ManagedDevices_DeleteUserFromSharedAppleDevice : ActionCmdlet - { - /// - /// The "userPrincipalName" action parameter of type "Edm.String". - /// - [ODataType("Edm.String")] - [Selectable] - [Expandable] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "userPrincipalName" action parameter of type "Edm.String".")] - public System.String userPrincipalName { get; set; } - - /// - /// The ID for a "microsoft.graph.managedDevice" object in the "managedDevices" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.managedDevice" object in the "managedDevices" collection.")] - public System.String managedDeviceId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/managedDevices/{managedDeviceId}/deleteUserFromSharedAppleDevice"; - } - } - - /// - /// POST ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/managedDevices/syncDevice - /// The action "microsoft.graph.syncDevice", which exists on the type "microsoft.graph.managedDevice". - /// This action does not return any objects. - /// - /// GitHub Repository - [Cmdlet("Invoke", "DirectoryObjects_ManagedDevices_SyncDevice", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.managedDevice")] - [ResourceTypePropertyName("managedDeviceODataType")] - public class Invoke_DirectoryObjects_ManagedDevices_SyncDevice : ActionCmdlet - { - /// - /// The ID for a "microsoft.graph.managedDevice" object in the "managedDevices" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.managedDevice" object in the "managedDevices" collection.")] - public System.String managedDeviceId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/managedDevices/{managedDeviceId}/syncDevice"; - } - } - - /// - /// POST ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/managedDevices/windowsDefenderScan - /// The action "microsoft.graph.windowsDefenderScan", which exists on the type "microsoft.graph.managedDevice". - /// This action does not return any objects. - /// - /// GitHub Repository - [Cmdlet("Invoke", "DirectoryObjects_ManagedDevices_WindowsDefenderScan", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.managedDevice")] - [ResourceTypePropertyName("managedDeviceODataType")] - public class Invoke_DirectoryObjects_ManagedDevices_WindowsDefenderScan : ActionCmdlet - { - /// - /// The "quickScan" action parameter of type "Edm.Boolean". - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Expandable] - [ValidateNotNull] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "quickScan" action parameter of type "Edm.Boolean".")] - public System.Boolean quickScan { get; set; } - - /// - /// The ID for a "microsoft.graph.managedDevice" object in the "managedDevices" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.managedDevice" object in the "managedDevices" collection.")] - public System.String managedDeviceId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/managedDevices/{managedDeviceId}/windowsDefenderScan"; - } - } - - /// - /// POST ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/managedDevices/windowsDefenderUpdateSignatures - /// The action "microsoft.graph.windowsDefenderUpdateSignatures", which exists on the type "microsoft.graph.managedDevice". - /// This action does not return any objects. - /// - /// GitHub Repository - [Cmdlet("Invoke", "DirectoryObjects_ManagedDevices_WindowsDefenderUpdateSignatures", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.managedDevice")] - [ResourceTypePropertyName("managedDeviceODataType")] - public class Invoke_DirectoryObjects_ManagedDevices_WindowsDefenderUpdateSignatures : ActionCmdlet - { - /// - /// The ID for a "microsoft.graph.managedDevice" object in the "managedDevices" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.managedDevice" object in the "managedDevices" collection.")] - public System.String managedDeviceId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/managedDevices/{managedDeviceId}/windowsDefenderUpdateSignatures"; - } - } - - /// - /// POST ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/managedDevices/updateWindowsDeviceAccount - /// The action "microsoft.graph.updateWindowsDeviceAccount", which exists on the type "microsoft.graph.managedDevice". - /// This action does not return any objects. - /// - /// GitHub Repository - [Cmdlet("Invoke", "DirectoryObjects_ManagedDevices_UpdateWindowsDeviceAccount", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.managedDevice")] - [ResourceTypePropertyName("managedDeviceODataType")] - public class Invoke_DirectoryObjects_ManagedDevices_UpdateWindowsDeviceAccount : ActionCmdlet - { - /// - /// The "updateWindowsDeviceAccountActionParameter" action parameter of type "microsoft.graph.updateWindowsDeviceAccountActionParameter". - /// - [ODataType("microsoft.graph.updateWindowsDeviceAccountActionParameter")] - [Selectable] - [Expandable] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "updateWindowsDeviceAccountActionParameter" action parameter of type "microsoft.graph.updateWindowsDeviceAccountActionParameter".")] - public System.Object updateWindowsDeviceAccountActionParameter { get; set; } - - /// - /// The ID for a "microsoft.graph.managedDevice" object in the "managedDevices" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.managedDevice" object in the "managedDevices" collection.")] - public System.String managedDeviceId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/managedDevices/{managedDeviceId}/updateWindowsDeviceAccount"; - } - } -} \ No newline at end of file diff --git a/PowerShellCmdlets/Generated/SDK/DirectoryObjects/ManagedDevices/DeviceCategory.cs b/PowerShellCmdlets/Generated/SDK/DirectoryObjects/ManagedDevices/DeviceCategory.cs deleted file mode 100644 index 4963db2..0000000 --- a/PowerShellCmdlets/Generated/SDK/DirectoryObjects/ManagedDevices/DeviceCategory.cs +++ /dev/null @@ -1,280 +0,0 @@ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. - -namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets -{ - using System.Management.Automation; - - /// - /// Retrieves the "deviceCategory" object. - /// GET ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/managedDevices/{managedDeviceId}/deviceCategory - /// Retrieves the "deviceCategory" object (which is of type "microsoft.graph.deviceCategory"). - /// Device category - /// - /// GitHub Repository - [Cmdlet("Get", "DirectoryObjects_ManagedDevices_DeviceCategory", DefaultParameterSetName = @"Get")] - [ODataType("microsoft.graph.deviceCategory")] - [ResourceTypePropertyName("deviceCategoryODataType")] - [ResourceReference] - public class Get_DirectoryObjects_ManagedDevices_DeviceCategory : GetCmdlet - { - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.managedDevice" object in the "managedDevices" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedDevice" object in the "managedDevices" collection.")] - public System.String managedDeviceId { get; set; } - - /// - /// The "displayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.deviceCategory" type. - /// Display name for the device category. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String displayName { get; set; } - - /// - /// The "description" property, of type "Edm.String". - /// This property is on the "microsoft.graph.deviceCategory" type. - /// Optional description for the device category. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String description { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/managedDevices/{managedDeviceId}/deviceCategory"; - } - } - - /// - /// Creates a "microsoft.graph.deviceCategory" object. - /// POST ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/managedDevices/{managedDeviceId}/deviceCategory - /// Creates the "deviceCategory" object (which is of type "microsoft.graph.deviceCategory"). - /// Device category - /// - /// GitHub Repository - [Cmdlet("New", "DirectoryObjects_ManagedDevices_DeviceCategory", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.deviceCategory")] - [ODataType("microsoft.graph.deviceCategory")] - [ResourceTypePropertyName("deviceCategoryODataType")] - [ResourceReference] - public class New_DirectoryObjects_ManagedDevices_DeviceCategory : PostCmdlet - { - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.managedDevice" object in the "managedDevices" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedDevice" object in the "managedDevices" collection.")] - public System.String managedDeviceId { get; set; } - - /// - /// The "displayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.deviceCategory" type. - /// Display name for the device category. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.deviceCategory", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "displayName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "displayName" property, of type "Edm.String".")] - public System.String displayName { get; set; } - - /// - /// The "description" property, of type "Edm.String". - /// This property is on the "microsoft.graph.deviceCategory" type. - /// Optional description for the device category. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.deviceCategory", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "description" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "description" property, of type "Edm.String".")] - public System.String description { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/managedDevices/{managedDeviceId}/deviceCategory"; - } - } - - /// - /// Updates a "microsoft.graph.deviceCategory". - /// PATCH ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/managedDevices/{managedDeviceId}/deviceCategory - /// Updates the "deviceCategory" object (which is of type "microsoft.graph.deviceCategory"). - /// Device category - /// - /// GitHub Repository - [Cmdlet("Update", "DirectoryObjects_ManagedDevices_DeviceCategory", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.deviceCategory")] - [ODataType("microsoft.graph.deviceCategory")] - [ResourceTypePropertyName("deviceCategoryODataType")] - public class Update_DirectoryObjects_ManagedDevices_DeviceCategory : PatchCmdlet - { - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.managedDevice" object in the "managedDevices" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedDevice" object in the "managedDevices" collection.")] - public System.String managedDeviceId { get; set; } - - /// - /// The "displayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.deviceCategory" type. - /// Display name for the device category. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.deviceCategory", HelpMessage = @"The "displayName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "displayName" property, of type "Edm.String".")] - public System.String displayName { get; set; } - - /// - /// The "description" property, of type "Edm.String". - /// This property is on the "microsoft.graph.deviceCategory" type. - /// Optional description for the device category. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.deviceCategory", HelpMessage = @"The "description" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "description" property, of type "Edm.String".")] - public System.String description { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/managedDevices/{managedDeviceId}/deviceCategory"; - } - } - - /// - /// Removes a "microsoft.graph.deviceCategory" object. - /// DELETE ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/managedDevices/{managedDeviceId}/deviceCategory - /// Removes the "deviceCategory" object (which is of type "microsoft.graph.deviceCategory"). - /// Device category - /// - /// GitHub Repository - [Cmdlet("Remove", "DirectoryObjects_ManagedDevices_DeviceCategory", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.deviceCategory")] - [ResourceTypePropertyName("deviceCategoryODataType")] - public class Remove_DirectoryObjects_ManagedDevices_DeviceCategory : DeleteCmdlet - { - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.managedDevice" object in the "managedDevices" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedDevice" object in the "managedDevices" collection.")] - public System.String managedDeviceId { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/managedDevices/{managedDeviceId}/deviceCategory"; - } - } -} \ No newline at end of file diff --git a/PowerShellCmdlets/Generated/SDK/DirectoryObjects/ManagedDevices/DeviceCompliancePolicyStates.cs b/PowerShellCmdlets/Generated/SDK/DirectoryObjects/ManagedDevices/DeviceCompliancePolicyStates.cs deleted file mode 100644 index 251dbb5..0000000 --- a/PowerShellCmdlets/Generated/SDK/DirectoryObjects/ManagedDevices/DeviceCompliancePolicyStates.cs +++ /dev/null @@ -1,464 +0,0 @@ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. - -namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets -{ - using System.Management.Automation; - - /// - /// Retrieves "microsoft.graph.deviceCompliancePolicyState" objects. - /// GET ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/managedDevices/{managedDeviceId}/deviceCompliancePolicyStates - /// Retrieves "microsoft.graph.deviceCompliancePolicyState" objects in the "deviceCompliancePolicyStates" collection. - /// Device compliance policy states for this device. - /// - /// GitHub Repository - [Cmdlet("Get", "DirectoryObjects_ManagedDevices_DeviceCompliancePolicyStates", DefaultParameterSetName = @"Search")] - [ODataType("microsoft.graph.deviceCompliancePolicyState")] - [ResourceTypePropertyName("deviceCompliancePolicyStateODataType")] - [ResourceReference] - public class Get_DirectoryObjects_ManagedDevices_DeviceCompliancePolicyStates : GetOrSearchCmdlet - { - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.managedDevice" object in the "managedDevices" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedDevice" object in the "managedDevices" collection.")] - public System.String managedDeviceId { get; set; } - - /// - /// The ID for a "microsoft.graph.deviceCompliancePolicyState" object in the "deviceCompliancePolicyStates" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(ParameterSetName = @"Get", Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.deviceCompliancePolicyState" object in the "deviceCompliancePolicyStates" collection.")] - public System.String deviceCompliancePolicyStateId { get; set; } - - /// - /// The "settingStates" property, of type "microsoft.graph.deviceCompliancePolicySettingState". - /// This property is on the "microsoft.graph.deviceCompliancePolicyState" type. - /// - [ODataType("microsoft.graph.deviceCompliancePolicySettingState")] - [Selectable] - public System.Object[] settingStates { get; set; } - - /// - /// The "displayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.deviceCompliancePolicyState" type. - /// The name of the policy for this policyBase - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String displayName { get; set; } - - /// - /// The "version" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.deviceCompliancePolicyState" type. - /// The version of the policy - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - public System.Int32 version { get; set; } - - /// - /// The "platformType" property, of type "microsoft.graph.policyPlatformType". - /// This property is on the "microsoft.graph.deviceCompliancePolicyState" type. - /// Platform type that the policy applies to - /// - [ODataType("microsoft.graph.policyPlatformType")] - [Selectable] - [Sortable] - public System.String platformType { get; set; } - - /// - /// The "state" property, of type "microsoft.graph.complianceStatus". - /// This property is on the "microsoft.graph.deviceCompliancePolicyState" type. - /// The compliance state of the policy - /// - [ODataType("microsoft.graph.complianceStatus")] - [Selectable] - [Sortable] - public System.String state { get; set; } - - /// - /// The "settingCount" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.deviceCompliancePolicyState" type. - /// Count of how many setting a policy holds - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - public System.Int32 settingCount { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/managedDevices/{managedDeviceId}/deviceCompliancePolicyStates/{deviceCompliancePolicyStateId ?? string.Empty}"; - } - } - - /// - /// Creates a "microsoft.graph.deviceCompliancePolicyState" object. - /// POST ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/managedDevices/{managedDeviceId}/deviceCompliancePolicyStates - /// Adds a "microsoft.graph.deviceCompliancePolicyState" object to the "deviceCompliancePolicyStates" collection. - /// Device compliance policy states for this device. - /// - /// GitHub Repository - [Cmdlet("New", "DirectoryObjects_ManagedDevices_DeviceCompliancePolicyStates", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.deviceCompliancePolicyState")] - [ODataType("microsoft.graph.deviceCompliancePolicyState")] - [ResourceTypePropertyName("deviceCompliancePolicyStateODataType")] - [ResourceReference] - public class New_DirectoryObjects_ManagedDevices_DeviceCompliancePolicyStates : PostCmdlet - { - /// - /// The ID for a "microsoft.graph.deviceCompliancePolicyState" object in the "deviceCompliancePolicyStates" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - public System.String deviceCompliancePolicyStateId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.managedDevice" object in the "managedDevices" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedDevice" object in the "managedDevices" collection.")] - public System.String managedDeviceId { get; set; } - - /// - /// The "settingStates" property, of type "microsoft.graph.deviceCompliancePolicySettingState". - /// This property is on the "microsoft.graph.deviceCompliancePolicyState" type. - /// - [ODataType("microsoft.graph.deviceCompliancePolicySettingState")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.deviceCompliancePolicyState", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "settingStates" property, of type "microsoft.graph.deviceCompliancePolicySettingState".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "settingStates" property, of type "microsoft.graph.deviceCompliancePolicySettingState".")] - public System.Object[] settingStates { get; set; } - - /// - /// The "displayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.deviceCompliancePolicyState" type. - /// The name of the policy for this policyBase - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.deviceCompliancePolicyState", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "displayName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "displayName" property, of type "Edm.String".")] - public System.String displayName { get; set; } - - /// - /// The "version" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.deviceCompliancePolicyState" type. - /// The version of the policy - /// - [ODataType("Edm.Int32")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.deviceCompliancePolicyState", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "version" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "version" property, of type "Edm.Int32".")] - public System.Int32 version { get; set; } - - /// - /// The "platformType" property, of type "microsoft.graph.policyPlatformType". - /// This property is on the "microsoft.graph.deviceCompliancePolicyState" type. - /// Platform type that the policy applies to - /// - /// Valid values: 'android', 'iOS', 'macOS', 'windowsPhone81', 'windows81AndLater', 'windows10AndLater', 'androidWorkProfile', 'all' - /// - /// - [ODataType("microsoft.graph.policyPlatformType")] - [Selectable] - [ValidateSet(@"android", @"iOS", @"macOS", @"windowsPhone81", @"windows81AndLater", @"windows10AndLater", @"androidWorkProfile", @"all")] - [Parameter(ParameterSetName = @"microsoft.graph.deviceCompliancePolicyState", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "platformType" property, of type "microsoft.graph.policyPlatformType".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "platformType" property, of type "microsoft.graph.policyPlatformType".")] - public System.String platformType { get; set; } - - /// - /// The "state" property, of type "microsoft.graph.complianceStatus". - /// This property is on the "microsoft.graph.deviceCompliancePolicyState" type. - /// The compliance state of the policy - /// - /// Valid values: 'unknown', 'notApplicable', 'compliant', 'remediated', 'nonCompliant', 'error', 'conflict', 'notAssigned' - /// - /// - [ODataType("microsoft.graph.complianceStatus")] - [Selectable] - [ValidateSet(@"unknown", @"notApplicable", @"compliant", @"remediated", @"nonCompliant", @"error", @"conflict", @"notAssigned")] - [Parameter(ParameterSetName = @"microsoft.graph.deviceCompliancePolicyState", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "state" property, of type "microsoft.graph.complianceStatus".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "state" property, of type "microsoft.graph.complianceStatus".")] - public System.String state { get; set; } - - /// - /// The "settingCount" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.deviceCompliancePolicyState" type. - /// Count of how many setting a policy holds - /// - [ODataType("Edm.Int32")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.deviceCompliancePolicyState", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "settingCount" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "settingCount" property, of type "Edm.Int32".")] - public System.Int32 settingCount { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/managedDevices/{managedDeviceId}/deviceCompliancePolicyStates/{deviceCompliancePolicyStateId}"; - } - } - - /// - /// Updates a "microsoft.graph.deviceCompliancePolicyState". - /// PATCH ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/managedDevices/{managedDeviceId}/deviceCompliancePolicyStates - /// Updates a "microsoft.graph.deviceCompliancePolicyState" object in the "deviceCompliancePolicyStates" collection. - /// Device compliance policy states for this device. - /// - /// GitHub Repository - [Cmdlet("Update", "DirectoryObjects_ManagedDevices_DeviceCompliancePolicyStates", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.deviceCompliancePolicyState")] - [ODataType("microsoft.graph.deviceCompliancePolicyState")] - [ResourceTypePropertyName("deviceCompliancePolicyStateODataType")] - public class Update_DirectoryObjects_ManagedDevices_DeviceCompliancePolicyStates : PatchCmdlet - { - /// - /// The ID for a "microsoft.graph.deviceCompliancePolicyState" object in the "deviceCompliancePolicyStates" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.deviceCompliancePolicyState" object in the "deviceCompliancePolicyStates" collection.")] - public System.String deviceCompliancePolicyStateId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.managedDevice" object in the "managedDevices" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedDevice" object in the "managedDevices" collection.")] - public System.String managedDeviceId { get; set; } - - /// - /// The "settingStates" property, of type "microsoft.graph.deviceCompliancePolicySettingState". - /// This property is on the "microsoft.graph.deviceCompliancePolicyState" type. - /// - [ODataType("microsoft.graph.deviceCompliancePolicySettingState")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.deviceCompliancePolicyState", HelpMessage = @"The "settingStates" property, of type "microsoft.graph.deviceCompliancePolicySettingState".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "settingStates" property, of type "microsoft.graph.deviceCompliancePolicySettingState".")] - public System.Object[] settingStates { get; set; } - - /// - /// The "displayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.deviceCompliancePolicyState" type. - /// The name of the policy for this policyBase - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.deviceCompliancePolicyState", HelpMessage = @"The "displayName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "displayName" property, of type "Edm.String".")] - public System.String displayName { get; set; } - - /// - /// The "version" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.deviceCompliancePolicyState" type. - /// The version of the policy - /// - [ODataType("Edm.Int32")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.deviceCompliancePolicyState", HelpMessage = @"The "version" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "version" property, of type "Edm.Int32".")] - public System.Int32 version { get; set; } - - /// - /// The "platformType" property, of type "microsoft.graph.policyPlatformType". - /// This property is on the "microsoft.graph.deviceCompliancePolicyState" type. - /// Platform type that the policy applies to - /// - /// Valid values: 'android', 'iOS', 'macOS', 'windowsPhone81', 'windows81AndLater', 'windows10AndLater', 'androidWorkProfile', 'all' - /// - /// - [ODataType("microsoft.graph.policyPlatformType")] - [Selectable] - [ValidateSet(@"android", @"iOS", @"macOS", @"windowsPhone81", @"windows81AndLater", @"windows10AndLater", @"androidWorkProfile", @"all")] - [Parameter(ParameterSetName = @"microsoft.graph.deviceCompliancePolicyState", HelpMessage = @"The "platformType" property, of type "microsoft.graph.policyPlatformType".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "platformType" property, of type "microsoft.graph.policyPlatformType".")] - public System.String platformType { get; set; } - - /// - /// The "state" property, of type "microsoft.graph.complianceStatus". - /// This property is on the "microsoft.graph.deviceCompliancePolicyState" type. - /// The compliance state of the policy - /// - /// Valid values: 'unknown', 'notApplicable', 'compliant', 'remediated', 'nonCompliant', 'error', 'conflict', 'notAssigned' - /// - /// - [ODataType("microsoft.graph.complianceStatus")] - [Selectable] - [ValidateSet(@"unknown", @"notApplicable", @"compliant", @"remediated", @"nonCompliant", @"error", @"conflict", @"notAssigned")] - [Parameter(ParameterSetName = @"microsoft.graph.deviceCompliancePolicyState", HelpMessage = @"The "state" property, of type "microsoft.graph.complianceStatus".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "state" property, of type "microsoft.graph.complianceStatus".")] - public System.String state { get; set; } - - /// - /// The "settingCount" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.deviceCompliancePolicyState" type. - /// Count of how many setting a policy holds - /// - [ODataType("Edm.Int32")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.deviceCompliancePolicyState", HelpMessage = @"The "settingCount" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "settingCount" property, of type "Edm.Int32".")] - public System.Int32 settingCount { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/managedDevices/{managedDeviceId}/deviceCompliancePolicyStates/{deviceCompliancePolicyStateId}"; - } - } - - /// - /// Removes a "microsoft.graph.deviceCompliancePolicyState" object. - /// DELETE ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/managedDevices/{managedDeviceId}/deviceCompliancePolicyStates/deviceCompliancePolicyStateId - /// Removes a "microsoft.graph.deviceCompliancePolicyState" object from the "deviceCompliancePolicyStates" collection. - /// Device compliance policy states for this device. - /// - /// GitHub Repository - [Cmdlet("Remove", "DirectoryObjects_ManagedDevices_DeviceCompliancePolicyStates", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.deviceCompliancePolicyState")] - [ResourceTypePropertyName("deviceCompliancePolicyStateODataType")] - public class Remove_DirectoryObjects_ManagedDevices_DeviceCompliancePolicyStates : DeleteCmdlet - { - /// - /// The ID for a "microsoft.graph.deviceCompliancePolicyState" object in the "deviceCompliancePolicyStates" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.deviceCompliancePolicyState" object in the "deviceCompliancePolicyStates" collection.")] - public System.String deviceCompliancePolicyStateId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.managedDevice" object in the "managedDevices" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedDevice" object in the "managedDevices" collection.")] - public System.String managedDeviceId { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/managedDevices/{managedDeviceId}/deviceCompliancePolicyStates/{deviceCompliancePolicyStateId}"; - } - } -} \ No newline at end of file diff --git a/PowerShellCmdlets/Generated/SDK/DirectoryObjects/ManagedDevices/DeviceConfigurationStates.cs b/PowerShellCmdlets/Generated/SDK/DirectoryObjects/ManagedDevices/DeviceConfigurationStates.cs deleted file mode 100644 index 81d95e6..0000000 --- a/PowerShellCmdlets/Generated/SDK/DirectoryObjects/ManagedDevices/DeviceConfigurationStates.cs +++ /dev/null @@ -1,464 +0,0 @@ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. - -namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets -{ - using System.Management.Automation; - - /// - /// Retrieves "microsoft.graph.deviceConfigurationState" objects. - /// GET ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/managedDevices/{managedDeviceId}/deviceConfigurationStates - /// Retrieves "microsoft.graph.deviceConfigurationState" objects in the "deviceConfigurationStates" collection. - /// Device configuration states for this device. - /// - /// GitHub Repository - [Cmdlet("Get", "DirectoryObjects_ManagedDevices_DeviceConfigurationStates", DefaultParameterSetName = @"Search")] - [ODataType("microsoft.graph.deviceConfigurationState")] - [ResourceTypePropertyName("deviceConfigurationStateODataType")] - [ResourceReference] - public class Get_DirectoryObjects_ManagedDevices_DeviceConfigurationStates : GetOrSearchCmdlet - { - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.managedDevice" object in the "managedDevices" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedDevice" object in the "managedDevices" collection.")] - public System.String managedDeviceId { get; set; } - - /// - /// The ID for a "microsoft.graph.deviceConfigurationState" object in the "deviceConfigurationStates" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(ParameterSetName = @"Get", Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.deviceConfigurationState" object in the "deviceConfigurationStates" collection.")] - public System.String deviceConfigurationStateId { get; set; } - - /// - /// The "settingStates" property, of type "microsoft.graph.deviceConfigurationSettingState". - /// This property is on the "microsoft.graph.deviceConfigurationState" type. - /// - [ODataType("microsoft.graph.deviceConfigurationSettingState")] - [Selectable] - public System.Object[] settingStates { get; set; } - - /// - /// The "displayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.deviceConfigurationState" type. - /// The name of the policy for this policyBase - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String displayName { get; set; } - - /// - /// The "version" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.deviceConfigurationState" type. - /// The version of the policy - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - public System.Int32 version { get; set; } - - /// - /// The "platformType" property, of type "microsoft.graph.policyPlatformType". - /// This property is on the "microsoft.graph.deviceConfigurationState" type. - /// Platform type that the policy applies to - /// - [ODataType("microsoft.graph.policyPlatformType")] - [Selectable] - [Sortable] - public System.String platformType { get; set; } - - /// - /// The "state" property, of type "microsoft.graph.complianceStatus". - /// This property is on the "microsoft.graph.deviceConfigurationState" type. - /// The compliance state of the policy - /// - [ODataType("microsoft.graph.complianceStatus")] - [Selectable] - [Sortable] - public System.String state { get; set; } - - /// - /// The "settingCount" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.deviceConfigurationState" type. - /// Count of how many setting a policy holds - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - public System.Int32 settingCount { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/managedDevices/{managedDeviceId}/deviceConfigurationStates/{deviceConfigurationStateId ?? string.Empty}"; - } - } - - /// - /// Creates a "microsoft.graph.deviceConfigurationState" object. - /// POST ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/managedDevices/{managedDeviceId}/deviceConfigurationStates - /// Adds a "microsoft.graph.deviceConfigurationState" object to the "deviceConfigurationStates" collection. - /// Device configuration states for this device. - /// - /// GitHub Repository - [Cmdlet("New", "DirectoryObjects_ManagedDevices_DeviceConfigurationStates", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.deviceConfigurationState")] - [ODataType("microsoft.graph.deviceConfigurationState")] - [ResourceTypePropertyName("deviceConfigurationStateODataType")] - [ResourceReference] - public class New_DirectoryObjects_ManagedDevices_DeviceConfigurationStates : PostCmdlet - { - /// - /// The ID for a "microsoft.graph.deviceConfigurationState" object in the "deviceConfigurationStates" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - public System.String deviceConfigurationStateId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.managedDevice" object in the "managedDevices" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedDevice" object in the "managedDevices" collection.")] - public System.String managedDeviceId { get; set; } - - /// - /// The "settingStates" property, of type "microsoft.graph.deviceConfigurationSettingState". - /// This property is on the "microsoft.graph.deviceConfigurationState" type. - /// - [ODataType("microsoft.graph.deviceConfigurationSettingState")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.deviceConfigurationState", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "settingStates" property, of type "microsoft.graph.deviceConfigurationSettingState".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "settingStates" property, of type "microsoft.graph.deviceConfigurationSettingState".")] - public System.Object[] settingStates { get; set; } - - /// - /// The "displayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.deviceConfigurationState" type. - /// The name of the policy for this policyBase - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.deviceConfigurationState", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "displayName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "displayName" property, of type "Edm.String".")] - public System.String displayName { get; set; } - - /// - /// The "version" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.deviceConfigurationState" type. - /// The version of the policy - /// - [ODataType("Edm.Int32")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.deviceConfigurationState", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "version" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "version" property, of type "Edm.Int32".")] - public System.Int32 version { get; set; } - - /// - /// The "platformType" property, of type "microsoft.graph.policyPlatformType". - /// This property is on the "microsoft.graph.deviceConfigurationState" type. - /// Platform type that the policy applies to - /// - /// Valid values: 'android', 'iOS', 'macOS', 'windowsPhone81', 'windows81AndLater', 'windows10AndLater', 'androidWorkProfile', 'all' - /// - /// - [ODataType("microsoft.graph.policyPlatformType")] - [Selectable] - [ValidateSet(@"android", @"iOS", @"macOS", @"windowsPhone81", @"windows81AndLater", @"windows10AndLater", @"androidWorkProfile", @"all")] - [Parameter(ParameterSetName = @"microsoft.graph.deviceConfigurationState", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "platformType" property, of type "microsoft.graph.policyPlatformType".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "platformType" property, of type "microsoft.graph.policyPlatformType".")] - public System.String platformType { get; set; } - - /// - /// The "state" property, of type "microsoft.graph.complianceStatus". - /// This property is on the "microsoft.graph.deviceConfigurationState" type. - /// The compliance state of the policy - /// - /// Valid values: 'unknown', 'notApplicable', 'compliant', 'remediated', 'nonCompliant', 'error', 'conflict', 'notAssigned' - /// - /// - [ODataType("microsoft.graph.complianceStatus")] - [Selectable] - [ValidateSet(@"unknown", @"notApplicable", @"compliant", @"remediated", @"nonCompliant", @"error", @"conflict", @"notAssigned")] - [Parameter(ParameterSetName = @"microsoft.graph.deviceConfigurationState", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "state" property, of type "microsoft.graph.complianceStatus".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "state" property, of type "microsoft.graph.complianceStatus".")] - public System.String state { get; set; } - - /// - /// The "settingCount" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.deviceConfigurationState" type. - /// Count of how many setting a policy holds - /// - [ODataType("Edm.Int32")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.deviceConfigurationState", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "settingCount" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "settingCount" property, of type "Edm.Int32".")] - public System.Int32 settingCount { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/managedDevices/{managedDeviceId}/deviceConfigurationStates/{deviceConfigurationStateId}"; - } - } - - /// - /// Updates a "microsoft.graph.deviceConfigurationState". - /// PATCH ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/managedDevices/{managedDeviceId}/deviceConfigurationStates - /// Updates a "microsoft.graph.deviceConfigurationState" object in the "deviceConfigurationStates" collection. - /// Device configuration states for this device. - /// - /// GitHub Repository - [Cmdlet("Update", "DirectoryObjects_ManagedDevices_DeviceConfigurationStates", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.deviceConfigurationState")] - [ODataType("microsoft.graph.deviceConfigurationState")] - [ResourceTypePropertyName("deviceConfigurationStateODataType")] - public class Update_DirectoryObjects_ManagedDevices_DeviceConfigurationStates : PatchCmdlet - { - /// - /// The ID for a "microsoft.graph.deviceConfigurationState" object in the "deviceConfigurationStates" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.deviceConfigurationState" object in the "deviceConfigurationStates" collection.")] - public System.String deviceConfigurationStateId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.managedDevice" object in the "managedDevices" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedDevice" object in the "managedDevices" collection.")] - public System.String managedDeviceId { get; set; } - - /// - /// The "settingStates" property, of type "microsoft.graph.deviceConfigurationSettingState". - /// This property is on the "microsoft.graph.deviceConfigurationState" type. - /// - [ODataType("microsoft.graph.deviceConfigurationSettingState")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.deviceConfigurationState", HelpMessage = @"The "settingStates" property, of type "microsoft.graph.deviceConfigurationSettingState".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "settingStates" property, of type "microsoft.graph.deviceConfigurationSettingState".")] - public System.Object[] settingStates { get; set; } - - /// - /// The "displayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.deviceConfigurationState" type. - /// The name of the policy for this policyBase - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.deviceConfigurationState", HelpMessage = @"The "displayName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "displayName" property, of type "Edm.String".")] - public System.String displayName { get; set; } - - /// - /// The "version" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.deviceConfigurationState" type. - /// The version of the policy - /// - [ODataType("Edm.Int32")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.deviceConfigurationState", HelpMessage = @"The "version" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "version" property, of type "Edm.Int32".")] - public System.Int32 version { get; set; } - - /// - /// The "platformType" property, of type "microsoft.graph.policyPlatformType". - /// This property is on the "microsoft.graph.deviceConfigurationState" type. - /// Platform type that the policy applies to - /// - /// Valid values: 'android', 'iOS', 'macOS', 'windowsPhone81', 'windows81AndLater', 'windows10AndLater', 'androidWorkProfile', 'all' - /// - /// - [ODataType("microsoft.graph.policyPlatformType")] - [Selectable] - [ValidateSet(@"android", @"iOS", @"macOS", @"windowsPhone81", @"windows81AndLater", @"windows10AndLater", @"androidWorkProfile", @"all")] - [Parameter(ParameterSetName = @"microsoft.graph.deviceConfigurationState", HelpMessage = @"The "platformType" property, of type "microsoft.graph.policyPlatformType".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "platformType" property, of type "microsoft.graph.policyPlatformType".")] - public System.String platformType { get; set; } - - /// - /// The "state" property, of type "microsoft.graph.complianceStatus". - /// This property is on the "microsoft.graph.deviceConfigurationState" type. - /// The compliance state of the policy - /// - /// Valid values: 'unknown', 'notApplicable', 'compliant', 'remediated', 'nonCompliant', 'error', 'conflict', 'notAssigned' - /// - /// - [ODataType("microsoft.graph.complianceStatus")] - [Selectable] - [ValidateSet(@"unknown", @"notApplicable", @"compliant", @"remediated", @"nonCompliant", @"error", @"conflict", @"notAssigned")] - [Parameter(ParameterSetName = @"microsoft.graph.deviceConfigurationState", HelpMessage = @"The "state" property, of type "microsoft.graph.complianceStatus".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "state" property, of type "microsoft.graph.complianceStatus".")] - public System.String state { get; set; } - - /// - /// The "settingCount" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.deviceConfigurationState" type. - /// Count of how many setting a policy holds - /// - [ODataType("Edm.Int32")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.deviceConfigurationState", HelpMessage = @"The "settingCount" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "settingCount" property, of type "Edm.Int32".")] - public System.Int32 settingCount { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/managedDevices/{managedDeviceId}/deviceConfigurationStates/{deviceConfigurationStateId}"; - } - } - - /// - /// Removes a "microsoft.graph.deviceConfigurationState" object. - /// DELETE ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/managedDevices/{managedDeviceId}/deviceConfigurationStates/deviceConfigurationStateId - /// Removes a "microsoft.graph.deviceConfigurationState" object from the "deviceConfigurationStates" collection. - /// Device configuration states for this device. - /// - /// GitHub Repository - [Cmdlet("Remove", "DirectoryObjects_ManagedDevices_DeviceConfigurationStates", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.deviceConfigurationState")] - [ResourceTypePropertyName("deviceConfigurationStateODataType")] - public class Remove_DirectoryObjects_ManagedDevices_DeviceConfigurationStates : DeleteCmdlet - { - /// - /// The ID for a "microsoft.graph.deviceConfigurationState" object in the "deviceConfigurationStates" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.deviceConfigurationState" object in the "deviceConfigurationStates" collection.")] - public System.String deviceConfigurationStateId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.managedDevice" object in the "managedDevices" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedDevice" object in the "managedDevices" collection.")] - public System.String managedDeviceId { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/managedDevices/{managedDeviceId}/deviceConfigurationStates/{deviceConfigurationStateId}"; - } - } -} \ No newline at end of file diff --git a/PowerShellCmdlets/Generated/SDK/DirectoryObjects/Manager.cs b/PowerShellCmdlets/Generated/SDK/DirectoryObjects/Manager.cs deleted file mode 100644 index e21caea..0000000 --- a/PowerShellCmdlets/Generated/SDK/DirectoryObjects/Manager.cs +++ /dev/null @@ -1,2376 +0,0 @@ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. - -namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets -{ - using System.Management.Automation; - - /// - /// Retrieves the "manager" object. - /// GET ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/manager - /// Retrieves the "manager" object (which is of type "microsoft.graph.directoryObject"). - /// - /// GitHub Repository - [Cmdlet("Get", "DirectoryObjects_Manager", DefaultParameterSetName = @"Get")] - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [ResourceTypePropertyName("managerODataType")] - public class Get_DirectoryObjects_Manager : GetCmdlet - { - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - /// - /// The "deletedDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.directoryObject" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - public System.DateTimeOffset deletedDateTime { get; set; } - - /// - /// The "displayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.String displayName { get; set; } - - /// - /// The "description" property, of type "Edm.String". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.String description { get; set; } - - /// - /// The "values" property, of type "microsoft.graph.settingTemplateValue". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("microsoft.graph.settingTemplateValue")] - [Selectable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.Object[] values { get; set; } - - /// - /// The "accountEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Boolean accountEnabled { get; set; } - - /// - /// The "ageGroup" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String ageGroup { get; set; } - - /// - /// The "assignedLicenses" property, of type "microsoft.graph.assignedLicense". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.assignedLicense")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] assignedLicenses { get; set; } - - /// - /// The "assignedPlans" property, of type "microsoft.graph.assignedPlan". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.assignedPlan")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] assignedPlans { get; set; } - - /// - /// The "businessPhones" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] businessPhones { get; set; } - - /// - /// The "city" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String city { get; set; } - - /// - /// The "companyName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String companyName { get; set; } - - /// - /// The "consentProvidedForMinor" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String consentProvidedForMinor { get; set; } - - /// - /// The "country" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String country { get; set; } - - /// - /// The "department" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String department { get; set; } - - /// - /// The "givenName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String givenName { get; set; } - - /// - /// The "imAddresses" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] imAddresses { get; set; } - - /// - /// The "jobTitle" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String jobTitle { get; set; } - - /// - /// The "legalAgeGroupClassification" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String legalAgeGroupClassification { get; set; } - - /// - /// The "mail" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mail { get; set; } - - /// - /// The "mailNickname" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mailNickname { get; set; } - - /// - /// The "mobilePhone" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mobilePhone { get; set; } - - /// - /// The "onPremisesExtensionAttributes" property, of type "microsoft.graph.onPremisesExtensionAttributes". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.onPremisesExtensionAttributes")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object onPremisesExtensionAttributes { get; set; } - - /// - /// The "onPremisesImmutableId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesImmutableId { get; set; } - - /// - /// The "onPremisesLastSyncDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset onPremisesLastSyncDateTime { get; set; } - - /// - /// The "onPremisesProvisioningErrors" property, of type "microsoft.graph.onPremisesProvisioningError". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.onPremisesProvisioningError")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] onPremisesProvisioningErrors { get; set; } - - /// - /// The "onPremisesSecurityIdentifier" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesSecurityIdentifier { get; set; } - - /// - /// The "onPremisesSyncEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Boolean onPremisesSyncEnabled { get; set; } - - /// - /// The "onPremisesDomainName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesDomainName { get; set; } - - /// - /// The "onPremisesSamAccountName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesSamAccountName { get; set; } - - /// - /// The "onPremisesUserPrincipalName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesUserPrincipalName { get; set; } - - /// - /// The "passwordPolicies" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String passwordPolicies { get; set; } - - /// - /// The "passwordProfile" property, of type "microsoft.graph.passwordProfile". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.passwordProfile")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object passwordProfile { get; set; } - - /// - /// The "officeLocation" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String officeLocation { get; set; } - - /// - /// The "postalCode" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String postalCode { get; set; } - - /// - /// The "preferredLanguage" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String preferredLanguage { get; set; } - - /// - /// The "provisionedPlans" property, of type "microsoft.graph.provisionedPlan". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.provisionedPlan")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] provisionedPlans { get; set; } - - /// - /// The "proxyAddresses" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] proxyAddresses { get; set; } - - /// - /// The "state" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String state { get; set; } - - /// - /// The "streetAddress" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String streetAddress { get; set; } - - /// - /// The "surname" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String surname { get; set; } - - /// - /// The "usageLocation" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String usageLocation { get; set; } - - /// - /// The "userPrincipalName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String userPrincipalName { get; set; } - - /// - /// The "userType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String userType { get; set; } - - /// - /// The "mailboxSettings" property, of type "microsoft.graph.mailboxSettings". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.mailboxSettings")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object mailboxSettings { get; set; } - - /// - /// The "aboutMe" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String aboutMe { get; set; } - - /// - /// The "birthday" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset birthday { get; set; } - - /// - /// The "hireDate" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset hireDate { get; set; } - - /// - /// The "interests" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] interests { get; set; } - - /// - /// The "mySite" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mySite { get; set; } - - /// - /// The "pastProjects" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] pastProjects { get; set; } - - /// - /// The "preferredName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String preferredName { get; set; } - - /// - /// The "responsibilities" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] responsibilities { get; set; } - - /// - /// The "schools" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] schools { get; set; } - - /// - /// The "skills" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] skills { get; set; } - - /// - /// The "deviceEnrollmentLimit" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.user" type. - /// The limit on the maximum number of devices that the user is permitted to enroll. Allowed values are 5 or 1000. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Int32 deviceEnrollmentLimit { get; set; } - - /// - /// The "ownedDevices" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] ownedDevices { get; set; } - - /// - /// The "registeredDevices" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] registeredDevices { get; set; } - - /// - /// The "manager" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object manager { get; set; } - - /// - /// The "directReports" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] directReports { get; set; } - - /// - /// The "memberOf" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] memberOf { get; set; } - - /// - /// The "createdObjects" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] createdObjects { get; set; } - - /// - /// The "ownedObjects" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] ownedObjects { get; set; } - - /// - /// The "licenseDetails" property, of type "microsoft.graph.licenseDetails". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.licenseDetails")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] licenseDetails { get; set; } - - /// - /// The "inferenceClassification" property, of type "microsoft.graph.inferenceClassification". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.inferenceClassification")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object inferenceClassification { get; set; } - - /// - /// The "photo" property, of type "microsoft.graph.profilePhoto". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.profilePhoto")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object photo { get; set; } - - /// - /// The "photos" property, of type "microsoft.graph.profilePhoto". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.profilePhoto")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] photos { get; set; } - - /// - /// The "managedDevices" property, of type "microsoft.graph.managedDevice". - /// This property is on the "microsoft.graph.user" type. - /// The managed devices associated with the user. - /// - [ODataType("microsoft.graph.managedDevice")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] managedDevices { get; set; } - - /// - /// The "managedAppRegistrations" property, of type "microsoft.graph.managedAppRegistration". - /// This property is on the "microsoft.graph.user" type. - /// Zero or more managed app registrations that belong to the user. - /// - [ODataType("microsoft.graph.managedAppRegistration", "microsoft.graph.androidManagedAppRegistration", "microsoft.graph.iosManagedAppRegistration")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] managedAppRegistrations { get; set; } - - /// - /// The "deviceManagementTroubleshootingEvents" property, of type "microsoft.graph.deviceManagementTroubleshootingEvent". - /// This property is on the "microsoft.graph.user" type. - /// The list of troubleshooting events for this user. - /// - [ODataType("microsoft.graph.deviceManagementTroubleshootingEvent", "microsoft.graph.enrollmentTroubleshootingEvent")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] deviceManagementTroubleshootingEvents { get; set; } - - /// - /// The "countryLetterCode" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String countryLetterCode { get; set; } - - /// - /// The "marketingNotificationEmails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] marketingNotificationEmails { get; set; } - - /// - /// The "privacyProfile" property, of type "microsoft.graph.privacyProfile". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("microsoft.graph.privacyProfile")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.Object privacyProfile { get; set; } - - /// - /// The "securityComplianceNotificationMails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] securityComplianceNotificationMails { get; set; } - - /// - /// The "securityComplianceNotificationPhones" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] securityComplianceNotificationPhones { get; set; } - - /// - /// The "street" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String street { get; set; } - - /// - /// The "technicalNotificationMails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] technicalNotificationMails { get; set; } - - /// - /// The "mobileDeviceManagementAuthority" property, of type "microsoft.graph.mdmAuthority". - /// This property is on the "microsoft.graph.organization" type. - /// Mobile device management authority. - /// - [ODataType("microsoft.graph.mdmAuthority")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String mobileDeviceManagementAuthority { get; set; } - - /// - /// The "contractType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.String contractType { get; set; } - - /// - /// The "customerId" property, of type "Edm.Guid". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.Guid")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.Guid customerId { get; set; } - - /// - /// The "defaultDomainName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.String defaultDomainName { get; set; } - - /// - /// The "classification" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.String classification { get; set; } - - /// - /// The "createdDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.DateTimeOffset createdDateTime { get; set; } - - /// - /// The "groupTypes" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.group")] - public System.String[] groupTypes { get; set; } - - /// - /// The "mailEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean mailEnabled { get; set; } - - /// - /// The "renewedDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.DateTimeOffset renewedDateTime { get; set; } - - /// - /// The "securityEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean securityEnabled { get; set; } - - /// - /// The "visibility" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.String visibility { get; set; } - - /// - /// The "allowExternalSenders" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean allowExternalSenders { get; set; } - - /// - /// The "autoSubscribeNewMembers" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean autoSubscribeNewMembers { get; set; } - - /// - /// The "isSubscribedByMail" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean isSubscribedByMail { get; set; } - - /// - /// The "unseenCount" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Int32 unseenCount { get; set; } - - /// - /// The "members" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] members { get; set; } - - /// - /// The "createdOnBehalfOf" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Object createdOnBehalfOf { get; set; } - - /// - /// The "owners" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] owners { get; set; } - - /// - /// The "settings" property, of type "microsoft.graph.groupSetting". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.groupSetting")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] settings { get; set; } - - /// - /// The "groupLifecyclePolicies" property, of type "microsoft.graph.groupLifecyclePolicy". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.groupLifecyclePolicy")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] groupLifecyclePolicies { get; set; } - - /// - /// The "roleTemplateId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.directoryRole" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.directoryRole")] - public System.String roleTemplateId { get; set; } - - /// - /// The "alternativeSecurityIds" property, of type "microsoft.graph.alternativeSecurityId". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.alternativeSecurityId")] - [Selectable] - [DerivedType("microsoft.graph.device")] - public System.Object[] alternativeSecurityIds { get; set; } - - /// - /// The "approximateLastSignInDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.DateTimeOffset approximateLastSignInDateTime { get; set; } - - /// - /// The "deviceId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String deviceId { get; set; } - - /// - /// The "deviceMetadata" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String deviceMetadata { get; set; } - - /// - /// The "deviceVersion" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Int32 deviceVersion { get; set; } - - /// - /// The "isCompliant" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Boolean isCompliant { get; set; } - - /// - /// The "isManaged" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Boolean isManaged { get; set; } - - /// - /// The "operatingSystem" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String operatingSystem { get; set; } - - /// - /// The "operatingSystemVersion" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String operatingSystemVersion { get; set; } - - /// - /// The "physicalIds" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.device")] - public System.String[] physicalIds { get; set; } - - /// - /// The "trustType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String trustType { get; set; } - - /// - /// The "registeredOwners" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] registeredOwners { get; set; } - - /// - /// The "registeredUsers" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] registeredUsers { get; set; } - - /// - /// The "extensions" property, of type "microsoft.graph.extension". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.extension", "microsoft.graph.openTypeExtension")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] extensions { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/manager"; - } - } - - /// - /// Retrieves the "manager" object reference. - /// GET ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/manager/$ref - /// Retrieves the "manager" object reference (which is of type "microsoft.graph.directoryObject"). - /// - /// GitHub Repository - [Cmdlet("Get", "DirectoryObjects_ManagerReference", DefaultParameterSetName = @"Get")] - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [ResourceTypePropertyName("managerODataType")] - public class Get_DirectoryObjects_ManagerReference : GetCmdlet - { - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - /// - /// The "deletedDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.directoryObject" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - public System.DateTimeOffset deletedDateTime { get; set; } - - /// - /// The "displayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.String displayName { get; set; } - - /// - /// The "description" property, of type "Edm.String". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.String description { get; set; } - - /// - /// The "values" property, of type "microsoft.graph.settingTemplateValue". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("microsoft.graph.settingTemplateValue")] - [Selectable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.Object[] values { get; set; } - - /// - /// The "accountEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Boolean accountEnabled { get; set; } - - /// - /// The "ageGroup" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String ageGroup { get; set; } - - /// - /// The "assignedLicenses" property, of type "microsoft.graph.assignedLicense". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.assignedLicense")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] assignedLicenses { get; set; } - - /// - /// The "assignedPlans" property, of type "microsoft.graph.assignedPlan". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.assignedPlan")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] assignedPlans { get; set; } - - /// - /// The "businessPhones" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] businessPhones { get; set; } - - /// - /// The "city" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String city { get; set; } - - /// - /// The "companyName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String companyName { get; set; } - - /// - /// The "consentProvidedForMinor" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String consentProvidedForMinor { get; set; } - - /// - /// The "country" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String country { get; set; } - - /// - /// The "department" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String department { get; set; } - - /// - /// The "givenName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String givenName { get; set; } - - /// - /// The "imAddresses" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] imAddresses { get; set; } - - /// - /// The "jobTitle" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String jobTitle { get; set; } - - /// - /// The "legalAgeGroupClassification" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String legalAgeGroupClassification { get; set; } - - /// - /// The "mail" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mail { get; set; } - - /// - /// The "mailNickname" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mailNickname { get; set; } - - /// - /// The "mobilePhone" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mobilePhone { get; set; } - - /// - /// The "onPremisesExtensionAttributes" property, of type "microsoft.graph.onPremisesExtensionAttributes". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.onPremisesExtensionAttributes")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object onPremisesExtensionAttributes { get; set; } - - /// - /// The "onPremisesImmutableId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesImmutableId { get; set; } - - /// - /// The "onPremisesLastSyncDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset onPremisesLastSyncDateTime { get; set; } - - /// - /// The "onPremisesProvisioningErrors" property, of type "microsoft.graph.onPremisesProvisioningError". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.onPremisesProvisioningError")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] onPremisesProvisioningErrors { get; set; } - - /// - /// The "onPremisesSecurityIdentifier" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesSecurityIdentifier { get; set; } - - /// - /// The "onPremisesSyncEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Boolean onPremisesSyncEnabled { get; set; } - - /// - /// The "onPremisesDomainName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesDomainName { get; set; } - - /// - /// The "onPremisesSamAccountName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesSamAccountName { get; set; } - - /// - /// The "onPremisesUserPrincipalName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesUserPrincipalName { get; set; } - - /// - /// The "passwordPolicies" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String passwordPolicies { get; set; } - - /// - /// The "passwordProfile" property, of type "microsoft.graph.passwordProfile". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.passwordProfile")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object passwordProfile { get; set; } - - /// - /// The "officeLocation" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String officeLocation { get; set; } - - /// - /// The "postalCode" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String postalCode { get; set; } - - /// - /// The "preferredLanguage" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String preferredLanguage { get; set; } - - /// - /// The "provisionedPlans" property, of type "microsoft.graph.provisionedPlan". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.provisionedPlan")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] provisionedPlans { get; set; } - - /// - /// The "proxyAddresses" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] proxyAddresses { get; set; } - - /// - /// The "state" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String state { get; set; } - - /// - /// The "streetAddress" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String streetAddress { get; set; } - - /// - /// The "surname" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String surname { get; set; } - - /// - /// The "usageLocation" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String usageLocation { get; set; } - - /// - /// The "userPrincipalName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String userPrincipalName { get; set; } - - /// - /// The "userType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String userType { get; set; } - - /// - /// The "mailboxSettings" property, of type "microsoft.graph.mailboxSettings". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.mailboxSettings")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object mailboxSettings { get; set; } - - /// - /// The "aboutMe" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String aboutMe { get; set; } - - /// - /// The "birthday" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset birthday { get; set; } - - /// - /// The "hireDate" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset hireDate { get; set; } - - /// - /// The "interests" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] interests { get; set; } - - /// - /// The "mySite" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mySite { get; set; } - - /// - /// The "pastProjects" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] pastProjects { get; set; } - - /// - /// The "preferredName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String preferredName { get; set; } - - /// - /// The "responsibilities" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] responsibilities { get; set; } - - /// - /// The "schools" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] schools { get; set; } - - /// - /// The "skills" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] skills { get; set; } - - /// - /// The "deviceEnrollmentLimit" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.user" type. - /// The limit on the maximum number of devices that the user is permitted to enroll. Allowed values are 5 or 1000. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Int32 deviceEnrollmentLimit { get; set; } - - /// - /// The "ownedDevices" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] ownedDevices { get; set; } - - /// - /// The "registeredDevices" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] registeredDevices { get; set; } - - /// - /// The "manager" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object manager { get; set; } - - /// - /// The "directReports" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] directReports { get; set; } - - /// - /// The "memberOf" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] memberOf { get; set; } - - /// - /// The "createdObjects" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] createdObjects { get; set; } - - /// - /// The "ownedObjects" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] ownedObjects { get; set; } - - /// - /// The "licenseDetails" property, of type "microsoft.graph.licenseDetails". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.licenseDetails")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] licenseDetails { get; set; } - - /// - /// The "inferenceClassification" property, of type "microsoft.graph.inferenceClassification". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.inferenceClassification")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object inferenceClassification { get; set; } - - /// - /// The "photo" property, of type "microsoft.graph.profilePhoto". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.profilePhoto")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object photo { get; set; } - - /// - /// The "photos" property, of type "microsoft.graph.profilePhoto". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.profilePhoto")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] photos { get; set; } - - /// - /// The "managedDevices" property, of type "microsoft.graph.managedDevice". - /// This property is on the "microsoft.graph.user" type. - /// The managed devices associated with the user. - /// - [ODataType("microsoft.graph.managedDevice")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] managedDevices { get; set; } - - /// - /// The "managedAppRegistrations" property, of type "microsoft.graph.managedAppRegistration". - /// This property is on the "microsoft.graph.user" type. - /// Zero or more managed app registrations that belong to the user. - /// - [ODataType("microsoft.graph.managedAppRegistration", "microsoft.graph.androidManagedAppRegistration", "microsoft.graph.iosManagedAppRegistration")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] managedAppRegistrations { get; set; } - - /// - /// The "deviceManagementTroubleshootingEvents" property, of type "microsoft.graph.deviceManagementTroubleshootingEvent". - /// This property is on the "microsoft.graph.user" type. - /// The list of troubleshooting events for this user. - /// - [ODataType("microsoft.graph.deviceManagementTroubleshootingEvent", "microsoft.graph.enrollmentTroubleshootingEvent")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] deviceManagementTroubleshootingEvents { get; set; } - - /// - /// The "countryLetterCode" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String countryLetterCode { get; set; } - - /// - /// The "marketingNotificationEmails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] marketingNotificationEmails { get; set; } - - /// - /// The "privacyProfile" property, of type "microsoft.graph.privacyProfile". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("microsoft.graph.privacyProfile")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.Object privacyProfile { get; set; } - - /// - /// The "securityComplianceNotificationMails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] securityComplianceNotificationMails { get; set; } - - /// - /// The "securityComplianceNotificationPhones" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] securityComplianceNotificationPhones { get; set; } - - /// - /// The "street" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String street { get; set; } - - /// - /// The "technicalNotificationMails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] technicalNotificationMails { get; set; } - - /// - /// The "mobileDeviceManagementAuthority" property, of type "microsoft.graph.mdmAuthority". - /// This property is on the "microsoft.graph.organization" type. - /// Mobile device management authority. - /// - [ODataType("microsoft.graph.mdmAuthority")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String mobileDeviceManagementAuthority { get; set; } - - /// - /// The "contractType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.String contractType { get; set; } - - /// - /// The "customerId" property, of type "Edm.Guid". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.Guid")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.Guid customerId { get; set; } - - /// - /// The "defaultDomainName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.String defaultDomainName { get; set; } - - /// - /// The "classification" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.String classification { get; set; } - - /// - /// The "createdDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.DateTimeOffset createdDateTime { get; set; } - - /// - /// The "groupTypes" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.group")] - public System.String[] groupTypes { get; set; } - - /// - /// The "mailEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean mailEnabled { get; set; } - - /// - /// The "renewedDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.DateTimeOffset renewedDateTime { get; set; } - - /// - /// The "securityEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean securityEnabled { get; set; } - - /// - /// The "visibility" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.String visibility { get; set; } - - /// - /// The "allowExternalSenders" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean allowExternalSenders { get; set; } - - /// - /// The "autoSubscribeNewMembers" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean autoSubscribeNewMembers { get; set; } - - /// - /// The "isSubscribedByMail" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean isSubscribedByMail { get; set; } - - /// - /// The "unseenCount" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Int32 unseenCount { get; set; } - - /// - /// The "members" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] members { get; set; } - - /// - /// The "createdOnBehalfOf" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Object createdOnBehalfOf { get; set; } - - /// - /// The "owners" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] owners { get; set; } - - /// - /// The "settings" property, of type "microsoft.graph.groupSetting". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.groupSetting")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] settings { get; set; } - - /// - /// The "groupLifecyclePolicies" property, of type "microsoft.graph.groupLifecyclePolicy". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.groupLifecyclePolicy")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] groupLifecyclePolicies { get; set; } - - /// - /// The "roleTemplateId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.directoryRole" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.directoryRole")] - public System.String roleTemplateId { get; set; } - - /// - /// The "alternativeSecurityIds" property, of type "microsoft.graph.alternativeSecurityId". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.alternativeSecurityId")] - [Selectable] - [DerivedType("microsoft.graph.device")] - public System.Object[] alternativeSecurityIds { get; set; } - - /// - /// The "approximateLastSignInDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.DateTimeOffset approximateLastSignInDateTime { get; set; } - - /// - /// The "deviceId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String deviceId { get; set; } - - /// - /// The "deviceMetadata" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String deviceMetadata { get; set; } - - /// - /// The "deviceVersion" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Int32 deviceVersion { get; set; } - - /// - /// The "isCompliant" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Boolean isCompliant { get; set; } - - /// - /// The "isManaged" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Boolean isManaged { get; set; } - - /// - /// The "operatingSystem" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String operatingSystem { get; set; } - - /// - /// The "operatingSystemVersion" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String operatingSystemVersion { get; set; } - - /// - /// The "physicalIds" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.device")] - public System.String[] physicalIds { get; set; } - - /// - /// The "trustType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String trustType { get; set; } - - /// - /// The "registeredOwners" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] registeredOwners { get; set; } - - /// - /// The "registeredUsers" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] registeredUsers { get; set; } - - /// - /// The "extensions" property, of type "microsoft.graph.extension". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.extension", "microsoft.graph.openTypeExtension")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] extensions { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/manager/$ref"; - } - } - - /// - /// Creates a reference from a "directoryObject" to a "microsoft.graph.directoryObject" object. - /// PUT ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/manager/$ref - /// Creates a reference from the "directoryObject" object to a "manager". - /// - /// GitHub Repository - [Cmdlet("New", "DirectoryObjects_ManagerReference", ConfirmImpact = ConfirmImpact.Low)] - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [ResourceTypePropertyName("managerODataType")] - public class New_DirectoryObjects_ManagerReference : PutReferenceToEntityCmdlet - { - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - /// - /// The URL which should be used to access a "microsoft.graph.directoryObject" object. - /// - [Selectable] - [Expandable] - [Alias("deviceReferenceUrl", "directoryRoleReferenceUrl", "directoryRoleTemplateReferenceUrl", "groupReferenceUrl", "contractReferenceUrl", "organizationReferenceUrl", "userReferenceUrl", "groupSettingTemplateReferenceUrl", "administrativeUnitReferenceUrl")] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The URL which should be used to access a "microsoft.graph.directoryObject" object.")] - public System.String directoryObjectReferenceUrl { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/manager/$ref"; - } - } - - /// - /// Removes a reference from a "directoryObject" to a "microsoft.graph.directoryObject" object. - /// DELETE ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/manager/$ref - /// Removes a reference from the "directoryObject" object to a "manager". - /// - /// GitHub Repository - [Cmdlet("Remove", "DirectoryObjects_ManagerReference", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [ResourceTypePropertyName("managerODataType")] - public class Remove_DirectoryObjects_ManagerReference : DeleteCmdlet - { - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/manager/$ref"; - } - } -} \ No newline at end of file diff --git a/PowerShellCmdlets/Generated/SDK/DirectoryObjects/MemberOf.cs b/PowerShellCmdlets/Generated/SDK/DirectoryObjects/MemberOf.cs deleted file mode 100644 index c6cdc62..0000000 --- a/PowerShellCmdlets/Generated/SDK/DirectoryObjects/MemberOf.cs +++ /dev/null @@ -1,2381 +0,0 @@ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. - -namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets -{ - using System.Management.Automation; - - /// - /// Retrieves "microsoft.graph.directoryObject" objects. - /// GET ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/memberOf - /// Retrieves "microsoft.graph.directoryObject" objects in the "memberOf" collection. - /// - /// GitHub Repository - [Cmdlet("Get", "DirectoryObjects_MemberOf", DefaultParameterSetName = @"Search")] - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [ResourceTypePropertyName("memberOfODataType")] - public class Get_DirectoryObjects_MemberOf : GetOrSearchCmdlet - { - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - [Parameter(ParameterSetName = @"Get", Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - /// - /// The "deletedDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.directoryObject" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - public System.DateTimeOffset deletedDateTime { get; set; } - - /// - /// The "displayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.String displayName { get; set; } - - /// - /// The "description" property, of type "Edm.String". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.String description { get; set; } - - /// - /// The "values" property, of type "microsoft.graph.settingTemplateValue". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("microsoft.graph.settingTemplateValue")] - [Selectable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.Object[] values { get; set; } - - /// - /// The "accountEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Boolean accountEnabled { get; set; } - - /// - /// The "ageGroup" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String ageGroup { get; set; } - - /// - /// The "assignedLicenses" property, of type "microsoft.graph.assignedLicense". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.assignedLicense")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] assignedLicenses { get; set; } - - /// - /// The "assignedPlans" property, of type "microsoft.graph.assignedPlan". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.assignedPlan")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] assignedPlans { get; set; } - - /// - /// The "businessPhones" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] businessPhones { get; set; } - - /// - /// The "city" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String city { get; set; } - - /// - /// The "companyName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String companyName { get; set; } - - /// - /// The "consentProvidedForMinor" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String consentProvidedForMinor { get; set; } - - /// - /// The "country" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String country { get; set; } - - /// - /// The "department" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String department { get; set; } - - /// - /// The "givenName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String givenName { get; set; } - - /// - /// The "imAddresses" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] imAddresses { get; set; } - - /// - /// The "jobTitle" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String jobTitle { get; set; } - - /// - /// The "legalAgeGroupClassification" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String legalAgeGroupClassification { get; set; } - - /// - /// The "mail" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mail { get; set; } - - /// - /// The "mailNickname" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mailNickname { get; set; } - - /// - /// The "mobilePhone" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mobilePhone { get; set; } - - /// - /// The "onPremisesExtensionAttributes" property, of type "microsoft.graph.onPremisesExtensionAttributes". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.onPremisesExtensionAttributes")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object onPremisesExtensionAttributes { get; set; } - - /// - /// The "onPremisesImmutableId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesImmutableId { get; set; } - - /// - /// The "onPremisesLastSyncDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset onPremisesLastSyncDateTime { get; set; } - - /// - /// The "onPremisesProvisioningErrors" property, of type "microsoft.graph.onPremisesProvisioningError". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.onPremisesProvisioningError")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] onPremisesProvisioningErrors { get; set; } - - /// - /// The "onPremisesSecurityIdentifier" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesSecurityIdentifier { get; set; } - - /// - /// The "onPremisesSyncEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Boolean onPremisesSyncEnabled { get; set; } - - /// - /// The "onPremisesDomainName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesDomainName { get; set; } - - /// - /// The "onPremisesSamAccountName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesSamAccountName { get; set; } - - /// - /// The "onPremisesUserPrincipalName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesUserPrincipalName { get; set; } - - /// - /// The "passwordPolicies" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String passwordPolicies { get; set; } - - /// - /// The "passwordProfile" property, of type "microsoft.graph.passwordProfile". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.passwordProfile")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object passwordProfile { get; set; } - - /// - /// The "officeLocation" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String officeLocation { get; set; } - - /// - /// The "postalCode" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String postalCode { get; set; } - - /// - /// The "preferredLanguage" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String preferredLanguage { get; set; } - - /// - /// The "provisionedPlans" property, of type "microsoft.graph.provisionedPlan". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.provisionedPlan")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] provisionedPlans { get; set; } - - /// - /// The "proxyAddresses" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] proxyAddresses { get; set; } - - /// - /// The "state" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String state { get; set; } - - /// - /// The "streetAddress" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String streetAddress { get; set; } - - /// - /// The "surname" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String surname { get; set; } - - /// - /// The "usageLocation" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String usageLocation { get; set; } - - /// - /// The "userPrincipalName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String userPrincipalName { get; set; } - - /// - /// The "userType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String userType { get; set; } - - /// - /// The "mailboxSettings" property, of type "microsoft.graph.mailboxSettings". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.mailboxSettings")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object mailboxSettings { get; set; } - - /// - /// The "aboutMe" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String aboutMe { get; set; } - - /// - /// The "birthday" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset birthday { get; set; } - - /// - /// The "hireDate" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset hireDate { get; set; } - - /// - /// The "interests" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] interests { get; set; } - - /// - /// The "mySite" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mySite { get; set; } - - /// - /// The "pastProjects" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] pastProjects { get; set; } - - /// - /// The "preferredName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String preferredName { get; set; } - - /// - /// The "responsibilities" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] responsibilities { get; set; } - - /// - /// The "schools" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] schools { get; set; } - - /// - /// The "skills" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] skills { get; set; } - - /// - /// The "deviceEnrollmentLimit" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.user" type. - /// The limit on the maximum number of devices that the user is permitted to enroll. Allowed values are 5 or 1000. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Int32 deviceEnrollmentLimit { get; set; } - - /// - /// The "ownedDevices" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] ownedDevices { get; set; } - - /// - /// The "registeredDevices" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] registeredDevices { get; set; } - - /// - /// The "manager" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object manager { get; set; } - - /// - /// The "directReports" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] directReports { get; set; } - - /// - /// The "memberOf" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] memberOf { get; set; } - - /// - /// The "createdObjects" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] createdObjects { get; set; } - - /// - /// The "ownedObjects" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] ownedObjects { get; set; } - - /// - /// The "licenseDetails" property, of type "microsoft.graph.licenseDetails". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.licenseDetails")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] licenseDetails { get; set; } - - /// - /// The "inferenceClassification" property, of type "microsoft.graph.inferenceClassification". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.inferenceClassification")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object inferenceClassification { get; set; } - - /// - /// The "photo" property, of type "microsoft.graph.profilePhoto". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.profilePhoto")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object photo { get; set; } - - /// - /// The "photos" property, of type "microsoft.graph.profilePhoto". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.profilePhoto")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] photos { get; set; } - - /// - /// The "managedDevices" property, of type "microsoft.graph.managedDevice". - /// This property is on the "microsoft.graph.user" type. - /// The managed devices associated with the user. - /// - [ODataType("microsoft.graph.managedDevice")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] managedDevices { get; set; } - - /// - /// The "managedAppRegistrations" property, of type "microsoft.graph.managedAppRegistration". - /// This property is on the "microsoft.graph.user" type. - /// Zero or more managed app registrations that belong to the user. - /// - [ODataType("microsoft.graph.managedAppRegistration", "microsoft.graph.androidManagedAppRegistration", "microsoft.graph.iosManagedAppRegistration")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] managedAppRegistrations { get; set; } - - /// - /// The "deviceManagementTroubleshootingEvents" property, of type "microsoft.graph.deviceManagementTroubleshootingEvent". - /// This property is on the "microsoft.graph.user" type. - /// The list of troubleshooting events for this user. - /// - [ODataType("microsoft.graph.deviceManagementTroubleshootingEvent", "microsoft.graph.enrollmentTroubleshootingEvent")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] deviceManagementTroubleshootingEvents { get; set; } - - /// - /// The "countryLetterCode" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String countryLetterCode { get; set; } - - /// - /// The "marketingNotificationEmails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] marketingNotificationEmails { get; set; } - - /// - /// The "privacyProfile" property, of type "microsoft.graph.privacyProfile". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("microsoft.graph.privacyProfile")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.Object privacyProfile { get; set; } - - /// - /// The "securityComplianceNotificationMails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] securityComplianceNotificationMails { get; set; } - - /// - /// The "securityComplianceNotificationPhones" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] securityComplianceNotificationPhones { get; set; } - - /// - /// The "street" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String street { get; set; } - - /// - /// The "technicalNotificationMails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] technicalNotificationMails { get; set; } - - /// - /// The "mobileDeviceManagementAuthority" property, of type "microsoft.graph.mdmAuthority". - /// This property is on the "microsoft.graph.organization" type. - /// Mobile device management authority. - /// - [ODataType("microsoft.graph.mdmAuthority")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String mobileDeviceManagementAuthority { get; set; } - - /// - /// The "contractType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.String contractType { get; set; } - - /// - /// The "customerId" property, of type "Edm.Guid". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.Guid")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.Guid customerId { get; set; } - - /// - /// The "defaultDomainName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.String defaultDomainName { get; set; } - - /// - /// The "classification" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.String classification { get; set; } - - /// - /// The "createdDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.DateTimeOffset createdDateTime { get; set; } - - /// - /// The "groupTypes" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.group")] - public System.String[] groupTypes { get; set; } - - /// - /// The "mailEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean mailEnabled { get; set; } - - /// - /// The "renewedDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.DateTimeOffset renewedDateTime { get; set; } - - /// - /// The "securityEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean securityEnabled { get; set; } - - /// - /// The "visibility" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.String visibility { get; set; } - - /// - /// The "allowExternalSenders" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean allowExternalSenders { get; set; } - - /// - /// The "autoSubscribeNewMembers" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean autoSubscribeNewMembers { get; set; } - - /// - /// The "isSubscribedByMail" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean isSubscribedByMail { get; set; } - - /// - /// The "unseenCount" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Int32 unseenCount { get; set; } - - /// - /// The "members" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] members { get; set; } - - /// - /// The "createdOnBehalfOf" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Object createdOnBehalfOf { get; set; } - - /// - /// The "owners" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] owners { get; set; } - - /// - /// The "settings" property, of type "microsoft.graph.groupSetting". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.groupSetting")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] settings { get; set; } - - /// - /// The "groupLifecyclePolicies" property, of type "microsoft.graph.groupLifecyclePolicy". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.groupLifecyclePolicy")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] groupLifecyclePolicies { get; set; } - - /// - /// The "roleTemplateId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.directoryRole" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.directoryRole")] - public System.String roleTemplateId { get; set; } - - /// - /// The "alternativeSecurityIds" property, of type "microsoft.graph.alternativeSecurityId". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.alternativeSecurityId")] - [Selectable] - [DerivedType("microsoft.graph.device")] - public System.Object[] alternativeSecurityIds { get; set; } - - /// - /// The "approximateLastSignInDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.DateTimeOffset approximateLastSignInDateTime { get; set; } - - /// - /// The "deviceId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String deviceId { get; set; } - - /// - /// The "deviceMetadata" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String deviceMetadata { get; set; } - - /// - /// The "deviceVersion" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Int32 deviceVersion { get; set; } - - /// - /// The "isCompliant" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Boolean isCompliant { get; set; } - - /// - /// The "isManaged" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Boolean isManaged { get; set; } - - /// - /// The "operatingSystem" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String operatingSystem { get; set; } - - /// - /// The "operatingSystemVersion" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String operatingSystemVersion { get; set; } - - /// - /// The "physicalIds" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.device")] - public System.String[] physicalIds { get; set; } - - /// - /// The "trustType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String trustType { get; set; } - - /// - /// The "registeredOwners" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] registeredOwners { get; set; } - - /// - /// The "registeredUsers" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] registeredUsers { get; set; } - - /// - /// The "extensions" property, of type "microsoft.graph.extension". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.extension", "microsoft.graph.openTypeExtension")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] extensions { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/memberOf/{directoryObjectId ?? string.Empty}"; - } - } - - /// - /// Retrieves "microsoft.graph.directoryObject" object references. - /// GET ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/memberOf/$ref - /// Retrieves "microsoft.graph.directoryObject" object references in the "memberOf" collection. - /// - /// GitHub Repository - [Cmdlet("Get", "DirectoryObjects_MemberOfReferences", DefaultParameterSetName = @"Search")] - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [ResourceTypePropertyName("memberOfODataType")] - public class Get_DirectoryObjects_MemberOfReferences : GetOrSearchCmdlet - { - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - [Parameter(ParameterSetName = @"Get", Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - /// - /// The "deletedDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.directoryObject" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - public System.DateTimeOffset deletedDateTime { get; set; } - - /// - /// The "displayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.String displayName { get; set; } - - /// - /// The "description" property, of type "Edm.String". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.String description { get; set; } - - /// - /// The "values" property, of type "microsoft.graph.settingTemplateValue". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("microsoft.graph.settingTemplateValue")] - [Selectable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.Object[] values { get; set; } - - /// - /// The "accountEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Boolean accountEnabled { get; set; } - - /// - /// The "ageGroup" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String ageGroup { get; set; } - - /// - /// The "assignedLicenses" property, of type "microsoft.graph.assignedLicense". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.assignedLicense")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] assignedLicenses { get; set; } - - /// - /// The "assignedPlans" property, of type "microsoft.graph.assignedPlan". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.assignedPlan")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] assignedPlans { get; set; } - - /// - /// The "businessPhones" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] businessPhones { get; set; } - - /// - /// The "city" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String city { get; set; } - - /// - /// The "companyName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String companyName { get; set; } - - /// - /// The "consentProvidedForMinor" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String consentProvidedForMinor { get; set; } - - /// - /// The "country" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String country { get; set; } - - /// - /// The "department" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String department { get; set; } - - /// - /// The "givenName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String givenName { get; set; } - - /// - /// The "imAddresses" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] imAddresses { get; set; } - - /// - /// The "jobTitle" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String jobTitle { get; set; } - - /// - /// The "legalAgeGroupClassification" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String legalAgeGroupClassification { get; set; } - - /// - /// The "mail" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mail { get; set; } - - /// - /// The "mailNickname" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mailNickname { get; set; } - - /// - /// The "mobilePhone" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mobilePhone { get; set; } - - /// - /// The "onPremisesExtensionAttributes" property, of type "microsoft.graph.onPremisesExtensionAttributes". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.onPremisesExtensionAttributes")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object onPremisesExtensionAttributes { get; set; } - - /// - /// The "onPremisesImmutableId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesImmutableId { get; set; } - - /// - /// The "onPremisesLastSyncDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset onPremisesLastSyncDateTime { get; set; } - - /// - /// The "onPremisesProvisioningErrors" property, of type "microsoft.graph.onPremisesProvisioningError". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.onPremisesProvisioningError")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] onPremisesProvisioningErrors { get; set; } - - /// - /// The "onPremisesSecurityIdentifier" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesSecurityIdentifier { get; set; } - - /// - /// The "onPremisesSyncEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Boolean onPremisesSyncEnabled { get; set; } - - /// - /// The "onPremisesDomainName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesDomainName { get; set; } - - /// - /// The "onPremisesSamAccountName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesSamAccountName { get; set; } - - /// - /// The "onPremisesUserPrincipalName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesUserPrincipalName { get; set; } - - /// - /// The "passwordPolicies" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String passwordPolicies { get; set; } - - /// - /// The "passwordProfile" property, of type "microsoft.graph.passwordProfile". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.passwordProfile")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object passwordProfile { get; set; } - - /// - /// The "officeLocation" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String officeLocation { get; set; } - - /// - /// The "postalCode" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String postalCode { get; set; } - - /// - /// The "preferredLanguage" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String preferredLanguage { get; set; } - - /// - /// The "provisionedPlans" property, of type "microsoft.graph.provisionedPlan". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.provisionedPlan")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] provisionedPlans { get; set; } - - /// - /// The "proxyAddresses" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] proxyAddresses { get; set; } - - /// - /// The "state" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String state { get; set; } - - /// - /// The "streetAddress" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String streetAddress { get; set; } - - /// - /// The "surname" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String surname { get; set; } - - /// - /// The "usageLocation" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String usageLocation { get; set; } - - /// - /// The "userPrincipalName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String userPrincipalName { get; set; } - - /// - /// The "userType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String userType { get; set; } - - /// - /// The "mailboxSettings" property, of type "microsoft.graph.mailboxSettings". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.mailboxSettings")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object mailboxSettings { get; set; } - - /// - /// The "aboutMe" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String aboutMe { get; set; } - - /// - /// The "birthday" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset birthday { get; set; } - - /// - /// The "hireDate" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset hireDate { get; set; } - - /// - /// The "interests" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] interests { get; set; } - - /// - /// The "mySite" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mySite { get; set; } - - /// - /// The "pastProjects" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] pastProjects { get; set; } - - /// - /// The "preferredName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String preferredName { get; set; } - - /// - /// The "responsibilities" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] responsibilities { get; set; } - - /// - /// The "schools" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] schools { get; set; } - - /// - /// The "skills" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] skills { get; set; } - - /// - /// The "deviceEnrollmentLimit" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.user" type. - /// The limit on the maximum number of devices that the user is permitted to enroll. Allowed values are 5 or 1000. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Int32 deviceEnrollmentLimit { get; set; } - - /// - /// The "ownedDevices" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] ownedDevices { get; set; } - - /// - /// The "registeredDevices" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] registeredDevices { get; set; } - - /// - /// The "manager" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object manager { get; set; } - - /// - /// The "directReports" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] directReports { get; set; } - - /// - /// The "memberOf" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] memberOf { get; set; } - - /// - /// The "createdObjects" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] createdObjects { get; set; } - - /// - /// The "ownedObjects" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] ownedObjects { get; set; } - - /// - /// The "licenseDetails" property, of type "microsoft.graph.licenseDetails". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.licenseDetails")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] licenseDetails { get; set; } - - /// - /// The "inferenceClassification" property, of type "microsoft.graph.inferenceClassification". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.inferenceClassification")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object inferenceClassification { get; set; } - - /// - /// The "photo" property, of type "microsoft.graph.profilePhoto". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.profilePhoto")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object photo { get; set; } - - /// - /// The "photos" property, of type "microsoft.graph.profilePhoto". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.profilePhoto")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] photos { get; set; } - - /// - /// The "managedDevices" property, of type "microsoft.graph.managedDevice". - /// This property is on the "microsoft.graph.user" type. - /// The managed devices associated with the user. - /// - [ODataType("microsoft.graph.managedDevice")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] managedDevices { get; set; } - - /// - /// The "managedAppRegistrations" property, of type "microsoft.graph.managedAppRegistration". - /// This property is on the "microsoft.graph.user" type. - /// Zero or more managed app registrations that belong to the user. - /// - [ODataType("microsoft.graph.managedAppRegistration", "microsoft.graph.androidManagedAppRegistration", "microsoft.graph.iosManagedAppRegistration")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] managedAppRegistrations { get; set; } - - /// - /// The "deviceManagementTroubleshootingEvents" property, of type "microsoft.graph.deviceManagementTroubleshootingEvent". - /// This property is on the "microsoft.graph.user" type. - /// The list of troubleshooting events for this user. - /// - [ODataType("microsoft.graph.deviceManagementTroubleshootingEvent", "microsoft.graph.enrollmentTroubleshootingEvent")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] deviceManagementTroubleshootingEvents { get; set; } - - /// - /// The "countryLetterCode" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String countryLetterCode { get; set; } - - /// - /// The "marketingNotificationEmails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] marketingNotificationEmails { get; set; } - - /// - /// The "privacyProfile" property, of type "microsoft.graph.privacyProfile". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("microsoft.graph.privacyProfile")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.Object privacyProfile { get; set; } - - /// - /// The "securityComplianceNotificationMails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] securityComplianceNotificationMails { get; set; } - - /// - /// The "securityComplianceNotificationPhones" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] securityComplianceNotificationPhones { get; set; } - - /// - /// The "street" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String street { get; set; } - - /// - /// The "technicalNotificationMails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] technicalNotificationMails { get; set; } - - /// - /// The "mobileDeviceManagementAuthority" property, of type "microsoft.graph.mdmAuthority". - /// This property is on the "microsoft.graph.organization" type. - /// Mobile device management authority. - /// - [ODataType("microsoft.graph.mdmAuthority")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String mobileDeviceManagementAuthority { get; set; } - - /// - /// The "contractType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.String contractType { get; set; } - - /// - /// The "customerId" property, of type "Edm.Guid". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.Guid")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.Guid customerId { get; set; } - - /// - /// The "defaultDomainName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.String defaultDomainName { get; set; } - - /// - /// The "classification" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.String classification { get; set; } - - /// - /// The "createdDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.DateTimeOffset createdDateTime { get; set; } - - /// - /// The "groupTypes" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.group")] - public System.String[] groupTypes { get; set; } - - /// - /// The "mailEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean mailEnabled { get; set; } - - /// - /// The "renewedDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.DateTimeOffset renewedDateTime { get; set; } - - /// - /// The "securityEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean securityEnabled { get; set; } - - /// - /// The "visibility" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.String visibility { get; set; } - - /// - /// The "allowExternalSenders" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean allowExternalSenders { get; set; } - - /// - /// The "autoSubscribeNewMembers" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean autoSubscribeNewMembers { get; set; } - - /// - /// The "isSubscribedByMail" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean isSubscribedByMail { get; set; } - - /// - /// The "unseenCount" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Int32 unseenCount { get; set; } - - /// - /// The "members" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] members { get; set; } - - /// - /// The "createdOnBehalfOf" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Object createdOnBehalfOf { get; set; } - - /// - /// The "owners" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] owners { get; set; } - - /// - /// The "settings" property, of type "microsoft.graph.groupSetting". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.groupSetting")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] settings { get; set; } - - /// - /// The "groupLifecyclePolicies" property, of type "microsoft.graph.groupLifecyclePolicy". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.groupLifecyclePolicy")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] groupLifecyclePolicies { get; set; } - - /// - /// The "roleTemplateId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.directoryRole" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.directoryRole")] - public System.String roleTemplateId { get; set; } - - /// - /// The "alternativeSecurityIds" property, of type "microsoft.graph.alternativeSecurityId". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.alternativeSecurityId")] - [Selectable] - [DerivedType("microsoft.graph.device")] - public System.Object[] alternativeSecurityIds { get; set; } - - /// - /// The "approximateLastSignInDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.DateTimeOffset approximateLastSignInDateTime { get; set; } - - /// - /// The "deviceId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String deviceId { get; set; } - - /// - /// The "deviceMetadata" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String deviceMetadata { get; set; } - - /// - /// The "deviceVersion" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Int32 deviceVersion { get; set; } - - /// - /// The "isCompliant" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Boolean isCompliant { get; set; } - - /// - /// The "isManaged" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Boolean isManaged { get; set; } - - /// - /// The "operatingSystem" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String operatingSystem { get; set; } - - /// - /// The "operatingSystemVersion" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String operatingSystemVersion { get; set; } - - /// - /// The "physicalIds" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.device")] - public System.String[] physicalIds { get; set; } - - /// - /// The "trustType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String trustType { get; set; } - - /// - /// The "registeredOwners" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] registeredOwners { get; set; } - - /// - /// The "registeredUsers" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] registeredUsers { get; set; } - - /// - /// The "extensions" property, of type "microsoft.graph.extension". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.extension", "microsoft.graph.openTypeExtension")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] extensions { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/memberOf/{directoryObjectId ?? string.Empty}/$ref"; - } - } - - /// - /// Creates a reference from a "directoryObject" to a "microsoft.graph.directoryObject" object. - /// POST ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/memberOf/$ref - /// Creates a reference from the specified "directoryObject" object to a "memberOf". - /// - /// GitHub Repository - [Cmdlet("New", "DirectoryObjects_MemberOfReferences", ConfirmImpact = ConfirmImpact.Low)] - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [ResourceTypePropertyName("memberOfODataType")] - public class New_DirectoryObjects_MemberOfReferences : PostReferenceToCollectionCmdlet - { - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - /// - /// The URL which should be used to access a "microsoft.graph.directoryObject" object. - /// - [Selectable] - [Expandable] - [Alias("deviceReferenceUrl", "directoryRoleReferenceUrl", "directoryRoleTemplateReferenceUrl", "groupReferenceUrl", "contractReferenceUrl", "organizationReferenceUrl", "userReferenceUrl", "groupSettingTemplateReferenceUrl", "administrativeUnitReferenceUrl")] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The URL which should be used to access a "microsoft.graph.directoryObject" object.")] - public System.String directoryObjectReferenceUrl { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/memberOf/{directoryObjectId}/$ref"; - } - - internal override System.Object GetContent() - { - return this.GetReferenceRequestContent(directoryObjectReferenceUrl); - } - } - - /// - /// Removes a reference from a "directoryObject" to a "microsoft.graph.directoryObject" object. - /// DELETE ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/memberOf/directoryObjectId/$ref - /// Removes a reference from the specified "directoryObject" object to a "memberOf". - /// - /// GitHub Repository - [Cmdlet("Remove", "DirectoryObjects_MemberOfReferences", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [ResourceTypePropertyName("memberOfODataType")] - public class Remove_DirectoryObjects_MemberOfReferences : DeleteCmdlet - { - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/memberOf/{directoryObjectId}/$ref"; - } - } -} \ No newline at end of file diff --git a/PowerShellCmdlets/Generated/SDK/DirectoryObjects/Members.cs b/PowerShellCmdlets/Generated/SDK/DirectoryObjects/Members.cs deleted file mode 100644 index c303c66..0000000 --- a/PowerShellCmdlets/Generated/SDK/DirectoryObjects/Members.cs +++ /dev/null @@ -1,2381 +0,0 @@ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. - -namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets -{ - using System.Management.Automation; - - /// - /// Retrieves "microsoft.graph.directoryObject" objects. - /// GET ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/members - /// Retrieves "microsoft.graph.directoryObject" objects in the "members" collection. - /// - /// GitHub Repository - [Cmdlet("Get", "DirectoryObjects_Members", DefaultParameterSetName = @"Search")] - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [ResourceTypePropertyName("memberODataType")] - public class Get_DirectoryObjects_Members : GetOrSearchCmdlet - { - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - [Parameter(ParameterSetName = @"Get", Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - /// - /// The "deletedDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.directoryObject" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - public System.DateTimeOffset deletedDateTime { get; set; } - - /// - /// The "displayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.String displayName { get; set; } - - /// - /// The "description" property, of type "Edm.String". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.String description { get; set; } - - /// - /// The "values" property, of type "microsoft.graph.settingTemplateValue". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("microsoft.graph.settingTemplateValue")] - [Selectable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.Object[] values { get; set; } - - /// - /// The "accountEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Boolean accountEnabled { get; set; } - - /// - /// The "ageGroup" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String ageGroup { get; set; } - - /// - /// The "assignedLicenses" property, of type "microsoft.graph.assignedLicense". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.assignedLicense")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] assignedLicenses { get; set; } - - /// - /// The "assignedPlans" property, of type "microsoft.graph.assignedPlan". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.assignedPlan")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] assignedPlans { get; set; } - - /// - /// The "businessPhones" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] businessPhones { get; set; } - - /// - /// The "city" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String city { get; set; } - - /// - /// The "companyName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String companyName { get; set; } - - /// - /// The "consentProvidedForMinor" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String consentProvidedForMinor { get; set; } - - /// - /// The "country" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String country { get; set; } - - /// - /// The "department" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String department { get; set; } - - /// - /// The "givenName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String givenName { get; set; } - - /// - /// The "imAddresses" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] imAddresses { get; set; } - - /// - /// The "jobTitle" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String jobTitle { get; set; } - - /// - /// The "legalAgeGroupClassification" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String legalAgeGroupClassification { get; set; } - - /// - /// The "mail" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mail { get; set; } - - /// - /// The "mailNickname" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mailNickname { get; set; } - - /// - /// The "mobilePhone" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mobilePhone { get; set; } - - /// - /// The "onPremisesExtensionAttributes" property, of type "microsoft.graph.onPremisesExtensionAttributes". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.onPremisesExtensionAttributes")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object onPremisesExtensionAttributes { get; set; } - - /// - /// The "onPremisesImmutableId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesImmutableId { get; set; } - - /// - /// The "onPremisesLastSyncDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset onPremisesLastSyncDateTime { get; set; } - - /// - /// The "onPremisesProvisioningErrors" property, of type "microsoft.graph.onPremisesProvisioningError". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.onPremisesProvisioningError")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] onPremisesProvisioningErrors { get; set; } - - /// - /// The "onPremisesSecurityIdentifier" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesSecurityIdentifier { get; set; } - - /// - /// The "onPremisesSyncEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Boolean onPremisesSyncEnabled { get; set; } - - /// - /// The "onPremisesDomainName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesDomainName { get; set; } - - /// - /// The "onPremisesSamAccountName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesSamAccountName { get; set; } - - /// - /// The "onPremisesUserPrincipalName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesUserPrincipalName { get; set; } - - /// - /// The "passwordPolicies" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String passwordPolicies { get; set; } - - /// - /// The "passwordProfile" property, of type "microsoft.graph.passwordProfile". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.passwordProfile")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object passwordProfile { get; set; } - - /// - /// The "officeLocation" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String officeLocation { get; set; } - - /// - /// The "postalCode" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String postalCode { get; set; } - - /// - /// The "preferredLanguage" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String preferredLanguage { get; set; } - - /// - /// The "provisionedPlans" property, of type "microsoft.graph.provisionedPlan". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.provisionedPlan")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] provisionedPlans { get; set; } - - /// - /// The "proxyAddresses" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] proxyAddresses { get; set; } - - /// - /// The "state" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String state { get; set; } - - /// - /// The "streetAddress" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String streetAddress { get; set; } - - /// - /// The "surname" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String surname { get; set; } - - /// - /// The "usageLocation" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String usageLocation { get; set; } - - /// - /// The "userPrincipalName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String userPrincipalName { get; set; } - - /// - /// The "userType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String userType { get; set; } - - /// - /// The "mailboxSettings" property, of type "microsoft.graph.mailboxSettings". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.mailboxSettings")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object mailboxSettings { get; set; } - - /// - /// The "aboutMe" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String aboutMe { get; set; } - - /// - /// The "birthday" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset birthday { get; set; } - - /// - /// The "hireDate" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset hireDate { get; set; } - - /// - /// The "interests" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] interests { get; set; } - - /// - /// The "mySite" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mySite { get; set; } - - /// - /// The "pastProjects" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] pastProjects { get; set; } - - /// - /// The "preferredName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String preferredName { get; set; } - - /// - /// The "responsibilities" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] responsibilities { get; set; } - - /// - /// The "schools" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] schools { get; set; } - - /// - /// The "skills" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] skills { get; set; } - - /// - /// The "deviceEnrollmentLimit" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.user" type. - /// The limit on the maximum number of devices that the user is permitted to enroll. Allowed values are 5 or 1000. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Int32 deviceEnrollmentLimit { get; set; } - - /// - /// The "ownedDevices" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] ownedDevices { get; set; } - - /// - /// The "registeredDevices" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] registeredDevices { get; set; } - - /// - /// The "manager" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object manager { get; set; } - - /// - /// The "directReports" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] directReports { get; set; } - - /// - /// The "memberOf" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] memberOf { get; set; } - - /// - /// The "createdObjects" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] createdObjects { get; set; } - - /// - /// The "ownedObjects" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] ownedObjects { get; set; } - - /// - /// The "licenseDetails" property, of type "microsoft.graph.licenseDetails". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.licenseDetails")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] licenseDetails { get; set; } - - /// - /// The "inferenceClassification" property, of type "microsoft.graph.inferenceClassification". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.inferenceClassification")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object inferenceClassification { get; set; } - - /// - /// The "photo" property, of type "microsoft.graph.profilePhoto". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.profilePhoto")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object photo { get; set; } - - /// - /// The "photos" property, of type "microsoft.graph.profilePhoto". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.profilePhoto")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] photos { get; set; } - - /// - /// The "managedDevices" property, of type "microsoft.graph.managedDevice". - /// This property is on the "microsoft.graph.user" type. - /// The managed devices associated with the user. - /// - [ODataType("microsoft.graph.managedDevice")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] managedDevices { get; set; } - - /// - /// The "managedAppRegistrations" property, of type "microsoft.graph.managedAppRegistration". - /// This property is on the "microsoft.graph.user" type. - /// Zero or more managed app registrations that belong to the user. - /// - [ODataType("microsoft.graph.managedAppRegistration", "microsoft.graph.androidManagedAppRegistration", "microsoft.graph.iosManagedAppRegistration")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] managedAppRegistrations { get; set; } - - /// - /// The "deviceManagementTroubleshootingEvents" property, of type "microsoft.graph.deviceManagementTroubleshootingEvent". - /// This property is on the "microsoft.graph.user" type. - /// The list of troubleshooting events for this user. - /// - [ODataType("microsoft.graph.deviceManagementTroubleshootingEvent", "microsoft.graph.enrollmentTroubleshootingEvent")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] deviceManagementTroubleshootingEvents { get; set; } - - /// - /// The "countryLetterCode" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String countryLetterCode { get; set; } - - /// - /// The "marketingNotificationEmails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] marketingNotificationEmails { get; set; } - - /// - /// The "privacyProfile" property, of type "microsoft.graph.privacyProfile". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("microsoft.graph.privacyProfile")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.Object privacyProfile { get; set; } - - /// - /// The "securityComplianceNotificationMails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] securityComplianceNotificationMails { get; set; } - - /// - /// The "securityComplianceNotificationPhones" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] securityComplianceNotificationPhones { get; set; } - - /// - /// The "street" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String street { get; set; } - - /// - /// The "technicalNotificationMails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] technicalNotificationMails { get; set; } - - /// - /// The "mobileDeviceManagementAuthority" property, of type "microsoft.graph.mdmAuthority". - /// This property is on the "microsoft.graph.organization" type. - /// Mobile device management authority. - /// - [ODataType("microsoft.graph.mdmAuthority")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String mobileDeviceManagementAuthority { get; set; } - - /// - /// The "contractType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.String contractType { get; set; } - - /// - /// The "customerId" property, of type "Edm.Guid". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.Guid")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.Guid customerId { get; set; } - - /// - /// The "defaultDomainName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.String defaultDomainName { get; set; } - - /// - /// The "classification" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.String classification { get; set; } - - /// - /// The "createdDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.DateTimeOffset createdDateTime { get; set; } - - /// - /// The "groupTypes" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.group")] - public System.String[] groupTypes { get; set; } - - /// - /// The "mailEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean mailEnabled { get; set; } - - /// - /// The "renewedDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.DateTimeOffset renewedDateTime { get; set; } - - /// - /// The "securityEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean securityEnabled { get; set; } - - /// - /// The "visibility" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.String visibility { get; set; } - - /// - /// The "allowExternalSenders" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean allowExternalSenders { get; set; } - - /// - /// The "autoSubscribeNewMembers" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean autoSubscribeNewMembers { get; set; } - - /// - /// The "isSubscribedByMail" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean isSubscribedByMail { get; set; } - - /// - /// The "unseenCount" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Int32 unseenCount { get; set; } - - /// - /// The "members" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] members { get; set; } - - /// - /// The "createdOnBehalfOf" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Object createdOnBehalfOf { get; set; } - - /// - /// The "owners" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] owners { get; set; } - - /// - /// The "settings" property, of type "microsoft.graph.groupSetting". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.groupSetting")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] settings { get; set; } - - /// - /// The "groupLifecyclePolicies" property, of type "microsoft.graph.groupLifecyclePolicy". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.groupLifecyclePolicy")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] groupLifecyclePolicies { get; set; } - - /// - /// The "roleTemplateId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.directoryRole" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.directoryRole")] - public System.String roleTemplateId { get; set; } - - /// - /// The "alternativeSecurityIds" property, of type "microsoft.graph.alternativeSecurityId". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.alternativeSecurityId")] - [Selectable] - [DerivedType("microsoft.graph.device")] - public System.Object[] alternativeSecurityIds { get; set; } - - /// - /// The "approximateLastSignInDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.DateTimeOffset approximateLastSignInDateTime { get; set; } - - /// - /// The "deviceId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String deviceId { get; set; } - - /// - /// The "deviceMetadata" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String deviceMetadata { get; set; } - - /// - /// The "deviceVersion" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Int32 deviceVersion { get; set; } - - /// - /// The "isCompliant" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Boolean isCompliant { get; set; } - - /// - /// The "isManaged" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Boolean isManaged { get; set; } - - /// - /// The "operatingSystem" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String operatingSystem { get; set; } - - /// - /// The "operatingSystemVersion" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String operatingSystemVersion { get; set; } - - /// - /// The "physicalIds" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.device")] - public System.String[] physicalIds { get; set; } - - /// - /// The "trustType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String trustType { get; set; } - - /// - /// The "registeredOwners" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] registeredOwners { get; set; } - - /// - /// The "registeredUsers" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] registeredUsers { get; set; } - - /// - /// The "extensions" property, of type "microsoft.graph.extension". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.extension", "microsoft.graph.openTypeExtension")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] extensions { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/members/{directoryObjectId ?? string.Empty}"; - } - } - - /// - /// Retrieves "microsoft.graph.directoryObject" object references. - /// GET ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/members/$ref - /// Retrieves "microsoft.graph.directoryObject" object references in the "members" collection. - /// - /// GitHub Repository - [Cmdlet("Get", "DirectoryObjects_MembersReferences", DefaultParameterSetName = @"Search")] - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [ResourceTypePropertyName("memberODataType")] - public class Get_DirectoryObjects_MembersReferences : GetOrSearchCmdlet - { - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - [Parameter(ParameterSetName = @"Get", Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - /// - /// The "deletedDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.directoryObject" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - public System.DateTimeOffset deletedDateTime { get; set; } - - /// - /// The "displayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.String displayName { get; set; } - - /// - /// The "description" property, of type "Edm.String". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.String description { get; set; } - - /// - /// The "values" property, of type "microsoft.graph.settingTemplateValue". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("microsoft.graph.settingTemplateValue")] - [Selectable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.Object[] values { get; set; } - - /// - /// The "accountEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Boolean accountEnabled { get; set; } - - /// - /// The "ageGroup" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String ageGroup { get; set; } - - /// - /// The "assignedLicenses" property, of type "microsoft.graph.assignedLicense". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.assignedLicense")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] assignedLicenses { get; set; } - - /// - /// The "assignedPlans" property, of type "microsoft.graph.assignedPlan". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.assignedPlan")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] assignedPlans { get; set; } - - /// - /// The "businessPhones" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] businessPhones { get; set; } - - /// - /// The "city" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String city { get; set; } - - /// - /// The "companyName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String companyName { get; set; } - - /// - /// The "consentProvidedForMinor" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String consentProvidedForMinor { get; set; } - - /// - /// The "country" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String country { get; set; } - - /// - /// The "department" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String department { get; set; } - - /// - /// The "givenName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String givenName { get; set; } - - /// - /// The "imAddresses" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] imAddresses { get; set; } - - /// - /// The "jobTitle" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String jobTitle { get; set; } - - /// - /// The "legalAgeGroupClassification" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String legalAgeGroupClassification { get; set; } - - /// - /// The "mail" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mail { get; set; } - - /// - /// The "mailNickname" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mailNickname { get; set; } - - /// - /// The "mobilePhone" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mobilePhone { get; set; } - - /// - /// The "onPremisesExtensionAttributes" property, of type "microsoft.graph.onPremisesExtensionAttributes". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.onPremisesExtensionAttributes")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object onPremisesExtensionAttributes { get; set; } - - /// - /// The "onPremisesImmutableId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesImmutableId { get; set; } - - /// - /// The "onPremisesLastSyncDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset onPremisesLastSyncDateTime { get; set; } - - /// - /// The "onPremisesProvisioningErrors" property, of type "microsoft.graph.onPremisesProvisioningError". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.onPremisesProvisioningError")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] onPremisesProvisioningErrors { get; set; } - - /// - /// The "onPremisesSecurityIdentifier" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesSecurityIdentifier { get; set; } - - /// - /// The "onPremisesSyncEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Boolean onPremisesSyncEnabled { get; set; } - - /// - /// The "onPremisesDomainName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesDomainName { get; set; } - - /// - /// The "onPremisesSamAccountName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesSamAccountName { get; set; } - - /// - /// The "onPremisesUserPrincipalName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesUserPrincipalName { get; set; } - - /// - /// The "passwordPolicies" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String passwordPolicies { get; set; } - - /// - /// The "passwordProfile" property, of type "microsoft.graph.passwordProfile". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.passwordProfile")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object passwordProfile { get; set; } - - /// - /// The "officeLocation" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String officeLocation { get; set; } - - /// - /// The "postalCode" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String postalCode { get; set; } - - /// - /// The "preferredLanguage" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String preferredLanguage { get; set; } - - /// - /// The "provisionedPlans" property, of type "microsoft.graph.provisionedPlan". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.provisionedPlan")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] provisionedPlans { get; set; } - - /// - /// The "proxyAddresses" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] proxyAddresses { get; set; } - - /// - /// The "state" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String state { get; set; } - - /// - /// The "streetAddress" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String streetAddress { get; set; } - - /// - /// The "surname" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String surname { get; set; } - - /// - /// The "usageLocation" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String usageLocation { get; set; } - - /// - /// The "userPrincipalName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String userPrincipalName { get; set; } - - /// - /// The "userType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String userType { get; set; } - - /// - /// The "mailboxSettings" property, of type "microsoft.graph.mailboxSettings". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.mailboxSettings")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object mailboxSettings { get; set; } - - /// - /// The "aboutMe" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String aboutMe { get; set; } - - /// - /// The "birthday" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset birthday { get; set; } - - /// - /// The "hireDate" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset hireDate { get; set; } - - /// - /// The "interests" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] interests { get; set; } - - /// - /// The "mySite" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mySite { get; set; } - - /// - /// The "pastProjects" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] pastProjects { get; set; } - - /// - /// The "preferredName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String preferredName { get; set; } - - /// - /// The "responsibilities" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] responsibilities { get; set; } - - /// - /// The "schools" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] schools { get; set; } - - /// - /// The "skills" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] skills { get; set; } - - /// - /// The "deviceEnrollmentLimit" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.user" type. - /// The limit on the maximum number of devices that the user is permitted to enroll. Allowed values are 5 or 1000. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Int32 deviceEnrollmentLimit { get; set; } - - /// - /// The "ownedDevices" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] ownedDevices { get; set; } - - /// - /// The "registeredDevices" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] registeredDevices { get; set; } - - /// - /// The "manager" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object manager { get; set; } - - /// - /// The "directReports" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] directReports { get; set; } - - /// - /// The "memberOf" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] memberOf { get; set; } - - /// - /// The "createdObjects" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] createdObjects { get; set; } - - /// - /// The "ownedObjects" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] ownedObjects { get; set; } - - /// - /// The "licenseDetails" property, of type "microsoft.graph.licenseDetails". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.licenseDetails")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] licenseDetails { get; set; } - - /// - /// The "inferenceClassification" property, of type "microsoft.graph.inferenceClassification". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.inferenceClassification")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object inferenceClassification { get; set; } - - /// - /// The "photo" property, of type "microsoft.graph.profilePhoto". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.profilePhoto")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object photo { get; set; } - - /// - /// The "photos" property, of type "microsoft.graph.profilePhoto". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.profilePhoto")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] photos { get; set; } - - /// - /// The "managedDevices" property, of type "microsoft.graph.managedDevice". - /// This property is on the "microsoft.graph.user" type. - /// The managed devices associated with the user. - /// - [ODataType("microsoft.graph.managedDevice")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] managedDevices { get; set; } - - /// - /// The "managedAppRegistrations" property, of type "microsoft.graph.managedAppRegistration". - /// This property is on the "microsoft.graph.user" type. - /// Zero or more managed app registrations that belong to the user. - /// - [ODataType("microsoft.graph.managedAppRegistration", "microsoft.graph.androidManagedAppRegistration", "microsoft.graph.iosManagedAppRegistration")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] managedAppRegistrations { get; set; } - - /// - /// The "deviceManagementTroubleshootingEvents" property, of type "microsoft.graph.deviceManagementTroubleshootingEvent". - /// This property is on the "microsoft.graph.user" type. - /// The list of troubleshooting events for this user. - /// - [ODataType("microsoft.graph.deviceManagementTroubleshootingEvent", "microsoft.graph.enrollmentTroubleshootingEvent")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] deviceManagementTroubleshootingEvents { get; set; } - - /// - /// The "countryLetterCode" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String countryLetterCode { get; set; } - - /// - /// The "marketingNotificationEmails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] marketingNotificationEmails { get; set; } - - /// - /// The "privacyProfile" property, of type "microsoft.graph.privacyProfile". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("microsoft.graph.privacyProfile")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.Object privacyProfile { get; set; } - - /// - /// The "securityComplianceNotificationMails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] securityComplianceNotificationMails { get; set; } - - /// - /// The "securityComplianceNotificationPhones" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] securityComplianceNotificationPhones { get; set; } - - /// - /// The "street" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String street { get; set; } - - /// - /// The "technicalNotificationMails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] technicalNotificationMails { get; set; } - - /// - /// The "mobileDeviceManagementAuthority" property, of type "microsoft.graph.mdmAuthority". - /// This property is on the "microsoft.graph.organization" type. - /// Mobile device management authority. - /// - [ODataType("microsoft.graph.mdmAuthority")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String mobileDeviceManagementAuthority { get; set; } - - /// - /// The "contractType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.String contractType { get; set; } - - /// - /// The "customerId" property, of type "Edm.Guid". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.Guid")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.Guid customerId { get; set; } - - /// - /// The "defaultDomainName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.String defaultDomainName { get; set; } - - /// - /// The "classification" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.String classification { get; set; } - - /// - /// The "createdDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.DateTimeOffset createdDateTime { get; set; } - - /// - /// The "groupTypes" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.group")] - public System.String[] groupTypes { get; set; } - - /// - /// The "mailEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean mailEnabled { get; set; } - - /// - /// The "renewedDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.DateTimeOffset renewedDateTime { get; set; } - - /// - /// The "securityEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean securityEnabled { get; set; } - - /// - /// The "visibility" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.String visibility { get; set; } - - /// - /// The "allowExternalSenders" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean allowExternalSenders { get; set; } - - /// - /// The "autoSubscribeNewMembers" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean autoSubscribeNewMembers { get; set; } - - /// - /// The "isSubscribedByMail" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean isSubscribedByMail { get; set; } - - /// - /// The "unseenCount" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Int32 unseenCount { get; set; } - - /// - /// The "members" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] members { get; set; } - - /// - /// The "createdOnBehalfOf" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Object createdOnBehalfOf { get; set; } - - /// - /// The "owners" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] owners { get; set; } - - /// - /// The "settings" property, of type "microsoft.graph.groupSetting". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.groupSetting")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] settings { get; set; } - - /// - /// The "groupLifecyclePolicies" property, of type "microsoft.graph.groupLifecyclePolicy". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.groupLifecyclePolicy")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] groupLifecyclePolicies { get; set; } - - /// - /// The "roleTemplateId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.directoryRole" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.directoryRole")] - public System.String roleTemplateId { get; set; } - - /// - /// The "alternativeSecurityIds" property, of type "microsoft.graph.alternativeSecurityId". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.alternativeSecurityId")] - [Selectable] - [DerivedType("microsoft.graph.device")] - public System.Object[] alternativeSecurityIds { get; set; } - - /// - /// The "approximateLastSignInDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.DateTimeOffset approximateLastSignInDateTime { get; set; } - - /// - /// The "deviceId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String deviceId { get; set; } - - /// - /// The "deviceMetadata" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String deviceMetadata { get; set; } - - /// - /// The "deviceVersion" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Int32 deviceVersion { get; set; } - - /// - /// The "isCompliant" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Boolean isCompliant { get; set; } - - /// - /// The "isManaged" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Boolean isManaged { get; set; } - - /// - /// The "operatingSystem" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String operatingSystem { get; set; } - - /// - /// The "operatingSystemVersion" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String operatingSystemVersion { get; set; } - - /// - /// The "physicalIds" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.device")] - public System.String[] physicalIds { get; set; } - - /// - /// The "trustType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String trustType { get; set; } - - /// - /// The "registeredOwners" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] registeredOwners { get; set; } - - /// - /// The "registeredUsers" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] registeredUsers { get; set; } - - /// - /// The "extensions" property, of type "microsoft.graph.extension". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.extension", "microsoft.graph.openTypeExtension")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] extensions { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/members/{directoryObjectId ?? string.Empty}/$ref"; - } - } - - /// - /// Creates a reference from a "directoryObject" to a "microsoft.graph.directoryObject" object. - /// POST ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/members/$ref - /// Creates a reference from the specified "directoryObject" object to a "member". - /// - /// GitHub Repository - [Cmdlet("New", "DirectoryObjects_MembersReferences", ConfirmImpact = ConfirmImpact.Low)] - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [ResourceTypePropertyName("memberODataType")] - public class New_DirectoryObjects_MembersReferences : PostReferenceToCollectionCmdlet - { - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - /// - /// The URL which should be used to access a "microsoft.graph.directoryObject" object. - /// - [Selectable] - [Expandable] - [Alias("deviceReferenceUrl", "directoryRoleReferenceUrl", "directoryRoleTemplateReferenceUrl", "groupReferenceUrl", "contractReferenceUrl", "organizationReferenceUrl", "userReferenceUrl", "groupSettingTemplateReferenceUrl", "administrativeUnitReferenceUrl")] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The URL which should be used to access a "microsoft.graph.directoryObject" object.")] - public System.String directoryObjectReferenceUrl { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/members/{directoryObjectId}/$ref"; - } - - internal override System.Object GetContent() - { - return this.GetReferenceRequestContent(directoryObjectReferenceUrl); - } - } - - /// - /// Removes a reference from a "directoryObject" to a "microsoft.graph.directoryObject" object. - /// DELETE ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/members/directoryObjectId/$ref - /// Removes a reference from the specified "directoryObject" object to a "member". - /// - /// GitHub Repository - [Cmdlet("Remove", "DirectoryObjects_MembersReferences", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [ResourceTypePropertyName("memberODataType")] - public class Remove_DirectoryObjects_MembersReferences : DeleteCmdlet - { - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/members/{directoryObjectId}/$ref"; - } - } -} \ No newline at end of file diff --git a/PowerShellCmdlets/Generated/SDK/DirectoryObjects/OwnedDevices.cs b/PowerShellCmdlets/Generated/SDK/DirectoryObjects/OwnedDevices.cs deleted file mode 100644 index 294fca2..0000000 --- a/PowerShellCmdlets/Generated/SDK/DirectoryObjects/OwnedDevices.cs +++ /dev/null @@ -1,2381 +0,0 @@ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. - -namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets -{ - using System.Management.Automation; - - /// - /// Retrieves "microsoft.graph.directoryObject" objects. - /// GET ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/ownedDevices - /// Retrieves "microsoft.graph.directoryObject" objects in the "ownedDevices" collection. - /// - /// GitHub Repository - [Cmdlet("Get", "DirectoryObjects_OwnedDevices", DefaultParameterSetName = @"Search")] - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [ResourceTypePropertyName("ownedDeviceODataType")] - public class Get_DirectoryObjects_OwnedDevices : GetOrSearchCmdlet - { - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - [Parameter(ParameterSetName = @"Get", Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - /// - /// The "deletedDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.directoryObject" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - public System.DateTimeOffset deletedDateTime { get; set; } - - /// - /// The "displayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.String displayName { get; set; } - - /// - /// The "description" property, of type "Edm.String". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.String description { get; set; } - - /// - /// The "values" property, of type "microsoft.graph.settingTemplateValue". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("microsoft.graph.settingTemplateValue")] - [Selectable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.Object[] values { get; set; } - - /// - /// The "accountEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Boolean accountEnabled { get; set; } - - /// - /// The "ageGroup" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String ageGroup { get; set; } - - /// - /// The "assignedLicenses" property, of type "microsoft.graph.assignedLicense". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.assignedLicense")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] assignedLicenses { get; set; } - - /// - /// The "assignedPlans" property, of type "microsoft.graph.assignedPlan". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.assignedPlan")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] assignedPlans { get; set; } - - /// - /// The "businessPhones" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] businessPhones { get; set; } - - /// - /// The "city" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String city { get; set; } - - /// - /// The "companyName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String companyName { get; set; } - - /// - /// The "consentProvidedForMinor" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String consentProvidedForMinor { get; set; } - - /// - /// The "country" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String country { get; set; } - - /// - /// The "department" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String department { get; set; } - - /// - /// The "givenName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String givenName { get; set; } - - /// - /// The "imAddresses" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] imAddresses { get; set; } - - /// - /// The "jobTitle" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String jobTitle { get; set; } - - /// - /// The "legalAgeGroupClassification" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String legalAgeGroupClassification { get; set; } - - /// - /// The "mail" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mail { get; set; } - - /// - /// The "mailNickname" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mailNickname { get; set; } - - /// - /// The "mobilePhone" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mobilePhone { get; set; } - - /// - /// The "onPremisesExtensionAttributes" property, of type "microsoft.graph.onPremisesExtensionAttributes". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.onPremisesExtensionAttributes")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object onPremisesExtensionAttributes { get; set; } - - /// - /// The "onPremisesImmutableId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesImmutableId { get; set; } - - /// - /// The "onPremisesLastSyncDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset onPremisesLastSyncDateTime { get; set; } - - /// - /// The "onPremisesProvisioningErrors" property, of type "microsoft.graph.onPremisesProvisioningError". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.onPremisesProvisioningError")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] onPremisesProvisioningErrors { get; set; } - - /// - /// The "onPremisesSecurityIdentifier" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesSecurityIdentifier { get; set; } - - /// - /// The "onPremisesSyncEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Boolean onPremisesSyncEnabled { get; set; } - - /// - /// The "onPremisesDomainName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesDomainName { get; set; } - - /// - /// The "onPremisesSamAccountName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesSamAccountName { get; set; } - - /// - /// The "onPremisesUserPrincipalName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesUserPrincipalName { get; set; } - - /// - /// The "passwordPolicies" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String passwordPolicies { get; set; } - - /// - /// The "passwordProfile" property, of type "microsoft.graph.passwordProfile". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.passwordProfile")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object passwordProfile { get; set; } - - /// - /// The "officeLocation" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String officeLocation { get; set; } - - /// - /// The "postalCode" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String postalCode { get; set; } - - /// - /// The "preferredLanguage" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String preferredLanguage { get; set; } - - /// - /// The "provisionedPlans" property, of type "microsoft.graph.provisionedPlan". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.provisionedPlan")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] provisionedPlans { get; set; } - - /// - /// The "proxyAddresses" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] proxyAddresses { get; set; } - - /// - /// The "state" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String state { get; set; } - - /// - /// The "streetAddress" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String streetAddress { get; set; } - - /// - /// The "surname" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String surname { get; set; } - - /// - /// The "usageLocation" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String usageLocation { get; set; } - - /// - /// The "userPrincipalName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String userPrincipalName { get; set; } - - /// - /// The "userType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String userType { get; set; } - - /// - /// The "mailboxSettings" property, of type "microsoft.graph.mailboxSettings". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.mailboxSettings")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object mailboxSettings { get; set; } - - /// - /// The "aboutMe" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String aboutMe { get; set; } - - /// - /// The "birthday" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset birthday { get; set; } - - /// - /// The "hireDate" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset hireDate { get; set; } - - /// - /// The "interests" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] interests { get; set; } - - /// - /// The "mySite" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mySite { get; set; } - - /// - /// The "pastProjects" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] pastProjects { get; set; } - - /// - /// The "preferredName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String preferredName { get; set; } - - /// - /// The "responsibilities" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] responsibilities { get; set; } - - /// - /// The "schools" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] schools { get; set; } - - /// - /// The "skills" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] skills { get; set; } - - /// - /// The "deviceEnrollmentLimit" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.user" type. - /// The limit on the maximum number of devices that the user is permitted to enroll. Allowed values are 5 or 1000. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Int32 deviceEnrollmentLimit { get; set; } - - /// - /// The "ownedDevices" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] ownedDevices { get; set; } - - /// - /// The "registeredDevices" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] registeredDevices { get; set; } - - /// - /// The "manager" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object manager { get; set; } - - /// - /// The "directReports" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] directReports { get; set; } - - /// - /// The "memberOf" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] memberOf { get; set; } - - /// - /// The "createdObjects" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] createdObjects { get; set; } - - /// - /// The "ownedObjects" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] ownedObjects { get; set; } - - /// - /// The "licenseDetails" property, of type "microsoft.graph.licenseDetails". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.licenseDetails")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] licenseDetails { get; set; } - - /// - /// The "inferenceClassification" property, of type "microsoft.graph.inferenceClassification". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.inferenceClassification")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object inferenceClassification { get; set; } - - /// - /// The "photo" property, of type "microsoft.graph.profilePhoto". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.profilePhoto")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object photo { get; set; } - - /// - /// The "photos" property, of type "microsoft.graph.profilePhoto". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.profilePhoto")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] photos { get; set; } - - /// - /// The "managedDevices" property, of type "microsoft.graph.managedDevice". - /// This property is on the "microsoft.graph.user" type. - /// The managed devices associated with the user. - /// - [ODataType("microsoft.graph.managedDevice")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] managedDevices { get; set; } - - /// - /// The "managedAppRegistrations" property, of type "microsoft.graph.managedAppRegistration". - /// This property is on the "microsoft.graph.user" type. - /// Zero or more managed app registrations that belong to the user. - /// - [ODataType("microsoft.graph.managedAppRegistration", "microsoft.graph.androidManagedAppRegistration", "microsoft.graph.iosManagedAppRegistration")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] managedAppRegistrations { get; set; } - - /// - /// The "deviceManagementTroubleshootingEvents" property, of type "microsoft.graph.deviceManagementTroubleshootingEvent". - /// This property is on the "microsoft.graph.user" type. - /// The list of troubleshooting events for this user. - /// - [ODataType("microsoft.graph.deviceManagementTroubleshootingEvent", "microsoft.graph.enrollmentTroubleshootingEvent")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] deviceManagementTroubleshootingEvents { get; set; } - - /// - /// The "countryLetterCode" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String countryLetterCode { get; set; } - - /// - /// The "marketingNotificationEmails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] marketingNotificationEmails { get; set; } - - /// - /// The "privacyProfile" property, of type "microsoft.graph.privacyProfile". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("microsoft.graph.privacyProfile")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.Object privacyProfile { get; set; } - - /// - /// The "securityComplianceNotificationMails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] securityComplianceNotificationMails { get; set; } - - /// - /// The "securityComplianceNotificationPhones" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] securityComplianceNotificationPhones { get; set; } - - /// - /// The "street" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String street { get; set; } - - /// - /// The "technicalNotificationMails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] technicalNotificationMails { get; set; } - - /// - /// The "mobileDeviceManagementAuthority" property, of type "microsoft.graph.mdmAuthority". - /// This property is on the "microsoft.graph.organization" type. - /// Mobile device management authority. - /// - [ODataType("microsoft.graph.mdmAuthority")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String mobileDeviceManagementAuthority { get; set; } - - /// - /// The "contractType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.String contractType { get; set; } - - /// - /// The "customerId" property, of type "Edm.Guid". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.Guid")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.Guid customerId { get; set; } - - /// - /// The "defaultDomainName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.String defaultDomainName { get; set; } - - /// - /// The "classification" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.String classification { get; set; } - - /// - /// The "createdDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.DateTimeOffset createdDateTime { get; set; } - - /// - /// The "groupTypes" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.group")] - public System.String[] groupTypes { get; set; } - - /// - /// The "mailEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean mailEnabled { get; set; } - - /// - /// The "renewedDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.DateTimeOffset renewedDateTime { get; set; } - - /// - /// The "securityEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean securityEnabled { get; set; } - - /// - /// The "visibility" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.String visibility { get; set; } - - /// - /// The "allowExternalSenders" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean allowExternalSenders { get; set; } - - /// - /// The "autoSubscribeNewMembers" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean autoSubscribeNewMembers { get; set; } - - /// - /// The "isSubscribedByMail" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean isSubscribedByMail { get; set; } - - /// - /// The "unseenCount" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Int32 unseenCount { get; set; } - - /// - /// The "members" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] members { get; set; } - - /// - /// The "createdOnBehalfOf" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Object createdOnBehalfOf { get; set; } - - /// - /// The "owners" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] owners { get; set; } - - /// - /// The "settings" property, of type "microsoft.graph.groupSetting". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.groupSetting")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] settings { get; set; } - - /// - /// The "groupLifecyclePolicies" property, of type "microsoft.graph.groupLifecyclePolicy". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.groupLifecyclePolicy")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] groupLifecyclePolicies { get; set; } - - /// - /// The "roleTemplateId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.directoryRole" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.directoryRole")] - public System.String roleTemplateId { get; set; } - - /// - /// The "alternativeSecurityIds" property, of type "microsoft.graph.alternativeSecurityId". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.alternativeSecurityId")] - [Selectable] - [DerivedType("microsoft.graph.device")] - public System.Object[] alternativeSecurityIds { get; set; } - - /// - /// The "approximateLastSignInDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.DateTimeOffset approximateLastSignInDateTime { get; set; } - - /// - /// The "deviceId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String deviceId { get; set; } - - /// - /// The "deviceMetadata" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String deviceMetadata { get; set; } - - /// - /// The "deviceVersion" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Int32 deviceVersion { get; set; } - - /// - /// The "isCompliant" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Boolean isCompliant { get; set; } - - /// - /// The "isManaged" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Boolean isManaged { get; set; } - - /// - /// The "operatingSystem" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String operatingSystem { get; set; } - - /// - /// The "operatingSystemVersion" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String operatingSystemVersion { get; set; } - - /// - /// The "physicalIds" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.device")] - public System.String[] physicalIds { get; set; } - - /// - /// The "trustType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String trustType { get; set; } - - /// - /// The "registeredOwners" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] registeredOwners { get; set; } - - /// - /// The "registeredUsers" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] registeredUsers { get; set; } - - /// - /// The "extensions" property, of type "microsoft.graph.extension". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.extension", "microsoft.graph.openTypeExtension")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] extensions { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/ownedDevices/{directoryObjectId ?? string.Empty}"; - } - } - - /// - /// Retrieves "microsoft.graph.directoryObject" object references. - /// GET ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/ownedDevices/$ref - /// Retrieves "microsoft.graph.directoryObject" object references in the "ownedDevices" collection. - /// - /// GitHub Repository - [Cmdlet("Get", "DirectoryObjects_OwnedDevicesReferences", DefaultParameterSetName = @"Search")] - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [ResourceTypePropertyName("ownedDeviceODataType")] - public class Get_DirectoryObjects_OwnedDevicesReferences : GetOrSearchCmdlet - { - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - [Parameter(ParameterSetName = @"Get", Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - /// - /// The "deletedDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.directoryObject" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - public System.DateTimeOffset deletedDateTime { get; set; } - - /// - /// The "displayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.String displayName { get; set; } - - /// - /// The "description" property, of type "Edm.String". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.String description { get; set; } - - /// - /// The "values" property, of type "microsoft.graph.settingTemplateValue". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("microsoft.graph.settingTemplateValue")] - [Selectable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.Object[] values { get; set; } - - /// - /// The "accountEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Boolean accountEnabled { get; set; } - - /// - /// The "ageGroup" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String ageGroup { get; set; } - - /// - /// The "assignedLicenses" property, of type "microsoft.graph.assignedLicense". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.assignedLicense")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] assignedLicenses { get; set; } - - /// - /// The "assignedPlans" property, of type "microsoft.graph.assignedPlan". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.assignedPlan")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] assignedPlans { get; set; } - - /// - /// The "businessPhones" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] businessPhones { get; set; } - - /// - /// The "city" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String city { get; set; } - - /// - /// The "companyName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String companyName { get; set; } - - /// - /// The "consentProvidedForMinor" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String consentProvidedForMinor { get; set; } - - /// - /// The "country" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String country { get; set; } - - /// - /// The "department" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String department { get; set; } - - /// - /// The "givenName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String givenName { get; set; } - - /// - /// The "imAddresses" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] imAddresses { get; set; } - - /// - /// The "jobTitle" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String jobTitle { get; set; } - - /// - /// The "legalAgeGroupClassification" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String legalAgeGroupClassification { get; set; } - - /// - /// The "mail" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mail { get; set; } - - /// - /// The "mailNickname" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mailNickname { get; set; } - - /// - /// The "mobilePhone" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mobilePhone { get; set; } - - /// - /// The "onPremisesExtensionAttributes" property, of type "microsoft.graph.onPremisesExtensionAttributes". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.onPremisesExtensionAttributes")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object onPremisesExtensionAttributes { get; set; } - - /// - /// The "onPremisesImmutableId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesImmutableId { get; set; } - - /// - /// The "onPremisesLastSyncDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset onPremisesLastSyncDateTime { get; set; } - - /// - /// The "onPremisesProvisioningErrors" property, of type "microsoft.graph.onPremisesProvisioningError". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.onPremisesProvisioningError")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] onPremisesProvisioningErrors { get; set; } - - /// - /// The "onPremisesSecurityIdentifier" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesSecurityIdentifier { get; set; } - - /// - /// The "onPremisesSyncEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Boolean onPremisesSyncEnabled { get; set; } - - /// - /// The "onPremisesDomainName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesDomainName { get; set; } - - /// - /// The "onPremisesSamAccountName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesSamAccountName { get; set; } - - /// - /// The "onPremisesUserPrincipalName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesUserPrincipalName { get; set; } - - /// - /// The "passwordPolicies" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String passwordPolicies { get; set; } - - /// - /// The "passwordProfile" property, of type "microsoft.graph.passwordProfile". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.passwordProfile")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object passwordProfile { get; set; } - - /// - /// The "officeLocation" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String officeLocation { get; set; } - - /// - /// The "postalCode" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String postalCode { get; set; } - - /// - /// The "preferredLanguage" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String preferredLanguage { get; set; } - - /// - /// The "provisionedPlans" property, of type "microsoft.graph.provisionedPlan". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.provisionedPlan")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] provisionedPlans { get; set; } - - /// - /// The "proxyAddresses" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] proxyAddresses { get; set; } - - /// - /// The "state" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String state { get; set; } - - /// - /// The "streetAddress" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String streetAddress { get; set; } - - /// - /// The "surname" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String surname { get; set; } - - /// - /// The "usageLocation" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String usageLocation { get; set; } - - /// - /// The "userPrincipalName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String userPrincipalName { get; set; } - - /// - /// The "userType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String userType { get; set; } - - /// - /// The "mailboxSettings" property, of type "microsoft.graph.mailboxSettings". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.mailboxSettings")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object mailboxSettings { get; set; } - - /// - /// The "aboutMe" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String aboutMe { get; set; } - - /// - /// The "birthday" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset birthday { get; set; } - - /// - /// The "hireDate" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset hireDate { get; set; } - - /// - /// The "interests" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] interests { get; set; } - - /// - /// The "mySite" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mySite { get; set; } - - /// - /// The "pastProjects" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] pastProjects { get; set; } - - /// - /// The "preferredName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String preferredName { get; set; } - - /// - /// The "responsibilities" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] responsibilities { get; set; } - - /// - /// The "schools" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] schools { get; set; } - - /// - /// The "skills" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] skills { get; set; } - - /// - /// The "deviceEnrollmentLimit" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.user" type. - /// The limit on the maximum number of devices that the user is permitted to enroll. Allowed values are 5 or 1000. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Int32 deviceEnrollmentLimit { get; set; } - - /// - /// The "ownedDevices" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] ownedDevices { get; set; } - - /// - /// The "registeredDevices" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] registeredDevices { get; set; } - - /// - /// The "manager" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object manager { get; set; } - - /// - /// The "directReports" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] directReports { get; set; } - - /// - /// The "memberOf" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] memberOf { get; set; } - - /// - /// The "createdObjects" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] createdObjects { get; set; } - - /// - /// The "ownedObjects" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] ownedObjects { get; set; } - - /// - /// The "licenseDetails" property, of type "microsoft.graph.licenseDetails". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.licenseDetails")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] licenseDetails { get; set; } - - /// - /// The "inferenceClassification" property, of type "microsoft.graph.inferenceClassification". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.inferenceClassification")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object inferenceClassification { get; set; } - - /// - /// The "photo" property, of type "microsoft.graph.profilePhoto". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.profilePhoto")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object photo { get; set; } - - /// - /// The "photos" property, of type "microsoft.graph.profilePhoto". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.profilePhoto")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] photos { get; set; } - - /// - /// The "managedDevices" property, of type "microsoft.graph.managedDevice". - /// This property is on the "microsoft.graph.user" type. - /// The managed devices associated with the user. - /// - [ODataType("microsoft.graph.managedDevice")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] managedDevices { get; set; } - - /// - /// The "managedAppRegistrations" property, of type "microsoft.graph.managedAppRegistration". - /// This property is on the "microsoft.graph.user" type. - /// Zero or more managed app registrations that belong to the user. - /// - [ODataType("microsoft.graph.managedAppRegistration", "microsoft.graph.androidManagedAppRegistration", "microsoft.graph.iosManagedAppRegistration")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] managedAppRegistrations { get; set; } - - /// - /// The "deviceManagementTroubleshootingEvents" property, of type "microsoft.graph.deviceManagementTroubleshootingEvent". - /// This property is on the "microsoft.graph.user" type. - /// The list of troubleshooting events for this user. - /// - [ODataType("microsoft.graph.deviceManagementTroubleshootingEvent", "microsoft.graph.enrollmentTroubleshootingEvent")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] deviceManagementTroubleshootingEvents { get; set; } - - /// - /// The "countryLetterCode" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String countryLetterCode { get; set; } - - /// - /// The "marketingNotificationEmails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] marketingNotificationEmails { get; set; } - - /// - /// The "privacyProfile" property, of type "microsoft.graph.privacyProfile". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("microsoft.graph.privacyProfile")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.Object privacyProfile { get; set; } - - /// - /// The "securityComplianceNotificationMails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] securityComplianceNotificationMails { get; set; } - - /// - /// The "securityComplianceNotificationPhones" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] securityComplianceNotificationPhones { get; set; } - - /// - /// The "street" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String street { get; set; } - - /// - /// The "technicalNotificationMails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] technicalNotificationMails { get; set; } - - /// - /// The "mobileDeviceManagementAuthority" property, of type "microsoft.graph.mdmAuthority". - /// This property is on the "microsoft.graph.organization" type. - /// Mobile device management authority. - /// - [ODataType("microsoft.graph.mdmAuthority")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String mobileDeviceManagementAuthority { get; set; } - - /// - /// The "contractType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.String contractType { get; set; } - - /// - /// The "customerId" property, of type "Edm.Guid". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.Guid")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.Guid customerId { get; set; } - - /// - /// The "defaultDomainName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.String defaultDomainName { get; set; } - - /// - /// The "classification" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.String classification { get; set; } - - /// - /// The "createdDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.DateTimeOffset createdDateTime { get; set; } - - /// - /// The "groupTypes" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.group")] - public System.String[] groupTypes { get; set; } - - /// - /// The "mailEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean mailEnabled { get; set; } - - /// - /// The "renewedDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.DateTimeOffset renewedDateTime { get; set; } - - /// - /// The "securityEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean securityEnabled { get; set; } - - /// - /// The "visibility" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.String visibility { get; set; } - - /// - /// The "allowExternalSenders" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean allowExternalSenders { get; set; } - - /// - /// The "autoSubscribeNewMembers" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean autoSubscribeNewMembers { get; set; } - - /// - /// The "isSubscribedByMail" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean isSubscribedByMail { get; set; } - - /// - /// The "unseenCount" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Int32 unseenCount { get; set; } - - /// - /// The "members" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] members { get; set; } - - /// - /// The "createdOnBehalfOf" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Object createdOnBehalfOf { get; set; } - - /// - /// The "owners" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] owners { get; set; } - - /// - /// The "settings" property, of type "microsoft.graph.groupSetting". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.groupSetting")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] settings { get; set; } - - /// - /// The "groupLifecyclePolicies" property, of type "microsoft.graph.groupLifecyclePolicy". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.groupLifecyclePolicy")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] groupLifecyclePolicies { get; set; } - - /// - /// The "roleTemplateId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.directoryRole" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.directoryRole")] - public System.String roleTemplateId { get; set; } - - /// - /// The "alternativeSecurityIds" property, of type "microsoft.graph.alternativeSecurityId". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.alternativeSecurityId")] - [Selectable] - [DerivedType("microsoft.graph.device")] - public System.Object[] alternativeSecurityIds { get; set; } - - /// - /// The "approximateLastSignInDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.DateTimeOffset approximateLastSignInDateTime { get; set; } - - /// - /// The "deviceId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String deviceId { get; set; } - - /// - /// The "deviceMetadata" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String deviceMetadata { get; set; } - - /// - /// The "deviceVersion" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Int32 deviceVersion { get; set; } - - /// - /// The "isCompliant" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Boolean isCompliant { get; set; } - - /// - /// The "isManaged" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Boolean isManaged { get; set; } - - /// - /// The "operatingSystem" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String operatingSystem { get; set; } - - /// - /// The "operatingSystemVersion" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String operatingSystemVersion { get; set; } - - /// - /// The "physicalIds" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.device")] - public System.String[] physicalIds { get; set; } - - /// - /// The "trustType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String trustType { get; set; } - - /// - /// The "registeredOwners" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] registeredOwners { get; set; } - - /// - /// The "registeredUsers" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] registeredUsers { get; set; } - - /// - /// The "extensions" property, of type "microsoft.graph.extension". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.extension", "microsoft.graph.openTypeExtension")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] extensions { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/ownedDevices/{directoryObjectId ?? string.Empty}/$ref"; - } - } - - /// - /// Creates a reference from a "directoryObject" to a "microsoft.graph.directoryObject" object. - /// POST ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/ownedDevices/$ref - /// Creates a reference from the specified "directoryObject" object to a "ownedDevice". - /// - /// GitHub Repository - [Cmdlet("New", "DirectoryObjects_OwnedDevicesReferences", ConfirmImpact = ConfirmImpact.Low)] - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [ResourceTypePropertyName("ownedDeviceODataType")] - public class New_DirectoryObjects_OwnedDevicesReferences : PostReferenceToCollectionCmdlet - { - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - /// - /// The URL which should be used to access a "microsoft.graph.directoryObject" object. - /// - [Selectable] - [Expandable] - [Alias("deviceReferenceUrl", "directoryRoleReferenceUrl", "directoryRoleTemplateReferenceUrl", "groupReferenceUrl", "contractReferenceUrl", "organizationReferenceUrl", "userReferenceUrl", "groupSettingTemplateReferenceUrl", "administrativeUnitReferenceUrl")] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The URL which should be used to access a "microsoft.graph.directoryObject" object.")] - public System.String directoryObjectReferenceUrl { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/ownedDevices/{directoryObjectId}/$ref"; - } - - internal override System.Object GetContent() - { - return this.GetReferenceRequestContent(directoryObjectReferenceUrl); - } - } - - /// - /// Removes a reference from a "directoryObject" to a "microsoft.graph.directoryObject" object. - /// DELETE ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/ownedDevices/directoryObjectId/$ref - /// Removes a reference from the specified "directoryObject" object to a "ownedDevice". - /// - /// GitHub Repository - [Cmdlet("Remove", "DirectoryObjects_OwnedDevicesReferences", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [ResourceTypePropertyName("ownedDeviceODataType")] - public class Remove_DirectoryObjects_OwnedDevicesReferences : DeleteCmdlet - { - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/ownedDevices/{directoryObjectId}/$ref"; - } - } -} \ No newline at end of file diff --git a/PowerShellCmdlets/Generated/SDK/DirectoryObjects/OwnedObjects.cs b/PowerShellCmdlets/Generated/SDK/DirectoryObjects/OwnedObjects.cs deleted file mode 100644 index e3fc3bc..0000000 --- a/PowerShellCmdlets/Generated/SDK/DirectoryObjects/OwnedObjects.cs +++ /dev/null @@ -1,2381 +0,0 @@ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. - -namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets -{ - using System.Management.Automation; - - /// - /// Retrieves "microsoft.graph.directoryObject" objects. - /// GET ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/ownedObjects - /// Retrieves "microsoft.graph.directoryObject" objects in the "ownedObjects" collection. - /// - /// GitHub Repository - [Cmdlet("Get", "DirectoryObjects_OwnedObjects", DefaultParameterSetName = @"Search")] - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [ResourceTypePropertyName("ownedObjectODataType")] - public class Get_DirectoryObjects_OwnedObjects : GetOrSearchCmdlet - { - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - [Parameter(ParameterSetName = @"Get", Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - /// - /// The "deletedDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.directoryObject" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - public System.DateTimeOffset deletedDateTime { get; set; } - - /// - /// The "displayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.String displayName { get; set; } - - /// - /// The "description" property, of type "Edm.String". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.String description { get; set; } - - /// - /// The "values" property, of type "microsoft.graph.settingTemplateValue". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("microsoft.graph.settingTemplateValue")] - [Selectable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.Object[] values { get; set; } - - /// - /// The "accountEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Boolean accountEnabled { get; set; } - - /// - /// The "ageGroup" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String ageGroup { get; set; } - - /// - /// The "assignedLicenses" property, of type "microsoft.graph.assignedLicense". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.assignedLicense")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] assignedLicenses { get; set; } - - /// - /// The "assignedPlans" property, of type "microsoft.graph.assignedPlan". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.assignedPlan")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] assignedPlans { get; set; } - - /// - /// The "businessPhones" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] businessPhones { get; set; } - - /// - /// The "city" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String city { get; set; } - - /// - /// The "companyName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String companyName { get; set; } - - /// - /// The "consentProvidedForMinor" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String consentProvidedForMinor { get; set; } - - /// - /// The "country" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String country { get; set; } - - /// - /// The "department" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String department { get; set; } - - /// - /// The "givenName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String givenName { get; set; } - - /// - /// The "imAddresses" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] imAddresses { get; set; } - - /// - /// The "jobTitle" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String jobTitle { get; set; } - - /// - /// The "legalAgeGroupClassification" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String legalAgeGroupClassification { get; set; } - - /// - /// The "mail" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mail { get; set; } - - /// - /// The "mailNickname" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mailNickname { get; set; } - - /// - /// The "mobilePhone" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mobilePhone { get; set; } - - /// - /// The "onPremisesExtensionAttributes" property, of type "microsoft.graph.onPremisesExtensionAttributes". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.onPremisesExtensionAttributes")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object onPremisesExtensionAttributes { get; set; } - - /// - /// The "onPremisesImmutableId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesImmutableId { get; set; } - - /// - /// The "onPremisesLastSyncDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset onPremisesLastSyncDateTime { get; set; } - - /// - /// The "onPremisesProvisioningErrors" property, of type "microsoft.graph.onPremisesProvisioningError". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.onPremisesProvisioningError")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] onPremisesProvisioningErrors { get; set; } - - /// - /// The "onPremisesSecurityIdentifier" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesSecurityIdentifier { get; set; } - - /// - /// The "onPremisesSyncEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Boolean onPremisesSyncEnabled { get; set; } - - /// - /// The "onPremisesDomainName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesDomainName { get; set; } - - /// - /// The "onPremisesSamAccountName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesSamAccountName { get; set; } - - /// - /// The "onPremisesUserPrincipalName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesUserPrincipalName { get; set; } - - /// - /// The "passwordPolicies" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String passwordPolicies { get; set; } - - /// - /// The "passwordProfile" property, of type "microsoft.graph.passwordProfile". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.passwordProfile")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object passwordProfile { get; set; } - - /// - /// The "officeLocation" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String officeLocation { get; set; } - - /// - /// The "postalCode" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String postalCode { get; set; } - - /// - /// The "preferredLanguage" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String preferredLanguage { get; set; } - - /// - /// The "provisionedPlans" property, of type "microsoft.graph.provisionedPlan". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.provisionedPlan")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] provisionedPlans { get; set; } - - /// - /// The "proxyAddresses" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] proxyAddresses { get; set; } - - /// - /// The "state" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String state { get; set; } - - /// - /// The "streetAddress" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String streetAddress { get; set; } - - /// - /// The "surname" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String surname { get; set; } - - /// - /// The "usageLocation" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String usageLocation { get; set; } - - /// - /// The "userPrincipalName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String userPrincipalName { get; set; } - - /// - /// The "userType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String userType { get; set; } - - /// - /// The "mailboxSettings" property, of type "microsoft.graph.mailboxSettings". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.mailboxSettings")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object mailboxSettings { get; set; } - - /// - /// The "aboutMe" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String aboutMe { get; set; } - - /// - /// The "birthday" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset birthday { get; set; } - - /// - /// The "hireDate" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset hireDate { get; set; } - - /// - /// The "interests" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] interests { get; set; } - - /// - /// The "mySite" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mySite { get; set; } - - /// - /// The "pastProjects" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] pastProjects { get; set; } - - /// - /// The "preferredName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String preferredName { get; set; } - - /// - /// The "responsibilities" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] responsibilities { get; set; } - - /// - /// The "schools" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] schools { get; set; } - - /// - /// The "skills" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] skills { get; set; } - - /// - /// The "deviceEnrollmentLimit" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.user" type. - /// The limit on the maximum number of devices that the user is permitted to enroll. Allowed values are 5 or 1000. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Int32 deviceEnrollmentLimit { get; set; } - - /// - /// The "ownedDevices" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] ownedDevices { get; set; } - - /// - /// The "registeredDevices" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] registeredDevices { get; set; } - - /// - /// The "manager" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object manager { get; set; } - - /// - /// The "directReports" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] directReports { get; set; } - - /// - /// The "memberOf" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] memberOf { get; set; } - - /// - /// The "createdObjects" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] createdObjects { get; set; } - - /// - /// The "ownedObjects" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] ownedObjects { get; set; } - - /// - /// The "licenseDetails" property, of type "microsoft.graph.licenseDetails". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.licenseDetails")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] licenseDetails { get; set; } - - /// - /// The "inferenceClassification" property, of type "microsoft.graph.inferenceClassification". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.inferenceClassification")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object inferenceClassification { get; set; } - - /// - /// The "photo" property, of type "microsoft.graph.profilePhoto". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.profilePhoto")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object photo { get; set; } - - /// - /// The "photos" property, of type "microsoft.graph.profilePhoto". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.profilePhoto")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] photos { get; set; } - - /// - /// The "managedDevices" property, of type "microsoft.graph.managedDevice". - /// This property is on the "microsoft.graph.user" type. - /// The managed devices associated with the user. - /// - [ODataType("microsoft.graph.managedDevice")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] managedDevices { get; set; } - - /// - /// The "managedAppRegistrations" property, of type "microsoft.graph.managedAppRegistration". - /// This property is on the "microsoft.graph.user" type. - /// Zero or more managed app registrations that belong to the user. - /// - [ODataType("microsoft.graph.managedAppRegistration", "microsoft.graph.androidManagedAppRegistration", "microsoft.graph.iosManagedAppRegistration")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] managedAppRegistrations { get; set; } - - /// - /// The "deviceManagementTroubleshootingEvents" property, of type "microsoft.graph.deviceManagementTroubleshootingEvent". - /// This property is on the "microsoft.graph.user" type. - /// The list of troubleshooting events for this user. - /// - [ODataType("microsoft.graph.deviceManagementTroubleshootingEvent", "microsoft.graph.enrollmentTroubleshootingEvent")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] deviceManagementTroubleshootingEvents { get; set; } - - /// - /// The "countryLetterCode" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String countryLetterCode { get; set; } - - /// - /// The "marketingNotificationEmails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] marketingNotificationEmails { get; set; } - - /// - /// The "privacyProfile" property, of type "microsoft.graph.privacyProfile". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("microsoft.graph.privacyProfile")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.Object privacyProfile { get; set; } - - /// - /// The "securityComplianceNotificationMails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] securityComplianceNotificationMails { get; set; } - - /// - /// The "securityComplianceNotificationPhones" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] securityComplianceNotificationPhones { get; set; } - - /// - /// The "street" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String street { get; set; } - - /// - /// The "technicalNotificationMails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] technicalNotificationMails { get; set; } - - /// - /// The "mobileDeviceManagementAuthority" property, of type "microsoft.graph.mdmAuthority". - /// This property is on the "microsoft.graph.organization" type. - /// Mobile device management authority. - /// - [ODataType("microsoft.graph.mdmAuthority")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String mobileDeviceManagementAuthority { get; set; } - - /// - /// The "contractType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.String contractType { get; set; } - - /// - /// The "customerId" property, of type "Edm.Guid". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.Guid")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.Guid customerId { get; set; } - - /// - /// The "defaultDomainName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.String defaultDomainName { get; set; } - - /// - /// The "classification" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.String classification { get; set; } - - /// - /// The "createdDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.DateTimeOffset createdDateTime { get; set; } - - /// - /// The "groupTypes" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.group")] - public System.String[] groupTypes { get; set; } - - /// - /// The "mailEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean mailEnabled { get; set; } - - /// - /// The "renewedDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.DateTimeOffset renewedDateTime { get; set; } - - /// - /// The "securityEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean securityEnabled { get; set; } - - /// - /// The "visibility" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.String visibility { get; set; } - - /// - /// The "allowExternalSenders" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean allowExternalSenders { get; set; } - - /// - /// The "autoSubscribeNewMembers" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean autoSubscribeNewMembers { get; set; } - - /// - /// The "isSubscribedByMail" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean isSubscribedByMail { get; set; } - - /// - /// The "unseenCount" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Int32 unseenCount { get; set; } - - /// - /// The "members" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] members { get; set; } - - /// - /// The "createdOnBehalfOf" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Object createdOnBehalfOf { get; set; } - - /// - /// The "owners" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] owners { get; set; } - - /// - /// The "settings" property, of type "microsoft.graph.groupSetting". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.groupSetting")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] settings { get; set; } - - /// - /// The "groupLifecyclePolicies" property, of type "microsoft.graph.groupLifecyclePolicy". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.groupLifecyclePolicy")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] groupLifecyclePolicies { get; set; } - - /// - /// The "roleTemplateId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.directoryRole" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.directoryRole")] - public System.String roleTemplateId { get; set; } - - /// - /// The "alternativeSecurityIds" property, of type "microsoft.graph.alternativeSecurityId". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.alternativeSecurityId")] - [Selectable] - [DerivedType("microsoft.graph.device")] - public System.Object[] alternativeSecurityIds { get; set; } - - /// - /// The "approximateLastSignInDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.DateTimeOffset approximateLastSignInDateTime { get; set; } - - /// - /// The "deviceId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String deviceId { get; set; } - - /// - /// The "deviceMetadata" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String deviceMetadata { get; set; } - - /// - /// The "deviceVersion" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Int32 deviceVersion { get; set; } - - /// - /// The "isCompliant" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Boolean isCompliant { get; set; } - - /// - /// The "isManaged" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Boolean isManaged { get; set; } - - /// - /// The "operatingSystem" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String operatingSystem { get; set; } - - /// - /// The "operatingSystemVersion" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String operatingSystemVersion { get; set; } - - /// - /// The "physicalIds" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.device")] - public System.String[] physicalIds { get; set; } - - /// - /// The "trustType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String trustType { get; set; } - - /// - /// The "registeredOwners" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] registeredOwners { get; set; } - - /// - /// The "registeredUsers" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] registeredUsers { get; set; } - - /// - /// The "extensions" property, of type "microsoft.graph.extension". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.extension", "microsoft.graph.openTypeExtension")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] extensions { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/ownedObjects/{directoryObjectId ?? string.Empty}"; - } - } - - /// - /// Retrieves "microsoft.graph.directoryObject" object references. - /// GET ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/ownedObjects/$ref - /// Retrieves "microsoft.graph.directoryObject" object references in the "ownedObjects" collection. - /// - /// GitHub Repository - [Cmdlet("Get", "DirectoryObjects_OwnedObjectsReferences", DefaultParameterSetName = @"Search")] - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [ResourceTypePropertyName("ownedObjectODataType")] - public class Get_DirectoryObjects_OwnedObjectsReferences : GetOrSearchCmdlet - { - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - [Parameter(ParameterSetName = @"Get", Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - /// - /// The "deletedDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.directoryObject" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - public System.DateTimeOffset deletedDateTime { get; set; } - - /// - /// The "displayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.String displayName { get; set; } - - /// - /// The "description" property, of type "Edm.String". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.String description { get; set; } - - /// - /// The "values" property, of type "microsoft.graph.settingTemplateValue". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("microsoft.graph.settingTemplateValue")] - [Selectable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.Object[] values { get; set; } - - /// - /// The "accountEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Boolean accountEnabled { get; set; } - - /// - /// The "ageGroup" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String ageGroup { get; set; } - - /// - /// The "assignedLicenses" property, of type "microsoft.graph.assignedLicense". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.assignedLicense")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] assignedLicenses { get; set; } - - /// - /// The "assignedPlans" property, of type "microsoft.graph.assignedPlan". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.assignedPlan")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] assignedPlans { get; set; } - - /// - /// The "businessPhones" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] businessPhones { get; set; } - - /// - /// The "city" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String city { get; set; } - - /// - /// The "companyName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String companyName { get; set; } - - /// - /// The "consentProvidedForMinor" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String consentProvidedForMinor { get; set; } - - /// - /// The "country" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String country { get; set; } - - /// - /// The "department" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String department { get; set; } - - /// - /// The "givenName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String givenName { get; set; } - - /// - /// The "imAddresses" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] imAddresses { get; set; } - - /// - /// The "jobTitle" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String jobTitle { get; set; } - - /// - /// The "legalAgeGroupClassification" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String legalAgeGroupClassification { get; set; } - - /// - /// The "mail" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mail { get; set; } - - /// - /// The "mailNickname" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mailNickname { get; set; } - - /// - /// The "mobilePhone" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mobilePhone { get; set; } - - /// - /// The "onPremisesExtensionAttributes" property, of type "microsoft.graph.onPremisesExtensionAttributes". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.onPremisesExtensionAttributes")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object onPremisesExtensionAttributes { get; set; } - - /// - /// The "onPremisesImmutableId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesImmutableId { get; set; } - - /// - /// The "onPremisesLastSyncDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset onPremisesLastSyncDateTime { get; set; } - - /// - /// The "onPremisesProvisioningErrors" property, of type "microsoft.graph.onPremisesProvisioningError". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.onPremisesProvisioningError")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] onPremisesProvisioningErrors { get; set; } - - /// - /// The "onPremisesSecurityIdentifier" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesSecurityIdentifier { get; set; } - - /// - /// The "onPremisesSyncEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Boolean onPremisesSyncEnabled { get; set; } - - /// - /// The "onPremisesDomainName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesDomainName { get; set; } - - /// - /// The "onPremisesSamAccountName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesSamAccountName { get; set; } - - /// - /// The "onPremisesUserPrincipalName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesUserPrincipalName { get; set; } - - /// - /// The "passwordPolicies" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String passwordPolicies { get; set; } - - /// - /// The "passwordProfile" property, of type "microsoft.graph.passwordProfile". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.passwordProfile")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object passwordProfile { get; set; } - - /// - /// The "officeLocation" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String officeLocation { get; set; } - - /// - /// The "postalCode" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String postalCode { get; set; } - - /// - /// The "preferredLanguage" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String preferredLanguage { get; set; } - - /// - /// The "provisionedPlans" property, of type "microsoft.graph.provisionedPlan". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.provisionedPlan")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] provisionedPlans { get; set; } - - /// - /// The "proxyAddresses" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] proxyAddresses { get; set; } - - /// - /// The "state" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String state { get; set; } - - /// - /// The "streetAddress" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String streetAddress { get; set; } - - /// - /// The "surname" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String surname { get; set; } - - /// - /// The "usageLocation" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String usageLocation { get; set; } - - /// - /// The "userPrincipalName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String userPrincipalName { get; set; } - - /// - /// The "userType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String userType { get; set; } - - /// - /// The "mailboxSettings" property, of type "microsoft.graph.mailboxSettings". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.mailboxSettings")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object mailboxSettings { get; set; } - - /// - /// The "aboutMe" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String aboutMe { get; set; } - - /// - /// The "birthday" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset birthday { get; set; } - - /// - /// The "hireDate" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset hireDate { get; set; } - - /// - /// The "interests" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] interests { get; set; } - - /// - /// The "mySite" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mySite { get; set; } - - /// - /// The "pastProjects" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] pastProjects { get; set; } - - /// - /// The "preferredName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String preferredName { get; set; } - - /// - /// The "responsibilities" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] responsibilities { get; set; } - - /// - /// The "schools" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] schools { get; set; } - - /// - /// The "skills" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] skills { get; set; } - - /// - /// The "deviceEnrollmentLimit" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.user" type. - /// The limit on the maximum number of devices that the user is permitted to enroll. Allowed values are 5 or 1000. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Int32 deviceEnrollmentLimit { get; set; } - - /// - /// The "ownedDevices" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] ownedDevices { get; set; } - - /// - /// The "registeredDevices" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] registeredDevices { get; set; } - - /// - /// The "manager" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object manager { get; set; } - - /// - /// The "directReports" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] directReports { get; set; } - - /// - /// The "memberOf" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] memberOf { get; set; } - - /// - /// The "createdObjects" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] createdObjects { get; set; } - - /// - /// The "ownedObjects" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] ownedObjects { get; set; } - - /// - /// The "licenseDetails" property, of type "microsoft.graph.licenseDetails". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.licenseDetails")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] licenseDetails { get; set; } - - /// - /// The "inferenceClassification" property, of type "microsoft.graph.inferenceClassification". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.inferenceClassification")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object inferenceClassification { get; set; } - - /// - /// The "photo" property, of type "microsoft.graph.profilePhoto". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.profilePhoto")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object photo { get; set; } - - /// - /// The "photos" property, of type "microsoft.graph.profilePhoto". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.profilePhoto")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] photos { get; set; } - - /// - /// The "managedDevices" property, of type "microsoft.graph.managedDevice". - /// This property is on the "microsoft.graph.user" type. - /// The managed devices associated with the user. - /// - [ODataType("microsoft.graph.managedDevice")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] managedDevices { get; set; } - - /// - /// The "managedAppRegistrations" property, of type "microsoft.graph.managedAppRegistration". - /// This property is on the "microsoft.graph.user" type. - /// Zero or more managed app registrations that belong to the user. - /// - [ODataType("microsoft.graph.managedAppRegistration", "microsoft.graph.androidManagedAppRegistration", "microsoft.graph.iosManagedAppRegistration")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] managedAppRegistrations { get; set; } - - /// - /// The "deviceManagementTroubleshootingEvents" property, of type "microsoft.graph.deviceManagementTroubleshootingEvent". - /// This property is on the "microsoft.graph.user" type. - /// The list of troubleshooting events for this user. - /// - [ODataType("microsoft.graph.deviceManagementTroubleshootingEvent", "microsoft.graph.enrollmentTroubleshootingEvent")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] deviceManagementTroubleshootingEvents { get; set; } - - /// - /// The "countryLetterCode" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String countryLetterCode { get; set; } - - /// - /// The "marketingNotificationEmails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] marketingNotificationEmails { get; set; } - - /// - /// The "privacyProfile" property, of type "microsoft.graph.privacyProfile". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("microsoft.graph.privacyProfile")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.Object privacyProfile { get; set; } - - /// - /// The "securityComplianceNotificationMails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] securityComplianceNotificationMails { get; set; } - - /// - /// The "securityComplianceNotificationPhones" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] securityComplianceNotificationPhones { get; set; } - - /// - /// The "street" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String street { get; set; } - - /// - /// The "technicalNotificationMails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] technicalNotificationMails { get; set; } - - /// - /// The "mobileDeviceManagementAuthority" property, of type "microsoft.graph.mdmAuthority". - /// This property is on the "microsoft.graph.organization" type. - /// Mobile device management authority. - /// - [ODataType("microsoft.graph.mdmAuthority")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String mobileDeviceManagementAuthority { get; set; } - - /// - /// The "contractType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.String contractType { get; set; } - - /// - /// The "customerId" property, of type "Edm.Guid". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.Guid")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.Guid customerId { get; set; } - - /// - /// The "defaultDomainName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.String defaultDomainName { get; set; } - - /// - /// The "classification" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.String classification { get; set; } - - /// - /// The "createdDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.DateTimeOffset createdDateTime { get; set; } - - /// - /// The "groupTypes" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.group")] - public System.String[] groupTypes { get; set; } - - /// - /// The "mailEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean mailEnabled { get; set; } - - /// - /// The "renewedDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.DateTimeOffset renewedDateTime { get; set; } - - /// - /// The "securityEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean securityEnabled { get; set; } - - /// - /// The "visibility" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.String visibility { get; set; } - - /// - /// The "allowExternalSenders" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean allowExternalSenders { get; set; } - - /// - /// The "autoSubscribeNewMembers" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean autoSubscribeNewMembers { get; set; } - - /// - /// The "isSubscribedByMail" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean isSubscribedByMail { get; set; } - - /// - /// The "unseenCount" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Int32 unseenCount { get; set; } - - /// - /// The "members" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] members { get; set; } - - /// - /// The "createdOnBehalfOf" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Object createdOnBehalfOf { get; set; } - - /// - /// The "owners" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] owners { get; set; } - - /// - /// The "settings" property, of type "microsoft.graph.groupSetting". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.groupSetting")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] settings { get; set; } - - /// - /// The "groupLifecyclePolicies" property, of type "microsoft.graph.groupLifecyclePolicy". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.groupLifecyclePolicy")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] groupLifecyclePolicies { get; set; } - - /// - /// The "roleTemplateId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.directoryRole" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.directoryRole")] - public System.String roleTemplateId { get; set; } - - /// - /// The "alternativeSecurityIds" property, of type "microsoft.graph.alternativeSecurityId". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.alternativeSecurityId")] - [Selectable] - [DerivedType("microsoft.graph.device")] - public System.Object[] alternativeSecurityIds { get; set; } - - /// - /// The "approximateLastSignInDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.DateTimeOffset approximateLastSignInDateTime { get; set; } - - /// - /// The "deviceId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String deviceId { get; set; } - - /// - /// The "deviceMetadata" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String deviceMetadata { get; set; } - - /// - /// The "deviceVersion" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Int32 deviceVersion { get; set; } - - /// - /// The "isCompliant" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Boolean isCompliant { get; set; } - - /// - /// The "isManaged" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Boolean isManaged { get; set; } - - /// - /// The "operatingSystem" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String operatingSystem { get; set; } - - /// - /// The "operatingSystemVersion" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String operatingSystemVersion { get; set; } - - /// - /// The "physicalIds" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.device")] - public System.String[] physicalIds { get; set; } - - /// - /// The "trustType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String trustType { get; set; } - - /// - /// The "registeredOwners" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] registeredOwners { get; set; } - - /// - /// The "registeredUsers" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] registeredUsers { get; set; } - - /// - /// The "extensions" property, of type "microsoft.graph.extension". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.extension", "microsoft.graph.openTypeExtension")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] extensions { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/ownedObjects/{directoryObjectId ?? string.Empty}/$ref"; - } - } - - /// - /// Creates a reference from a "directoryObject" to a "microsoft.graph.directoryObject" object. - /// POST ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/ownedObjects/$ref - /// Creates a reference from the specified "directoryObject" object to a "ownedObject". - /// - /// GitHub Repository - [Cmdlet("New", "DirectoryObjects_OwnedObjectsReferences", ConfirmImpact = ConfirmImpact.Low)] - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [ResourceTypePropertyName("ownedObjectODataType")] - public class New_DirectoryObjects_OwnedObjectsReferences : PostReferenceToCollectionCmdlet - { - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - /// - /// The URL which should be used to access a "microsoft.graph.directoryObject" object. - /// - [Selectable] - [Expandable] - [Alias("deviceReferenceUrl", "directoryRoleReferenceUrl", "directoryRoleTemplateReferenceUrl", "groupReferenceUrl", "contractReferenceUrl", "organizationReferenceUrl", "userReferenceUrl", "groupSettingTemplateReferenceUrl", "administrativeUnitReferenceUrl")] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The URL which should be used to access a "microsoft.graph.directoryObject" object.")] - public System.String directoryObjectReferenceUrl { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/ownedObjects/{directoryObjectId}/$ref"; - } - - internal override System.Object GetContent() - { - return this.GetReferenceRequestContent(directoryObjectReferenceUrl); - } - } - - /// - /// Removes a reference from a "directoryObject" to a "microsoft.graph.directoryObject" object. - /// DELETE ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/ownedObjects/directoryObjectId/$ref - /// Removes a reference from the specified "directoryObject" object to a "ownedObject". - /// - /// GitHub Repository - [Cmdlet("Remove", "DirectoryObjects_OwnedObjectsReferences", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [ResourceTypePropertyName("ownedObjectODataType")] - public class Remove_DirectoryObjects_OwnedObjectsReferences : DeleteCmdlet - { - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/ownedObjects/{directoryObjectId}/$ref"; - } - } -} \ No newline at end of file diff --git a/PowerShellCmdlets/Generated/SDK/DirectoryObjects/Owners.cs b/PowerShellCmdlets/Generated/SDK/DirectoryObjects/Owners.cs deleted file mode 100644 index 1e1cf8d..0000000 --- a/PowerShellCmdlets/Generated/SDK/DirectoryObjects/Owners.cs +++ /dev/null @@ -1,2381 +0,0 @@ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. - -namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets -{ - using System.Management.Automation; - - /// - /// Retrieves "microsoft.graph.directoryObject" objects. - /// GET ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/owners - /// Retrieves "microsoft.graph.directoryObject" objects in the "owners" collection. - /// - /// GitHub Repository - [Cmdlet("Get", "DirectoryObjects_Owners", DefaultParameterSetName = @"Search")] - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [ResourceTypePropertyName("ownerODataType")] - public class Get_DirectoryObjects_Owners : GetOrSearchCmdlet - { - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - [Parameter(ParameterSetName = @"Get", Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - /// - /// The "deletedDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.directoryObject" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - public System.DateTimeOffset deletedDateTime { get; set; } - - /// - /// The "displayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.String displayName { get; set; } - - /// - /// The "description" property, of type "Edm.String". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.String description { get; set; } - - /// - /// The "values" property, of type "microsoft.graph.settingTemplateValue". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("microsoft.graph.settingTemplateValue")] - [Selectable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.Object[] values { get; set; } - - /// - /// The "accountEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Boolean accountEnabled { get; set; } - - /// - /// The "ageGroup" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String ageGroup { get; set; } - - /// - /// The "assignedLicenses" property, of type "microsoft.graph.assignedLicense". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.assignedLicense")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] assignedLicenses { get; set; } - - /// - /// The "assignedPlans" property, of type "microsoft.graph.assignedPlan". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.assignedPlan")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] assignedPlans { get; set; } - - /// - /// The "businessPhones" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] businessPhones { get; set; } - - /// - /// The "city" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String city { get; set; } - - /// - /// The "companyName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String companyName { get; set; } - - /// - /// The "consentProvidedForMinor" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String consentProvidedForMinor { get; set; } - - /// - /// The "country" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String country { get; set; } - - /// - /// The "department" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String department { get; set; } - - /// - /// The "givenName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String givenName { get; set; } - - /// - /// The "imAddresses" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] imAddresses { get; set; } - - /// - /// The "jobTitle" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String jobTitle { get; set; } - - /// - /// The "legalAgeGroupClassification" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String legalAgeGroupClassification { get; set; } - - /// - /// The "mail" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mail { get; set; } - - /// - /// The "mailNickname" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mailNickname { get; set; } - - /// - /// The "mobilePhone" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mobilePhone { get; set; } - - /// - /// The "onPremisesExtensionAttributes" property, of type "microsoft.graph.onPremisesExtensionAttributes". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.onPremisesExtensionAttributes")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object onPremisesExtensionAttributes { get; set; } - - /// - /// The "onPremisesImmutableId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesImmutableId { get; set; } - - /// - /// The "onPremisesLastSyncDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset onPremisesLastSyncDateTime { get; set; } - - /// - /// The "onPremisesProvisioningErrors" property, of type "microsoft.graph.onPremisesProvisioningError". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.onPremisesProvisioningError")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] onPremisesProvisioningErrors { get; set; } - - /// - /// The "onPremisesSecurityIdentifier" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesSecurityIdentifier { get; set; } - - /// - /// The "onPremisesSyncEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Boolean onPremisesSyncEnabled { get; set; } - - /// - /// The "onPremisesDomainName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesDomainName { get; set; } - - /// - /// The "onPremisesSamAccountName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesSamAccountName { get; set; } - - /// - /// The "onPremisesUserPrincipalName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesUserPrincipalName { get; set; } - - /// - /// The "passwordPolicies" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String passwordPolicies { get; set; } - - /// - /// The "passwordProfile" property, of type "microsoft.graph.passwordProfile". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.passwordProfile")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object passwordProfile { get; set; } - - /// - /// The "officeLocation" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String officeLocation { get; set; } - - /// - /// The "postalCode" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String postalCode { get; set; } - - /// - /// The "preferredLanguage" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String preferredLanguage { get; set; } - - /// - /// The "provisionedPlans" property, of type "microsoft.graph.provisionedPlan". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.provisionedPlan")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] provisionedPlans { get; set; } - - /// - /// The "proxyAddresses" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] proxyAddresses { get; set; } - - /// - /// The "state" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String state { get; set; } - - /// - /// The "streetAddress" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String streetAddress { get; set; } - - /// - /// The "surname" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String surname { get; set; } - - /// - /// The "usageLocation" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String usageLocation { get; set; } - - /// - /// The "userPrincipalName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String userPrincipalName { get; set; } - - /// - /// The "userType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String userType { get; set; } - - /// - /// The "mailboxSettings" property, of type "microsoft.graph.mailboxSettings". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.mailboxSettings")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object mailboxSettings { get; set; } - - /// - /// The "aboutMe" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String aboutMe { get; set; } - - /// - /// The "birthday" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset birthday { get; set; } - - /// - /// The "hireDate" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset hireDate { get; set; } - - /// - /// The "interests" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] interests { get; set; } - - /// - /// The "mySite" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mySite { get; set; } - - /// - /// The "pastProjects" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] pastProjects { get; set; } - - /// - /// The "preferredName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String preferredName { get; set; } - - /// - /// The "responsibilities" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] responsibilities { get; set; } - - /// - /// The "schools" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] schools { get; set; } - - /// - /// The "skills" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] skills { get; set; } - - /// - /// The "deviceEnrollmentLimit" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.user" type. - /// The limit on the maximum number of devices that the user is permitted to enroll. Allowed values are 5 or 1000. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Int32 deviceEnrollmentLimit { get; set; } - - /// - /// The "ownedDevices" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] ownedDevices { get; set; } - - /// - /// The "registeredDevices" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] registeredDevices { get; set; } - - /// - /// The "manager" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object manager { get; set; } - - /// - /// The "directReports" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] directReports { get; set; } - - /// - /// The "memberOf" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] memberOf { get; set; } - - /// - /// The "createdObjects" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] createdObjects { get; set; } - - /// - /// The "ownedObjects" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] ownedObjects { get; set; } - - /// - /// The "licenseDetails" property, of type "microsoft.graph.licenseDetails". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.licenseDetails")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] licenseDetails { get; set; } - - /// - /// The "inferenceClassification" property, of type "microsoft.graph.inferenceClassification". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.inferenceClassification")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object inferenceClassification { get; set; } - - /// - /// The "photo" property, of type "microsoft.graph.profilePhoto". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.profilePhoto")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object photo { get; set; } - - /// - /// The "photos" property, of type "microsoft.graph.profilePhoto". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.profilePhoto")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] photos { get; set; } - - /// - /// The "managedDevices" property, of type "microsoft.graph.managedDevice". - /// This property is on the "microsoft.graph.user" type. - /// The managed devices associated with the user. - /// - [ODataType("microsoft.graph.managedDevice")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] managedDevices { get; set; } - - /// - /// The "managedAppRegistrations" property, of type "microsoft.graph.managedAppRegistration". - /// This property is on the "microsoft.graph.user" type. - /// Zero or more managed app registrations that belong to the user. - /// - [ODataType("microsoft.graph.managedAppRegistration", "microsoft.graph.androidManagedAppRegistration", "microsoft.graph.iosManagedAppRegistration")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] managedAppRegistrations { get; set; } - - /// - /// The "deviceManagementTroubleshootingEvents" property, of type "microsoft.graph.deviceManagementTroubleshootingEvent". - /// This property is on the "microsoft.graph.user" type. - /// The list of troubleshooting events for this user. - /// - [ODataType("microsoft.graph.deviceManagementTroubleshootingEvent", "microsoft.graph.enrollmentTroubleshootingEvent")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] deviceManagementTroubleshootingEvents { get; set; } - - /// - /// The "countryLetterCode" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String countryLetterCode { get; set; } - - /// - /// The "marketingNotificationEmails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] marketingNotificationEmails { get; set; } - - /// - /// The "privacyProfile" property, of type "microsoft.graph.privacyProfile". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("microsoft.graph.privacyProfile")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.Object privacyProfile { get; set; } - - /// - /// The "securityComplianceNotificationMails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] securityComplianceNotificationMails { get; set; } - - /// - /// The "securityComplianceNotificationPhones" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] securityComplianceNotificationPhones { get; set; } - - /// - /// The "street" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String street { get; set; } - - /// - /// The "technicalNotificationMails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] technicalNotificationMails { get; set; } - - /// - /// The "mobileDeviceManagementAuthority" property, of type "microsoft.graph.mdmAuthority". - /// This property is on the "microsoft.graph.organization" type. - /// Mobile device management authority. - /// - [ODataType("microsoft.graph.mdmAuthority")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String mobileDeviceManagementAuthority { get; set; } - - /// - /// The "contractType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.String contractType { get; set; } - - /// - /// The "customerId" property, of type "Edm.Guid". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.Guid")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.Guid customerId { get; set; } - - /// - /// The "defaultDomainName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.String defaultDomainName { get; set; } - - /// - /// The "classification" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.String classification { get; set; } - - /// - /// The "createdDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.DateTimeOffset createdDateTime { get; set; } - - /// - /// The "groupTypes" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.group")] - public System.String[] groupTypes { get; set; } - - /// - /// The "mailEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean mailEnabled { get; set; } - - /// - /// The "renewedDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.DateTimeOffset renewedDateTime { get; set; } - - /// - /// The "securityEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean securityEnabled { get; set; } - - /// - /// The "visibility" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.String visibility { get; set; } - - /// - /// The "allowExternalSenders" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean allowExternalSenders { get; set; } - - /// - /// The "autoSubscribeNewMembers" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean autoSubscribeNewMembers { get; set; } - - /// - /// The "isSubscribedByMail" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean isSubscribedByMail { get; set; } - - /// - /// The "unseenCount" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Int32 unseenCount { get; set; } - - /// - /// The "members" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] members { get; set; } - - /// - /// The "createdOnBehalfOf" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Object createdOnBehalfOf { get; set; } - - /// - /// The "owners" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] owners { get; set; } - - /// - /// The "settings" property, of type "microsoft.graph.groupSetting". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.groupSetting")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] settings { get; set; } - - /// - /// The "groupLifecyclePolicies" property, of type "microsoft.graph.groupLifecyclePolicy". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.groupLifecyclePolicy")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] groupLifecyclePolicies { get; set; } - - /// - /// The "roleTemplateId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.directoryRole" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.directoryRole")] - public System.String roleTemplateId { get; set; } - - /// - /// The "alternativeSecurityIds" property, of type "microsoft.graph.alternativeSecurityId". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.alternativeSecurityId")] - [Selectable] - [DerivedType("microsoft.graph.device")] - public System.Object[] alternativeSecurityIds { get; set; } - - /// - /// The "approximateLastSignInDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.DateTimeOffset approximateLastSignInDateTime { get; set; } - - /// - /// The "deviceId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String deviceId { get; set; } - - /// - /// The "deviceMetadata" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String deviceMetadata { get; set; } - - /// - /// The "deviceVersion" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Int32 deviceVersion { get; set; } - - /// - /// The "isCompliant" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Boolean isCompliant { get; set; } - - /// - /// The "isManaged" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Boolean isManaged { get; set; } - - /// - /// The "operatingSystem" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String operatingSystem { get; set; } - - /// - /// The "operatingSystemVersion" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String operatingSystemVersion { get; set; } - - /// - /// The "physicalIds" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.device")] - public System.String[] physicalIds { get; set; } - - /// - /// The "trustType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String trustType { get; set; } - - /// - /// The "registeredOwners" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] registeredOwners { get; set; } - - /// - /// The "registeredUsers" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] registeredUsers { get; set; } - - /// - /// The "extensions" property, of type "microsoft.graph.extension". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.extension", "microsoft.graph.openTypeExtension")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] extensions { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/owners/{directoryObjectId ?? string.Empty}"; - } - } - - /// - /// Retrieves "microsoft.graph.directoryObject" object references. - /// GET ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/owners/$ref - /// Retrieves "microsoft.graph.directoryObject" object references in the "owners" collection. - /// - /// GitHub Repository - [Cmdlet("Get", "DirectoryObjects_OwnersReferences", DefaultParameterSetName = @"Search")] - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [ResourceTypePropertyName("ownerODataType")] - public class Get_DirectoryObjects_OwnersReferences : GetOrSearchCmdlet - { - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - [Parameter(ParameterSetName = @"Get", Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - /// - /// The "deletedDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.directoryObject" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - public System.DateTimeOffset deletedDateTime { get; set; } - - /// - /// The "displayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.String displayName { get; set; } - - /// - /// The "description" property, of type "Edm.String". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.String description { get; set; } - - /// - /// The "values" property, of type "microsoft.graph.settingTemplateValue". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("microsoft.graph.settingTemplateValue")] - [Selectable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.Object[] values { get; set; } - - /// - /// The "accountEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Boolean accountEnabled { get; set; } - - /// - /// The "ageGroup" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String ageGroup { get; set; } - - /// - /// The "assignedLicenses" property, of type "microsoft.graph.assignedLicense". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.assignedLicense")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] assignedLicenses { get; set; } - - /// - /// The "assignedPlans" property, of type "microsoft.graph.assignedPlan". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.assignedPlan")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] assignedPlans { get; set; } - - /// - /// The "businessPhones" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] businessPhones { get; set; } - - /// - /// The "city" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String city { get; set; } - - /// - /// The "companyName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String companyName { get; set; } - - /// - /// The "consentProvidedForMinor" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String consentProvidedForMinor { get; set; } - - /// - /// The "country" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String country { get; set; } - - /// - /// The "department" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String department { get; set; } - - /// - /// The "givenName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String givenName { get; set; } - - /// - /// The "imAddresses" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] imAddresses { get; set; } - - /// - /// The "jobTitle" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String jobTitle { get; set; } - - /// - /// The "legalAgeGroupClassification" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String legalAgeGroupClassification { get; set; } - - /// - /// The "mail" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mail { get; set; } - - /// - /// The "mailNickname" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mailNickname { get; set; } - - /// - /// The "mobilePhone" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mobilePhone { get; set; } - - /// - /// The "onPremisesExtensionAttributes" property, of type "microsoft.graph.onPremisesExtensionAttributes". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.onPremisesExtensionAttributes")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object onPremisesExtensionAttributes { get; set; } - - /// - /// The "onPremisesImmutableId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesImmutableId { get; set; } - - /// - /// The "onPremisesLastSyncDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset onPremisesLastSyncDateTime { get; set; } - - /// - /// The "onPremisesProvisioningErrors" property, of type "microsoft.graph.onPremisesProvisioningError". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.onPremisesProvisioningError")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] onPremisesProvisioningErrors { get; set; } - - /// - /// The "onPremisesSecurityIdentifier" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesSecurityIdentifier { get; set; } - - /// - /// The "onPremisesSyncEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Boolean onPremisesSyncEnabled { get; set; } - - /// - /// The "onPremisesDomainName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesDomainName { get; set; } - - /// - /// The "onPremisesSamAccountName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesSamAccountName { get; set; } - - /// - /// The "onPremisesUserPrincipalName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesUserPrincipalName { get; set; } - - /// - /// The "passwordPolicies" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String passwordPolicies { get; set; } - - /// - /// The "passwordProfile" property, of type "microsoft.graph.passwordProfile". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.passwordProfile")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object passwordProfile { get; set; } - - /// - /// The "officeLocation" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String officeLocation { get; set; } - - /// - /// The "postalCode" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String postalCode { get; set; } - - /// - /// The "preferredLanguage" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String preferredLanguage { get; set; } - - /// - /// The "provisionedPlans" property, of type "microsoft.graph.provisionedPlan". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.provisionedPlan")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] provisionedPlans { get; set; } - - /// - /// The "proxyAddresses" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] proxyAddresses { get; set; } - - /// - /// The "state" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String state { get; set; } - - /// - /// The "streetAddress" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String streetAddress { get; set; } - - /// - /// The "surname" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String surname { get; set; } - - /// - /// The "usageLocation" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String usageLocation { get; set; } - - /// - /// The "userPrincipalName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String userPrincipalName { get; set; } - - /// - /// The "userType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String userType { get; set; } - - /// - /// The "mailboxSettings" property, of type "microsoft.graph.mailboxSettings". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.mailboxSettings")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object mailboxSettings { get; set; } - - /// - /// The "aboutMe" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String aboutMe { get; set; } - - /// - /// The "birthday" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset birthday { get; set; } - - /// - /// The "hireDate" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset hireDate { get; set; } - - /// - /// The "interests" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] interests { get; set; } - - /// - /// The "mySite" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mySite { get; set; } - - /// - /// The "pastProjects" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] pastProjects { get; set; } - - /// - /// The "preferredName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String preferredName { get; set; } - - /// - /// The "responsibilities" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] responsibilities { get; set; } - - /// - /// The "schools" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] schools { get; set; } - - /// - /// The "skills" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] skills { get; set; } - - /// - /// The "deviceEnrollmentLimit" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.user" type. - /// The limit on the maximum number of devices that the user is permitted to enroll. Allowed values are 5 or 1000. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Int32 deviceEnrollmentLimit { get; set; } - - /// - /// The "ownedDevices" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] ownedDevices { get; set; } - - /// - /// The "registeredDevices" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] registeredDevices { get; set; } - - /// - /// The "manager" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object manager { get; set; } - - /// - /// The "directReports" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] directReports { get; set; } - - /// - /// The "memberOf" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] memberOf { get; set; } - - /// - /// The "createdObjects" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] createdObjects { get; set; } - - /// - /// The "ownedObjects" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] ownedObjects { get; set; } - - /// - /// The "licenseDetails" property, of type "microsoft.graph.licenseDetails". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.licenseDetails")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] licenseDetails { get; set; } - - /// - /// The "inferenceClassification" property, of type "microsoft.graph.inferenceClassification". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.inferenceClassification")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object inferenceClassification { get; set; } - - /// - /// The "photo" property, of type "microsoft.graph.profilePhoto". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.profilePhoto")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object photo { get; set; } - - /// - /// The "photos" property, of type "microsoft.graph.profilePhoto". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.profilePhoto")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] photos { get; set; } - - /// - /// The "managedDevices" property, of type "microsoft.graph.managedDevice". - /// This property is on the "microsoft.graph.user" type. - /// The managed devices associated with the user. - /// - [ODataType("microsoft.graph.managedDevice")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] managedDevices { get; set; } - - /// - /// The "managedAppRegistrations" property, of type "microsoft.graph.managedAppRegistration". - /// This property is on the "microsoft.graph.user" type. - /// Zero or more managed app registrations that belong to the user. - /// - [ODataType("microsoft.graph.managedAppRegistration", "microsoft.graph.androidManagedAppRegistration", "microsoft.graph.iosManagedAppRegistration")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] managedAppRegistrations { get; set; } - - /// - /// The "deviceManagementTroubleshootingEvents" property, of type "microsoft.graph.deviceManagementTroubleshootingEvent". - /// This property is on the "microsoft.graph.user" type. - /// The list of troubleshooting events for this user. - /// - [ODataType("microsoft.graph.deviceManagementTroubleshootingEvent", "microsoft.graph.enrollmentTroubleshootingEvent")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] deviceManagementTroubleshootingEvents { get; set; } - - /// - /// The "countryLetterCode" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String countryLetterCode { get; set; } - - /// - /// The "marketingNotificationEmails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] marketingNotificationEmails { get; set; } - - /// - /// The "privacyProfile" property, of type "microsoft.graph.privacyProfile". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("microsoft.graph.privacyProfile")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.Object privacyProfile { get; set; } - - /// - /// The "securityComplianceNotificationMails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] securityComplianceNotificationMails { get; set; } - - /// - /// The "securityComplianceNotificationPhones" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] securityComplianceNotificationPhones { get; set; } - - /// - /// The "street" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String street { get; set; } - - /// - /// The "technicalNotificationMails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] technicalNotificationMails { get; set; } - - /// - /// The "mobileDeviceManagementAuthority" property, of type "microsoft.graph.mdmAuthority". - /// This property is on the "microsoft.graph.organization" type. - /// Mobile device management authority. - /// - [ODataType("microsoft.graph.mdmAuthority")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String mobileDeviceManagementAuthority { get; set; } - - /// - /// The "contractType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.String contractType { get; set; } - - /// - /// The "customerId" property, of type "Edm.Guid". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.Guid")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.Guid customerId { get; set; } - - /// - /// The "defaultDomainName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.String defaultDomainName { get; set; } - - /// - /// The "classification" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.String classification { get; set; } - - /// - /// The "createdDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.DateTimeOffset createdDateTime { get; set; } - - /// - /// The "groupTypes" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.group")] - public System.String[] groupTypes { get; set; } - - /// - /// The "mailEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean mailEnabled { get; set; } - - /// - /// The "renewedDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.DateTimeOffset renewedDateTime { get; set; } - - /// - /// The "securityEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean securityEnabled { get; set; } - - /// - /// The "visibility" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.String visibility { get; set; } - - /// - /// The "allowExternalSenders" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean allowExternalSenders { get; set; } - - /// - /// The "autoSubscribeNewMembers" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean autoSubscribeNewMembers { get; set; } - - /// - /// The "isSubscribedByMail" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean isSubscribedByMail { get; set; } - - /// - /// The "unseenCount" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Int32 unseenCount { get; set; } - - /// - /// The "members" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] members { get; set; } - - /// - /// The "createdOnBehalfOf" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Object createdOnBehalfOf { get; set; } - - /// - /// The "owners" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] owners { get; set; } - - /// - /// The "settings" property, of type "microsoft.graph.groupSetting". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.groupSetting")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] settings { get; set; } - - /// - /// The "groupLifecyclePolicies" property, of type "microsoft.graph.groupLifecyclePolicy". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.groupLifecyclePolicy")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] groupLifecyclePolicies { get; set; } - - /// - /// The "roleTemplateId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.directoryRole" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.directoryRole")] - public System.String roleTemplateId { get; set; } - - /// - /// The "alternativeSecurityIds" property, of type "microsoft.graph.alternativeSecurityId". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.alternativeSecurityId")] - [Selectable] - [DerivedType("microsoft.graph.device")] - public System.Object[] alternativeSecurityIds { get; set; } - - /// - /// The "approximateLastSignInDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.DateTimeOffset approximateLastSignInDateTime { get; set; } - - /// - /// The "deviceId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String deviceId { get; set; } - - /// - /// The "deviceMetadata" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String deviceMetadata { get; set; } - - /// - /// The "deviceVersion" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Int32 deviceVersion { get; set; } - - /// - /// The "isCompliant" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Boolean isCompliant { get; set; } - - /// - /// The "isManaged" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Boolean isManaged { get; set; } - - /// - /// The "operatingSystem" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String operatingSystem { get; set; } - - /// - /// The "operatingSystemVersion" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String operatingSystemVersion { get; set; } - - /// - /// The "physicalIds" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.device")] - public System.String[] physicalIds { get; set; } - - /// - /// The "trustType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String trustType { get; set; } - - /// - /// The "registeredOwners" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] registeredOwners { get; set; } - - /// - /// The "registeredUsers" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] registeredUsers { get; set; } - - /// - /// The "extensions" property, of type "microsoft.graph.extension". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.extension", "microsoft.graph.openTypeExtension")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] extensions { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/owners/{directoryObjectId ?? string.Empty}/$ref"; - } - } - - /// - /// Creates a reference from a "directoryObject" to a "microsoft.graph.directoryObject" object. - /// POST ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/owners/$ref - /// Creates a reference from the specified "directoryObject" object to a "owner". - /// - /// GitHub Repository - [Cmdlet("New", "DirectoryObjects_OwnersReferences", ConfirmImpact = ConfirmImpact.Low)] - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [ResourceTypePropertyName("ownerODataType")] - public class New_DirectoryObjects_OwnersReferences : PostReferenceToCollectionCmdlet - { - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - /// - /// The URL which should be used to access a "microsoft.graph.directoryObject" object. - /// - [Selectable] - [Expandable] - [Alias("deviceReferenceUrl", "directoryRoleReferenceUrl", "directoryRoleTemplateReferenceUrl", "groupReferenceUrl", "contractReferenceUrl", "organizationReferenceUrl", "userReferenceUrl", "groupSettingTemplateReferenceUrl", "administrativeUnitReferenceUrl")] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The URL which should be used to access a "microsoft.graph.directoryObject" object.")] - public System.String directoryObjectReferenceUrl { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/owners/{directoryObjectId}/$ref"; - } - - internal override System.Object GetContent() - { - return this.GetReferenceRequestContent(directoryObjectReferenceUrl); - } - } - - /// - /// Removes a reference from a "directoryObject" to a "microsoft.graph.directoryObject" object. - /// DELETE ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/owners/directoryObjectId/$ref - /// Removes a reference from the specified "directoryObject" object to a "owner". - /// - /// GitHub Repository - [Cmdlet("Remove", "DirectoryObjects_OwnersReferences", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [ResourceTypePropertyName("ownerODataType")] - public class Remove_DirectoryObjects_OwnersReferences : DeleteCmdlet - { - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/owners/{directoryObjectId}/$ref"; - } - } -} \ No newline at end of file diff --git a/PowerShellCmdlets/Generated/SDK/DirectoryObjects/Photo.cs b/PowerShellCmdlets/Generated/SDK/DirectoryObjects/Photo.cs deleted file mode 100644 index e77db03..0000000 --- a/PowerShellCmdlets/Generated/SDK/DirectoryObjects/Photo.cs +++ /dev/null @@ -1,314 +0,0 @@ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. - -namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets -{ - using System.Management.Automation; - - /// - /// Retrieves the "photo" object. - /// GET ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/photo - /// Retrieves the "photo" object (which is of type "microsoft.graph.profilePhoto"). - /// - /// GitHub Repository - [Cmdlet("Get", "DirectoryObjects_Photo", DefaultParameterSetName = @"Get")] - [ODataType("microsoft.graph.profilePhoto")] - [ResourceTypePropertyName("photoODataType")] - [ResourceReference] - public class Get_DirectoryObjects_Photo : GetCmdlet - { - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - /// - /// The "height" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.profilePhoto" type. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - public System.Int32 height { get; set; } - - /// - /// The "width" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.profilePhoto" type. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - public System.Int32 width { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/photo"; - } - } - - /// - /// Updates a "microsoft.graph.profilePhoto". - /// PATCH ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/photo - /// Updates the "photo" object (which is of type "microsoft.graph.profilePhoto"). - /// - /// GitHub Repository - [Cmdlet("Update", "DirectoryObjects_Photo", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.profilePhoto")] - [ODataType("microsoft.graph.profilePhoto")] - [ResourceTypePropertyName("photoODataType")] - public class Update_DirectoryObjects_Photo : PatchCmdlet - { - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - /// - /// The "height" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.profilePhoto" type. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.profilePhoto", HelpMessage = @"The "height" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "height" property, of type "Edm.Int32".")] - public System.Int32 height { get; set; } - - /// - /// The "width" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.profilePhoto" type. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.profilePhoto", HelpMessage = @"The "width" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "width" property, of type "Edm.Int32".")] - public System.Int32 width { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/photo"; - } - } - - /// - /// Retrieves a "photo" object's data stream. - /// GET ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/photo/$value - /// Retrieves the data stream from the "photo" object. - /// - /// GitHub Repository - [Cmdlet("Get", "DirectoryObjects_PhotoData")] - [ODataType("microsoft.graph.profilePhoto")] - [ResourceTypePropertyName("photoODataType")] - public class Get_DirectoryObjects_PhotoData : GetStreamCmdlet - { - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - /// - /// The "height" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.profilePhoto" type. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - public System.Int32 height { get; set; } - - /// - /// The "width" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.profilePhoto" type. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - public System.Int32 width { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/photo/$value"; - } - } - - /// - /// Sets the data for the "photo" property. - /// PUT ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/photo/$value - /// Sets the data for the "photo" property. - /// - /// GitHub Repository - [Cmdlet("New", "DirectoryObjects_PhotoData", ConfirmImpact = ConfirmImpact.Low)] - [ODataType("microsoft.graph.profilePhoto")] - [ResourceTypePropertyName("photoODataType")] - public class New_DirectoryObjects_PhotoData : UpdateStreamCmdlet - { - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - internal override System.String GetHttpMethod() - { - return "POST"; - } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/photo/$value"; - } - } - - /// - /// Sets the data for the "photo" property. - /// PUT ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/photo/$value - /// Sets the data for the "photo" property. - /// - /// GitHub Repository - [Cmdlet("Set", "DirectoryObjects_PhotoData", ConfirmImpact = ConfirmImpact.Low)] - [ODataType("microsoft.graph.profilePhoto")] - [ResourceTypePropertyName("photoODataType")] - public class Set_DirectoryObjects_PhotoData : UpdateStreamCmdlet - { - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/photo/$value"; - } - } - - /// - /// Removes the data stream from a "photo" object. - /// DELETE ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/photo/$value - /// Removes a reference from a "photo" resource (which is of type "microsoft.graph.profilePhoto"). - /// - /// GitHub Repository - [Cmdlet("Remove", "DirectoryObjects_PhotoData", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.profilePhoto")] - [ResourceTypePropertyName("photoODataType")] - public class Remove_DirectoryObjects_PhotoData : DeleteCmdlet - { - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/photo/$value"; - } - } -} \ No newline at end of file diff --git a/PowerShellCmdlets/Generated/SDK/DirectoryObjects/Photos.cs b/PowerShellCmdlets/Generated/SDK/DirectoryObjects/Photos.cs deleted file mode 100644 index 4192242..0000000 --- a/PowerShellCmdlets/Generated/SDK/DirectoryObjects/Photos.cs +++ /dev/null @@ -1,308 +0,0 @@ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. - -namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets -{ - using System.Management.Automation; - - /// - /// Retrieves "microsoft.graph.profilePhoto" objects. - /// GET ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/photos - /// Retrieves "microsoft.graph.profilePhoto" objects in the "photos" collection. - /// - /// GitHub Repository - [Cmdlet("Get", "DirectoryObjects_Photos", DefaultParameterSetName = @"Search")] - [ODataType("microsoft.graph.profilePhoto")] - [ResourceTypePropertyName("photoODataType")] - [ResourceReference] - public class Get_DirectoryObjects_Photos : GetOrSearchCmdlet - { - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - /// - /// The ID for a "microsoft.graph.profilePhoto" object in the "photos" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(ParameterSetName = @"Get", Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.profilePhoto" object in the "photos" collection.")] - public System.String profilePhotoId { get; set; } - - /// - /// The "height" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.profilePhoto" type. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - public System.Int32 height { get; set; } - - /// - /// The "width" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.profilePhoto" type. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - public System.Int32 width { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/photos/{profilePhotoId ?? string.Empty}"; - } - } - - /// - /// Retrieves a "photos" object's data stream. - /// GET ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/photos/$value - /// Retrieves the data streams from the "photos" collection. - /// - /// GitHub Repository - [Cmdlet("Get", "DirectoryObjects_PhotosData")] - [ODataType("microsoft.graph.profilePhoto")] - [ResourceTypePropertyName("photoODataType")] - public class Get_DirectoryObjects_PhotosData : GetStreamCmdlet - { - /// - /// The ID for a "microsoft.graph.profilePhoto" object in the "photos" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.profilePhoto" object in the "photos" collection.")] - public System.String profilePhotoId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - /// - /// The "height" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.profilePhoto" type. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - public System.Int32 height { get; set; } - - /// - /// The "width" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.profilePhoto" type. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - public System.Int32 width { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/photos/{profilePhotoId}/$value"; - } - } - - /// - /// Sets the data for the "photo" property. - /// PUT ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/photos/$value - /// Sets the data for the "photo" property. - /// - /// GitHub Repository - [Cmdlet("New", "DirectoryObjects_PhotosData", ConfirmImpact = ConfirmImpact.Low)] - [ODataType("microsoft.graph.profilePhoto")] - [ResourceTypePropertyName("photoODataType")] - public class New_DirectoryObjects_PhotosData : UpdateStreamCmdlet - { - /// - /// The ID for a "microsoft.graph.profilePhoto" object in the "photos" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.profilePhoto" object in the "photos" collection.")] - public System.String profilePhotoId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - internal override System.String GetHttpMethod() - { - return "POST"; - } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/photos/{profilePhotoId}/$value"; - } - } - - /// - /// Sets the data for the "photo" property. - /// PUT ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/photos/$value - /// Sets the data for the "photo" property. - /// - /// GitHub Repository - [Cmdlet("Set", "DirectoryObjects_PhotosData", ConfirmImpact = ConfirmImpact.Low)] - [ODataType("microsoft.graph.profilePhoto")] - [ResourceTypePropertyName("photoODataType")] - public class Set_DirectoryObjects_PhotosData : UpdateStreamCmdlet - { - /// - /// The ID for a "microsoft.graph.profilePhoto" object in the "photos" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.profilePhoto" object in the "photos" collection.")] - public System.String profilePhotoId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/photos/{profilePhotoId}/$value"; - } - } - - /// - /// Removes the data stream from a "photo" object. - /// DELETE ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/photos/profilePhotoId/$value - /// Removes a reference from a "photo" resource (which is of type "microsoft.graph.profilePhoto"). - /// - /// GitHub Repository - [Cmdlet("Remove", "DirectoryObjects_PhotosData", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.profilePhoto")] - [ResourceTypePropertyName("photoODataType")] - public class Remove_DirectoryObjects_PhotosData : DeleteCmdlet - { - /// - /// The ID for a "microsoft.graph.profilePhoto" object in the "photos" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.profilePhoto" object in the "photos" collection.")] - public System.String profilePhotoId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/photos/{profilePhotoId}/$value"; - } - } -} \ No newline at end of file diff --git a/PowerShellCmdlets/Generated/SDK/DirectoryObjects/RegisteredDevices.cs b/PowerShellCmdlets/Generated/SDK/DirectoryObjects/RegisteredDevices.cs deleted file mode 100644 index 893b059..0000000 --- a/PowerShellCmdlets/Generated/SDK/DirectoryObjects/RegisteredDevices.cs +++ /dev/null @@ -1,2381 +0,0 @@ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. - -namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets -{ - using System.Management.Automation; - - /// - /// Retrieves "microsoft.graph.directoryObject" objects. - /// GET ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/registeredDevices - /// Retrieves "microsoft.graph.directoryObject" objects in the "registeredDevices" collection. - /// - /// GitHub Repository - [Cmdlet("Get", "DirectoryObjects_RegisteredDevices", DefaultParameterSetName = @"Search")] - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [ResourceTypePropertyName("registeredDeviceODataType")] - public class Get_DirectoryObjects_RegisteredDevices : GetOrSearchCmdlet - { - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - [Parameter(ParameterSetName = @"Get", Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - /// - /// The "deletedDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.directoryObject" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - public System.DateTimeOffset deletedDateTime { get; set; } - - /// - /// The "displayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.String displayName { get; set; } - - /// - /// The "description" property, of type "Edm.String". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.String description { get; set; } - - /// - /// The "values" property, of type "microsoft.graph.settingTemplateValue". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("microsoft.graph.settingTemplateValue")] - [Selectable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.Object[] values { get; set; } - - /// - /// The "accountEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Boolean accountEnabled { get; set; } - - /// - /// The "ageGroup" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String ageGroup { get; set; } - - /// - /// The "assignedLicenses" property, of type "microsoft.graph.assignedLicense". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.assignedLicense")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] assignedLicenses { get; set; } - - /// - /// The "assignedPlans" property, of type "microsoft.graph.assignedPlan". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.assignedPlan")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] assignedPlans { get; set; } - - /// - /// The "businessPhones" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] businessPhones { get; set; } - - /// - /// The "city" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String city { get; set; } - - /// - /// The "companyName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String companyName { get; set; } - - /// - /// The "consentProvidedForMinor" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String consentProvidedForMinor { get; set; } - - /// - /// The "country" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String country { get; set; } - - /// - /// The "department" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String department { get; set; } - - /// - /// The "givenName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String givenName { get; set; } - - /// - /// The "imAddresses" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] imAddresses { get; set; } - - /// - /// The "jobTitle" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String jobTitle { get; set; } - - /// - /// The "legalAgeGroupClassification" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String legalAgeGroupClassification { get; set; } - - /// - /// The "mail" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mail { get; set; } - - /// - /// The "mailNickname" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mailNickname { get; set; } - - /// - /// The "mobilePhone" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mobilePhone { get; set; } - - /// - /// The "onPremisesExtensionAttributes" property, of type "microsoft.graph.onPremisesExtensionAttributes". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.onPremisesExtensionAttributes")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object onPremisesExtensionAttributes { get; set; } - - /// - /// The "onPremisesImmutableId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesImmutableId { get; set; } - - /// - /// The "onPremisesLastSyncDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset onPremisesLastSyncDateTime { get; set; } - - /// - /// The "onPremisesProvisioningErrors" property, of type "microsoft.graph.onPremisesProvisioningError". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.onPremisesProvisioningError")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] onPremisesProvisioningErrors { get; set; } - - /// - /// The "onPremisesSecurityIdentifier" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesSecurityIdentifier { get; set; } - - /// - /// The "onPremisesSyncEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Boolean onPremisesSyncEnabled { get; set; } - - /// - /// The "onPremisesDomainName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesDomainName { get; set; } - - /// - /// The "onPremisesSamAccountName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesSamAccountName { get; set; } - - /// - /// The "onPremisesUserPrincipalName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesUserPrincipalName { get; set; } - - /// - /// The "passwordPolicies" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String passwordPolicies { get; set; } - - /// - /// The "passwordProfile" property, of type "microsoft.graph.passwordProfile". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.passwordProfile")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object passwordProfile { get; set; } - - /// - /// The "officeLocation" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String officeLocation { get; set; } - - /// - /// The "postalCode" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String postalCode { get; set; } - - /// - /// The "preferredLanguage" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String preferredLanguage { get; set; } - - /// - /// The "provisionedPlans" property, of type "microsoft.graph.provisionedPlan". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.provisionedPlan")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] provisionedPlans { get; set; } - - /// - /// The "proxyAddresses" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] proxyAddresses { get; set; } - - /// - /// The "state" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String state { get; set; } - - /// - /// The "streetAddress" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String streetAddress { get; set; } - - /// - /// The "surname" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String surname { get; set; } - - /// - /// The "usageLocation" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String usageLocation { get; set; } - - /// - /// The "userPrincipalName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String userPrincipalName { get; set; } - - /// - /// The "userType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String userType { get; set; } - - /// - /// The "mailboxSettings" property, of type "microsoft.graph.mailboxSettings". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.mailboxSettings")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object mailboxSettings { get; set; } - - /// - /// The "aboutMe" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String aboutMe { get; set; } - - /// - /// The "birthday" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset birthday { get; set; } - - /// - /// The "hireDate" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset hireDate { get; set; } - - /// - /// The "interests" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] interests { get; set; } - - /// - /// The "mySite" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mySite { get; set; } - - /// - /// The "pastProjects" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] pastProjects { get; set; } - - /// - /// The "preferredName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String preferredName { get; set; } - - /// - /// The "responsibilities" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] responsibilities { get; set; } - - /// - /// The "schools" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] schools { get; set; } - - /// - /// The "skills" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] skills { get; set; } - - /// - /// The "deviceEnrollmentLimit" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.user" type. - /// The limit on the maximum number of devices that the user is permitted to enroll. Allowed values are 5 or 1000. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Int32 deviceEnrollmentLimit { get; set; } - - /// - /// The "ownedDevices" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] ownedDevices { get; set; } - - /// - /// The "registeredDevices" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] registeredDevices { get; set; } - - /// - /// The "manager" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object manager { get; set; } - - /// - /// The "directReports" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] directReports { get; set; } - - /// - /// The "memberOf" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] memberOf { get; set; } - - /// - /// The "createdObjects" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] createdObjects { get; set; } - - /// - /// The "ownedObjects" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] ownedObjects { get; set; } - - /// - /// The "licenseDetails" property, of type "microsoft.graph.licenseDetails". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.licenseDetails")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] licenseDetails { get; set; } - - /// - /// The "inferenceClassification" property, of type "microsoft.graph.inferenceClassification". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.inferenceClassification")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object inferenceClassification { get; set; } - - /// - /// The "photo" property, of type "microsoft.graph.profilePhoto". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.profilePhoto")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object photo { get; set; } - - /// - /// The "photos" property, of type "microsoft.graph.profilePhoto". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.profilePhoto")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] photos { get; set; } - - /// - /// The "managedDevices" property, of type "microsoft.graph.managedDevice". - /// This property is on the "microsoft.graph.user" type. - /// The managed devices associated with the user. - /// - [ODataType("microsoft.graph.managedDevice")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] managedDevices { get; set; } - - /// - /// The "managedAppRegistrations" property, of type "microsoft.graph.managedAppRegistration". - /// This property is on the "microsoft.graph.user" type. - /// Zero or more managed app registrations that belong to the user. - /// - [ODataType("microsoft.graph.managedAppRegistration", "microsoft.graph.androidManagedAppRegistration", "microsoft.graph.iosManagedAppRegistration")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] managedAppRegistrations { get; set; } - - /// - /// The "deviceManagementTroubleshootingEvents" property, of type "microsoft.graph.deviceManagementTroubleshootingEvent". - /// This property is on the "microsoft.graph.user" type. - /// The list of troubleshooting events for this user. - /// - [ODataType("microsoft.graph.deviceManagementTroubleshootingEvent", "microsoft.graph.enrollmentTroubleshootingEvent")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] deviceManagementTroubleshootingEvents { get; set; } - - /// - /// The "countryLetterCode" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String countryLetterCode { get; set; } - - /// - /// The "marketingNotificationEmails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] marketingNotificationEmails { get; set; } - - /// - /// The "privacyProfile" property, of type "microsoft.graph.privacyProfile". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("microsoft.graph.privacyProfile")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.Object privacyProfile { get; set; } - - /// - /// The "securityComplianceNotificationMails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] securityComplianceNotificationMails { get; set; } - - /// - /// The "securityComplianceNotificationPhones" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] securityComplianceNotificationPhones { get; set; } - - /// - /// The "street" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String street { get; set; } - - /// - /// The "technicalNotificationMails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] technicalNotificationMails { get; set; } - - /// - /// The "mobileDeviceManagementAuthority" property, of type "microsoft.graph.mdmAuthority". - /// This property is on the "microsoft.graph.organization" type. - /// Mobile device management authority. - /// - [ODataType("microsoft.graph.mdmAuthority")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String mobileDeviceManagementAuthority { get; set; } - - /// - /// The "contractType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.String contractType { get; set; } - - /// - /// The "customerId" property, of type "Edm.Guid". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.Guid")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.Guid customerId { get; set; } - - /// - /// The "defaultDomainName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.String defaultDomainName { get; set; } - - /// - /// The "classification" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.String classification { get; set; } - - /// - /// The "createdDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.DateTimeOffset createdDateTime { get; set; } - - /// - /// The "groupTypes" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.group")] - public System.String[] groupTypes { get; set; } - - /// - /// The "mailEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean mailEnabled { get; set; } - - /// - /// The "renewedDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.DateTimeOffset renewedDateTime { get; set; } - - /// - /// The "securityEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean securityEnabled { get; set; } - - /// - /// The "visibility" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.String visibility { get; set; } - - /// - /// The "allowExternalSenders" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean allowExternalSenders { get; set; } - - /// - /// The "autoSubscribeNewMembers" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean autoSubscribeNewMembers { get; set; } - - /// - /// The "isSubscribedByMail" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean isSubscribedByMail { get; set; } - - /// - /// The "unseenCount" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Int32 unseenCount { get; set; } - - /// - /// The "members" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] members { get; set; } - - /// - /// The "createdOnBehalfOf" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Object createdOnBehalfOf { get; set; } - - /// - /// The "owners" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] owners { get; set; } - - /// - /// The "settings" property, of type "microsoft.graph.groupSetting". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.groupSetting")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] settings { get; set; } - - /// - /// The "groupLifecyclePolicies" property, of type "microsoft.graph.groupLifecyclePolicy". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.groupLifecyclePolicy")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] groupLifecyclePolicies { get; set; } - - /// - /// The "roleTemplateId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.directoryRole" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.directoryRole")] - public System.String roleTemplateId { get; set; } - - /// - /// The "alternativeSecurityIds" property, of type "microsoft.graph.alternativeSecurityId". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.alternativeSecurityId")] - [Selectable] - [DerivedType("microsoft.graph.device")] - public System.Object[] alternativeSecurityIds { get; set; } - - /// - /// The "approximateLastSignInDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.DateTimeOffset approximateLastSignInDateTime { get; set; } - - /// - /// The "deviceId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String deviceId { get; set; } - - /// - /// The "deviceMetadata" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String deviceMetadata { get; set; } - - /// - /// The "deviceVersion" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Int32 deviceVersion { get; set; } - - /// - /// The "isCompliant" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Boolean isCompliant { get; set; } - - /// - /// The "isManaged" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Boolean isManaged { get; set; } - - /// - /// The "operatingSystem" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String operatingSystem { get; set; } - - /// - /// The "operatingSystemVersion" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String operatingSystemVersion { get; set; } - - /// - /// The "physicalIds" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.device")] - public System.String[] physicalIds { get; set; } - - /// - /// The "trustType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String trustType { get; set; } - - /// - /// The "registeredOwners" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] registeredOwners { get; set; } - - /// - /// The "registeredUsers" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] registeredUsers { get; set; } - - /// - /// The "extensions" property, of type "microsoft.graph.extension". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.extension", "microsoft.graph.openTypeExtension")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] extensions { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/registeredDevices/{directoryObjectId ?? string.Empty}"; - } - } - - /// - /// Retrieves "microsoft.graph.directoryObject" object references. - /// GET ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/registeredDevices/$ref - /// Retrieves "microsoft.graph.directoryObject" object references in the "registeredDevices" collection. - /// - /// GitHub Repository - [Cmdlet("Get", "DirectoryObjects_RegisteredDevicesReferences", DefaultParameterSetName = @"Search")] - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [ResourceTypePropertyName("registeredDeviceODataType")] - public class Get_DirectoryObjects_RegisteredDevicesReferences : GetOrSearchCmdlet - { - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - [Parameter(ParameterSetName = @"Get", Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - /// - /// The "deletedDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.directoryObject" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - public System.DateTimeOffset deletedDateTime { get; set; } - - /// - /// The "displayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.String displayName { get; set; } - - /// - /// The "description" property, of type "Edm.String". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.String description { get; set; } - - /// - /// The "values" property, of type "microsoft.graph.settingTemplateValue". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("microsoft.graph.settingTemplateValue")] - [Selectable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.Object[] values { get; set; } - - /// - /// The "accountEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Boolean accountEnabled { get; set; } - - /// - /// The "ageGroup" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String ageGroup { get; set; } - - /// - /// The "assignedLicenses" property, of type "microsoft.graph.assignedLicense". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.assignedLicense")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] assignedLicenses { get; set; } - - /// - /// The "assignedPlans" property, of type "microsoft.graph.assignedPlan". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.assignedPlan")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] assignedPlans { get; set; } - - /// - /// The "businessPhones" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] businessPhones { get; set; } - - /// - /// The "city" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String city { get; set; } - - /// - /// The "companyName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String companyName { get; set; } - - /// - /// The "consentProvidedForMinor" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String consentProvidedForMinor { get; set; } - - /// - /// The "country" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String country { get; set; } - - /// - /// The "department" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String department { get; set; } - - /// - /// The "givenName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String givenName { get; set; } - - /// - /// The "imAddresses" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] imAddresses { get; set; } - - /// - /// The "jobTitle" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String jobTitle { get; set; } - - /// - /// The "legalAgeGroupClassification" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String legalAgeGroupClassification { get; set; } - - /// - /// The "mail" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mail { get; set; } - - /// - /// The "mailNickname" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mailNickname { get; set; } - - /// - /// The "mobilePhone" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mobilePhone { get; set; } - - /// - /// The "onPremisesExtensionAttributes" property, of type "microsoft.graph.onPremisesExtensionAttributes". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.onPremisesExtensionAttributes")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object onPremisesExtensionAttributes { get; set; } - - /// - /// The "onPremisesImmutableId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesImmutableId { get; set; } - - /// - /// The "onPremisesLastSyncDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset onPremisesLastSyncDateTime { get; set; } - - /// - /// The "onPremisesProvisioningErrors" property, of type "microsoft.graph.onPremisesProvisioningError". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.onPremisesProvisioningError")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] onPremisesProvisioningErrors { get; set; } - - /// - /// The "onPremisesSecurityIdentifier" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesSecurityIdentifier { get; set; } - - /// - /// The "onPremisesSyncEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Boolean onPremisesSyncEnabled { get; set; } - - /// - /// The "onPremisesDomainName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesDomainName { get; set; } - - /// - /// The "onPremisesSamAccountName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesSamAccountName { get; set; } - - /// - /// The "onPremisesUserPrincipalName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesUserPrincipalName { get; set; } - - /// - /// The "passwordPolicies" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String passwordPolicies { get; set; } - - /// - /// The "passwordProfile" property, of type "microsoft.graph.passwordProfile". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.passwordProfile")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object passwordProfile { get; set; } - - /// - /// The "officeLocation" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String officeLocation { get; set; } - - /// - /// The "postalCode" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String postalCode { get; set; } - - /// - /// The "preferredLanguage" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String preferredLanguage { get; set; } - - /// - /// The "provisionedPlans" property, of type "microsoft.graph.provisionedPlan". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.provisionedPlan")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] provisionedPlans { get; set; } - - /// - /// The "proxyAddresses" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] proxyAddresses { get; set; } - - /// - /// The "state" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String state { get; set; } - - /// - /// The "streetAddress" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String streetAddress { get; set; } - - /// - /// The "surname" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String surname { get; set; } - - /// - /// The "usageLocation" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String usageLocation { get; set; } - - /// - /// The "userPrincipalName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String userPrincipalName { get; set; } - - /// - /// The "userType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String userType { get; set; } - - /// - /// The "mailboxSettings" property, of type "microsoft.graph.mailboxSettings". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.mailboxSettings")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object mailboxSettings { get; set; } - - /// - /// The "aboutMe" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String aboutMe { get; set; } - - /// - /// The "birthday" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset birthday { get; set; } - - /// - /// The "hireDate" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset hireDate { get; set; } - - /// - /// The "interests" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] interests { get; set; } - - /// - /// The "mySite" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mySite { get; set; } - - /// - /// The "pastProjects" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] pastProjects { get; set; } - - /// - /// The "preferredName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String preferredName { get; set; } - - /// - /// The "responsibilities" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] responsibilities { get; set; } - - /// - /// The "schools" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] schools { get; set; } - - /// - /// The "skills" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] skills { get; set; } - - /// - /// The "deviceEnrollmentLimit" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.user" type. - /// The limit on the maximum number of devices that the user is permitted to enroll. Allowed values are 5 or 1000. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Int32 deviceEnrollmentLimit { get; set; } - - /// - /// The "ownedDevices" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] ownedDevices { get; set; } - - /// - /// The "registeredDevices" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] registeredDevices { get; set; } - - /// - /// The "manager" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object manager { get; set; } - - /// - /// The "directReports" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] directReports { get; set; } - - /// - /// The "memberOf" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] memberOf { get; set; } - - /// - /// The "createdObjects" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] createdObjects { get; set; } - - /// - /// The "ownedObjects" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] ownedObjects { get; set; } - - /// - /// The "licenseDetails" property, of type "microsoft.graph.licenseDetails". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.licenseDetails")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] licenseDetails { get; set; } - - /// - /// The "inferenceClassification" property, of type "microsoft.graph.inferenceClassification". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.inferenceClassification")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object inferenceClassification { get; set; } - - /// - /// The "photo" property, of type "microsoft.graph.profilePhoto". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.profilePhoto")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object photo { get; set; } - - /// - /// The "photos" property, of type "microsoft.graph.profilePhoto". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.profilePhoto")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] photos { get; set; } - - /// - /// The "managedDevices" property, of type "microsoft.graph.managedDevice". - /// This property is on the "microsoft.graph.user" type. - /// The managed devices associated with the user. - /// - [ODataType("microsoft.graph.managedDevice")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] managedDevices { get; set; } - - /// - /// The "managedAppRegistrations" property, of type "microsoft.graph.managedAppRegistration". - /// This property is on the "microsoft.graph.user" type. - /// Zero or more managed app registrations that belong to the user. - /// - [ODataType("microsoft.graph.managedAppRegistration", "microsoft.graph.androidManagedAppRegistration", "microsoft.graph.iosManagedAppRegistration")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] managedAppRegistrations { get; set; } - - /// - /// The "deviceManagementTroubleshootingEvents" property, of type "microsoft.graph.deviceManagementTroubleshootingEvent". - /// This property is on the "microsoft.graph.user" type. - /// The list of troubleshooting events for this user. - /// - [ODataType("microsoft.graph.deviceManagementTroubleshootingEvent", "microsoft.graph.enrollmentTroubleshootingEvent")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] deviceManagementTroubleshootingEvents { get; set; } - - /// - /// The "countryLetterCode" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String countryLetterCode { get; set; } - - /// - /// The "marketingNotificationEmails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] marketingNotificationEmails { get; set; } - - /// - /// The "privacyProfile" property, of type "microsoft.graph.privacyProfile". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("microsoft.graph.privacyProfile")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.Object privacyProfile { get; set; } - - /// - /// The "securityComplianceNotificationMails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] securityComplianceNotificationMails { get; set; } - - /// - /// The "securityComplianceNotificationPhones" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] securityComplianceNotificationPhones { get; set; } - - /// - /// The "street" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String street { get; set; } - - /// - /// The "technicalNotificationMails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] technicalNotificationMails { get; set; } - - /// - /// The "mobileDeviceManagementAuthority" property, of type "microsoft.graph.mdmAuthority". - /// This property is on the "microsoft.graph.organization" type. - /// Mobile device management authority. - /// - [ODataType("microsoft.graph.mdmAuthority")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String mobileDeviceManagementAuthority { get; set; } - - /// - /// The "contractType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.String contractType { get; set; } - - /// - /// The "customerId" property, of type "Edm.Guid". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.Guid")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.Guid customerId { get; set; } - - /// - /// The "defaultDomainName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.String defaultDomainName { get; set; } - - /// - /// The "classification" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.String classification { get; set; } - - /// - /// The "createdDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.DateTimeOffset createdDateTime { get; set; } - - /// - /// The "groupTypes" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.group")] - public System.String[] groupTypes { get; set; } - - /// - /// The "mailEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean mailEnabled { get; set; } - - /// - /// The "renewedDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.DateTimeOffset renewedDateTime { get; set; } - - /// - /// The "securityEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean securityEnabled { get; set; } - - /// - /// The "visibility" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.String visibility { get; set; } - - /// - /// The "allowExternalSenders" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean allowExternalSenders { get; set; } - - /// - /// The "autoSubscribeNewMembers" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean autoSubscribeNewMembers { get; set; } - - /// - /// The "isSubscribedByMail" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean isSubscribedByMail { get; set; } - - /// - /// The "unseenCount" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Int32 unseenCount { get; set; } - - /// - /// The "members" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] members { get; set; } - - /// - /// The "createdOnBehalfOf" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Object createdOnBehalfOf { get; set; } - - /// - /// The "owners" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] owners { get; set; } - - /// - /// The "settings" property, of type "microsoft.graph.groupSetting". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.groupSetting")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] settings { get; set; } - - /// - /// The "groupLifecyclePolicies" property, of type "microsoft.graph.groupLifecyclePolicy". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.groupLifecyclePolicy")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] groupLifecyclePolicies { get; set; } - - /// - /// The "roleTemplateId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.directoryRole" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.directoryRole")] - public System.String roleTemplateId { get; set; } - - /// - /// The "alternativeSecurityIds" property, of type "microsoft.graph.alternativeSecurityId". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.alternativeSecurityId")] - [Selectable] - [DerivedType("microsoft.graph.device")] - public System.Object[] alternativeSecurityIds { get; set; } - - /// - /// The "approximateLastSignInDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.DateTimeOffset approximateLastSignInDateTime { get; set; } - - /// - /// The "deviceId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String deviceId { get; set; } - - /// - /// The "deviceMetadata" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String deviceMetadata { get; set; } - - /// - /// The "deviceVersion" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Int32 deviceVersion { get; set; } - - /// - /// The "isCompliant" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Boolean isCompliant { get; set; } - - /// - /// The "isManaged" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Boolean isManaged { get; set; } - - /// - /// The "operatingSystem" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String operatingSystem { get; set; } - - /// - /// The "operatingSystemVersion" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String operatingSystemVersion { get; set; } - - /// - /// The "physicalIds" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.device")] - public System.String[] physicalIds { get; set; } - - /// - /// The "trustType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String trustType { get; set; } - - /// - /// The "registeredOwners" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] registeredOwners { get; set; } - - /// - /// The "registeredUsers" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] registeredUsers { get; set; } - - /// - /// The "extensions" property, of type "microsoft.graph.extension". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.extension", "microsoft.graph.openTypeExtension")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] extensions { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/registeredDevices/{directoryObjectId ?? string.Empty}/$ref"; - } - } - - /// - /// Creates a reference from a "directoryObject" to a "microsoft.graph.directoryObject" object. - /// POST ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/registeredDevices/$ref - /// Creates a reference from the specified "directoryObject" object to a "registeredDevice". - /// - /// GitHub Repository - [Cmdlet("New", "DirectoryObjects_RegisteredDevicesReferences", ConfirmImpact = ConfirmImpact.Low)] - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [ResourceTypePropertyName("registeredDeviceODataType")] - public class New_DirectoryObjects_RegisteredDevicesReferences : PostReferenceToCollectionCmdlet - { - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - /// - /// The URL which should be used to access a "microsoft.graph.directoryObject" object. - /// - [Selectable] - [Expandable] - [Alias("deviceReferenceUrl", "directoryRoleReferenceUrl", "directoryRoleTemplateReferenceUrl", "groupReferenceUrl", "contractReferenceUrl", "organizationReferenceUrl", "userReferenceUrl", "groupSettingTemplateReferenceUrl", "administrativeUnitReferenceUrl")] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The URL which should be used to access a "microsoft.graph.directoryObject" object.")] - public System.String directoryObjectReferenceUrl { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/registeredDevices/{directoryObjectId}/$ref"; - } - - internal override System.Object GetContent() - { - return this.GetReferenceRequestContent(directoryObjectReferenceUrl); - } - } - - /// - /// Removes a reference from a "directoryObject" to a "microsoft.graph.directoryObject" object. - /// DELETE ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/registeredDevices/directoryObjectId/$ref - /// Removes a reference from the specified "directoryObject" object to a "registeredDevice". - /// - /// GitHub Repository - [Cmdlet("Remove", "DirectoryObjects_RegisteredDevicesReferences", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [ResourceTypePropertyName("registeredDeviceODataType")] - public class Remove_DirectoryObjects_RegisteredDevicesReferences : DeleteCmdlet - { - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/registeredDevices/{directoryObjectId}/$ref"; - } - } -} \ No newline at end of file diff --git a/PowerShellCmdlets/Generated/SDK/DirectoryObjects/RegisteredOwners.cs b/PowerShellCmdlets/Generated/SDK/DirectoryObjects/RegisteredOwners.cs deleted file mode 100644 index eec6442..0000000 --- a/PowerShellCmdlets/Generated/SDK/DirectoryObjects/RegisteredOwners.cs +++ /dev/null @@ -1,2381 +0,0 @@ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. - -namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets -{ - using System.Management.Automation; - - /// - /// Retrieves "microsoft.graph.directoryObject" objects. - /// GET ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/registeredOwners - /// Retrieves "microsoft.graph.directoryObject" objects in the "registeredOwners" collection. - /// - /// GitHub Repository - [Cmdlet("Get", "DirectoryObjects_RegisteredOwners", DefaultParameterSetName = @"Search")] - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [ResourceTypePropertyName("registeredOwnerODataType")] - public class Get_DirectoryObjects_RegisteredOwners : GetOrSearchCmdlet - { - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - [Parameter(ParameterSetName = @"Get", Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - /// - /// The "deletedDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.directoryObject" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - public System.DateTimeOffset deletedDateTime { get; set; } - - /// - /// The "displayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.String displayName { get; set; } - - /// - /// The "description" property, of type "Edm.String". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.String description { get; set; } - - /// - /// The "values" property, of type "microsoft.graph.settingTemplateValue". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("microsoft.graph.settingTemplateValue")] - [Selectable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.Object[] values { get; set; } - - /// - /// The "accountEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Boolean accountEnabled { get; set; } - - /// - /// The "ageGroup" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String ageGroup { get; set; } - - /// - /// The "assignedLicenses" property, of type "microsoft.graph.assignedLicense". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.assignedLicense")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] assignedLicenses { get; set; } - - /// - /// The "assignedPlans" property, of type "microsoft.graph.assignedPlan". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.assignedPlan")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] assignedPlans { get; set; } - - /// - /// The "businessPhones" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] businessPhones { get; set; } - - /// - /// The "city" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String city { get; set; } - - /// - /// The "companyName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String companyName { get; set; } - - /// - /// The "consentProvidedForMinor" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String consentProvidedForMinor { get; set; } - - /// - /// The "country" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String country { get; set; } - - /// - /// The "department" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String department { get; set; } - - /// - /// The "givenName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String givenName { get; set; } - - /// - /// The "imAddresses" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] imAddresses { get; set; } - - /// - /// The "jobTitle" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String jobTitle { get; set; } - - /// - /// The "legalAgeGroupClassification" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String legalAgeGroupClassification { get; set; } - - /// - /// The "mail" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mail { get; set; } - - /// - /// The "mailNickname" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mailNickname { get; set; } - - /// - /// The "mobilePhone" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mobilePhone { get; set; } - - /// - /// The "onPremisesExtensionAttributes" property, of type "microsoft.graph.onPremisesExtensionAttributes". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.onPremisesExtensionAttributes")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object onPremisesExtensionAttributes { get; set; } - - /// - /// The "onPremisesImmutableId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesImmutableId { get; set; } - - /// - /// The "onPremisesLastSyncDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset onPremisesLastSyncDateTime { get; set; } - - /// - /// The "onPremisesProvisioningErrors" property, of type "microsoft.graph.onPremisesProvisioningError". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.onPremisesProvisioningError")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] onPremisesProvisioningErrors { get; set; } - - /// - /// The "onPremisesSecurityIdentifier" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesSecurityIdentifier { get; set; } - - /// - /// The "onPremisesSyncEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Boolean onPremisesSyncEnabled { get; set; } - - /// - /// The "onPremisesDomainName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesDomainName { get; set; } - - /// - /// The "onPremisesSamAccountName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesSamAccountName { get; set; } - - /// - /// The "onPremisesUserPrincipalName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesUserPrincipalName { get; set; } - - /// - /// The "passwordPolicies" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String passwordPolicies { get; set; } - - /// - /// The "passwordProfile" property, of type "microsoft.graph.passwordProfile". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.passwordProfile")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object passwordProfile { get; set; } - - /// - /// The "officeLocation" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String officeLocation { get; set; } - - /// - /// The "postalCode" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String postalCode { get; set; } - - /// - /// The "preferredLanguage" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String preferredLanguage { get; set; } - - /// - /// The "provisionedPlans" property, of type "microsoft.graph.provisionedPlan". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.provisionedPlan")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] provisionedPlans { get; set; } - - /// - /// The "proxyAddresses" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] proxyAddresses { get; set; } - - /// - /// The "state" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String state { get; set; } - - /// - /// The "streetAddress" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String streetAddress { get; set; } - - /// - /// The "surname" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String surname { get; set; } - - /// - /// The "usageLocation" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String usageLocation { get; set; } - - /// - /// The "userPrincipalName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String userPrincipalName { get; set; } - - /// - /// The "userType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String userType { get; set; } - - /// - /// The "mailboxSettings" property, of type "microsoft.graph.mailboxSettings". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.mailboxSettings")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object mailboxSettings { get; set; } - - /// - /// The "aboutMe" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String aboutMe { get; set; } - - /// - /// The "birthday" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset birthday { get; set; } - - /// - /// The "hireDate" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset hireDate { get; set; } - - /// - /// The "interests" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] interests { get; set; } - - /// - /// The "mySite" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mySite { get; set; } - - /// - /// The "pastProjects" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] pastProjects { get; set; } - - /// - /// The "preferredName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String preferredName { get; set; } - - /// - /// The "responsibilities" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] responsibilities { get; set; } - - /// - /// The "schools" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] schools { get; set; } - - /// - /// The "skills" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] skills { get; set; } - - /// - /// The "deviceEnrollmentLimit" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.user" type. - /// The limit on the maximum number of devices that the user is permitted to enroll. Allowed values are 5 or 1000. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Int32 deviceEnrollmentLimit { get; set; } - - /// - /// The "ownedDevices" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] ownedDevices { get; set; } - - /// - /// The "registeredDevices" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] registeredDevices { get; set; } - - /// - /// The "manager" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object manager { get; set; } - - /// - /// The "directReports" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] directReports { get; set; } - - /// - /// The "memberOf" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] memberOf { get; set; } - - /// - /// The "createdObjects" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] createdObjects { get; set; } - - /// - /// The "ownedObjects" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] ownedObjects { get; set; } - - /// - /// The "licenseDetails" property, of type "microsoft.graph.licenseDetails". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.licenseDetails")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] licenseDetails { get; set; } - - /// - /// The "inferenceClassification" property, of type "microsoft.graph.inferenceClassification". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.inferenceClassification")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object inferenceClassification { get; set; } - - /// - /// The "photo" property, of type "microsoft.graph.profilePhoto". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.profilePhoto")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object photo { get; set; } - - /// - /// The "photos" property, of type "microsoft.graph.profilePhoto". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.profilePhoto")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] photos { get; set; } - - /// - /// The "managedDevices" property, of type "microsoft.graph.managedDevice". - /// This property is on the "microsoft.graph.user" type. - /// The managed devices associated with the user. - /// - [ODataType("microsoft.graph.managedDevice")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] managedDevices { get; set; } - - /// - /// The "managedAppRegistrations" property, of type "microsoft.graph.managedAppRegistration". - /// This property is on the "microsoft.graph.user" type. - /// Zero or more managed app registrations that belong to the user. - /// - [ODataType("microsoft.graph.managedAppRegistration", "microsoft.graph.androidManagedAppRegistration", "microsoft.graph.iosManagedAppRegistration")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] managedAppRegistrations { get; set; } - - /// - /// The "deviceManagementTroubleshootingEvents" property, of type "microsoft.graph.deviceManagementTroubleshootingEvent". - /// This property is on the "microsoft.graph.user" type. - /// The list of troubleshooting events for this user. - /// - [ODataType("microsoft.graph.deviceManagementTroubleshootingEvent", "microsoft.graph.enrollmentTroubleshootingEvent")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] deviceManagementTroubleshootingEvents { get; set; } - - /// - /// The "countryLetterCode" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String countryLetterCode { get; set; } - - /// - /// The "marketingNotificationEmails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] marketingNotificationEmails { get; set; } - - /// - /// The "privacyProfile" property, of type "microsoft.graph.privacyProfile". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("microsoft.graph.privacyProfile")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.Object privacyProfile { get; set; } - - /// - /// The "securityComplianceNotificationMails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] securityComplianceNotificationMails { get; set; } - - /// - /// The "securityComplianceNotificationPhones" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] securityComplianceNotificationPhones { get; set; } - - /// - /// The "street" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String street { get; set; } - - /// - /// The "technicalNotificationMails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] technicalNotificationMails { get; set; } - - /// - /// The "mobileDeviceManagementAuthority" property, of type "microsoft.graph.mdmAuthority". - /// This property is on the "microsoft.graph.organization" type. - /// Mobile device management authority. - /// - [ODataType("microsoft.graph.mdmAuthority")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String mobileDeviceManagementAuthority { get; set; } - - /// - /// The "contractType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.String contractType { get; set; } - - /// - /// The "customerId" property, of type "Edm.Guid". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.Guid")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.Guid customerId { get; set; } - - /// - /// The "defaultDomainName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.String defaultDomainName { get; set; } - - /// - /// The "classification" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.String classification { get; set; } - - /// - /// The "createdDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.DateTimeOffset createdDateTime { get; set; } - - /// - /// The "groupTypes" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.group")] - public System.String[] groupTypes { get; set; } - - /// - /// The "mailEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean mailEnabled { get; set; } - - /// - /// The "renewedDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.DateTimeOffset renewedDateTime { get; set; } - - /// - /// The "securityEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean securityEnabled { get; set; } - - /// - /// The "visibility" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.String visibility { get; set; } - - /// - /// The "allowExternalSenders" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean allowExternalSenders { get; set; } - - /// - /// The "autoSubscribeNewMembers" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean autoSubscribeNewMembers { get; set; } - - /// - /// The "isSubscribedByMail" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean isSubscribedByMail { get; set; } - - /// - /// The "unseenCount" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Int32 unseenCount { get; set; } - - /// - /// The "members" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] members { get; set; } - - /// - /// The "createdOnBehalfOf" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Object createdOnBehalfOf { get; set; } - - /// - /// The "owners" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] owners { get; set; } - - /// - /// The "settings" property, of type "microsoft.graph.groupSetting". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.groupSetting")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] settings { get; set; } - - /// - /// The "groupLifecyclePolicies" property, of type "microsoft.graph.groupLifecyclePolicy". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.groupLifecyclePolicy")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] groupLifecyclePolicies { get; set; } - - /// - /// The "roleTemplateId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.directoryRole" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.directoryRole")] - public System.String roleTemplateId { get; set; } - - /// - /// The "alternativeSecurityIds" property, of type "microsoft.graph.alternativeSecurityId". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.alternativeSecurityId")] - [Selectable] - [DerivedType("microsoft.graph.device")] - public System.Object[] alternativeSecurityIds { get; set; } - - /// - /// The "approximateLastSignInDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.DateTimeOffset approximateLastSignInDateTime { get; set; } - - /// - /// The "deviceId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String deviceId { get; set; } - - /// - /// The "deviceMetadata" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String deviceMetadata { get; set; } - - /// - /// The "deviceVersion" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Int32 deviceVersion { get; set; } - - /// - /// The "isCompliant" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Boolean isCompliant { get; set; } - - /// - /// The "isManaged" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Boolean isManaged { get; set; } - - /// - /// The "operatingSystem" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String operatingSystem { get; set; } - - /// - /// The "operatingSystemVersion" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String operatingSystemVersion { get; set; } - - /// - /// The "physicalIds" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.device")] - public System.String[] physicalIds { get; set; } - - /// - /// The "trustType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String trustType { get; set; } - - /// - /// The "registeredOwners" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] registeredOwners { get; set; } - - /// - /// The "registeredUsers" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] registeredUsers { get; set; } - - /// - /// The "extensions" property, of type "microsoft.graph.extension". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.extension", "microsoft.graph.openTypeExtension")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] extensions { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/registeredOwners/{directoryObjectId ?? string.Empty}"; - } - } - - /// - /// Retrieves "microsoft.graph.directoryObject" object references. - /// GET ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/registeredOwners/$ref - /// Retrieves "microsoft.graph.directoryObject" object references in the "registeredOwners" collection. - /// - /// GitHub Repository - [Cmdlet("Get", "DirectoryObjects_RegisteredOwnersReferences", DefaultParameterSetName = @"Search")] - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [ResourceTypePropertyName("registeredOwnerODataType")] - public class Get_DirectoryObjects_RegisteredOwnersReferences : GetOrSearchCmdlet - { - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - [Parameter(ParameterSetName = @"Get", Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - /// - /// The "deletedDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.directoryObject" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - public System.DateTimeOffset deletedDateTime { get; set; } - - /// - /// The "displayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.String displayName { get; set; } - - /// - /// The "description" property, of type "Edm.String". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.String description { get; set; } - - /// - /// The "values" property, of type "microsoft.graph.settingTemplateValue". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("microsoft.graph.settingTemplateValue")] - [Selectable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.Object[] values { get; set; } - - /// - /// The "accountEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Boolean accountEnabled { get; set; } - - /// - /// The "ageGroup" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String ageGroup { get; set; } - - /// - /// The "assignedLicenses" property, of type "microsoft.graph.assignedLicense". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.assignedLicense")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] assignedLicenses { get; set; } - - /// - /// The "assignedPlans" property, of type "microsoft.graph.assignedPlan". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.assignedPlan")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] assignedPlans { get; set; } - - /// - /// The "businessPhones" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] businessPhones { get; set; } - - /// - /// The "city" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String city { get; set; } - - /// - /// The "companyName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String companyName { get; set; } - - /// - /// The "consentProvidedForMinor" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String consentProvidedForMinor { get; set; } - - /// - /// The "country" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String country { get; set; } - - /// - /// The "department" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String department { get; set; } - - /// - /// The "givenName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String givenName { get; set; } - - /// - /// The "imAddresses" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] imAddresses { get; set; } - - /// - /// The "jobTitle" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String jobTitle { get; set; } - - /// - /// The "legalAgeGroupClassification" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String legalAgeGroupClassification { get; set; } - - /// - /// The "mail" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mail { get; set; } - - /// - /// The "mailNickname" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mailNickname { get; set; } - - /// - /// The "mobilePhone" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mobilePhone { get; set; } - - /// - /// The "onPremisesExtensionAttributes" property, of type "microsoft.graph.onPremisesExtensionAttributes". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.onPremisesExtensionAttributes")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object onPremisesExtensionAttributes { get; set; } - - /// - /// The "onPremisesImmutableId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesImmutableId { get; set; } - - /// - /// The "onPremisesLastSyncDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset onPremisesLastSyncDateTime { get; set; } - - /// - /// The "onPremisesProvisioningErrors" property, of type "microsoft.graph.onPremisesProvisioningError". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.onPremisesProvisioningError")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] onPremisesProvisioningErrors { get; set; } - - /// - /// The "onPremisesSecurityIdentifier" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesSecurityIdentifier { get; set; } - - /// - /// The "onPremisesSyncEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Boolean onPremisesSyncEnabled { get; set; } - - /// - /// The "onPremisesDomainName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesDomainName { get; set; } - - /// - /// The "onPremisesSamAccountName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesSamAccountName { get; set; } - - /// - /// The "onPremisesUserPrincipalName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesUserPrincipalName { get; set; } - - /// - /// The "passwordPolicies" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String passwordPolicies { get; set; } - - /// - /// The "passwordProfile" property, of type "microsoft.graph.passwordProfile". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.passwordProfile")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object passwordProfile { get; set; } - - /// - /// The "officeLocation" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String officeLocation { get; set; } - - /// - /// The "postalCode" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String postalCode { get; set; } - - /// - /// The "preferredLanguage" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String preferredLanguage { get; set; } - - /// - /// The "provisionedPlans" property, of type "microsoft.graph.provisionedPlan". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.provisionedPlan")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] provisionedPlans { get; set; } - - /// - /// The "proxyAddresses" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] proxyAddresses { get; set; } - - /// - /// The "state" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String state { get; set; } - - /// - /// The "streetAddress" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String streetAddress { get; set; } - - /// - /// The "surname" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String surname { get; set; } - - /// - /// The "usageLocation" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String usageLocation { get; set; } - - /// - /// The "userPrincipalName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String userPrincipalName { get; set; } - - /// - /// The "userType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String userType { get; set; } - - /// - /// The "mailboxSettings" property, of type "microsoft.graph.mailboxSettings". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.mailboxSettings")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object mailboxSettings { get; set; } - - /// - /// The "aboutMe" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String aboutMe { get; set; } - - /// - /// The "birthday" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset birthday { get; set; } - - /// - /// The "hireDate" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset hireDate { get; set; } - - /// - /// The "interests" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] interests { get; set; } - - /// - /// The "mySite" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mySite { get; set; } - - /// - /// The "pastProjects" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] pastProjects { get; set; } - - /// - /// The "preferredName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String preferredName { get; set; } - - /// - /// The "responsibilities" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] responsibilities { get; set; } - - /// - /// The "schools" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] schools { get; set; } - - /// - /// The "skills" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] skills { get; set; } - - /// - /// The "deviceEnrollmentLimit" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.user" type. - /// The limit on the maximum number of devices that the user is permitted to enroll. Allowed values are 5 or 1000. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Int32 deviceEnrollmentLimit { get; set; } - - /// - /// The "ownedDevices" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] ownedDevices { get; set; } - - /// - /// The "registeredDevices" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] registeredDevices { get; set; } - - /// - /// The "manager" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object manager { get; set; } - - /// - /// The "directReports" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] directReports { get; set; } - - /// - /// The "memberOf" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] memberOf { get; set; } - - /// - /// The "createdObjects" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] createdObjects { get; set; } - - /// - /// The "ownedObjects" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] ownedObjects { get; set; } - - /// - /// The "licenseDetails" property, of type "microsoft.graph.licenseDetails". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.licenseDetails")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] licenseDetails { get; set; } - - /// - /// The "inferenceClassification" property, of type "microsoft.graph.inferenceClassification". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.inferenceClassification")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object inferenceClassification { get; set; } - - /// - /// The "photo" property, of type "microsoft.graph.profilePhoto". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.profilePhoto")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object photo { get; set; } - - /// - /// The "photos" property, of type "microsoft.graph.profilePhoto". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.profilePhoto")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] photos { get; set; } - - /// - /// The "managedDevices" property, of type "microsoft.graph.managedDevice". - /// This property is on the "microsoft.graph.user" type. - /// The managed devices associated with the user. - /// - [ODataType("microsoft.graph.managedDevice")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] managedDevices { get; set; } - - /// - /// The "managedAppRegistrations" property, of type "microsoft.graph.managedAppRegistration". - /// This property is on the "microsoft.graph.user" type. - /// Zero or more managed app registrations that belong to the user. - /// - [ODataType("microsoft.graph.managedAppRegistration", "microsoft.graph.androidManagedAppRegistration", "microsoft.graph.iosManagedAppRegistration")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] managedAppRegistrations { get; set; } - - /// - /// The "deviceManagementTroubleshootingEvents" property, of type "microsoft.graph.deviceManagementTroubleshootingEvent". - /// This property is on the "microsoft.graph.user" type. - /// The list of troubleshooting events for this user. - /// - [ODataType("microsoft.graph.deviceManagementTroubleshootingEvent", "microsoft.graph.enrollmentTroubleshootingEvent")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] deviceManagementTroubleshootingEvents { get; set; } - - /// - /// The "countryLetterCode" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String countryLetterCode { get; set; } - - /// - /// The "marketingNotificationEmails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] marketingNotificationEmails { get; set; } - - /// - /// The "privacyProfile" property, of type "microsoft.graph.privacyProfile". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("microsoft.graph.privacyProfile")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.Object privacyProfile { get; set; } - - /// - /// The "securityComplianceNotificationMails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] securityComplianceNotificationMails { get; set; } - - /// - /// The "securityComplianceNotificationPhones" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] securityComplianceNotificationPhones { get; set; } - - /// - /// The "street" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String street { get; set; } - - /// - /// The "technicalNotificationMails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] technicalNotificationMails { get; set; } - - /// - /// The "mobileDeviceManagementAuthority" property, of type "microsoft.graph.mdmAuthority". - /// This property is on the "microsoft.graph.organization" type. - /// Mobile device management authority. - /// - [ODataType("microsoft.graph.mdmAuthority")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String mobileDeviceManagementAuthority { get; set; } - - /// - /// The "contractType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.String contractType { get; set; } - - /// - /// The "customerId" property, of type "Edm.Guid". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.Guid")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.Guid customerId { get; set; } - - /// - /// The "defaultDomainName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.String defaultDomainName { get; set; } - - /// - /// The "classification" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.String classification { get; set; } - - /// - /// The "createdDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.DateTimeOffset createdDateTime { get; set; } - - /// - /// The "groupTypes" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.group")] - public System.String[] groupTypes { get; set; } - - /// - /// The "mailEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean mailEnabled { get; set; } - - /// - /// The "renewedDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.DateTimeOffset renewedDateTime { get; set; } - - /// - /// The "securityEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean securityEnabled { get; set; } - - /// - /// The "visibility" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.String visibility { get; set; } - - /// - /// The "allowExternalSenders" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean allowExternalSenders { get; set; } - - /// - /// The "autoSubscribeNewMembers" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean autoSubscribeNewMembers { get; set; } - - /// - /// The "isSubscribedByMail" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean isSubscribedByMail { get; set; } - - /// - /// The "unseenCount" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Int32 unseenCount { get; set; } - - /// - /// The "members" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] members { get; set; } - - /// - /// The "createdOnBehalfOf" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Object createdOnBehalfOf { get; set; } - - /// - /// The "owners" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] owners { get; set; } - - /// - /// The "settings" property, of type "microsoft.graph.groupSetting". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.groupSetting")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] settings { get; set; } - - /// - /// The "groupLifecyclePolicies" property, of type "microsoft.graph.groupLifecyclePolicy". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.groupLifecyclePolicy")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] groupLifecyclePolicies { get; set; } - - /// - /// The "roleTemplateId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.directoryRole" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.directoryRole")] - public System.String roleTemplateId { get; set; } - - /// - /// The "alternativeSecurityIds" property, of type "microsoft.graph.alternativeSecurityId". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.alternativeSecurityId")] - [Selectable] - [DerivedType("microsoft.graph.device")] - public System.Object[] alternativeSecurityIds { get; set; } - - /// - /// The "approximateLastSignInDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.DateTimeOffset approximateLastSignInDateTime { get; set; } - - /// - /// The "deviceId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String deviceId { get; set; } - - /// - /// The "deviceMetadata" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String deviceMetadata { get; set; } - - /// - /// The "deviceVersion" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Int32 deviceVersion { get; set; } - - /// - /// The "isCompliant" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Boolean isCompliant { get; set; } - - /// - /// The "isManaged" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Boolean isManaged { get; set; } - - /// - /// The "operatingSystem" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String operatingSystem { get; set; } - - /// - /// The "operatingSystemVersion" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String operatingSystemVersion { get; set; } - - /// - /// The "physicalIds" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.device")] - public System.String[] physicalIds { get; set; } - - /// - /// The "trustType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String trustType { get; set; } - - /// - /// The "registeredOwners" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] registeredOwners { get; set; } - - /// - /// The "registeredUsers" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] registeredUsers { get; set; } - - /// - /// The "extensions" property, of type "microsoft.graph.extension". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.extension", "microsoft.graph.openTypeExtension")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] extensions { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/registeredOwners/{directoryObjectId ?? string.Empty}/$ref"; - } - } - - /// - /// Creates a reference from a "directoryObject" to a "microsoft.graph.directoryObject" object. - /// POST ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/registeredOwners/$ref - /// Creates a reference from the specified "directoryObject" object to a "registeredOwner". - /// - /// GitHub Repository - [Cmdlet("New", "DirectoryObjects_RegisteredOwnersReferences", ConfirmImpact = ConfirmImpact.Low)] - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [ResourceTypePropertyName("registeredOwnerODataType")] - public class New_DirectoryObjects_RegisteredOwnersReferences : PostReferenceToCollectionCmdlet - { - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - /// - /// The URL which should be used to access a "microsoft.graph.directoryObject" object. - /// - [Selectable] - [Expandable] - [Alias("deviceReferenceUrl", "directoryRoleReferenceUrl", "directoryRoleTemplateReferenceUrl", "groupReferenceUrl", "contractReferenceUrl", "organizationReferenceUrl", "userReferenceUrl", "groupSettingTemplateReferenceUrl", "administrativeUnitReferenceUrl")] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The URL which should be used to access a "microsoft.graph.directoryObject" object.")] - public System.String directoryObjectReferenceUrl { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/registeredOwners/{directoryObjectId}/$ref"; - } - - internal override System.Object GetContent() - { - return this.GetReferenceRequestContent(directoryObjectReferenceUrl); - } - } - - /// - /// Removes a reference from a "directoryObject" to a "microsoft.graph.directoryObject" object. - /// DELETE ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/registeredOwners/directoryObjectId/$ref - /// Removes a reference from the specified "directoryObject" object to a "registeredOwner". - /// - /// GitHub Repository - [Cmdlet("Remove", "DirectoryObjects_RegisteredOwnersReferences", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [ResourceTypePropertyName("registeredOwnerODataType")] - public class Remove_DirectoryObjects_RegisteredOwnersReferences : DeleteCmdlet - { - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/registeredOwners/{directoryObjectId}/$ref"; - } - } -} \ No newline at end of file diff --git a/PowerShellCmdlets/Generated/SDK/DirectoryObjects/RegisteredUsers.cs b/PowerShellCmdlets/Generated/SDK/DirectoryObjects/RegisteredUsers.cs deleted file mode 100644 index f57ab70..0000000 --- a/PowerShellCmdlets/Generated/SDK/DirectoryObjects/RegisteredUsers.cs +++ /dev/null @@ -1,2381 +0,0 @@ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. - -namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets -{ - using System.Management.Automation; - - /// - /// Retrieves "microsoft.graph.directoryObject" objects. - /// GET ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/registeredUsers - /// Retrieves "microsoft.graph.directoryObject" objects in the "registeredUsers" collection. - /// - /// GitHub Repository - [Cmdlet("Get", "DirectoryObjects_RegisteredUsers", DefaultParameterSetName = @"Search")] - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [ResourceTypePropertyName("registeredUserODataType")] - public class Get_DirectoryObjects_RegisteredUsers : GetOrSearchCmdlet - { - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - [Parameter(ParameterSetName = @"Get", Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - /// - /// The "deletedDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.directoryObject" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - public System.DateTimeOffset deletedDateTime { get; set; } - - /// - /// The "displayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.String displayName { get; set; } - - /// - /// The "description" property, of type "Edm.String". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.String description { get; set; } - - /// - /// The "values" property, of type "microsoft.graph.settingTemplateValue". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("microsoft.graph.settingTemplateValue")] - [Selectable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.Object[] values { get; set; } - - /// - /// The "accountEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Boolean accountEnabled { get; set; } - - /// - /// The "ageGroup" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String ageGroup { get; set; } - - /// - /// The "assignedLicenses" property, of type "microsoft.graph.assignedLicense". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.assignedLicense")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] assignedLicenses { get; set; } - - /// - /// The "assignedPlans" property, of type "microsoft.graph.assignedPlan". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.assignedPlan")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] assignedPlans { get; set; } - - /// - /// The "businessPhones" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] businessPhones { get; set; } - - /// - /// The "city" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String city { get; set; } - - /// - /// The "companyName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String companyName { get; set; } - - /// - /// The "consentProvidedForMinor" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String consentProvidedForMinor { get; set; } - - /// - /// The "country" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String country { get; set; } - - /// - /// The "department" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String department { get; set; } - - /// - /// The "givenName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String givenName { get; set; } - - /// - /// The "imAddresses" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] imAddresses { get; set; } - - /// - /// The "jobTitle" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String jobTitle { get; set; } - - /// - /// The "legalAgeGroupClassification" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String legalAgeGroupClassification { get; set; } - - /// - /// The "mail" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mail { get; set; } - - /// - /// The "mailNickname" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mailNickname { get; set; } - - /// - /// The "mobilePhone" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mobilePhone { get; set; } - - /// - /// The "onPremisesExtensionAttributes" property, of type "microsoft.graph.onPremisesExtensionAttributes". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.onPremisesExtensionAttributes")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object onPremisesExtensionAttributes { get; set; } - - /// - /// The "onPremisesImmutableId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesImmutableId { get; set; } - - /// - /// The "onPremisesLastSyncDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset onPremisesLastSyncDateTime { get; set; } - - /// - /// The "onPremisesProvisioningErrors" property, of type "microsoft.graph.onPremisesProvisioningError". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.onPremisesProvisioningError")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] onPremisesProvisioningErrors { get; set; } - - /// - /// The "onPremisesSecurityIdentifier" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesSecurityIdentifier { get; set; } - - /// - /// The "onPremisesSyncEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Boolean onPremisesSyncEnabled { get; set; } - - /// - /// The "onPremisesDomainName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesDomainName { get; set; } - - /// - /// The "onPremisesSamAccountName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesSamAccountName { get; set; } - - /// - /// The "onPremisesUserPrincipalName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesUserPrincipalName { get; set; } - - /// - /// The "passwordPolicies" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String passwordPolicies { get; set; } - - /// - /// The "passwordProfile" property, of type "microsoft.graph.passwordProfile". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.passwordProfile")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object passwordProfile { get; set; } - - /// - /// The "officeLocation" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String officeLocation { get; set; } - - /// - /// The "postalCode" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String postalCode { get; set; } - - /// - /// The "preferredLanguage" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String preferredLanguage { get; set; } - - /// - /// The "provisionedPlans" property, of type "microsoft.graph.provisionedPlan". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.provisionedPlan")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] provisionedPlans { get; set; } - - /// - /// The "proxyAddresses" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] proxyAddresses { get; set; } - - /// - /// The "state" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String state { get; set; } - - /// - /// The "streetAddress" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String streetAddress { get; set; } - - /// - /// The "surname" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String surname { get; set; } - - /// - /// The "usageLocation" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String usageLocation { get; set; } - - /// - /// The "userPrincipalName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String userPrincipalName { get; set; } - - /// - /// The "userType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String userType { get; set; } - - /// - /// The "mailboxSettings" property, of type "microsoft.graph.mailboxSettings". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.mailboxSettings")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object mailboxSettings { get; set; } - - /// - /// The "aboutMe" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String aboutMe { get; set; } - - /// - /// The "birthday" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset birthday { get; set; } - - /// - /// The "hireDate" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset hireDate { get; set; } - - /// - /// The "interests" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] interests { get; set; } - - /// - /// The "mySite" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mySite { get; set; } - - /// - /// The "pastProjects" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] pastProjects { get; set; } - - /// - /// The "preferredName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String preferredName { get; set; } - - /// - /// The "responsibilities" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] responsibilities { get; set; } - - /// - /// The "schools" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] schools { get; set; } - - /// - /// The "skills" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] skills { get; set; } - - /// - /// The "deviceEnrollmentLimit" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.user" type. - /// The limit on the maximum number of devices that the user is permitted to enroll. Allowed values are 5 or 1000. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Int32 deviceEnrollmentLimit { get; set; } - - /// - /// The "ownedDevices" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] ownedDevices { get; set; } - - /// - /// The "registeredDevices" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] registeredDevices { get; set; } - - /// - /// The "manager" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object manager { get; set; } - - /// - /// The "directReports" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] directReports { get; set; } - - /// - /// The "memberOf" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] memberOf { get; set; } - - /// - /// The "createdObjects" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] createdObjects { get; set; } - - /// - /// The "ownedObjects" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] ownedObjects { get; set; } - - /// - /// The "licenseDetails" property, of type "microsoft.graph.licenseDetails". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.licenseDetails")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] licenseDetails { get; set; } - - /// - /// The "inferenceClassification" property, of type "microsoft.graph.inferenceClassification". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.inferenceClassification")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object inferenceClassification { get; set; } - - /// - /// The "photo" property, of type "microsoft.graph.profilePhoto". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.profilePhoto")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object photo { get; set; } - - /// - /// The "photos" property, of type "microsoft.graph.profilePhoto". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.profilePhoto")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] photos { get; set; } - - /// - /// The "managedDevices" property, of type "microsoft.graph.managedDevice". - /// This property is on the "microsoft.graph.user" type. - /// The managed devices associated with the user. - /// - [ODataType("microsoft.graph.managedDevice")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] managedDevices { get; set; } - - /// - /// The "managedAppRegistrations" property, of type "microsoft.graph.managedAppRegistration". - /// This property is on the "microsoft.graph.user" type. - /// Zero or more managed app registrations that belong to the user. - /// - [ODataType("microsoft.graph.managedAppRegistration", "microsoft.graph.androidManagedAppRegistration", "microsoft.graph.iosManagedAppRegistration")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] managedAppRegistrations { get; set; } - - /// - /// The "deviceManagementTroubleshootingEvents" property, of type "microsoft.graph.deviceManagementTroubleshootingEvent". - /// This property is on the "microsoft.graph.user" type. - /// The list of troubleshooting events for this user. - /// - [ODataType("microsoft.graph.deviceManagementTroubleshootingEvent", "microsoft.graph.enrollmentTroubleshootingEvent")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] deviceManagementTroubleshootingEvents { get; set; } - - /// - /// The "countryLetterCode" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String countryLetterCode { get; set; } - - /// - /// The "marketingNotificationEmails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] marketingNotificationEmails { get; set; } - - /// - /// The "privacyProfile" property, of type "microsoft.graph.privacyProfile". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("microsoft.graph.privacyProfile")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.Object privacyProfile { get; set; } - - /// - /// The "securityComplianceNotificationMails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] securityComplianceNotificationMails { get; set; } - - /// - /// The "securityComplianceNotificationPhones" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] securityComplianceNotificationPhones { get; set; } - - /// - /// The "street" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String street { get; set; } - - /// - /// The "technicalNotificationMails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] technicalNotificationMails { get; set; } - - /// - /// The "mobileDeviceManagementAuthority" property, of type "microsoft.graph.mdmAuthority". - /// This property is on the "microsoft.graph.organization" type. - /// Mobile device management authority. - /// - [ODataType("microsoft.graph.mdmAuthority")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String mobileDeviceManagementAuthority { get; set; } - - /// - /// The "contractType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.String contractType { get; set; } - - /// - /// The "customerId" property, of type "Edm.Guid". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.Guid")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.Guid customerId { get; set; } - - /// - /// The "defaultDomainName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.String defaultDomainName { get; set; } - - /// - /// The "classification" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.String classification { get; set; } - - /// - /// The "createdDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.DateTimeOffset createdDateTime { get; set; } - - /// - /// The "groupTypes" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.group")] - public System.String[] groupTypes { get; set; } - - /// - /// The "mailEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean mailEnabled { get; set; } - - /// - /// The "renewedDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.DateTimeOffset renewedDateTime { get; set; } - - /// - /// The "securityEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean securityEnabled { get; set; } - - /// - /// The "visibility" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.String visibility { get; set; } - - /// - /// The "allowExternalSenders" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean allowExternalSenders { get; set; } - - /// - /// The "autoSubscribeNewMembers" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean autoSubscribeNewMembers { get; set; } - - /// - /// The "isSubscribedByMail" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean isSubscribedByMail { get; set; } - - /// - /// The "unseenCount" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Int32 unseenCount { get; set; } - - /// - /// The "members" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] members { get; set; } - - /// - /// The "createdOnBehalfOf" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Object createdOnBehalfOf { get; set; } - - /// - /// The "owners" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] owners { get; set; } - - /// - /// The "settings" property, of type "microsoft.graph.groupSetting". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.groupSetting")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] settings { get; set; } - - /// - /// The "groupLifecyclePolicies" property, of type "microsoft.graph.groupLifecyclePolicy". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.groupLifecyclePolicy")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] groupLifecyclePolicies { get; set; } - - /// - /// The "roleTemplateId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.directoryRole" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.directoryRole")] - public System.String roleTemplateId { get; set; } - - /// - /// The "alternativeSecurityIds" property, of type "microsoft.graph.alternativeSecurityId". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.alternativeSecurityId")] - [Selectable] - [DerivedType("microsoft.graph.device")] - public System.Object[] alternativeSecurityIds { get; set; } - - /// - /// The "approximateLastSignInDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.DateTimeOffset approximateLastSignInDateTime { get; set; } - - /// - /// The "deviceId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String deviceId { get; set; } - - /// - /// The "deviceMetadata" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String deviceMetadata { get; set; } - - /// - /// The "deviceVersion" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Int32 deviceVersion { get; set; } - - /// - /// The "isCompliant" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Boolean isCompliant { get; set; } - - /// - /// The "isManaged" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Boolean isManaged { get; set; } - - /// - /// The "operatingSystem" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String operatingSystem { get; set; } - - /// - /// The "operatingSystemVersion" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String operatingSystemVersion { get; set; } - - /// - /// The "physicalIds" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.device")] - public System.String[] physicalIds { get; set; } - - /// - /// The "trustType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String trustType { get; set; } - - /// - /// The "registeredOwners" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] registeredOwners { get; set; } - - /// - /// The "registeredUsers" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] registeredUsers { get; set; } - - /// - /// The "extensions" property, of type "microsoft.graph.extension". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.extension", "microsoft.graph.openTypeExtension")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] extensions { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/registeredUsers/{directoryObjectId ?? string.Empty}"; - } - } - - /// - /// Retrieves "microsoft.graph.directoryObject" object references. - /// GET ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/registeredUsers/$ref - /// Retrieves "microsoft.graph.directoryObject" object references in the "registeredUsers" collection. - /// - /// GitHub Repository - [Cmdlet("Get", "DirectoryObjects_RegisteredUsersReferences", DefaultParameterSetName = @"Search")] - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [ResourceTypePropertyName("registeredUserODataType")] - public class Get_DirectoryObjects_RegisteredUsersReferences : GetOrSearchCmdlet - { - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - [Parameter(ParameterSetName = @"Get", Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - /// - /// The "deletedDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.directoryObject" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - public System.DateTimeOffset deletedDateTime { get; set; } - - /// - /// The "displayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.String displayName { get; set; } - - /// - /// The "description" property, of type "Edm.String". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.String description { get; set; } - - /// - /// The "values" property, of type "microsoft.graph.settingTemplateValue". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("microsoft.graph.settingTemplateValue")] - [Selectable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.Object[] values { get; set; } - - /// - /// The "accountEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Boolean accountEnabled { get; set; } - - /// - /// The "ageGroup" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String ageGroup { get; set; } - - /// - /// The "assignedLicenses" property, of type "microsoft.graph.assignedLicense". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.assignedLicense")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] assignedLicenses { get; set; } - - /// - /// The "assignedPlans" property, of type "microsoft.graph.assignedPlan". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.assignedPlan")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] assignedPlans { get; set; } - - /// - /// The "businessPhones" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] businessPhones { get; set; } - - /// - /// The "city" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String city { get; set; } - - /// - /// The "companyName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String companyName { get; set; } - - /// - /// The "consentProvidedForMinor" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String consentProvidedForMinor { get; set; } - - /// - /// The "country" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String country { get; set; } - - /// - /// The "department" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String department { get; set; } - - /// - /// The "givenName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String givenName { get; set; } - - /// - /// The "imAddresses" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] imAddresses { get; set; } - - /// - /// The "jobTitle" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String jobTitle { get; set; } - - /// - /// The "legalAgeGroupClassification" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String legalAgeGroupClassification { get; set; } - - /// - /// The "mail" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mail { get; set; } - - /// - /// The "mailNickname" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mailNickname { get; set; } - - /// - /// The "mobilePhone" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mobilePhone { get; set; } - - /// - /// The "onPremisesExtensionAttributes" property, of type "microsoft.graph.onPremisesExtensionAttributes". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.onPremisesExtensionAttributes")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object onPremisesExtensionAttributes { get; set; } - - /// - /// The "onPremisesImmutableId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesImmutableId { get; set; } - - /// - /// The "onPremisesLastSyncDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset onPremisesLastSyncDateTime { get; set; } - - /// - /// The "onPremisesProvisioningErrors" property, of type "microsoft.graph.onPremisesProvisioningError". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.onPremisesProvisioningError")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] onPremisesProvisioningErrors { get; set; } - - /// - /// The "onPremisesSecurityIdentifier" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesSecurityIdentifier { get; set; } - - /// - /// The "onPremisesSyncEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Boolean onPremisesSyncEnabled { get; set; } - - /// - /// The "onPremisesDomainName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesDomainName { get; set; } - - /// - /// The "onPremisesSamAccountName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesSamAccountName { get; set; } - - /// - /// The "onPremisesUserPrincipalName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesUserPrincipalName { get; set; } - - /// - /// The "passwordPolicies" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String passwordPolicies { get; set; } - - /// - /// The "passwordProfile" property, of type "microsoft.graph.passwordProfile". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.passwordProfile")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object passwordProfile { get; set; } - - /// - /// The "officeLocation" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String officeLocation { get; set; } - - /// - /// The "postalCode" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String postalCode { get; set; } - - /// - /// The "preferredLanguage" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String preferredLanguage { get; set; } - - /// - /// The "provisionedPlans" property, of type "microsoft.graph.provisionedPlan". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.provisionedPlan")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] provisionedPlans { get; set; } - - /// - /// The "proxyAddresses" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] proxyAddresses { get; set; } - - /// - /// The "state" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String state { get; set; } - - /// - /// The "streetAddress" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String streetAddress { get; set; } - - /// - /// The "surname" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String surname { get; set; } - - /// - /// The "usageLocation" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String usageLocation { get; set; } - - /// - /// The "userPrincipalName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String userPrincipalName { get; set; } - - /// - /// The "userType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String userType { get; set; } - - /// - /// The "mailboxSettings" property, of type "microsoft.graph.mailboxSettings". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.mailboxSettings")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object mailboxSettings { get; set; } - - /// - /// The "aboutMe" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String aboutMe { get; set; } - - /// - /// The "birthday" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset birthday { get; set; } - - /// - /// The "hireDate" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset hireDate { get; set; } - - /// - /// The "interests" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] interests { get; set; } - - /// - /// The "mySite" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mySite { get; set; } - - /// - /// The "pastProjects" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] pastProjects { get; set; } - - /// - /// The "preferredName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String preferredName { get; set; } - - /// - /// The "responsibilities" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] responsibilities { get; set; } - - /// - /// The "schools" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] schools { get; set; } - - /// - /// The "skills" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] skills { get; set; } - - /// - /// The "deviceEnrollmentLimit" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.user" type. - /// The limit on the maximum number of devices that the user is permitted to enroll. Allowed values are 5 or 1000. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Int32 deviceEnrollmentLimit { get; set; } - - /// - /// The "ownedDevices" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] ownedDevices { get; set; } - - /// - /// The "registeredDevices" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] registeredDevices { get; set; } - - /// - /// The "manager" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object manager { get; set; } - - /// - /// The "directReports" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] directReports { get; set; } - - /// - /// The "memberOf" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] memberOf { get; set; } - - /// - /// The "createdObjects" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] createdObjects { get; set; } - - /// - /// The "ownedObjects" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] ownedObjects { get; set; } - - /// - /// The "licenseDetails" property, of type "microsoft.graph.licenseDetails". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.licenseDetails")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] licenseDetails { get; set; } - - /// - /// The "inferenceClassification" property, of type "microsoft.graph.inferenceClassification". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.inferenceClassification")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object inferenceClassification { get; set; } - - /// - /// The "photo" property, of type "microsoft.graph.profilePhoto". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.profilePhoto")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object photo { get; set; } - - /// - /// The "photos" property, of type "microsoft.graph.profilePhoto". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.profilePhoto")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] photos { get; set; } - - /// - /// The "managedDevices" property, of type "microsoft.graph.managedDevice". - /// This property is on the "microsoft.graph.user" type. - /// The managed devices associated with the user. - /// - [ODataType("microsoft.graph.managedDevice")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] managedDevices { get; set; } - - /// - /// The "managedAppRegistrations" property, of type "microsoft.graph.managedAppRegistration". - /// This property is on the "microsoft.graph.user" type. - /// Zero or more managed app registrations that belong to the user. - /// - [ODataType("microsoft.graph.managedAppRegistration", "microsoft.graph.androidManagedAppRegistration", "microsoft.graph.iosManagedAppRegistration")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] managedAppRegistrations { get; set; } - - /// - /// The "deviceManagementTroubleshootingEvents" property, of type "microsoft.graph.deviceManagementTroubleshootingEvent". - /// This property is on the "microsoft.graph.user" type. - /// The list of troubleshooting events for this user. - /// - [ODataType("microsoft.graph.deviceManagementTroubleshootingEvent", "microsoft.graph.enrollmentTroubleshootingEvent")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] deviceManagementTroubleshootingEvents { get; set; } - - /// - /// The "countryLetterCode" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String countryLetterCode { get; set; } - - /// - /// The "marketingNotificationEmails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] marketingNotificationEmails { get; set; } - - /// - /// The "privacyProfile" property, of type "microsoft.graph.privacyProfile". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("microsoft.graph.privacyProfile")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.Object privacyProfile { get; set; } - - /// - /// The "securityComplianceNotificationMails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] securityComplianceNotificationMails { get; set; } - - /// - /// The "securityComplianceNotificationPhones" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] securityComplianceNotificationPhones { get; set; } - - /// - /// The "street" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String street { get; set; } - - /// - /// The "technicalNotificationMails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] technicalNotificationMails { get; set; } - - /// - /// The "mobileDeviceManagementAuthority" property, of type "microsoft.graph.mdmAuthority". - /// This property is on the "microsoft.graph.organization" type. - /// Mobile device management authority. - /// - [ODataType("microsoft.graph.mdmAuthority")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String mobileDeviceManagementAuthority { get; set; } - - /// - /// The "contractType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.String contractType { get; set; } - - /// - /// The "customerId" property, of type "Edm.Guid". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.Guid")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.Guid customerId { get; set; } - - /// - /// The "defaultDomainName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.String defaultDomainName { get; set; } - - /// - /// The "classification" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.String classification { get; set; } - - /// - /// The "createdDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.DateTimeOffset createdDateTime { get; set; } - - /// - /// The "groupTypes" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.group")] - public System.String[] groupTypes { get; set; } - - /// - /// The "mailEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean mailEnabled { get; set; } - - /// - /// The "renewedDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.DateTimeOffset renewedDateTime { get; set; } - - /// - /// The "securityEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean securityEnabled { get; set; } - - /// - /// The "visibility" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.String visibility { get; set; } - - /// - /// The "allowExternalSenders" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean allowExternalSenders { get; set; } - - /// - /// The "autoSubscribeNewMembers" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean autoSubscribeNewMembers { get; set; } - - /// - /// The "isSubscribedByMail" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean isSubscribedByMail { get; set; } - - /// - /// The "unseenCount" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Int32 unseenCount { get; set; } - - /// - /// The "members" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] members { get; set; } - - /// - /// The "createdOnBehalfOf" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Object createdOnBehalfOf { get; set; } - - /// - /// The "owners" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] owners { get; set; } - - /// - /// The "settings" property, of type "microsoft.graph.groupSetting". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.groupSetting")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] settings { get; set; } - - /// - /// The "groupLifecyclePolicies" property, of type "microsoft.graph.groupLifecyclePolicy". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.groupLifecyclePolicy")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] groupLifecyclePolicies { get; set; } - - /// - /// The "roleTemplateId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.directoryRole" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.directoryRole")] - public System.String roleTemplateId { get; set; } - - /// - /// The "alternativeSecurityIds" property, of type "microsoft.graph.alternativeSecurityId". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.alternativeSecurityId")] - [Selectable] - [DerivedType("microsoft.graph.device")] - public System.Object[] alternativeSecurityIds { get; set; } - - /// - /// The "approximateLastSignInDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.DateTimeOffset approximateLastSignInDateTime { get; set; } - - /// - /// The "deviceId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String deviceId { get; set; } - - /// - /// The "deviceMetadata" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String deviceMetadata { get; set; } - - /// - /// The "deviceVersion" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Int32 deviceVersion { get; set; } - - /// - /// The "isCompliant" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Boolean isCompliant { get; set; } - - /// - /// The "isManaged" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Boolean isManaged { get; set; } - - /// - /// The "operatingSystem" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String operatingSystem { get; set; } - - /// - /// The "operatingSystemVersion" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String operatingSystemVersion { get; set; } - - /// - /// The "physicalIds" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.device")] - public System.String[] physicalIds { get; set; } - - /// - /// The "trustType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String trustType { get; set; } - - /// - /// The "registeredOwners" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] registeredOwners { get; set; } - - /// - /// The "registeredUsers" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] registeredUsers { get; set; } - - /// - /// The "extensions" property, of type "microsoft.graph.extension". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.extension", "microsoft.graph.openTypeExtension")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] extensions { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/registeredUsers/{directoryObjectId ?? string.Empty}/$ref"; - } - } - - /// - /// Creates a reference from a "directoryObject" to a "microsoft.graph.directoryObject" object. - /// POST ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/registeredUsers/$ref - /// Creates a reference from the specified "directoryObject" object to a "registeredUser". - /// - /// GitHub Repository - [Cmdlet("New", "DirectoryObjects_RegisteredUsersReferences", ConfirmImpact = ConfirmImpact.Low)] - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [ResourceTypePropertyName("registeredUserODataType")] - public class New_DirectoryObjects_RegisteredUsersReferences : PostReferenceToCollectionCmdlet - { - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - /// - /// The URL which should be used to access a "microsoft.graph.directoryObject" object. - /// - [Selectable] - [Expandable] - [Alias("deviceReferenceUrl", "directoryRoleReferenceUrl", "directoryRoleTemplateReferenceUrl", "groupReferenceUrl", "contractReferenceUrl", "organizationReferenceUrl", "userReferenceUrl", "groupSettingTemplateReferenceUrl", "administrativeUnitReferenceUrl")] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The URL which should be used to access a "microsoft.graph.directoryObject" object.")] - public System.String directoryObjectReferenceUrl { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/registeredUsers/{directoryObjectId}/$ref"; - } - - internal override System.Object GetContent() - { - return this.GetReferenceRequestContent(directoryObjectReferenceUrl); - } - } - - /// - /// Removes a reference from a "directoryObject" to a "microsoft.graph.directoryObject" object. - /// DELETE ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/registeredUsers/directoryObjectId/$ref - /// Removes a reference from the specified "directoryObject" object to a "registeredUser". - /// - /// GitHub Repository - [Cmdlet("Remove", "DirectoryObjects_RegisteredUsersReferences", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [ResourceTypePropertyName("registeredUserODataType")] - public class Remove_DirectoryObjects_RegisteredUsersReferences : DeleteCmdlet - { - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/registeredUsers/{directoryObjectId}/$ref"; - } - } -} \ No newline at end of file diff --git a/PowerShellCmdlets/Generated/SDK/DirectoryObjects/Settings.cs b/PowerShellCmdlets/Generated/SDK/DirectoryObjects/Settings.cs deleted file mode 100644 index 1fb439e..0000000 --- a/PowerShellCmdlets/Generated/SDK/DirectoryObjects/Settings.cs +++ /dev/null @@ -1,302 +0,0 @@ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. - -namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets -{ - using System.Management.Automation; - - /// - /// Retrieves "microsoft.graph.groupSetting" objects. - /// GET ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/settings - /// Retrieves "microsoft.graph.groupSetting" objects in the "settings" collection. - /// - /// GitHub Repository - [Cmdlet("Get", "DirectoryObjects_Settings", DefaultParameterSetName = @"Search")] - [ODataType("microsoft.graph.groupSetting")] - [ResourceTypePropertyName("settingODataType")] - [ResourceReference] - public class Get_DirectoryObjects_Settings : GetOrSearchCmdlet - { - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - /// - /// The ID for a "microsoft.graph.groupSetting" object in the "settings" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(ParameterSetName = @"Get", Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.groupSetting" object in the "settings" collection.")] - public System.String groupSettingId { get; set; } - - /// - /// The "displayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.groupSetting" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String displayName { get; set; } - - /// - /// The "templateId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.groupSetting" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String templateId { get; set; } - - /// - /// The "values" property, of type "microsoft.graph.settingValue". - /// This property is on the "microsoft.graph.groupSetting" type. - /// - [ODataType("microsoft.graph.settingValue")] - [Selectable] - public System.Object[] values { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/settings/{groupSettingId ?? string.Empty}"; - } - } - - /// - /// Creates a "microsoft.graph.groupSetting" object. - /// POST ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/settings - /// Adds a "microsoft.graph.groupSetting" object to the "settings" collection. - /// - /// GitHub Repository - [Cmdlet("New", "DirectoryObjects_Settings", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.groupSetting")] - [ODataType("microsoft.graph.groupSetting")] - [ResourceTypePropertyName("settingODataType")] - [ResourceReference] - public class New_DirectoryObjects_Settings : PostCmdlet - { - /// - /// The ID for a "microsoft.graph.groupSetting" object in the "settings" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - public System.String groupSettingId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - /// - /// The "displayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.groupSetting" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.groupSetting", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "displayName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "displayName" property, of type "Edm.String".")] - public System.String displayName { get; set; } - - /// - /// The "templateId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.groupSetting" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.groupSetting", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "templateId" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "templateId" property, of type "Edm.String".")] - public System.String templateId { get; set; } - - /// - /// The "values" property, of type "microsoft.graph.settingValue". - /// This property is on the "microsoft.graph.groupSetting" type. - /// - [ODataType("microsoft.graph.settingValue")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.groupSetting", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "values" property, of type "microsoft.graph.settingValue".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "values" property, of type "microsoft.graph.settingValue".")] - public System.Object[] values { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/settings/{groupSettingId}"; - } - } - - /// - /// Updates a "microsoft.graph.groupSetting". - /// PATCH ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/settings - /// Updates a "microsoft.graph.groupSetting" object in the "settings" collection. - /// - /// GitHub Repository - [Cmdlet("Update", "DirectoryObjects_Settings", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.groupSetting")] - [ODataType("microsoft.graph.groupSetting")] - [ResourceTypePropertyName("settingODataType")] - public class Update_DirectoryObjects_Settings : PatchCmdlet - { - /// - /// The ID for a "microsoft.graph.groupSetting" object in the "settings" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.groupSetting" object in the "settings" collection.")] - public System.String groupSettingId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - /// - /// The "displayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.groupSetting" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.groupSetting", HelpMessage = @"The "displayName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "displayName" property, of type "Edm.String".")] - public System.String displayName { get; set; } - - /// - /// The "templateId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.groupSetting" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.groupSetting", HelpMessage = @"The "templateId" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "templateId" property, of type "Edm.String".")] - public System.String templateId { get; set; } - - /// - /// The "values" property, of type "microsoft.graph.settingValue". - /// This property is on the "microsoft.graph.groupSetting" type. - /// - [ODataType("microsoft.graph.settingValue")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.groupSetting", HelpMessage = @"The "values" property, of type "microsoft.graph.settingValue".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "values" property, of type "microsoft.graph.settingValue".")] - public System.Object[] values { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/settings/{groupSettingId}"; - } - } - - /// - /// Removes a "microsoft.graph.groupSetting" object. - /// DELETE ~/directoryObjects/{directoryObjectId}/{directoryObjectODataType}/settings/groupSettingId - /// Removes a "microsoft.graph.groupSetting" object from the "settings" collection. - /// - /// GitHub Repository - [Cmdlet("Remove", "DirectoryObjects_Settings", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.groupSetting")] - [ResourceTypePropertyName("settingODataType")] - public class Remove_DirectoryObjects_Settings : DeleteCmdlet - { - /// - /// The ID for a "microsoft.graph.groupSetting" object in the "settings" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.groupSetting" object in the "settings" collection.")] - public System.String groupSettingId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.directoryObject" object in the "directoryObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects. - /// - /// Valid values: 'microsoft.graph.directoryObject', 'microsoft.graph.administrativeUnit', 'microsoft.graph.groupSettingTemplate', 'microsoft.graph.user', 'microsoft.graph.organization', 'microsoft.graph.contract', 'microsoft.graph.group', 'microsoft.graph.directoryRoleTemplate', 'microsoft.graph.directoryRole', 'microsoft.graph.device' - /// - /// - [Selectable] - [Expandable] - [ValidateSet(@"microsoft.graph.directoryObject", @"microsoft.graph.administrativeUnit", @"microsoft.graph.groupSettingTemplate", @"microsoft.graph.user", @"microsoft.graph.organization", @"microsoft.graph.contract", @"microsoft.graph.group", @"microsoft.graph.directoryRoleTemplate", @"microsoft.graph.directoryRole", @"microsoft.graph.device")] - [TypeCastParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required type cast for referencing properties that exist only on certain types of "microsoft.graph.directoryObject" objects.")] - public System.String directoryObjectODataType { get; set; } - - internal override System.String GetResourcePath() - { - return $"directoryObjects/{directoryObjectId}/{directoryObjectODataType}/settings/{groupSettingId}"; - } - } -} \ No newline at end of file diff --git a/PowerShellCmdlets/Generated/SDK/Groups.cs b/PowerShellCmdlets/Generated/SDK/Groups.cs index ecfdf0c..c80feca 100644 --- a/PowerShellCmdlets/Generated/SDK/Groups.cs +++ b/PowerShellCmdlets/Generated/SDK/Groups.cs @@ -994,10 +994,10 @@ internal override System.String GetResourcePath() /// This action does not return any objects. /// /// GitHub Repository - [Cmdlet("Invoke", "Groups_SubscribeByMail", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Invoke", "GroupSubscribeByMail", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.group")] [ResourceTypePropertyName("groupODataType")] - public class Invoke_Groups_SubscribeByMail : ActionCmdlet + public class Invoke_GroupSubscribeByMail : ActionCmdlet { /// /// The ID for a "microsoft.graph.group" object in the "groups" collection. @@ -1022,10 +1022,10 @@ internal override System.String GetResourcePath() /// This action does not return any objects. /// /// GitHub Repository - [Cmdlet("Invoke", "Groups_UnsubscribeByMail", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Invoke", "GroupUnsubscribeByMail", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.group")] [ResourceTypePropertyName("groupODataType")] - public class Invoke_Groups_UnsubscribeByMail : ActionCmdlet + public class Invoke_GroupUnsubscribeByMail : ActionCmdlet { /// /// The ID for a "microsoft.graph.group" object in the "groups" collection. @@ -1050,10 +1050,10 @@ internal override System.String GetResourcePath() /// This action does not return any objects. /// /// GitHub Repository - [Cmdlet("Invoke", "Groups_AddFavorite", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Invoke", "GroupAddFavorite", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.group")] [ResourceTypePropertyName("groupODataType")] - public class Invoke_Groups_AddFavorite : ActionCmdlet + public class Invoke_GroupAddFavorite : ActionCmdlet { /// /// The ID for a "microsoft.graph.group" object in the "groups" collection. @@ -1078,10 +1078,10 @@ internal override System.String GetResourcePath() /// This action does not return any objects. /// /// GitHub Repository - [Cmdlet("Invoke", "Groups_RemoveFavorite", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Invoke", "GroupRemoveFavorite", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.group")] [ResourceTypePropertyName("groupODataType")] - public class Invoke_Groups_RemoveFavorite : ActionCmdlet + public class Invoke_GroupRemoveFavorite : ActionCmdlet { /// /// The ID for a "microsoft.graph.group" object in the "groups" collection. @@ -1106,10 +1106,10 @@ internal override System.String GetResourcePath() /// This action does not return any objects. /// /// GitHub Repository - [Cmdlet("Invoke", "Groups_ResetUnseenCount", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Invoke", "GroupResetUnseenCount", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.group")] [ResourceTypePropertyName("groupODataType")] - public class Invoke_Groups_ResetUnseenCount : ActionCmdlet + public class Invoke_GroupResetUnseenCount : ActionCmdlet { /// /// The ID for a "microsoft.graph.group" object in the "groups" collection. @@ -1134,10 +1134,10 @@ internal override System.String GetResourcePath() /// This action does not return any objects. /// /// GitHub Repository - [Cmdlet("Invoke", "Groups_Renew", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Invoke", "GroupRenew", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.group")] [ResourceTypePropertyName("groupODataType")] - public class Invoke_Groups_Renew : ActionCmdlet + public class Invoke_GroupRenew : ActionCmdlet { /// /// The ID for a "microsoft.graph.group" object in the "groups" collection. @@ -1162,10 +1162,10 @@ internal override System.String GetResourcePath() /// This function returns a collection of "microsoft.graph.group" objects. /// /// GitHub Repository - [Cmdlet("Invoke", "Groups_Delta", DefaultParameterSetName = @"Search")] + [Cmdlet("Invoke", "GroupDelta", DefaultParameterSetName = @"Search")] [ODataType("microsoft.graph.group")] [ResourceTypePropertyName("groupODataType")] - public class Invoke_Groups_Delta : FunctionReturningCollectionCmdlet + public class Invoke_GroupDelta : FunctionReturningCollectionCmdlet { /// /// The ID for a "microsoft.graph.group" object in the "groups" collection. @@ -1188,10 +1188,10 @@ internal override System.String GetResourcePath() /// This action returns a collection of "microsoft.graph.directoryObject" objects. /// /// GitHub Repository - [Cmdlet("Invoke", "Groups_GetByIds", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Invoke", "GroupGetByIds", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.group")] [ResourceTypePropertyName("groupODataType")] - public class Invoke_Groups_GetByIds : ActionCmdlet + public class Invoke_GroupGetByIds : ActionCmdlet { /// /// The "ids" action parameter of type "Edm.String". @@ -1235,10 +1235,10 @@ internal override System.String GetResourcePath() /// This action returns a collection of "Edm.String" objects. /// /// GitHub Repository - [Cmdlet("Invoke", "Groups_CheckMemberGroups", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Invoke", "GroupCheckMemberGroup", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.group")] [ResourceTypePropertyName("groupODataType")] - public class Invoke_Groups_CheckMemberGroups : ActionCmdlet + public class Invoke_GroupCheckMemberGroup : ActionCmdlet { /// /// The "groupIds" action parameter of type "Edm.String". @@ -1274,10 +1274,10 @@ internal override System.String GetResourcePath() /// This action returns a collection of "Edm.String" objects. /// /// GitHub Repository - [Cmdlet("Invoke", "Groups_GetMemberGroups", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Invoke", "GroupGetMemberGroup", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.group")] [ResourceTypePropertyName("groupODataType")] - public class Invoke_Groups_GetMemberGroups : ActionCmdlet + public class Invoke_GroupGetMemberGroup : ActionCmdlet { /// /// The "securityEnabledOnly" action parameter of type "Edm.Boolean". @@ -1311,10 +1311,10 @@ internal override System.String GetResourcePath() /// This action returns a collection of "Edm.String" objects. /// /// GitHub Repository - [Cmdlet("Invoke", "Groups_GetMemberObjects", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Invoke", "GroupGetMemberObject", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.group")] [ResourceTypePropertyName("groupODataType")] - public class Invoke_Groups_GetMemberObjects : ActionCmdlet + public class Invoke_GroupGetMemberObject : ActionCmdlet { /// /// The "securityEnabledOnly" action parameter of type "Edm.Boolean". @@ -1348,10 +1348,10 @@ internal override System.String GetResourcePath() /// This action returns a "microsoft.graph.directoryObject" object. /// /// GitHub Repository - [Cmdlet("Invoke", "Groups_Restore", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Invoke", "GroupRestore", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.group")] [ResourceTypePropertyName("groupODataType")] - public class Invoke_Groups_Restore : ActionCmdlet + public class Invoke_GroupRestore : ActionCmdlet { /// /// The ID for a "microsoft.graph.group" object in the "groups" collection. diff --git a/PowerShellCmdlets/Generated/SDK/Groups/CreatedOnBehalfOf.cs b/PowerShellCmdlets/Generated/SDK/Groups/CreatedOnBehalfOf.cs index 4b1ebd3..e61313d 100644 --- a/PowerShellCmdlets/Generated/SDK/Groups/CreatedOnBehalfOf.cs +++ b/PowerShellCmdlets/Generated/SDK/Groups/CreatedOnBehalfOf.cs @@ -10,10 +10,10 @@ namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets /// Retrieves the "createdOnBehalfOf" object (which is of type "microsoft.graph.directoryObject"). /// /// GitHub Repository - [Cmdlet("Get", "Groups_CreatedOnBehalfOf", DefaultParameterSetName = @"Get")] + [Cmdlet("Get", "GroupCreatedOnBehalfOf", DefaultParameterSetName = @"Get")] [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] [ResourceTypePropertyName("createdOnBehalfOfODataType")] - public class Get_Groups_CreatedOnBehalfOf : GetCmdlet + public class Get_GroupCreatedOnBehalfOf : GetCmdlet { /// /// A required ID for referencing a "microsoft.graph.group" object in the "groups" collection. @@ -1135,10 +1135,10 @@ internal override System.String GetResourcePath() /// Retrieves the "createdOnBehalfOf" object reference (which is of type "microsoft.graph.directoryObject"). /// /// GitHub Repository - [Cmdlet("Get", "Groups_CreatedOnBehalfOfReference", DefaultParameterSetName = @"Get")] + [Cmdlet("Get", "GroupCreatedOnBehalfOfReference", DefaultParameterSetName = @"Get")] [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] [ResourceTypePropertyName("createdOnBehalfOfODataType")] - public class Get_Groups_CreatedOnBehalfOfReference : GetCmdlet + public class Get_GroupCreatedOnBehalfOfReference : GetCmdlet { /// /// A required ID for referencing a "microsoft.graph.group" object in the "groups" collection. @@ -2260,10 +2260,10 @@ internal override System.String GetResourcePath() /// Creates a reference from the "group" object to a "createdOnBehalfOf". /// /// GitHub Repository - [Cmdlet("New", "Groups_CreatedOnBehalfOfReference", ConfirmImpact = ConfirmImpact.Low)] + [Cmdlet("New", "GroupCreatedOnBehalfOfReference", ConfirmImpact = ConfirmImpact.Low)] [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] [ResourceTypePropertyName("createdOnBehalfOfODataType")] - public class New_Groups_CreatedOnBehalfOfReference : PutReferenceToEntityCmdlet + public class New_GroupCreatedOnBehalfOfReference : PutReferenceToEntityCmdlet { /// /// A required ID for referencing a "microsoft.graph.group" object in the "groups" collection. @@ -2297,10 +2297,10 @@ internal override System.String GetResourcePath() /// Removes a reference from the "group" object to a "createdOnBehalfOf". /// /// GitHub Repository - [Cmdlet("Remove", "Groups_CreatedOnBehalfOfReference", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Remove", "GroupCreatedOnBehalfOfReference", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] [ResourceTypePropertyName("createdOnBehalfOfODataType")] - public class Remove_Groups_CreatedOnBehalfOfReference : DeleteCmdlet + public class Remove_GroupCreatedOnBehalfOfReference : DeleteCmdlet { /// /// A required ID for referencing a "microsoft.graph.group" object in the "groups" collection. diff --git a/PowerShellCmdlets/Generated/SDK/Groups/GroupLifecyclePolicies.cs b/PowerShellCmdlets/Generated/SDK/Groups/GroupLifecyclePolicies.cs index c893e48..ff66399 100644 --- a/PowerShellCmdlets/Generated/SDK/Groups/GroupLifecyclePolicies.cs +++ b/PowerShellCmdlets/Generated/SDK/Groups/GroupLifecyclePolicies.cs @@ -10,11 +10,11 @@ namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets /// Retrieves "microsoft.graph.groupLifecyclePolicy" objects in the "groupLifecyclePolicies" collection. /// /// GitHub Repository - [Cmdlet("Get", "Groups_GroupLifecyclePolicies", DefaultParameterSetName = @"Search")] + [Cmdlet("Get", "GroupGroupLifecyclePolicy", DefaultParameterSetName = @"Search")] [ODataType("microsoft.graph.groupLifecyclePolicy")] [ResourceTypePropertyName("groupLifecyclePolicyODataType")] [ResourceReference] - public class Get_Groups_GroupLifecyclePolicies : GetOrSearchCmdlet + public class Get_GroupGroupLifecyclePolicy : GetOrSearchCmdlet { /// /// A required ID for referencing a "microsoft.graph.group" object in the "groups" collection. @@ -76,11 +76,11 @@ internal override System.String GetResourcePath() /// Adds a "microsoft.graph.groupLifecyclePolicy" object to the "groupLifecyclePolicies" collection. /// /// GitHub Repository - [Cmdlet("New", "Groups_GroupLifecyclePolicies", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.groupLifecyclePolicy")] + [Cmdlet("New", "GroupGroupLifecyclePolicy", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.groupLifecyclePolicy")] [ODataType("microsoft.graph.groupLifecyclePolicy")] [ResourceTypePropertyName("groupLifecyclePolicyODataType")] [ResourceReference] - public class New_Groups_GroupLifecyclePolicies : PostCmdlet + public class New_GroupGroupLifecyclePolicy : PostCmdlet { /// /// The ID for a "microsoft.graph.groupLifecyclePolicy" object in the "groupLifecyclePolicies" collection. @@ -143,10 +143,10 @@ internal override System.String GetResourcePath() /// Updates a "microsoft.graph.groupLifecyclePolicy" object in the "groupLifecyclePolicies" collection. /// /// GitHub Repository - [Cmdlet("Update", "Groups_GroupLifecyclePolicies", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.groupLifecyclePolicy")] + [Cmdlet("Update", "GroupGroupLifecyclePolicy", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.groupLifecyclePolicy")] [ODataType("microsoft.graph.groupLifecyclePolicy")] [ResourceTypePropertyName("groupLifecyclePolicyODataType")] - public class Update_Groups_GroupLifecyclePolicies : PatchCmdlet + public class Update_GroupGroupLifecyclePolicy : PatchCmdlet { /// /// The ID for a "microsoft.graph.groupLifecyclePolicy" object in the "groupLifecyclePolicies" collection. @@ -211,10 +211,10 @@ internal override System.String GetResourcePath() /// Removes a "microsoft.graph.groupLifecyclePolicy" object from the "groupLifecyclePolicies" collection. /// /// GitHub Repository - [Cmdlet("Remove", "Groups_GroupLifecyclePolicies", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Remove", "GroupGroupLifecyclePolicy", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.groupLifecyclePolicy")] [ResourceTypePropertyName("groupLifecyclePolicyODataType")] - public class Remove_Groups_GroupLifecyclePolicies : DeleteCmdlet + public class Remove_GroupGroupLifecyclePolicy : DeleteCmdlet { /// /// The ID for a "microsoft.graph.groupLifecyclePolicy" object in the "groupLifecyclePolicies" collection. @@ -249,10 +249,10 @@ internal override System.String GetResourcePath() /// This action returns a "Edm.Boolean" object. /// /// GitHub Repository - [Cmdlet("Invoke", "Groups_GroupLifecyclePolicies_AddGroup", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Invoke", "GroupGroupLifecyclePolicyAddGroup", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.groupLifecyclePolicy")] [ResourceTypePropertyName("groupLifecyclePolicyODataType")] - public class Invoke_Groups_GroupLifecyclePolicies_AddGroup : ActionCmdlet + public class Invoke_GroupGroupLifecyclePolicyAddGroup : ActionCmdlet { /// /// A required ID for referencing a "microsoft.graph.group" object in the "groups" collection. @@ -287,10 +287,10 @@ internal override System.String GetResourcePath() /// This action returns a "Edm.Boolean" object. /// /// GitHub Repository - [Cmdlet("Invoke", "Groups_GroupLifecyclePolicies_RemoveGroup", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Invoke", "GroupGroupLifecyclePolicyRemoveGroup", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.groupLifecyclePolicy")] [ResourceTypePropertyName("groupLifecyclePolicyODataType")] - public class Invoke_Groups_GroupLifecyclePolicies_RemoveGroup : ActionCmdlet + public class Invoke_GroupGroupLifecyclePolicyRemoveGroup : ActionCmdlet { /// /// A required ID for referencing a "microsoft.graph.group" object in the "groups" collection. diff --git a/PowerShellCmdlets/Generated/SDK/Groups/MemberOf.cs b/PowerShellCmdlets/Generated/SDK/Groups/MemberOf.cs index ca8b801..a350c1e 100644 --- a/PowerShellCmdlets/Generated/SDK/Groups/MemberOf.cs +++ b/PowerShellCmdlets/Generated/SDK/Groups/MemberOf.cs @@ -10,10 +10,10 @@ namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets /// Retrieves "microsoft.graph.directoryObject" objects in the "memberOf" collection. /// /// GitHub Repository - [Cmdlet("Get", "Groups_MemberOf", DefaultParameterSetName = @"Search")] + [Cmdlet("Get", "GroupMemberOf", DefaultParameterSetName = @"Search")] [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] [ResourceTypePropertyName("memberOfODataType")] - public class Get_Groups_MemberOf : GetOrSearchCmdlet + public class Get_GroupMemberOf : GetOrSearchCmdlet { /// /// A required ID for referencing a "microsoft.graph.group" object in the "groups" collection. @@ -1146,10 +1146,10 @@ internal override System.String GetResourcePath() /// Retrieves "microsoft.graph.directoryObject" object references in the "memberOf" collection. /// /// GitHub Repository - [Cmdlet("Get", "Groups_MemberOfReferences", DefaultParameterSetName = @"Search")] + [Cmdlet("Get", "GroupMemberOfReferences", DefaultParameterSetName = @"Search")] [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] [ResourceTypePropertyName("memberOfODataType")] - public class Get_Groups_MemberOfReferences : GetOrSearchCmdlet + public class Get_GroupMemberOfReferences : GetOrSearchCmdlet { /// /// A required ID for referencing a "microsoft.graph.group" object in the "groups" collection. @@ -2282,10 +2282,10 @@ internal override System.String GetResourcePath() /// Creates a reference from the specified "group" object to a "memberOf". /// /// GitHub Repository - [Cmdlet("New", "Groups_MemberOfReferences", ConfirmImpact = ConfirmImpact.Low)] + [Cmdlet("New", "GroupMemberOfReferences", ConfirmImpact = ConfirmImpact.Low)] [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] [ResourceTypePropertyName("memberOfODataType")] - public class New_Groups_MemberOfReferences : PostReferenceToCollectionCmdlet + public class New_GroupMemberOfReferences : PostReferenceToCollectionCmdlet { /// /// The ID for a "microsoft.graph.directoryObject" object in the "memberOf" collection. @@ -2333,10 +2333,10 @@ internal override System.Object GetContent() /// Removes a reference from the specified "group" object to a "memberOf". /// /// GitHub Repository - [Cmdlet("Remove", "Groups_MemberOfReferences", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Remove", "GroupMemberOfReferences", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] [ResourceTypePropertyName("memberOfODataType")] - public class Remove_Groups_MemberOfReferences : DeleteCmdlet + public class Remove_GroupMemberOfReferences : DeleteCmdlet { /// /// The ID for a "microsoft.graph.directoryObject" object in the "memberOf" collection. diff --git a/PowerShellCmdlets/Generated/SDK/Groups/Members.cs b/PowerShellCmdlets/Generated/SDK/Groups/Members.cs index fedc26a..bad0f66 100644 --- a/PowerShellCmdlets/Generated/SDK/Groups/Members.cs +++ b/PowerShellCmdlets/Generated/SDK/Groups/Members.cs @@ -10,10 +10,10 @@ namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets /// Retrieves "microsoft.graph.directoryObject" objects in the "members" collection. /// /// GitHub Repository - [Cmdlet("Get", "Groups_Members", DefaultParameterSetName = @"Search")] + [Cmdlet("Get", "GroupMember", DefaultParameterSetName = @"Search")] [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] [ResourceTypePropertyName("memberODataType")] - public class Get_Groups_Members : GetOrSearchCmdlet + public class Get_GroupMember : GetOrSearchCmdlet { /// /// A required ID for referencing a "microsoft.graph.group" object in the "groups" collection. @@ -1146,10 +1146,10 @@ internal override System.String GetResourcePath() /// Retrieves "microsoft.graph.directoryObject" object references in the "members" collection. /// /// GitHub Repository - [Cmdlet("Get", "Groups_MembersReferences", DefaultParameterSetName = @"Search")] + [Cmdlet("Get", "GroupMemberReferences", DefaultParameterSetName = @"Search")] [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] [ResourceTypePropertyName("memberODataType")] - public class Get_Groups_MembersReferences : GetOrSearchCmdlet + public class Get_GroupMemberReferences : GetOrSearchCmdlet { /// /// A required ID for referencing a "microsoft.graph.group" object in the "groups" collection. @@ -2282,10 +2282,10 @@ internal override System.String GetResourcePath() /// Creates a reference from the specified "group" object to a "member". /// /// GitHub Repository - [Cmdlet("New", "Groups_MembersReferences", ConfirmImpact = ConfirmImpact.Low)] + [Cmdlet("New", "GroupMemberReferences", ConfirmImpact = ConfirmImpact.Low)] [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] [ResourceTypePropertyName("memberODataType")] - public class New_Groups_MembersReferences : PostReferenceToCollectionCmdlet + public class New_GroupMemberReferences : PostReferenceToCollectionCmdlet { /// /// The ID for a "microsoft.graph.directoryObject" object in the "members" collection. @@ -2333,10 +2333,10 @@ internal override System.Object GetContent() /// Removes a reference from the specified "group" object to a "member". /// /// GitHub Repository - [Cmdlet("Remove", "Groups_MembersReferences", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Remove", "GroupMemberReferences", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] [ResourceTypePropertyName("memberODataType")] - public class Remove_Groups_MembersReferences : DeleteCmdlet + public class Remove_GroupMemberReferences : DeleteCmdlet { /// /// The ID for a "microsoft.graph.directoryObject" object in the "members" collection. diff --git a/PowerShellCmdlets/Generated/SDK/Groups/Owners.cs b/PowerShellCmdlets/Generated/SDK/Groups/Owners.cs index bbf86cb..1cb3a83 100644 --- a/PowerShellCmdlets/Generated/SDK/Groups/Owners.cs +++ b/PowerShellCmdlets/Generated/SDK/Groups/Owners.cs @@ -10,10 +10,10 @@ namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets /// Retrieves "microsoft.graph.directoryObject" objects in the "owners" collection. /// /// GitHub Repository - [Cmdlet("Get", "Groups_Owners", DefaultParameterSetName = @"Search")] + [Cmdlet("Get", "GroupOwners", DefaultParameterSetName = @"Search")] [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] [ResourceTypePropertyName("ownerODataType")] - public class Get_Groups_Owners : GetOrSearchCmdlet + public class Get_GroupOwners : GetOrSearchCmdlet { /// /// A required ID for referencing a "microsoft.graph.group" object in the "groups" collection. @@ -1146,10 +1146,10 @@ internal override System.String GetResourcePath() /// Retrieves "microsoft.graph.directoryObject" object references in the "owners" collection. /// /// GitHub Repository - [Cmdlet("Get", "Groups_OwnersReferences", DefaultParameterSetName = @"Search")] + [Cmdlet("Get", "GroupOwnersReferences", DefaultParameterSetName = @"Search")] [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] [ResourceTypePropertyName("ownerODataType")] - public class Get_Groups_OwnersReferences : GetOrSearchCmdlet + public class Get_GroupOwnersReferences : GetOrSearchCmdlet { /// /// A required ID for referencing a "microsoft.graph.group" object in the "groups" collection. @@ -2282,10 +2282,10 @@ internal override System.String GetResourcePath() /// Creates a reference from the specified "group" object to a "owner". /// /// GitHub Repository - [Cmdlet("New", "Groups_OwnersReferences", ConfirmImpact = ConfirmImpact.Low)] + [Cmdlet("New", "GroupOwnersReferences", ConfirmImpact = ConfirmImpact.Low)] [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] [ResourceTypePropertyName("ownerODataType")] - public class New_Groups_OwnersReferences : PostReferenceToCollectionCmdlet + public class New_GroupOwnersReferences : PostReferenceToCollectionCmdlet { /// /// The ID for a "microsoft.graph.directoryObject" object in the "owners" collection. @@ -2333,10 +2333,10 @@ internal override System.Object GetContent() /// Removes a reference from the specified "group" object to a "owner". /// /// GitHub Repository - [Cmdlet("Remove", "Groups_OwnersReferences", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Remove", "GroupOwnersReferences", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] [ResourceTypePropertyName("ownerODataType")] - public class Remove_Groups_OwnersReferences : DeleteCmdlet + public class Remove_GroupOwnersReferences : DeleteCmdlet { /// /// The ID for a "microsoft.graph.directoryObject" object in the "owners" collection. diff --git a/PowerShellCmdlets/Generated/SDK/Groups/Photo.cs b/PowerShellCmdlets/Generated/SDK/Groups/Photo.cs index c02e7d8..4753621 100644 --- a/PowerShellCmdlets/Generated/SDK/Groups/Photo.cs +++ b/PowerShellCmdlets/Generated/SDK/Groups/Photo.cs @@ -10,11 +10,11 @@ namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets /// Retrieves the "photo" object (which is of type "microsoft.graph.profilePhoto"). /// /// GitHub Repository - [Cmdlet("Get", "Groups_Photo", DefaultParameterSetName = @"Get")] + [Cmdlet("Get", "GroupPhoto", DefaultParameterSetName = @"Get")] [ODataType("microsoft.graph.profilePhoto")] [ResourceTypePropertyName("photoODataType")] [ResourceReference] - public class Get_Groups_Photo : GetCmdlet + public class Get_GroupPhoto : GetCmdlet { /// /// A required ID for referencing a "microsoft.graph.group" object in the "groups" collection. @@ -56,10 +56,10 @@ internal override System.String GetResourcePath() /// Updates the "photo" object (which is of type "microsoft.graph.profilePhoto"). /// /// GitHub Repository - [Cmdlet("Update", "Groups_Photo", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.profilePhoto")] + [Cmdlet("Update", "GroupPhoto", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.profilePhoto")] [ODataType("microsoft.graph.profilePhoto")] [ResourceTypePropertyName("photoODataType")] - public class Update_Groups_Photo : PatchCmdlet + public class Update_GroupPhoto : PatchCmdlet { /// /// A required ID for referencing a "microsoft.graph.group" object in the "groups" collection. @@ -103,10 +103,10 @@ internal override System.String GetResourcePath() /// Retrieves the data stream from the "photo" object. /// /// GitHub Repository - [Cmdlet("Get", "Groups_PhotoData")] + [Cmdlet("Get", "GroupPhotoData")] [ODataType("microsoft.graph.profilePhoto")] [ResourceTypePropertyName("photoODataType")] - public class Get_Groups_PhotoData : GetStreamCmdlet + public class Get_GroupPhotoData : GetStreamCmdlet { /// /// A required ID for referencing a "microsoft.graph.group" object in the "groups" collection. @@ -148,10 +148,10 @@ internal override System.String GetResourcePath() /// Sets the data for the "photo" property. /// /// GitHub Repository - [Cmdlet("New", "Groups_PhotoData", ConfirmImpact = ConfirmImpact.Low)] + [Cmdlet("New", "GroupPhotoData", ConfirmImpact = ConfirmImpact.Low)] [ODataType("microsoft.graph.profilePhoto")] [ResourceTypePropertyName("photoODataType")] - public class New_Groups_PhotoData : UpdateStreamCmdlet + public class New_GroupPhotoData : UpdateStreamCmdlet { /// /// A required ID for referencing a "microsoft.graph.group" object in the "groups" collection. @@ -180,10 +180,10 @@ internal override System.String GetResourcePath() /// Sets the data for the "photo" property. /// /// GitHub Repository - [Cmdlet("Set", "Groups_PhotoData", ConfirmImpact = ConfirmImpact.Low)] + [Cmdlet("Set", "GroupPhotoData", ConfirmImpact = ConfirmImpact.Low)] [ODataType("microsoft.graph.profilePhoto")] [ResourceTypePropertyName("photoODataType")] - public class Set_Groups_PhotoData : UpdateStreamCmdlet + public class Set_GroupPhotoData : UpdateStreamCmdlet { /// /// A required ID for referencing a "microsoft.graph.group" object in the "groups" collection. @@ -207,10 +207,10 @@ internal override System.String GetResourcePath() /// Removes a reference from a "photo" resource (which is of type "microsoft.graph.profilePhoto"). /// /// GitHub Repository - [Cmdlet("Remove", "Groups_PhotoData", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Remove", "GroupPhotoData", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.profilePhoto")] [ResourceTypePropertyName("photoODataType")] - public class Remove_Groups_PhotoData : DeleteCmdlet + public class Remove_GroupPhotoData : DeleteCmdlet { /// /// A required ID for referencing a "microsoft.graph.group" object in the "groups" collection. diff --git a/PowerShellCmdlets/Generated/SDK/Groups/Photos.cs b/PowerShellCmdlets/Generated/SDK/Groups/Photos.cs index 4d85d48..9b31826 100644 --- a/PowerShellCmdlets/Generated/SDK/Groups/Photos.cs +++ b/PowerShellCmdlets/Generated/SDK/Groups/Photos.cs @@ -10,11 +10,11 @@ namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets /// Retrieves "microsoft.graph.profilePhoto" objects in the "photos" collection. /// /// GitHub Repository - [Cmdlet("Get", "Groups_Photos", DefaultParameterSetName = @"Search")] + [Cmdlet("Get", "GroupPhotos", DefaultParameterSetName = @"Search")] [ODataType("microsoft.graph.profilePhoto")] [ResourceTypePropertyName("photoODataType")] [ResourceReference] - public class Get_Groups_Photos : GetOrSearchCmdlet + public class Get_GroupPhotos : GetOrSearchCmdlet { /// /// A required ID for referencing a "microsoft.graph.group" object in the "groups" collection. @@ -67,10 +67,10 @@ internal override System.String GetResourcePath() /// Retrieves the data streams from the "photos" collection. /// /// GitHub Repository - [Cmdlet("Get", "Groups_PhotosData")] + [Cmdlet("Get", "GroupPhotosData")] [ODataType("microsoft.graph.profilePhoto")] [ResourceTypePropertyName("photoODataType")] - public class Get_Groups_PhotosData : GetStreamCmdlet + public class Get_GroupPhotosData : GetStreamCmdlet { /// /// The ID for a "microsoft.graph.profilePhoto" object in the "photos" collection. @@ -123,10 +123,10 @@ internal override System.String GetResourcePath() /// Sets the data for the "photo" property. /// /// GitHub Repository - [Cmdlet("New", "Groups_PhotosData", ConfirmImpact = ConfirmImpact.Low)] + [Cmdlet("New", "GroupPhotosData", ConfirmImpact = ConfirmImpact.Low)] [ODataType("microsoft.graph.profilePhoto")] [ResourceTypePropertyName("photoODataType")] - public class New_Groups_PhotosData : UpdateStreamCmdlet + public class New_GroupPhotosData : UpdateStreamCmdlet { /// /// The ID for a "microsoft.graph.profilePhoto" object in the "photos" collection. @@ -166,10 +166,10 @@ internal override System.String GetResourcePath() /// Sets the data for the "photo" property. /// /// GitHub Repository - [Cmdlet("Set", "Groups_PhotosData", ConfirmImpact = ConfirmImpact.Low)] + [Cmdlet("Set", "GroupPhotosData", ConfirmImpact = ConfirmImpact.Low)] [ODataType("microsoft.graph.profilePhoto")] [ResourceTypePropertyName("photoODataType")] - public class Set_Groups_PhotosData : UpdateStreamCmdlet + public class Set_GroupPhotosData : UpdateStreamCmdlet { /// /// The ID for a "microsoft.graph.profilePhoto" object in the "photos" collection. @@ -204,10 +204,10 @@ internal override System.String GetResourcePath() /// Removes a reference from a "photo" resource (which is of type "microsoft.graph.profilePhoto"). /// /// GitHub Repository - [Cmdlet("Remove", "Groups_PhotosData", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Remove", "GroupPhotosData", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.profilePhoto")] [ResourceTypePropertyName("photoODataType")] - public class Remove_Groups_PhotosData : DeleteCmdlet + public class Remove_GroupPhotosData : DeleteCmdlet { /// /// The ID for a "microsoft.graph.profilePhoto" object in the "photos" collection. diff --git a/PowerShellCmdlets/Generated/SDK/Groups/Settings.cs b/PowerShellCmdlets/Generated/SDK/Groups/Settings.cs index 9f88fd7..8ed179c 100644 --- a/PowerShellCmdlets/Generated/SDK/Groups/Settings.cs +++ b/PowerShellCmdlets/Generated/SDK/Groups/Settings.cs @@ -10,11 +10,11 @@ namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets /// Retrieves "microsoft.graph.groupSetting" objects in the "settings" collection. /// /// GitHub Repository - [Cmdlet("Get", "Groups_Settings", DefaultParameterSetName = @"Search")] + [Cmdlet("Get", "GroupSettings", DefaultParameterSetName = @"Search")] [ODataType("microsoft.graph.groupSetting")] [ResourceTypePropertyName("settingODataType")] [ResourceReference] - public class Get_Groups_Settings : GetOrSearchCmdlet + public class Get_GroupSettings : GetOrSearchCmdlet { /// /// A required ID for referencing a "microsoft.graph.group" object in the "groups" collection. @@ -75,11 +75,11 @@ internal override System.String GetResourcePath() /// Adds a "microsoft.graph.groupSetting" object to the "settings" collection. /// /// GitHub Repository - [Cmdlet("New", "Groups_Settings", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.groupSetting")] + [Cmdlet("New", "GroupSettings", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.groupSetting")] [ODataType("microsoft.graph.groupSetting")] [ResourceTypePropertyName("settingODataType")] [ResourceReference] - public class New_Groups_Settings : PostCmdlet + public class New_GroupSettings : PostCmdlet { /// /// The ID for a "microsoft.graph.groupSetting" object in the "settings" collection. @@ -143,10 +143,10 @@ internal override System.String GetResourcePath() /// Updates a "microsoft.graph.groupSetting" object in the "settings" collection. /// /// GitHub Repository - [Cmdlet("Update", "Groups_Settings", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.groupSetting")] + [Cmdlet("Update", "GroupSettings", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.groupSetting")] [ODataType("microsoft.graph.groupSetting")] [ResourceTypePropertyName("settingODataType")] - public class Update_Groups_Settings : PatchCmdlet + public class Update_GroupSettings : PatchCmdlet { /// /// The ID for a "microsoft.graph.groupSetting" object in the "settings" collection. @@ -212,10 +212,10 @@ internal override System.String GetResourcePath() /// Removes a "microsoft.graph.groupSetting" object from the "settings" collection. /// /// GitHub Repository - [Cmdlet("Remove", "Groups_Settings", ConfirmImpact = ConfirmImpact.High)] + [Cmdlet("Remove", "GroupSettings", ConfirmImpact = ConfirmImpact.High)] [ODataType("microsoft.graph.groupSetting")] [ResourceTypePropertyName("settingODataType")] - public class Remove_Groups_Settings : DeleteCmdlet + public class Remove_GroupSettings : DeleteCmdlet { /// /// The ID for a "microsoft.graph.groupSetting" object in the "settings" collection. diff --git a/PowerShellCmdlets/Generated/SDK/Me.cs b/PowerShellCmdlets/Generated/SDK/Me.cs deleted file mode 100644 index c7693d9..0000000 --- a/PowerShellCmdlets/Generated/SDK/Me.cs +++ /dev/null @@ -1,2600 +0,0 @@ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. - -namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets -{ - using System.Management.Automation; - - /// - /// Retrieves the "me" object. - /// GET ~/me - /// Retrieves the "me" object (which is of type "microsoft.graph.user"). - /// - /// GitHub Repository - [Cmdlet("Get", "Me", DefaultParameterSetName = @"Get")] - [ODataType("microsoft.graph.user")] - [ResourceTypePropertyName("meODataType")] - public class Get_Me : GetCmdlet - { - /// - /// The "accountEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - public System.Boolean accountEnabled { get; set; } - - /// - /// The "ageGroup" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String ageGroup { get; set; } - - /// - /// The "assignedLicenses" property, of type "microsoft.graph.assignedLicense". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.assignedLicense")] - [Selectable] - public System.Object[] assignedLicenses { get; set; } - - /// - /// The "assignedPlans" property, of type "microsoft.graph.assignedPlan". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.assignedPlan")] - [Selectable] - public System.Object[] assignedPlans { get; set; } - - /// - /// The "businessPhones" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - public System.String[] businessPhones { get; set; } - - /// - /// The "city" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String city { get; set; } - - /// - /// The "companyName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String companyName { get; set; } - - /// - /// The "consentProvidedForMinor" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String consentProvidedForMinor { get; set; } - - /// - /// The "country" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String country { get; set; } - - /// - /// The "department" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String department { get; set; } - - /// - /// The "displayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String displayName { get; set; } - - /// - /// The "givenName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String givenName { get; set; } - - /// - /// The "imAddresses" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - public System.String[] imAddresses { get; set; } - - /// - /// The "jobTitle" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String jobTitle { get; set; } - - /// - /// The "legalAgeGroupClassification" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String legalAgeGroupClassification { get; set; } - - /// - /// The "mail" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String mail { get; set; } - - /// - /// The "mailNickname" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String mailNickname { get; set; } - - /// - /// The "mobilePhone" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String mobilePhone { get; set; } - - /// - /// The "onPremisesExtensionAttributes" property, of type "microsoft.graph.onPremisesExtensionAttributes". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.onPremisesExtensionAttributes")] - [Selectable] - [Sortable] - public System.Object onPremisesExtensionAttributes { get; set; } - - /// - /// The "onPremisesImmutableId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String onPremisesImmutableId { get; set; } - - /// - /// The "onPremisesLastSyncDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - public System.DateTimeOffset onPremisesLastSyncDateTime { get; set; } - - /// - /// The "onPremisesProvisioningErrors" property, of type "microsoft.graph.onPremisesProvisioningError". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.onPremisesProvisioningError")] - [Selectable] - public System.Object[] onPremisesProvisioningErrors { get; set; } - - /// - /// The "onPremisesSecurityIdentifier" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String onPremisesSecurityIdentifier { get; set; } - - /// - /// The "onPremisesSyncEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - public System.Boolean onPremisesSyncEnabled { get; set; } - - /// - /// The "onPremisesDomainName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String onPremisesDomainName { get; set; } - - /// - /// The "onPremisesSamAccountName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String onPremisesSamAccountName { get; set; } - - /// - /// The "onPremisesUserPrincipalName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String onPremisesUserPrincipalName { get; set; } - - /// - /// The "passwordPolicies" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String passwordPolicies { get; set; } - - /// - /// The "passwordProfile" property, of type "microsoft.graph.passwordProfile". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.passwordProfile")] - [Selectable] - [Sortable] - public System.Object passwordProfile { get; set; } - - /// - /// The "officeLocation" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String officeLocation { get; set; } - - /// - /// The "postalCode" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String postalCode { get; set; } - - /// - /// The "preferredLanguage" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String preferredLanguage { get; set; } - - /// - /// The "provisionedPlans" property, of type "microsoft.graph.provisionedPlan". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.provisionedPlan")] - [Selectable] - public System.Object[] provisionedPlans { get; set; } - - /// - /// The "proxyAddresses" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - public System.String[] proxyAddresses { get; set; } - - /// - /// The "state" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String state { get; set; } - - /// - /// The "streetAddress" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String streetAddress { get; set; } - - /// - /// The "surname" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String surname { get; set; } - - /// - /// The "usageLocation" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String usageLocation { get; set; } - - /// - /// The "userPrincipalName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String userPrincipalName { get; set; } - - /// - /// The "userType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String userType { get; set; } - - /// - /// The "mailboxSettings" property, of type "microsoft.graph.mailboxSettings". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.mailboxSettings")] - [Selectable] - [Sortable] - public System.Object mailboxSettings { get; set; } - - /// - /// The "aboutMe" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String aboutMe { get; set; } - - /// - /// The "birthday" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - public System.DateTimeOffset birthday { get; set; } - - /// - /// The "hireDate" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - public System.DateTimeOffset hireDate { get; set; } - - /// - /// The "interests" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - public System.String[] interests { get; set; } - - /// - /// The "mySite" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String mySite { get; set; } - - /// - /// The "pastProjects" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - public System.String[] pastProjects { get; set; } - - /// - /// The "preferredName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String preferredName { get; set; } - - /// - /// The "responsibilities" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - public System.String[] responsibilities { get; set; } - - /// - /// The "schools" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - public System.String[] schools { get; set; } - - /// - /// The "skills" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - public System.String[] skills { get; set; } - - /// - /// The "deviceEnrollmentLimit" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.user" type. - /// The limit on the maximum number of devices that the user is permitted to enroll. Allowed values are 5 or 1000. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - public System.Int32 deviceEnrollmentLimit { get; set; } - - /// - /// The "ownedDevices" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - public System.Object[] ownedDevices { get; set; } - - /// - /// The "registeredDevices" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - public System.Object[] registeredDevices { get; set; } - - /// - /// The "manager" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [Sortable] - public System.Object manager { get; set; } - - /// - /// The "directReports" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - public System.Object[] directReports { get; set; } - - /// - /// The "memberOf" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - public System.Object[] memberOf { get; set; } - - /// - /// The "createdObjects" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - public System.Object[] createdObjects { get; set; } - - /// - /// The "ownedObjects" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - public System.Object[] ownedObjects { get; set; } - - /// - /// The "licenseDetails" property, of type "microsoft.graph.licenseDetails". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.licenseDetails")] - [Selectable] - [Expandable] - public System.Object[] licenseDetails { get; set; } - - /// - /// The "inferenceClassification" property, of type "microsoft.graph.inferenceClassification". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.inferenceClassification")] - [Selectable] - [Expandable] - [Sortable] - public System.Object inferenceClassification { get; set; } - - /// - /// The "photo" property, of type "microsoft.graph.profilePhoto". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.profilePhoto")] - [Selectable] - [Expandable] - [Sortable] - public System.Object photo { get; set; } - - /// - /// The "photos" property, of type "microsoft.graph.profilePhoto". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.profilePhoto")] - [Selectable] - [Expandable] - public System.Object[] photos { get; set; } - - /// - /// The "managedDevices" property, of type "microsoft.graph.managedDevice". - /// This property is on the "microsoft.graph.user" type. - /// The managed devices associated with the user. - /// - [ODataType("microsoft.graph.managedDevice")] - [Selectable] - [Expandable] - public System.Object[] managedDevices { get; set; } - - /// - /// The "managedAppRegistrations" property, of type "microsoft.graph.managedAppRegistration". - /// This property is on the "microsoft.graph.user" type. - /// Zero or more managed app registrations that belong to the user. - /// - [ODataType("microsoft.graph.managedAppRegistration", "microsoft.graph.androidManagedAppRegistration", "microsoft.graph.iosManagedAppRegistration")] - [Selectable] - [Expandable] - public System.Object[] managedAppRegistrations { get; set; } - - /// - /// The "deviceManagementTroubleshootingEvents" property, of type "microsoft.graph.deviceManagementTroubleshootingEvent". - /// This property is on the "microsoft.graph.user" type. - /// The list of troubleshooting events for this user. - /// - [ODataType("microsoft.graph.deviceManagementTroubleshootingEvent", "microsoft.graph.enrollmentTroubleshootingEvent")] - [Selectable] - [Expandable] - public System.Object[] deviceManagementTroubleshootingEvents { get; set; } - - /// - /// The "deletedDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - public System.DateTimeOffset deletedDateTime { get; set; } - - internal override System.String GetResourcePath() - { - return $"me"; - } - } - - /// - /// Creates a "microsoft.graph.user" object. - /// POST ~/me - /// Creates the "me" object (which is of type "microsoft.graph.user"). - /// - /// GitHub Repository - [Cmdlet("New", "Me", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.user")] - [ODataType("microsoft.graph.user")] - [ResourceTypePropertyName("meODataType")] - public class New_Me : PostCmdlet - { - /// - /// The "accountEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "accountEnabled" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "accountEnabled" property, of type "Edm.Boolean".")] - public System.Boolean accountEnabled { get; set; } - - /// - /// The "ageGroup" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "ageGroup" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "ageGroup" property, of type "Edm.String".")] - public System.String ageGroup { get; set; } - - /// - /// The "assignedLicenses" property, of type "microsoft.graph.assignedLicense". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.assignedLicense")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "assignedLicenses" property, of type "microsoft.graph.assignedLicense".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "assignedLicenses" property, of type "microsoft.graph.assignedLicense".")] - public System.Object[] assignedLicenses { get; set; } - - /// - /// The "assignedPlans" property, of type "microsoft.graph.assignedPlan". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.assignedPlan")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "assignedPlans" property, of type "microsoft.graph.assignedPlan".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "assignedPlans" property, of type "microsoft.graph.assignedPlan".")] - public System.Object[] assignedPlans { get; set; } - - /// - /// The "businessPhones" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "businessPhones" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "businessPhones" property, of type "Edm.String".")] - public System.String[] businessPhones { get; set; } - - /// - /// The "city" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "city" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "city" property, of type "Edm.String".")] - public System.String city { get; set; } - - /// - /// The "companyName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "companyName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "companyName" property, of type "Edm.String".")] - public System.String companyName { get; set; } - - /// - /// The "consentProvidedForMinor" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "consentProvidedForMinor" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "consentProvidedForMinor" property, of type "Edm.String".")] - public System.String consentProvidedForMinor { get; set; } - - /// - /// The "country" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "country" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "country" property, of type "Edm.String".")] - public System.String country { get; set; } - - /// - /// The "department" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "department" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "department" property, of type "Edm.String".")] - public System.String department { get; set; } - - /// - /// The "displayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "displayName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "displayName" property, of type "Edm.String".")] - public System.String displayName { get; set; } - - /// - /// The "givenName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "givenName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "givenName" property, of type "Edm.String".")] - public System.String givenName { get; set; } - - /// - /// The "imAddresses" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "imAddresses" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "imAddresses" property, of type "Edm.String".")] - public System.String[] imAddresses { get; set; } - - /// - /// The "jobTitle" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "jobTitle" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "jobTitle" property, of type "Edm.String".")] - public System.String jobTitle { get; set; } - - /// - /// The "legalAgeGroupClassification" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "legalAgeGroupClassification" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "legalAgeGroupClassification" property, of type "Edm.String".")] - public System.String legalAgeGroupClassification { get; set; } - - /// - /// The "mail" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "mail" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "mail" property, of type "Edm.String".")] - public System.String mail { get; set; } - - /// - /// The "mailNickname" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "mailNickname" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "mailNickname" property, of type "Edm.String".")] - public System.String mailNickname { get; set; } - - /// - /// The "mobilePhone" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "mobilePhone" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "mobilePhone" property, of type "Edm.String".")] - public System.String mobilePhone { get; set; } - - /// - /// The "onPremisesExtensionAttributes" property, of type "microsoft.graph.onPremisesExtensionAttributes". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.onPremisesExtensionAttributes")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "onPremisesExtensionAttributes" property, of type "microsoft.graph.onPremisesExtensionAttributes".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "onPremisesExtensionAttributes" property, of type "microsoft.graph.onPremisesExtensionAttributes".")] - public System.Object onPremisesExtensionAttributes { get; set; } - - /// - /// The "onPremisesImmutableId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "onPremisesImmutableId" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "onPremisesImmutableId" property, of type "Edm.String".")] - public System.String onPremisesImmutableId { get; set; } - - /// - /// The "onPremisesLastSyncDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "onPremisesLastSyncDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "onPremisesLastSyncDateTime" property, of type "Edm.DateTimeOffset".")] - public System.DateTimeOffset onPremisesLastSyncDateTime { get; set; } - - /// - /// The "onPremisesProvisioningErrors" property, of type "microsoft.graph.onPremisesProvisioningError". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.onPremisesProvisioningError")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "onPremisesProvisioningErrors" property, of type "microsoft.graph.onPremisesProvisioningError".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "onPremisesProvisioningErrors" property, of type "microsoft.graph.onPremisesProvisioningError".")] - public System.Object[] onPremisesProvisioningErrors { get; set; } - - /// - /// The "onPremisesSecurityIdentifier" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "onPremisesSecurityIdentifier" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "onPremisesSecurityIdentifier" property, of type "Edm.String".")] - public System.String onPremisesSecurityIdentifier { get; set; } - - /// - /// The "onPremisesSyncEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "onPremisesSyncEnabled" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "onPremisesSyncEnabled" property, of type "Edm.Boolean".")] - public System.Boolean onPremisesSyncEnabled { get; set; } - - /// - /// The "onPremisesDomainName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "onPremisesDomainName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "onPremisesDomainName" property, of type "Edm.String".")] - public System.String onPremisesDomainName { get; set; } - - /// - /// The "onPremisesSamAccountName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "onPremisesSamAccountName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "onPremisesSamAccountName" property, of type "Edm.String".")] - public System.String onPremisesSamAccountName { get; set; } - - /// - /// The "onPremisesUserPrincipalName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "onPremisesUserPrincipalName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "onPremisesUserPrincipalName" property, of type "Edm.String".")] - public System.String onPremisesUserPrincipalName { get; set; } - - /// - /// The "passwordPolicies" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "passwordPolicies" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "passwordPolicies" property, of type "Edm.String".")] - public System.String passwordPolicies { get; set; } - - /// - /// The "passwordProfile" property, of type "microsoft.graph.passwordProfile". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.passwordProfile")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "passwordProfile" property, of type "microsoft.graph.passwordProfile".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "passwordProfile" property, of type "microsoft.graph.passwordProfile".")] - public System.Object passwordProfile { get; set; } - - /// - /// The "officeLocation" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "officeLocation" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "officeLocation" property, of type "Edm.String".")] - public System.String officeLocation { get; set; } - - /// - /// The "postalCode" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "postalCode" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "postalCode" property, of type "Edm.String".")] - public System.String postalCode { get; set; } - - /// - /// The "preferredLanguage" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "preferredLanguage" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "preferredLanguage" property, of type "Edm.String".")] - public System.String preferredLanguage { get; set; } - - /// - /// The "provisionedPlans" property, of type "microsoft.graph.provisionedPlan". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.provisionedPlan")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "provisionedPlans" property, of type "microsoft.graph.provisionedPlan".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "provisionedPlans" property, of type "microsoft.graph.provisionedPlan".")] - public System.Object[] provisionedPlans { get; set; } - - /// - /// The "proxyAddresses" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "proxyAddresses" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "proxyAddresses" property, of type "Edm.String".")] - public System.String[] proxyAddresses { get; set; } - - /// - /// The "state" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "state" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "state" property, of type "Edm.String".")] - public System.String state { get; set; } - - /// - /// The "streetAddress" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "streetAddress" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "streetAddress" property, of type "Edm.String".")] - public System.String streetAddress { get; set; } - - /// - /// The "surname" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "surname" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "surname" property, of type "Edm.String".")] - public System.String surname { get; set; } - - /// - /// The "usageLocation" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "usageLocation" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "usageLocation" property, of type "Edm.String".")] - public System.String usageLocation { get; set; } - - /// - /// The "userPrincipalName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "userPrincipalName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "userPrincipalName" property, of type "Edm.String".")] - public System.String userPrincipalName { get; set; } - - /// - /// The "userType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "userType" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "userType" property, of type "Edm.String".")] - public System.String userType { get; set; } - - /// - /// The "mailboxSettings" property, of type "microsoft.graph.mailboxSettings". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.mailboxSettings")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "mailboxSettings" property, of type "microsoft.graph.mailboxSettings".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "mailboxSettings" property, of type "microsoft.graph.mailboxSettings".")] - public System.Object mailboxSettings { get; set; } - - /// - /// The "aboutMe" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "aboutMe" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "aboutMe" property, of type "Edm.String".")] - public System.String aboutMe { get; set; } - - /// - /// The "birthday" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "birthday" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "birthday" property, of type "Edm.DateTimeOffset".")] - public System.DateTimeOffset birthday { get; set; } - - /// - /// The "hireDate" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "hireDate" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "hireDate" property, of type "Edm.DateTimeOffset".")] - public System.DateTimeOffset hireDate { get; set; } - - /// - /// The "interests" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "interests" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "interests" property, of type "Edm.String".")] - public System.String[] interests { get; set; } - - /// - /// The "mySite" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "mySite" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "mySite" property, of type "Edm.String".")] - public System.String mySite { get; set; } - - /// - /// The "pastProjects" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "pastProjects" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "pastProjects" property, of type "Edm.String".")] - public System.String[] pastProjects { get; set; } - - /// - /// The "preferredName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "preferredName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "preferredName" property, of type "Edm.String".")] - public System.String preferredName { get; set; } - - /// - /// The "responsibilities" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "responsibilities" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "responsibilities" property, of type "Edm.String".")] - public System.String[] responsibilities { get; set; } - - /// - /// The "schools" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "schools" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "schools" property, of type "Edm.String".")] - public System.String[] schools { get; set; } - - /// - /// The "skills" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "skills" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "skills" property, of type "Edm.String".")] - public System.String[] skills { get; set; } - - /// - /// The "deviceEnrollmentLimit" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.user" type. - /// The limit on the maximum number of devices that the user is permitted to enroll. Allowed values are 5 or 1000. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "deviceEnrollmentLimit" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "deviceEnrollmentLimit" property, of type "Edm.Int32".")] - public System.Int32 deviceEnrollmentLimit { get; set; } - - /// - /// The "ownedDevices" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "ownedDevices" property, of type "microsoft.graph.directoryObject".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "ownedDevices" property, of type "microsoft.graph.directoryObject".")] - public System.Object[] ownedDevices { get; set; } - - /// - /// The "registeredDevices" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "registeredDevices" property, of type "microsoft.graph.directoryObject".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "registeredDevices" property, of type "microsoft.graph.directoryObject".")] - public System.Object[] registeredDevices { get; set; } - - /// - /// The "manager" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "manager" property, of type "microsoft.graph.directoryObject".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "manager" property, of type "microsoft.graph.directoryObject".")] - public System.Object manager { get; set; } - - /// - /// The "directReports" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "directReports" property, of type "microsoft.graph.directoryObject".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "directReports" property, of type "microsoft.graph.directoryObject".")] - public System.Object[] directReports { get; set; } - - /// - /// The "memberOf" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "memberOf" property, of type "microsoft.graph.directoryObject".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "memberOf" property, of type "microsoft.graph.directoryObject".")] - public System.Object[] memberOf { get; set; } - - /// - /// The "createdObjects" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "createdObjects" property, of type "microsoft.graph.directoryObject".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "createdObjects" property, of type "microsoft.graph.directoryObject".")] - public System.Object[] createdObjects { get; set; } - - /// - /// The "ownedObjects" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "ownedObjects" property, of type "microsoft.graph.directoryObject".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "ownedObjects" property, of type "microsoft.graph.directoryObject".")] - public System.Object[] ownedObjects { get; set; } - - /// - /// The "licenseDetails" property, of type "microsoft.graph.licenseDetails". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.licenseDetails")] - [Selectable] - [Expandable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "licenseDetails" property, of type "microsoft.graph.licenseDetails".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "licenseDetails" property, of type "microsoft.graph.licenseDetails".")] - public System.Object[] licenseDetails { get; set; } - - /// - /// The "inferenceClassification" property, of type "microsoft.graph.inferenceClassification". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.inferenceClassification")] - [Selectable] - [Expandable] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "inferenceClassification" property, of type "microsoft.graph.inferenceClassification".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "inferenceClassification" property, of type "microsoft.graph.inferenceClassification".")] - public System.Object inferenceClassification { get; set; } - - /// - /// The "photo" property, of type "microsoft.graph.profilePhoto". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.profilePhoto")] - [Selectable] - [Expandable] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "photo" property, of type "microsoft.graph.profilePhoto".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "photo" property, of type "microsoft.graph.profilePhoto".")] - public System.Object photo { get; set; } - - /// - /// The "photos" property, of type "microsoft.graph.profilePhoto". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.profilePhoto")] - [Selectable] - [Expandable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "photos" property, of type "microsoft.graph.profilePhoto".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "photos" property, of type "microsoft.graph.profilePhoto".")] - public System.Object[] photos { get; set; } - - /// - /// The "managedDevices" property, of type "microsoft.graph.managedDevice". - /// This property is on the "microsoft.graph.user" type. - /// The managed devices associated with the user. - /// - [ODataType("microsoft.graph.managedDevice")] - [Selectable] - [Expandable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "managedDevices" property, of type "microsoft.graph.managedDevice".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "managedDevices" property, of type "microsoft.graph.managedDevice".")] - public System.Object[] managedDevices { get; set; } - - /// - /// The "managedAppRegistrations" property, of type "microsoft.graph.managedAppRegistration". - /// This property is on the "microsoft.graph.user" type. - /// Zero or more managed app registrations that belong to the user. - /// - [ODataType("microsoft.graph.managedAppRegistration", "microsoft.graph.androidManagedAppRegistration", "microsoft.graph.iosManagedAppRegistration")] - [Selectable] - [Expandable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "managedAppRegistrations" property, of type "microsoft.graph.managedAppRegistration".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "managedAppRegistrations" property, of type "microsoft.graph.managedAppRegistration".")] - public System.Object[] managedAppRegistrations { get; set; } - - /// - /// The "deviceManagementTroubleshootingEvents" property, of type "microsoft.graph.deviceManagementTroubleshootingEvent". - /// This property is on the "microsoft.graph.user" type. - /// The list of troubleshooting events for this user. - /// - [ODataType("microsoft.graph.deviceManagementTroubleshootingEvent", "microsoft.graph.enrollmentTroubleshootingEvent")] - [Selectable] - [Expandable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "deviceManagementTroubleshootingEvents" property, of type "microsoft.graph.deviceManagementTroubleshootingEvent".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "deviceManagementTroubleshootingEvents" property, of type "microsoft.graph.deviceManagementTroubleshootingEvent".")] - public System.Object[] deviceManagementTroubleshootingEvents { get; set; } - - /// - /// The "deletedDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "deletedDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "deletedDateTime" property, of type "Edm.DateTimeOffset".")] - public System.DateTimeOffset deletedDateTime { get; set; } - - internal override System.String GetResourcePath() - { - return $"me"; - } - } - - /// - /// Updates a "microsoft.graph.user". - /// PATCH ~/me - /// Updates the "me" object (which is of type "microsoft.graph.user"). - /// - /// GitHub Repository - [Cmdlet("Update", "Me", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.user")] - [ODataType("microsoft.graph.user")] - [ResourceTypePropertyName("meODataType")] - public class Update_Me : PatchCmdlet - { - /// - /// The "accountEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "accountEnabled" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "accountEnabled" property, of type "Edm.Boolean".")] - public System.Boolean accountEnabled { get; set; } - - /// - /// The "ageGroup" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "ageGroup" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "ageGroup" property, of type "Edm.String".")] - public System.String ageGroup { get; set; } - - /// - /// The "assignedLicenses" property, of type "microsoft.graph.assignedLicense". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.assignedLicense")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "assignedLicenses" property, of type "microsoft.graph.assignedLicense".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "assignedLicenses" property, of type "microsoft.graph.assignedLicense".")] - public System.Object[] assignedLicenses { get; set; } - - /// - /// The "assignedPlans" property, of type "microsoft.graph.assignedPlan". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.assignedPlan")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "assignedPlans" property, of type "microsoft.graph.assignedPlan".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "assignedPlans" property, of type "microsoft.graph.assignedPlan".")] - public System.Object[] assignedPlans { get; set; } - - /// - /// The "businessPhones" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "businessPhones" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "businessPhones" property, of type "Edm.String".")] - public System.String[] businessPhones { get; set; } - - /// - /// The "city" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "city" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "city" property, of type "Edm.String".")] - public System.String city { get; set; } - - /// - /// The "companyName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "companyName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "companyName" property, of type "Edm.String".")] - public System.String companyName { get; set; } - - /// - /// The "consentProvidedForMinor" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "consentProvidedForMinor" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "consentProvidedForMinor" property, of type "Edm.String".")] - public System.String consentProvidedForMinor { get; set; } - - /// - /// The "country" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "country" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "country" property, of type "Edm.String".")] - public System.String country { get; set; } - - /// - /// The "department" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "department" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "department" property, of type "Edm.String".")] - public System.String department { get; set; } - - /// - /// The "displayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "displayName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "displayName" property, of type "Edm.String".")] - public System.String displayName { get; set; } - - /// - /// The "givenName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "givenName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "givenName" property, of type "Edm.String".")] - public System.String givenName { get; set; } - - /// - /// The "imAddresses" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "imAddresses" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "imAddresses" property, of type "Edm.String".")] - public System.String[] imAddresses { get; set; } - - /// - /// The "jobTitle" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "jobTitle" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "jobTitle" property, of type "Edm.String".")] - public System.String jobTitle { get; set; } - - /// - /// The "legalAgeGroupClassification" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "legalAgeGroupClassification" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "legalAgeGroupClassification" property, of type "Edm.String".")] - public System.String legalAgeGroupClassification { get; set; } - - /// - /// The "mail" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "mail" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "mail" property, of type "Edm.String".")] - public System.String mail { get; set; } - - /// - /// The "mailNickname" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "mailNickname" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "mailNickname" property, of type "Edm.String".")] - public System.String mailNickname { get; set; } - - /// - /// The "mobilePhone" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "mobilePhone" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "mobilePhone" property, of type "Edm.String".")] - public System.String mobilePhone { get; set; } - - /// - /// The "onPremisesExtensionAttributes" property, of type "microsoft.graph.onPremisesExtensionAttributes". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.onPremisesExtensionAttributes")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "onPremisesExtensionAttributes" property, of type "microsoft.graph.onPremisesExtensionAttributes".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "onPremisesExtensionAttributes" property, of type "microsoft.graph.onPremisesExtensionAttributes".")] - public System.Object onPremisesExtensionAttributes { get; set; } - - /// - /// The "onPremisesImmutableId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "onPremisesImmutableId" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "onPremisesImmutableId" property, of type "Edm.String".")] - public System.String onPremisesImmutableId { get; set; } - - /// - /// The "onPremisesLastSyncDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "onPremisesLastSyncDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "onPremisesLastSyncDateTime" property, of type "Edm.DateTimeOffset".")] - public System.DateTimeOffset onPremisesLastSyncDateTime { get; set; } - - /// - /// The "onPremisesProvisioningErrors" property, of type "microsoft.graph.onPremisesProvisioningError". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.onPremisesProvisioningError")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "onPremisesProvisioningErrors" property, of type "microsoft.graph.onPremisesProvisioningError".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "onPremisesProvisioningErrors" property, of type "microsoft.graph.onPremisesProvisioningError".")] - public System.Object[] onPremisesProvisioningErrors { get; set; } - - /// - /// The "onPremisesSecurityIdentifier" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "onPremisesSecurityIdentifier" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "onPremisesSecurityIdentifier" property, of type "Edm.String".")] - public System.String onPremisesSecurityIdentifier { get; set; } - - /// - /// The "onPremisesSyncEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "onPremisesSyncEnabled" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "onPremisesSyncEnabled" property, of type "Edm.Boolean".")] - public System.Boolean onPremisesSyncEnabled { get; set; } - - /// - /// The "onPremisesDomainName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "onPremisesDomainName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "onPremisesDomainName" property, of type "Edm.String".")] - public System.String onPremisesDomainName { get; set; } - - /// - /// The "onPremisesSamAccountName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "onPremisesSamAccountName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "onPremisesSamAccountName" property, of type "Edm.String".")] - public System.String onPremisesSamAccountName { get; set; } - - /// - /// The "onPremisesUserPrincipalName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "onPremisesUserPrincipalName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "onPremisesUserPrincipalName" property, of type "Edm.String".")] - public System.String onPremisesUserPrincipalName { get; set; } - - /// - /// The "passwordPolicies" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "passwordPolicies" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "passwordPolicies" property, of type "Edm.String".")] - public System.String passwordPolicies { get; set; } - - /// - /// The "passwordProfile" property, of type "microsoft.graph.passwordProfile". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.passwordProfile")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "passwordProfile" property, of type "microsoft.graph.passwordProfile".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "passwordProfile" property, of type "microsoft.graph.passwordProfile".")] - public System.Object passwordProfile { get; set; } - - /// - /// The "officeLocation" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "officeLocation" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "officeLocation" property, of type "Edm.String".")] - public System.String officeLocation { get; set; } - - /// - /// The "postalCode" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "postalCode" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "postalCode" property, of type "Edm.String".")] - public System.String postalCode { get; set; } - - /// - /// The "preferredLanguage" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "preferredLanguage" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "preferredLanguage" property, of type "Edm.String".")] - public System.String preferredLanguage { get; set; } - - /// - /// The "provisionedPlans" property, of type "microsoft.graph.provisionedPlan". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.provisionedPlan")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "provisionedPlans" property, of type "microsoft.graph.provisionedPlan".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "provisionedPlans" property, of type "microsoft.graph.provisionedPlan".")] - public System.Object[] provisionedPlans { get; set; } - - /// - /// The "proxyAddresses" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "proxyAddresses" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "proxyAddresses" property, of type "Edm.String".")] - public System.String[] proxyAddresses { get; set; } - - /// - /// The "state" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "state" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "state" property, of type "Edm.String".")] - public System.String state { get; set; } - - /// - /// The "streetAddress" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "streetAddress" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "streetAddress" property, of type "Edm.String".")] - public System.String streetAddress { get; set; } - - /// - /// The "surname" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "surname" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "surname" property, of type "Edm.String".")] - public System.String surname { get; set; } - - /// - /// The "usageLocation" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "usageLocation" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "usageLocation" property, of type "Edm.String".")] - public System.String usageLocation { get; set; } - - /// - /// The "userPrincipalName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "userPrincipalName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "userPrincipalName" property, of type "Edm.String".")] - public System.String userPrincipalName { get; set; } - - /// - /// The "userType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "userType" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "userType" property, of type "Edm.String".")] - public System.String userType { get; set; } - - /// - /// The "mailboxSettings" property, of type "microsoft.graph.mailboxSettings". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.mailboxSettings")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "mailboxSettings" property, of type "microsoft.graph.mailboxSettings".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "mailboxSettings" property, of type "microsoft.graph.mailboxSettings".")] - public System.Object mailboxSettings { get; set; } - - /// - /// The "aboutMe" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "aboutMe" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "aboutMe" property, of type "Edm.String".")] - public System.String aboutMe { get; set; } - - /// - /// The "birthday" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "birthday" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "birthday" property, of type "Edm.DateTimeOffset".")] - public System.DateTimeOffset birthday { get; set; } - - /// - /// The "hireDate" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "hireDate" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "hireDate" property, of type "Edm.DateTimeOffset".")] - public System.DateTimeOffset hireDate { get; set; } - - /// - /// The "interests" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "interests" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "interests" property, of type "Edm.String".")] - public System.String[] interests { get; set; } - - /// - /// The "mySite" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "mySite" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "mySite" property, of type "Edm.String".")] - public System.String mySite { get; set; } - - /// - /// The "pastProjects" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "pastProjects" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "pastProjects" property, of type "Edm.String".")] - public System.String[] pastProjects { get; set; } - - /// - /// The "preferredName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "preferredName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "preferredName" property, of type "Edm.String".")] - public System.String preferredName { get; set; } - - /// - /// The "responsibilities" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "responsibilities" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "responsibilities" property, of type "Edm.String".")] - public System.String[] responsibilities { get; set; } - - /// - /// The "schools" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "schools" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "schools" property, of type "Edm.String".")] - public System.String[] schools { get; set; } - - /// - /// The "skills" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "skills" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "skills" property, of type "Edm.String".")] - public System.String[] skills { get; set; } - - /// - /// The "deviceEnrollmentLimit" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.user" type. - /// The limit on the maximum number of devices that the user is permitted to enroll. Allowed values are 5 or 1000. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "deviceEnrollmentLimit" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "deviceEnrollmentLimit" property, of type "Edm.Int32".")] - public System.Int32 deviceEnrollmentLimit { get; set; } - - /// - /// The "ownedDevices" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "ownedDevices" property, of type "microsoft.graph.directoryObject".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "ownedDevices" property, of type "microsoft.graph.directoryObject".")] - public System.Object[] ownedDevices { get; set; } - - /// - /// The "registeredDevices" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "registeredDevices" property, of type "microsoft.graph.directoryObject".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "registeredDevices" property, of type "microsoft.graph.directoryObject".")] - public System.Object[] registeredDevices { get; set; } - - /// - /// The "manager" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "manager" property, of type "microsoft.graph.directoryObject".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "manager" property, of type "microsoft.graph.directoryObject".")] - public System.Object manager { get; set; } - - /// - /// The "directReports" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "directReports" property, of type "microsoft.graph.directoryObject".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "directReports" property, of type "microsoft.graph.directoryObject".")] - public System.Object[] directReports { get; set; } - - /// - /// The "memberOf" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "memberOf" property, of type "microsoft.graph.directoryObject".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "memberOf" property, of type "microsoft.graph.directoryObject".")] - public System.Object[] memberOf { get; set; } - - /// - /// The "createdObjects" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "createdObjects" property, of type "microsoft.graph.directoryObject".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "createdObjects" property, of type "microsoft.graph.directoryObject".")] - public System.Object[] createdObjects { get; set; } - - /// - /// The "ownedObjects" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "ownedObjects" property, of type "microsoft.graph.directoryObject".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "ownedObjects" property, of type "microsoft.graph.directoryObject".")] - public System.Object[] ownedObjects { get; set; } - - /// - /// The "licenseDetails" property, of type "microsoft.graph.licenseDetails". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.licenseDetails")] - [Selectable] - [Expandable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "licenseDetails" property, of type "microsoft.graph.licenseDetails".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "licenseDetails" property, of type "microsoft.graph.licenseDetails".")] - public System.Object[] licenseDetails { get; set; } - - /// - /// The "inferenceClassification" property, of type "microsoft.graph.inferenceClassification". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.inferenceClassification")] - [Selectable] - [Expandable] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "inferenceClassification" property, of type "microsoft.graph.inferenceClassification".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "inferenceClassification" property, of type "microsoft.graph.inferenceClassification".")] - public System.Object inferenceClassification { get; set; } - - /// - /// The "photo" property, of type "microsoft.graph.profilePhoto". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.profilePhoto")] - [Selectable] - [Expandable] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "photo" property, of type "microsoft.graph.profilePhoto".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "photo" property, of type "microsoft.graph.profilePhoto".")] - public System.Object photo { get; set; } - - /// - /// The "photos" property, of type "microsoft.graph.profilePhoto". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.profilePhoto")] - [Selectable] - [Expandable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "photos" property, of type "microsoft.graph.profilePhoto".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "photos" property, of type "microsoft.graph.profilePhoto".")] - public System.Object[] photos { get; set; } - - /// - /// The "managedDevices" property, of type "microsoft.graph.managedDevice". - /// This property is on the "microsoft.graph.user" type. - /// The managed devices associated with the user. - /// - [ODataType("microsoft.graph.managedDevice")] - [Selectable] - [Expandable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "managedDevices" property, of type "microsoft.graph.managedDevice".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "managedDevices" property, of type "microsoft.graph.managedDevice".")] - public System.Object[] managedDevices { get; set; } - - /// - /// The "managedAppRegistrations" property, of type "microsoft.graph.managedAppRegistration". - /// This property is on the "microsoft.graph.user" type. - /// Zero or more managed app registrations that belong to the user. - /// - [ODataType("microsoft.graph.managedAppRegistration", "microsoft.graph.androidManagedAppRegistration", "microsoft.graph.iosManagedAppRegistration")] - [Selectable] - [Expandable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "managedAppRegistrations" property, of type "microsoft.graph.managedAppRegistration".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "managedAppRegistrations" property, of type "microsoft.graph.managedAppRegistration".")] - public System.Object[] managedAppRegistrations { get; set; } - - /// - /// The "deviceManagementTroubleshootingEvents" property, of type "microsoft.graph.deviceManagementTroubleshootingEvent". - /// This property is on the "microsoft.graph.user" type. - /// The list of troubleshooting events for this user. - /// - [ODataType("microsoft.graph.deviceManagementTroubleshootingEvent", "microsoft.graph.enrollmentTroubleshootingEvent")] - [Selectable] - [Expandable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "deviceManagementTroubleshootingEvents" property, of type "microsoft.graph.deviceManagementTroubleshootingEvent".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "deviceManagementTroubleshootingEvents" property, of type "microsoft.graph.deviceManagementTroubleshootingEvent".")] - public System.Object[] deviceManagementTroubleshootingEvents { get; set; } - - /// - /// The "deletedDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.user", HelpMessage = @"The "deletedDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "deletedDateTime" property, of type "Edm.DateTimeOffset".")] - public System.DateTimeOffset deletedDateTime { get; set; } - - internal override System.String GetResourcePath() - { - return $"me"; - } - } - - /// - /// Removes a "microsoft.graph.user" object. - /// DELETE ~/me - /// Removes the "me" object (which is of type "microsoft.graph.user"). - /// - /// GitHub Repository - [Cmdlet("Remove", "Me", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.user")] - [ResourceTypePropertyName("meODataType")] - public class Remove_Me : DeleteCmdlet - { - internal override System.String GetResourcePath() - { - return $"me"; - } - } - - /// - /// POST ~/me/assignLicense - /// The action "microsoft.graph.assignLicense", which exists on the type "microsoft.graph.user". - /// This action returns a "microsoft.graph.user" object. - /// - /// GitHub Repository - [Cmdlet("Invoke", "Me_AssignLicense", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.user")] - [ResourceTypePropertyName("meODataType")] - public class Invoke_Me_AssignLicense : ActionCmdlet - { - /// - /// The "addLicenses" action parameter of type "microsoft.graph.assignedLicense". - /// - [ODataType("microsoft.graph.assignedLicense")] - [Selectable] - [Expandable] - [ValidateNotNull] - [AllowEmptyCollection] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "addLicenses" action parameter of type "microsoft.graph.assignedLicense".")] - public System.Object[] addLicenses { get; set; } - - /// - /// The "removeLicenses" action parameter of type "Edm.Guid". - /// - [ODataType("Edm.Guid")] - [Selectable] - [Expandable] - [ValidateNotNull] - [AllowEmptyCollection] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "removeLicenses" action parameter of type "Edm.Guid".")] - public System.Guid[] removeLicenses { get; set; } - - internal override System.String GetResourcePath() - { - return $"me/assignLicense"; - } - } - - /// - /// POST ~/me/changePassword - /// The action "microsoft.graph.changePassword", which exists on the type "microsoft.graph.user". - /// This action does not return any objects. - /// - /// GitHub Repository - [Cmdlet("Invoke", "Me_ChangePassword", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.user")] - [ResourceTypePropertyName("meODataType")] - public class Invoke_Me_ChangePassword : ActionCmdlet - { - /// - /// The "currentPassword" action parameter of type "Edm.String". - /// - [ODataType("Edm.String")] - [Selectable] - [Expandable] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "currentPassword" action parameter of type "Edm.String".")] - public System.String currentPassword { get; set; } - - /// - /// The "newPassword" action parameter of type "Edm.String". - /// - [ODataType("Edm.String")] - [Selectable] - [Expandable] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "newPassword" action parameter of type "Edm.String".")] - public System.String newPassword { get; set; } - - internal override System.String GetResourcePath() - { - return $"me/changePassword"; - } - } - - /// - /// POST ~/me/sendMail - /// The action "microsoft.graph.sendMail", which exists on the type "microsoft.graph.user". - /// This action does not return any objects. - /// - /// GitHub Repository - [Cmdlet("Invoke", "Me_SendMail", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.user")] - [ResourceTypePropertyName("meODataType")] - public class Invoke_Me_SendMail : ActionCmdlet - { - /// - /// The "Message" action parameter of type "microsoft.graph.message". - /// - [ODataType("microsoft.graph.message", "microsoft.graph.eventMessage")] - [Selectable] - [Expandable] - [ValidateNotNull] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "Message" action parameter of type "microsoft.graph.message".")] - public System.Object Message { get; set; } - - /// - /// The "SaveToSentItems" action parameter of type "Edm.Boolean". - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Expandable] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "SaveToSentItems" action parameter of type "Edm.Boolean".")] - public System.Boolean SaveToSentItems { get; set; } - - internal override System.String GetResourcePath() - { - return $"me/sendMail"; - } - } - - /// - /// POST ~/me/findMeetingTimes - /// The action "microsoft.graph.findMeetingTimes", which exists on the type "microsoft.graph.user". - /// This action returns a "microsoft.graph.meetingTimeSuggestionsResult" object. - /// - /// GitHub Repository - [Cmdlet("Invoke", "Me_FindMeetingTimes", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.user")] - [ResourceTypePropertyName("meODataType")] - public class Invoke_Me_FindMeetingTimes : ActionCmdlet - { - /// - /// The "Attendees" action parameter of type "microsoft.graph.attendeeBase". - /// - [ODataType("microsoft.graph.attendeeBase", "microsoft.graph.attendee")] - [Selectable] - [Expandable] - [AllowEmptyCollection] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "Attendees" action parameter of type "microsoft.graph.attendeeBase".")] - public System.Object[] Attendees { get; set; } - - /// - /// The "LocationConstraint" action parameter of type "microsoft.graph.locationConstraint". - /// - [ODataType("microsoft.graph.locationConstraint")] - [Selectable] - [Expandable] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "LocationConstraint" action parameter of type "microsoft.graph.locationConstraint".")] - public System.Object LocationConstraint { get; set; } - - /// - /// The "TimeConstraint" action parameter of type "microsoft.graph.timeConstraint". - /// - [ODataType("microsoft.graph.timeConstraint")] - [Selectable] - [Expandable] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "TimeConstraint" action parameter of type "microsoft.graph.timeConstraint".")] - public System.Object TimeConstraint { get; set; } - - /// - /// The "MeetingDuration" action parameter of type "Edm.Duration". - /// - [ODataType("Edm.Duration")] - [Selectable] - [Expandable] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "MeetingDuration" action parameter of type "Edm.Duration".")] - public System.TimeSpan MeetingDuration { get; set; } - - /// - /// The "MaxCandidates" action parameter of type "Edm.Int32". - /// - [ODataType("Edm.Int32")] - [Selectable] - [Expandable] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "MaxCandidates" action parameter of type "Edm.Int32".")] - public System.Int32 MaxCandidates { get; set; } - - /// - /// The "IsOrganizerOptional" action parameter of type "Edm.Boolean". - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Expandable] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "IsOrganizerOptional" action parameter of type "Edm.Boolean".")] - public System.Boolean IsOrganizerOptional { get; set; } - - /// - /// The "ReturnSuggestionReasons" action parameter of type "Edm.Boolean". - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Expandable] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "ReturnSuggestionReasons" action parameter of type "Edm.Boolean".")] - public System.Boolean ReturnSuggestionReasons { get; set; } - - /// - /// The "MinimumAttendeePercentage" action parameter of type "Edm.Double". - /// - [ODataType("Edm.Double")] - [Selectable] - [Expandable] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "MinimumAttendeePercentage" action parameter of type "Edm.Double".")] - public System.Double MinimumAttendeePercentage { get; set; } - - internal override System.String GetResourcePath() - { - return $"me/findMeetingTimes"; - } - } - - /// - /// POST ~/me/getMailTips - /// The action "microsoft.graph.getMailTips", which exists on the type "microsoft.graph.user". - /// This action returns a collection of "microsoft.graph.mailTips" objects. - /// - /// GitHub Repository - [Cmdlet("Invoke", "Me_GetMailTips", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.user")] - [ResourceTypePropertyName("meODataType")] - public class Invoke_Me_GetMailTips : ActionCmdlet - { - /// - /// The "EmailAddresses" action parameter of type "Edm.String". - /// - [ODataType("Edm.String")] - [Selectable] - [Expandable] - [ValidateNotNull] - [AllowEmptyCollection] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "EmailAddresses" action parameter of type "Edm.String".")] - public System.String[] EmailAddresses { get; set; } - - /// - /// The "MailTipsOptions" action parameter of type "microsoft.graph.mailTipsType". - /// - /// Valid values: 'automaticReplies', 'mailboxFullStatus', 'customMailTip', 'externalMemberCount', 'totalMemberCount', 'maxMessageSize', 'deliveryRestriction', 'moderationStatus', 'recipientScope', 'recipientSuggestions' - /// - /// - [ODataType("microsoft.graph.mailTipsType")] - [Selectable] - [Expandable] - [ValidateSet(@"automaticReplies", @"mailboxFullStatus", @"customMailTip", @"externalMemberCount", @"totalMemberCount", @"maxMessageSize", @"deliveryRestriction", @"moderationStatus", @"recipientScope", @"recipientSuggestions")] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "MailTipsOptions" action parameter of type "microsoft.graph.mailTipsType".")] - public System.String MailTipsOptions { get; set; } - - internal override System.String GetResourcePath() - { - return $"me/getMailTips"; - } - } - - /// - /// POST ~/me/removeAllDevicesFromManagement - /// The action "microsoft.graph.removeAllDevicesFromManagement", which exists on the type "microsoft.graph.user". - /// This action does not return any objects. - /// - /// GitHub Repository - [Cmdlet("Invoke", "Me_RemoveAllDevicesFromManagement", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.user")] - [ResourceTypePropertyName("meODataType")] - public class Invoke_Me_RemoveAllDevicesFromManagement : ActionCmdlet - { - internal override System.String GetResourcePath() - { - return $"me/removeAllDevicesFromManagement"; - } - } - - /// - /// POST ~/me/wipeManagedAppRegistrationsByDeviceTag - /// The action "microsoft.graph.wipeManagedAppRegistrationsByDeviceTag", which exists on the type "microsoft.graph.user". - /// This action does not return any objects. - /// - /// GitHub Repository - [Cmdlet("Invoke", "Me_WipeManagedAppRegistrationsByDeviceTag", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.user")] - [ResourceTypePropertyName("meODataType")] - public class Invoke_Me_WipeManagedAppRegistrationsByDeviceTag : ActionCmdlet - { - /// - /// The "deviceTag" action parameter of type "Edm.String". - /// - [ODataType("Edm.String")] - [Selectable] - [Expandable] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "deviceTag" action parameter of type "Edm.String".")] - public System.String deviceTag { get; set; } - - internal override System.String GetResourcePath() - { - return $"me/wipeManagedAppRegistrationsByDeviceTag"; - } - } - - /// - /// GET ~/me/delta - /// The function "microsoft.graph.delta", which exists on the type "microsoft.graph.user". - /// This function returns a collection of "microsoft.graph.user" objects. - /// - /// GitHub Repository - [Cmdlet("Invoke", "Me_Delta", DefaultParameterSetName = @"Search")] - [ODataType("microsoft.graph.user")] - [ResourceTypePropertyName("meODataType")] - public class Invoke_Me_Delta : FunctionReturningCollectionCmdlet - { - internal override System.String GetResourcePath() - { - return $"me/delta({this.GetFunctionUrlSegment()})"; - } - } - - /// - /// GET ~/me/reminderView - /// The function "microsoft.graph.reminderView", which exists on the type "microsoft.graph.user". - /// This function returns a collection of "microsoft.graph.reminder" objects. - /// - /// GitHub Repository - [Cmdlet("Invoke", "Me_ReminderView", DefaultParameterSetName = @"Search")] - [ODataType("microsoft.graph.user")] - [ResourceTypePropertyName("meODataType")] - public class Invoke_Me_ReminderView : FunctionReturningCollectionCmdlet - { - /// - /// The "StartDateTime" function parameter of type "Edm.String". - /// - [ODataType("Edm.String")] - [Selectable] - [Expandable] - [ValidateNotNull] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "StartDateTime" function parameter of type "Edm.String".")] - public System.String StartDateTime { get; set; } - - /// - /// The "EndDateTime" function parameter of type "Edm.String". - /// - [ODataType("Edm.String")] - [Selectable] - [Expandable] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "EndDateTime" function parameter of type "Edm.String".")] - public System.String EndDateTime { get; set; } - - internal override System.String GetResourcePath() - { - return $"me/reminderView({this.GetFunctionUrlSegment()})"; - } - } - - /// - /// GET ~/me/getManagedAppDiagnosticStatuses - /// The function "microsoft.graph.getManagedAppDiagnosticStatuses", which exists on the type "microsoft.graph.user". - /// This function returns a collection of "microsoft.graph.managedAppDiagnosticStatus" objects. - /// - /// GitHub Repository - [Cmdlet("Invoke", "Me_GetManagedAppDiagnosticStatuses", DefaultParameterSetName = @"Search")] - [ODataType("microsoft.graph.user")] - [ResourceTypePropertyName("meODataType")] - public class Invoke_Me_GetManagedAppDiagnosticStatuses : FunctionReturningCollectionCmdlet - { - internal override System.String GetResourcePath() - { - return $"me/getManagedAppDiagnosticStatuses({this.GetFunctionUrlSegment()})"; - } - } - - /// - /// GET ~/me/getManagedAppPolicies - /// The function "microsoft.graph.getManagedAppPolicies", which exists on the type "microsoft.graph.user". - /// This function returns a collection of "microsoft.graph.managedAppPolicy" objects. - /// - /// GitHub Repository - [Cmdlet("Invoke", "Me_GetManagedAppPolicies", DefaultParameterSetName = @"Search")] - [ODataType("microsoft.graph.user")] - [ResourceTypePropertyName("meODataType")] - public class Invoke_Me_GetManagedAppPolicies : FunctionReturningCollectionCmdlet - { - internal override System.String GetResourcePath() - { - return $"me/getManagedAppPolicies({this.GetFunctionUrlSegment()})"; - } - } - - /// - /// POST ~/me/getByIds - /// The action "microsoft.graph.getByIds", which exists on the type "microsoft.graph.user". - /// This action returns a collection of "microsoft.graph.directoryObject" objects. - /// - /// GitHub Repository - [Cmdlet("Invoke", "Me_GetByIds", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.user")] - [ResourceTypePropertyName("meODataType")] - public class Invoke_Me_GetByIds : ActionCmdlet - { - /// - /// The "ids" action parameter of type "Edm.String". - /// - [ODataType("Edm.String")] - [Selectable] - [Expandable] - [ValidateNotNull] - [AllowEmptyCollection] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "ids" action parameter of type "Edm.String".")] - public System.String[] ids { get; set; } - - /// - /// The "types" action parameter of type "Edm.String". - /// - [ODataType("Edm.String")] - [Selectable] - [Expandable] - [AllowEmptyCollection] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "types" action parameter of type "Edm.String".")] - public System.String[] types { get; set; } - - internal override System.String GetResourcePath() - { - return $"me/getByIds"; - } - } - - /// - /// POST ~/me/checkMemberGroups - /// The action "microsoft.graph.checkMemberGroups", which exists on the type "microsoft.graph.user". - /// This action returns a collection of "Edm.String" objects. - /// - /// GitHub Repository - [Cmdlet("Invoke", "Me_CheckMemberGroups", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.user")] - [ResourceTypePropertyName("meODataType")] - public class Invoke_Me_CheckMemberGroups : ActionCmdlet - { - /// - /// The "groupIds" action parameter of type "Edm.String". - /// - [ODataType("Edm.String")] - [Selectable] - [Expandable] - [ValidateNotNull] - [AllowEmptyCollection] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "groupIds" action parameter of type "Edm.String".")] - public System.String[] groupIds { get; set; } - - internal override System.String GetResourcePath() - { - return $"me/checkMemberGroups"; - } - } - - /// - /// POST ~/me/getMemberGroups - /// The action "microsoft.graph.getMemberGroups", which exists on the type "microsoft.graph.user". - /// This action returns a collection of "Edm.String" objects. - /// - /// GitHub Repository - [Cmdlet("Invoke", "Me_GetMemberGroups", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.user")] - [ResourceTypePropertyName("meODataType")] - public class Invoke_Me_GetMemberGroups : ActionCmdlet - { - /// - /// The "securityEnabledOnly" action parameter of type "Edm.Boolean". - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Expandable] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "securityEnabledOnly" action parameter of type "Edm.Boolean".")] - public System.Boolean securityEnabledOnly { get; set; } - - internal override System.String GetResourcePath() - { - return $"me/getMemberGroups"; - } - } - - /// - /// POST ~/me/getMemberObjects - /// The action "microsoft.graph.getMemberObjects", which exists on the type "microsoft.graph.user". - /// This action returns a collection of "Edm.String" objects. - /// - /// GitHub Repository - [Cmdlet("Invoke", "Me_GetMemberObjects", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.user")] - [ResourceTypePropertyName("meODataType")] - public class Invoke_Me_GetMemberObjects : ActionCmdlet - { - /// - /// The "securityEnabledOnly" action parameter of type "Edm.Boolean". - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Expandable] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "securityEnabledOnly" action parameter of type "Edm.Boolean".")] - public System.Boolean securityEnabledOnly { get; set; } - - internal override System.String GetResourcePath() - { - return $"me/getMemberObjects"; - } - } - - /// - /// POST ~/me/restore - /// The action "microsoft.graph.restore", which exists on the type "microsoft.graph.user". - /// This action returns a "microsoft.graph.directoryObject" object. - /// - /// GitHub Repository - [Cmdlet("Invoke", "Me_Restore", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.user")] - [ResourceTypePropertyName("meODataType")] - public class Invoke_Me_Restore : ActionCmdlet - { - internal override System.String GetResourcePath() - { - return $"me/restore"; - } - } -} \ No newline at end of file diff --git a/PowerShellCmdlets/Generated/SDK/Me/CreatedObjects.cs b/PowerShellCmdlets/Generated/SDK/Me/CreatedObjects.cs deleted file mode 100644 index 81d4f53..0000000 --- a/PowerShellCmdlets/Generated/SDK/Me/CreatedObjects.cs +++ /dev/null @@ -1,2327 +0,0 @@ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. - -namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets -{ - using System.Management.Automation; - - /// - /// Retrieves "microsoft.graph.directoryObject" objects. - /// GET ~/me/createdObjects - /// Retrieves "microsoft.graph.directoryObject" objects in the "createdObjects" collection. - /// - /// GitHub Repository - [Cmdlet("Get", "Me_CreatedObjects", DefaultParameterSetName = @"Search")] - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [ResourceTypePropertyName("createdObjectODataType")] - public class Get_Me_CreatedObjects : GetOrSearchCmdlet - { - /// - /// The ID for a "microsoft.graph.directoryObject" object in the "createdObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(ParameterSetName = @"Get", Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.directoryObject" object in the "createdObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// The "deletedDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.directoryObject" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - public System.DateTimeOffset deletedDateTime { get; set; } - - /// - /// The "displayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.String displayName { get; set; } - - /// - /// The "description" property, of type "Edm.String". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.String description { get; set; } - - /// - /// The "values" property, of type "microsoft.graph.settingTemplateValue". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("microsoft.graph.settingTemplateValue")] - [Selectable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.Object[] values { get; set; } - - /// - /// The "accountEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Boolean accountEnabled { get; set; } - - /// - /// The "ageGroup" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String ageGroup { get; set; } - - /// - /// The "assignedLicenses" property, of type "microsoft.graph.assignedLicense". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.assignedLicense")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] assignedLicenses { get; set; } - - /// - /// The "assignedPlans" property, of type "microsoft.graph.assignedPlan". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.assignedPlan")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] assignedPlans { get; set; } - - /// - /// The "businessPhones" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] businessPhones { get; set; } - - /// - /// The "city" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String city { get; set; } - - /// - /// The "companyName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String companyName { get; set; } - - /// - /// The "consentProvidedForMinor" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String consentProvidedForMinor { get; set; } - - /// - /// The "country" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String country { get; set; } - - /// - /// The "department" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String department { get; set; } - - /// - /// The "givenName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String givenName { get; set; } - - /// - /// The "imAddresses" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] imAddresses { get; set; } - - /// - /// The "jobTitle" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String jobTitle { get; set; } - - /// - /// The "legalAgeGroupClassification" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String legalAgeGroupClassification { get; set; } - - /// - /// The "mail" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mail { get; set; } - - /// - /// The "mailNickname" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mailNickname { get; set; } - - /// - /// The "mobilePhone" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mobilePhone { get; set; } - - /// - /// The "onPremisesExtensionAttributes" property, of type "microsoft.graph.onPremisesExtensionAttributes". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.onPremisesExtensionAttributes")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object onPremisesExtensionAttributes { get; set; } - - /// - /// The "onPremisesImmutableId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesImmutableId { get; set; } - - /// - /// The "onPremisesLastSyncDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset onPremisesLastSyncDateTime { get; set; } - - /// - /// The "onPremisesProvisioningErrors" property, of type "microsoft.graph.onPremisesProvisioningError". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.onPremisesProvisioningError")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] onPremisesProvisioningErrors { get; set; } - - /// - /// The "onPremisesSecurityIdentifier" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesSecurityIdentifier { get; set; } - - /// - /// The "onPremisesSyncEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Boolean onPremisesSyncEnabled { get; set; } - - /// - /// The "onPremisesDomainName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesDomainName { get; set; } - - /// - /// The "onPremisesSamAccountName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesSamAccountName { get; set; } - - /// - /// The "onPremisesUserPrincipalName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesUserPrincipalName { get; set; } - - /// - /// The "passwordPolicies" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String passwordPolicies { get; set; } - - /// - /// The "passwordProfile" property, of type "microsoft.graph.passwordProfile". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.passwordProfile")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object passwordProfile { get; set; } - - /// - /// The "officeLocation" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String officeLocation { get; set; } - - /// - /// The "postalCode" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String postalCode { get; set; } - - /// - /// The "preferredLanguage" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String preferredLanguage { get; set; } - - /// - /// The "provisionedPlans" property, of type "microsoft.graph.provisionedPlan". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.provisionedPlan")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] provisionedPlans { get; set; } - - /// - /// The "proxyAddresses" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] proxyAddresses { get; set; } - - /// - /// The "state" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String state { get; set; } - - /// - /// The "streetAddress" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String streetAddress { get; set; } - - /// - /// The "surname" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String surname { get; set; } - - /// - /// The "usageLocation" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String usageLocation { get; set; } - - /// - /// The "userPrincipalName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String userPrincipalName { get; set; } - - /// - /// The "userType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String userType { get; set; } - - /// - /// The "mailboxSettings" property, of type "microsoft.graph.mailboxSettings". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.mailboxSettings")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object mailboxSettings { get; set; } - - /// - /// The "aboutMe" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String aboutMe { get; set; } - - /// - /// The "birthday" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset birthday { get; set; } - - /// - /// The "hireDate" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset hireDate { get; set; } - - /// - /// The "interests" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] interests { get; set; } - - /// - /// The "mySite" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mySite { get; set; } - - /// - /// The "pastProjects" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] pastProjects { get; set; } - - /// - /// The "preferredName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String preferredName { get; set; } - - /// - /// The "responsibilities" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] responsibilities { get; set; } - - /// - /// The "schools" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] schools { get; set; } - - /// - /// The "skills" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] skills { get; set; } - - /// - /// The "deviceEnrollmentLimit" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.user" type. - /// The limit on the maximum number of devices that the user is permitted to enroll. Allowed values are 5 or 1000. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Int32 deviceEnrollmentLimit { get; set; } - - /// - /// The "ownedDevices" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] ownedDevices { get; set; } - - /// - /// The "registeredDevices" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] registeredDevices { get; set; } - - /// - /// The "manager" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object manager { get; set; } - - /// - /// The "directReports" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] directReports { get; set; } - - /// - /// The "memberOf" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] memberOf { get; set; } - - /// - /// The "createdObjects" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] createdObjects { get; set; } - - /// - /// The "ownedObjects" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] ownedObjects { get; set; } - - /// - /// The "licenseDetails" property, of type "microsoft.graph.licenseDetails". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.licenseDetails")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] licenseDetails { get; set; } - - /// - /// The "inferenceClassification" property, of type "microsoft.graph.inferenceClassification". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.inferenceClassification")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object inferenceClassification { get; set; } - - /// - /// The "photo" property, of type "microsoft.graph.profilePhoto". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.profilePhoto")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object photo { get; set; } - - /// - /// The "photos" property, of type "microsoft.graph.profilePhoto". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.profilePhoto")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] photos { get; set; } - - /// - /// The "managedDevices" property, of type "microsoft.graph.managedDevice". - /// This property is on the "microsoft.graph.user" type. - /// The managed devices associated with the user. - /// - [ODataType("microsoft.graph.managedDevice")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] managedDevices { get; set; } - - /// - /// The "managedAppRegistrations" property, of type "microsoft.graph.managedAppRegistration". - /// This property is on the "microsoft.graph.user" type. - /// Zero or more managed app registrations that belong to the user. - /// - [ODataType("microsoft.graph.managedAppRegistration", "microsoft.graph.androidManagedAppRegistration", "microsoft.graph.iosManagedAppRegistration")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] managedAppRegistrations { get; set; } - - /// - /// The "deviceManagementTroubleshootingEvents" property, of type "microsoft.graph.deviceManagementTroubleshootingEvent". - /// This property is on the "microsoft.graph.user" type. - /// The list of troubleshooting events for this user. - /// - [ODataType("microsoft.graph.deviceManagementTroubleshootingEvent", "microsoft.graph.enrollmentTroubleshootingEvent")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] deviceManagementTroubleshootingEvents { get; set; } - - /// - /// The "countryLetterCode" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String countryLetterCode { get; set; } - - /// - /// The "marketingNotificationEmails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] marketingNotificationEmails { get; set; } - - /// - /// The "privacyProfile" property, of type "microsoft.graph.privacyProfile". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("microsoft.graph.privacyProfile")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.Object privacyProfile { get; set; } - - /// - /// The "securityComplianceNotificationMails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] securityComplianceNotificationMails { get; set; } - - /// - /// The "securityComplianceNotificationPhones" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] securityComplianceNotificationPhones { get; set; } - - /// - /// The "street" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String street { get; set; } - - /// - /// The "technicalNotificationMails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] technicalNotificationMails { get; set; } - - /// - /// The "mobileDeviceManagementAuthority" property, of type "microsoft.graph.mdmAuthority". - /// This property is on the "microsoft.graph.organization" type. - /// Mobile device management authority. - /// - [ODataType("microsoft.graph.mdmAuthority")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String mobileDeviceManagementAuthority { get; set; } - - /// - /// The "contractType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.String contractType { get; set; } - - /// - /// The "customerId" property, of type "Edm.Guid". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.Guid")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.Guid customerId { get; set; } - - /// - /// The "defaultDomainName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.String defaultDomainName { get; set; } - - /// - /// The "classification" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.String classification { get; set; } - - /// - /// The "createdDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.DateTimeOffset createdDateTime { get; set; } - - /// - /// The "groupTypes" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.group")] - public System.String[] groupTypes { get; set; } - - /// - /// The "mailEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean mailEnabled { get; set; } - - /// - /// The "renewedDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.DateTimeOffset renewedDateTime { get; set; } - - /// - /// The "securityEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean securityEnabled { get; set; } - - /// - /// The "visibility" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.String visibility { get; set; } - - /// - /// The "allowExternalSenders" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean allowExternalSenders { get; set; } - - /// - /// The "autoSubscribeNewMembers" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean autoSubscribeNewMembers { get; set; } - - /// - /// The "isSubscribedByMail" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean isSubscribedByMail { get; set; } - - /// - /// The "unseenCount" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Int32 unseenCount { get; set; } - - /// - /// The "members" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] members { get; set; } - - /// - /// The "createdOnBehalfOf" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Object createdOnBehalfOf { get; set; } - - /// - /// The "owners" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] owners { get; set; } - - /// - /// The "settings" property, of type "microsoft.graph.groupSetting". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.groupSetting")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] settings { get; set; } - - /// - /// The "groupLifecyclePolicies" property, of type "microsoft.graph.groupLifecyclePolicy". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.groupLifecyclePolicy")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] groupLifecyclePolicies { get; set; } - - /// - /// The "roleTemplateId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.directoryRole" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.directoryRole")] - public System.String roleTemplateId { get; set; } - - /// - /// The "alternativeSecurityIds" property, of type "microsoft.graph.alternativeSecurityId". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.alternativeSecurityId")] - [Selectable] - [DerivedType("microsoft.graph.device")] - public System.Object[] alternativeSecurityIds { get; set; } - - /// - /// The "approximateLastSignInDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.DateTimeOffset approximateLastSignInDateTime { get; set; } - - /// - /// The "deviceId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String deviceId { get; set; } - - /// - /// The "deviceMetadata" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String deviceMetadata { get; set; } - - /// - /// The "deviceVersion" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Int32 deviceVersion { get; set; } - - /// - /// The "isCompliant" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Boolean isCompliant { get; set; } - - /// - /// The "isManaged" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Boolean isManaged { get; set; } - - /// - /// The "operatingSystem" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String operatingSystem { get; set; } - - /// - /// The "operatingSystemVersion" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String operatingSystemVersion { get; set; } - - /// - /// The "physicalIds" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.device")] - public System.String[] physicalIds { get; set; } - - /// - /// The "trustType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String trustType { get; set; } - - /// - /// The "registeredOwners" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] registeredOwners { get; set; } - - /// - /// The "registeredUsers" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] registeredUsers { get; set; } - - /// - /// The "extensions" property, of type "microsoft.graph.extension". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.extension", "microsoft.graph.openTypeExtension")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] extensions { get; set; } - - internal override System.String GetResourcePath() - { - return $"me/createdObjects/{directoryObjectId ?? string.Empty}"; - } - } - - /// - /// Retrieves "microsoft.graph.directoryObject" object references. - /// GET ~/me/createdObjects/$ref - /// Retrieves "microsoft.graph.directoryObject" object references in the "createdObjects" collection. - /// - /// GitHub Repository - [Cmdlet("Get", "Me_CreatedObjectsReferences", DefaultParameterSetName = @"Search")] - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [ResourceTypePropertyName("createdObjectODataType")] - public class Get_Me_CreatedObjectsReferences : GetOrSearchCmdlet - { - /// - /// The ID for a "microsoft.graph.directoryObject" object in the "createdObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(ParameterSetName = @"Get", Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.directoryObject" object in the "createdObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// The "deletedDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.directoryObject" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - public System.DateTimeOffset deletedDateTime { get; set; } - - /// - /// The "displayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.String displayName { get; set; } - - /// - /// The "description" property, of type "Edm.String". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.String description { get; set; } - - /// - /// The "values" property, of type "microsoft.graph.settingTemplateValue". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("microsoft.graph.settingTemplateValue")] - [Selectable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.Object[] values { get; set; } - - /// - /// The "accountEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Boolean accountEnabled { get; set; } - - /// - /// The "ageGroup" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String ageGroup { get; set; } - - /// - /// The "assignedLicenses" property, of type "microsoft.graph.assignedLicense". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.assignedLicense")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] assignedLicenses { get; set; } - - /// - /// The "assignedPlans" property, of type "microsoft.graph.assignedPlan". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.assignedPlan")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] assignedPlans { get; set; } - - /// - /// The "businessPhones" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] businessPhones { get; set; } - - /// - /// The "city" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String city { get; set; } - - /// - /// The "companyName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String companyName { get; set; } - - /// - /// The "consentProvidedForMinor" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String consentProvidedForMinor { get; set; } - - /// - /// The "country" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String country { get; set; } - - /// - /// The "department" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String department { get; set; } - - /// - /// The "givenName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String givenName { get; set; } - - /// - /// The "imAddresses" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] imAddresses { get; set; } - - /// - /// The "jobTitle" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String jobTitle { get; set; } - - /// - /// The "legalAgeGroupClassification" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String legalAgeGroupClassification { get; set; } - - /// - /// The "mail" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mail { get; set; } - - /// - /// The "mailNickname" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mailNickname { get; set; } - - /// - /// The "mobilePhone" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mobilePhone { get; set; } - - /// - /// The "onPremisesExtensionAttributes" property, of type "microsoft.graph.onPremisesExtensionAttributes". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.onPremisesExtensionAttributes")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object onPremisesExtensionAttributes { get; set; } - - /// - /// The "onPremisesImmutableId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesImmutableId { get; set; } - - /// - /// The "onPremisesLastSyncDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset onPremisesLastSyncDateTime { get; set; } - - /// - /// The "onPremisesProvisioningErrors" property, of type "microsoft.graph.onPremisesProvisioningError". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.onPremisesProvisioningError")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] onPremisesProvisioningErrors { get; set; } - - /// - /// The "onPremisesSecurityIdentifier" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesSecurityIdentifier { get; set; } - - /// - /// The "onPremisesSyncEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Boolean onPremisesSyncEnabled { get; set; } - - /// - /// The "onPremisesDomainName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesDomainName { get; set; } - - /// - /// The "onPremisesSamAccountName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesSamAccountName { get; set; } - - /// - /// The "onPremisesUserPrincipalName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesUserPrincipalName { get; set; } - - /// - /// The "passwordPolicies" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String passwordPolicies { get; set; } - - /// - /// The "passwordProfile" property, of type "microsoft.graph.passwordProfile". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.passwordProfile")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object passwordProfile { get; set; } - - /// - /// The "officeLocation" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String officeLocation { get; set; } - - /// - /// The "postalCode" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String postalCode { get; set; } - - /// - /// The "preferredLanguage" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String preferredLanguage { get; set; } - - /// - /// The "provisionedPlans" property, of type "microsoft.graph.provisionedPlan". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.provisionedPlan")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] provisionedPlans { get; set; } - - /// - /// The "proxyAddresses" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] proxyAddresses { get; set; } - - /// - /// The "state" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String state { get; set; } - - /// - /// The "streetAddress" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String streetAddress { get; set; } - - /// - /// The "surname" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String surname { get; set; } - - /// - /// The "usageLocation" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String usageLocation { get; set; } - - /// - /// The "userPrincipalName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String userPrincipalName { get; set; } - - /// - /// The "userType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String userType { get; set; } - - /// - /// The "mailboxSettings" property, of type "microsoft.graph.mailboxSettings". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.mailboxSettings")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object mailboxSettings { get; set; } - - /// - /// The "aboutMe" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String aboutMe { get; set; } - - /// - /// The "birthday" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset birthday { get; set; } - - /// - /// The "hireDate" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset hireDate { get; set; } - - /// - /// The "interests" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] interests { get; set; } - - /// - /// The "mySite" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mySite { get; set; } - - /// - /// The "pastProjects" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] pastProjects { get; set; } - - /// - /// The "preferredName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String preferredName { get; set; } - - /// - /// The "responsibilities" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] responsibilities { get; set; } - - /// - /// The "schools" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] schools { get; set; } - - /// - /// The "skills" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] skills { get; set; } - - /// - /// The "deviceEnrollmentLimit" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.user" type. - /// The limit on the maximum number of devices that the user is permitted to enroll. Allowed values are 5 or 1000. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Int32 deviceEnrollmentLimit { get; set; } - - /// - /// The "ownedDevices" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] ownedDevices { get; set; } - - /// - /// The "registeredDevices" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] registeredDevices { get; set; } - - /// - /// The "manager" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object manager { get; set; } - - /// - /// The "directReports" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] directReports { get; set; } - - /// - /// The "memberOf" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] memberOf { get; set; } - - /// - /// The "createdObjects" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] createdObjects { get; set; } - - /// - /// The "ownedObjects" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] ownedObjects { get; set; } - - /// - /// The "licenseDetails" property, of type "microsoft.graph.licenseDetails". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.licenseDetails")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] licenseDetails { get; set; } - - /// - /// The "inferenceClassification" property, of type "microsoft.graph.inferenceClassification". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.inferenceClassification")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object inferenceClassification { get; set; } - - /// - /// The "photo" property, of type "microsoft.graph.profilePhoto". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.profilePhoto")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object photo { get; set; } - - /// - /// The "photos" property, of type "microsoft.graph.profilePhoto". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.profilePhoto")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] photos { get; set; } - - /// - /// The "managedDevices" property, of type "microsoft.graph.managedDevice". - /// This property is on the "microsoft.graph.user" type. - /// The managed devices associated with the user. - /// - [ODataType("microsoft.graph.managedDevice")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] managedDevices { get; set; } - - /// - /// The "managedAppRegistrations" property, of type "microsoft.graph.managedAppRegistration". - /// This property is on the "microsoft.graph.user" type. - /// Zero or more managed app registrations that belong to the user. - /// - [ODataType("microsoft.graph.managedAppRegistration", "microsoft.graph.androidManagedAppRegistration", "microsoft.graph.iosManagedAppRegistration")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] managedAppRegistrations { get; set; } - - /// - /// The "deviceManagementTroubleshootingEvents" property, of type "microsoft.graph.deviceManagementTroubleshootingEvent". - /// This property is on the "microsoft.graph.user" type. - /// The list of troubleshooting events for this user. - /// - [ODataType("microsoft.graph.deviceManagementTroubleshootingEvent", "microsoft.graph.enrollmentTroubleshootingEvent")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] deviceManagementTroubleshootingEvents { get; set; } - - /// - /// The "countryLetterCode" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String countryLetterCode { get; set; } - - /// - /// The "marketingNotificationEmails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] marketingNotificationEmails { get; set; } - - /// - /// The "privacyProfile" property, of type "microsoft.graph.privacyProfile". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("microsoft.graph.privacyProfile")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.Object privacyProfile { get; set; } - - /// - /// The "securityComplianceNotificationMails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] securityComplianceNotificationMails { get; set; } - - /// - /// The "securityComplianceNotificationPhones" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] securityComplianceNotificationPhones { get; set; } - - /// - /// The "street" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String street { get; set; } - - /// - /// The "technicalNotificationMails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] technicalNotificationMails { get; set; } - - /// - /// The "mobileDeviceManagementAuthority" property, of type "microsoft.graph.mdmAuthority". - /// This property is on the "microsoft.graph.organization" type. - /// Mobile device management authority. - /// - [ODataType("microsoft.graph.mdmAuthority")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String mobileDeviceManagementAuthority { get; set; } - - /// - /// The "contractType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.String contractType { get; set; } - - /// - /// The "customerId" property, of type "Edm.Guid". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.Guid")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.Guid customerId { get; set; } - - /// - /// The "defaultDomainName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.String defaultDomainName { get; set; } - - /// - /// The "classification" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.String classification { get; set; } - - /// - /// The "createdDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.DateTimeOffset createdDateTime { get; set; } - - /// - /// The "groupTypes" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.group")] - public System.String[] groupTypes { get; set; } - - /// - /// The "mailEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean mailEnabled { get; set; } - - /// - /// The "renewedDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.DateTimeOffset renewedDateTime { get; set; } - - /// - /// The "securityEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean securityEnabled { get; set; } - - /// - /// The "visibility" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.String visibility { get; set; } - - /// - /// The "allowExternalSenders" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean allowExternalSenders { get; set; } - - /// - /// The "autoSubscribeNewMembers" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean autoSubscribeNewMembers { get; set; } - - /// - /// The "isSubscribedByMail" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean isSubscribedByMail { get; set; } - - /// - /// The "unseenCount" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Int32 unseenCount { get; set; } - - /// - /// The "members" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] members { get; set; } - - /// - /// The "createdOnBehalfOf" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Object createdOnBehalfOf { get; set; } - - /// - /// The "owners" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] owners { get; set; } - - /// - /// The "settings" property, of type "microsoft.graph.groupSetting". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.groupSetting")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] settings { get; set; } - - /// - /// The "groupLifecyclePolicies" property, of type "microsoft.graph.groupLifecyclePolicy". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.groupLifecyclePolicy")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] groupLifecyclePolicies { get; set; } - - /// - /// The "roleTemplateId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.directoryRole" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.directoryRole")] - public System.String roleTemplateId { get; set; } - - /// - /// The "alternativeSecurityIds" property, of type "microsoft.graph.alternativeSecurityId". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.alternativeSecurityId")] - [Selectable] - [DerivedType("microsoft.graph.device")] - public System.Object[] alternativeSecurityIds { get; set; } - - /// - /// The "approximateLastSignInDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.DateTimeOffset approximateLastSignInDateTime { get; set; } - - /// - /// The "deviceId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String deviceId { get; set; } - - /// - /// The "deviceMetadata" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String deviceMetadata { get; set; } - - /// - /// The "deviceVersion" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Int32 deviceVersion { get; set; } - - /// - /// The "isCompliant" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Boolean isCompliant { get; set; } - - /// - /// The "isManaged" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Boolean isManaged { get; set; } - - /// - /// The "operatingSystem" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String operatingSystem { get; set; } - - /// - /// The "operatingSystemVersion" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String operatingSystemVersion { get; set; } - - /// - /// The "physicalIds" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.device")] - public System.String[] physicalIds { get; set; } - - /// - /// The "trustType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String trustType { get; set; } - - /// - /// The "registeredOwners" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] registeredOwners { get; set; } - - /// - /// The "registeredUsers" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] registeredUsers { get; set; } - - /// - /// The "extensions" property, of type "microsoft.graph.extension". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.extension", "microsoft.graph.openTypeExtension")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] extensions { get; set; } - - internal override System.String GetResourcePath() - { - return $"me/createdObjects/{directoryObjectId ?? string.Empty}/$ref"; - } - } - - /// - /// Creates a reference from a "me" to a "microsoft.graph.directoryObject" object. - /// POST ~/me/createdObjects/$ref - /// Creates a reference from the specified "me" object to a "createdObject". - /// - /// GitHub Repository - [Cmdlet("New", "Me_CreatedObjectsReferences", ConfirmImpact = ConfirmImpact.Low)] - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [ResourceTypePropertyName("createdObjectODataType")] - public class New_Me_CreatedObjectsReferences : PostReferenceToCollectionCmdlet - { - /// - /// The ID for a "microsoft.graph.directoryObject" object in the "createdObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - public System.String directoryObjectId { get; set; } - - /// - /// The URL which should be used to access a "microsoft.graph.directoryObject" object. - /// - [Selectable] - [Expandable] - [Alias("deviceReferenceUrl", "directoryRoleReferenceUrl", "directoryRoleTemplateReferenceUrl", "groupReferenceUrl", "contractReferenceUrl", "organizationReferenceUrl", "userReferenceUrl", "groupSettingTemplateReferenceUrl", "administrativeUnitReferenceUrl")] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The URL which should be used to access a "microsoft.graph.directoryObject" object.")] - public System.String directoryObjectReferenceUrl { get; set; } - - internal override System.String GetResourcePath() - { - return $"me/createdObjects/{directoryObjectId}/$ref"; - } - - internal override System.Object GetContent() - { - return this.GetReferenceRequestContent(directoryObjectReferenceUrl); - } - } - - /// - /// Removes a reference from a "me" to a "microsoft.graph.directoryObject" object. - /// DELETE ~/me/createdObjects/directoryObjectId/$ref - /// Removes a reference from the specified "me" object to a "createdObject". - /// - /// GitHub Repository - [Cmdlet("Remove", "Me_CreatedObjectsReferences", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [ResourceTypePropertyName("createdObjectODataType")] - public class Remove_Me_CreatedObjectsReferences : DeleteCmdlet - { - /// - /// The ID for a "microsoft.graph.directoryObject" object in the "createdObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.directoryObject" object in the "createdObjects" collection.")] - public System.String directoryObjectId { get; set; } - - internal override System.String GetResourcePath() - { - return $"me/createdObjects/{directoryObjectId}/$ref"; - } - } -} \ No newline at end of file diff --git a/PowerShellCmdlets/Generated/SDK/Me/DeviceManagementTroubleshootingEvents.cs b/PowerShellCmdlets/Generated/SDK/Me/DeviceManagementTroubleshootingEvents.cs deleted file mode 100644 index 2fc088b..0000000 --- a/PowerShellCmdlets/Generated/SDK/Me/DeviceManagementTroubleshootingEvents.cs +++ /dev/null @@ -1,506 +0,0 @@ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. - -namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets -{ - using System.Management.Automation; - - /// - /// Retrieves "microsoft.graph.deviceManagementTroubleshootingEvent" objects. - /// GET ~/me/deviceManagementTroubleshootingEvents - /// Retrieves "microsoft.graph.deviceManagementTroubleshootingEvent" objects in the "deviceManagementTroubleshootingEvents" collection. - /// The list of troubleshooting events for this user. - /// - /// GitHub Repository - [Cmdlet("Get", "Me_DeviceManagementTroubleshootingEvents", DefaultParameterSetName = @"Search")] - [ODataType("microsoft.graph.deviceManagementTroubleshootingEvent", "microsoft.graph.enrollmentTroubleshootingEvent")] - [ResourceTypePropertyName("deviceManagementTroubleshootingEventODataType")] - [ResourceReference] - public class Get_Me_DeviceManagementTroubleshootingEvents : GetOrSearchCmdlet - { - /// - /// The ID for a "microsoft.graph.deviceManagementTroubleshootingEvent" object in the "deviceManagementTroubleshootingEvents" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(ParameterSetName = @"Get", Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.deviceManagementTroubleshootingEvent" object in the "deviceManagementTroubleshootingEvents" collection.")] - public System.String deviceManagementTroubleshootingEventId { get; set; } - - /// - /// The "eventDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.deviceManagementTroubleshootingEvent" type. - /// Time when the event occurred . - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - public System.DateTimeOffset eventDateTime { get; set; } - - /// - /// The "correlationId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.deviceManagementTroubleshootingEvent" type. - /// Id used for tracing the failure in the service. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String correlationId { get; set; } - - /// - /// The "managedDeviceIdentifier" property, of type "Edm.String". - /// This property is on the "microsoft.graph.enrollmentTroubleshootingEvent" type. - /// Device identifier created or collected by Intune. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.enrollmentTroubleshootingEvent")] - public System.String managedDeviceIdentifier { get; set; } - - /// - /// The "operatingSystem" property, of type "Edm.String". - /// This property is on the "microsoft.graph.enrollmentTroubleshootingEvent" type. - /// Operating System. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.enrollmentTroubleshootingEvent")] - public System.String operatingSystem { get; set; } - - /// - /// The "osVersion" property, of type "Edm.String". - /// This property is on the "microsoft.graph.enrollmentTroubleshootingEvent" type. - /// OS Version. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.enrollmentTroubleshootingEvent")] - public System.String osVersion { get; set; } - - /// - /// The "userId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.enrollmentTroubleshootingEvent" type. - /// Identifier for the user that tried to enroll the device. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.enrollmentTroubleshootingEvent")] - public System.String userId { get; set; } - - /// - /// The "deviceId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.enrollmentTroubleshootingEvent" type. - /// Azure AD device identifier. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.enrollmentTroubleshootingEvent")] - public System.String deviceId { get; set; } - - /// - /// The "enrollmentType" property, of type "microsoft.graph.deviceEnrollmentType". - /// This property is on the "microsoft.graph.enrollmentTroubleshootingEvent" type. - /// Type of the enrollment. - /// - [ODataType("microsoft.graph.deviceEnrollmentType")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.enrollmentTroubleshootingEvent")] - public System.String enrollmentType { get; set; } - - /// - /// The "failureCategory" property, of type "microsoft.graph.deviceEnrollmentFailureReason". - /// This property is on the "microsoft.graph.enrollmentTroubleshootingEvent" type. - /// Highlevel failure category. - /// - [ODataType("microsoft.graph.deviceEnrollmentFailureReason")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.enrollmentTroubleshootingEvent")] - public System.String failureCategory { get; set; } - - /// - /// The "failureReason" property, of type "Edm.String". - /// This property is on the "microsoft.graph.enrollmentTroubleshootingEvent" type. - /// Detailed failure reason. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.enrollmentTroubleshootingEvent")] - public System.String failureReason { get; set; } - - internal override System.String GetResourcePath() - { - return $"me/deviceManagementTroubleshootingEvents/{deviceManagementTroubleshootingEventId ?? string.Empty}"; - } - } - - /// - /// Creates a "microsoft.graph.deviceManagementTroubleshootingEvent" object. - /// POST ~/me/deviceManagementTroubleshootingEvents - /// Adds a "microsoft.graph.deviceManagementTroubleshootingEvent" object to the "deviceManagementTroubleshootingEvents" collection. - /// The list of troubleshooting events for this user. - /// - /// GitHub Repository - [Cmdlet("New", "Me_DeviceManagementTroubleshootingEvents", ConfirmImpact = ConfirmImpact.Low)] - [ODataType("microsoft.graph.deviceManagementTroubleshootingEvent", "microsoft.graph.enrollmentTroubleshootingEvent")] - [ResourceTypePropertyName("deviceManagementTroubleshootingEventODataType")] - [ResourceReference] - public class New_Me_DeviceManagementTroubleshootingEvents : PostCmdlet - { - /// - /// The ID for a "microsoft.graph.deviceManagementTroubleshootingEvent" object in the "deviceManagementTroubleshootingEvents" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - public System.String deviceManagementTroubleshootingEventId { get; set; } - - /// - /// A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.deviceManagementTroubleshootingEvent" type. - /// - [Selectable] - [Expandable] - [ParameterSetSelector(@"microsoft.graph.deviceManagementTroubleshootingEvent")] - [Parameter(ParameterSetName = @"microsoft.graph.deviceManagementTroubleshootingEvent", Mandatory = true, HelpMessage = @"A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.deviceManagementTroubleshootingEvent" type.")] - public System.Management.Automation.SwitchParameter deviceManagementTroubleshootingEvent { get; set; } - - /// - /// The "eventDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.deviceManagementTroubleshootingEvent" type. - /// Time when the event occurred . - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.deviceManagementTroubleshootingEvent", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "eventDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"microsoft.graph.enrollmentTroubleshootingEvent", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "eventDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "eventDateTime" property, of type "Edm.DateTimeOffset".")] - public System.DateTimeOffset eventDateTime { get; set; } - - /// - /// The "correlationId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.deviceManagementTroubleshootingEvent" type. - /// Id used for tracing the failure in the service. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.deviceManagementTroubleshootingEvent", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "correlationId" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.enrollmentTroubleshootingEvent", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "correlationId" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "correlationId" property, of type "Edm.String".")] - public System.String correlationId { get; set; } - - /// - /// A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.enrollmentTroubleshootingEvent" type. - /// - [Selectable] - [Expandable] - [ParameterSetSelector(@"microsoft.graph.enrollmentTroubleshootingEvent")] - [Parameter(ParameterSetName = @"microsoft.graph.enrollmentTroubleshootingEvent", Mandatory = true, HelpMessage = @"A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.enrollmentTroubleshootingEvent" type.")] - public System.Management.Automation.SwitchParameter enrollmentTroubleshootingEvent { get; set; } - - /// - /// The "managedDeviceIdentifier" property, of type "Edm.String". - /// This property is on the "microsoft.graph.enrollmentTroubleshootingEvent" type. - /// Device identifier created or collected by Intune. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.enrollmentTroubleshootingEvent", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "managedDeviceIdentifier" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "managedDeviceIdentifier" property, of type "Edm.String".")] - public System.String managedDeviceIdentifier { get; set; } - - /// - /// The "operatingSystem" property, of type "Edm.String". - /// This property is on the "microsoft.graph.enrollmentTroubleshootingEvent" type. - /// Operating System. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.enrollmentTroubleshootingEvent", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "operatingSystem" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "operatingSystem" property, of type "Edm.String".")] - public System.String operatingSystem { get; set; } - - /// - /// The "osVersion" property, of type "Edm.String". - /// This property is on the "microsoft.graph.enrollmentTroubleshootingEvent" type. - /// OS Version. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.enrollmentTroubleshootingEvent", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "osVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "osVersion" property, of type "Edm.String".")] - public System.String osVersion { get; set; } - - /// - /// The "userId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.enrollmentTroubleshootingEvent" type. - /// Identifier for the user that tried to enroll the device. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.enrollmentTroubleshootingEvent", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "userId" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "userId" property, of type "Edm.String".")] - public System.String userId { get; set; } - - /// - /// The "deviceId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.enrollmentTroubleshootingEvent" type. - /// Azure AD device identifier. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.enrollmentTroubleshootingEvent", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "deviceId" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "deviceId" property, of type "Edm.String".")] - public System.String deviceId { get; set; } - - /// - /// The "enrollmentType" property, of type "microsoft.graph.deviceEnrollmentType". - /// This property is on the "microsoft.graph.enrollmentTroubleshootingEvent" type. - /// Type of the enrollment. - /// - /// Valid values: 'unknown', 'userEnrollment', 'deviceEnrollmentManager', 'appleBulkWithUser', 'appleBulkWithoutUser', 'windowsAzureADJoin', 'windowsBulkUserless', 'windowsAutoEnrollment', 'windowsBulkAzureDomainJoin', 'windowsCoManagement' - /// - /// - [ODataType("microsoft.graph.deviceEnrollmentType")] - [Selectable] - [ValidateSet(@"unknown", @"userEnrollment", @"deviceEnrollmentManager", @"appleBulkWithUser", @"appleBulkWithoutUser", @"windowsAzureADJoin", @"windowsBulkUserless", @"windowsAutoEnrollment", @"windowsBulkAzureDomainJoin", @"windowsCoManagement")] - [Parameter(ParameterSetName = @"microsoft.graph.enrollmentTroubleshootingEvent", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "enrollmentType" property, of type "microsoft.graph.deviceEnrollmentType".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "enrollmentType" property, of type "microsoft.graph.deviceEnrollmentType".")] - public System.String enrollmentType { get; set; } - - /// - /// The "failureCategory" property, of type "microsoft.graph.deviceEnrollmentFailureReason". - /// This property is on the "microsoft.graph.enrollmentTroubleshootingEvent" type. - /// Highlevel failure category. - /// - /// Valid values: 'unknown', 'authentication', 'authorization', 'accountValidation', 'userValidation', 'deviceNotSupported', 'inMaintenance', 'badRequest', 'featureNotSupported', 'enrollmentRestrictionsEnforced', 'clientDisconnected', 'userAbandonment' - /// - /// - [ODataType("microsoft.graph.deviceEnrollmentFailureReason")] - [Selectable] - [ValidateSet(@"unknown", @"authentication", @"authorization", @"accountValidation", @"userValidation", @"deviceNotSupported", @"inMaintenance", @"badRequest", @"featureNotSupported", @"enrollmentRestrictionsEnforced", @"clientDisconnected", @"userAbandonment")] - [Parameter(ParameterSetName = @"microsoft.graph.enrollmentTroubleshootingEvent", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "failureCategory" property, of type "microsoft.graph.deviceEnrollmentFailureReason".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "failureCategory" property, of type "microsoft.graph.deviceEnrollmentFailureReason".")] - public System.String failureCategory { get; set; } - - /// - /// The "failureReason" property, of type "Edm.String". - /// This property is on the "microsoft.graph.enrollmentTroubleshootingEvent" type. - /// Detailed failure reason. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.enrollmentTroubleshootingEvent", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "failureReason" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "failureReason" property, of type "Edm.String".")] - public System.String failureReason { get; set; } - - internal override System.String GetResourcePath() - { - return $"me/deviceManagementTroubleshootingEvents/{deviceManagementTroubleshootingEventId}"; - } - } - - /// - /// Updates a "microsoft.graph.deviceManagementTroubleshootingEvent". - /// PATCH ~/me/deviceManagementTroubleshootingEvents - /// Updates a "microsoft.graph.deviceManagementTroubleshootingEvent" object in the "deviceManagementTroubleshootingEvents" collection. - /// The list of troubleshooting events for this user. - /// - /// GitHub Repository - [Cmdlet("Update", "Me_DeviceManagementTroubleshootingEvents", ConfirmImpact = ConfirmImpact.Medium)] - [ODataType("microsoft.graph.deviceManagementTroubleshootingEvent", "microsoft.graph.enrollmentTroubleshootingEvent")] - [ResourceTypePropertyName("deviceManagementTroubleshootingEventODataType")] - public class Update_Me_DeviceManagementTroubleshootingEvents : PatchCmdlet - { - /// - /// The ID for a "microsoft.graph.deviceManagementTroubleshootingEvent" object in the "deviceManagementTroubleshootingEvents" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.deviceManagementTroubleshootingEvent" object in the "deviceManagementTroubleshootingEvents" collection.")] - public System.String deviceManagementTroubleshootingEventId { get; set; } - - /// - /// A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.deviceManagementTroubleshootingEvent" type. - /// - [Selectable] - [Expandable] - [ParameterSetSelector(@"microsoft.graph.deviceManagementTroubleshootingEvent")] - [Parameter(ParameterSetName = @"microsoft.graph.deviceManagementTroubleshootingEvent", Mandatory = true, HelpMessage = @"A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.deviceManagementTroubleshootingEvent" type.")] - public System.Management.Automation.SwitchParameter deviceManagementTroubleshootingEvent { get; set; } - - /// - /// The "eventDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.deviceManagementTroubleshootingEvent" type. - /// Time when the event occurred . - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.deviceManagementTroubleshootingEvent", HelpMessage = @"The "eventDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"microsoft.graph.enrollmentTroubleshootingEvent", HelpMessage = @"The "eventDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "eventDateTime" property, of type "Edm.DateTimeOffset".")] - public System.DateTimeOffset eventDateTime { get; set; } - - /// - /// The "correlationId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.deviceManagementTroubleshootingEvent" type. - /// Id used for tracing the failure in the service. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.deviceManagementTroubleshootingEvent", HelpMessage = @"The "correlationId" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"microsoft.graph.enrollmentTroubleshootingEvent", HelpMessage = @"The "correlationId" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "correlationId" property, of type "Edm.String".")] - public System.String correlationId { get; set; } - - /// - /// A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.enrollmentTroubleshootingEvent" type. - /// - [Selectable] - [Expandable] - [ParameterSetSelector(@"microsoft.graph.enrollmentTroubleshootingEvent")] - [Parameter(ParameterSetName = @"microsoft.graph.enrollmentTroubleshootingEvent", Mandatory = true, HelpMessage = @"A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.enrollmentTroubleshootingEvent" type.")] - public System.Management.Automation.SwitchParameter enrollmentTroubleshootingEvent { get; set; } - - /// - /// The "managedDeviceIdentifier" property, of type "Edm.String". - /// This property is on the "microsoft.graph.enrollmentTroubleshootingEvent" type. - /// Device identifier created or collected by Intune. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.enrollmentTroubleshootingEvent", HelpMessage = @"The "managedDeviceIdentifier" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "managedDeviceIdentifier" property, of type "Edm.String".")] - public System.String managedDeviceIdentifier { get; set; } - - /// - /// The "operatingSystem" property, of type "Edm.String". - /// This property is on the "microsoft.graph.enrollmentTroubleshootingEvent" type. - /// Operating System. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.enrollmentTroubleshootingEvent", HelpMessage = @"The "operatingSystem" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "operatingSystem" property, of type "Edm.String".")] - public System.String operatingSystem { get; set; } - - /// - /// The "osVersion" property, of type "Edm.String". - /// This property is on the "microsoft.graph.enrollmentTroubleshootingEvent" type. - /// OS Version. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.enrollmentTroubleshootingEvent", HelpMessage = @"The "osVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "osVersion" property, of type "Edm.String".")] - public System.String osVersion { get; set; } - - /// - /// The "userId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.enrollmentTroubleshootingEvent" type. - /// Identifier for the user that tried to enroll the device. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.enrollmentTroubleshootingEvent", HelpMessage = @"The "userId" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "userId" property, of type "Edm.String".")] - public System.String userId { get; set; } - - /// - /// The "deviceId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.enrollmentTroubleshootingEvent" type. - /// Azure AD device identifier. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.enrollmentTroubleshootingEvent", HelpMessage = @"The "deviceId" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "deviceId" property, of type "Edm.String".")] - public System.String deviceId { get; set; } - - /// - /// The "enrollmentType" property, of type "microsoft.graph.deviceEnrollmentType". - /// This property is on the "microsoft.graph.enrollmentTroubleshootingEvent" type. - /// Type of the enrollment. - /// - /// Valid values: 'unknown', 'userEnrollment', 'deviceEnrollmentManager', 'appleBulkWithUser', 'appleBulkWithoutUser', 'windowsAzureADJoin', 'windowsBulkUserless', 'windowsAutoEnrollment', 'windowsBulkAzureDomainJoin', 'windowsCoManagement' - /// - /// - [ODataType("microsoft.graph.deviceEnrollmentType")] - [Selectable] - [ValidateSet(@"unknown", @"userEnrollment", @"deviceEnrollmentManager", @"appleBulkWithUser", @"appleBulkWithoutUser", @"windowsAzureADJoin", @"windowsBulkUserless", @"windowsAutoEnrollment", @"windowsBulkAzureDomainJoin", @"windowsCoManagement")] - [Parameter(ParameterSetName = @"microsoft.graph.enrollmentTroubleshootingEvent", HelpMessage = @"The "enrollmentType" property, of type "microsoft.graph.deviceEnrollmentType".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "enrollmentType" property, of type "microsoft.graph.deviceEnrollmentType".")] - public System.String enrollmentType { get; set; } - - /// - /// The "failureCategory" property, of type "microsoft.graph.deviceEnrollmentFailureReason". - /// This property is on the "microsoft.graph.enrollmentTroubleshootingEvent" type. - /// Highlevel failure category. - /// - /// Valid values: 'unknown', 'authentication', 'authorization', 'accountValidation', 'userValidation', 'deviceNotSupported', 'inMaintenance', 'badRequest', 'featureNotSupported', 'enrollmentRestrictionsEnforced', 'clientDisconnected', 'userAbandonment' - /// - /// - [ODataType("microsoft.graph.deviceEnrollmentFailureReason")] - [Selectable] - [ValidateSet(@"unknown", @"authentication", @"authorization", @"accountValidation", @"userValidation", @"deviceNotSupported", @"inMaintenance", @"badRequest", @"featureNotSupported", @"enrollmentRestrictionsEnforced", @"clientDisconnected", @"userAbandonment")] - [Parameter(ParameterSetName = @"microsoft.graph.enrollmentTroubleshootingEvent", HelpMessage = @"The "failureCategory" property, of type "microsoft.graph.deviceEnrollmentFailureReason".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "failureCategory" property, of type "microsoft.graph.deviceEnrollmentFailureReason".")] - public System.String failureCategory { get; set; } - - /// - /// The "failureReason" property, of type "Edm.String". - /// This property is on the "microsoft.graph.enrollmentTroubleshootingEvent" type. - /// Detailed failure reason. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.enrollmentTroubleshootingEvent", HelpMessage = @"The "failureReason" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "failureReason" property, of type "Edm.String".")] - public System.String failureReason { get; set; } - - internal override System.String GetResourcePath() - { - return $"me/deviceManagementTroubleshootingEvents/{deviceManagementTroubleshootingEventId}"; - } - } - - /// - /// Removes a "microsoft.graph.deviceManagementTroubleshootingEvent" object. - /// DELETE ~/me/deviceManagementTroubleshootingEvents/deviceManagementTroubleshootingEventId - /// Removes a "microsoft.graph.deviceManagementTroubleshootingEvent" object from the "deviceManagementTroubleshootingEvents" collection. - /// The list of troubleshooting events for this user. - /// - /// GitHub Repository - [Cmdlet("Remove", "Me_DeviceManagementTroubleshootingEvents", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.deviceManagementTroubleshootingEvent", "microsoft.graph.enrollmentTroubleshootingEvent")] - [ResourceTypePropertyName("deviceManagementTroubleshootingEventODataType")] - public class Remove_Me_DeviceManagementTroubleshootingEvents : DeleteCmdlet - { - /// - /// The ID for a "microsoft.graph.deviceManagementTroubleshootingEvent" object in the "deviceManagementTroubleshootingEvents" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.deviceManagementTroubleshootingEvent" object in the "deviceManagementTroubleshootingEvents" collection.")] - public System.String deviceManagementTroubleshootingEventId { get; set; } - - internal override System.String GetResourcePath() - { - return $"me/deviceManagementTroubleshootingEvents/{deviceManagementTroubleshootingEventId}"; - } - } -} \ No newline at end of file diff --git a/PowerShellCmdlets/Generated/SDK/Me/DirectReports.cs b/PowerShellCmdlets/Generated/SDK/Me/DirectReports.cs deleted file mode 100644 index 860ba6d..0000000 --- a/PowerShellCmdlets/Generated/SDK/Me/DirectReports.cs +++ /dev/null @@ -1,2327 +0,0 @@ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. - -namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets -{ - using System.Management.Automation; - - /// - /// Retrieves "microsoft.graph.directoryObject" objects. - /// GET ~/me/directReports - /// Retrieves "microsoft.graph.directoryObject" objects in the "directReports" collection. - /// - /// GitHub Repository - [Cmdlet("Get", "Me_DirectReports", DefaultParameterSetName = @"Search")] - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [ResourceTypePropertyName("directReportODataType")] - public class Get_Me_DirectReports : GetOrSearchCmdlet - { - /// - /// The ID for a "microsoft.graph.directoryObject" object in the "directReports" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(ParameterSetName = @"Get", Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.directoryObject" object in the "directReports" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// The "deletedDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.directoryObject" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - public System.DateTimeOffset deletedDateTime { get; set; } - - /// - /// The "displayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.String displayName { get; set; } - - /// - /// The "description" property, of type "Edm.String". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.String description { get; set; } - - /// - /// The "values" property, of type "microsoft.graph.settingTemplateValue". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("microsoft.graph.settingTemplateValue")] - [Selectable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.Object[] values { get; set; } - - /// - /// The "accountEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Boolean accountEnabled { get; set; } - - /// - /// The "ageGroup" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String ageGroup { get; set; } - - /// - /// The "assignedLicenses" property, of type "microsoft.graph.assignedLicense". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.assignedLicense")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] assignedLicenses { get; set; } - - /// - /// The "assignedPlans" property, of type "microsoft.graph.assignedPlan". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.assignedPlan")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] assignedPlans { get; set; } - - /// - /// The "businessPhones" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] businessPhones { get; set; } - - /// - /// The "city" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String city { get; set; } - - /// - /// The "companyName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String companyName { get; set; } - - /// - /// The "consentProvidedForMinor" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String consentProvidedForMinor { get; set; } - - /// - /// The "country" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String country { get; set; } - - /// - /// The "department" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String department { get; set; } - - /// - /// The "givenName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String givenName { get; set; } - - /// - /// The "imAddresses" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] imAddresses { get; set; } - - /// - /// The "jobTitle" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String jobTitle { get; set; } - - /// - /// The "legalAgeGroupClassification" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String legalAgeGroupClassification { get; set; } - - /// - /// The "mail" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mail { get; set; } - - /// - /// The "mailNickname" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mailNickname { get; set; } - - /// - /// The "mobilePhone" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mobilePhone { get; set; } - - /// - /// The "onPremisesExtensionAttributes" property, of type "microsoft.graph.onPremisesExtensionAttributes". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.onPremisesExtensionAttributes")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object onPremisesExtensionAttributes { get; set; } - - /// - /// The "onPremisesImmutableId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesImmutableId { get; set; } - - /// - /// The "onPremisesLastSyncDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset onPremisesLastSyncDateTime { get; set; } - - /// - /// The "onPremisesProvisioningErrors" property, of type "microsoft.graph.onPremisesProvisioningError". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.onPremisesProvisioningError")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] onPremisesProvisioningErrors { get; set; } - - /// - /// The "onPremisesSecurityIdentifier" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesSecurityIdentifier { get; set; } - - /// - /// The "onPremisesSyncEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Boolean onPremisesSyncEnabled { get; set; } - - /// - /// The "onPremisesDomainName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesDomainName { get; set; } - - /// - /// The "onPremisesSamAccountName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesSamAccountName { get; set; } - - /// - /// The "onPremisesUserPrincipalName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesUserPrincipalName { get; set; } - - /// - /// The "passwordPolicies" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String passwordPolicies { get; set; } - - /// - /// The "passwordProfile" property, of type "microsoft.graph.passwordProfile". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.passwordProfile")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object passwordProfile { get; set; } - - /// - /// The "officeLocation" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String officeLocation { get; set; } - - /// - /// The "postalCode" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String postalCode { get; set; } - - /// - /// The "preferredLanguage" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String preferredLanguage { get; set; } - - /// - /// The "provisionedPlans" property, of type "microsoft.graph.provisionedPlan". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.provisionedPlan")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] provisionedPlans { get; set; } - - /// - /// The "proxyAddresses" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] proxyAddresses { get; set; } - - /// - /// The "state" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String state { get; set; } - - /// - /// The "streetAddress" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String streetAddress { get; set; } - - /// - /// The "surname" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String surname { get; set; } - - /// - /// The "usageLocation" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String usageLocation { get; set; } - - /// - /// The "userPrincipalName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String userPrincipalName { get; set; } - - /// - /// The "userType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String userType { get; set; } - - /// - /// The "mailboxSettings" property, of type "microsoft.graph.mailboxSettings". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.mailboxSettings")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object mailboxSettings { get; set; } - - /// - /// The "aboutMe" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String aboutMe { get; set; } - - /// - /// The "birthday" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset birthday { get; set; } - - /// - /// The "hireDate" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset hireDate { get; set; } - - /// - /// The "interests" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] interests { get; set; } - - /// - /// The "mySite" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mySite { get; set; } - - /// - /// The "pastProjects" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] pastProjects { get; set; } - - /// - /// The "preferredName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String preferredName { get; set; } - - /// - /// The "responsibilities" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] responsibilities { get; set; } - - /// - /// The "schools" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] schools { get; set; } - - /// - /// The "skills" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] skills { get; set; } - - /// - /// The "deviceEnrollmentLimit" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.user" type. - /// The limit on the maximum number of devices that the user is permitted to enroll. Allowed values are 5 or 1000. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Int32 deviceEnrollmentLimit { get; set; } - - /// - /// The "ownedDevices" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] ownedDevices { get; set; } - - /// - /// The "registeredDevices" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] registeredDevices { get; set; } - - /// - /// The "manager" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object manager { get; set; } - - /// - /// The "directReports" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] directReports { get; set; } - - /// - /// The "memberOf" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] memberOf { get; set; } - - /// - /// The "createdObjects" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] createdObjects { get; set; } - - /// - /// The "ownedObjects" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] ownedObjects { get; set; } - - /// - /// The "licenseDetails" property, of type "microsoft.graph.licenseDetails". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.licenseDetails")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] licenseDetails { get; set; } - - /// - /// The "inferenceClassification" property, of type "microsoft.graph.inferenceClassification". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.inferenceClassification")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object inferenceClassification { get; set; } - - /// - /// The "photo" property, of type "microsoft.graph.profilePhoto". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.profilePhoto")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object photo { get; set; } - - /// - /// The "photos" property, of type "microsoft.graph.profilePhoto". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.profilePhoto")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] photos { get; set; } - - /// - /// The "managedDevices" property, of type "microsoft.graph.managedDevice". - /// This property is on the "microsoft.graph.user" type. - /// The managed devices associated with the user. - /// - [ODataType("microsoft.graph.managedDevice")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] managedDevices { get; set; } - - /// - /// The "managedAppRegistrations" property, of type "microsoft.graph.managedAppRegistration". - /// This property is on the "microsoft.graph.user" type. - /// Zero or more managed app registrations that belong to the user. - /// - [ODataType("microsoft.graph.managedAppRegistration", "microsoft.graph.androidManagedAppRegistration", "microsoft.graph.iosManagedAppRegistration")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] managedAppRegistrations { get; set; } - - /// - /// The "deviceManagementTroubleshootingEvents" property, of type "microsoft.graph.deviceManagementTroubleshootingEvent". - /// This property is on the "microsoft.graph.user" type. - /// The list of troubleshooting events for this user. - /// - [ODataType("microsoft.graph.deviceManagementTroubleshootingEvent", "microsoft.graph.enrollmentTroubleshootingEvent")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] deviceManagementTroubleshootingEvents { get; set; } - - /// - /// The "countryLetterCode" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String countryLetterCode { get; set; } - - /// - /// The "marketingNotificationEmails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] marketingNotificationEmails { get; set; } - - /// - /// The "privacyProfile" property, of type "microsoft.graph.privacyProfile". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("microsoft.graph.privacyProfile")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.Object privacyProfile { get; set; } - - /// - /// The "securityComplianceNotificationMails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] securityComplianceNotificationMails { get; set; } - - /// - /// The "securityComplianceNotificationPhones" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] securityComplianceNotificationPhones { get; set; } - - /// - /// The "street" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String street { get; set; } - - /// - /// The "technicalNotificationMails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] technicalNotificationMails { get; set; } - - /// - /// The "mobileDeviceManagementAuthority" property, of type "microsoft.graph.mdmAuthority". - /// This property is on the "microsoft.graph.organization" type. - /// Mobile device management authority. - /// - [ODataType("microsoft.graph.mdmAuthority")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String mobileDeviceManagementAuthority { get; set; } - - /// - /// The "contractType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.String contractType { get; set; } - - /// - /// The "customerId" property, of type "Edm.Guid". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.Guid")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.Guid customerId { get; set; } - - /// - /// The "defaultDomainName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.String defaultDomainName { get; set; } - - /// - /// The "classification" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.String classification { get; set; } - - /// - /// The "createdDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.DateTimeOffset createdDateTime { get; set; } - - /// - /// The "groupTypes" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.group")] - public System.String[] groupTypes { get; set; } - - /// - /// The "mailEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean mailEnabled { get; set; } - - /// - /// The "renewedDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.DateTimeOffset renewedDateTime { get; set; } - - /// - /// The "securityEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean securityEnabled { get; set; } - - /// - /// The "visibility" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.String visibility { get; set; } - - /// - /// The "allowExternalSenders" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean allowExternalSenders { get; set; } - - /// - /// The "autoSubscribeNewMembers" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean autoSubscribeNewMembers { get; set; } - - /// - /// The "isSubscribedByMail" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean isSubscribedByMail { get; set; } - - /// - /// The "unseenCount" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Int32 unseenCount { get; set; } - - /// - /// The "members" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] members { get; set; } - - /// - /// The "createdOnBehalfOf" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Object createdOnBehalfOf { get; set; } - - /// - /// The "owners" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] owners { get; set; } - - /// - /// The "settings" property, of type "microsoft.graph.groupSetting". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.groupSetting")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] settings { get; set; } - - /// - /// The "groupLifecyclePolicies" property, of type "microsoft.graph.groupLifecyclePolicy". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.groupLifecyclePolicy")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] groupLifecyclePolicies { get; set; } - - /// - /// The "roleTemplateId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.directoryRole" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.directoryRole")] - public System.String roleTemplateId { get; set; } - - /// - /// The "alternativeSecurityIds" property, of type "microsoft.graph.alternativeSecurityId". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.alternativeSecurityId")] - [Selectable] - [DerivedType("microsoft.graph.device")] - public System.Object[] alternativeSecurityIds { get; set; } - - /// - /// The "approximateLastSignInDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.DateTimeOffset approximateLastSignInDateTime { get; set; } - - /// - /// The "deviceId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String deviceId { get; set; } - - /// - /// The "deviceMetadata" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String deviceMetadata { get; set; } - - /// - /// The "deviceVersion" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Int32 deviceVersion { get; set; } - - /// - /// The "isCompliant" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Boolean isCompliant { get; set; } - - /// - /// The "isManaged" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Boolean isManaged { get; set; } - - /// - /// The "operatingSystem" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String operatingSystem { get; set; } - - /// - /// The "operatingSystemVersion" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String operatingSystemVersion { get; set; } - - /// - /// The "physicalIds" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.device")] - public System.String[] physicalIds { get; set; } - - /// - /// The "trustType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String trustType { get; set; } - - /// - /// The "registeredOwners" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] registeredOwners { get; set; } - - /// - /// The "registeredUsers" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] registeredUsers { get; set; } - - /// - /// The "extensions" property, of type "microsoft.graph.extension". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.extension", "microsoft.graph.openTypeExtension")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] extensions { get; set; } - - internal override System.String GetResourcePath() - { - return $"me/directReports/{directoryObjectId ?? string.Empty}"; - } - } - - /// - /// Retrieves "microsoft.graph.directoryObject" object references. - /// GET ~/me/directReports/$ref - /// Retrieves "microsoft.graph.directoryObject" object references in the "directReports" collection. - /// - /// GitHub Repository - [Cmdlet("Get", "Me_DirectReportsReferences", DefaultParameterSetName = @"Search")] - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [ResourceTypePropertyName("directReportODataType")] - public class Get_Me_DirectReportsReferences : GetOrSearchCmdlet - { - /// - /// The ID for a "microsoft.graph.directoryObject" object in the "directReports" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(ParameterSetName = @"Get", Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.directoryObject" object in the "directReports" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// The "deletedDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.directoryObject" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - public System.DateTimeOffset deletedDateTime { get; set; } - - /// - /// The "displayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.String displayName { get; set; } - - /// - /// The "description" property, of type "Edm.String". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.String description { get; set; } - - /// - /// The "values" property, of type "microsoft.graph.settingTemplateValue". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("microsoft.graph.settingTemplateValue")] - [Selectable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.Object[] values { get; set; } - - /// - /// The "accountEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Boolean accountEnabled { get; set; } - - /// - /// The "ageGroup" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String ageGroup { get; set; } - - /// - /// The "assignedLicenses" property, of type "microsoft.graph.assignedLicense". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.assignedLicense")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] assignedLicenses { get; set; } - - /// - /// The "assignedPlans" property, of type "microsoft.graph.assignedPlan". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.assignedPlan")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] assignedPlans { get; set; } - - /// - /// The "businessPhones" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] businessPhones { get; set; } - - /// - /// The "city" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String city { get; set; } - - /// - /// The "companyName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String companyName { get; set; } - - /// - /// The "consentProvidedForMinor" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String consentProvidedForMinor { get; set; } - - /// - /// The "country" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String country { get; set; } - - /// - /// The "department" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String department { get; set; } - - /// - /// The "givenName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String givenName { get; set; } - - /// - /// The "imAddresses" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] imAddresses { get; set; } - - /// - /// The "jobTitle" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String jobTitle { get; set; } - - /// - /// The "legalAgeGroupClassification" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String legalAgeGroupClassification { get; set; } - - /// - /// The "mail" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mail { get; set; } - - /// - /// The "mailNickname" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mailNickname { get; set; } - - /// - /// The "mobilePhone" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mobilePhone { get; set; } - - /// - /// The "onPremisesExtensionAttributes" property, of type "microsoft.graph.onPremisesExtensionAttributes". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.onPremisesExtensionAttributes")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object onPremisesExtensionAttributes { get; set; } - - /// - /// The "onPremisesImmutableId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesImmutableId { get; set; } - - /// - /// The "onPremisesLastSyncDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset onPremisesLastSyncDateTime { get; set; } - - /// - /// The "onPremisesProvisioningErrors" property, of type "microsoft.graph.onPremisesProvisioningError". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.onPremisesProvisioningError")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] onPremisesProvisioningErrors { get; set; } - - /// - /// The "onPremisesSecurityIdentifier" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesSecurityIdentifier { get; set; } - - /// - /// The "onPremisesSyncEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Boolean onPremisesSyncEnabled { get; set; } - - /// - /// The "onPremisesDomainName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesDomainName { get; set; } - - /// - /// The "onPremisesSamAccountName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesSamAccountName { get; set; } - - /// - /// The "onPremisesUserPrincipalName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesUserPrincipalName { get; set; } - - /// - /// The "passwordPolicies" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String passwordPolicies { get; set; } - - /// - /// The "passwordProfile" property, of type "microsoft.graph.passwordProfile". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.passwordProfile")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object passwordProfile { get; set; } - - /// - /// The "officeLocation" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String officeLocation { get; set; } - - /// - /// The "postalCode" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String postalCode { get; set; } - - /// - /// The "preferredLanguage" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String preferredLanguage { get; set; } - - /// - /// The "provisionedPlans" property, of type "microsoft.graph.provisionedPlan". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.provisionedPlan")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] provisionedPlans { get; set; } - - /// - /// The "proxyAddresses" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] proxyAddresses { get; set; } - - /// - /// The "state" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String state { get; set; } - - /// - /// The "streetAddress" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String streetAddress { get; set; } - - /// - /// The "surname" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String surname { get; set; } - - /// - /// The "usageLocation" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String usageLocation { get; set; } - - /// - /// The "userPrincipalName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String userPrincipalName { get; set; } - - /// - /// The "userType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String userType { get; set; } - - /// - /// The "mailboxSettings" property, of type "microsoft.graph.mailboxSettings". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.mailboxSettings")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object mailboxSettings { get; set; } - - /// - /// The "aboutMe" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String aboutMe { get; set; } - - /// - /// The "birthday" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset birthday { get; set; } - - /// - /// The "hireDate" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset hireDate { get; set; } - - /// - /// The "interests" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] interests { get; set; } - - /// - /// The "mySite" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mySite { get; set; } - - /// - /// The "pastProjects" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] pastProjects { get; set; } - - /// - /// The "preferredName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String preferredName { get; set; } - - /// - /// The "responsibilities" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] responsibilities { get; set; } - - /// - /// The "schools" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] schools { get; set; } - - /// - /// The "skills" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] skills { get; set; } - - /// - /// The "deviceEnrollmentLimit" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.user" type. - /// The limit on the maximum number of devices that the user is permitted to enroll. Allowed values are 5 or 1000. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Int32 deviceEnrollmentLimit { get; set; } - - /// - /// The "ownedDevices" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] ownedDevices { get; set; } - - /// - /// The "registeredDevices" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] registeredDevices { get; set; } - - /// - /// The "manager" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object manager { get; set; } - - /// - /// The "directReports" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] directReports { get; set; } - - /// - /// The "memberOf" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] memberOf { get; set; } - - /// - /// The "createdObjects" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] createdObjects { get; set; } - - /// - /// The "ownedObjects" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] ownedObjects { get; set; } - - /// - /// The "licenseDetails" property, of type "microsoft.graph.licenseDetails". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.licenseDetails")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] licenseDetails { get; set; } - - /// - /// The "inferenceClassification" property, of type "microsoft.graph.inferenceClassification". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.inferenceClassification")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object inferenceClassification { get; set; } - - /// - /// The "photo" property, of type "microsoft.graph.profilePhoto". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.profilePhoto")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object photo { get; set; } - - /// - /// The "photos" property, of type "microsoft.graph.profilePhoto". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.profilePhoto")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] photos { get; set; } - - /// - /// The "managedDevices" property, of type "microsoft.graph.managedDevice". - /// This property is on the "microsoft.graph.user" type. - /// The managed devices associated with the user. - /// - [ODataType("microsoft.graph.managedDevice")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] managedDevices { get; set; } - - /// - /// The "managedAppRegistrations" property, of type "microsoft.graph.managedAppRegistration". - /// This property is on the "microsoft.graph.user" type. - /// Zero or more managed app registrations that belong to the user. - /// - [ODataType("microsoft.graph.managedAppRegistration", "microsoft.graph.androidManagedAppRegistration", "microsoft.graph.iosManagedAppRegistration")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] managedAppRegistrations { get; set; } - - /// - /// The "deviceManagementTroubleshootingEvents" property, of type "microsoft.graph.deviceManagementTroubleshootingEvent". - /// This property is on the "microsoft.graph.user" type. - /// The list of troubleshooting events for this user. - /// - [ODataType("microsoft.graph.deviceManagementTroubleshootingEvent", "microsoft.graph.enrollmentTroubleshootingEvent")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] deviceManagementTroubleshootingEvents { get; set; } - - /// - /// The "countryLetterCode" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String countryLetterCode { get; set; } - - /// - /// The "marketingNotificationEmails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] marketingNotificationEmails { get; set; } - - /// - /// The "privacyProfile" property, of type "microsoft.graph.privacyProfile". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("microsoft.graph.privacyProfile")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.Object privacyProfile { get; set; } - - /// - /// The "securityComplianceNotificationMails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] securityComplianceNotificationMails { get; set; } - - /// - /// The "securityComplianceNotificationPhones" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] securityComplianceNotificationPhones { get; set; } - - /// - /// The "street" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String street { get; set; } - - /// - /// The "technicalNotificationMails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] technicalNotificationMails { get; set; } - - /// - /// The "mobileDeviceManagementAuthority" property, of type "microsoft.graph.mdmAuthority". - /// This property is on the "microsoft.graph.organization" type. - /// Mobile device management authority. - /// - [ODataType("microsoft.graph.mdmAuthority")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String mobileDeviceManagementAuthority { get; set; } - - /// - /// The "contractType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.String contractType { get; set; } - - /// - /// The "customerId" property, of type "Edm.Guid". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.Guid")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.Guid customerId { get; set; } - - /// - /// The "defaultDomainName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.String defaultDomainName { get; set; } - - /// - /// The "classification" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.String classification { get; set; } - - /// - /// The "createdDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.DateTimeOffset createdDateTime { get; set; } - - /// - /// The "groupTypes" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.group")] - public System.String[] groupTypes { get; set; } - - /// - /// The "mailEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean mailEnabled { get; set; } - - /// - /// The "renewedDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.DateTimeOffset renewedDateTime { get; set; } - - /// - /// The "securityEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean securityEnabled { get; set; } - - /// - /// The "visibility" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.String visibility { get; set; } - - /// - /// The "allowExternalSenders" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean allowExternalSenders { get; set; } - - /// - /// The "autoSubscribeNewMembers" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean autoSubscribeNewMembers { get; set; } - - /// - /// The "isSubscribedByMail" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean isSubscribedByMail { get; set; } - - /// - /// The "unseenCount" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Int32 unseenCount { get; set; } - - /// - /// The "members" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] members { get; set; } - - /// - /// The "createdOnBehalfOf" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Object createdOnBehalfOf { get; set; } - - /// - /// The "owners" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] owners { get; set; } - - /// - /// The "settings" property, of type "microsoft.graph.groupSetting". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.groupSetting")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] settings { get; set; } - - /// - /// The "groupLifecyclePolicies" property, of type "microsoft.graph.groupLifecyclePolicy". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.groupLifecyclePolicy")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] groupLifecyclePolicies { get; set; } - - /// - /// The "roleTemplateId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.directoryRole" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.directoryRole")] - public System.String roleTemplateId { get; set; } - - /// - /// The "alternativeSecurityIds" property, of type "microsoft.graph.alternativeSecurityId". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.alternativeSecurityId")] - [Selectable] - [DerivedType("microsoft.graph.device")] - public System.Object[] alternativeSecurityIds { get; set; } - - /// - /// The "approximateLastSignInDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.DateTimeOffset approximateLastSignInDateTime { get; set; } - - /// - /// The "deviceId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String deviceId { get; set; } - - /// - /// The "deviceMetadata" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String deviceMetadata { get; set; } - - /// - /// The "deviceVersion" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Int32 deviceVersion { get; set; } - - /// - /// The "isCompliant" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Boolean isCompliant { get; set; } - - /// - /// The "isManaged" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Boolean isManaged { get; set; } - - /// - /// The "operatingSystem" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String operatingSystem { get; set; } - - /// - /// The "operatingSystemVersion" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String operatingSystemVersion { get; set; } - - /// - /// The "physicalIds" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.device")] - public System.String[] physicalIds { get; set; } - - /// - /// The "trustType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String trustType { get; set; } - - /// - /// The "registeredOwners" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] registeredOwners { get; set; } - - /// - /// The "registeredUsers" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] registeredUsers { get; set; } - - /// - /// The "extensions" property, of type "microsoft.graph.extension". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.extension", "microsoft.graph.openTypeExtension")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] extensions { get; set; } - - internal override System.String GetResourcePath() - { - return $"me/directReports/{directoryObjectId ?? string.Empty}/$ref"; - } - } - - /// - /// Creates a reference from a "me" to a "microsoft.graph.directoryObject" object. - /// POST ~/me/directReports/$ref - /// Creates a reference from the specified "me" object to a "directReport". - /// - /// GitHub Repository - [Cmdlet("New", "Me_DirectReportsReferences", ConfirmImpact = ConfirmImpact.Low)] - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [ResourceTypePropertyName("directReportODataType")] - public class New_Me_DirectReportsReferences : PostReferenceToCollectionCmdlet - { - /// - /// The ID for a "microsoft.graph.directoryObject" object in the "directReports" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - public System.String directoryObjectId { get; set; } - - /// - /// The URL which should be used to access a "microsoft.graph.directoryObject" object. - /// - [Selectable] - [Expandable] - [Alias("deviceReferenceUrl", "directoryRoleReferenceUrl", "directoryRoleTemplateReferenceUrl", "groupReferenceUrl", "contractReferenceUrl", "organizationReferenceUrl", "userReferenceUrl", "groupSettingTemplateReferenceUrl", "administrativeUnitReferenceUrl")] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The URL which should be used to access a "microsoft.graph.directoryObject" object.")] - public System.String directoryObjectReferenceUrl { get; set; } - - internal override System.String GetResourcePath() - { - return $"me/directReports/{directoryObjectId}/$ref"; - } - - internal override System.Object GetContent() - { - return this.GetReferenceRequestContent(directoryObjectReferenceUrl); - } - } - - /// - /// Removes a reference from a "me" to a "microsoft.graph.directoryObject" object. - /// DELETE ~/me/directReports/directoryObjectId/$ref - /// Removes a reference from the specified "me" object to a "directReport". - /// - /// GitHub Repository - [Cmdlet("Remove", "Me_DirectReportsReferences", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [ResourceTypePropertyName("directReportODataType")] - public class Remove_Me_DirectReportsReferences : DeleteCmdlet - { - /// - /// The ID for a "microsoft.graph.directoryObject" object in the "directReports" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.directoryObject" object in the "directReports" collection.")] - public System.String directoryObjectId { get; set; } - - internal override System.String GetResourcePath() - { - return $"me/directReports/{directoryObjectId}/$ref"; - } - } -} \ No newline at end of file diff --git a/PowerShellCmdlets/Generated/SDK/Me/InferenceClassification.cs b/PowerShellCmdlets/Generated/SDK/Me/InferenceClassification.cs deleted file mode 100644 index 1b60539..0000000 --- a/PowerShellCmdlets/Generated/SDK/Me/InferenceClassification.cs +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. - -namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets -{ - using System.Management.Automation; - - /// - /// Retrieves the "inferenceClassification" object. - /// GET ~/me/inferenceClassification - /// Retrieves the "inferenceClassification" object (which is of type "microsoft.graph.inferenceClassification"). - /// - /// GitHub Repository - [Cmdlet("Get", "Me_InferenceClassification", DefaultParameterSetName = @"Get")] - [ODataType("microsoft.graph.inferenceClassification")] - [ResourceTypePropertyName("inferenceClassificationODataType")] - [ResourceReference] - public class Get_Me_InferenceClassification : GetCmdlet - { - /// - /// The "overrides" property, of type "microsoft.graph.inferenceClassificationOverride". - /// This property is on the "microsoft.graph.inferenceClassification" type. - /// - [ODataType("microsoft.graph.inferenceClassificationOverride")] - [Selectable] - [Expandable] - public System.Object[] overrides { get; set; } - - internal override System.String GetResourcePath() - { - return $"me/inferenceClassification"; - } - } - - /// - /// Updates a "microsoft.graph.inferenceClassification". - /// PATCH ~/me/inferenceClassification - /// Updates the "inferenceClassification" object (which is of type "microsoft.graph.inferenceClassification"). - /// - /// GitHub Repository - [Cmdlet("Update", "Me_InferenceClassification", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.inferenceClassification")] - [ODataType("microsoft.graph.inferenceClassification")] - [ResourceTypePropertyName("inferenceClassificationODataType")] - public class Update_Me_InferenceClassification : PatchCmdlet - { - /// - /// The "overrides" property, of type "microsoft.graph.inferenceClassificationOverride". - /// This property is on the "microsoft.graph.inferenceClassification" type. - /// - [ODataType("microsoft.graph.inferenceClassificationOverride")] - [Selectable] - [Expandable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.inferenceClassification", HelpMessage = @"The "overrides" property, of type "microsoft.graph.inferenceClassificationOverride".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "overrides" property, of type "microsoft.graph.inferenceClassificationOverride".")] - public System.Object[] overrides { get; set; } - - internal override System.String GetResourcePath() - { - return $"me/inferenceClassification"; - } - } -} \ No newline at end of file diff --git a/PowerShellCmdlets/Generated/SDK/Me/InferenceClassification/Overrides.cs b/PowerShellCmdlets/Generated/SDK/Me/InferenceClassification/Overrides.cs deleted file mode 100644 index 2afad35..0000000 --- a/PowerShellCmdlets/Generated/SDK/Me/InferenceClassification/Overrides.cs +++ /dev/null @@ -1,184 +0,0 @@ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. - -namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets -{ - using System.Management.Automation; - - /// - /// Retrieves "microsoft.graph.inferenceClassificationOverride" objects. - /// GET ~/me/inferenceClassification/overrides - /// Retrieves "microsoft.graph.inferenceClassificationOverride" objects in the "overrides" collection. - /// - /// GitHub Repository - [Cmdlet("Get", "Me_InferenceClassification_Overrides", DefaultParameterSetName = @"Search")] - [ODataType("microsoft.graph.inferenceClassificationOverride")] - [ResourceTypePropertyName("overrideODataType")] - [ResourceReference] - public class Get_Me_InferenceClassification_Overrides : GetOrSearchCmdlet - { - /// - /// The ID for a "microsoft.graph.inferenceClassificationOverride" object in the "overrides" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(ParameterSetName = @"Get", Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.inferenceClassificationOverride" object in the "overrides" collection.")] - public System.String inferenceClassificationOverrideId { get; set; } - - /// - /// The "classifyAs" property, of type "microsoft.graph.inferenceClassificationType". - /// This property is on the "microsoft.graph.inferenceClassificationOverride" type. - /// - [ODataType("microsoft.graph.inferenceClassificationType")] - [Selectable] - [Sortable] - public System.String classifyAs { get; set; } - - /// - /// The "senderEmailAddress" property, of type "microsoft.graph.emailAddress". - /// This property is on the "microsoft.graph.inferenceClassificationOverride" type. - /// - [ODataType("microsoft.graph.emailAddress")] - [Selectable] - [Sortable] - public System.Object senderEmailAddress { get; set; } - - internal override System.String GetResourcePath() - { - return $"me/inferenceClassification/overrides/{inferenceClassificationOverrideId ?? string.Empty}"; - } - } - - /// - /// Creates a "microsoft.graph.inferenceClassificationOverride" object. - /// POST ~/me/inferenceClassification/overrides - /// Adds a "microsoft.graph.inferenceClassificationOverride" object to the "overrides" collection. - /// - /// GitHub Repository - [Cmdlet("New", "Me_InferenceClassification_Overrides", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.inferenceClassificationOverride")] - [ODataType("microsoft.graph.inferenceClassificationOverride")] - [ResourceTypePropertyName("overrideODataType")] - [ResourceReference] - public class New_Me_InferenceClassification_Overrides : PostCmdlet - { - /// - /// The ID for a "microsoft.graph.inferenceClassificationOverride" object in the "overrides" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - public System.String inferenceClassificationOverrideId { get; set; } - - /// - /// The "classifyAs" property, of type "microsoft.graph.inferenceClassificationType". - /// This property is on the "microsoft.graph.inferenceClassificationOverride" type. - /// - /// Valid values: 'focused', 'other' - /// - /// - [ODataType("microsoft.graph.inferenceClassificationType")] - [Selectable] - [ValidateSet(@"focused", @"other")] - [Parameter(ParameterSetName = @"microsoft.graph.inferenceClassificationOverride", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "classifyAs" property, of type "microsoft.graph.inferenceClassificationType".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "classifyAs" property, of type "microsoft.graph.inferenceClassificationType".")] - public System.String classifyAs { get; set; } - - /// - /// The "senderEmailAddress" property, of type "microsoft.graph.emailAddress". - /// This property is on the "microsoft.graph.inferenceClassificationOverride" type. - /// - [ODataType("microsoft.graph.emailAddress")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.inferenceClassificationOverride", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "senderEmailAddress" property, of type "microsoft.graph.emailAddress".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "senderEmailAddress" property, of type "microsoft.graph.emailAddress".")] - public System.Object senderEmailAddress { get; set; } - - internal override System.String GetResourcePath() - { - return $"me/inferenceClassification/overrides/{inferenceClassificationOverrideId}"; - } - } - - /// - /// Updates a "microsoft.graph.inferenceClassificationOverride". - /// PATCH ~/me/inferenceClassification/overrides - /// Updates a "microsoft.graph.inferenceClassificationOverride" object in the "overrides" collection. - /// - /// GitHub Repository - [Cmdlet("Update", "Me_InferenceClassification_Overrides", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.inferenceClassificationOverride")] - [ODataType("microsoft.graph.inferenceClassificationOverride")] - [ResourceTypePropertyName("overrideODataType")] - public class Update_Me_InferenceClassification_Overrides : PatchCmdlet - { - /// - /// The ID for a "microsoft.graph.inferenceClassificationOverride" object in the "overrides" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.inferenceClassificationOverride" object in the "overrides" collection.")] - public System.String inferenceClassificationOverrideId { get; set; } - - /// - /// The "classifyAs" property, of type "microsoft.graph.inferenceClassificationType". - /// This property is on the "microsoft.graph.inferenceClassificationOverride" type. - /// - /// Valid values: 'focused', 'other' - /// - /// - [ODataType("microsoft.graph.inferenceClassificationType")] - [Selectable] - [ValidateSet(@"focused", @"other")] - [Parameter(ParameterSetName = @"microsoft.graph.inferenceClassificationOverride", HelpMessage = @"The "classifyAs" property, of type "microsoft.graph.inferenceClassificationType".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "classifyAs" property, of type "microsoft.graph.inferenceClassificationType".")] - public System.String classifyAs { get; set; } - - /// - /// The "senderEmailAddress" property, of type "microsoft.graph.emailAddress". - /// This property is on the "microsoft.graph.inferenceClassificationOverride" type. - /// - [ODataType("microsoft.graph.emailAddress")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.inferenceClassificationOverride", HelpMessage = @"The "senderEmailAddress" property, of type "microsoft.graph.emailAddress".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "senderEmailAddress" property, of type "microsoft.graph.emailAddress".")] - public System.Object senderEmailAddress { get; set; } - - internal override System.String GetResourcePath() - { - return $"me/inferenceClassification/overrides/{inferenceClassificationOverrideId}"; - } - } - - /// - /// Removes a "microsoft.graph.inferenceClassificationOverride" object. - /// DELETE ~/me/inferenceClassification/overrides/inferenceClassificationOverrideId - /// Removes a "microsoft.graph.inferenceClassificationOverride" object from the "overrides" collection. - /// - /// GitHub Repository - [Cmdlet("Remove", "Me_InferenceClassification_Overrides", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.inferenceClassificationOverride")] - [ResourceTypePropertyName("overrideODataType")] - public class Remove_Me_InferenceClassification_Overrides : DeleteCmdlet - { - /// - /// The ID for a "microsoft.graph.inferenceClassificationOverride" object in the "overrides" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.inferenceClassificationOverride" object in the "overrides" collection.")] - public System.String inferenceClassificationOverrideId { get; set; } - - internal override System.String GetResourcePath() - { - return $"me/inferenceClassification/overrides/{inferenceClassificationOverrideId}"; - } - } -} \ No newline at end of file diff --git a/PowerShellCmdlets/Generated/SDK/Me/LicenseDetails.cs b/PowerShellCmdlets/Generated/SDK/Me/LicenseDetails.cs deleted file mode 100644 index edd60dd..0000000 --- a/PowerShellCmdlets/Generated/SDK/Me/LicenseDetails.cs +++ /dev/null @@ -1,206 +0,0 @@ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. - -namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets -{ - using System.Management.Automation; - - /// - /// Retrieves "microsoft.graph.licenseDetails" objects. - /// GET ~/me/licenseDetails - /// Retrieves "microsoft.graph.licenseDetails" objects in the "licenseDetails" collection. - /// - /// GitHub Repository - [Cmdlet("Get", "Me_LicenseDetails", DefaultParameterSetName = @"Search")] - [ODataType("microsoft.graph.licenseDetails")] - [ResourceTypePropertyName("licenseDetailODataType")] - [ResourceReference] - public class Get_Me_LicenseDetails : GetOrSearchCmdlet - { - /// - /// The ID for a "microsoft.graph.licenseDetails" object in the "licenseDetails" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(ParameterSetName = @"Get", Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.licenseDetails" object in the "licenseDetails" collection.")] - public System.String licenseDetailId { get; set; } - - /// - /// The "servicePlans" property, of type "microsoft.graph.servicePlanInfo". - /// This property is on the "microsoft.graph.licenseDetails" type. - /// - [ODataType("microsoft.graph.servicePlanInfo")] - [Selectable] - public System.Object[] servicePlans { get; set; } - - /// - /// The "skuId" property, of type "Edm.Guid". - /// This property is on the "microsoft.graph.licenseDetails" type. - /// - [ODataType("Edm.Guid")] - [Selectable] - [Sortable] - public System.Guid skuId { get; set; } - - /// - /// The "skuPartNumber" property, of type "Edm.String". - /// This property is on the "microsoft.graph.licenseDetails" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String skuPartNumber { get; set; } - - internal override System.String GetResourcePath() - { - return $"me/licenseDetails/{licenseDetailId ?? string.Empty}"; - } - } - - /// - /// Creates a "microsoft.graph.licenseDetails" object. - /// POST ~/me/licenseDetails - /// Adds a "microsoft.graph.licenseDetails" object to the "licenseDetails" collection. - /// - /// GitHub Repository - [Cmdlet("New", "Me_LicenseDetails", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.licenseDetails")] - [ODataType("microsoft.graph.licenseDetails")] - [ResourceTypePropertyName("licenseDetailODataType")] - [ResourceReference] - public class New_Me_LicenseDetails : PostCmdlet - { - /// - /// The ID for a "microsoft.graph.licenseDetails" object in the "licenseDetails" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - public System.String licenseDetailId { get; set; } - - /// - /// The "servicePlans" property, of type "microsoft.graph.servicePlanInfo". - /// This property is on the "microsoft.graph.licenseDetails" type. - /// - [ODataType("microsoft.graph.servicePlanInfo")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.licenseDetails", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "servicePlans" property, of type "microsoft.graph.servicePlanInfo".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "servicePlans" property, of type "microsoft.graph.servicePlanInfo".")] - public System.Object[] servicePlans { get; set; } - - /// - /// The "skuId" property, of type "Edm.Guid". - /// This property is on the "microsoft.graph.licenseDetails" type. - /// - [ODataType("Edm.Guid")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.licenseDetails", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "skuId" property, of type "Edm.Guid".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "skuId" property, of type "Edm.Guid".")] - public System.Guid skuId { get; set; } - - /// - /// The "skuPartNumber" property, of type "Edm.String". - /// This property is on the "microsoft.graph.licenseDetails" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.licenseDetails", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "skuPartNumber" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "skuPartNumber" property, of type "Edm.String".")] - public System.String skuPartNumber { get; set; } - - internal override System.String GetResourcePath() - { - return $"me/licenseDetails/{licenseDetailId}"; - } - } - - /// - /// Updates a "microsoft.graph.licenseDetails". - /// PATCH ~/me/licenseDetails - /// Updates a "microsoft.graph.licenseDetails" object in the "licenseDetails" collection. - /// - /// GitHub Repository - [Cmdlet("Update", "Me_LicenseDetails", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.licenseDetails")] - [ODataType("microsoft.graph.licenseDetails")] - [ResourceTypePropertyName("licenseDetailODataType")] - public class Update_Me_LicenseDetails : PatchCmdlet - { - /// - /// The ID for a "microsoft.graph.licenseDetails" object in the "licenseDetails" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.licenseDetails" object in the "licenseDetails" collection.")] - public System.String licenseDetailId { get; set; } - - /// - /// The "servicePlans" property, of type "microsoft.graph.servicePlanInfo". - /// This property is on the "microsoft.graph.licenseDetails" type. - /// - [ODataType("microsoft.graph.servicePlanInfo")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.licenseDetails", HelpMessage = @"The "servicePlans" property, of type "microsoft.graph.servicePlanInfo".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "servicePlans" property, of type "microsoft.graph.servicePlanInfo".")] - public System.Object[] servicePlans { get; set; } - - /// - /// The "skuId" property, of type "Edm.Guid". - /// This property is on the "microsoft.graph.licenseDetails" type. - /// - [ODataType("Edm.Guid")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.licenseDetails", HelpMessage = @"The "skuId" property, of type "Edm.Guid".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "skuId" property, of type "Edm.Guid".")] - public System.Guid skuId { get; set; } - - /// - /// The "skuPartNumber" property, of type "Edm.String". - /// This property is on the "microsoft.graph.licenseDetails" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.licenseDetails", HelpMessage = @"The "skuPartNumber" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "skuPartNumber" property, of type "Edm.String".")] - public System.String skuPartNumber { get; set; } - - internal override System.String GetResourcePath() - { - return $"me/licenseDetails/{licenseDetailId}"; - } - } - - /// - /// Removes a "microsoft.graph.licenseDetails" object. - /// DELETE ~/me/licenseDetails/licenseDetailId - /// Removes a "microsoft.graph.licenseDetails" object from the "licenseDetails" collection. - /// - /// GitHub Repository - [Cmdlet("Remove", "Me_LicenseDetails", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.licenseDetails")] - [ResourceTypePropertyName("licenseDetailODataType")] - public class Remove_Me_LicenseDetails : DeleteCmdlet - { - /// - /// The ID for a "microsoft.graph.licenseDetails" object in the "licenseDetails" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.licenseDetails" object in the "licenseDetails" collection.")] - public System.String licenseDetailId { get; set; } - - internal override System.String GetResourcePath() - { - return $"me/licenseDetails/{licenseDetailId}"; - } - } -} \ No newline at end of file diff --git a/PowerShellCmdlets/Generated/SDK/Me/ManagedAppRegistrations.cs b/PowerShellCmdlets/Generated/SDK/Me/ManagedAppRegistrations.cs deleted file mode 100644 index 2079caa..0000000 --- a/PowerShellCmdlets/Generated/SDK/Me/ManagedAppRegistrations.cs +++ /dev/null @@ -1,433 +0,0 @@ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. - -namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets -{ - using System.Management.Automation; - - /// - /// Retrieves "microsoft.graph.managedAppRegistration" objects. - /// GET ~/me/managedAppRegistrations - /// Retrieves "microsoft.graph.managedAppRegistration" objects in the "managedAppRegistrations" collection. - /// Zero or more managed app registrations that belong to the user. - /// - /// GitHub Repository - [Cmdlet("Get", "Me_ManagedAppRegistrations", DefaultParameterSetName = @"Search")] - [ODataType("microsoft.graph.managedAppRegistration", "microsoft.graph.androidManagedAppRegistration", "microsoft.graph.iosManagedAppRegistration")] - [ResourceTypePropertyName("managedAppRegistrationODataType")] - public class Get_Me_ManagedAppRegistrations : GetOrSearchCmdlet - { - /// - /// The ID for a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(ParameterSetName = @"Get", Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection.")] - public System.String managedAppRegistrationId { get; set; } - - /// - /// The "createdDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.managedAppRegistration" type. - /// Date and time of creation - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - public System.DateTimeOffset createdDateTime { get; set; } - - /// - /// The "lastSyncDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.managedAppRegistration" type. - /// Date and time of last the app synced with management service. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - public System.DateTimeOffset lastSyncDateTime { get; set; } - - /// - /// The "applicationVersion" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedAppRegistration" type. - /// App version - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String applicationVersion { get; set; } - - /// - /// The "managementSdkVersion" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedAppRegistration" type. - /// App management SDK version - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String managementSdkVersion { get; set; } - - /// - /// The "platformVersion" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedAppRegistration" type. - /// Operating System version - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String platformVersion { get; set; } - - /// - /// The "deviceType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedAppRegistration" type. - /// Host device type - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String deviceType { get; set; } - - /// - /// The "deviceTag" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedAppRegistration" type. - /// App management SDK generated tag, which helps relate apps hosted on the same device. Not guaranteed to relate apps in all conditions. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String deviceTag { get; set; } - - /// - /// The "deviceName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedAppRegistration" type. - /// Host device name - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String deviceName { get; set; } - - /// - /// The "flaggedReasons" property, of type "microsoft.graph.managedAppFlaggedReason". - /// This property is on the "microsoft.graph.managedAppRegistration" type. - /// Zero or more reasons an app registration is flagged. E.g. app running on rooted device - /// - [ODataType("microsoft.graph.managedAppFlaggedReason")] - [Selectable] - public System.String[] flaggedReasons { get; set; } - - /// - /// The "userId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedAppRegistration" type. - /// The user Id to who this app registration belongs. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String userId { get; set; } - - /// - /// The "appIdentifier" property, of type "microsoft.graph.mobileAppIdentifier". - /// This property is on the "microsoft.graph.managedAppRegistration" type. - /// The app package Identifier - /// - [ODataType("microsoft.graph.mobileAppIdentifier", "microsoft.graph.iosMobileAppIdentifier", "microsoft.graph.androidMobileAppIdentifier")] - [Selectable] - [Sortable] - public System.Object appIdentifier { get; set; } - - /// - /// The "version" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedAppRegistration" type. - /// Version of the entity. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String version { get; set; } - - /// - /// The "appliedPolicies" property, of type "microsoft.graph.managedAppPolicy". - /// This property is on the "microsoft.graph.managedAppRegistration" type. - /// Zero or more policys already applied on the registered app when it last synchronized with managment service. - /// - [ODataType("microsoft.graph.managedAppPolicy", "microsoft.graph.windowsInformationProtection", "microsoft.graph.windowsInformationProtectionPolicy", "microsoft.graph.mdmWindowsInformationProtectionPolicy", "microsoft.graph.managedAppConfiguration", "microsoft.graph.targetedManagedAppConfiguration", "microsoft.graph.managedAppProtection", "microsoft.graph.defaultManagedAppProtection", "microsoft.graph.targetedManagedAppProtection", "microsoft.graph.androidManagedAppProtection", "microsoft.graph.iosManagedAppProtection")] - [Selectable] - [Expandable] - public System.Object[] appliedPolicies { get; set; } - - /// - /// The "intendedPolicies" property, of type "microsoft.graph.managedAppPolicy". - /// This property is on the "microsoft.graph.managedAppRegistration" type. - /// Zero or more policies admin intended for the app as of now. - /// - [ODataType("microsoft.graph.managedAppPolicy", "microsoft.graph.windowsInformationProtection", "microsoft.graph.windowsInformationProtectionPolicy", "microsoft.graph.mdmWindowsInformationProtectionPolicy", "microsoft.graph.managedAppConfiguration", "microsoft.graph.targetedManagedAppConfiguration", "microsoft.graph.managedAppProtection", "microsoft.graph.defaultManagedAppProtection", "microsoft.graph.targetedManagedAppProtection", "microsoft.graph.androidManagedAppProtection", "microsoft.graph.iosManagedAppProtection")] - [Selectable] - [Expandable] - public System.Object[] intendedPolicies { get; set; } - - /// - /// The "operations" property, of type "microsoft.graph.managedAppOperation". - /// This property is on the "microsoft.graph.managedAppRegistration" type. - /// Zero or more long running operations triggered on the app registration. - /// - [ODataType("microsoft.graph.managedAppOperation")] - [Selectable] - [Expandable] - public System.Object[] operations { get; set; } - - internal override System.String GetResourcePath() - { - return $"me/managedAppRegistrations/{managedAppRegistrationId ?? string.Empty}"; - } - } - - /// - /// Retrieves "microsoft.graph.managedAppRegistration" object references. - /// GET ~/me/managedAppRegistrations/$ref - /// Retrieves "microsoft.graph.managedAppRegistration" object references in the "managedAppRegistrations" collection. - /// Zero or more managed app registrations that belong to the user. - /// - /// GitHub Repository - [Cmdlet("Get", "Me_ManagedAppRegistrationsReferences", DefaultParameterSetName = @"Search")] - [ODataType("microsoft.graph.managedAppRegistration", "microsoft.graph.androidManagedAppRegistration", "microsoft.graph.iosManagedAppRegistration")] - [ResourceTypePropertyName("managedAppRegistrationODataType")] - public class Get_Me_ManagedAppRegistrationsReferences : GetOrSearchCmdlet - { - /// - /// The ID for a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(ParameterSetName = @"Get", Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection.")] - public System.String managedAppRegistrationId { get; set; } - - /// - /// The "createdDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.managedAppRegistration" type. - /// Date and time of creation - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - public System.DateTimeOffset createdDateTime { get; set; } - - /// - /// The "lastSyncDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.managedAppRegistration" type. - /// Date and time of last the app synced with management service. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - public System.DateTimeOffset lastSyncDateTime { get; set; } - - /// - /// The "applicationVersion" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedAppRegistration" type. - /// App version - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String applicationVersion { get; set; } - - /// - /// The "managementSdkVersion" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedAppRegistration" type. - /// App management SDK version - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String managementSdkVersion { get; set; } - - /// - /// The "platformVersion" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedAppRegistration" type. - /// Operating System version - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String platformVersion { get; set; } - - /// - /// The "deviceType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedAppRegistration" type. - /// Host device type - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String deviceType { get; set; } - - /// - /// The "deviceTag" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedAppRegistration" type. - /// App management SDK generated tag, which helps relate apps hosted on the same device. Not guaranteed to relate apps in all conditions. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String deviceTag { get; set; } - - /// - /// The "deviceName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedAppRegistration" type. - /// Host device name - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String deviceName { get; set; } - - /// - /// The "flaggedReasons" property, of type "microsoft.graph.managedAppFlaggedReason". - /// This property is on the "microsoft.graph.managedAppRegistration" type. - /// Zero or more reasons an app registration is flagged. E.g. app running on rooted device - /// - [ODataType("microsoft.graph.managedAppFlaggedReason")] - [Selectable] - public System.String[] flaggedReasons { get; set; } - - /// - /// The "userId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedAppRegistration" type. - /// The user Id to who this app registration belongs. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String userId { get; set; } - - /// - /// The "appIdentifier" property, of type "microsoft.graph.mobileAppIdentifier". - /// This property is on the "microsoft.graph.managedAppRegistration" type. - /// The app package Identifier - /// - [ODataType("microsoft.graph.mobileAppIdentifier", "microsoft.graph.iosMobileAppIdentifier", "microsoft.graph.androidMobileAppIdentifier")] - [Selectable] - [Sortable] - public System.Object appIdentifier { get; set; } - - /// - /// The "version" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedAppRegistration" type. - /// Version of the entity. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String version { get; set; } - - /// - /// The "appliedPolicies" property, of type "microsoft.graph.managedAppPolicy". - /// This property is on the "microsoft.graph.managedAppRegistration" type. - /// Zero or more policys already applied on the registered app when it last synchronized with managment service. - /// - [ODataType("microsoft.graph.managedAppPolicy", "microsoft.graph.windowsInformationProtection", "microsoft.graph.windowsInformationProtectionPolicy", "microsoft.graph.mdmWindowsInformationProtectionPolicy", "microsoft.graph.managedAppConfiguration", "microsoft.graph.targetedManagedAppConfiguration", "microsoft.graph.managedAppProtection", "microsoft.graph.defaultManagedAppProtection", "microsoft.graph.targetedManagedAppProtection", "microsoft.graph.androidManagedAppProtection", "microsoft.graph.iosManagedAppProtection")] - [Selectable] - [Expandable] - public System.Object[] appliedPolicies { get; set; } - - /// - /// The "intendedPolicies" property, of type "microsoft.graph.managedAppPolicy". - /// This property is on the "microsoft.graph.managedAppRegistration" type. - /// Zero or more policies admin intended for the app as of now. - /// - [ODataType("microsoft.graph.managedAppPolicy", "microsoft.graph.windowsInformationProtection", "microsoft.graph.windowsInformationProtectionPolicy", "microsoft.graph.mdmWindowsInformationProtectionPolicy", "microsoft.graph.managedAppConfiguration", "microsoft.graph.targetedManagedAppConfiguration", "microsoft.graph.managedAppProtection", "microsoft.graph.defaultManagedAppProtection", "microsoft.graph.targetedManagedAppProtection", "microsoft.graph.androidManagedAppProtection", "microsoft.graph.iosManagedAppProtection")] - [Selectable] - [Expandable] - public System.Object[] intendedPolicies { get; set; } - - /// - /// The "operations" property, of type "microsoft.graph.managedAppOperation". - /// This property is on the "microsoft.graph.managedAppRegistration" type. - /// Zero or more long running operations triggered on the app registration. - /// - [ODataType("microsoft.graph.managedAppOperation")] - [Selectable] - [Expandable] - public System.Object[] operations { get; set; } - - internal override System.String GetResourcePath() - { - return $"me/managedAppRegistrations/{managedAppRegistrationId ?? string.Empty}/$ref"; - } - } - - /// - /// Creates a reference from a "me" to a "microsoft.graph.managedAppRegistration" object. - /// POST ~/me/managedAppRegistrations/$ref - /// Creates a reference from the specified "me" object to a "managedAppRegistration". - /// Zero or more managed app registrations that belong to the user. - /// - /// GitHub Repository - [Cmdlet("New", "Me_ManagedAppRegistrationsReferences", ConfirmImpact = ConfirmImpact.Low)] - [ODataType("microsoft.graph.managedAppRegistration", "microsoft.graph.androidManagedAppRegistration", "microsoft.graph.iosManagedAppRegistration")] - [ResourceTypePropertyName("managedAppRegistrationODataType")] - public class New_Me_ManagedAppRegistrationsReferences : PostReferenceToCollectionCmdlet - { - /// - /// The ID for a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - public System.String managedAppRegistrationId { get; set; } - - /// - /// The URL which should be used to access a "microsoft.graph.managedAppRegistration" object. - /// - [Selectable] - [Expandable] - [Alias("iosManagedAppRegistrationReferenceUrl", "androidManagedAppRegistrationReferenceUrl")] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The URL which should be used to access a "microsoft.graph.managedAppRegistration" object.")] - public System.String managedAppRegistrationReferenceUrl { get; set; } - - internal override System.String GetResourcePath() - { - return $"me/managedAppRegistrations/{managedAppRegistrationId}/$ref"; - } - - internal override System.Object GetContent() - { - return this.GetReferenceRequestContent(managedAppRegistrationReferenceUrl); - } - } - - /// - /// Removes a reference from a "me" to a "microsoft.graph.managedAppRegistration" object. - /// DELETE ~/me/managedAppRegistrations/managedAppRegistrationId/$ref - /// Removes a reference from the specified "me" object to a "managedAppRegistration". - /// Zero or more managed app registrations that belong to the user. - /// - /// GitHub Repository - [Cmdlet("Remove", "Me_ManagedAppRegistrationsReferences", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.managedAppRegistration", "microsoft.graph.androidManagedAppRegistration", "microsoft.graph.iosManagedAppRegistration")] - [ResourceTypePropertyName("managedAppRegistrationODataType")] - public class Remove_Me_ManagedAppRegistrationsReferences : DeleteCmdlet - { - /// - /// The ID for a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.managedAppRegistration" object in the "managedAppRegistrations" collection.")] - public System.String managedAppRegistrationId { get; set; } - - internal override System.String GetResourcePath() - { - return $"me/managedAppRegistrations/{managedAppRegistrationId}/$ref"; - } - } -} \ No newline at end of file diff --git a/PowerShellCmdlets/Generated/SDK/Me/ManagedDevices.cs b/PowerShellCmdlets/Generated/SDK/Me/ManagedDevices.cs deleted file mode 100644 index cb74232..0000000 --- a/PowerShellCmdlets/Generated/SDK/Me/ManagedDevices.cs +++ /dev/null @@ -1,2335 +0,0 @@ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. - -namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets -{ - using System.Management.Automation; - - /// - /// Retrieves "microsoft.graph.managedDevice" objects. - /// GET ~/me/managedDevices - /// Retrieves "microsoft.graph.managedDevice" objects in the "managedDevices" collection. - /// The managed devices associated with the user. - /// - /// GitHub Repository - [Cmdlet("Get", "Me_ManagedDevices", DefaultParameterSetName = @"Search")] - [ODataType("microsoft.graph.managedDevice")] - [ResourceTypePropertyName("managedDeviceODataType")] - [ResourceReference] - public class Get_Me_ManagedDevices : GetOrSearchCmdlet - { - /// - /// The ID for a "microsoft.graph.managedDevice" object in the "managedDevices" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(ParameterSetName = @"Get", Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.managedDevice" object in the "managedDevices" collection.")] - public System.String managedDeviceId { get; set; } - - /// - /// The "userId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Unique Identifier for the user associated with the device - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String userId { get; set; } - - /// - /// The "deviceName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Name of the device - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String deviceName { get; set; } - - /// - /// The "managedDeviceOwnerType" property, of type "microsoft.graph.managedDeviceOwnerType". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Ownership of the device. Can be 'company' or 'personal' - /// - [ODataType("microsoft.graph.managedDeviceOwnerType")] - [Selectable] - [Sortable] - public System.String managedDeviceOwnerType { get; set; } - - /// - /// The "deviceActionResults" property, of type "microsoft.graph.deviceActionResult". - /// This property is on the "microsoft.graph.managedDevice" type. - /// List of ComplexType deviceActionResult objects. - /// - [ODataType("microsoft.graph.deviceActionResult", "microsoft.graph.resetPasscodeActionResult", "microsoft.graph.remoteLockActionResult", "microsoft.graph.locateDeviceActionResult", "microsoft.graph.deleteUserFromSharedAppleDeviceActionResult", "microsoft.graph.windowsDefenderScanActionResult")] - [Selectable] - public System.Object[] deviceActionResults { get; set; } - - /// - /// The "enrolledDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Enrollment time of the device. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - public System.DateTimeOffset enrolledDateTime { get; set; } - - /// - /// The "lastSyncDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.managedDevice" type. - /// The date and time that the device last completed a successful sync with Intune. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - public System.DateTimeOffset lastSyncDateTime { get; set; } - - /// - /// The "operatingSystem" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Operating system of the device. Windows, iOS, etc. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String operatingSystem { get; set; } - - /// - /// The "complianceState" property, of type "microsoft.graph.complianceState". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Compliance state of the device. - /// - [ODataType("microsoft.graph.complianceState")] - [Selectable] - [Sortable] - public System.String complianceState { get; set; } - - /// - /// The "jailBroken" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// whether the device is jail broken or rooted. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String jailBroken { get; set; } - - /// - /// The "managementAgent" property, of type "microsoft.graph.managementAgentType". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Management channel of the device. Intune, EAS, etc. - /// - [ODataType("microsoft.graph.managementAgentType")] - [Selectable] - [Sortable] - public System.String managementAgent { get; set; } - - /// - /// The "osVersion" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Operating system version of the device. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String osVersion { get; set; } - - /// - /// The "easActivated" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Whether the device is Exchange ActiveSync activated. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - public System.Boolean easActivated { get; set; } - - /// - /// The "easDeviceId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Exchange ActiveSync Id of the device. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String easDeviceId { get; set; } - - /// - /// The "easActivationDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Exchange ActivationSync activation time of the device. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - public System.DateTimeOffset easActivationDateTime { get; set; } - - /// - /// The "azureADRegistered" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Whether the device is Azure Active Directory registered. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - public System.Boolean azureADRegistered { get; set; } - - /// - /// The "deviceEnrollmentType" property, of type "microsoft.graph.deviceEnrollmentType". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Enrollment type of the device. - /// - [ODataType("microsoft.graph.deviceEnrollmentType")] - [Selectable] - [Sortable] - public System.String deviceEnrollmentType { get; set; } - - /// - /// The "activationLockBypassCode" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Code that allows the Activation Lock on a device to be bypassed. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String activationLockBypassCode { get; set; } - - /// - /// The "emailAddress" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Email(s) for the user associated with the device - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String emailAddress { get; set; } - - /// - /// The "azureADDeviceId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// The unique identifier for the Azure Active Directory device. Read only. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String azureADDeviceId { get; set; } - - /// - /// The "deviceRegistrationState" property, of type "microsoft.graph.deviceRegistrationState". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Device registration state. - /// - [ODataType("microsoft.graph.deviceRegistrationState")] - [Selectable] - [Sortable] - public System.String deviceRegistrationState { get; set; } - - /// - /// The "deviceCategoryDisplayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Device category display name - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String deviceCategoryDisplayName { get; set; } - - /// - /// The "isSupervised" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Device supervised status - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - public System.Boolean isSupervised { get; set; } - - /// - /// The "exchangeLastSuccessfulSyncDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Last time the device contacted Exchange. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - public System.DateTimeOffset exchangeLastSuccessfulSyncDateTime { get; set; } - - /// - /// The "exchangeAccessState" property, of type "microsoft.graph.deviceManagementExchangeAccessState". - /// This property is on the "microsoft.graph.managedDevice" type. - /// The Access State of the device in Exchange. - /// - [ODataType("microsoft.graph.deviceManagementExchangeAccessState")] - [Selectable] - [Sortable] - public System.String exchangeAccessState { get; set; } - - /// - /// The "exchangeAccessStateReason" property, of type "microsoft.graph.deviceManagementExchangeAccessStateReason". - /// This property is on the "microsoft.graph.managedDevice" type. - /// The reason for the device's access state in Exchange. - /// - [ODataType("microsoft.graph.deviceManagementExchangeAccessStateReason")] - [Selectable] - [Sortable] - public System.String exchangeAccessStateReason { get; set; } - - /// - /// The "remoteAssistanceSessionUrl" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Url that allows a Remote Assistance session to be established with the device. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String remoteAssistanceSessionUrl { get; set; } - - /// - /// The "remoteAssistanceSessionErrorDetails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// An error string that identifies issues when creating Remote Assistance session objects. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String remoteAssistanceSessionErrorDetails { get; set; } - - /// - /// The "isEncrypted" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Device encryption status - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - public System.Boolean isEncrypted { get; set; } - - /// - /// The "userPrincipalName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Device user principal name - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String userPrincipalName { get; set; } - - /// - /// The "model" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Model of the device - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String model { get; set; } - - /// - /// The "manufacturer" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Manufacturer of the device - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String manufacturer { get; set; } - - /// - /// The "imei" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// IMEI - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String imei { get; set; } - - /// - /// The "complianceGracePeriodExpirationDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.managedDevice" type. - /// The DateTime when device compliance grace period expires - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - public System.DateTimeOffset complianceGracePeriodExpirationDateTime { get; set; } - - /// - /// The "serialNumber" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// SerialNumber - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String serialNumber { get; set; } - - /// - /// The "phoneNumber" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Phone number of the device - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String phoneNumber { get; set; } - - /// - /// The "androidSecurityPatchLevel" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Android security patch level - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String androidSecurityPatchLevel { get; set; } - - /// - /// The "userDisplayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// User display name - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String userDisplayName { get; set; } - - /// - /// The "configurationManagerClientEnabledFeatures" property, of type "microsoft.graph.configurationManagerClientEnabledFeatures". - /// This property is on the "microsoft.graph.managedDevice" type. - /// ConfigrMgr client enabled features - /// - [ODataType("microsoft.graph.configurationManagerClientEnabledFeatures")] - [Selectable] - [Sortable] - public System.Object configurationManagerClientEnabledFeatures { get; set; } - - /// - /// The "wiFiMacAddress" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Wi-Fi MAC - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String wiFiMacAddress { get; set; } - - /// - /// The "deviceHealthAttestationState" property, of type "microsoft.graph.deviceHealthAttestationState". - /// This property is on the "microsoft.graph.managedDevice" type. - /// The device health attestation state. - /// - [ODataType("microsoft.graph.deviceHealthAttestationState")] - [Selectable] - [Sortable] - public System.Object deviceHealthAttestationState { get; set; } - - /// - /// The "subscriberCarrier" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Subscriber Carrier - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String subscriberCarrier { get; set; } - - /// - /// The "meid" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// MEID - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String meid { get; set; } - - /// - /// The "totalStorageSpaceInBytes" property, of type "Edm.Int64". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Total Storage in Bytes - /// - [ODataType("Edm.Int64")] - [Selectable] - [Sortable] - public System.Int64 totalStorageSpaceInBytes { get; set; } - - /// - /// The "freeStorageSpaceInBytes" property, of type "Edm.Int64". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Free Storage in Bytes - /// - [ODataType("Edm.Int64")] - [Selectable] - [Sortable] - public System.Int64 freeStorageSpaceInBytes { get; set; } - - /// - /// The "managedDeviceName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Automatically generated name to identify a device. Can be overwritten to a user friendly name. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String managedDeviceName { get; set; } - - /// - /// The "partnerReportedThreatState" property, of type "microsoft.graph.managedDevicePartnerReportedHealthState". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Indicates the threat state of a device when a Mobile Threat Defense partner is in use by the account and device. Read Only. - /// - [ODataType("microsoft.graph.managedDevicePartnerReportedHealthState")] - [Selectable] - [Sortable] - public System.String partnerReportedThreatState { get; set; } - - /// - /// The "deviceConfigurationStates" property, of type "microsoft.graph.deviceConfigurationState". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Device configuration states for this device. - /// - [ODataType("microsoft.graph.deviceConfigurationState")] - [Selectable] - [Expandable] - public System.Object[] deviceConfigurationStates { get; set; } - - /// - /// The "deviceCategory" property, of type "microsoft.graph.deviceCategory". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Device category - /// - [ODataType("microsoft.graph.deviceCategory")] - [Selectable] - [Expandable] - [Sortable] - public System.Object deviceCategory { get; set; } - - /// - /// The "deviceCompliancePolicyStates" property, of type "microsoft.graph.deviceCompliancePolicyState". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Device compliance policy states for this device. - /// - [ODataType("microsoft.graph.deviceCompliancePolicyState")] - [Selectable] - [Expandable] - public System.Object[] deviceCompliancePolicyStates { get; set; } - - internal override System.String GetResourcePath() - { - return $"me/managedDevices/{managedDeviceId ?? string.Empty}"; - } - } - - /// - /// Creates a "microsoft.graph.managedDevice" object. - /// POST ~/me/managedDevices - /// Adds a "microsoft.graph.managedDevice" object to the "managedDevices" collection. - /// The managed devices associated with the user. - /// - /// GitHub Repository - [Cmdlet("New", "Me_ManagedDevices", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.managedDevice")] - [ODataType("microsoft.graph.managedDevice")] - [ResourceTypePropertyName("managedDeviceODataType")] - [ResourceReference] - public class New_Me_ManagedDevices : PostCmdlet - { - /// - /// The ID for a "microsoft.graph.managedDevice" object in the "managedDevices" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - public System.String managedDeviceId { get; set; } - - /// - /// The "userId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Unique Identifier for the user associated with the device - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "userId" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "userId" property, of type "Edm.String".")] - public System.String userId { get; set; } - - /// - /// The "deviceName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Name of the device - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "deviceName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "deviceName" property, of type "Edm.String".")] - public System.String deviceName { get; set; } - - /// - /// The "managedDeviceOwnerType" property, of type "microsoft.graph.managedDeviceOwnerType". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Ownership of the device. Can be 'company' or 'personal' - /// - /// Valid values: 'unknown', 'company', 'personal' - /// - /// - [ODataType("microsoft.graph.managedDeviceOwnerType")] - [Selectable] - [ValidateSet(@"unknown", @"company", @"personal")] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "managedDeviceOwnerType" property, of type "microsoft.graph.managedDeviceOwnerType".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "managedDeviceOwnerType" property, of type "microsoft.graph.managedDeviceOwnerType".")] - public System.String managedDeviceOwnerType { get; set; } - - /// - /// The "deviceActionResults" property, of type "microsoft.graph.deviceActionResult". - /// This property is on the "microsoft.graph.managedDevice" type. - /// List of ComplexType deviceActionResult objects. - /// - [ODataType("microsoft.graph.deviceActionResult", "microsoft.graph.resetPasscodeActionResult", "microsoft.graph.remoteLockActionResult", "microsoft.graph.locateDeviceActionResult", "microsoft.graph.deleteUserFromSharedAppleDeviceActionResult", "microsoft.graph.windowsDefenderScanActionResult")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "deviceActionResults" property, of type "microsoft.graph.deviceActionResult".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "deviceActionResults" property, of type "microsoft.graph.deviceActionResult".")] - public System.Object[] deviceActionResults { get; set; } - - /// - /// The "enrolledDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Enrollment time of the device. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "enrolledDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "enrolledDateTime" property, of type "Edm.DateTimeOffset".")] - public System.DateTimeOffset enrolledDateTime { get; set; } - - /// - /// The "lastSyncDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.managedDevice" type. - /// The date and time that the device last completed a successful sync with Intune. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "lastSyncDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "lastSyncDateTime" property, of type "Edm.DateTimeOffset".")] - public System.DateTimeOffset lastSyncDateTime { get; set; } - - /// - /// The "operatingSystem" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Operating system of the device. Windows, iOS, etc. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "operatingSystem" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "operatingSystem" property, of type "Edm.String".")] - public System.String operatingSystem { get; set; } - - /// - /// The "complianceState" property, of type "microsoft.graph.complianceState". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Compliance state of the device. - /// - /// Valid values: 'unknown', 'compliant', 'noncompliant', 'conflict', 'error', 'inGracePeriod', 'configManager' - /// - /// - [ODataType("microsoft.graph.complianceState")] - [Selectable] - [ValidateSet(@"unknown", @"compliant", @"noncompliant", @"conflict", @"error", @"inGracePeriod", @"configManager")] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "complianceState" property, of type "microsoft.graph.complianceState".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "complianceState" property, of type "microsoft.graph.complianceState".")] - public System.String complianceState { get; set; } - - /// - /// The "jailBroken" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// whether the device is jail broken or rooted. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "jailBroken" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "jailBroken" property, of type "Edm.String".")] - public System.String jailBroken { get; set; } - - /// - /// The "managementAgent" property, of type "microsoft.graph.managementAgentType". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Management channel of the device. Intune, EAS, etc. - /// - /// Valid values: 'eas', 'mdm', 'easMdm', 'intuneClient', 'easIntuneClient', 'configurationManagerClient', 'configurationManagerClientMdm', 'configurationManagerClientMdmEas', 'unknown', 'jamf', 'googleCloudDevicePolicyController' - /// - /// - [ODataType("microsoft.graph.managementAgentType")] - [Selectable] - [ValidateSet(@"eas", @"mdm", @"easMdm", @"intuneClient", @"easIntuneClient", @"configurationManagerClient", @"configurationManagerClientMdm", @"configurationManagerClientMdmEas", @"unknown", @"jamf", @"googleCloudDevicePolicyController")] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "managementAgent" property, of type "microsoft.graph.managementAgentType".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "managementAgent" property, of type "microsoft.graph.managementAgentType".")] - public System.String managementAgent { get; set; } - - /// - /// The "osVersion" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Operating system version of the device. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "osVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "osVersion" property, of type "Edm.String".")] - public System.String osVersion { get; set; } - - /// - /// The "easActivated" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Whether the device is Exchange ActiveSync activated. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "easActivated" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "easActivated" property, of type "Edm.Boolean".")] - public System.Boolean easActivated { get; set; } - - /// - /// The "easDeviceId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Exchange ActiveSync Id of the device. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "easDeviceId" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "easDeviceId" property, of type "Edm.String".")] - public System.String easDeviceId { get; set; } - - /// - /// The "easActivationDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Exchange ActivationSync activation time of the device. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "easActivationDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "easActivationDateTime" property, of type "Edm.DateTimeOffset".")] - public System.DateTimeOffset easActivationDateTime { get; set; } - - /// - /// The "azureADRegistered" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Whether the device is Azure Active Directory registered. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "azureADRegistered" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "azureADRegistered" property, of type "Edm.Boolean".")] - public System.Boolean azureADRegistered { get; set; } - - /// - /// The "deviceEnrollmentType" property, of type "microsoft.graph.deviceEnrollmentType". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Enrollment type of the device. - /// - /// Valid values: 'unknown', 'userEnrollment', 'deviceEnrollmentManager', 'appleBulkWithUser', 'appleBulkWithoutUser', 'windowsAzureADJoin', 'windowsBulkUserless', 'windowsAutoEnrollment', 'windowsBulkAzureDomainJoin', 'windowsCoManagement' - /// - /// - [ODataType("microsoft.graph.deviceEnrollmentType")] - [Selectable] - [ValidateSet(@"unknown", @"userEnrollment", @"deviceEnrollmentManager", @"appleBulkWithUser", @"appleBulkWithoutUser", @"windowsAzureADJoin", @"windowsBulkUserless", @"windowsAutoEnrollment", @"windowsBulkAzureDomainJoin", @"windowsCoManagement")] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "deviceEnrollmentType" property, of type "microsoft.graph.deviceEnrollmentType".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "deviceEnrollmentType" property, of type "microsoft.graph.deviceEnrollmentType".")] - public System.String deviceEnrollmentType { get; set; } - - /// - /// The "activationLockBypassCode" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Code that allows the Activation Lock on a device to be bypassed. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "activationLockBypassCode" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "activationLockBypassCode" property, of type "Edm.String".")] - public System.String activationLockBypassCode { get; set; } - - /// - /// The "emailAddress" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Email(s) for the user associated with the device - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "emailAddress" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "emailAddress" property, of type "Edm.String".")] - public System.String emailAddress { get; set; } - - /// - /// The "azureADDeviceId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// The unique identifier for the Azure Active Directory device. Read only. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "azureADDeviceId" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "azureADDeviceId" property, of type "Edm.String".")] - public System.String azureADDeviceId { get; set; } - - /// - /// The "deviceRegistrationState" property, of type "microsoft.graph.deviceRegistrationState". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Device registration state. - /// - /// Valid values: 'notRegistered', 'registered', 'revoked', 'keyConflict', 'approvalPending', 'certificateReset', 'notRegisteredPendingEnrollment', 'unknown' - /// - /// - [ODataType("microsoft.graph.deviceRegistrationState")] - [Selectable] - [ValidateSet(@"notRegistered", @"registered", @"revoked", @"keyConflict", @"approvalPending", @"certificateReset", @"notRegisteredPendingEnrollment", @"unknown")] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "deviceRegistrationState" property, of type "microsoft.graph.deviceRegistrationState".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "deviceRegistrationState" property, of type "microsoft.graph.deviceRegistrationState".")] - public System.String deviceRegistrationState { get; set; } - - /// - /// The "deviceCategoryDisplayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Device category display name - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "deviceCategoryDisplayName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "deviceCategoryDisplayName" property, of type "Edm.String".")] - public System.String deviceCategoryDisplayName { get; set; } - - /// - /// The "isSupervised" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Device supervised status - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "isSupervised" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "isSupervised" property, of type "Edm.Boolean".")] - public System.Boolean isSupervised { get; set; } - - /// - /// The "exchangeLastSuccessfulSyncDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Last time the device contacted Exchange. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "exchangeLastSuccessfulSyncDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "exchangeLastSuccessfulSyncDateTime" property, of type "Edm.DateTimeOffset".")] - public System.DateTimeOffset exchangeLastSuccessfulSyncDateTime { get; set; } - - /// - /// The "exchangeAccessState" property, of type "microsoft.graph.deviceManagementExchangeAccessState". - /// This property is on the "microsoft.graph.managedDevice" type. - /// The Access State of the device in Exchange. - /// - /// Valid values: 'none', 'unknown', 'allowed', 'blocked', 'quarantined' - /// - /// - [ODataType("microsoft.graph.deviceManagementExchangeAccessState")] - [Selectable] - [ValidateSet(@"none", @"unknown", @"allowed", @"blocked", @"quarantined")] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "exchangeAccessState" property, of type "microsoft.graph.deviceManagementExchangeAccessState".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "exchangeAccessState" property, of type "microsoft.graph.deviceManagementExchangeAccessState".")] - public System.String exchangeAccessState { get; set; } - - /// - /// The "exchangeAccessStateReason" property, of type "microsoft.graph.deviceManagementExchangeAccessStateReason". - /// This property is on the "microsoft.graph.managedDevice" type. - /// The reason for the device's access state in Exchange. - /// - /// Valid values: 'none', 'unknown', 'exchangeGlobalRule', 'exchangeIndividualRule', 'exchangeDeviceRule', 'exchangeUpgrade', 'exchangeMailboxPolicy', 'other', 'compliant', 'notCompliant', 'notEnrolled', 'unknownLocation', 'mfaRequired', 'azureADBlockDueToAccessPolicy', 'compromisedPassword', 'deviceNotKnownWithManagedApp' - /// - /// - [ODataType("microsoft.graph.deviceManagementExchangeAccessStateReason")] - [Selectable] - [ValidateSet(@"none", @"unknown", @"exchangeGlobalRule", @"exchangeIndividualRule", @"exchangeDeviceRule", @"exchangeUpgrade", @"exchangeMailboxPolicy", @"other", @"compliant", @"notCompliant", @"notEnrolled", @"unknownLocation", @"mfaRequired", @"azureADBlockDueToAccessPolicy", @"compromisedPassword", @"deviceNotKnownWithManagedApp")] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "exchangeAccessStateReason" property, of type "microsoft.graph.deviceManagementExchangeAccessStateReason".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "exchangeAccessStateReason" property, of type "microsoft.graph.deviceManagementExchangeAccessStateReason".")] - public System.String exchangeAccessStateReason { get; set; } - - /// - /// The "remoteAssistanceSessionUrl" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Url that allows a Remote Assistance session to be established with the device. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "remoteAssistanceSessionUrl" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "remoteAssistanceSessionUrl" property, of type "Edm.String".")] - public System.String remoteAssistanceSessionUrl { get; set; } - - /// - /// The "remoteAssistanceSessionErrorDetails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// An error string that identifies issues when creating Remote Assistance session objects. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "remoteAssistanceSessionErrorDetails" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "remoteAssistanceSessionErrorDetails" property, of type "Edm.String".")] - public System.String remoteAssistanceSessionErrorDetails { get; set; } - - /// - /// The "isEncrypted" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Device encryption status - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "isEncrypted" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "isEncrypted" property, of type "Edm.Boolean".")] - public System.Boolean isEncrypted { get; set; } - - /// - /// The "userPrincipalName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Device user principal name - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "userPrincipalName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "userPrincipalName" property, of type "Edm.String".")] - public System.String userPrincipalName { get; set; } - - /// - /// The "model" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Model of the device - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "model" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "model" property, of type "Edm.String".")] - public System.String model { get; set; } - - /// - /// The "manufacturer" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Manufacturer of the device - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "manufacturer" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "manufacturer" property, of type "Edm.String".")] - public System.String manufacturer { get; set; } - - /// - /// The "imei" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// IMEI - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "imei" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "imei" property, of type "Edm.String".")] - public System.String imei { get; set; } - - /// - /// The "complianceGracePeriodExpirationDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.managedDevice" type. - /// The DateTime when device compliance grace period expires - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "complianceGracePeriodExpirationDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "complianceGracePeriodExpirationDateTime" property, of type "Edm.DateTimeOffset".")] - public System.DateTimeOffset complianceGracePeriodExpirationDateTime { get; set; } - - /// - /// The "serialNumber" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// SerialNumber - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "serialNumber" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "serialNumber" property, of type "Edm.String".")] - public System.String serialNumber { get; set; } - - /// - /// The "phoneNumber" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Phone number of the device - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "phoneNumber" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "phoneNumber" property, of type "Edm.String".")] - public System.String phoneNumber { get; set; } - - /// - /// The "androidSecurityPatchLevel" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Android security patch level - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "androidSecurityPatchLevel" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "androidSecurityPatchLevel" property, of type "Edm.String".")] - public System.String androidSecurityPatchLevel { get; set; } - - /// - /// The "userDisplayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// User display name - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "userDisplayName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "userDisplayName" property, of type "Edm.String".")] - public System.String userDisplayName { get; set; } - - /// - /// The "configurationManagerClientEnabledFeatures" property, of type "microsoft.graph.configurationManagerClientEnabledFeatures". - /// This property is on the "microsoft.graph.managedDevice" type. - /// ConfigrMgr client enabled features - /// - [ODataType("microsoft.graph.configurationManagerClientEnabledFeatures")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "configurationManagerClientEnabledFeatures" property, of type "microsoft.graph.configurationManagerClientEnabledFeatures".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "configurationManagerClientEnabledFeatures" property, of type "microsoft.graph.configurationManagerClientEnabledFeatures".")] - public System.Object configurationManagerClientEnabledFeatures { get; set; } - - /// - /// The "wiFiMacAddress" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Wi-Fi MAC - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "wiFiMacAddress" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "wiFiMacAddress" property, of type "Edm.String".")] - public System.String wiFiMacAddress { get; set; } - - /// - /// The "deviceHealthAttestationState" property, of type "microsoft.graph.deviceHealthAttestationState". - /// This property is on the "microsoft.graph.managedDevice" type. - /// The device health attestation state. - /// - [ODataType("microsoft.graph.deviceHealthAttestationState")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "deviceHealthAttestationState" property, of type "microsoft.graph.deviceHealthAttestationState".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "deviceHealthAttestationState" property, of type "microsoft.graph.deviceHealthAttestationState".")] - public System.Object deviceHealthAttestationState { get; set; } - - /// - /// The "subscriberCarrier" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Subscriber Carrier - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "subscriberCarrier" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "subscriberCarrier" property, of type "Edm.String".")] - public System.String subscriberCarrier { get; set; } - - /// - /// The "meid" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// MEID - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "meid" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "meid" property, of type "Edm.String".")] - public System.String meid { get; set; } - - /// - /// The "totalStorageSpaceInBytes" property, of type "Edm.Int64". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Total Storage in Bytes - /// - [ODataType("Edm.Int64")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "totalStorageSpaceInBytes" property, of type "Edm.Int64".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "totalStorageSpaceInBytes" property, of type "Edm.Int64".")] - public System.Int64 totalStorageSpaceInBytes { get; set; } - - /// - /// The "freeStorageSpaceInBytes" property, of type "Edm.Int64". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Free Storage in Bytes - /// - [ODataType("Edm.Int64")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "freeStorageSpaceInBytes" property, of type "Edm.Int64".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "freeStorageSpaceInBytes" property, of type "Edm.Int64".")] - public System.Int64 freeStorageSpaceInBytes { get; set; } - - /// - /// The "managedDeviceName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Automatically generated name to identify a device. Can be overwritten to a user friendly name. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "managedDeviceName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "managedDeviceName" property, of type "Edm.String".")] - public System.String managedDeviceName { get; set; } - - /// - /// The "partnerReportedThreatState" property, of type "microsoft.graph.managedDevicePartnerReportedHealthState". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Indicates the threat state of a device when a Mobile Threat Defense partner is in use by the account and device. Read Only. - /// - /// Valid values: 'unknown', 'activated', 'deactivated', 'secured', 'lowSeverity', 'mediumSeverity', 'highSeverity', 'unresponsive', 'compromised', 'misconfigured' - /// - /// - [ODataType("microsoft.graph.managedDevicePartnerReportedHealthState")] - [Selectable] - [ValidateSet(@"unknown", @"activated", @"deactivated", @"secured", @"lowSeverity", @"mediumSeverity", @"highSeverity", @"unresponsive", @"compromised", @"misconfigured")] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "partnerReportedThreatState" property, of type "microsoft.graph.managedDevicePartnerReportedHealthState".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "partnerReportedThreatState" property, of type "microsoft.graph.managedDevicePartnerReportedHealthState".")] - public System.String partnerReportedThreatState { get; set; } - - /// - /// The "deviceConfigurationStates" property, of type "microsoft.graph.deviceConfigurationState". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Device configuration states for this device. - /// - [ODataType("microsoft.graph.deviceConfigurationState")] - [Selectable] - [Expandable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "deviceConfigurationStates" property, of type "microsoft.graph.deviceConfigurationState".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "deviceConfigurationStates" property, of type "microsoft.graph.deviceConfigurationState".")] - public System.Object[] deviceConfigurationStates { get; set; } - - /// - /// The "deviceCategory" property, of type "microsoft.graph.deviceCategory". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Device category - /// - [ODataType("microsoft.graph.deviceCategory")] - [Selectable] - [Expandable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "deviceCategory" property, of type "microsoft.graph.deviceCategory".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "deviceCategory" property, of type "microsoft.graph.deviceCategory".")] - public System.Object deviceCategory { get; set; } - - /// - /// The "deviceCompliancePolicyStates" property, of type "microsoft.graph.deviceCompliancePolicyState". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Device compliance policy states for this device. - /// - [ODataType("microsoft.graph.deviceCompliancePolicyState")] - [Selectable] - [Expandable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "deviceCompliancePolicyStates" property, of type "microsoft.graph.deviceCompliancePolicyState".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "deviceCompliancePolicyStates" property, of type "microsoft.graph.deviceCompliancePolicyState".")] - public System.Object[] deviceCompliancePolicyStates { get; set; } - - internal override System.String GetResourcePath() - { - return $"me/managedDevices/{managedDeviceId}"; - } - } - - /// - /// Updates a "microsoft.graph.managedDevice". - /// PATCH ~/me/managedDevices - /// Updates a "microsoft.graph.managedDevice" object in the "managedDevices" collection. - /// The managed devices associated with the user. - /// - /// GitHub Repository - [Cmdlet("Update", "Me_ManagedDevices", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.managedDevice")] - [ODataType("microsoft.graph.managedDevice")] - [ResourceTypePropertyName("managedDeviceODataType")] - public class Update_Me_ManagedDevices : PatchCmdlet - { - /// - /// The ID for a "microsoft.graph.managedDevice" object in the "managedDevices" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.managedDevice" object in the "managedDevices" collection.")] - public System.String managedDeviceId { get; set; } - - /// - /// The "userId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Unique Identifier for the user associated with the device - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", HelpMessage = @"The "userId" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "userId" property, of type "Edm.String".")] - public System.String userId { get; set; } - - /// - /// The "deviceName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Name of the device - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", HelpMessage = @"The "deviceName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "deviceName" property, of type "Edm.String".")] - public System.String deviceName { get; set; } - - /// - /// The "managedDeviceOwnerType" property, of type "microsoft.graph.managedDeviceOwnerType". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Ownership of the device. Can be 'company' or 'personal' - /// - /// Valid values: 'unknown', 'company', 'personal' - /// - /// - [ODataType("microsoft.graph.managedDeviceOwnerType")] - [Selectable] - [ValidateSet(@"unknown", @"company", @"personal")] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", HelpMessage = @"The "managedDeviceOwnerType" property, of type "microsoft.graph.managedDeviceOwnerType".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "managedDeviceOwnerType" property, of type "microsoft.graph.managedDeviceOwnerType".")] - public System.String managedDeviceOwnerType { get; set; } - - /// - /// The "deviceActionResults" property, of type "microsoft.graph.deviceActionResult". - /// This property is on the "microsoft.graph.managedDevice" type. - /// List of ComplexType deviceActionResult objects. - /// - [ODataType("microsoft.graph.deviceActionResult", "microsoft.graph.resetPasscodeActionResult", "microsoft.graph.remoteLockActionResult", "microsoft.graph.locateDeviceActionResult", "microsoft.graph.deleteUserFromSharedAppleDeviceActionResult", "microsoft.graph.windowsDefenderScanActionResult")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", HelpMessage = @"The "deviceActionResults" property, of type "microsoft.graph.deviceActionResult".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "deviceActionResults" property, of type "microsoft.graph.deviceActionResult".")] - public System.Object[] deviceActionResults { get; set; } - - /// - /// The "enrolledDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Enrollment time of the device. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", HelpMessage = @"The "enrolledDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "enrolledDateTime" property, of type "Edm.DateTimeOffset".")] - public System.DateTimeOffset enrolledDateTime { get; set; } - - /// - /// The "lastSyncDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.managedDevice" type. - /// The date and time that the device last completed a successful sync with Intune. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", HelpMessage = @"The "lastSyncDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "lastSyncDateTime" property, of type "Edm.DateTimeOffset".")] - public System.DateTimeOffset lastSyncDateTime { get; set; } - - /// - /// The "operatingSystem" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Operating system of the device. Windows, iOS, etc. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", HelpMessage = @"The "operatingSystem" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "operatingSystem" property, of type "Edm.String".")] - public System.String operatingSystem { get; set; } - - /// - /// The "complianceState" property, of type "microsoft.graph.complianceState". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Compliance state of the device. - /// - /// Valid values: 'unknown', 'compliant', 'noncompliant', 'conflict', 'error', 'inGracePeriod', 'configManager' - /// - /// - [ODataType("microsoft.graph.complianceState")] - [Selectable] - [ValidateSet(@"unknown", @"compliant", @"noncompliant", @"conflict", @"error", @"inGracePeriod", @"configManager")] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", HelpMessage = @"The "complianceState" property, of type "microsoft.graph.complianceState".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "complianceState" property, of type "microsoft.graph.complianceState".")] - public System.String complianceState { get; set; } - - /// - /// The "jailBroken" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// whether the device is jail broken or rooted. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", HelpMessage = @"The "jailBroken" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "jailBroken" property, of type "Edm.String".")] - public System.String jailBroken { get; set; } - - /// - /// The "managementAgent" property, of type "microsoft.graph.managementAgentType". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Management channel of the device. Intune, EAS, etc. - /// - /// Valid values: 'eas', 'mdm', 'easMdm', 'intuneClient', 'easIntuneClient', 'configurationManagerClient', 'configurationManagerClientMdm', 'configurationManagerClientMdmEas', 'unknown', 'jamf', 'googleCloudDevicePolicyController' - /// - /// - [ODataType("microsoft.graph.managementAgentType")] - [Selectable] - [ValidateSet(@"eas", @"mdm", @"easMdm", @"intuneClient", @"easIntuneClient", @"configurationManagerClient", @"configurationManagerClientMdm", @"configurationManagerClientMdmEas", @"unknown", @"jamf", @"googleCloudDevicePolicyController")] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", HelpMessage = @"The "managementAgent" property, of type "microsoft.graph.managementAgentType".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "managementAgent" property, of type "microsoft.graph.managementAgentType".")] - public System.String managementAgent { get; set; } - - /// - /// The "osVersion" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Operating system version of the device. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", HelpMessage = @"The "osVersion" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "osVersion" property, of type "Edm.String".")] - public System.String osVersion { get; set; } - - /// - /// The "easActivated" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Whether the device is Exchange ActiveSync activated. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", HelpMessage = @"The "easActivated" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "easActivated" property, of type "Edm.Boolean".")] - public System.Boolean easActivated { get; set; } - - /// - /// The "easDeviceId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Exchange ActiveSync Id of the device. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", HelpMessage = @"The "easDeviceId" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "easDeviceId" property, of type "Edm.String".")] - public System.String easDeviceId { get; set; } - - /// - /// The "easActivationDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Exchange ActivationSync activation time of the device. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", HelpMessage = @"The "easActivationDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "easActivationDateTime" property, of type "Edm.DateTimeOffset".")] - public System.DateTimeOffset easActivationDateTime { get; set; } - - /// - /// The "azureADRegistered" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Whether the device is Azure Active Directory registered. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", HelpMessage = @"The "azureADRegistered" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "azureADRegistered" property, of type "Edm.Boolean".")] - public System.Boolean azureADRegistered { get; set; } - - /// - /// The "deviceEnrollmentType" property, of type "microsoft.graph.deviceEnrollmentType". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Enrollment type of the device. - /// - /// Valid values: 'unknown', 'userEnrollment', 'deviceEnrollmentManager', 'appleBulkWithUser', 'appleBulkWithoutUser', 'windowsAzureADJoin', 'windowsBulkUserless', 'windowsAutoEnrollment', 'windowsBulkAzureDomainJoin', 'windowsCoManagement' - /// - /// - [ODataType("microsoft.graph.deviceEnrollmentType")] - [Selectable] - [ValidateSet(@"unknown", @"userEnrollment", @"deviceEnrollmentManager", @"appleBulkWithUser", @"appleBulkWithoutUser", @"windowsAzureADJoin", @"windowsBulkUserless", @"windowsAutoEnrollment", @"windowsBulkAzureDomainJoin", @"windowsCoManagement")] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", HelpMessage = @"The "deviceEnrollmentType" property, of type "microsoft.graph.deviceEnrollmentType".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "deviceEnrollmentType" property, of type "microsoft.graph.deviceEnrollmentType".")] - public System.String deviceEnrollmentType { get; set; } - - /// - /// The "activationLockBypassCode" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Code that allows the Activation Lock on a device to be bypassed. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", HelpMessage = @"The "activationLockBypassCode" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "activationLockBypassCode" property, of type "Edm.String".")] - public System.String activationLockBypassCode { get; set; } - - /// - /// The "emailAddress" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Email(s) for the user associated with the device - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", HelpMessage = @"The "emailAddress" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "emailAddress" property, of type "Edm.String".")] - public System.String emailAddress { get; set; } - - /// - /// The "azureADDeviceId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// The unique identifier for the Azure Active Directory device. Read only. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", HelpMessage = @"The "azureADDeviceId" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "azureADDeviceId" property, of type "Edm.String".")] - public System.String azureADDeviceId { get; set; } - - /// - /// The "deviceRegistrationState" property, of type "microsoft.graph.deviceRegistrationState". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Device registration state. - /// - /// Valid values: 'notRegistered', 'registered', 'revoked', 'keyConflict', 'approvalPending', 'certificateReset', 'notRegisteredPendingEnrollment', 'unknown' - /// - /// - [ODataType("microsoft.graph.deviceRegistrationState")] - [Selectable] - [ValidateSet(@"notRegistered", @"registered", @"revoked", @"keyConflict", @"approvalPending", @"certificateReset", @"notRegisteredPendingEnrollment", @"unknown")] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", HelpMessage = @"The "deviceRegistrationState" property, of type "microsoft.graph.deviceRegistrationState".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "deviceRegistrationState" property, of type "microsoft.graph.deviceRegistrationState".")] - public System.String deviceRegistrationState { get; set; } - - /// - /// The "deviceCategoryDisplayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Device category display name - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", HelpMessage = @"The "deviceCategoryDisplayName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "deviceCategoryDisplayName" property, of type "Edm.String".")] - public System.String deviceCategoryDisplayName { get; set; } - - /// - /// The "isSupervised" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Device supervised status - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", HelpMessage = @"The "isSupervised" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "isSupervised" property, of type "Edm.Boolean".")] - public System.Boolean isSupervised { get; set; } - - /// - /// The "exchangeLastSuccessfulSyncDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Last time the device contacted Exchange. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", HelpMessage = @"The "exchangeLastSuccessfulSyncDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "exchangeLastSuccessfulSyncDateTime" property, of type "Edm.DateTimeOffset".")] - public System.DateTimeOffset exchangeLastSuccessfulSyncDateTime { get; set; } - - /// - /// The "exchangeAccessState" property, of type "microsoft.graph.deviceManagementExchangeAccessState". - /// This property is on the "microsoft.graph.managedDevice" type. - /// The Access State of the device in Exchange. - /// - /// Valid values: 'none', 'unknown', 'allowed', 'blocked', 'quarantined' - /// - /// - [ODataType("microsoft.graph.deviceManagementExchangeAccessState")] - [Selectable] - [ValidateSet(@"none", @"unknown", @"allowed", @"blocked", @"quarantined")] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", HelpMessage = @"The "exchangeAccessState" property, of type "microsoft.graph.deviceManagementExchangeAccessState".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "exchangeAccessState" property, of type "microsoft.graph.deviceManagementExchangeAccessState".")] - public System.String exchangeAccessState { get; set; } - - /// - /// The "exchangeAccessStateReason" property, of type "microsoft.graph.deviceManagementExchangeAccessStateReason". - /// This property is on the "microsoft.graph.managedDevice" type. - /// The reason for the device's access state in Exchange. - /// - /// Valid values: 'none', 'unknown', 'exchangeGlobalRule', 'exchangeIndividualRule', 'exchangeDeviceRule', 'exchangeUpgrade', 'exchangeMailboxPolicy', 'other', 'compliant', 'notCompliant', 'notEnrolled', 'unknownLocation', 'mfaRequired', 'azureADBlockDueToAccessPolicy', 'compromisedPassword', 'deviceNotKnownWithManagedApp' - /// - /// - [ODataType("microsoft.graph.deviceManagementExchangeAccessStateReason")] - [Selectable] - [ValidateSet(@"none", @"unknown", @"exchangeGlobalRule", @"exchangeIndividualRule", @"exchangeDeviceRule", @"exchangeUpgrade", @"exchangeMailboxPolicy", @"other", @"compliant", @"notCompliant", @"notEnrolled", @"unknownLocation", @"mfaRequired", @"azureADBlockDueToAccessPolicy", @"compromisedPassword", @"deviceNotKnownWithManagedApp")] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", HelpMessage = @"The "exchangeAccessStateReason" property, of type "microsoft.graph.deviceManagementExchangeAccessStateReason".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "exchangeAccessStateReason" property, of type "microsoft.graph.deviceManagementExchangeAccessStateReason".")] - public System.String exchangeAccessStateReason { get; set; } - - /// - /// The "remoteAssistanceSessionUrl" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Url that allows a Remote Assistance session to be established with the device. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", HelpMessage = @"The "remoteAssistanceSessionUrl" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "remoteAssistanceSessionUrl" property, of type "Edm.String".")] - public System.String remoteAssistanceSessionUrl { get; set; } - - /// - /// The "remoteAssistanceSessionErrorDetails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// An error string that identifies issues when creating Remote Assistance session objects. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", HelpMessage = @"The "remoteAssistanceSessionErrorDetails" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "remoteAssistanceSessionErrorDetails" property, of type "Edm.String".")] - public System.String remoteAssistanceSessionErrorDetails { get; set; } - - /// - /// The "isEncrypted" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Device encryption status - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", HelpMessage = @"The "isEncrypted" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "isEncrypted" property, of type "Edm.Boolean".")] - public System.Boolean isEncrypted { get; set; } - - /// - /// The "userPrincipalName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Device user principal name - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", HelpMessage = @"The "userPrincipalName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "userPrincipalName" property, of type "Edm.String".")] - public System.String userPrincipalName { get; set; } - - /// - /// The "model" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Model of the device - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", HelpMessage = @"The "model" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "model" property, of type "Edm.String".")] - public System.String model { get; set; } - - /// - /// The "manufacturer" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Manufacturer of the device - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", HelpMessage = @"The "manufacturer" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "manufacturer" property, of type "Edm.String".")] - public System.String manufacturer { get; set; } - - /// - /// The "imei" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// IMEI - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", HelpMessage = @"The "imei" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "imei" property, of type "Edm.String".")] - public System.String imei { get; set; } - - /// - /// The "complianceGracePeriodExpirationDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.managedDevice" type. - /// The DateTime when device compliance grace period expires - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", HelpMessage = @"The "complianceGracePeriodExpirationDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "complianceGracePeriodExpirationDateTime" property, of type "Edm.DateTimeOffset".")] - public System.DateTimeOffset complianceGracePeriodExpirationDateTime { get; set; } - - /// - /// The "serialNumber" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// SerialNumber - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", HelpMessage = @"The "serialNumber" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "serialNumber" property, of type "Edm.String".")] - public System.String serialNumber { get; set; } - - /// - /// The "phoneNumber" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Phone number of the device - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", HelpMessage = @"The "phoneNumber" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "phoneNumber" property, of type "Edm.String".")] - public System.String phoneNumber { get; set; } - - /// - /// The "androidSecurityPatchLevel" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Android security patch level - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", HelpMessage = @"The "androidSecurityPatchLevel" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "androidSecurityPatchLevel" property, of type "Edm.String".")] - public System.String androidSecurityPatchLevel { get; set; } - - /// - /// The "userDisplayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// User display name - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", HelpMessage = @"The "userDisplayName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "userDisplayName" property, of type "Edm.String".")] - public System.String userDisplayName { get; set; } - - /// - /// The "configurationManagerClientEnabledFeatures" property, of type "microsoft.graph.configurationManagerClientEnabledFeatures". - /// This property is on the "microsoft.graph.managedDevice" type. - /// ConfigrMgr client enabled features - /// - [ODataType("microsoft.graph.configurationManagerClientEnabledFeatures")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", HelpMessage = @"The "configurationManagerClientEnabledFeatures" property, of type "microsoft.graph.configurationManagerClientEnabledFeatures".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "configurationManagerClientEnabledFeatures" property, of type "microsoft.graph.configurationManagerClientEnabledFeatures".")] - public System.Object configurationManagerClientEnabledFeatures { get; set; } - - /// - /// The "wiFiMacAddress" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Wi-Fi MAC - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", HelpMessage = @"The "wiFiMacAddress" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "wiFiMacAddress" property, of type "Edm.String".")] - public System.String wiFiMacAddress { get; set; } - - /// - /// The "deviceHealthAttestationState" property, of type "microsoft.graph.deviceHealthAttestationState". - /// This property is on the "microsoft.graph.managedDevice" type. - /// The device health attestation state. - /// - [ODataType("microsoft.graph.deviceHealthAttestationState")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", HelpMessage = @"The "deviceHealthAttestationState" property, of type "microsoft.graph.deviceHealthAttestationState".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "deviceHealthAttestationState" property, of type "microsoft.graph.deviceHealthAttestationState".")] - public System.Object deviceHealthAttestationState { get; set; } - - /// - /// The "subscriberCarrier" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Subscriber Carrier - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", HelpMessage = @"The "subscriberCarrier" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "subscriberCarrier" property, of type "Edm.String".")] - public System.String subscriberCarrier { get; set; } - - /// - /// The "meid" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// MEID - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", HelpMessage = @"The "meid" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "meid" property, of type "Edm.String".")] - public System.String meid { get; set; } - - /// - /// The "totalStorageSpaceInBytes" property, of type "Edm.Int64". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Total Storage in Bytes - /// - [ODataType("Edm.Int64")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", HelpMessage = @"The "totalStorageSpaceInBytes" property, of type "Edm.Int64".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "totalStorageSpaceInBytes" property, of type "Edm.Int64".")] - public System.Int64 totalStorageSpaceInBytes { get; set; } - - /// - /// The "freeStorageSpaceInBytes" property, of type "Edm.Int64". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Free Storage in Bytes - /// - [ODataType("Edm.Int64")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", HelpMessage = @"The "freeStorageSpaceInBytes" property, of type "Edm.Int64".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "freeStorageSpaceInBytes" property, of type "Edm.Int64".")] - public System.Int64 freeStorageSpaceInBytes { get; set; } - - /// - /// The "managedDeviceName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Automatically generated name to identify a device. Can be overwritten to a user friendly name. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", HelpMessage = @"The "managedDeviceName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "managedDeviceName" property, of type "Edm.String".")] - public System.String managedDeviceName { get; set; } - - /// - /// The "partnerReportedThreatState" property, of type "microsoft.graph.managedDevicePartnerReportedHealthState". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Indicates the threat state of a device when a Mobile Threat Defense partner is in use by the account and device. Read Only. - /// - /// Valid values: 'unknown', 'activated', 'deactivated', 'secured', 'lowSeverity', 'mediumSeverity', 'highSeverity', 'unresponsive', 'compromised', 'misconfigured' - /// - /// - [ODataType("microsoft.graph.managedDevicePartnerReportedHealthState")] - [Selectable] - [ValidateSet(@"unknown", @"activated", @"deactivated", @"secured", @"lowSeverity", @"mediumSeverity", @"highSeverity", @"unresponsive", @"compromised", @"misconfigured")] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", HelpMessage = @"The "partnerReportedThreatState" property, of type "microsoft.graph.managedDevicePartnerReportedHealthState".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "partnerReportedThreatState" property, of type "microsoft.graph.managedDevicePartnerReportedHealthState".")] - public System.String partnerReportedThreatState { get; set; } - - /// - /// The "deviceConfigurationStates" property, of type "microsoft.graph.deviceConfigurationState". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Device configuration states for this device. - /// - [ODataType("microsoft.graph.deviceConfigurationState")] - [Selectable] - [Expandable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", HelpMessage = @"The "deviceConfigurationStates" property, of type "microsoft.graph.deviceConfigurationState".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "deviceConfigurationStates" property, of type "microsoft.graph.deviceConfigurationState".")] - public System.Object[] deviceConfigurationStates { get; set; } - - /// - /// The "deviceCategory" property, of type "microsoft.graph.deviceCategory". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Device category - /// - [ODataType("microsoft.graph.deviceCategory")] - [Selectable] - [Expandable] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", HelpMessage = @"The "deviceCategory" property, of type "microsoft.graph.deviceCategory".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "deviceCategory" property, of type "microsoft.graph.deviceCategory".")] - public System.Object deviceCategory { get; set; } - - /// - /// The "deviceCompliancePolicyStates" property, of type "microsoft.graph.deviceCompliancePolicyState". - /// This property is on the "microsoft.graph.managedDevice" type. - /// Device compliance policy states for this device. - /// - [ODataType("microsoft.graph.deviceCompliancePolicyState")] - [Selectable] - [Expandable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.managedDevice", HelpMessage = @"The "deviceCompliancePolicyStates" property, of type "microsoft.graph.deviceCompliancePolicyState".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "deviceCompliancePolicyStates" property, of type "microsoft.graph.deviceCompliancePolicyState".")] - public System.Object[] deviceCompliancePolicyStates { get; set; } - - internal override System.String GetResourcePath() - { - return $"me/managedDevices/{managedDeviceId}"; - } - } - - /// - /// Removes a "microsoft.graph.managedDevice" object. - /// DELETE ~/me/managedDevices/managedDeviceId - /// Removes a "microsoft.graph.managedDevice" object from the "managedDevices" collection. - /// The managed devices associated with the user. - /// - /// GitHub Repository - [Cmdlet("Remove", "Me_ManagedDevices", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.managedDevice")] - [ResourceTypePropertyName("managedDeviceODataType")] - public class Remove_Me_ManagedDevices : DeleteCmdlet - { - /// - /// The ID for a "microsoft.graph.managedDevice" object in the "managedDevices" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.managedDevice" object in the "managedDevices" collection.")] - public System.String managedDeviceId { get; set; } - - internal override System.String GetResourcePath() - { - return $"me/managedDevices/{managedDeviceId}"; - } - } - - /// - /// POST ~/me/managedDevices/retire - /// The action "microsoft.graph.retire", which exists on the type "microsoft.graph.managedDevice". - /// This action does not return any objects. - /// - /// GitHub Repository - [Cmdlet("Invoke", "Me_ManagedDevices_Retire", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.managedDevice")] - [ResourceTypePropertyName("managedDeviceODataType")] - public class Invoke_Me_ManagedDevices_Retire : ActionCmdlet - { - /// - /// The ID for a "microsoft.graph.managedDevice" object in the "managedDevices" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.managedDevice" object in the "managedDevices" collection.")] - public System.String managedDeviceId { get; set; } - - internal override System.String GetResourcePath() - { - return $"me/managedDevices/{managedDeviceId}/retire"; - } - } - - /// - /// POST ~/me/managedDevices/wipe - /// The action "microsoft.graph.wipe", which exists on the type "microsoft.graph.managedDevice". - /// This action does not return any objects. - /// - /// GitHub Repository - [Cmdlet("Invoke", "Me_ManagedDevices_Wipe", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.managedDevice")] - [ResourceTypePropertyName("managedDeviceODataType")] - public class Invoke_Me_ManagedDevices_Wipe : ActionCmdlet - { - /// - /// The "keepEnrollmentData" action parameter of type "Edm.Boolean". - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Expandable] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "keepEnrollmentData" action parameter of type "Edm.Boolean".")] - public System.Boolean keepEnrollmentData { get; set; } - - /// - /// The "keepUserData" action parameter of type "Edm.Boolean". - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Expandable] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "keepUserData" action parameter of type "Edm.Boolean".")] - public System.Boolean keepUserData { get; set; } - - /// - /// The "macOsUnlockCode" action parameter of type "Edm.String". - /// - [ODataType("Edm.String")] - [Selectable] - [Expandable] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "macOsUnlockCode" action parameter of type "Edm.String".")] - public System.String macOsUnlockCode { get; set; } - - /// - /// The ID for a "microsoft.graph.managedDevice" object in the "managedDevices" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.managedDevice" object in the "managedDevices" collection.")] - public System.String managedDeviceId { get; set; } - - internal override System.String GetResourcePath() - { - return $"me/managedDevices/{managedDeviceId}/wipe"; - } - } - - /// - /// POST ~/me/managedDevices/resetPasscode - /// The action "microsoft.graph.resetPasscode", which exists on the type "microsoft.graph.managedDevice". - /// This action does not return any objects. - /// - /// GitHub Repository - [Cmdlet("Invoke", "Me_ManagedDevices_ResetPasscode", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.managedDevice")] - [ResourceTypePropertyName("managedDeviceODataType")] - public class Invoke_Me_ManagedDevices_ResetPasscode : ActionCmdlet - { - /// - /// The ID for a "microsoft.graph.managedDevice" object in the "managedDevices" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.managedDevice" object in the "managedDevices" collection.")] - public System.String managedDeviceId { get; set; } - - internal override System.String GetResourcePath() - { - return $"me/managedDevices/{managedDeviceId}/resetPasscode"; - } - } - - /// - /// POST ~/me/managedDevices/remoteLock - /// The action "microsoft.graph.remoteLock", which exists on the type "microsoft.graph.managedDevice". - /// This action does not return any objects. - /// - /// GitHub Repository - [Cmdlet("Invoke", "Me_ManagedDevices_RemoteLock", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.managedDevice")] - [ResourceTypePropertyName("managedDeviceODataType")] - public class Invoke_Me_ManagedDevices_RemoteLock : ActionCmdlet - { - /// - /// The ID for a "microsoft.graph.managedDevice" object in the "managedDevices" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.managedDevice" object in the "managedDevices" collection.")] - public System.String managedDeviceId { get; set; } - - internal override System.String GetResourcePath() - { - return $"me/managedDevices/{managedDeviceId}/remoteLock"; - } - } - - /// - /// POST ~/me/managedDevices/requestRemoteAssistance - /// The action "microsoft.graph.requestRemoteAssistance", which exists on the type "microsoft.graph.managedDevice". - /// This action does not return any objects. - /// - /// GitHub Repository - [Cmdlet("Invoke", "Me_ManagedDevices_RequestRemoteAssistance", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.managedDevice")] - [ResourceTypePropertyName("managedDeviceODataType")] - public class Invoke_Me_ManagedDevices_RequestRemoteAssistance : ActionCmdlet - { - /// - /// The ID for a "microsoft.graph.managedDevice" object in the "managedDevices" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.managedDevice" object in the "managedDevices" collection.")] - public System.String managedDeviceId { get; set; } - - internal override System.String GetResourcePath() - { - return $"me/managedDevices/{managedDeviceId}/requestRemoteAssistance"; - } - } - - /// - /// POST ~/me/managedDevices/disableLostMode - /// The action "microsoft.graph.disableLostMode", which exists on the type "microsoft.graph.managedDevice". - /// This action does not return any objects. - /// - /// GitHub Repository - [Cmdlet("Invoke", "Me_ManagedDevices_DisableLostMode", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.managedDevice")] - [ResourceTypePropertyName("managedDeviceODataType")] - public class Invoke_Me_ManagedDevices_DisableLostMode : ActionCmdlet - { - /// - /// The ID for a "microsoft.graph.managedDevice" object in the "managedDevices" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.managedDevice" object in the "managedDevices" collection.")] - public System.String managedDeviceId { get; set; } - - internal override System.String GetResourcePath() - { - return $"me/managedDevices/{managedDeviceId}/disableLostMode"; - } - } - - /// - /// POST ~/me/managedDevices/locateDevice - /// The action "microsoft.graph.locateDevice", which exists on the type "microsoft.graph.managedDevice". - /// This action does not return any objects. - /// - /// GitHub Repository - [Cmdlet("Invoke", "Me_ManagedDevices_LocateDevice", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.managedDevice")] - [ResourceTypePropertyName("managedDeviceODataType")] - public class Invoke_Me_ManagedDevices_LocateDevice : ActionCmdlet - { - /// - /// The ID for a "microsoft.graph.managedDevice" object in the "managedDevices" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.managedDevice" object in the "managedDevices" collection.")] - public System.String managedDeviceId { get; set; } - - internal override System.String GetResourcePath() - { - return $"me/managedDevices/{managedDeviceId}/locateDevice"; - } - } - - /// - /// POST ~/me/managedDevices/bypassActivationLock - /// The action "microsoft.graph.bypassActivationLock", which exists on the type "microsoft.graph.managedDevice". - /// This action does not return any objects. - /// - /// GitHub Repository - [Cmdlet("Invoke", "Me_ManagedDevices_BypassActivationLock", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.managedDevice")] - [ResourceTypePropertyName("managedDeviceODataType")] - public class Invoke_Me_ManagedDevices_BypassActivationLock : ActionCmdlet - { - /// - /// The ID for a "microsoft.graph.managedDevice" object in the "managedDevices" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.managedDevice" object in the "managedDevices" collection.")] - public System.String managedDeviceId { get; set; } - - internal override System.String GetResourcePath() - { - return $"me/managedDevices/{managedDeviceId}/bypassActivationLock"; - } - } - - /// - /// POST ~/me/managedDevices/rebootNow - /// The action "microsoft.graph.rebootNow", which exists on the type "microsoft.graph.managedDevice". - /// This action does not return any objects. - /// - /// GitHub Repository - [Cmdlet("Invoke", "Me_ManagedDevices_RebootNow", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.managedDevice")] - [ResourceTypePropertyName("managedDeviceODataType")] - public class Invoke_Me_ManagedDevices_RebootNow : ActionCmdlet - { - /// - /// The ID for a "microsoft.graph.managedDevice" object in the "managedDevices" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.managedDevice" object in the "managedDevices" collection.")] - public System.String managedDeviceId { get; set; } - - internal override System.String GetResourcePath() - { - return $"me/managedDevices/{managedDeviceId}/rebootNow"; - } - } - - /// - /// POST ~/me/managedDevices/shutDown - /// The action "microsoft.graph.shutDown", which exists on the type "microsoft.graph.managedDevice". - /// This action does not return any objects. - /// - /// GitHub Repository - [Cmdlet("Invoke", "Me_ManagedDevices_ShutDown", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.managedDevice")] - [ResourceTypePropertyName("managedDeviceODataType")] - public class Invoke_Me_ManagedDevices_ShutDown : ActionCmdlet - { - /// - /// The ID for a "microsoft.graph.managedDevice" object in the "managedDevices" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.managedDevice" object in the "managedDevices" collection.")] - public System.String managedDeviceId { get; set; } - - internal override System.String GetResourcePath() - { - return $"me/managedDevices/{managedDeviceId}/shutDown"; - } - } - - /// - /// POST ~/me/managedDevices/recoverPasscode - /// The action "microsoft.graph.recoverPasscode", which exists on the type "microsoft.graph.managedDevice". - /// This action does not return any objects. - /// - /// GitHub Repository - [Cmdlet("Invoke", "Me_ManagedDevices_RecoverPasscode", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.managedDevice")] - [ResourceTypePropertyName("managedDeviceODataType")] - public class Invoke_Me_ManagedDevices_RecoverPasscode : ActionCmdlet - { - /// - /// The ID for a "microsoft.graph.managedDevice" object in the "managedDevices" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.managedDevice" object in the "managedDevices" collection.")] - public System.String managedDeviceId { get; set; } - - internal override System.String GetResourcePath() - { - return $"me/managedDevices/{managedDeviceId}/recoverPasscode"; - } - } - - /// - /// POST ~/me/managedDevices/cleanWindowsDevice - /// The action "microsoft.graph.cleanWindowsDevice", which exists on the type "microsoft.graph.managedDevice". - /// This action does not return any objects. - /// - /// GitHub Repository - [Cmdlet("Invoke", "Me_ManagedDevices_CleanWindowsDevice", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.managedDevice")] - [ResourceTypePropertyName("managedDeviceODataType")] - public class Invoke_Me_ManagedDevices_CleanWindowsDevice : ActionCmdlet - { - /// - /// The "keepUserData" action parameter of type "Edm.Boolean". - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Expandable] - [ValidateNotNull] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "keepUserData" action parameter of type "Edm.Boolean".")] - public System.Boolean keepUserData { get; set; } - - /// - /// The ID for a "microsoft.graph.managedDevice" object in the "managedDevices" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.managedDevice" object in the "managedDevices" collection.")] - public System.String managedDeviceId { get; set; } - - internal override System.String GetResourcePath() - { - return $"me/managedDevices/{managedDeviceId}/cleanWindowsDevice"; - } - } - - /// - /// POST ~/me/managedDevices/logoutSharedAppleDeviceActiveUser - /// The action "microsoft.graph.logoutSharedAppleDeviceActiveUser", which exists on the type "microsoft.graph.managedDevice". - /// This action does not return any objects. - /// - /// GitHub Repository - [Cmdlet("Invoke", "Me_ManagedDevices_LogoutSharedAppleDeviceActiveUser", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.managedDevice")] - [ResourceTypePropertyName("managedDeviceODataType")] - public class Invoke_Me_ManagedDevices_LogoutSharedAppleDeviceActiveUser : ActionCmdlet - { - /// - /// The ID for a "microsoft.graph.managedDevice" object in the "managedDevices" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.managedDevice" object in the "managedDevices" collection.")] - public System.String managedDeviceId { get; set; } - - internal override System.String GetResourcePath() - { - return $"me/managedDevices/{managedDeviceId}/logoutSharedAppleDeviceActiveUser"; - } - } - - /// - /// POST ~/me/managedDevices/deleteUserFromSharedAppleDevice - /// The action "microsoft.graph.deleteUserFromSharedAppleDevice", which exists on the type "microsoft.graph.managedDevice". - /// This action does not return any objects. - /// - /// GitHub Repository - [Cmdlet("Invoke", "Me_ManagedDevices_DeleteUserFromSharedAppleDevice", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.managedDevice")] - [ResourceTypePropertyName("managedDeviceODataType")] - public class Invoke_Me_ManagedDevices_DeleteUserFromSharedAppleDevice : ActionCmdlet - { - /// - /// The "userPrincipalName" action parameter of type "Edm.String". - /// - [ODataType("Edm.String")] - [Selectable] - [Expandable] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "userPrincipalName" action parameter of type "Edm.String".")] - public System.String userPrincipalName { get; set; } - - /// - /// The ID for a "microsoft.graph.managedDevice" object in the "managedDevices" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.managedDevice" object in the "managedDevices" collection.")] - public System.String managedDeviceId { get; set; } - - internal override System.String GetResourcePath() - { - return $"me/managedDevices/{managedDeviceId}/deleteUserFromSharedAppleDevice"; - } - } - - /// - /// POST ~/me/managedDevices/syncDevice - /// The action "microsoft.graph.syncDevice", which exists on the type "microsoft.graph.managedDevice". - /// This action does not return any objects. - /// - /// GitHub Repository - [Cmdlet("Invoke", "Me_ManagedDevices_SyncDevice", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.managedDevice")] - [ResourceTypePropertyName("managedDeviceODataType")] - public class Invoke_Me_ManagedDevices_SyncDevice : ActionCmdlet - { - /// - /// The ID for a "microsoft.graph.managedDevice" object in the "managedDevices" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.managedDevice" object in the "managedDevices" collection.")] - public System.String managedDeviceId { get; set; } - - internal override System.String GetResourcePath() - { - return $"me/managedDevices/{managedDeviceId}/syncDevice"; - } - } - - /// - /// POST ~/me/managedDevices/windowsDefenderScan - /// The action "microsoft.graph.windowsDefenderScan", which exists on the type "microsoft.graph.managedDevice". - /// This action does not return any objects. - /// - /// GitHub Repository - [Cmdlet("Invoke", "Me_ManagedDevices_WindowsDefenderScan", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.managedDevice")] - [ResourceTypePropertyName("managedDeviceODataType")] - public class Invoke_Me_ManagedDevices_WindowsDefenderScan : ActionCmdlet - { - /// - /// The "quickScan" action parameter of type "Edm.Boolean". - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Expandable] - [ValidateNotNull] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "quickScan" action parameter of type "Edm.Boolean".")] - public System.Boolean quickScan { get; set; } - - /// - /// The ID for a "microsoft.graph.managedDevice" object in the "managedDevices" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.managedDevice" object in the "managedDevices" collection.")] - public System.String managedDeviceId { get; set; } - - internal override System.String GetResourcePath() - { - return $"me/managedDevices/{managedDeviceId}/windowsDefenderScan"; - } - } - - /// - /// POST ~/me/managedDevices/windowsDefenderUpdateSignatures - /// The action "microsoft.graph.windowsDefenderUpdateSignatures", which exists on the type "microsoft.graph.managedDevice". - /// This action does not return any objects. - /// - /// GitHub Repository - [Cmdlet("Invoke", "Me_ManagedDevices_WindowsDefenderUpdateSignatures", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.managedDevice")] - [ResourceTypePropertyName("managedDeviceODataType")] - public class Invoke_Me_ManagedDevices_WindowsDefenderUpdateSignatures : ActionCmdlet - { - /// - /// The ID for a "microsoft.graph.managedDevice" object in the "managedDevices" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.managedDevice" object in the "managedDevices" collection.")] - public System.String managedDeviceId { get; set; } - - internal override System.String GetResourcePath() - { - return $"me/managedDevices/{managedDeviceId}/windowsDefenderUpdateSignatures"; - } - } - - /// - /// POST ~/me/managedDevices/updateWindowsDeviceAccount - /// The action "microsoft.graph.updateWindowsDeviceAccount", which exists on the type "microsoft.graph.managedDevice". - /// This action does not return any objects. - /// - /// GitHub Repository - [Cmdlet("Invoke", "Me_ManagedDevices_UpdateWindowsDeviceAccount", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.managedDevice")] - [ResourceTypePropertyName("managedDeviceODataType")] - public class Invoke_Me_ManagedDevices_UpdateWindowsDeviceAccount : ActionCmdlet - { - /// - /// The "updateWindowsDeviceAccountActionParameter" action parameter of type "microsoft.graph.updateWindowsDeviceAccountActionParameter". - /// - [ODataType("microsoft.graph.updateWindowsDeviceAccountActionParameter")] - [Selectable] - [Expandable] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "updateWindowsDeviceAccountActionParameter" action parameter of type "microsoft.graph.updateWindowsDeviceAccountActionParameter".")] - public System.Object updateWindowsDeviceAccountActionParameter { get; set; } - - /// - /// The ID for a "microsoft.graph.managedDevice" object in the "managedDevices" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.managedDevice" object in the "managedDevices" collection.")] - public System.String managedDeviceId { get; set; } - - internal override System.String GetResourcePath() - { - return $"me/managedDevices/{managedDeviceId}/updateWindowsDeviceAccount"; - } - } -} \ No newline at end of file diff --git a/PowerShellCmdlets/Generated/SDK/Me/ManagedDevices/DeviceCategory.cs b/PowerShellCmdlets/Generated/SDK/Me/ManagedDevices/DeviceCategory.cs deleted file mode 100644 index f4663fa..0000000 --- a/PowerShellCmdlets/Generated/SDK/Me/ManagedDevices/DeviceCategory.cs +++ /dev/null @@ -1,184 +0,0 @@ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. - -namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets -{ - using System.Management.Automation; - - /// - /// Retrieves the "deviceCategory" object. - /// GET ~/me/managedDevices/{managedDeviceId}/deviceCategory - /// Retrieves the "deviceCategory" object (which is of type "microsoft.graph.deviceCategory"). - /// Device category - /// - /// GitHub Repository - [Cmdlet("Get", "Me_ManagedDevices_DeviceCategory", DefaultParameterSetName = @"Get")] - [ODataType("microsoft.graph.deviceCategory")] - [ResourceTypePropertyName("deviceCategoryODataType")] - [ResourceReference] - public class Get_Me_ManagedDevices_DeviceCategory : GetCmdlet - { - /// - /// A required ID for referencing a "microsoft.graph.managedDevice" object in the "managedDevices" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedDevice" object in the "managedDevices" collection.")] - public System.String managedDeviceId { get; set; } - - /// - /// The "displayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.deviceCategory" type. - /// Display name for the device category. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String displayName { get; set; } - - /// - /// The "description" property, of type "Edm.String". - /// This property is on the "microsoft.graph.deviceCategory" type. - /// Optional description for the device category. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String description { get; set; } - - internal override System.String GetResourcePath() - { - return $"me/managedDevices/{managedDeviceId}/deviceCategory"; - } - } - - /// - /// Creates a "microsoft.graph.deviceCategory" object. - /// POST ~/me/managedDevices/{managedDeviceId}/deviceCategory - /// Creates the "deviceCategory" object (which is of type "microsoft.graph.deviceCategory"). - /// Device category - /// - /// GitHub Repository - [Cmdlet("New", "Me_ManagedDevices_DeviceCategory", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.deviceCategory")] - [ODataType("microsoft.graph.deviceCategory")] - [ResourceTypePropertyName("deviceCategoryODataType")] - [ResourceReference] - public class New_Me_ManagedDevices_DeviceCategory : PostCmdlet - { - /// - /// A required ID for referencing a "microsoft.graph.managedDevice" object in the "managedDevices" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedDevice" object in the "managedDevices" collection.")] - public System.String managedDeviceId { get; set; } - - /// - /// The "displayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.deviceCategory" type. - /// Display name for the device category. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.deviceCategory", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "displayName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "displayName" property, of type "Edm.String".")] - public System.String displayName { get; set; } - - /// - /// The "description" property, of type "Edm.String". - /// This property is on the "microsoft.graph.deviceCategory" type. - /// Optional description for the device category. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.deviceCategory", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "description" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "description" property, of type "Edm.String".")] - public System.String description { get; set; } - - internal override System.String GetResourcePath() - { - return $"me/managedDevices/{managedDeviceId}/deviceCategory"; - } - } - - /// - /// Updates a "microsoft.graph.deviceCategory". - /// PATCH ~/me/managedDevices/{managedDeviceId}/deviceCategory - /// Updates the "deviceCategory" object (which is of type "microsoft.graph.deviceCategory"). - /// Device category - /// - /// GitHub Repository - [Cmdlet("Update", "Me_ManagedDevices_DeviceCategory", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.deviceCategory")] - [ODataType("microsoft.graph.deviceCategory")] - [ResourceTypePropertyName("deviceCategoryODataType")] - public class Update_Me_ManagedDevices_DeviceCategory : PatchCmdlet - { - /// - /// A required ID for referencing a "microsoft.graph.managedDevice" object in the "managedDevices" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedDevice" object in the "managedDevices" collection.")] - public System.String managedDeviceId { get; set; } - - /// - /// The "displayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.deviceCategory" type. - /// Display name for the device category. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.deviceCategory", HelpMessage = @"The "displayName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "displayName" property, of type "Edm.String".")] - public System.String displayName { get; set; } - - /// - /// The "description" property, of type "Edm.String". - /// This property is on the "microsoft.graph.deviceCategory" type. - /// Optional description for the device category. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.deviceCategory", HelpMessage = @"The "description" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "description" property, of type "Edm.String".")] - public System.String description { get; set; } - - internal override System.String GetResourcePath() - { - return $"me/managedDevices/{managedDeviceId}/deviceCategory"; - } - } - - /// - /// Removes a "microsoft.graph.deviceCategory" object. - /// DELETE ~/me/managedDevices/{managedDeviceId}/deviceCategory - /// Removes the "deviceCategory" object (which is of type "microsoft.graph.deviceCategory"). - /// Device category - /// - /// GitHub Repository - [Cmdlet("Remove", "Me_ManagedDevices_DeviceCategory", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.deviceCategory")] - [ResourceTypePropertyName("deviceCategoryODataType")] - public class Remove_Me_ManagedDevices_DeviceCategory : DeleteCmdlet - { - /// - /// A required ID for referencing a "microsoft.graph.managedDevice" object in the "managedDevices" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedDevice" object in the "managedDevices" collection.")] - public System.String managedDeviceId { get; set; } - - internal override System.String GetResourcePath() - { - return $"me/managedDevices/{managedDeviceId}/deviceCategory"; - } - } -} \ No newline at end of file diff --git a/PowerShellCmdlets/Generated/SDK/Me/ManagedDevices/DeviceCompliancePolicyStates.cs b/PowerShellCmdlets/Generated/SDK/Me/ManagedDevices/DeviceCompliancePolicyStates.cs deleted file mode 100644 index f4e38d1..0000000 --- a/PowerShellCmdlets/Generated/SDK/Me/ManagedDevices/DeviceCompliancePolicyStates.cs +++ /dev/null @@ -1,368 +0,0 @@ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. - -namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets -{ - using System.Management.Automation; - - /// - /// Retrieves "microsoft.graph.deviceCompliancePolicyState" objects. - /// GET ~/me/managedDevices/{managedDeviceId}/deviceCompliancePolicyStates - /// Retrieves "microsoft.graph.deviceCompliancePolicyState" objects in the "deviceCompliancePolicyStates" collection. - /// Device compliance policy states for this device. - /// - /// GitHub Repository - [Cmdlet("Get", "Me_ManagedDevices_DeviceCompliancePolicyStates", DefaultParameterSetName = @"Search")] - [ODataType("microsoft.graph.deviceCompliancePolicyState")] - [ResourceTypePropertyName("deviceCompliancePolicyStateODataType")] - [ResourceReference] - public class Get_Me_ManagedDevices_DeviceCompliancePolicyStates : GetOrSearchCmdlet - { - /// - /// A required ID for referencing a "microsoft.graph.managedDevice" object in the "managedDevices" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedDevice" object in the "managedDevices" collection.")] - public System.String managedDeviceId { get; set; } - - /// - /// The ID for a "microsoft.graph.deviceCompliancePolicyState" object in the "deviceCompliancePolicyStates" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(ParameterSetName = @"Get", Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.deviceCompliancePolicyState" object in the "deviceCompliancePolicyStates" collection.")] - public System.String deviceCompliancePolicyStateId { get; set; } - - /// - /// The "settingStates" property, of type "microsoft.graph.deviceCompliancePolicySettingState". - /// This property is on the "microsoft.graph.deviceCompliancePolicyState" type. - /// - [ODataType("microsoft.graph.deviceCompliancePolicySettingState")] - [Selectable] - public System.Object[] settingStates { get; set; } - - /// - /// The "displayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.deviceCompliancePolicyState" type. - /// The name of the policy for this policyBase - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String displayName { get; set; } - - /// - /// The "version" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.deviceCompliancePolicyState" type. - /// The version of the policy - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - public System.Int32 version { get; set; } - - /// - /// The "platformType" property, of type "microsoft.graph.policyPlatformType". - /// This property is on the "microsoft.graph.deviceCompliancePolicyState" type. - /// Platform type that the policy applies to - /// - [ODataType("microsoft.graph.policyPlatformType")] - [Selectable] - [Sortable] - public System.String platformType { get; set; } - - /// - /// The "state" property, of type "microsoft.graph.complianceStatus". - /// This property is on the "microsoft.graph.deviceCompliancePolicyState" type. - /// The compliance state of the policy - /// - [ODataType("microsoft.graph.complianceStatus")] - [Selectable] - [Sortable] - public System.String state { get; set; } - - /// - /// The "settingCount" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.deviceCompliancePolicyState" type. - /// Count of how many setting a policy holds - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - public System.Int32 settingCount { get; set; } - - internal override System.String GetResourcePath() - { - return $"me/managedDevices/{managedDeviceId}/deviceCompliancePolicyStates/{deviceCompliancePolicyStateId ?? string.Empty}"; - } - } - - /// - /// Creates a "microsoft.graph.deviceCompliancePolicyState" object. - /// POST ~/me/managedDevices/{managedDeviceId}/deviceCompliancePolicyStates - /// Adds a "microsoft.graph.deviceCompliancePolicyState" object to the "deviceCompliancePolicyStates" collection. - /// Device compliance policy states for this device. - /// - /// GitHub Repository - [Cmdlet("New", "Me_ManagedDevices_DeviceCompliancePolicyStates", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.deviceCompliancePolicyState")] - [ODataType("microsoft.graph.deviceCompliancePolicyState")] - [ResourceTypePropertyName("deviceCompliancePolicyStateODataType")] - [ResourceReference] - public class New_Me_ManagedDevices_DeviceCompliancePolicyStates : PostCmdlet - { - /// - /// The ID for a "microsoft.graph.deviceCompliancePolicyState" object in the "deviceCompliancePolicyStates" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - public System.String deviceCompliancePolicyStateId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.managedDevice" object in the "managedDevices" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedDevice" object in the "managedDevices" collection.")] - public System.String managedDeviceId { get; set; } - - /// - /// The "settingStates" property, of type "microsoft.graph.deviceCompliancePolicySettingState". - /// This property is on the "microsoft.graph.deviceCompliancePolicyState" type. - /// - [ODataType("microsoft.graph.deviceCompliancePolicySettingState")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.deviceCompliancePolicyState", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "settingStates" property, of type "microsoft.graph.deviceCompliancePolicySettingState".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "settingStates" property, of type "microsoft.graph.deviceCompliancePolicySettingState".")] - public System.Object[] settingStates { get; set; } - - /// - /// The "displayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.deviceCompliancePolicyState" type. - /// The name of the policy for this policyBase - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.deviceCompliancePolicyState", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "displayName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "displayName" property, of type "Edm.String".")] - public System.String displayName { get; set; } - - /// - /// The "version" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.deviceCompliancePolicyState" type. - /// The version of the policy - /// - [ODataType("Edm.Int32")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.deviceCompliancePolicyState", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "version" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "version" property, of type "Edm.Int32".")] - public System.Int32 version { get; set; } - - /// - /// The "platformType" property, of type "microsoft.graph.policyPlatformType". - /// This property is on the "microsoft.graph.deviceCompliancePolicyState" type. - /// Platform type that the policy applies to - /// - /// Valid values: 'android', 'iOS', 'macOS', 'windowsPhone81', 'windows81AndLater', 'windows10AndLater', 'androidWorkProfile', 'all' - /// - /// - [ODataType("microsoft.graph.policyPlatformType")] - [Selectable] - [ValidateSet(@"android", @"iOS", @"macOS", @"windowsPhone81", @"windows81AndLater", @"windows10AndLater", @"androidWorkProfile", @"all")] - [Parameter(ParameterSetName = @"microsoft.graph.deviceCompliancePolicyState", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "platformType" property, of type "microsoft.graph.policyPlatformType".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "platformType" property, of type "microsoft.graph.policyPlatformType".")] - public System.String platformType { get; set; } - - /// - /// The "state" property, of type "microsoft.graph.complianceStatus". - /// This property is on the "microsoft.graph.deviceCompliancePolicyState" type. - /// The compliance state of the policy - /// - /// Valid values: 'unknown', 'notApplicable', 'compliant', 'remediated', 'nonCompliant', 'error', 'conflict', 'notAssigned' - /// - /// - [ODataType("microsoft.graph.complianceStatus")] - [Selectable] - [ValidateSet(@"unknown", @"notApplicable", @"compliant", @"remediated", @"nonCompliant", @"error", @"conflict", @"notAssigned")] - [Parameter(ParameterSetName = @"microsoft.graph.deviceCompliancePolicyState", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "state" property, of type "microsoft.graph.complianceStatus".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "state" property, of type "microsoft.graph.complianceStatus".")] - public System.String state { get; set; } - - /// - /// The "settingCount" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.deviceCompliancePolicyState" type. - /// Count of how many setting a policy holds - /// - [ODataType("Edm.Int32")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.deviceCompliancePolicyState", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "settingCount" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "settingCount" property, of type "Edm.Int32".")] - public System.Int32 settingCount { get; set; } - - internal override System.String GetResourcePath() - { - return $"me/managedDevices/{managedDeviceId}/deviceCompliancePolicyStates/{deviceCompliancePolicyStateId}"; - } - } - - /// - /// Updates a "microsoft.graph.deviceCompliancePolicyState". - /// PATCH ~/me/managedDevices/{managedDeviceId}/deviceCompliancePolicyStates - /// Updates a "microsoft.graph.deviceCompliancePolicyState" object in the "deviceCompliancePolicyStates" collection. - /// Device compliance policy states for this device. - /// - /// GitHub Repository - [Cmdlet("Update", "Me_ManagedDevices_DeviceCompliancePolicyStates", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.deviceCompliancePolicyState")] - [ODataType("microsoft.graph.deviceCompliancePolicyState")] - [ResourceTypePropertyName("deviceCompliancePolicyStateODataType")] - public class Update_Me_ManagedDevices_DeviceCompliancePolicyStates : PatchCmdlet - { - /// - /// The ID for a "microsoft.graph.deviceCompliancePolicyState" object in the "deviceCompliancePolicyStates" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.deviceCompliancePolicyState" object in the "deviceCompliancePolicyStates" collection.")] - public System.String deviceCompliancePolicyStateId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.managedDevice" object in the "managedDevices" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedDevice" object in the "managedDevices" collection.")] - public System.String managedDeviceId { get; set; } - - /// - /// The "settingStates" property, of type "microsoft.graph.deviceCompliancePolicySettingState". - /// This property is on the "microsoft.graph.deviceCompliancePolicyState" type. - /// - [ODataType("microsoft.graph.deviceCompliancePolicySettingState")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.deviceCompliancePolicyState", HelpMessage = @"The "settingStates" property, of type "microsoft.graph.deviceCompliancePolicySettingState".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "settingStates" property, of type "microsoft.graph.deviceCompliancePolicySettingState".")] - public System.Object[] settingStates { get; set; } - - /// - /// The "displayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.deviceCompliancePolicyState" type. - /// The name of the policy for this policyBase - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.deviceCompliancePolicyState", HelpMessage = @"The "displayName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "displayName" property, of type "Edm.String".")] - public System.String displayName { get; set; } - - /// - /// The "version" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.deviceCompliancePolicyState" type. - /// The version of the policy - /// - [ODataType("Edm.Int32")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.deviceCompliancePolicyState", HelpMessage = @"The "version" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "version" property, of type "Edm.Int32".")] - public System.Int32 version { get; set; } - - /// - /// The "platformType" property, of type "microsoft.graph.policyPlatformType". - /// This property is on the "microsoft.graph.deviceCompliancePolicyState" type. - /// Platform type that the policy applies to - /// - /// Valid values: 'android', 'iOS', 'macOS', 'windowsPhone81', 'windows81AndLater', 'windows10AndLater', 'androidWorkProfile', 'all' - /// - /// - [ODataType("microsoft.graph.policyPlatformType")] - [Selectable] - [ValidateSet(@"android", @"iOS", @"macOS", @"windowsPhone81", @"windows81AndLater", @"windows10AndLater", @"androidWorkProfile", @"all")] - [Parameter(ParameterSetName = @"microsoft.graph.deviceCompliancePolicyState", HelpMessage = @"The "platformType" property, of type "microsoft.graph.policyPlatformType".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "platformType" property, of type "microsoft.graph.policyPlatformType".")] - public System.String platformType { get; set; } - - /// - /// The "state" property, of type "microsoft.graph.complianceStatus". - /// This property is on the "microsoft.graph.deviceCompliancePolicyState" type. - /// The compliance state of the policy - /// - /// Valid values: 'unknown', 'notApplicable', 'compliant', 'remediated', 'nonCompliant', 'error', 'conflict', 'notAssigned' - /// - /// - [ODataType("microsoft.graph.complianceStatus")] - [Selectable] - [ValidateSet(@"unknown", @"notApplicable", @"compliant", @"remediated", @"nonCompliant", @"error", @"conflict", @"notAssigned")] - [Parameter(ParameterSetName = @"microsoft.graph.deviceCompliancePolicyState", HelpMessage = @"The "state" property, of type "microsoft.graph.complianceStatus".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "state" property, of type "microsoft.graph.complianceStatus".")] - public System.String state { get; set; } - - /// - /// The "settingCount" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.deviceCompliancePolicyState" type. - /// Count of how many setting a policy holds - /// - [ODataType("Edm.Int32")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.deviceCompliancePolicyState", HelpMessage = @"The "settingCount" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "settingCount" property, of type "Edm.Int32".")] - public System.Int32 settingCount { get; set; } - - internal override System.String GetResourcePath() - { - return $"me/managedDevices/{managedDeviceId}/deviceCompliancePolicyStates/{deviceCompliancePolicyStateId}"; - } - } - - /// - /// Removes a "microsoft.graph.deviceCompliancePolicyState" object. - /// DELETE ~/me/managedDevices/{managedDeviceId}/deviceCompliancePolicyStates/deviceCompliancePolicyStateId - /// Removes a "microsoft.graph.deviceCompliancePolicyState" object from the "deviceCompliancePolicyStates" collection. - /// Device compliance policy states for this device. - /// - /// GitHub Repository - [Cmdlet("Remove", "Me_ManagedDevices_DeviceCompliancePolicyStates", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.deviceCompliancePolicyState")] - [ResourceTypePropertyName("deviceCompliancePolicyStateODataType")] - public class Remove_Me_ManagedDevices_DeviceCompliancePolicyStates : DeleteCmdlet - { - /// - /// The ID for a "microsoft.graph.deviceCompliancePolicyState" object in the "deviceCompliancePolicyStates" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.deviceCompliancePolicyState" object in the "deviceCompliancePolicyStates" collection.")] - public System.String deviceCompliancePolicyStateId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.managedDevice" object in the "managedDevices" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedDevice" object in the "managedDevices" collection.")] - public System.String managedDeviceId { get; set; } - - internal override System.String GetResourcePath() - { - return $"me/managedDevices/{managedDeviceId}/deviceCompliancePolicyStates/{deviceCompliancePolicyStateId}"; - } - } -} \ No newline at end of file diff --git a/PowerShellCmdlets/Generated/SDK/Me/ManagedDevices/DeviceConfigurationStates.cs b/PowerShellCmdlets/Generated/SDK/Me/ManagedDevices/DeviceConfigurationStates.cs deleted file mode 100644 index 663957b..0000000 --- a/PowerShellCmdlets/Generated/SDK/Me/ManagedDevices/DeviceConfigurationStates.cs +++ /dev/null @@ -1,368 +0,0 @@ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. - -namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets -{ - using System.Management.Automation; - - /// - /// Retrieves "microsoft.graph.deviceConfigurationState" objects. - /// GET ~/me/managedDevices/{managedDeviceId}/deviceConfigurationStates - /// Retrieves "microsoft.graph.deviceConfigurationState" objects in the "deviceConfigurationStates" collection. - /// Device configuration states for this device. - /// - /// GitHub Repository - [Cmdlet("Get", "Me_ManagedDevices_DeviceConfigurationStates", DefaultParameterSetName = @"Search")] - [ODataType("microsoft.graph.deviceConfigurationState")] - [ResourceTypePropertyName("deviceConfigurationStateODataType")] - [ResourceReference] - public class Get_Me_ManagedDevices_DeviceConfigurationStates : GetOrSearchCmdlet - { - /// - /// A required ID for referencing a "microsoft.graph.managedDevice" object in the "managedDevices" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedDevice" object in the "managedDevices" collection.")] - public System.String managedDeviceId { get; set; } - - /// - /// The ID for a "microsoft.graph.deviceConfigurationState" object in the "deviceConfigurationStates" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(ParameterSetName = @"Get", Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.deviceConfigurationState" object in the "deviceConfigurationStates" collection.")] - public System.String deviceConfigurationStateId { get; set; } - - /// - /// The "settingStates" property, of type "microsoft.graph.deviceConfigurationSettingState". - /// This property is on the "microsoft.graph.deviceConfigurationState" type. - /// - [ODataType("microsoft.graph.deviceConfigurationSettingState")] - [Selectable] - public System.Object[] settingStates { get; set; } - - /// - /// The "displayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.deviceConfigurationState" type. - /// The name of the policy for this policyBase - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String displayName { get; set; } - - /// - /// The "version" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.deviceConfigurationState" type. - /// The version of the policy - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - public System.Int32 version { get; set; } - - /// - /// The "platformType" property, of type "microsoft.graph.policyPlatformType". - /// This property is on the "microsoft.graph.deviceConfigurationState" type. - /// Platform type that the policy applies to - /// - [ODataType("microsoft.graph.policyPlatformType")] - [Selectable] - [Sortable] - public System.String platformType { get; set; } - - /// - /// The "state" property, of type "microsoft.graph.complianceStatus". - /// This property is on the "microsoft.graph.deviceConfigurationState" type. - /// The compliance state of the policy - /// - [ODataType("microsoft.graph.complianceStatus")] - [Selectable] - [Sortable] - public System.String state { get; set; } - - /// - /// The "settingCount" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.deviceConfigurationState" type. - /// Count of how many setting a policy holds - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - public System.Int32 settingCount { get; set; } - - internal override System.String GetResourcePath() - { - return $"me/managedDevices/{managedDeviceId}/deviceConfigurationStates/{deviceConfigurationStateId ?? string.Empty}"; - } - } - - /// - /// Creates a "microsoft.graph.deviceConfigurationState" object. - /// POST ~/me/managedDevices/{managedDeviceId}/deviceConfigurationStates - /// Adds a "microsoft.graph.deviceConfigurationState" object to the "deviceConfigurationStates" collection. - /// Device configuration states for this device. - /// - /// GitHub Repository - [Cmdlet("New", "Me_ManagedDevices_DeviceConfigurationStates", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.deviceConfigurationState")] - [ODataType("microsoft.graph.deviceConfigurationState")] - [ResourceTypePropertyName("deviceConfigurationStateODataType")] - [ResourceReference] - public class New_Me_ManagedDevices_DeviceConfigurationStates : PostCmdlet - { - /// - /// The ID for a "microsoft.graph.deviceConfigurationState" object in the "deviceConfigurationStates" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - public System.String deviceConfigurationStateId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.managedDevice" object in the "managedDevices" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedDevice" object in the "managedDevices" collection.")] - public System.String managedDeviceId { get; set; } - - /// - /// The "settingStates" property, of type "microsoft.graph.deviceConfigurationSettingState". - /// This property is on the "microsoft.graph.deviceConfigurationState" type. - /// - [ODataType("microsoft.graph.deviceConfigurationSettingState")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.deviceConfigurationState", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "settingStates" property, of type "microsoft.graph.deviceConfigurationSettingState".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "settingStates" property, of type "microsoft.graph.deviceConfigurationSettingState".")] - public System.Object[] settingStates { get; set; } - - /// - /// The "displayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.deviceConfigurationState" type. - /// The name of the policy for this policyBase - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.deviceConfigurationState", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "displayName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "displayName" property, of type "Edm.String".")] - public System.String displayName { get; set; } - - /// - /// The "version" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.deviceConfigurationState" type. - /// The version of the policy - /// - [ODataType("Edm.Int32")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.deviceConfigurationState", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "version" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "version" property, of type "Edm.Int32".")] - public System.Int32 version { get; set; } - - /// - /// The "platformType" property, of type "microsoft.graph.policyPlatformType". - /// This property is on the "microsoft.graph.deviceConfigurationState" type. - /// Platform type that the policy applies to - /// - /// Valid values: 'android', 'iOS', 'macOS', 'windowsPhone81', 'windows81AndLater', 'windows10AndLater', 'androidWorkProfile', 'all' - /// - /// - [ODataType("microsoft.graph.policyPlatformType")] - [Selectable] - [ValidateSet(@"android", @"iOS", @"macOS", @"windowsPhone81", @"windows81AndLater", @"windows10AndLater", @"androidWorkProfile", @"all")] - [Parameter(ParameterSetName = @"microsoft.graph.deviceConfigurationState", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "platformType" property, of type "microsoft.graph.policyPlatformType".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "platformType" property, of type "microsoft.graph.policyPlatformType".")] - public System.String platformType { get; set; } - - /// - /// The "state" property, of type "microsoft.graph.complianceStatus". - /// This property is on the "microsoft.graph.deviceConfigurationState" type. - /// The compliance state of the policy - /// - /// Valid values: 'unknown', 'notApplicable', 'compliant', 'remediated', 'nonCompliant', 'error', 'conflict', 'notAssigned' - /// - /// - [ODataType("microsoft.graph.complianceStatus")] - [Selectable] - [ValidateSet(@"unknown", @"notApplicable", @"compliant", @"remediated", @"nonCompliant", @"error", @"conflict", @"notAssigned")] - [Parameter(ParameterSetName = @"microsoft.graph.deviceConfigurationState", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "state" property, of type "microsoft.graph.complianceStatus".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "state" property, of type "microsoft.graph.complianceStatus".")] - public System.String state { get; set; } - - /// - /// The "settingCount" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.deviceConfigurationState" type. - /// Count of how many setting a policy holds - /// - [ODataType("Edm.Int32")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.deviceConfigurationState", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "settingCount" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "settingCount" property, of type "Edm.Int32".")] - public System.Int32 settingCount { get; set; } - - internal override System.String GetResourcePath() - { - return $"me/managedDevices/{managedDeviceId}/deviceConfigurationStates/{deviceConfigurationStateId}"; - } - } - - /// - /// Updates a "microsoft.graph.deviceConfigurationState". - /// PATCH ~/me/managedDevices/{managedDeviceId}/deviceConfigurationStates - /// Updates a "microsoft.graph.deviceConfigurationState" object in the "deviceConfigurationStates" collection. - /// Device configuration states for this device. - /// - /// GitHub Repository - [Cmdlet("Update", "Me_ManagedDevices_DeviceConfigurationStates", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.deviceConfigurationState")] - [ODataType("microsoft.graph.deviceConfigurationState")] - [ResourceTypePropertyName("deviceConfigurationStateODataType")] - public class Update_Me_ManagedDevices_DeviceConfigurationStates : PatchCmdlet - { - /// - /// The ID for a "microsoft.graph.deviceConfigurationState" object in the "deviceConfigurationStates" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.deviceConfigurationState" object in the "deviceConfigurationStates" collection.")] - public System.String deviceConfigurationStateId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.managedDevice" object in the "managedDevices" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedDevice" object in the "managedDevices" collection.")] - public System.String managedDeviceId { get; set; } - - /// - /// The "settingStates" property, of type "microsoft.graph.deviceConfigurationSettingState". - /// This property is on the "microsoft.graph.deviceConfigurationState" type. - /// - [ODataType("microsoft.graph.deviceConfigurationSettingState")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.deviceConfigurationState", HelpMessage = @"The "settingStates" property, of type "microsoft.graph.deviceConfigurationSettingState".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "settingStates" property, of type "microsoft.graph.deviceConfigurationSettingState".")] - public System.Object[] settingStates { get; set; } - - /// - /// The "displayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.deviceConfigurationState" type. - /// The name of the policy for this policyBase - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.deviceConfigurationState", HelpMessage = @"The "displayName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "displayName" property, of type "Edm.String".")] - public System.String displayName { get; set; } - - /// - /// The "version" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.deviceConfigurationState" type. - /// The version of the policy - /// - [ODataType("Edm.Int32")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.deviceConfigurationState", HelpMessage = @"The "version" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "version" property, of type "Edm.Int32".")] - public System.Int32 version { get; set; } - - /// - /// The "platformType" property, of type "microsoft.graph.policyPlatformType". - /// This property is on the "microsoft.graph.deviceConfigurationState" type. - /// Platform type that the policy applies to - /// - /// Valid values: 'android', 'iOS', 'macOS', 'windowsPhone81', 'windows81AndLater', 'windows10AndLater', 'androidWorkProfile', 'all' - /// - /// - [ODataType("microsoft.graph.policyPlatformType")] - [Selectable] - [ValidateSet(@"android", @"iOS", @"macOS", @"windowsPhone81", @"windows81AndLater", @"windows10AndLater", @"androidWorkProfile", @"all")] - [Parameter(ParameterSetName = @"microsoft.graph.deviceConfigurationState", HelpMessage = @"The "platformType" property, of type "microsoft.graph.policyPlatformType".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "platformType" property, of type "microsoft.graph.policyPlatformType".")] - public System.String platformType { get; set; } - - /// - /// The "state" property, of type "microsoft.graph.complianceStatus". - /// This property is on the "microsoft.graph.deviceConfigurationState" type. - /// The compliance state of the policy - /// - /// Valid values: 'unknown', 'notApplicable', 'compliant', 'remediated', 'nonCompliant', 'error', 'conflict', 'notAssigned' - /// - /// - [ODataType("microsoft.graph.complianceStatus")] - [Selectable] - [ValidateSet(@"unknown", @"notApplicable", @"compliant", @"remediated", @"nonCompliant", @"error", @"conflict", @"notAssigned")] - [Parameter(ParameterSetName = @"microsoft.graph.deviceConfigurationState", HelpMessage = @"The "state" property, of type "microsoft.graph.complianceStatus".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "state" property, of type "microsoft.graph.complianceStatus".")] - public System.String state { get; set; } - - /// - /// The "settingCount" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.deviceConfigurationState" type. - /// Count of how many setting a policy holds - /// - [ODataType("Edm.Int32")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.deviceConfigurationState", HelpMessage = @"The "settingCount" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "settingCount" property, of type "Edm.Int32".")] - public System.Int32 settingCount { get; set; } - - internal override System.String GetResourcePath() - { - return $"me/managedDevices/{managedDeviceId}/deviceConfigurationStates/{deviceConfigurationStateId}"; - } - } - - /// - /// Removes a "microsoft.graph.deviceConfigurationState" object. - /// DELETE ~/me/managedDevices/{managedDeviceId}/deviceConfigurationStates/deviceConfigurationStateId - /// Removes a "microsoft.graph.deviceConfigurationState" object from the "deviceConfigurationStates" collection. - /// Device configuration states for this device. - /// - /// GitHub Repository - [Cmdlet("Remove", "Me_ManagedDevices_DeviceConfigurationStates", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.deviceConfigurationState")] - [ResourceTypePropertyName("deviceConfigurationStateODataType")] - public class Remove_Me_ManagedDevices_DeviceConfigurationStates : DeleteCmdlet - { - /// - /// The ID for a "microsoft.graph.deviceConfigurationState" object in the "deviceConfigurationStates" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.deviceConfigurationState" object in the "deviceConfigurationStates" collection.")] - public System.String deviceConfigurationStateId { get; set; } - - /// - /// A required ID for referencing a "microsoft.graph.managedDevice" object in the "managedDevices" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A required ID for referencing a "microsoft.graph.managedDevice" object in the "managedDevices" collection.")] - public System.String managedDeviceId { get; set; } - - internal override System.String GetResourcePath() - { - return $"me/managedDevices/{managedDeviceId}/deviceConfigurationStates/{deviceConfigurationStateId}"; - } - } -} \ No newline at end of file diff --git a/PowerShellCmdlets/Generated/SDK/Me/Manager.cs b/PowerShellCmdlets/Generated/SDK/Me/Manager.cs deleted file mode 100644 index 5bed673..0000000 --- a/PowerShellCmdlets/Generated/SDK/Me/Manager.cs +++ /dev/null @@ -1,2280 +0,0 @@ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. - -namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets -{ - using System.Management.Automation; - - /// - /// Retrieves the "manager" object. - /// GET ~/me/manager - /// Retrieves the "manager" object (which is of type "microsoft.graph.directoryObject"). - /// - /// GitHub Repository - [Cmdlet("Get", "Me_Manager", DefaultParameterSetName = @"Get")] - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [ResourceTypePropertyName("managerODataType")] - public class Get_Me_Manager : GetCmdlet - { - /// - /// The "deletedDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.directoryObject" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - public System.DateTimeOffset deletedDateTime { get; set; } - - /// - /// The "displayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.String displayName { get; set; } - - /// - /// The "description" property, of type "Edm.String". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.String description { get; set; } - - /// - /// The "values" property, of type "microsoft.graph.settingTemplateValue". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("microsoft.graph.settingTemplateValue")] - [Selectable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.Object[] values { get; set; } - - /// - /// The "accountEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Boolean accountEnabled { get; set; } - - /// - /// The "ageGroup" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String ageGroup { get; set; } - - /// - /// The "assignedLicenses" property, of type "microsoft.graph.assignedLicense". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.assignedLicense")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] assignedLicenses { get; set; } - - /// - /// The "assignedPlans" property, of type "microsoft.graph.assignedPlan". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.assignedPlan")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] assignedPlans { get; set; } - - /// - /// The "businessPhones" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] businessPhones { get; set; } - - /// - /// The "city" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String city { get; set; } - - /// - /// The "companyName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String companyName { get; set; } - - /// - /// The "consentProvidedForMinor" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String consentProvidedForMinor { get; set; } - - /// - /// The "country" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String country { get; set; } - - /// - /// The "department" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String department { get; set; } - - /// - /// The "givenName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String givenName { get; set; } - - /// - /// The "imAddresses" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] imAddresses { get; set; } - - /// - /// The "jobTitle" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String jobTitle { get; set; } - - /// - /// The "legalAgeGroupClassification" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String legalAgeGroupClassification { get; set; } - - /// - /// The "mail" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mail { get; set; } - - /// - /// The "mailNickname" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mailNickname { get; set; } - - /// - /// The "mobilePhone" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mobilePhone { get; set; } - - /// - /// The "onPremisesExtensionAttributes" property, of type "microsoft.graph.onPremisesExtensionAttributes". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.onPremisesExtensionAttributes")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object onPremisesExtensionAttributes { get; set; } - - /// - /// The "onPremisesImmutableId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesImmutableId { get; set; } - - /// - /// The "onPremisesLastSyncDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset onPremisesLastSyncDateTime { get; set; } - - /// - /// The "onPremisesProvisioningErrors" property, of type "microsoft.graph.onPremisesProvisioningError". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.onPremisesProvisioningError")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] onPremisesProvisioningErrors { get; set; } - - /// - /// The "onPremisesSecurityIdentifier" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesSecurityIdentifier { get; set; } - - /// - /// The "onPremisesSyncEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Boolean onPremisesSyncEnabled { get; set; } - - /// - /// The "onPremisesDomainName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesDomainName { get; set; } - - /// - /// The "onPremisesSamAccountName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesSamAccountName { get; set; } - - /// - /// The "onPremisesUserPrincipalName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesUserPrincipalName { get; set; } - - /// - /// The "passwordPolicies" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String passwordPolicies { get; set; } - - /// - /// The "passwordProfile" property, of type "microsoft.graph.passwordProfile". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.passwordProfile")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object passwordProfile { get; set; } - - /// - /// The "officeLocation" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String officeLocation { get; set; } - - /// - /// The "postalCode" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String postalCode { get; set; } - - /// - /// The "preferredLanguage" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String preferredLanguage { get; set; } - - /// - /// The "provisionedPlans" property, of type "microsoft.graph.provisionedPlan". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.provisionedPlan")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] provisionedPlans { get; set; } - - /// - /// The "proxyAddresses" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] proxyAddresses { get; set; } - - /// - /// The "state" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String state { get; set; } - - /// - /// The "streetAddress" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String streetAddress { get; set; } - - /// - /// The "surname" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String surname { get; set; } - - /// - /// The "usageLocation" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String usageLocation { get; set; } - - /// - /// The "userPrincipalName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String userPrincipalName { get; set; } - - /// - /// The "userType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String userType { get; set; } - - /// - /// The "mailboxSettings" property, of type "microsoft.graph.mailboxSettings". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.mailboxSettings")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object mailboxSettings { get; set; } - - /// - /// The "aboutMe" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String aboutMe { get; set; } - - /// - /// The "birthday" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset birthday { get; set; } - - /// - /// The "hireDate" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset hireDate { get; set; } - - /// - /// The "interests" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] interests { get; set; } - - /// - /// The "mySite" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mySite { get; set; } - - /// - /// The "pastProjects" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] pastProjects { get; set; } - - /// - /// The "preferredName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String preferredName { get; set; } - - /// - /// The "responsibilities" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] responsibilities { get; set; } - - /// - /// The "schools" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] schools { get; set; } - - /// - /// The "skills" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] skills { get; set; } - - /// - /// The "deviceEnrollmentLimit" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.user" type. - /// The limit on the maximum number of devices that the user is permitted to enroll. Allowed values are 5 or 1000. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Int32 deviceEnrollmentLimit { get; set; } - - /// - /// The "ownedDevices" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] ownedDevices { get; set; } - - /// - /// The "registeredDevices" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] registeredDevices { get; set; } - - /// - /// The "manager" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object manager { get; set; } - - /// - /// The "directReports" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] directReports { get; set; } - - /// - /// The "memberOf" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] memberOf { get; set; } - - /// - /// The "createdObjects" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] createdObjects { get; set; } - - /// - /// The "ownedObjects" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] ownedObjects { get; set; } - - /// - /// The "licenseDetails" property, of type "microsoft.graph.licenseDetails". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.licenseDetails")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] licenseDetails { get; set; } - - /// - /// The "inferenceClassification" property, of type "microsoft.graph.inferenceClassification". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.inferenceClassification")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object inferenceClassification { get; set; } - - /// - /// The "photo" property, of type "microsoft.graph.profilePhoto". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.profilePhoto")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object photo { get; set; } - - /// - /// The "photos" property, of type "microsoft.graph.profilePhoto". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.profilePhoto")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] photos { get; set; } - - /// - /// The "managedDevices" property, of type "microsoft.graph.managedDevice". - /// This property is on the "microsoft.graph.user" type. - /// The managed devices associated with the user. - /// - [ODataType("microsoft.graph.managedDevice")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] managedDevices { get; set; } - - /// - /// The "managedAppRegistrations" property, of type "microsoft.graph.managedAppRegistration". - /// This property is on the "microsoft.graph.user" type. - /// Zero or more managed app registrations that belong to the user. - /// - [ODataType("microsoft.graph.managedAppRegistration", "microsoft.graph.androidManagedAppRegistration", "microsoft.graph.iosManagedAppRegistration")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] managedAppRegistrations { get; set; } - - /// - /// The "deviceManagementTroubleshootingEvents" property, of type "microsoft.graph.deviceManagementTroubleshootingEvent". - /// This property is on the "microsoft.graph.user" type. - /// The list of troubleshooting events for this user. - /// - [ODataType("microsoft.graph.deviceManagementTroubleshootingEvent", "microsoft.graph.enrollmentTroubleshootingEvent")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] deviceManagementTroubleshootingEvents { get; set; } - - /// - /// The "countryLetterCode" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String countryLetterCode { get; set; } - - /// - /// The "marketingNotificationEmails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] marketingNotificationEmails { get; set; } - - /// - /// The "privacyProfile" property, of type "microsoft.graph.privacyProfile". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("microsoft.graph.privacyProfile")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.Object privacyProfile { get; set; } - - /// - /// The "securityComplianceNotificationMails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] securityComplianceNotificationMails { get; set; } - - /// - /// The "securityComplianceNotificationPhones" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] securityComplianceNotificationPhones { get; set; } - - /// - /// The "street" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String street { get; set; } - - /// - /// The "technicalNotificationMails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] technicalNotificationMails { get; set; } - - /// - /// The "mobileDeviceManagementAuthority" property, of type "microsoft.graph.mdmAuthority". - /// This property is on the "microsoft.graph.organization" type. - /// Mobile device management authority. - /// - [ODataType("microsoft.graph.mdmAuthority")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String mobileDeviceManagementAuthority { get; set; } - - /// - /// The "contractType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.String contractType { get; set; } - - /// - /// The "customerId" property, of type "Edm.Guid". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.Guid")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.Guid customerId { get; set; } - - /// - /// The "defaultDomainName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.String defaultDomainName { get; set; } - - /// - /// The "classification" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.String classification { get; set; } - - /// - /// The "createdDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.DateTimeOffset createdDateTime { get; set; } - - /// - /// The "groupTypes" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.group")] - public System.String[] groupTypes { get; set; } - - /// - /// The "mailEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean mailEnabled { get; set; } - - /// - /// The "renewedDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.DateTimeOffset renewedDateTime { get; set; } - - /// - /// The "securityEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean securityEnabled { get; set; } - - /// - /// The "visibility" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.String visibility { get; set; } - - /// - /// The "allowExternalSenders" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean allowExternalSenders { get; set; } - - /// - /// The "autoSubscribeNewMembers" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean autoSubscribeNewMembers { get; set; } - - /// - /// The "isSubscribedByMail" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean isSubscribedByMail { get; set; } - - /// - /// The "unseenCount" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Int32 unseenCount { get; set; } - - /// - /// The "members" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] members { get; set; } - - /// - /// The "createdOnBehalfOf" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Object createdOnBehalfOf { get; set; } - - /// - /// The "owners" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] owners { get; set; } - - /// - /// The "settings" property, of type "microsoft.graph.groupSetting". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.groupSetting")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] settings { get; set; } - - /// - /// The "groupLifecyclePolicies" property, of type "microsoft.graph.groupLifecyclePolicy". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.groupLifecyclePolicy")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] groupLifecyclePolicies { get; set; } - - /// - /// The "roleTemplateId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.directoryRole" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.directoryRole")] - public System.String roleTemplateId { get; set; } - - /// - /// The "alternativeSecurityIds" property, of type "microsoft.graph.alternativeSecurityId". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.alternativeSecurityId")] - [Selectable] - [DerivedType("microsoft.graph.device")] - public System.Object[] alternativeSecurityIds { get; set; } - - /// - /// The "approximateLastSignInDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.DateTimeOffset approximateLastSignInDateTime { get; set; } - - /// - /// The "deviceId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String deviceId { get; set; } - - /// - /// The "deviceMetadata" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String deviceMetadata { get; set; } - - /// - /// The "deviceVersion" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Int32 deviceVersion { get; set; } - - /// - /// The "isCompliant" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Boolean isCompliant { get; set; } - - /// - /// The "isManaged" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Boolean isManaged { get; set; } - - /// - /// The "operatingSystem" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String operatingSystem { get; set; } - - /// - /// The "operatingSystemVersion" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String operatingSystemVersion { get; set; } - - /// - /// The "physicalIds" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.device")] - public System.String[] physicalIds { get; set; } - - /// - /// The "trustType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String trustType { get; set; } - - /// - /// The "registeredOwners" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] registeredOwners { get; set; } - - /// - /// The "registeredUsers" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] registeredUsers { get; set; } - - /// - /// The "extensions" property, of type "microsoft.graph.extension". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.extension", "microsoft.graph.openTypeExtension")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] extensions { get; set; } - - internal override System.String GetResourcePath() - { - return $"me/manager"; - } - } - - /// - /// Retrieves the "manager" object reference. - /// GET ~/me/manager/$ref - /// Retrieves the "manager" object reference (which is of type "microsoft.graph.directoryObject"). - /// - /// GitHub Repository - [Cmdlet("Get", "Me_ManagerReference", DefaultParameterSetName = @"Get")] - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [ResourceTypePropertyName("managerODataType")] - public class Get_Me_ManagerReference : GetCmdlet - { - /// - /// The "deletedDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.directoryObject" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - public System.DateTimeOffset deletedDateTime { get; set; } - - /// - /// The "displayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.String displayName { get; set; } - - /// - /// The "description" property, of type "Edm.String". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.String description { get; set; } - - /// - /// The "values" property, of type "microsoft.graph.settingTemplateValue". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("microsoft.graph.settingTemplateValue")] - [Selectable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.Object[] values { get; set; } - - /// - /// The "accountEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Boolean accountEnabled { get; set; } - - /// - /// The "ageGroup" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String ageGroup { get; set; } - - /// - /// The "assignedLicenses" property, of type "microsoft.graph.assignedLicense". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.assignedLicense")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] assignedLicenses { get; set; } - - /// - /// The "assignedPlans" property, of type "microsoft.graph.assignedPlan". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.assignedPlan")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] assignedPlans { get; set; } - - /// - /// The "businessPhones" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] businessPhones { get; set; } - - /// - /// The "city" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String city { get; set; } - - /// - /// The "companyName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String companyName { get; set; } - - /// - /// The "consentProvidedForMinor" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String consentProvidedForMinor { get; set; } - - /// - /// The "country" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String country { get; set; } - - /// - /// The "department" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String department { get; set; } - - /// - /// The "givenName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String givenName { get; set; } - - /// - /// The "imAddresses" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] imAddresses { get; set; } - - /// - /// The "jobTitle" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String jobTitle { get; set; } - - /// - /// The "legalAgeGroupClassification" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String legalAgeGroupClassification { get; set; } - - /// - /// The "mail" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mail { get; set; } - - /// - /// The "mailNickname" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mailNickname { get; set; } - - /// - /// The "mobilePhone" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mobilePhone { get; set; } - - /// - /// The "onPremisesExtensionAttributes" property, of type "microsoft.graph.onPremisesExtensionAttributes". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.onPremisesExtensionAttributes")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object onPremisesExtensionAttributes { get; set; } - - /// - /// The "onPremisesImmutableId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesImmutableId { get; set; } - - /// - /// The "onPremisesLastSyncDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset onPremisesLastSyncDateTime { get; set; } - - /// - /// The "onPremisesProvisioningErrors" property, of type "microsoft.graph.onPremisesProvisioningError". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.onPremisesProvisioningError")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] onPremisesProvisioningErrors { get; set; } - - /// - /// The "onPremisesSecurityIdentifier" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesSecurityIdentifier { get; set; } - - /// - /// The "onPremisesSyncEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Boolean onPremisesSyncEnabled { get; set; } - - /// - /// The "onPremisesDomainName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesDomainName { get; set; } - - /// - /// The "onPremisesSamAccountName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesSamAccountName { get; set; } - - /// - /// The "onPremisesUserPrincipalName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesUserPrincipalName { get; set; } - - /// - /// The "passwordPolicies" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String passwordPolicies { get; set; } - - /// - /// The "passwordProfile" property, of type "microsoft.graph.passwordProfile". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.passwordProfile")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object passwordProfile { get; set; } - - /// - /// The "officeLocation" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String officeLocation { get; set; } - - /// - /// The "postalCode" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String postalCode { get; set; } - - /// - /// The "preferredLanguage" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String preferredLanguage { get; set; } - - /// - /// The "provisionedPlans" property, of type "microsoft.graph.provisionedPlan". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.provisionedPlan")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] provisionedPlans { get; set; } - - /// - /// The "proxyAddresses" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] proxyAddresses { get; set; } - - /// - /// The "state" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String state { get; set; } - - /// - /// The "streetAddress" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String streetAddress { get; set; } - - /// - /// The "surname" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String surname { get; set; } - - /// - /// The "usageLocation" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String usageLocation { get; set; } - - /// - /// The "userPrincipalName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String userPrincipalName { get; set; } - - /// - /// The "userType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String userType { get; set; } - - /// - /// The "mailboxSettings" property, of type "microsoft.graph.mailboxSettings". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.mailboxSettings")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object mailboxSettings { get; set; } - - /// - /// The "aboutMe" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String aboutMe { get; set; } - - /// - /// The "birthday" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset birthday { get; set; } - - /// - /// The "hireDate" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset hireDate { get; set; } - - /// - /// The "interests" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] interests { get; set; } - - /// - /// The "mySite" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mySite { get; set; } - - /// - /// The "pastProjects" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] pastProjects { get; set; } - - /// - /// The "preferredName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String preferredName { get; set; } - - /// - /// The "responsibilities" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] responsibilities { get; set; } - - /// - /// The "schools" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] schools { get; set; } - - /// - /// The "skills" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] skills { get; set; } - - /// - /// The "deviceEnrollmentLimit" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.user" type. - /// The limit on the maximum number of devices that the user is permitted to enroll. Allowed values are 5 or 1000. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Int32 deviceEnrollmentLimit { get; set; } - - /// - /// The "ownedDevices" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] ownedDevices { get; set; } - - /// - /// The "registeredDevices" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] registeredDevices { get; set; } - - /// - /// The "manager" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object manager { get; set; } - - /// - /// The "directReports" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] directReports { get; set; } - - /// - /// The "memberOf" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] memberOf { get; set; } - - /// - /// The "createdObjects" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] createdObjects { get; set; } - - /// - /// The "ownedObjects" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] ownedObjects { get; set; } - - /// - /// The "licenseDetails" property, of type "microsoft.graph.licenseDetails". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.licenseDetails")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] licenseDetails { get; set; } - - /// - /// The "inferenceClassification" property, of type "microsoft.graph.inferenceClassification". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.inferenceClassification")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object inferenceClassification { get; set; } - - /// - /// The "photo" property, of type "microsoft.graph.profilePhoto". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.profilePhoto")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object photo { get; set; } - - /// - /// The "photos" property, of type "microsoft.graph.profilePhoto". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.profilePhoto")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] photos { get; set; } - - /// - /// The "managedDevices" property, of type "microsoft.graph.managedDevice". - /// This property is on the "microsoft.graph.user" type. - /// The managed devices associated with the user. - /// - [ODataType("microsoft.graph.managedDevice")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] managedDevices { get; set; } - - /// - /// The "managedAppRegistrations" property, of type "microsoft.graph.managedAppRegistration". - /// This property is on the "microsoft.graph.user" type. - /// Zero or more managed app registrations that belong to the user. - /// - [ODataType("microsoft.graph.managedAppRegistration", "microsoft.graph.androidManagedAppRegistration", "microsoft.graph.iosManagedAppRegistration")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] managedAppRegistrations { get; set; } - - /// - /// The "deviceManagementTroubleshootingEvents" property, of type "microsoft.graph.deviceManagementTroubleshootingEvent". - /// This property is on the "microsoft.graph.user" type. - /// The list of troubleshooting events for this user. - /// - [ODataType("microsoft.graph.deviceManagementTroubleshootingEvent", "microsoft.graph.enrollmentTroubleshootingEvent")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] deviceManagementTroubleshootingEvents { get; set; } - - /// - /// The "countryLetterCode" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String countryLetterCode { get; set; } - - /// - /// The "marketingNotificationEmails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] marketingNotificationEmails { get; set; } - - /// - /// The "privacyProfile" property, of type "microsoft.graph.privacyProfile". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("microsoft.graph.privacyProfile")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.Object privacyProfile { get; set; } - - /// - /// The "securityComplianceNotificationMails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] securityComplianceNotificationMails { get; set; } - - /// - /// The "securityComplianceNotificationPhones" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] securityComplianceNotificationPhones { get; set; } - - /// - /// The "street" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String street { get; set; } - - /// - /// The "technicalNotificationMails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] technicalNotificationMails { get; set; } - - /// - /// The "mobileDeviceManagementAuthority" property, of type "microsoft.graph.mdmAuthority". - /// This property is on the "microsoft.graph.organization" type. - /// Mobile device management authority. - /// - [ODataType("microsoft.graph.mdmAuthority")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String mobileDeviceManagementAuthority { get; set; } - - /// - /// The "contractType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.String contractType { get; set; } - - /// - /// The "customerId" property, of type "Edm.Guid". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.Guid")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.Guid customerId { get; set; } - - /// - /// The "defaultDomainName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.String defaultDomainName { get; set; } - - /// - /// The "classification" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.String classification { get; set; } - - /// - /// The "createdDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.DateTimeOffset createdDateTime { get; set; } - - /// - /// The "groupTypes" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.group")] - public System.String[] groupTypes { get; set; } - - /// - /// The "mailEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean mailEnabled { get; set; } - - /// - /// The "renewedDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.DateTimeOffset renewedDateTime { get; set; } - - /// - /// The "securityEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean securityEnabled { get; set; } - - /// - /// The "visibility" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.String visibility { get; set; } - - /// - /// The "allowExternalSenders" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean allowExternalSenders { get; set; } - - /// - /// The "autoSubscribeNewMembers" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean autoSubscribeNewMembers { get; set; } - - /// - /// The "isSubscribedByMail" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean isSubscribedByMail { get; set; } - - /// - /// The "unseenCount" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Int32 unseenCount { get; set; } - - /// - /// The "members" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] members { get; set; } - - /// - /// The "createdOnBehalfOf" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Object createdOnBehalfOf { get; set; } - - /// - /// The "owners" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] owners { get; set; } - - /// - /// The "settings" property, of type "microsoft.graph.groupSetting". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.groupSetting")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] settings { get; set; } - - /// - /// The "groupLifecyclePolicies" property, of type "microsoft.graph.groupLifecyclePolicy". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.groupLifecyclePolicy")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] groupLifecyclePolicies { get; set; } - - /// - /// The "roleTemplateId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.directoryRole" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.directoryRole")] - public System.String roleTemplateId { get; set; } - - /// - /// The "alternativeSecurityIds" property, of type "microsoft.graph.alternativeSecurityId". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.alternativeSecurityId")] - [Selectable] - [DerivedType("microsoft.graph.device")] - public System.Object[] alternativeSecurityIds { get; set; } - - /// - /// The "approximateLastSignInDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.DateTimeOffset approximateLastSignInDateTime { get; set; } - - /// - /// The "deviceId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String deviceId { get; set; } - - /// - /// The "deviceMetadata" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String deviceMetadata { get; set; } - - /// - /// The "deviceVersion" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Int32 deviceVersion { get; set; } - - /// - /// The "isCompliant" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Boolean isCompliant { get; set; } - - /// - /// The "isManaged" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Boolean isManaged { get; set; } - - /// - /// The "operatingSystem" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String operatingSystem { get; set; } - - /// - /// The "operatingSystemVersion" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String operatingSystemVersion { get; set; } - - /// - /// The "physicalIds" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.device")] - public System.String[] physicalIds { get; set; } - - /// - /// The "trustType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String trustType { get; set; } - - /// - /// The "registeredOwners" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] registeredOwners { get; set; } - - /// - /// The "registeredUsers" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] registeredUsers { get; set; } - - /// - /// The "extensions" property, of type "microsoft.graph.extension". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.extension", "microsoft.graph.openTypeExtension")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] extensions { get; set; } - - internal override System.String GetResourcePath() - { - return $"me/manager/$ref"; - } - } - - /// - /// Creates a reference from a "me" to a "microsoft.graph.directoryObject" object. - /// PUT ~/me/manager/$ref - /// Creates a reference from the "me" object to a "manager". - /// - /// GitHub Repository - [Cmdlet("New", "Me_ManagerReference", ConfirmImpact = ConfirmImpact.Low)] - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [ResourceTypePropertyName("managerODataType")] - public class New_Me_ManagerReference : PutReferenceToEntityCmdlet - { - /// - /// The URL which should be used to access a "microsoft.graph.directoryObject" object. - /// - [Selectable] - [Expandable] - [Alias("deviceReferenceUrl", "directoryRoleReferenceUrl", "directoryRoleTemplateReferenceUrl", "groupReferenceUrl", "contractReferenceUrl", "organizationReferenceUrl", "userReferenceUrl", "groupSettingTemplateReferenceUrl", "administrativeUnitReferenceUrl")] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The URL which should be used to access a "microsoft.graph.directoryObject" object.")] - public System.String directoryObjectReferenceUrl { get; set; } - - internal override System.String GetResourcePath() - { - return $"me/manager/$ref"; - } - } - - /// - /// Removes a reference from a "me" to a "microsoft.graph.directoryObject" object. - /// DELETE ~/me/manager/$ref - /// Removes a reference from the "me" object to a "manager". - /// - /// GitHub Repository - [Cmdlet("Remove", "Me_ManagerReference", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [ResourceTypePropertyName("managerODataType")] - public class Remove_Me_ManagerReference : DeleteCmdlet - { - internal override System.String GetResourcePath() - { - return $"me/manager/$ref"; - } - } -} \ No newline at end of file diff --git a/PowerShellCmdlets/Generated/SDK/Me/MemberOf.cs b/PowerShellCmdlets/Generated/SDK/Me/MemberOf.cs deleted file mode 100644 index 6c38331..0000000 --- a/PowerShellCmdlets/Generated/SDK/Me/MemberOf.cs +++ /dev/null @@ -1,2327 +0,0 @@ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. - -namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets -{ - using System.Management.Automation; - - /// - /// Retrieves "microsoft.graph.directoryObject" objects. - /// GET ~/me/memberOf - /// Retrieves "microsoft.graph.directoryObject" objects in the "memberOf" collection. - /// - /// GitHub Repository - [Cmdlet("Get", "Me_MemberOf", DefaultParameterSetName = @"Search")] - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [ResourceTypePropertyName("memberOfODataType")] - public class Get_Me_MemberOf : GetOrSearchCmdlet - { - /// - /// The ID for a "microsoft.graph.directoryObject" object in the "memberOf" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(ParameterSetName = @"Get", Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.directoryObject" object in the "memberOf" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// The "deletedDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.directoryObject" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - public System.DateTimeOffset deletedDateTime { get; set; } - - /// - /// The "displayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.String displayName { get; set; } - - /// - /// The "description" property, of type "Edm.String". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.String description { get; set; } - - /// - /// The "values" property, of type "microsoft.graph.settingTemplateValue". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("microsoft.graph.settingTemplateValue")] - [Selectable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.Object[] values { get; set; } - - /// - /// The "accountEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Boolean accountEnabled { get; set; } - - /// - /// The "ageGroup" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String ageGroup { get; set; } - - /// - /// The "assignedLicenses" property, of type "microsoft.graph.assignedLicense". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.assignedLicense")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] assignedLicenses { get; set; } - - /// - /// The "assignedPlans" property, of type "microsoft.graph.assignedPlan". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.assignedPlan")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] assignedPlans { get; set; } - - /// - /// The "businessPhones" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] businessPhones { get; set; } - - /// - /// The "city" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String city { get; set; } - - /// - /// The "companyName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String companyName { get; set; } - - /// - /// The "consentProvidedForMinor" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String consentProvidedForMinor { get; set; } - - /// - /// The "country" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String country { get; set; } - - /// - /// The "department" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String department { get; set; } - - /// - /// The "givenName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String givenName { get; set; } - - /// - /// The "imAddresses" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] imAddresses { get; set; } - - /// - /// The "jobTitle" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String jobTitle { get; set; } - - /// - /// The "legalAgeGroupClassification" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String legalAgeGroupClassification { get; set; } - - /// - /// The "mail" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mail { get; set; } - - /// - /// The "mailNickname" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mailNickname { get; set; } - - /// - /// The "mobilePhone" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mobilePhone { get; set; } - - /// - /// The "onPremisesExtensionAttributes" property, of type "microsoft.graph.onPremisesExtensionAttributes". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.onPremisesExtensionAttributes")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object onPremisesExtensionAttributes { get; set; } - - /// - /// The "onPremisesImmutableId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesImmutableId { get; set; } - - /// - /// The "onPremisesLastSyncDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset onPremisesLastSyncDateTime { get; set; } - - /// - /// The "onPremisesProvisioningErrors" property, of type "microsoft.graph.onPremisesProvisioningError". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.onPremisesProvisioningError")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] onPremisesProvisioningErrors { get; set; } - - /// - /// The "onPremisesSecurityIdentifier" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesSecurityIdentifier { get; set; } - - /// - /// The "onPremisesSyncEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Boolean onPremisesSyncEnabled { get; set; } - - /// - /// The "onPremisesDomainName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesDomainName { get; set; } - - /// - /// The "onPremisesSamAccountName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesSamAccountName { get; set; } - - /// - /// The "onPremisesUserPrincipalName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesUserPrincipalName { get; set; } - - /// - /// The "passwordPolicies" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String passwordPolicies { get; set; } - - /// - /// The "passwordProfile" property, of type "microsoft.graph.passwordProfile". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.passwordProfile")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object passwordProfile { get; set; } - - /// - /// The "officeLocation" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String officeLocation { get; set; } - - /// - /// The "postalCode" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String postalCode { get; set; } - - /// - /// The "preferredLanguage" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String preferredLanguage { get; set; } - - /// - /// The "provisionedPlans" property, of type "microsoft.graph.provisionedPlan". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.provisionedPlan")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] provisionedPlans { get; set; } - - /// - /// The "proxyAddresses" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] proxyAddresses { get; set; } - - /// - /// The "state" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String state { get; set; } - - /// - /// The "streetAddress" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String streetAddress { get; set; } - - /// - /// The "surname" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String surname { get; set; } - - /// - /// The "usageLocation" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String usageLocation { get; set; } - - /// - /// The "userPrincipalName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String userPrincipalName { get; set; } - - /// - /// The "userType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String userType { get; set; } - - /// - /// The "mailboxSettings" property, of type "microsoft.graph.mailboxSettings". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.mailboxSettings")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object mailboxSettings { get; set; } - - /// - /// The "aboutMe" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String aboutMe { get; set; } - - /// - /// The "birthday" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset birthday { get; set; } - - /// - /// The "hireDate" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset hireDate { get; set; } - - /// - /// The "interests" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] interests { get; set; } - - /// - /// The "mySite" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mySite { get; set; } - - /// - /// The "pastProjects" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] pastProjects { get; set; } - - /// - /// The "preferredName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String preferredName { get; set; } - - /// - /// The "responsibilities" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] responsibilities { get; set; } - - /// - /// The "schools" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] schools { get; set; } - - /// - /// The "skills" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] skills { get; set; } - - /// - /// The "deviceEnrollmentLimit" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.user" type. - /// The limit on the maximum number of devices that the user is permitted to enroll. Allowed values are 5 or 1000. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Int32 deviceEnrollmentLimit { get; set; } - - /// - /// The "ownedDevices" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] ownedDevices { get; set; } - - /// - /// The "registeredDevices" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] registeredDevices { get; set; } - - /// - /// The "manager" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object manager { get; set; } - - /// - /// The "directReports" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] directReports { get; set; } - - /// - /// The "memberOf" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] memberOf { get; set; } - - /// - /// The "createdObjects" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] createdObjects { get; set; } - - /// - /// The "ownedObjects" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] ownedObjects { get; set; } - - /// - /// The "licenseDetails" property, of type "microsoft.graph.licenseDetails". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.licenseDetails")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] licenseDetails { get; set; } - - /// - /// The "inferenceClassification" property, of type "microsoft.graph.inferenceClassification". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.inferenceClassification")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object inferenceClassification { get; set; } - - /// - /// The "photo" property, of type "microsoft.graph.profilePhoto". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.profilePhoto")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object photo { get; set; } - - /// - /// The "photos" property, of type "microsoft.graph.profilePhoto". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.profilePhoto")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] photos { get; set; } - - /// - /// The "managedDevices" property, of type "microsoft.graph.managedDevice". - /// This property is on the "microsoft.graph.user" type. - /// The managed devices associated with the user. - /// - [ODataType("microsoft.graph.managedDevice")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] managedDevices { get; set; } - - /// - /// The "managedAppRegistrations" property, of type "microsoft.graph.managedAppRegistration". - /// This property is on the "microsoft.graph.user" type. - /// Zero or more managed app registrations that belong to the user. - /// - [ODataType("microsoft.graph.managedAppRegistration", "microsoft.graph.androidManagedAppRegistration", "microsoft.graph.iosManagedAppRegistration")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] managedAppRegistrations { get; set; } - - /// - /// The "deviceManagementTroubleshootingEvents" property, of type "microsoft.graph.deviceManagementTroubleshootingEvent". - /// This property is on the "microsoft.graph.user" type. - /// The list of troubleshooting events for this user. - /// - [ODataType("microsoft.graph.deviceManagementTroubleshootingEvent", "microsoft.graph.enrollmentTroubleshootingEvent")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] deviceManagementTroubleshootingEvents { get; set; } - - /// - /// The "countryLetterCode" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String countryLetterCode { get; set; } - - /// - /// The "marketingNotificationEmails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] marketingNotificationEmails { get; set; } - - /// - /// The "privacyProfile" property, of type "microsoft.graph.privacyProfile". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("microsoft.graph.privacyProfile")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.Object privacyProfile { get; set; } - - /// - /// The "securityComplianceNotificationMails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] securityComplianceNotificationMails { get; set; } - - /// - /// The "securityComplianceNotificationPhones" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] securityComplianceNotificationPhones { get; set; } - - /// - /// The "street" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String street { get; set; } - - /// - /// The "technicalNotificationMails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] technicalNotificationMails { get; set; } - - /// - /// The "mobileDeviceManagementAuthority" property, of type "microsoft.graph.mdmAuthority". - /// This property is on the "microsoft.graph.organization" type. - /// Mobile device management authority. - /// - [ODataType("microsoft.graph.mdmAuthority")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String mobileDeviceManagementAuthority { get; set; } - - /// - /// The "contractType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.String contractType { get; set; } - - /// - /// The "customerId" property, of type "Edm.Guid". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.Guid")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.Guid customerId { get; set; } - - /// - /// The "defaultDomainName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.String defaultDomainName { get; set; } - - /// - /// The "classification" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.String classification { get; set; } - - /// - /// The "createdDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.DateTimeOffset createdDateTime { get; set; } - - /// - /// The "groupTypes" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.group")] - public System.String[] groupTypes { get; set; } - - /// - /// The "mailEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean mailEnabled { get; set; } - - /// - /// The "renewedDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.DateTimeOffset renewedDateTime { get; set; } - - /// - /// The "securityEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean securityEnabled { get; set; } - - /// - /// The "visibility" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.String visibility { get; set; } - - /// - /// The "allowExternalSenders" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean allowExternalSenders { get; set; } - - /// - /// The "autoSubscribeNewMembers" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean autoSubscribeNewMembers { get; set; } - - /// - /// The "isSubscribedByMail" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean isSubscribedByMail { get; set; } - - /// - /// The "unseenCount" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Int32 unseenCount { get; set; } - - /// - /// The "members" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] members { get; set; } - - /// - /// The "createdOnBehalfOf" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Object createdOnBehalfOf { get; set; } - - /// - /// The "owners" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] owners { get; set; } - - /// - /// The "settings" property, of type "microsoft.graph.groupSetting". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.groupSetting")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] settings { get; set; } - - /// - /// The "groupLifecyclePolicies" property, of type "microsoft.graph.groupLifecyclePolicy". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.groupLifecyclePolicy")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] groupLifecyclePolicies { get; set; } - - /// - /// The "roleTemplateId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.directoryRole" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.directoryRole")] - public System.String roleTemplateId { get; set; } - - /// - /// The "alternativeSecurityIds" property, of type "microsoft.graph.alternativeSecurityId". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.alternativeSecurityId")] - [Selectable] - [DerivedType("microsoft.graph.device")] - public System.Object[] alternativeSecurityIds { get; set; } - - /// - /// The "approximateLastSignInDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.DateTimeOffset approximateLastSignInDateTime { get; set; } - - /// - /// The "deviceId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String deviceId { get; set; } - - /// - /// The "deviceMetadata" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String deviceMetadata { get; set; } - - /// - /// The "deviceVersion" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Int32 deviceVersion { get; set; } - - /// - /// The "isCompliant" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Boolean isCompliant { get; set; } - - /// - /// The "isManaged" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Boolean isManaged { get; set; } - - /// - /// The "operatingSystem" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String operatingSystem { get; set; } - - /// - /// The "operatingSystemVersion" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String operatingSystemVersion { get; set; } - - /// - /// The "physicalIds" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.device")] - public System.String[] physicalIds { get; set; } - - /// - /// The "trustType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String trustType { get; set; } - - /// - /// The "registeredOwners" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] registeredOwners { get; set; } - - /// - /// The "registeredUsers" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] registeredUsers { get; set; } - - /// - /// The "extensions" property, of type "microsoft.graph.extension". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.extension", "microsoft.graph.openTypeExtension")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] extensions { get; set; } - - internal override System.String GetResourcePath() - { - return $"me/memberOf/{directoryObjectId ?? string.Empty}"; - } - } - - /// - /// Retrieves "microsoft.graph.directoryObject" object references. - /// GET ~/me/memberOf/$ref - /// Retrieves "microsoft.graph.directoryObject" object references in the "memberOf" collection. - /// - /// GitHub Repository - [Cmdlet("Get", "Me_MemberOfReferences", DefaultParameterSetName = @"Search")] - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [ResourceTypePropertyName("memberOfODataType")] - public class Get_Me_MemberOfReferences : GetOrSearchCmdlet - { - /// - /// The ID for a "microsoft.graph.directoryObject" object in the "memberOf" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(ParameterSetName = @"Get", Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.directoryObject" object in the "memberOf" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// The "deletedDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.directoryObject" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - public System.DateTimeOffset deletedDateTime { get; set; } - - /// - /// The "displayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.String displayName { get; set; } - - /// - /// The "description" property, of type "Edm.String". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.String description { get; set; } - - /// - /// The "values" property, of type "microsoft.graph.settingTemplateValue". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("microsoft.graph.settingTemplateValue")] - [Selectable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.Object[] values { get; set; } - - /// - /// The "accountEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Boolean accountEnabled { get; set; } - - /// - /// The "ageGroup" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String ageGroup { get; set; } - - /// - /// The "assignedLicenses" property, of type "microsoft.graph.assignedLicense". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.assignedLicense")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] assignedLicenses { get; set; } - - /// - /// The "assignedPlans" property, of type "microsoft.graph.assignedPlan". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.assignedPlan")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] assignedPlans { get; set; } - - /// - /// The "businessPhones" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] businessPhones { get; set; } - - /// - /// The "city" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String city { get; set; } - - /// - /// The "companyName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String companyName { get; set; } - - /// - /// The "consentProvidedForMinor" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String consentProvidedForMinor { get; set; } - - /// - /// The "country" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String country { get; set; } - - /// - /// The "department" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String department { get; set; } - - /// - /// The "givenName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String givenName { get; set; } - - /// - /// The "imAddresses" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] imAddresses { get; set; } - - /// - /// The "jobTitle" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String jobTitle { get; set; } - - /// - /// The "legalAgeGroupClassification" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String legalAgeGroupClassification { get; set; } - - /// - /// The "mail" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mail { get; set; } - - /// - /// The "mailNickname" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mailNickname { get; set; } - - /// - /// The "mobilePhone" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mobilePhone { get; set; } - - /// - /// The "onPremisesExtensionAttributes" property, of type "microsoft.graph.onPremisesExtensionAttributes". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.onPremisesExtensionAttributes")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object onPremisesExtensionAttributes { get; set; } - - /// - /// The "onPremisesImmutableId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesImmutableId { get; set; } - - /// - /// The "onPremisesLastSyncDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset onPremisesLastSyncDateTime { get; set; } - - /// - /// The "onPremisesProvisioningErrors" property, of type "microsoft.graph.onPremisesProvisioningError". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.onPremisesProvisioningError")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] onPremisesProvisioningErrors { get; set; } - - /// - /// The "onPremisesSecurityIdentifier" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesSecurityIdentifier { get; set; } - - /// - /// The "onPremisesSyncEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Boolean onPremisesSyncEnabled { get; set; } - - /// - /// The "onPremisesDomainName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesDomainName { get; set; } - - /// - /// The "onPremisesSamAccountName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesSamAccountName { get; set; } - - /// - /// The "onPremisesUserPrincipalName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesUserPrincipalName { get; set; } - - /// - /// The "passwordPolicies" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String passwordPolicies { get; set; } - - /// - /// The "passwordProfile" property, of type "microsoft.graph.passwordProfile". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.passwordProfile")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object passwordProfile { get; set; } - - /// - /// The "officeLocation" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String officeLocation { get; set; } - - /// - /// The "postalCode" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String postalCode { get; set; } - - /// - /// The "preferredLanguage" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String preferredLanguage { get; set; } - - /// - /// The "provisionedPlans" property, of type "microsoft.graph.provisionedPlan". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.provisionedPlan")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] provisionedPlans { get; set; } - - /// - /// The "proxyAddresses" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] proxyAddresses { get; set; } - - /// - /// The "state" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String state { get; set; } - - /// - /// The "streetAddress" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String streetAddress { get; set; } - - /// - /// The "surname" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String surname { get; set; } - - /// - /// The "usageLocation" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String usageLocation { get; set; } - - /// - /// The "userPrincipalName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String userPrincipalName { get; set; } - - /// - /// The "userType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String userType { get; set; } - - /// - /// The "mailboxSettings" property, of type "microsoft.graph.mailboxSettings". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.mailboxSettings")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object mailboxSettings { get; set; } - - /// - /// The "aboutMe" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String aboutMe { get; set; } - - /// - /// The "birthday" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset birthday { get; set; } - - /// - /// The "hireDate" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset hireDate { get; set; } - - /// - /// The "interests" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] interests { get; set; } - - /// - /// The "mySite" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mySite { get; set; } - - /// - /// The "pastProjects" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] pastProjects { get; set; } - - /// - /// The "preferredName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String preferredName { get; set; } - - /// - /// The "responsibilities" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] responsibilities { get; set; } - - /// - /// The "schools" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] schools { get; set; } - - /// - /// The "skills" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] skills { get; set; } - - /// - /// The "deviceEnrollmentLimit" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.user" type. - /// The limit on the maximum number of devices that the user is permitted to enroll. Allowed values are 5 or 1000. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Int32 deviceEnrollmentLimit { get; set; } - - /// - /// The "ownedDevices" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] ownedDevices { get; set; } - - /// - /// The "registeredDevices" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] registeredDevices { get; set; } - - /// - /// The "manager" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object manager { get; set; } - - /// - /// The "directReports" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] directReports { get; set; } - - /// - /// The "memberOf" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] memberOf { get; set; } - - /// - /// The "createdObjects" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] createdObjects { get; set; } - - /// - /// The "ownedObjects" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] ownedObjects { get; set; } - - /// - /// The "licenseDetails" property, of type "microsoft.graph.licenseDetails". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.licenseDetails")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] licenseDetails { get; set; } - - /// - /// The "inferenceClassification" property, of type "microsoft.graph.inferenceClassification". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.inferenceClassification")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object inferenceClassification { get; set; } - - /// - /// The "photo" property, of type "microsoft.graph.profilePhoto". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.profilePhoto")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object photo { get; set; } - - /// - /// The "photos" property, of type "microsoft.graph.profilePhoto". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.profilePhoto")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] photos { get; set; } - - /// - /// The "managedDevices" property, of type "microsoft.graph.managedDevice". - /// This property is on the "microsoft.graph.user" type. - /// The managed devices associated with the user. - /// - [ODataType("microsoft.graph.managedDevice")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] managedDevices { get; set; } - - /// - /// The "managedAppRegistrations" property, of type "microsoft.graph.managedAppRegistration". - /// This property is on the "microsoft.graph.user" type. - /// Zero or more managed app registrations that belong to the user. - /// - [ODataType("microsoft.graph.managedAppRegistration", "microsoft.graph.androidManagedAppRegistration", "microsoft.graph.iosManagedAppRegistration")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] managedAppRegistrations { get; set; } - - /// - /// The "deviceManagementTroubleshootingEvents" property, of type "microsoft.graph.deviceManagementTroubleshootingEvent". - /// This property is on the "microsoft.graph.user" type. - /// The list of troubleshooting events for this user. - /// - [ODataType("microsoft.graph.deviceManagementTroubleshootingEvent", "microsoft.graph.enrollmentTroubleshootingEvent")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] deviceManagementTroubleshootingEvents { get; set; } - - /// - /// The "countryLetterCode" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String countryLetterCode { get; set; } - - /// - /// The "marketingNotificationEmails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] marketingNotificationEmails { get; set; } - - /// - /// The "privacyProfile" property, of type "microsoft.graph.privacyProfile". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("microsoft.graph.privacyProfile")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.Object privacyProfile { get; set; } - - /// - /// The "securityComplianceNotificationMails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] securityComplianceNotificationMails { get; set; } - - /// - /// The "securityComplianceNotificationPhones" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] securityComplianceNotificationPhones { get; set; } - - /// - /// The "street" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String street { get; set; } - - /// - /// The "technicalNotificationMails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] technicalNotificationMails { get; set; } - - /// - /// The "mobileDeviceManagementAuthority" property, of type "microsoft.graph.mdmAuthority". - /// This property is on the "microsoft.graph.organization" type. - /// Mobile device management authority. - /// - [ODataType("microsoft.graph.mdmAuthority")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String mobileDeviceManagementAuthority { get; set; } - - /// - /// The "contractType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.String contractType { get; set; } - - /// - /// The "customerId" property, of type "Edm.Guid". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.Guid")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.Guid customerId { get; set; } - - /// - /// The "defaultDomainName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.String defaultDomainName { get; set; } - - /// - /// The "classification" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.String classification { get; set; } - - /// - /// The "createdDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.DateTimeOffset createdDateTime { get; set; } - - /// - /// The "groupTypes" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.group")] - public System.String[] groupTypes { get; set; } - - /// - /// The "mailEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean mailEnabled { get; set; } - - /// - /// The "renewedDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.DateTimeOffset renewedDateTime { get; set; } - - /// - /// The "securityEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean securityEnabled { get; set; } - - /// - /// The "visibility" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.String visibility { get; set; } - - /// - /// The "allowExternalSenders" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean allowExternalSenders { get; set; } - - /// - /// The "autoSubscribeNewMembers" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean autoSubscribeNewMembers { get; set; } - - /// - /// The "isSubscribedByMail" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean isSubscribedByMail { get; set; } - - /// - /// The "unseenCount" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Int32 unseenCount { get; set; } - - /// - /// The "members" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] members { get; set; } - - /// - /// The "createdOnBehalfOf" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Object createdOnBehalfOf { get; set; } - - /// - /// The "owners" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] owners { get; set; } - - /// - /// The "settings" property, of type "microsoft.graph.groupSetting". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.groupSetting")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] settings { get; set; } - - /// - /// The "groupLifecyclePolicies" property, of type "microsoft.graph.groupLifecyclePolicy". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.groupLifecyclePolicy")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] groupLifecyclePolicies { get; set; } - - /// - /// The "roleTemplateId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.directoryRole" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.directoryRole")] - public System.String roleTemplateId { get; set; } - - /// - /// The "alternativeSecurityIds" property, of type "microsoft.graph.alternativeSecurityId". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.alternativeSecurityId")] - [Selectable] - [DerivedType("microsoft.graph.device")] - public System.Object[] alternativeSecurityIds { get; set; } - - /// - /// The "approximateLastSignInDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.DateTimeOffset approximateLastSignInDateTime { get; set; } - - /// - /// The "deviceId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String deviceId { get; set; } - - /// - /// The "deviceMetadata" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String deviceMetadata { get; set; } - - /// - /// The "deviceVersion" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Int32 deviceVersion { get; set; } - - /// - /// The "isCompliant" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Boolean isCompliant { get; set; } - - /// - /// The "isManaged" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Boolean isManaged { get; set; } - - /// - /// The "operatingSystem" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String operatingSystem { get; set; } - - /// - /// The "operatingSystemVersion" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String operatingSystemVersion { get; set; } - - /// - /// The "physicalIds" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.device")] - public System.String[] physicalIds { get; set; } - - /// - /// The "trustType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String trustType { get; set; } - - /// - /// The "registeredOwners" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] registeredOwners { get; set; } - - /// - /// The "registeredUsers" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] registeredUsers { get; set; } - - /// - /// The "extensions" property, of type "microsoft.graph.extension". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.extension", "microsoft.graph.openTypeExtension")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] extensions { get; set; } - - internal override System.String GetResourcePath() - { - return $"me/memberOf/{directoryObjectId ?? string.Empty}/$ref"; - } - } - - /// - /// Creates a reference from a "me" to a "microsoft.graph.directoryObject" object. - /// POST ~/me/memberOf/$ref - /// Creates a reference from the specified "me" object to a "memberOf". - /// - /// GitHub Repository - [Cmdlet("New", "Me_MemberOfReferences", ConfirmImpact = ConfirmImpact.Low)] - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [ResourceTypePropertyName("memberOfODataType")] - public class New_Me_MemberOfReferences : PostReferenceToCollectionCmdlet - { - /// - /// The ID for a "microsoft.graph.directoryObject" object in the "memberOf" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - public System.String directoryObjectId { get; set; } - - /// - /// The URL which should be used to access a "microsoft.graph.directoryObject" object. - /// - [Selectable] - [Expandable] - [Alias("deviceReferenceUrl", "directoryRoleReferenceUrl", "directoryRoleTemplateReferenceUrl", "groupReferenceUrl", "contractReferenceUrl", "organizationReferenceUrl", "userReferenceUrl", "groupSettingTemplateReferenceUrl", "administrativeUnitReferenceUrl")] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The URL which should be used to access a "microsoft.graph.directoryObject" object.")] - public System.String directoryObjectReferenceUrl { get; set; } - - internal override System.String GetResourcePath() - { - return $"me/memberOf/{directoryObjectId}/$ref"; - } - - internal override System.Object GetContent() - { - return this.GetReferenceRequestContent(directoryObjectReferenceUrl); - } - } - - /// - /// Removes a reference from a "me" to a "microsoft.graph.directoryObject" object. - /// DELETE ~/me/memberOf/directoryObjectId/$ref - /// Removes a reference from the specified "me" object to a "memberOf". - /// - /// GitHub Repository - [Cmdlet("Remove", "Me_MemberOfReferences", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [ResourceTypePropertyName("memberOfODataType")] - public class Remove_Me_MemberOfReferences : DeleteCmdlet - { - /// - /// The ID for a "microsoft.graph.directoryObject" object in the "memberOf" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.directoryObject" object in the "memberOf" collection.")] - public System.String directoryObjectId { get; set; } - - internal override System.String GetResourcePath() - { - return $"me/memberOf/{directoryObjectId}/$ref"; - } - } -} \ No newline at end of file diff --git a/PowerShellCmdlets/Generated/SDK/Me/OwnedDevices.cs b/PowerShellCmdlets/Generated/SDK/Me/OwnedDevices.cs deleted file mode 100644 index 8195123..0000000 --- a/PowerShellCmdlets/Generated/SDK/Me/OwnedDevices.cs +++ /dev/null @@ -1,2327 +0,0 @@ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. - -namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets -{ - using System.Management.Automation; - - /// - /// Retrieves "microsoft.graph.directoryObject" objects. - /// GET ~/me/ownedDevices - /// Retrieves "microsoft.graph.directoryObject" objects in the "ownedDevices" collection. - /// - /// GitHub Repository - [Cmdlet("Get", "Me_OwnedDevices", DefaultParameterSetName = @"Search")] - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [ResourceTypePropertyName("ownedDeviceODataType")] - public class Get_Me_OwnedDevices : GetOrSearchCmdlet - { - /// - /// The ID for a "microsoft.graph.directoryObject" object in the "ownedDevices" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(ParameterSetName = @"Get", Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.directoryObject" object in the "ownedDevices" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// The "deletedDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.directoryObject" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - public System.DateTimeOffset deletedDateTime { get; set; } - - /// - /// The "displayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.String displayName { get; set; } - - /// - /// The "description" property, of type "Edm.String". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.String description { get; set; } - - /// - /// The "values" property, of type "microsoft.graph.settingTemplateValue". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("microsoft.graph.settingTemplateValue")] - [Selectable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.Object[] values { get; set; } - - /// - /// The "accountEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Boolean accountEnabled { get; set; } - - /// - /// The "ageGroup" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String ageGroup { get; set; } - - /// - /// The "assignedLicenses" property, of type "microsoft.graph.assignedLicense". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.assignedLicense")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] assignedLicenses { get; set; } - - /// - /// The "assignedPlans" property, of type "microsoft.graph.assignedPlan". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.assignedPlan")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] assignedPlans { get; set; } - - /// - /// The "businessPhones" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] businessPhones { get; set; } - - /// - /// The "city" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String city { get; set; } - - /// - /// The "companyName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String companyName { get; set; } - - /// - /// The "consentProvidedForMinor" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String consentProvidedForMinor { get; set; } - - /// - /// The "country" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String country { get; set; } - - /// - /// The "department" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String department { get; set; } - - /// - /// The "givenName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String givenName { get; set; } - - /// - /// The "imAddresses" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] imAddresses { get; set; } - - /// - /// The "jobTitle" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String jobTitle { get; set; } - - /// - /// The "legalAgeGroupClassification" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String legalAgeGroupClassification { get; set; } - - /// - /// The "mail" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mail { get; set; } - - /// - /// The "mailNickname" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mailNickname { get; set; } - - /// - /// The "mobilePhone" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mobilePhone { get; set; } - - /// - /// The "onPremisesExtensionAttributes" property, of type "microsoft.graph.onPremisesExtensionAttributes". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.onPremisesExtensionAttributes")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object onPremisesExtensionAttributes { get; set; } - - /// - /// The "onPremisesImmutableId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesImmutableId { get; set; } - - /// - /// The "onPremisesLastSyncDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset onPremisesLastSyncDateTime { get; set; } - - /// - /// The "onPremisesProvisioningErrors" property, of type "microsoft.graph.onPremisesProvisioningError". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.onPremisesProvisioningError")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] onPremisesProvisioningErrors { get; set; } - - /// - /// The "onPremisesSecurityIdentifier" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesSecurityIdentifier { get; set; } - - /// - /// The "onPremisesSyncEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Boolean onPremisesSyncEnabled { get; set; } - - /// - /// The "onPremisesDomainName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesDomainName { get; set; } - - /// - /// The "onPremisesSamAccountName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesSamAccountName { get; set; } - - /// - /// The "onPremisesUserPrincipalName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesUserPrincipalName { get; set; } - - /// - /// The "passwordPolicies" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String passwordPolicies { get; set; } - - /// - /// The "passwordProfile" property, of type "microsoft.graph.passwordProfile". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.passwordProfile")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object passwordProfile { get; set; } - - /// - /// The "officeLocation" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String officeLocation { get; set; } - - /// - /// The "postalCode" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String postalCode { get; set; } - - /// - /// The "preferredLanguage" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String preferredLanguage { get; set; } - - /// - /// The "provisionedPlans" property, of type "microsoft.graph.provisionedPlan". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.provisionedPlan")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] provisionedPlans { get; set; } - - /// - /// The "proxyAddresses" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] proxyAddresses { get; set; } - - /// - /// The "state" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String state { get; set; } - - /// - /// The "streetAddress" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String streetAddress { get; set; } - - /// - /// The "surname" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String surname { get; set; } - - /// - /// The "usageLocation" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String usageLocation { get; set; } - - /// - /// The "userPrincipalName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String userPrincipalName { get; set; } - - /// - /// The "userType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String userType { get; set; } - - /// - /// The "mailboxSettings" property, of type "microsoft.graph.mailboxSettings". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.mailboxSettings")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object mailboxSettings { get; set; } - - /// - /// The "aboutMe" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String aboutMe { get; set; } - - /// - /// The "birthday" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset birthday { get; set; } - - /// - /// The "hireDate" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset hireDate { get; set; } - - /// - /// The "interests" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] interests { get; set; } - - /// - /// The "mySite" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mySite { get; set; } - - /// - /// The "pastProjects" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] pastProjects { get; set; } - - /// - /// The "preferredName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String preferredName { get; set; } - - /// - /// The "responsibilities" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] responsibilities { get; set; } - - /// - /// The "schools" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] schools { get; set; } - - /// - /// The "skills" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] skills { get; set; } - - /// - /// The "deviceEnrollmentLimit" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.user" type. - /// The limit on the maximum number of devices that the user is permitted to enroll. Allowed values are 5 or 1000. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Int32 deviceEnrollmentLimit { get; set; } - - /// - /// The "ownedDevices" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] ownedDevices { get; set; } - - /// - /// The "registeredDevices" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] registeredDevices { get; set; } - - /// - /// The "manager" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object manager { get; set; } - - /// - /// The "directReports" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] directReports { get; set; } - - /// - /// The "memberOf" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] memberOf { get; set; } - - /// - /// The "createdObjects" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] createdObjects { get; set; } - - /// - /// The "ownedObjects" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] ownedObjects { get; set; } - - /// - /// The "licenseDetails" property, of type "microsoft.graph.licenseDetails". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.licenseDetails")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] licenseDetails { get; set; } - - /// - /// The "inferenceClassification" property, of type "microsoft.graph.inferenceClassification". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.inferenceClassification")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object inferenceClassification { get; set; } - - /// - /// The "photo" property, of type "microsoft.graph.profilePhoto". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.profilePhoto")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object photo { get; set; } - - /// - /// The "photos" property, of type "microsoft.graph.profilePhoto". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.profilePhoto")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] photos { get; set; } - - /// - /// The "managedDevices" property, of type "microsoft.graph.managedDevice". - /// This property is on the "microsoft.graph.user" type. - /// The managed devices associated with the user. - /// - [ODataType("microsoft.graph.managedDevice")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] managedDevices { get; set; } - - /// - /// The "managedAppRegistrations" property, of type "microsoft.graph.managedAppRegistration". - /// This property is on the "microsoft.graph.user" type. - /// Zero or more managed app registrations that belong to the user. - /// - [ODataType("microsoft.graph.managedAppRegistration", "microsoft.graph.androidManagedAppRegistration", "microsoft.graph.iosManagedAppRegistration")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] managedAppRegistrations { get; set; } - - /// - /// The "deviceManagementTroubleshootingEvents" property, of type "microsoft.graph.deviceManagementTroubleshootingEvent". - /// This property is on the "microsoft.graph.user" type. - /// The list of troubleshooting events for this user. - /// - [ODataType("microsoft.graph.deviceManagementTroubleshootingEvent", "microsoft.graph.enrollmentTroubleshootingEvent")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] deviceManagementTroubleshootingEvents { get; set; } - - /// - /// The "countryLetterCode" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String countryLetterCode { get; set; } - - /// - /// The "marketingNotificationEmails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] marketingNotificationEmails { get; set; } - - /// - /// The "privacyProfile" property, of type "microsoft.graph.privacyProfile". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("microsoft.graph.privacyProfile")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.Object privacyProfile { get; set; } - - /// - /// The "securityComplianceNotificationMails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] securityComplianceNotificationMails { get; set; } - - /// - /// The "securityComplianceNotificationPhones" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] securityComplianceNotificationPhones { get; set; } - - /// - /// The "street" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String street { get; set; } - - /// - /// The "technicalNotificationMails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] technicalNotificationMails { get; set; } - - /// - /// The "mobileDeviceManagementAuthority" property, of type "microsoft.graph.mdmAuthority". - /// This property is on the "microsoft.graph.organization" type. - /// Mobile device management authority. - /// - [ODataType("microsoft.graph.mdmAuthority")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String mobileDeviceManagementAuthority { get; set; } - - /// - /// The "contractType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.String contractType { get; set; } - - /// - /// The "customerId" property, of type "Edm.Guid". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.Guid")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.Guid customerId { get; set; } - - /// - /// The "defaultDomainName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.String defaultDomainName { get; set; } - - /// - /// The "classification" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.String classification { get; set; } - - /// - /// The "createdDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.DateTimeOffset createdDateTime { get; set; } - - /// - /// The "groupTypes" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.group")] - public System.String[] groupTypes { get; set; } - - /// - /// The "mailEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean mailEnabled { get; set; } - - /// - /// The "renewedDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.DateTimeOffset renewedDateTime { get; set; } - - /// - /// The "securityEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean securityEnabled { get; set; } - - /// - /// The "visibility" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.String visibility { get; set; } - - /// - /// The "allowExternalSenders" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean allowExternalSenders { get; set; } - - /// - /// The "autoSubscribeNewMembers" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean autoSubscribeNewMembers { get; set; } - - /// - /// The "isSubscribedByMail" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean isSubscribedByMail { get; set; } - - /// - /// The "unseenCount" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Int32 unseenCount { get; set; } - - /// - /// The "members" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] members { get; set; } - - /// - /// The "createdOnBehalfOf" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Object createdOnBehalfOf { get; set; } - - /// - /// The "owners" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] owners { get; set; } - - /// - /// The "settings" property, of type "microsoft.graph.groupSetting". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.groupSetting")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] settings { get; set; } - - /// - /// The "groupLifecyclePolicies" property, of type "microsoft.graph.groupLifecyclePolicy". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.groupLifecyclePolicy")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] groupLifecyclePolicies { get; set; } - - /// - /// The "roleTemplateId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.directoryRole" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.directoryRole")] - public System.String roleTemplateId { get; set; } - - /// - /// The "alternativeSecurityIds" property, of type "microsoft.graph.alternativeSecurityId". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.alternativeSecurityId")] - [Selectable] - [DerivedType("microsoft.graph.device")] - public System.Object[] alternativeSecurityIds { get; set; } - - /// - /// The "approximateLastSignInDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.DateTimeOffset approximateLastSignInDateTime { get; set; } - - /// - /// The "deviceId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String deviceId { get; set; } - - /// - /// The "deviceMetadata" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String deviceMetadata { get; set; } - - /// - /// The "deviceVersion" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Int32 deviceVersion { get; set; } - - /// - /// The "isCompliant" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Boolean isCompliant { get; set; } - - /// - /// The "isManaged" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Boolean isManaged { get; set; } - - /// - /// The "operatingSystem" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String operatingSystem { get; set; } - - /// - /// The "operatingSystemVersion" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String operatingSystemVersion { get; set; } - - /// - /// The "physicalIds" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.device")] - public System.String[] physicalIds { get; set; } - - /// - /// The "trustType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String trustType { get; set; } - - /// - /// The "registeredOwners" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] registeredOwners { get; set; } - - /// - /// The "registeredUsers" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] registeredUsers { get; set; } - - /// - /// The "extensions" property, of type "microsoft.graph.extension". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.extension", "microsoft.graph.openTypeExtension")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] extensions { get; set; } - - internal override System.String GetResourcePath() - { - return $"me/ownedDevices/{directoryObjectId ?? string.Empty}"; - } - } - - /// - /// Retrieves "microsoft.graph.directoryObject" object references. - /// GET ~/me/ownedDevices/$ref - /// Retrieves "microsoft.graph.directoryObject" object references in the "ownedDevices" collection. - /// - /// GitHub Repository - [Cmdlet("Get", "Me_OwnedDevicesReferences", DefaultParameterSetName = @"Search")] - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [ResourceTypePropertyName("ownedDeviceODataType")] - public class Get_Me_OwnedDevicesReferences : GetOrSearchCmdlet - { - /// - /// The ID for a "microsoft.graph.directoryObject" object in the "ownedDevices" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(ParameterSetName = @"Get", Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.directoryObject" object in the "ownedDevices" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// The "deletedDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.directoryObject" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - public System.DateTimeOffset deletedDateTime { get; set; } - - /// - /// The "displayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.String displayName { get; set; } - - /// - /// The "description" property, of type "Edm.String". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.String description { get; set; } - - /// - /// The "values" property, of type "microsoft.graph.settingTemplateValue". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("microsoft.graph.settingTemplateValue")] - [Selectable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.Object[] values { get; set; } - - /// - /// The "accountEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Boolean accountEnabled { get; set; } - - /// - /// The "ageGroup" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String ageGroup { get; set; } - - /// - /// The "assignedLicenses" property, of type "microsoft.graph.assignedLicense". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.assignedLicense")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] assignedLicenses { get; set; } - - /// - /// The "assignedPlans" property, of type "microsoft.graph.assignedPlan". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.assignedPlan")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] assignedPlans { get; set; } - - /// - /// The "businessPhones" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] businessPhones { get; set; } - - /// - /// The "city" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String city { get; set; } - - /// - /// The "companyName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String companyName { get; set; } - - /// - /// The "consentProvidedForMinor" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String consentProvidedForMinor { get; set; } - - /// - /// The "country" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String country { get; set; } - - /// - /// The "department" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String department { get; set; } - - /// - /// The "givenName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String givenName { get; set; } - - /// - /// The "imAddresses" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] imAddresses { get; set; } - - /// - /// The "jobTitle" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String jobTitle { get; set; } - - /// - /// The "legalAgeGroupClassification" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String legalAgeGroupClassification { get; set; } - - /// - /// The "mail" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mail { get; set; } - - /// - /// The "mailNickname" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mailNickname { get; set; } - - /// - /// The "mobilePhone" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mobilePhone { get; set; } - - /// - /// The "onPremisesExtensionAttributes" property, of type "microsoft.graph.onPremisesExtensionAttributes". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.onPremisesExtensionAttributes")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object onPremisesExtensionAttributes { get; set; } - - /// - /// The "onPremisesImmutableId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesImmutableId { get; set; } - - /// - /// The "onPremisesLastSyncDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset onPremisesLastSyncDateTime { get; set; } - - /// - /// The "onPremisesProvisioningErrors" property, of type "microsoft.graph.onPremisesProvisioningError". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.onPremisesProvisioningError")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] onPremisesProvisioningErrors { get; set; } - - /// - /// The "onPremisesSecurityIdentifier" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesSecurityIdentifier { get; set; } - - /// - /// The "onPremisesSyncEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Boolean onPremisesSyncEnabled { get; set; } - - /// - /// The "onPremisesDomainName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesDomainName { get; set; } - - /// - /// The "onPremisesSamAccountName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesSamAccountName { get; set; } - - /// - /// The "onPremisesUserPrincipalName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesUserPrincipalName { get; set; } - - /// - /// The "passwordPolicies" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String passwordPolicies { get; set; } - - /// - /// The "passwordProfile" property, of type "microsoft.graph.passwordProfile". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.passwordProfile")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object passwordProfile { get; set; } - - /// - /// The "officeLocation" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String officeLocation { get; set; } - - /// - /// The "postalCode" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String postalCode { get; set; } - - /// - /// The "preferredLanguage" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String preferredLanguage { get; set; } - - /// - /// The "provisionedPlans" property, of type "microsoft.graph.provisionedPlan". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.provisionedPlan")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] provisionedPlans { get; set; } - - /// - /// The "proxyAddresses" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] proxyAddresses { get; set; } - - /// - /// The "state" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String state { get; set; } - - /// - /// The "streetAddress" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String streetAddress { get; set; } - - /// - /// The "surname" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String surname { get; set; } - - /// - /// The "usageLocation" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String usageLocation { get; set; } - - /// - /// The "userPrincipalName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String userPrincipalName { get; set; } - - /// - /// The "userType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String userType { get; set; } - - /// - /// The "mailboxSettings" property, of type "microsoft.graph.mailboxSettings". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.mailboxSettings")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object mailboxSettings { get; set; } - - /// - /// The "aboutMe" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String aboutMe { get; set; } - - /// - /// The "birthday" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset birthday { get; set; } - - /// - /// The "hireDate" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset hireDate { get; set; } - - /// - /// The "interests" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] interests { get; set; } - - /// - /// The "mySite" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mySite { get; set; } - - /// - /// The "pastProjects" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] pastProjects { get; set; } - - /// - /// The "preferredName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String preferredName { get; set; } - - /// - /// The "responsibilities" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] responsibilities { get; set; } - - /// - /// The "schools" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] schools { get; set; } - - /// - /// The "skills" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] skills { get; set; } - - /// - /// The "deviceEnrollmentLimit" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.user" type. - /// The limit on the maximum number of devices that the user is permitted to enroll. Allowed values are 5 or 1000. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Int32 deviceEnrollmentLimit { get; set; } - - /// - /// The "ownedDevices" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] ownedDevices { get; set; } - - /// - /// The "registeredDevices" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] registeredDevices { get; set; } - - /// - /// The "manager" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object manager { get; set; } - - /// - /// The "directReports" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] directReports { get; set; } - - /// - /// The "memberOf" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] memberOf { get; set; } - - /// - /// The "createdObjects" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] createdObjects { get; set; } - - /// - /// The "ownedObjects" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] ownedObjects { get; set; } - - /// - /// The "licenseDetails" property, of type "microsoft.graph.licenseDetails". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.licenseDetails")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] licenseDetails { get; set; } - - /// - /// The "inferenceClassification" property, of type "microsoft.graph.inferenceClassification". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.inferenceClassification")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object inferenceClassification { get; set; } - - /// - /// The "photo" property, of type "microsoft.graph.profilePhoto". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.profilePhoto")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object photo { get; set; } - - /// - /// The "photos" property, of type "microsoft.graph.profilePhoto". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.profilePhoto")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] photos { get; set; } - - /// - /// The "managedDevices" property, of type "microsoft.graph.managedDevice". - /// This property is on the "microsoft.graph.user" type. - /// The managed devices associated with the user. - /// - [ODataType("microsoft.graph.managedDevice")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] managedDevices { get; set; } - - /// - /// The "managedAppRegistrations" property, of type "microsoft.graph.managedAppRegistration". - /// This property is on the "microsoft.graph.user" type. - /// Zero or more managed app registrations that belong to the user. - /// - [ODataType("microsoft.graph.managedAppRegistration", "microsoft.graph.androidManagedAppRegistration", "microsoft.graph.iosManagedAppRegistration")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] managedAppRegistrations { get; set; } - - /// - /// The "deviceManagementTroubleshootingEvents" property, of type "microsoft.graph.deviceManagementTroubleshootingEvent". - /// This property is on the "microsoft.graph.user" type. - /// The list of troubleshooting events for this user. - /// - [ODataType("microsoft.graph.deviceManagementTroubleshootingEvent", "microsoft.graph.enrollmentTroubleshootingEvent")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] deviceManagementTroubleshootingEvents { get; set; } - - /// - /// The "countryLetterCode" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String countryLetterCode { get; set; } - - /// - /// The "marketingNotificationEmails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] marketingNotificationEmails { get; set; } - - /// - /// The "privacyProfile" property, of type "microsoft.graph.privacyProfile". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("microsoft.graph.privacyProfile")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.Object privacyProfile { get; set; } - - /// - /// The "securityComplianceNotificationMails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] securityComplianceNotificationMails { get; set; } - - /// - /// The "securityComplianceNotificationPhones" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] securityComplianceNotificationPhones { get; set; } - - /// - /// The "street" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String street { get; set; } - - /// - /// The "technicalNotificationMails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] technicalNotificationMails { get; set; } - - /// - /// The "mobileDeviceManagementAuthority" property, of type "microsoft.graph.mdmAuthority". - /// This property is on the "microsoft.graph.organization" type. - /// Mobile device management authority. - /// - [ODataType("microsoft.graph.mdmAuthority")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String mobileDeviceManagementAuthority { get; set; } - - /// - /// The "contractType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.String contractType { get; set; } - - /// - /// The "customerId" property, of type "Edm.Guid". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.Guid")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.Guid customerId { get; set; } - - /// - /// The "defaultDomainName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.String defaultDomainName { get; set; } - - /// - /// The "classification" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.String classification { get; set; } - - /// - /// The "createdDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.DateTimeOffset createdDateTime { get; set; } - - /// - /// The "groupTypes" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.group")] - public System.String[] groupTypes { get; set; } - - /// - /// The "mailEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean mailEnabled { get; set; } - - /// - /// The "renewedDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.DateTimeOffset renewedDateTime { get; set; } - - /// - /// The "securityEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean securityEnabled { get; set; } - - /// - /// The "visibility" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.String visibility { get; set; } - - /// - /// The "allowExternalSenders" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean allowExternalSenders { get; set; } - - /// - /// The "autoSubscribeNewMembers" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean autoSubscribeNewMembers { get; set; } - - /// - /// The "isSubscribedByMail" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean isSubscribedByMail { get; set; } - - /// - /// The "unseenCount" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Int32 unseenCount { get; set; } - - /// - /// The "members" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] members { get; set; } - - /// - /// The "createdOnBehalfOf" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Object createdOnBehalfOf { get; set; } - - /// - /// The "owners" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] owners { get; set; } - - /// - /// The "settings" property, of type "microsoft.graph.groupSetting". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.groupSetting")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] settings { get; set; } - - /// - /// The "groupLifecyclePolicies" property, of type "microsoft.graph.groupLifecyclePolicy". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.groupLifecyclePolicy")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] groupLifecyclePolicies { get; set; } - - /// - /// The "roleTemplateId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.directoryRole" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.directoryRole")] - public System.String roleTemplateId { get; set; } - - /// - /// The "alternativeSecurityIds" property, of type "microsoft.graph.alternativeSecurityId". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.alternativeSecurityId")] - [Selectable] - [DerivedType("microsoft.graph.device")] - public System.Object[] alternativeSecurityIds { get; set; } - - /// - /// The "approximateLastSignInDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.DateTimeOffset approximateLastSignInDateTime { get; set; } - - /// - /// The "deviceId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String deviceId { get; set; } - - /// - /// The "deviceMetadata" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String deviceMetadata { get; set; } - - /// - /// The "deviceVersion" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Int32 deviceVersion { get; set; } - - /// - /// The "isCompliant" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Boolean isCompliant { get; set; } - - /// - /// The "isManaged" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Boolean isManaged { get; set; } - - /// - /// The "operatingSystem" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String operatingSystem { get; set; } - - /// - /// The "operatingSystemVersion" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String operatingSystemVersion { get; set; } - - /// - /// The "physicalIds" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.device")] - public System.String[] physicalIds { get; set; } - - /// - /// The "trustType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String trustType { get; set; } - - /// - /// The "registeredOwners" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] registeredOwners { get; set; } - - /// - /// The "registeredUsers" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] registeredUsers { get; set; } - - /// - /// The "extensions" property, of type "microsoft.graph.extension". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.extension", "microsoft.graph.openTypeExtension")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] extensions { get; set; } - - internal override System.String GetResourcePath() - { - return $"me/ownedDevices/{directoryObjectId ?? string.Empty}/$ref"; - } - } - - /// - /// Creates a reference from a "me" to a "microsoft.graph.directoryObject" object. - /// POST ~/me/ownedDevices/$ref - /// Creates a reference from the specified "me" object to a "ownedDevice". - /// - /// GitHub Repository - [Cmdlet("New", "Me_OwnedDevicesReferences", ConfirmImpact = ConfirmImpact.Low)] - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [ResourceTypePropertyName("ownedDeviceODataType")] - public class New_Me_OwnedDevicesReferences : PostReferenceToCollectionCmdlet - { - /// - /// The ID for a "microsoft.graph.directoryObject" object in the "ownedDevices" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - public System.String directoryObjectId { get; set; } - - /// - /// The URL which should be used to access a "microsoft.graph.directoryObject" object. - /// - [Selectable] - [Expandable] - [Alias("deviceReferenceUrl", "directoryRoleReferenceUrl", "directoryRoleTemplateReferenceUrl", "groupReferenceUrl", "contractReferenceUrl", "organizationReferenceUrl", "userReferenceUrl", "groupSettingTemplateReferenceUrl", "administrativeUnitReferenceUrl")] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The URL which should be used to access a "microsoft.graph.directoryObject" object.")] - public System.String directoryObjectReferenceUrl { get; set; } - - internal override System.String GetResourcePath() - { - return $"me/ownedDevices/{directoryObjectId}/$ref"; - } - - internal override System.Object GetContent() - { - return this.GetReferenceRequestContent(directoryObjectReferenceUrl); - } - } - - /// - /// Removes a reference from a "me" to a "microsoft.graph.directoryObject" object. - /// DELETE ~/me/ownedDevices/directoryObjectId/$ref - /// Removes a reference from the specified "me" object to a "ownedDevice". - /// - /// GitHub Repository - [Cmdlet("Remove", "Me_OwnedDevicesReferences", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [ResourceTypePropertyName("ownedDeviceODataType")] - public class Remove_Me_OwnedDevicesReferences : DeleteCmdlet - { - /// - /// The ID for a "microsoft.graph.directoryObject" object in the "ownedDevices" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.directoryObject" object in the "ownedDevices" collection.")] - public System.String directoryObjectId { get; set; } - - internal override System.String GetResourcePath() - { - return $"me/ownedDevices/{directoryObjectId}/$ref"; - } - } -} \ No newline at end of file diff --git a/PowerShellCmdlets/Generated/SDK/Me/OwnedObjects.cs b/PowerShellCmdlets/Generated/SDK/Me/OwnedObjects.cs deleted file mode 100644 index 18b97ca..0000000 --- a/PowerShellCmdlets/Generated/SDK/Me/OwnedObjects.cs +++ /dev/null @@ -1,2327 +0,0 @@ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. - -namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets -{ - using System.Management.Automation; - - /// - /// Retrieves "microsoft.graph.directoryObject" objects. - /// GET ~/me/ownedObjects - /// Retrieves "microsoft.graph.directoryObject" objects in the "ownedObjects" collection. - /// - /// GitHub Repository - [Cmdlet("Get", "Me_OwnedObjects", DefaultParameterSetName = @"Search")] - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [ResourceTypePropertyName("ownedObjectODataType")] - public class Get_Me_OwnedObjects : GetOrSearchCmdlet - { - /// - /// The ID for a "microsoft.graph.directoryObject" object in the "ownedObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(ParameterSetName = @"Get", Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.directoryObject" object in the "ownedObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// The "deletedDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.directoryObject" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - public System.DateTimeOffset deletedDateTime { get; set; } - - /// - /// The "displayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.String displayName { get; set; } - - /// - /// The "description" property, of type "Edm.String". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.String description { get; set; } - - /// - /// The "values" property, of type "microsoft.graph.settingTemplateValue". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("microsoft.graph.settingTemplateValue")] - [Selectable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.Object[] values { get; set; } - - /// - /// The "accountEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Boolean accountEnabled { get; set; } - - /// - /// The "ageGroup" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String ageGroup { get; set; } - - /// - /// The "assignedLicenses" property, of type "microsoft.graph.assignedLicense". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.assignedLicense")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] assignedLicenses { get; set; } - - /// - /// The "assignedPlans" property, of type "microsoft.graph.assignedPlan". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.assignedPlan")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] assignedPlans { get; set; } - - /// - /// The "businessPhones" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] businessPhones { get; set; } - - /// - /// The "city" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String city { get; set; } - - /// - /// The "companyName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String companyName { get; set; } - - /// - /// The "consentProvidedForMinor" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String consentProvidedForMinor { get; set; } - - /// - /// The "country" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String country { get; set; } - - /// - /// The "department" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String department { get; set; } - - /// - /// The "givenName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String givenName { get; set; } - - /// - /// The "imAddresses" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] imAddresses { get; set; } - - /// - /// The "jobTitle" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String jobTitle { get; set; } - - /// - /// The "legalAgeGroupClassification" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String legalAgeGroupClassification { get; set; } - - /// - /// The "mail" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mail { get; set; } - - /// - /// The "mailNickname" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mailNickname { get; set; } - - /// - /// The "mobilePhone" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mobilePhone { get; set; } - - /// - /// The "onPremisesExtensionAttributes" property, of type "microsoft.graph.onPremisesExtensionAttributes". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.onPremisesExtensionAttributes")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object onPremisesExtensionAttributes { get; set; } - - /// - /// The "onPremisesImmutableId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesImmutableId { get; set; } - - /// - /// The "onPremisesLastSyncDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset onPremisesLastSyncDateTime { get; set; } - - /// - /// The "onPremisesProvisioningErrors" property, of type "microsoft.graph.onPremisesProvisioningError". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.onPremisesProvisioningError")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] onPremisesProvisioningErrors { get; set; } - - /// - /// The "onPremisesSecurityIdentifier" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesSecurityIdentifier { get; set; } - - /// - /// The "onPremisesSyncEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Boolean onPremisesSyncEnabled { get; set; } - - /// - /// The "onPremisesDomainName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesDomainName { get; set; } - - /// - /// The "onPremisesSamAccountName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesSamAccountName { get; set; } - - /// - /// The "onPremisesUserPrincipalName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesUserPrincipalName { get; set; } - - /// - /// The "passwordPolicies" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String passwordPolicies { get; set; } - - /// - /// The "passwordProfile" property, of type "microsoft.graph.passwordProfile". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.passwordProfile")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object passwordProfile { get; set; } - - /// - /// The "officeLocation" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String officeLocation { get; set; } - - /// - /// The "postalCode" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String postalCode { get; set; } - - /// - /// The "preferredLanguage" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String preferredLanguage { get; set; } - - /// - /// The "provisionedPlans" property, of type "microsoft.graph.provisionedPlan". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.provisionedPlan")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] provisionedPlans { get; set; } - - /// - /// The "proxyAddresses" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] proxyAddresses { get; set; } - - /// - /// The "state" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String state { get; set; } - - /// - /// The "streetAddress" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String streetAddress { get; set; } - - /// - /// The "surname" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String surname { get; set; } - - /// - /// The "usageLocation" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String usageLocation { get; set; } - - /// - /// The "userPrincipalName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String userPrincipalName { get; set; } - - /// - /// The "userType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String userType { get; set; } - - /// - /// The "mailboxSettings" property, of type "microsoft.graph.mailboxSettings". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.mailboxSettings")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object mailboxSettings { get; set; } - - /// - /// The "aboutMe" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String aboutMe { get; set; } - - /// - /// The "birthday" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset birthday { get; set; } - - /// - /// The "hireDate" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset hireDate { get; set; } - - /// - /// The "interests" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] interests { get; set; } - - /// - /// The "mySite" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mySite { get; set; } - - /// - /// The "pastProjects" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] pastProjects { get; set; } - - /// - /// The "preferredName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String preferredName { get; set; } - - /// - /// The "responsibilities" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] responsibilities { get; set; } - - /// - /// The "schools" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] schools { get; set; } - - /// - /// The "skills" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] skills { get; set; } - - /// - /// The "deviceEnrollmentLimit" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.user" type. - /// The limit on the maximum number of devices that the user is permitted to enroll. Allowed values are 5 or 1000. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Int32 deviceEnrollmentLimit { get; set; } - - /// - /// The "ownedDevices" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] ownedDevices { get; set; } - - /// - /// The "registeredDevices" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] registeredDevices { get; set; } - - /// - /// The "manager" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object manager { get; set; } - - /// - /// The "directReports" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] directReports { get; set; } - - /// - /// The "memberOf" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] memberOf { get; set; } - - /// - /// The "createdObjects" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] createdObjects { get; set; } - - /// - /// The "ownedObjects" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] ownedObjects { get; set; } - - /// - /// The "licenseDetails" property, of type "microsoft.graph.licenseDetails". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.licenseDetails")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] licenseDetails { get; set; } - - /// - /// The "inferenceClassification" property, of type "microsoft.graph.inferenceClassification". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.inferenceClassification")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object inferenceClassification { get; set; } - - /// - /// The "photo" property, of type "microsoft.graph.profilePhoto". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.profilePhoto")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object photo { get; set; } - - /// - /// The "photos" property, of type "microsoft.graph.profilePhoto". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.profilePhoto")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] photos { get; set; } - - /// - /// The "managedDevices" property, of type "microsoft.graph.managedDevice". - /// This property is on the "microsoft.graph.user" type. - /// The managed devices associated with the user. - /// - [ODataType("microsoft.graph.managedDevice")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] managedDevices { get; set; } - - /// - /// The "managedAppRegistrations" property, of type "microsoft.graph.managedAppRegistration". - /// This property is on the "microsoft.graph.user" type. - /// Zero or more managed app registrations that belong to the user. - /// - [ODataType("microsoft.graph.managedAppRegistration", "microsoft.graph.androidManagedAppRegistration", "microsoft.graph.iosManagedAppRegistration")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] managedAppRegistrations { get; set; } - - /// - /// The "deviceManagementTroubleshootingEvents" property, of type "microsoft.graph.deviceManagementTroubleshootingEvent". - /// This property is on the "microsoft.graph.user" type. - /// The list of troubleshooting events for this user. - /// - [ODataType("microsoft.graph.deviceManagementTroubleshootingEvent", "microsoft.graph.enrollmentTroubleshootingEvent")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] deviceManagementTroubleshootingEvents { get; set; } - - /// - /// The "countryLetterCode" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String countryLetterCode { get; set; } - - /// - /// The "marketingNotificationEmails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] marketingNotificationEmails { get; set; } - - /// - /// The "privacyProfile" property, of type "microsoft.graph.privacyProfile". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("microsoft.graph.privacyProfile")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.Object privacyProfile { get; set; } - - /// - /// The "securityComplianceNotificationMails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] securityComplianceNotificationMails { get; set; } - - /// - /// The "securityComplianceNotificationPhones" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] securityComplianceNotificationPhones { get; set; } - - /// - /// The "street" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String street { get; set; } - - /// - /// The "technicalNotificationMails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] technicalNotificationMails { get; set; } - - /// - /// The "mobileDeviceManagementAuthority" property, of type "microsoft.graph.mdmAuthority". - /// This property is on the "microsoft.graph.organization" type. - /// Mobile device management authority. - /// - [ODataType("microsoft.graph.mdmAuthority")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String mobileDeviceManagementAuthority { get; set; } - - /// - /// The "contractType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.String contractType { get; set; } - - /// - /// The "customerId" property, of type "Edm.Guid". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.Guid")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.Guid customerId { get; set; } - - /// - /// The "defaultDomainName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.String defaultDomainName { get; set; } - - /// - /// The "classification" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.String classification { get; set; } - - /// - /// The "createdDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.DateTimeOffset createdDateTime { get; set; } - - /// - /// The "groupTypes" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.group")] - public System.String[] groupTypes { get; set; } - - /// - /// The "mailEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean mailEnabled { get; set; } - - /// - /// The "renewedDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.DateTimeOffset renewedDateTime { get; set; } - - /// - /// The "securityEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean securityEnabled { get; set; } - - /// - /// The "visibility" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.String visibility { get; set; } - - /// - /// The "allowExternalSenders" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean allowExternalSenders { get; set; } - - /// - /// The "autoSubscribeNewMembers" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean autoSubscribeNewMembers { get; set; } - - /// - /// The "isSubscribedByMail" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean isSubscribedByMail { get; set; } - - /// - /// The "unseenCount" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Int32 unseenCount { get; set; } - - /// - /// The "members" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] members { get; set; } - - /// - /// The "createdOnBehalfOf" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Object createdOnBehalfOf { get; set; } - - /// - /// The "owners" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] owners { get; set; } - - /// - /// The "settings" property, of type "microsoft.graph.groupSetting". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.groupSetting")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] settings { get; set; } - - /// - /// The "groupLifecyclePolicies" property, of type "microsoft.graph.groupLifecyclePolicy". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.groupLifecyclePolicy")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] groupLifecyclePolicies { get; set; } - - /// - /// The "roleTemplateId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.directoryRole" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.directoryRole")] - public System.String roleTemplateId { get; set; } - - /// - /// The "alternativeSecurityIds" property, of type "microsoft.graph.alternativeSecurityId". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.alternativeSecurityId")] - [Selectable] - [DerivedType("microsoft.graph.device")] - public System.Object[] alternativeSecurityIds { get; set; } - - /// - /// The "approximateLastSignInDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.DateTimeOffset approximateLastSignInDateTime { get; set; } - - /// - /// The "deviceId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String deviceId { get; set; } - - /// - /// The "deviceMetadata" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String deviceMetadata { get; set; } - - /// - /// The "deviceVersion" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Int32 deviceVersion { get; set; } - - /// - /// The "isCompliant" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Boolean isCompliant { get; set; } - - /// - /// The "isManaged" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Boolean isManaged { get; set; } - - /// - /// The "operatingSystem" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String operatingSystem { get; set; } - - /// - /// The "operatingSystemVersion" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String operatingSystemVersion { get; set; } - - /// - /// The "physicalIds" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.device")] - public System.String[] physicalIds { get; set; } - - /// - /// The "trustType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String trustType { get; set; } - - /// - /// The "registeredOwners" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] registeredOwners { get; set; } - - /// - /// The "registeredUsers" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] registeredUsers { get; set; } - - /// - /// The "extensions" property, of type "microsoft.graph.extension". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.extension", "microsoft.graph.openTypeExtension")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] extensions { get; set; } - - internal override System.String GetResourcePath() - { - return $"me/ownedObjects/{directoryObjectId ?? string.Empty}"; - } - } - - /// - /// Retrieves "microsoft.graph.directoryObject" object references. - /// GET ~/me/ownedObjects/$ref - /// Retrieves "microsoft.graph.directoryObject" object references in the "ownedObjects" collection. - /// - /// GitHub Repository - [Cmdlet("Get", "Me_OwnedObjectsReferences", DefaultParameterSetName = @"Search")] - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [ResourceTypePropertyName("ownedObjectODataType")] - public class Get_Me_OwnedObjectsReferences : GetOrSearchCmdlet - { - /// - /// The ID for a "microsoft.graph.directoryObject" object in the "ownedObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(ParameterSetName = @"Get", Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.directoryObject" object in the "ownedObjects" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// The "deletedDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.directoryObject" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - public System.DateTimeOffset deletedDateTime { get; set; } - - /// - /// The "displayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.String displayName { get; set; } - - /// - /// The "description" property, of type "Edm.String". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.String description { get; set; } - - /// - /// The "values" property, of type "microsoft.graph.settingTemplateValue". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("microsoft.graph.settingTemplateValue")] - [Selectable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.Object[] values { get; set; } - - /// - /// The "accountEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Boolean accountEnabled { get; set; } - - /// - /// The "ageGroup" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String ageGroup { get; set; } - - /// - /// The "assignedLicenses" property, of type "microsoft.graph.assignedLicense". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.assignedLicense")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] assignedLicenses { get; set; } - - /// - /// The "assignedPlans" property, of type "microsoft.graph.assignedPlan". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.assignedPlan")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] assignedPlans { get; set; } - - /// - /// The "businessPhones" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] businessPhones { get; set; } - - /// - /// The "city" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String city { get; set; } - - /// - /// The "companyName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String companyName { get; set; } - - /// - /// The "consentProvidedForMinor" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String consentProvidedForMinor { get; set; } - - /// - /// The "country" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String country { get; set; } - - /// - /// The "department" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String department { get; set; } - - /// - /// The "givenName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String givenName { get; set; } - - /// - /// The "imAddresses" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] imAddresses { get; set; } - - /// - /// The "jobTitle" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String jobTitle { get; set; } - - /// - /// The "legalAgeGroupClassification" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String legalAgeGroupClassification { get; set; } - - /// - /// The "mail" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mail { get; set; } - - /// - /// The "mailNickname" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mailNickname { get; set; } - - /// - /// The "mobilePhone" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mobilePhone { get; set; } - - /// - /// The "onPremisesExtensionAttributes" property, of type "microsoft.graph.onPremisesExtensionAttributes". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.onPremisesExtensionAttributes")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object onPremisesExtensionAttributes { get; set; } - - /// - /// The "onPremisesImmutableId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesImmutableId { get; set; } - - /// - /// The "onPremisesLastSyncDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset onPremisesLastSyncDateTime { get; set; } - - /// - /// The "onPremisesProvisioningErrors" property, of type "microsoft.graph.onPremisesProvisioningError". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.onPremisesProvisioningError")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] onPremisesProvisioningErrors { get; set; } - - /// - /// The "onPremisesSecurityIdentifier" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesSecurityIdentifier { get; set; } - - /// - /// The "onPremisesSyncEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Boolean onPremisesSyncEnabled { get; set; } - - /// - /// The "onPremisesDomainName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesDomainName { get; set; } - - /// - /// The "onPremisesSamAccountName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesSamAccountName { get; set; } - - /// - /// The "onPremisesUserPrincipalName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesUserPrincipalName { get; set; } - - /// - /// The "passwordPolicies" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String passwordPolicies { get; set; } - - /// - /// The "passwordProfile" property, of type "microsoft.graph.passwordProfile". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.passwordProfile")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object passwordProfile { get; set; } - - /// - /// The "officeLocation" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String officeLocation { get; set; } - - /// - /// The "postalCode" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String postalCode { get; set; } - - /// - /// The "preferredLanguage" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String preferredLanguage { get; set; } - - /// - /// The "provisionedPlans" property, of type "microsoft.graph.provisionedPlan". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.provisionedPlan")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] provisionedPlans { get; set; } - - /// - /// The "proxyAddresses" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] proxyAddresses { get; set; } - - /// - /// The "state" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String state { get; set; } - - /// - /// The "streetAddress" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String streetAddress { get; set; } - - /// - /// The "surname" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String surname { get; set; } - - /// - /// The "usageLocation" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String usageLocation { get; set; } - - /// - /// The "userPrincipalName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String userPrincipalName { get; set; } - - /// - /// The "userType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String userType { get; set; } - - /// - /// The "mailboxSettings" property, of type "microsoft.graph.mailboxSettings". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.mailboxSettings")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object mailboxSettings { get; set; } - - /// - /// The "aboutMe" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String aboutMe { get; set; } - - /// - /// The "birthday" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset birthday { get; set; } - - /// - /// The "hireDate" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset hireDate { get; set; } - - /// - /// The "interests" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] interests { get; set; } - - /// - /// The "mySite" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mySite { get; set; } - - /// - /// The "pastProjects" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] pastProjects { get; set; } - - /// - /// The "preferredName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String preferredName { get; set; } - - /// - /// The "responsibilities" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] responsibilities { get; set; } - - /// - /// The "schools" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] schools { get; set; } - - /// - /// The "skills" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] skills { get; set; } - - /// - /// The "deviceEnrollmentLimit" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.user" type. - /// The limit on the maximum number of devices that the user is permitted to enroll. Allowed values are 5 or 1000. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Int32 deviceEnrollmentLimit { get; set; } - - /// - /// The "ownedDevices" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] ownedDevices { get; set; } - - /// - /// The "registeredDevices" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] registeredDevices { get; set; } - - /// - /// The "manager" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object manager { get; set; } - - /// - /// The "directReports" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] directReports { get; set; } - - /// - /// The "memberOf" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] memberOf { get; set; } - - /// - /// The "createdObjects" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] createdObjects { get; set; } - - /// - /// The "ownedObjects" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] ownedObjects { get; set; } - - /// - /// The "licenseDetails" property, of type "microsoft.graph.licenseDetails". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.licenseDetails")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] licenseDetails { get; set; } - - /// - /// The "inferenceClassification" property, of type "microsoft.graph.inferenceClassification". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.inferenceClassification")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object inferenceClassification { get; set; } - - /// - /// The "photo" property, of type "microsoft.graph.profilePhoto". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.profilePhoto")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object photo { get; set; } - - /// - /// The "photos" property, of type "microsoft.graph.profilePhoto". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.profilePhoto")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] photos { get; set; } - - /// - /// The "managedDevices" property, of type "microsoft.graph.managedDevice". - /// This property is on the "microsoft.graph.user" type. - /// The managed devices associated with the user. - /// - [ODataType("microsoft.graph.managedDevice")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] managedDevices { get; set; } - - /// - /// The "managedAppRegistrations" property, of type "microsoft.graph.managedAppRegistration". - /// This property is on the "microsoft.graph.user" type. - /// Zero or more managed app registrations that belong to the user. - /// - [ODataType("microsoft.graph.managedAppRegistration", "microsoft.graph.androidManagedAppRegistration", "microsoft.graph.iosManagedAppRegistration")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] managedAppRegistrations { get; set; } - - /// - /// The "deviceManagementTroubleshootingEvents" property, of type "microsoft.graph.deviceManagementTroubleshootingEvent". - /// This property is on the "microsoft.graph.user" type. - /// The list of troubleshooting events for this user. - /// - [ODataType("microsoft.graph.deviceManagementTroubleshootingEvent", "microsoft.graph.enrollmentTroubleshootingEvent")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] deviceManagementTroubleshootingEvents { get; set; } - - /// - /// The "countryLetterCode" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String countryLetterCode { get; set; } - - /// - /// The "marketingNotificationEmails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] marketingNotificationEmails { get; set; } - - /// - /// The "privacyProfile" property, of type "microsoft.graph.privacyProfile". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("microsoft.graph.privacyProfile")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.Object privacyProfile { get; set; } - - /// - /// The "securityComplianceNotificationMails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] securityComplianceNotificationMails { get; set; } - - /// - /// The "securityComplianceNotificationPhones" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] securityComplianceNotificationPhones { get; set; } - - /// - /// The "street" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String street { get; set; } - - /// - /// The "technicalNotificationMails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] technicalNotificationMails { get; set; } - - /// - /// The "mobileDeviceManagementAuthority" property, of type "microsoft.graph.mdmAuthority". - /// This property is on the "microsoft.graph.organization" type. - /// Mobile device management authority. - /// - [ODataType("microsoft.graph.mdmAuthority")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String mobileDeviceManagementAuthority { get; set; } - - /// - /// The "contractType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.String contractType { get; set; } - - /// - /// The "customerId" property, of type "Edm.Guid". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.Guid")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.Guid customerId { get; set; } - - /// - /// The "defaultDomainName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.String defaultDomainName { get; set; } - - /// - /// The "classification" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.String classification { get; set; } - - /// - /// The "createdDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.DateTimeOffset createdDateTime { get; set; } - - /// - /// The "groupTypes" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.group")] - public System.String[] groupTypes { get; set; } - - /// - /// The "mailEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean mailEnabled { get; set; } - - /// - /// The "renewedDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.DateTimeOffset renewedDateTime { get; set; } - - /// - /// The "securityEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean securityEnabled { get; set; } - - /// - /// The "visibility" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.String visibility { get; set; } - - /// - /// The "allowExternalSenders" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean allowExternalSenders { get; set; } - - /// - /// The "autoSubscribeNewMembers" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean autoSubscribeNewMembers { get; set; } - - /// - /// The "isSubscribedByMail" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean isSubscribedByMail { get; set; } - - /// - /// The "unseenCount" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Int32 unseenCount { get; set; } - - /// - /// The "members" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] members { get; set; } - - /// - /// The "createdOnBehalfOf" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Object createdOnBehalfOf { get; set; } - - /// - /// The "owners" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] owners { get; set; } - - /// - /// The "settings" property, of type "microsoft.graph.groupSetting". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.groupSetting")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] settings { get; set; } - - /// - /// The "groupLifecyclePolicies" property, of type "microsoft.graph.groupLifecyclePolicy". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.groupLifecyclePolicy")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] groupLifecyclePolicies { get; set; } - - /// - /// The "roleTemplateId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.directoryRole" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.directoryRole")] - public System.String roleTemplateId { get; set; } - - /// - /// The "alternativeSecurityIds" property, of type "microsoft.graph.alternativeSecurityId". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.alternativeSecurityId")] - [Selectable] - [DerivedType("microsoft.graph.device")] - public System.Object[] alternativeSecurityIds { get; set; } - - /// - /// The "approximateLastSignInDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.DateTimeOffset approximateLastSignInDateTime { get; set; } - - /// - /// The "deviceId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String deviceId { get; set; } - - /// - /// The "deviceMetadata" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String deviceMetadata { get; set; } - - /// - /// The "deviceVersion" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Int32 deviceVersion { get; set; } - - /// - /// The "isCompliant" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Boolean isCompliant { get; set; } - - /// - /// The "isManaged" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Boolean isManaged { get; set; } - - /// - /// The "operatingSystem" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String operatingSystem { get; set; } - - /// - /// The "operatingSystemVersion" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String operatingSystemVersion { get; set; } - - /// - /// The "physicalIds" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.device")] - public System.String[] physicalIds { get; set; } - - /// - /// The "trustType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String trustType { get; set; } - - /// - /// The "registeredOwners" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] registeredOwners { get; set; } - - /// - /// The "registeredUsers" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] registeredUsers { get; set; } - - /// - /// The "extensions" property, of type "microsoft.graph.extension". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.extension", "microsoft.graph.openTypeExtension")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] extensions { get; set; } - - internal override System.String GetResourcePath() - { - return $"me/ownedObjects/{directoryObjectId ?? string.Empty}/$ref"; - } - } - - /// - /// Creates a reference from a "me" to a "microsoft.graph.directoryObject" object. - /// POST ~/me/ownedObjects/$ref - /// Creates a reference from the specified "me" object to a "ownedObject". - /// - /// GitHub Repository - [Cmdlet("New", "Me_OwnedObjectsReferences", ConfirmImpact = ConfirmImpact.Low)] - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [ResourceTypePropertyName("ownedObjectODataType")] - public class New_Me_OwnedObjectsReferences : PostReferenceToCollectionCmdlet - { - /// - /// The ID for a "microsoft.graph.directoryObject" object in the "ownedObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - public System.String directoryObjectId { get; set; } - - /// - /// The URL which should be used to access a "microsoft.graph.directoryObject" object. - /// - [Selectable] - [Expandable] - [Alias("deviceReferenceUrl", "directoryRoleReferenceUrl", "directoryRoleTemplateReferenceUrl", "groupReferenceUrl", "contractReferenceUrl", "organizationReferenceUrl", "userReferenceUrl", "groupSettingTemplateReferenceUrl", "administrativeUnitReferenceUrl")] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The URL which should be used to access a "microsoft.graph.directoryObject" object.")] - public System.String directoryObjectReferenceUrl { get; set; } - - internal override System.String GetResourcePath() - { - return $"me/ownedObjects/{directoryObjectId}/$ref"; - } - - internal override System.Object GetContent() - { - return this.GetReferenceRequestContent(directoryObjectReferenceUrl); - } - } - - /// - /// Removes a reference from a "me" to a "microsoft.graph.directoryObject" object. - /// DELETE ~/me/ownedObjects/directoryObjectId/$ref - /// Removes a reference from the specified "me" object to a "ownedObject". - /// - /// GitHub Repository - [Cmdlet("Remove", "Me_OwnedObjectsReferences", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [ResourceTypePropertyName("ownedObjectODataType")] - public class Remove_Me_OwnedObjectsReferences : DeleteCmdlet - { - /// - /// The ID for a "microsoft.graph.directoryObject" object in the "ownedObjects" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.directoryObject" object in the "ownedObjects" collection.")] - public System.String directoryObjectId { get; set; } - - internal override System.String GetResourcePath() - { - return $"me/ownedObjects/{directoryObjectId}/$ref"; - } - } -} \ No newline at end of file diff --git a/PowerShellCmdlets/Generated/SDK/Me/Photo.cs b/PowerShellCmdlets/Generated/SDK/Me/Photo.cs deleted file mode 100644 index 45e6e5e..0000000 --- a/PowerShellCmdlets/Generated/SDK/Me/Photo.cs +++ /dev/null @@ -1,170 +0,0 @@ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. - -namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets -{ - using System.Management.Automation; - - /// - /// Retrieves the "photo" object. - /// GET ~/me/photo - /// Retrieves the "photo" object (which is of type "microsoft.graph.profilePhoto"). - /// - /// GitHub Repository - [Cmdlet("Get", "Me_Photo", DefaultParameterSetName = @"Get")] - [ODataType("microsoft.graph.profilePhoto")] - [ResourceTypePropertyName("photoODataType")] - [ResourceReference] - public class Get_Me_Photo : GetCmdlet - { - /// - /// The "height" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.profilePhoto" type. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - public System.Int32 height { get; set; } - - /// - /// The "width" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.profilePhoto" type. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - public System.Int32 width { get; set; } - - internal override System.String GetResourcePath() - { - return $"me/photo"; - } - } - - /// - /// Updates a "microsoft.graph.profilePhoto". - /// PATCH ~/me/photo - /// Updates the "photo" object (which is of type "microsoft.graph.profilePhoto"). - /// - /// GitHub Repository - [Cmdlet("Update", "Me_Photo", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.profilePhoto")] - [ODataType("microsoft.graph.profilePhoto")] - [ResourceTypePropertyName("photoODataType")] - public class Update_Me_Photo : PatchCmdlet - { - /// - /// The "height" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.profilePhoto" type. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.profilePhoto", HelpMessage = @"The "height" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "height" property, of type "Edm.Int32".")] - public System.Int32 height { get; set; } - - /// - /// The "width" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.profilePhoto" type. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.profilePhoto", HelpMessage = @"The "width" property, of type "Edm.Int32".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "width" property, of type "Edm.Int32".")] - public System.Int32 width { get; set; } - - internal override System.String GetResourcePath() - { - return $"me/photo"; - } - } - - /// - /// Retrieves a "photo" object's data stream. - /// GET ~/me/photo/$value - /// Retrieves the data stream from the "photo" object. - /// - /// GitHub Repository - [Cmdlet("Get", "Me_PhotoData")] - [ODataType("microsoft.graph.profilePhoto")] - [ResourceTypePropertyName("photoODataType")] - public class Get_Me_PhotoData : GetStreamCmdlet - { - /// - /// The "height" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.profilePhoto" type. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - public System.Int32 height { get; set; } - - /// - /// The "width" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.profilePhoto" type. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - public System.Int32 width { get; set; } - - internal override System.String GetResourcePath() - { - return $"me/photo/$value"; - } - } - - /// - /// Sets the data for the "photo" property. - /// PUT ~/me/photo/$value - /// Sets the data for the "photo" property. - /// - /// GitHub Repository - [Cmdlet("New", "Me_PhotoData", ConfirmImpact = ConfirmImpact.Low)] - [ODataType("microsoft.graph.profilePhoto")] - [ResourceTypePropertyName("photoODataType")] - public class New_Me_PhotoData : UpdateStreamCmdlet - { - internal override System.String GetHttpMethod() - { - return "POST"; - } - - internal override System.String GetResourcePath() - { - return $"me/photo/$value"; - } - } - - /// - /// Sets the data for the "photo" property. - /// PUT ~/me/photo/$value - /// Sets the data for the "photo" property. - /// - /// GitHub Repository - [Cmdlet("Set", "Me_PhotoData", ConfirmImpact = ConfirmImpact.Low)] - [ODataType("microsoft.graph.profilePhoto")] - [ResourceTypePropertyName("photoODataType")] - public class Set_Me_PhotoData : UpdateStreamCmdlet - { - internal override System.String GetResourcePath() - { - return $"me/photo/$value"; - } - } - - /// - /// Removes the data stream from a "photo" object. - /// DELETE ~/me/photo/$value - /// Removes a reference from a "photo" resource (which is of type "microsoft.graph.profilePhoto"). - /// - /// GitHub Repository - [Cmdlet("Remove", "Me_PhotoData", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.profilePhoto")] - [ResourceTypePropertyName("photoODataType")] - public class Remove_Me_PhotoData : DeleteCmdlet - { - internal override System.String GetResourcePath() - { - return $"me/photo/$value"; - } - } -} \ No newline at end of file diff --git a/PowerShellCmdlets/Generated/SDK/Me/Photos.cs b/PowerShellCmdlets/Generated/SDK/Me/Photos.cs deleted file mode 100644 index 2cb225f..0000000 --- a/PowerShellCmdlets/Generated/SDK/Me/Photos.cs +++ /dev/null @@ -1,188 +0,0 @@ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. - -namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets -{ - using System.Management.Automation; - - /// - /// Retrieves "microsoft.graph.profilePhoto" objects. - /// GET ~/me/photos - /// Retrieves "microsoft.graph.profilePhoto" objects in the "photos" collection. - /// - /// GitHub Repository - [Cmdlet("Get", "Me_Photos", DefaultParameterSetName = @"Search")] - [ODataType("microsoft.graph.profilePhoto")] - [ResourceTypePropertyName("photoODataType")] - [ResourceReference] - public class Get_Me_Photos : GetOrSearchCmdlet - { - /// - /// The ID for a "microsoft.graph.profilePhoto" object in the "photos" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(ParameterSetName = @"Get", Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.profilePhoto" object in the "photos" collection.")] - public System.String profilePhotoId { get; set; } - - /// - /// The "height" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.profilePhoto" type. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - public System.Int32 height { get; set; } - - /// - /// The "width" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.profilePhoto" type. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - public System.Int32 width { get; set; } - - internal override System.String GetResourcePath() - { - return $"me/photos/{profilePhotoId ?? string.Empty}"; - } - } - - /// - /// Retrieves a "photos" object's data stream. - /// GET ~/me/photos/$value - /// Retrieves the data streams from the "photos" collection. - /// - /// GitHub Repository - [Cmdlet("Get", "Me_PhotosData")] - [ODataType("microsoft.graph.profilePhoto")] - [ResourceTypePropertyName("photoODataType")] - public class Get_Me_PhotosData : GetStreamCmdlet - { - /// - /// The ID for a "microsoft.graph.profilePhoto" object in the "photos" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.profilePhoto" object in the "photos" collection.")] - public System.String profilePhotoId { get; set; } - - /// - /// The "height" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.profilePhoto" type. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - public System.Int32 height { get; set; } - - /// - /// The "width" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.profilePhoto" type. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - public System.Int32 width { get; set; } - - internal override System.String GetResourcePath() - { - return $"me/photos/{profilePhotoId}/$value"; - } - } - - /// - /// Sets the data for the "photo" property. - /// PUT ~/me/photos/$value - /// Sets the data for the "photo" property. - /// - /// GitHub Repository - [Cmdlet("New", "Me_PhotosData", ConfirmImpact = ConfirmImpact.Low)] - [ODataType("microsoft.graph.profilePhoto")] - [ResourceTypePropertyName("photoODataType")] - public class New_Me_PhotosData : UpdateStreamCmdlet - { - /// - /// The ID for a "microsoft.graph.profilePhoto" object in the "photos" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.profilePhoto" object in the "photos" collection.")] - public System.String profilePhotoId { get; set; } - - internal override System.String GetHttpMethod() - { - return "POST"; - } - - internal override System.String GetResourcePath() - { - return $"me/photos/{profilePhotoId}/$value"; - } - } - - /// - /// Sets the data for the "photo" property. - /// PUT ~/me/photos/$value - /// Sets the data for the "photo" property. - /// - /// GitHub Repository - [Cmdlet("Set", "Me_PhotosData", ConfirmImpact = ConfirmImpact.Low)] - [ODataType("microsoft.graph.profilePhoto")] - [ResourceTypePropertyName("photoODataType")] - public class Set_Me_PhotosData : UpdateStreamCmdlet - { - /// - /// The ID for a "microsoft.graph.profilePhoto" object in the "photos" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.profilePhoto" object in the "photos" collection.")] - public System.String profilePhotoId { get; set; } - - internal override System.String GetResourcePath() - { - return $"me/photos/{profilePhotoId}/$value"; - } - } - - /// - /// Removes the data stream from a "photo" object. - /// DELETE ~/me/photos/profilePhotoId/$value - /// Removes a reference from a "photo" resource (which is of type "microsoft.graph.profilePhoto"). - /// - /// GitHub Repository - [Cmdlet("Remove", "Me_PhotosData", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.profilePhoto")] - [ResourceTypePropertyName("photoODataType")] - public class Remove_Me_PhotosData : DeleteCmdlet - { - /// - /// The ID for a "microsoft.graph.profilePhoto" object in the "photos" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.profilePhoto" object in the "photos" collection.")] - public System.String profilePhotoId { get; set; } - - internal override System.String GetResourcePath() - { - return $"me/photos/{profilePhotoId}/$value"; - } - } -} \ No newline at end of file diff --git a/PowerShellCmdlets/Generated/SDK/Me/RegisteredDevices.cs b/PowerShellCmdlets/Generated/SDK/Me/RegisteredDevices.cs deleted file mode 100644 index c5cfdff..0000000 --- a/PowerShellCmdlets/Generated/SDK/Me/RegisteredDevices.cs +++ /dev/null @@ -1,2327 +0,0 @@ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. - -namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets -{ - using System.Management.Automation; - - /// - /// Retrieves "microsoft.graph.directoryObject" objects. - /// GET ~/me/registeredDevices - /// Retrieves "microsoft.graph.directoryObject" objects in the "registeredDevices" collection. - /// - /// GitHub Repository - [Cmdlet("Get", "Me_RegisteredDevices", DefaultParameterSetName = @"Search")] - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [ResourceTypePropertyName("registeredDeviceODataType")] - public class Get_Me_RegisteredDevices : GetOrSearchCmdlet - { - /// - /// The ID for a "microsoft.graph.directoryObject" object in the "registeredDevices" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(ParameterSetName = @"Get", Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.directoryObject" object in the "registeredDevices" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// The "deletedDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.directoryObject" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - public System.DateTimeOffset deletedDateTime { get; set; } - - /// - /// The "displayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.String displayName { get; set; } - - /// - /// The "description" property, of type "Edm.String". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.String description { get; set; } - - /// - /// The "values" property, of type "microsoft.graph.settingTemplateValue". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("microsoft.graph.settingTemplateValue")] - [Selectable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.Object[] values { get; set; } - - /// - /// The "accountEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Boolean accountEnabled { get; set; } - - /// - /// The "ageGroup" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String ageGroup { get; set; } - - /// - /// The "assignedLicenses" property, of type "microsoft.graph.assignedLicense". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.assignedLicense")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] assignedLicenses { get; set; } - - /// - /// The "assignedPlans" property, of type "microsoft.graph.assignedPlan". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.assignedPlan")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] assignedPlans { get; set; } - - /// - /// The "businessPhones" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] businessPhones { get; set; } - - /// - /// The "city" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String city { get; set; } - - /// - /// The "companyName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String companyName { get; set; } - - /// - /// The "consentProvidedForMinor" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String consentProvidedForMinor { get; set; } - - /// - /// The "country" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String country { get; set; } - - /// - /// The "department" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String department { get; set; } - - /// - /// The "givenName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String givenName { get; set; } - - /// - /// The "imAddresses" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] imAddresses { get; set; } - - /// - /// The "jobTitle" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String jobTitle { get; set; } - - /// - /// The "legalAgeGroupClassification" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String legalAgeGroupClassification { get; set; } - - /// - /// The "mail" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mail { get; set; } - - /// - /// The "mailNickname" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mailNickname { get; set; } - - /// - /// The "mobilePhone" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mobilePhone { get; set; } - - /// - /// The "onPremisesExtensionAttributes" property, of type "microsoft.graph.onPremisesExtensionAttributes". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.onPremisesExtensionAttributes")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object onPremisesExtensionAttributes { get; set; } - - /// - /// The "onPremisesImmutableId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesImmutableId { get; set; } - - /// - /// The "onPremisesLastSyncDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset onPremisesLastSyncDateTime { get; set; } - - /// - /// The "onPremisesProvisioningErrors" property, of type "microsoft.graph.onPremisesProvisioningError". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.onPremisesProvisioningError")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] onPremisesProvisioningErrors { get; set; } - - /// - /// The "onPremisesSecurityIdentifier" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesSecurityIdentifier { get; set; } - - /// - /// The "onPremisesSyncEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Boolean onPremisesSyncEnabled { get; set; } - - /// - /// The "onPremisesDomainName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesDomainName { get; set; } - - /// - /// The "onPremisesSamAccountName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesSamAccountName { get; set; } - - /// - /// The "onPremisesUserPrincipalName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesUserPrincipalName { get; set; } - - /// - /// The "passwordPolicies" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String passwordPolicies { get; set; } - - /// - /// The "passwordProfile" property, of type "microsoft.graph.passwordProfile". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.passwordProfile")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object passwordProfile { get; set; } - - /// - /// The "officeLocation" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String officeLocation { get; set; } - - /// - /// The "postalCode" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String postalCode { get; set; } - - /// - /// The "preferredLanguage" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String preferredLanguage { get; set; } - - /// - /// The "provisionedPlans" property, of type "microsoft.graph.provisionedPlan". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.provisionedPlan")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] provisionedPlans { get; set; } - - /// - /// The "proxyAddresses" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] proxyAddresses { get; set; } - - /// - /// The "state" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String state { get; set; } - - /// - /// The "streetAddress" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String streetAddress { get; set; } - - /// - /// The "surname" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String surname { get; set; } - - /// - /// The "usageLocation" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String usageLocation { get; set; } - - /// - /// The "userPrincipalName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String userPrincipalName { get; set; } - - /// - /// The "userType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String userType { get; set; } - - /// - /// The "mailboxSettings" property, of type "microsoft.graph.mailboxSettings". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.mailboxSettings")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object mailboxSettings { get; set; } - - /// - /// The "aboutMe" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String aboutMe { get; set; } - - /// - /// The "birthday" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset birthday { get; set; } - - /// - /// The "hireDate" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset hireDate { get; set; } - - /// - /// The "interests" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] interests { get; set; } - - /// - /// The "mySite" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mySite { get; set; } - - /// - /// The "pastProjects" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] pastProjects { get; set; } - - /// - /// The "preferredName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String preferredName { get; set; } - - /// - /// The "responsibilities" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] responsibilities { get; set; } - - /// - /// The "schools" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] schools { get; set; } - - /// - /// The "skills" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] skills { get; set; } - - /// - /// The "deviceEnrollmentLimit" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.user" type. - /// The limit on the maximum number of devices that the user is permitted to enroll. Allowed values are 5 or 1000. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Int32 deviceEnrollmentLimit { get; set; } - - /// - /// The "ownedDevices" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] ownedDevices { get; set; } - - /// - /// The "registeredDevices" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] registeredDevices { get; set; } - - /// - /// The "manager" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object manager { get; set; } - - /// - /// The "directReports" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] directReports { get; set; } - - /// - /// The "memberOf" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] memberOf { get; set; } - - /// - /// The "createdObjects" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] createdObjects { get; set; } - - /// - /// The "ownedObjects" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] ownedObjects { get; set; } - - /// - /// The "licenseDetails" property, of type "microsoft.graph.licenseDetails". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.licenseDetails")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] licenseDetails { get; set; } - - /// - /// The "inferenceClassification" property, of type "microsoft.graph.inferenceClassification". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.inferenceClassification")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object inferenceClassification { get; set; } - - /// - /// The "photo" property, of type "microsoft.graph.profilePhoto". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.profilePhoto")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object photo { get; set; } - - /// - /// The "photos" property, of type "microsoft.graph.profilePhoto". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.profilePhoto")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] photos { get; set; } - - /// - /// The "managedDevices" property, of type "microsoft.graph.managedDevice". - /// This property is on the "microsoft.graph.user" type. - /// The managed devices associated with the user. - /// - [ODataType("microsoft.graph.managedDevice")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] managedDevices { get; set; } - - /// - /// The "managedAppRegistrations" property, of type "microsoft.graph.managedAppRegistration". - /// This property is on the "microsoft.graph.user" type. - /// Zero or more managed app registrations that belong to the user. - /// - [ODataType("microsoft.graph.managedAppRegistration", "microsoft.graph.androidManagedAppRegistration", "microsoft.graph.iosManagedAppRegistration")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] managedAppRegistrations { get; set; } - - /// - /// The "deviceManagementTroubleshootingEvents" property, of type "microsoft.graph.deviceManagementTroubleshootingEvent". - /// This property is on the "microsoft.graph.user" type. - /// The list of troubleshooting events for this user. - /// - [ODataType("microsoft.graph.deviceManagementTroubleshootingEvent", "microsoft.graph.enrollmentTroubleshootingEvent")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] deviceManagementTroubleshootingEvents { get; set; } - - /// - /// The "countryLetterCode" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String countryLetterCode { get; set; } - - /// - /// The "marketingNotificationEmails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] marketingNotificationEmails { get; set; } - - /// - /// The "privacyProfile" property, of type "microsoft.graph.privacyProfile". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("microsoft.graph.privacyProfile")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.Object privacyProfile { get; set; } - - /// - /// The "securityComplianceNotificationMails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] securityComplianceNotificationMails { get; set; } - - /// - /// The "securityComplianceNotificationPhones" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] securityComplianceNotificationPhones { get; set; } - - /// - /// The "street" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String street { get; set; } - - /// - /// The "technicalNotificationMails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] technicalNotificationMails { get; set; } - - /// - /// The "mobileDeviceManagementAuthority" property, of type "microsoft.graph.mdmAuthority". - /// This property is on the "microsoft.graph.organization" type. - /// Mobile device management authority. - /// - [ODataType("microsoft.graph.mdmAuthority")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String mobileDeviceManagementAuthority { get; set; } - - /// - /// The "contractType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.String contractType { get; set; } - - /// - /// The "customerId" property, of type "Edm.Guid". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.Guid")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.Guid customerId { get; set; } - - /// - /// The "defaultDomainName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.String defaultDomainName { get; set; } - - /// - /// The "classification" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.String classification { get; set; } - - /// - /// The "createdDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.DateTimeOffset createdDateTime { get; set; } - - /// - /// The "groupTypes" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.group")] - public System.String[] groupTypes { get; set; } - - /// - /// The "mailEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean mailEnabled { get; set; } - - /// - /// The "renewedDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.DateTimeOffset renewedDateTime { get; set; } - - /// - /// The "securityEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean securityEnabled { get; set; } - - /// - /// The "visibility" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.String visibility { get; set; } - - /// - /// The "allowExternalSenders" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean allowExternalSenders { get; set; } - - /// - /// The "autoSubscribeNewMembers" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean autoSubscribeNewMembers { get; set; } - - /// - /// The "isSubscribedByMail" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean isSubscribedByMail { get; set; } - - /// - /// The "unseenCount" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Int32 unseenCount { get; set; } - - /// - /// The "members" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] members { get; set; } - - /// - /// The "createdOnBehalfOf" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Object createdOnBehalfOf { get; set; } - - /// - /// The "owners" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] owners { get; set; } - - /// - /// The "settings" property, of type "microsoft.graph.groupSetting". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.groupSetting")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] settings { get; set; } - - /// - /// The "groupLifecyclePolicies" property, of type "microsoft.graph.groupLifecyclePolicy". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.groupLifecyclePolicy")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] groupLifecyclePolicies { get; set; } - - /// - /// The "roleTemplateId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.directoryRole" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.directoryRole")] - public System.String roleTemplateId { get; set; } - - /// - /// The "alternativeSecurityIds" property, of type "microsoft.graph.alternativeSecurityId". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.alternativeSecurityId")] - [Selectable] - [DerivedType("microsoft.graph.device")] - public System.Object[] alternativeSecurityIds { get; set; } - - /// - /// The "approximateLastSignInDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.DateTimeOffset approximateLastSignInDateTime { get; set; } - - /// - /// The "deviceId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String deviceId { get; set; } - - /// - /// The "deviceMetadata" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String deviceMetadata { get; set; } - - /// - /// The "deviceVersion" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Int32 deviceVersion { get; set; } - - /// - /// The "isCompliant" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Boolean isCompliant { get; set; } - - /// - /// The "isManaged" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Boolean isManaged { get; set; } - - /// - /// The "operatingSystem" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String operatingSystem { get; set; } - - /// - /// The "operatingSystemVersion" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String operatingSystemVersion { get; set; } - - /// - /// The "physicalIds" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.device")] - public System.String[] physicalIds { get; set; } - - /// - /// The "trustType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String trustType { get; set; } - - /// - /// The "registeredOwners" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] registeredOwners { get; set; } - - /// - /// The "registeredUsers" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] registeredUsers { get; set; } - - /// - /// The "extensions" property, of type "microsoft.graph.extension". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.extension", "microsoft.graph.openTypeExtension")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] extensions { get; set; } - - internal override System.String GetResourcePath() - { - return $"me/registeredDevices/{directoryObjectId ?? string.Empty}"; - } - } - - /// - /// Retrieves "microsoft.graph.directoryObject" object references. - /// GET ~/me/registeredDevices/$ref - /// Retrieves "microsoft.graph.directoryObject" object references in the "registeredDevices" collection. - /// - /// GitHub Repository - [Cmdlet("Get", "Me_RegisteredDevicesReferences", DefaultParameterSetName = @"Search")] - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [ResourceTypePropertyName("registeredDeviceODataType")] - public class Get_Me_RegisteredDevicesReferences : GetOrSearchCmdlet - { - /// - /// The ID for a "microsoft.graph.directoryObject" object in the "registeredDevices" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(ParameterSetName = @"Get", Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.directoryObject" object in the "registeredDevices" collection.")] - public System.String directoryObjectId { get; set; } - - /// - /// The "deletedDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.directoryObject" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - public System.DateTimeOffset deletedDateTime { get; set; } - - /// - /// The "displayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.String displayName { get; set; } - - /// - /// The "description" property, of type "Edm.String". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.String description { get; set; } - - /// - /// The "values" property, of type "microsoft.graph.settingTemplateValue". - /// This property is on the "microsoft.graph.groupSettingTemplate" type. - /// - [ODataType("microsoft.graph.settingTemplateValue")] - [Selectable] - [DerivedType("microsoft.graph.groupSettingTemplate")] - public System.Object[] values { get; set; } - - /// - /// The "accountEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Boolean accountEnabled { get; set; } - - /// - /// The "ageGroup" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String ageGroup { get; set; } - - /// - /// The "assignedLicenses" property, of type "microsoft.graph.assignedLicense". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.assignedLicense")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] assignedLicenses { get; set; } - - /// - /// The "assignedPlans" property, of type "microsoft.graph.assignedPlan". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.assignedPlan")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] assignedPlans { get; set; } - - /// - /// The "businessPhones" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] businessPhones { get; set; } - - /// - /// The "city" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String city { get; set; } - - /// - /// The "companyName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String companyName { get; set; } - - /// - /// The "consentProvidedForMinor" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String consentProvidedForMinor { get; set; } - - /// - /// The "country" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String country { get; set; } - - /// - /// The "department" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String department { get; set; } - - /// - /// The "givenName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String givenName { get; set; } - - /// - /// The "imAddresses" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] imAddresses { get; set; } - - /// - /// The "jobTitle" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String jobTitle { get; set; } - - /// - /// The "legalAgeGroupClassification" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String legalAgeGroupClassification { get; set; } - - /// - /// The "mail" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mail { get; set; } - - /// - /// The "mailNickname" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mailNickname { get; set; } - - /// - /// The "mobilePhone" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mobilePhone { get; set; } - - /// - /// The "onPremisesExtensionAttributes" property, of type "microsoft.graph.onPremisesExtensionAttributes". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.onPremisesExtensionAttributes")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object onPremisesExtensionAttributes { get; set; } - - /// - /// The "onPremisesImmutableId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesImmutableId { get; set; } - - /// - /// The "onPremisesLastSyncDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset onPremisesLastSyncDateTime { get; set; } - - /// - /// The "onPremisesProvisioningErrors" property, of type "microsoft.graph.onPremisesProvisioningError". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.onPremisesProvisioningError")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] onPremisesProvisioningErrors { get; set; } - - /// - /// The "onPremisesSecurityIdentifier" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesSecurityIdentifier { get; set; } - - /// - /// The "onPremisesSyncEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Boolean onPremisesSyncEnabled { get; set; } - - /// - /// The "onPremisesDomainName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesDomainName { get; set; } - - /// - /// The "onPremisesSamAccountName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesSamAccountName { get; set; } - - /// - /// The "onPremisesUserPrincipalName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String onPremisesUserPrincipalName { get; set; } - - /// - /// The "passwordPolicies" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String passwordPolicies { get; set; } - - /// - /// The "passwordProfile" property, of type "microsoft.graph.passwordProfile". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.passwordProfile")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object passwordProfile { get; set; } - - /// - /// The "officeLocation" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String officeLocation { get; set; } - - /// - /// The "postalCode" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String postalCode { get; set; } - - /// - /// The "preferredLanguage" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String preferredLanguage { get; set; } - - /// - /// The "provisionedPlans" property, of type "microsoft.graph.provisionedPlan". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.provisionedPlan")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.Object[] provisionedPlans { get; set; } - - /// - /// The "proxyAddresses" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] proxyAddresses { get; set; } - - /// - /// The "state" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String state { get; set; } - - /// - /// The "streetAddress" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String streetAddress { get; set; } - - /// - /// The "surname" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String surname { get; set; } - - /// - /// The "usageLocation" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String usageLocation { get; set; } - - /// - /// The "userPrincipalName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String userPrincipalName { get; set; } - - /// - /// The "userType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String userType { get; set; } - - /// - /// The "mailboxSettings" property, of type "microsoft.graph.mailboxSettings". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.mailboxSettings")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object mailboxSettings { get; set; } - - /// - /// The "aboutMe" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String aboutMe { get; set; } - - /// - /// The "birthday" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset birthday { get; set; } - - /// - /// The "hireDate" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.DateTimeOffset hireDate { get; set; } - - /// - /// The "interests" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] interests { get; set; } - - /// - /// The "mySite" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String mySite { get; set; } - - /// - /// The "pastProjects" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] pastProjects { get; set; } - - /// - /// The "preferredName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.String preferredName { get; set; } - - /// - /// The "responsibilities" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] responsibilities { get; set; } - - /// - /// The "schools" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] schools { get; set; } - - /// - /// The "skills" property, of type "Edm.String". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.user")] - public System.String[] skills { get; set; } - - /// - /// The "deviceEnrollmentLimit" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.user" type. - /// The limit on the maximum number of devices that the user is permitted to enroll. Allowed values are 5 or 1000. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Int32 deviceEnrollmentLimit { get; set; } - - /// - /// The "ownedDevices" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] ownedDevices { get; set; } - - /// - /// The "registeredDevices" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] registeredDevices { get; set; } - - /// - /// The "manager" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object manager { get; set; } - - /// - /// The "directReports" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] directReports { get; set; } - - /// - /// The "memberOf" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] memberOf { get; set; } - - /// - /// The "createdObjects" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] createdObjects { get; set; } - - /// - /// The "ownedObjects" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] ownedObjects { get; set; } - - /// - /// The "licenseDetails" property, of type "microsoft.graph.licenseDetails". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.licenseDetails")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] licenseDetails { get; set; } - - /// - /// The "inferenceClassification" property, of type "microsoft.graph.inferenceClassification". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.inferenceClassification")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object inferenceClassification { get; set; } - - /// - /// The "photo" property, of type "microsoft.graph.profilePhoto". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.profilePhoto")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.user")] - public System.Object photo { get; set; } - - /// - /// The "photos" property, of type "microsoft.graph.profilePhoto". - /// This property is on the "microsoft.graph.user" type. - /// - [ODataType("microsoft.graph.profilePhoto")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] photos { get; set; } - - /// - /// The "managedDevices" property, of type "microsoft.graph.managedDevice". - /// This property is on the "microsoft.graph.user" type. - /// The managed devices associated with the user. - /// - [ODataType("microsoft.graph.managedDevice")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] managedDevices { get; set; } - - /// - /// The "managedAppRegistrations" property, of type "microsoft.graph.managedAppRegistration". - /// This property is on the "microsoft.graph.user" type. - /// Zero or more managed app registrations that belong to the user. - /// - [ODataType("microsoft.graph.managedAppRegistration", "microsoft.graph.androidManagedAppRegistration", "microsoft.graph.iosManagedAppRegistration")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] managedAppRegistrations { get; set; } - - /// - /// The "deviceManagementTroubleshootingEvents" property, of type "microsoft.graph.deviceManagementTroubleshootingEvent". - /// This property is on the "microsoft.graph.user" type. - /// The list of troubleshooting events for this user. - /// - [ODataType("microsoft.graph.deviceManagementTroubleshootingEvent", "microsoft.graph.enrollmentTroubleshootingEvent")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.user")] - public System.Object[] deviceManagementTroubleshootingEvents { get; set; } - - /// - /// The "countryLetterCode" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String countryLetterCode { get; set; } - - /// - /// The "marketingNotificationEmails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] marketingNotificationEmails { get; set; } - - /// - /// The "privacyProfile" property, of type "microsoft.graph.privacyProfile". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("microsoft.graph.privacyProfile")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.Object privacyProfile { get; set; } - - /// - /// The "securityComplianceNotificationMails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] securityComplianceNotificationMails { get; set; } - - /// - /// The "securityComplianceNotificationPhones" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] securityComplianceNotificationPhones { get; set; } - - /// - /// The "street" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String street { get; set; } - - /// - /// The "technicalNotificationMails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.organization")] - public System.String[] technicalNotificationMails { get; set; } - - /// - /// The "mobileDeviceManagementAuthority" property, of type "microsoft.graph.mdmAuthority". - /// This property is on the "microsoft.graph.organization" type. - /// Mobile device management authority. - /// - [ODataType("microsoft.graph.mdmAuthority")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.organization")] - public System.String mobileDeviceManagementAuthority { get; set; } - - /// - /// The "contractType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.String contractType { get; set; } - - /// - /// The "customerId" property, of type "Edm.Guid". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.Guid")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.Guid customerId { get; set; } - - /// - /// The "defaultDomainName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.contract" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.contract")] - public System.String defaultDomainName { get; set; } - - /// - /// The "classification" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.String classification { get; set; } - - /// - /// The "createdDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.DateTimeOffset createdDateTime { get; set; } - - /// - /// The "groupTypes" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.group")] - public System.String[] groupTypes { get; set; } - - /// - /// The "mailEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean mailEnabled { get; set; } - - /// - /// The "renewedDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.DateTimeOffset renewedDateTime { get; set; } - - /// - /// The "securityEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean securityEnabled { get; set; } - - /// - /// The "visibility" property, of type "Edm.String". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.String visibility { get; set; } - - /// - /// The "allowExternalSenders" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean allowExternalSenders { get; set; } - - /// - /// The "autoSubscribeNewMembers" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean autoSubscribeNewMembers { get; set; } - - /// - /// The "isSubscribedByMail" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Boolean isSubscribedByMail { get; set; } - - /// - /// The "unseenCount" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Int32 unseenCount { get; set; } - - /// - /// The "members" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] members { get; set; } - - /// - /// The "createdOnBehalfOf" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [Sortable] - [DerivedType("microsoft.graph.group")] - public System.Object createdOnBehalfOf { get; set; } - - /// - /// The "owners" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] owners { get; set; } - - /// - /// The "settings" property, of type "microsoft.graph.groupSetting". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.groupSetting")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] settings { get; set; } - - /// - /// The "groupLifecyclePolicies" property, of type "microsoft.graph.groupLifecyclePolicy". - /// This property is on the "microsoft.graph.group" type. - /// - [ODataType("microsoft.graph.groupLifecyclePolicy")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.group")] - public System.Object[] groupLifecyclePolicies { get; set; } - - /// - /// The "roleTemplateId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.directoryRole" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.directoryRole")] - public System.String roleTemplateId { get; set; } - - /// - /// The "alternativeSecurityIds" property, of type "microsoft.graph.alternativeSecurityId". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.alternativeSecurityId")] - [Selectable] - [DerivedType("microsoft.graph.device")] - public System.Object[] alternativeSecurityIds { get; set; } - - /// - /// The "approximateLastSignInDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.DateTimeOffset approximateLastSignInDateTime { get; set; } - - /// - /// The "deviceId" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String deviceId { get; set; } - - /// - /// The "deviceMetadata" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String deviceMetadata { get; set; } - - /// - /// The "deviceVersion" property, of type "Edm.Int32". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Int32")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Int32 deviceVersion { get; set; } - - /// - /// The "isCompliant" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Boolean isCompliant { get; set; } - - /// - /// The "isManaged" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.Boolean isManaged { get; set; } - - /// - /// The "operatingSystem" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String operatingSystem { get; set; } - - /// - /// The "operatingSystemVersion" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String operatingSystemVersion { get; set; } - - /// - /// The "physicalIds" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [DerivedType("microsoft.graph.device")] - public System.String[] physicalIds { get; set; } - - /// - /// The "trustType" property, of type "Edm.String". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - [DerivedType("microsoft.graph.device")] - public System.String trustType { get; set; } - - /// - /// The "registeredOwners" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] registeredOwners { get; set; } - - /// - /// The "registeredUsers" property, of type "microsoft.graph.directoryObject". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] registeredUsers { get; set; } - - /// - /// The "extensions" property, of type "microsoft.graph.extension". - /// This property is on the "microsoft.graph.device" type. - /// - [ODataType("microsoft.graph.extension", "microsoft.graph.openTypeExtension")] - [Selectable] - [Expandable] - [DerivedType("microsoft.graph.device")] - public System.Object[] extensions { get; set; } - - internal override System.String GetResourcePath() - { - return $"me/registeredDevices/{directoryObjectId ?? string.Empty}/$ref"; - } - } - - /// - /// Creates a reference from a "me" to a "microsoft.graph.directoryObject" object. - /// POST ~/me/registeredDevices/$ref - /// Creates a reference from the specified "me" object to a "registeredDevice". - /// - /// GitHub Repository - [Cmdlet("New", "Me_RegisteredDevicesReferences", ConfirmImpact = ConfirmImpact.Low)] - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [ResourceTypePropertyName("registeredDeviceODataType")] - public class New_Me_RegisteredDevicesReferences : PostReferenceToCollectionCmdlet - { - /// - /// The ID for a "microsoft.graph.directoryObject" object in the "registeredDevices" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - public System.String directoryObjectId { get; set; } - - /// - /// The URL which should be used to access a "microsoft.graph.directoryObject" object. - /// - [Selectable] - [Expandable] - [Alias("deviceReferenceUrl", "directoryRoleReferenceUrl", "directoryRoleTemplateReferenceUrl", "groupReferenceUrl", "contractReferenceUrl", "organizationReferenceUrl", "userReferenceUrl", "groupSettingTemplateReferenceUrl", "administrativeUnitReferenceUrl")] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The URL which should be used to access a "microsoft.graph.directoryObject" object.")] - public System.String directoryObjectReferenceUrl { get; set; } - - internal override System.String GetResourcePath() - { - return $"me/registeredDevices/{directoryObjectId}/$ref"; - } - - internal override System.Object GetContent() - { - return this.GetReferenceRequestContent(directoryObjectReferenceUrl); - } - } - - /// - /// Removes a reference from a "me" to a "microsoft.graph.directoryObject" object. - /// DELETE ~/me/registeredDevices/directoryObjectId/$ref - /// Removes a reference from the specified "me" object to a "registeredDevice". - /// - /// GitHub Repository - [Cmdlet("Remove", "Me_RegisteredDevicesReferences", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.directoryObject", "microsoft.graph.administrativeUnit", "microsoft.graph.groupSettingTemplate", "microsoft.graph.user", "microsoft.graph.organization", "microsoft.graph.contract", "microsoft.graph.group", "microsoft.graph.directoryRoleTemplate", "microsoft.graph.directoryRole", "microsoft.graph.device")] - [ResourceTypePropertyName("registeredDeviceODataType")] - public class Remove_Me_RegisteredDevicesReferences : DeleteCmdlet - { - /// - /// The ID for a "microsoft.graph.directoryObject" object in the "registeredDevices" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.directoryObject" object in the "registeredDevices" collection.")] - public System.String directoryObjectId { get; set; } - - internal override System.String GetResourcePath() - { - return $"me/registeredDevices/{directoryObjectId}/$ref"; - } - } -} \ No newline at end of file diff --git a/PowerShellCmdlets/Generated/SDK/Organization.cs b/PowerShellCmdlets/Generated/SDK/Organization.cs deleted file mode 100644 index 4439a96..0000000 --- a/PowerShellCmdlets/Generated/SDK/Organization.cs +++ /dev/null @@ -1,870 +0,0 @@ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. - -namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets -{ - using System.Management.Automation; - - /// - /// Retrieves "microsoft.graph.organization" objects. - /// GET ~/organization - /// Retrieves "microsoft.graph.organization" objects in the "organization" collection. - /// - /// GitHub Repository - [Cmdlet("Get", "Organization", DefaultParameterSetName = @"Search")] - [ODataType("microsoft.graph.organization")] - [ResourceTypePropertyName("organizationODataType")] - public class Get_Organization : GetOrSearchCmdlet - { - /// - /// The ID for a "microsoft.graph.organization" object in the "organization" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(ParameterSetName = @"Get", Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.organization" object in the "organization" collection.")] - public System.String organizationId { get; set; } - - /// - /// The "businessPhones" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - public System.String[] businessPhones { get; set; } - - /// - /// The "city" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String city { get; set; } - - /// - /// The "country" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String country { get; set; } - - /// - /// The "countryLetterCode" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String countryLetterCode { get; set; } - - /// - /// The "displayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String displayName { get; set; } - - /// - /// The "marketingNotificationEmails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - public System.String[] marketingNotificationEmails { get; set; } - - /// - /// The "onPremisesLastSyncDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - public System.DateTimeOffset onPremisesLastSyncDateTime { get; set; } - - /// - /// The "onPremisesSyncEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Sortable] - public System.Boolean onPremisesSyncEnabled { get; set; } - - /// - /// The "postalCode" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String postalCode { get; set; } - - /// - /// The "preferredLanguage" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String preferredLanguage { get; set; } - - /// - /// The "privacyProfile" property, of type "microsoft.graph.privacyProfile". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("microsoft.graph.privacyProfile")] - [Selectable] - [Sortable] - public System.Object privacyProfile { get; set; } - - /// - /// The "securityComplianceNotificationMails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - public System.String[] securityComplianceNotificationMails { get; set; } - - /// - /// The "securityComplianceNotificationPhones" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - public System.String[] securityComplianceNotificationPhones { get; set; } - - /// - /// The "state" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String state { get; set; } - - /// - /// The "street" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Sortable] - public System.String street { get; set; } - - /// - /// The "technicalNotificationMails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - public System.String[] technicalNotificationMails { get; set; } - - /// - /// The "mobileDeviceManagementAuthority" property, of type "microsoft.graph.mdmAuthority". - /// This property is on the "microsoft.graph.organization" type. - /// Mobile device management authority. - /// - [ODataType("microsoft.graph.mdmAuthority")] - [Selectable] - [Sortable] - public System.String mobileDeviceManagementAuthority { get; set; } - - /// - /// The "deletedDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Sortable] - public System.DateTimeOffset deletedDateTime { get; set; } - - internal override System.String GetResourcePath() - { - return $"organization/{organizationId ?? string.Empty}"; - } - } - - /// - /// Creates a "microsoft.graph.organization" object. - /// POST ~/organization - /// Adds a "microsoft.graph.organization" object to the "organization" collection. - /// - /// GitHub Repository - [Cmdlet("New", "Organization", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.organization")] - [ODataType("microsoft.graph.organization")] - [ResourceTypePropertyName("organizationODataType")] - public class New_Organization : PostCmdlet - { - /// - /// The ID for a "microsoft.graph.organization" object in the "organization" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - public System.String organizationId { get; set; } - - /// - /// The "businessPhones" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.organization", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "businessPhones" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "businessPhones" property, of type "Edm.String".")] - public System.String[] businessPhones { get; set; } - - /// - /// The "city" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.organization", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "city" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "city" property, of type "Edm.String".")] - public System.String city { get; set; } - - /// - /// The "country" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.organization", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "country" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "country" property, of type "Edm.String".")] - public System.String country { get; set; } - - /// - /// The "countryLetterCode" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.organization", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "countryLetterCode" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "countryLetterCode" property, of type "Edm.String".")] - public System.String countryLetterCode { get; set; } - - /// - /// The "displayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.organization", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "displayName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "displayName" property, of type "Edm.String".")] - public System.String displayName { get; set; } - - /// - /// The "marketingNotificationEmails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.organization", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "marketingNotificationEmails" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "marketingNotificationEmails" property, of type "Edm.String".")] - public System.String[] marketingNotificationEmails { get; set; } - - /// - /// The "onPremisesLastSyncDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.organization", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "onPremisesLastSyncDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "onPremisesLastSyncDateTime" property, of type "Edm.DateTimeOffset".")] - public System.DateTimeOffset onPremisesLastSyncDateTime { get; set; } - - /// - /// The "onPremisesSyncEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.organization", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "onPremisesSyncEnabled" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "onPremisesSyncEnabled" property, of type "Edm.Boolean".")] - public System.Boolean onPremisesSyncEnabled { get; set; } - - /// - /// The "postalCode" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.organization", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "postalCode" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "postalCode" property, of type "Edm.String".")] - public System.String postalCode { get; set; } - - /// - /// The "preferredLanguage" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.organization", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "preferredLanguage" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "preferredLanguage" property, of type "Edm.String".")] - public System.String preferredLanguage { get; set; } - - /// - /// The "privacyProfile" property, of type "microsoft.graph.privacyProfile". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("microsoft.graph.privacyProfile")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.organization", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "privacyProfile" property, of type "microsoft.graph.privacyProfile".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "privacyProfile" property, of type "microsoft.graph.privacyProfile".")] - public System.Object privacyProfile { get; set; } - - /// - /// The "securityComplianceNotificationMails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.organization", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "securityComplianceNotificationMails" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "securityComplianceNotificationMails" property, of type "Edm.String".")] - public System.String[] securityComplianceNotificationMails { get; set; } - - /// - /// The "securityComplianceNotificationPhones" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.organization", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "securityComplianceNotificationPhones" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "securityComplianceNotificationPhones" property, of type "Edm.String".")] - public System.String[] securityComplianceNotificationPhones { get; set; } - - /// - /// The "state" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.organization", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "state" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "state" property, of type "Edm.String".")] - public System.String state { get; set; } - - /// - /// The "street" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.organization", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "street" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "street" property, of type "Edm.String".")] - public System.String street { get; set; } - - /// - /// The "technicalNotificationMails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.organization", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "technicalNotificationMails" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "technicalNotificationMails" property, of type "Edm.String".")] - public System.String[] technicalNotificationMails { get; set; } - - /// - /// The "mobileDeviceManagementAuthority" property, of type "microsoft.graph.mdmAuthority". - /// This property is on the "microsoft.graph.organization" type. - /// Mobile device management authority. - /// - /// Valid values: 'unknown', 'intune', 'sccm', 'office365' - /// - /// - [ODataType("microsoft.graph.mdmAuthority")] - [Selectable] - [ValidateSet(@"unknown", @"intune", @"sccm", @"office365")] - [Parameter(ParameterSetName = @"microsoft.graph.organization", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "mobileDeviceManagementAuthority" property, of type "microsoft.graph.mdmAuthority".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "mobileDeviceManagementAuthority" property, of type "microsoft.graph.mdmAuthority".")] - public System.String mobileDeviceManagementAuthority { get; set; } - - /// - /// The "deletedDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.organization", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "deletedDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", ValueFromPipelineByPropertyName = true, HelpMessage = @"The "deletedDateTime" property, of type "Edm.DateTimeOffset".")] - public System.DateTimeOffset deletedDateTime { get; set; } - - internal override System.String GetResourcePath() - { - return $"organization/{organizationId}"; - } - } - - /// - /// Updates a "microsoft.graph.organization". - /// PATCH ~/organization - /// Updates a "microsoft.graph.organization" object in the "organization" collection. - /// - /// GitHub Repository - [Cmdlet("Update", "Organization", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.organization")] - [ODataType("microsoft.graph.organization")] - [ResourceTypePropertyName("organizationODataType")] - public class Update_Organization : PatchCmdlet - { - /// - /// The ID for a "microsoft.graph.organization" object in the "organization" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.organization" object in the "organization" collection.")] - public System.String organizationId { get; set; } - - /// - /// The "businessPhones" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.organization", HelpMessage = @"The "businessPhones" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "businessPhones" property, of type "Edm.String".")] - public System.String[] businessPhones { get; set; } - - /// - /// The "city" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.organization", HelpMessage = @"The "city" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "city" property, of type "Edm.String".")] - public System.String city { get; set; } - - /// - /// The "country" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.organization", HelpMessage = @"The "country" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "country" property, of type "Edm.String".")] - public System.String country { get; set; } - - /// - /// The "countryLetterCode" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.organization", HelpMessage = @"The "countryLetterCode" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "countryLetterCode" property, of type "Edm.String".")] - public System.String countryLetterCode { get; set; } - - /// - /// The "displayName" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.organization", HelpMessage = @"The "displayName" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "displayName" property, of type "Edm.String".")] - public System.String displayName { get; set; } - - /// - /// The "marketingNotificationEmails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.organization", HelpMessage = @"The "marketingNotificationEmails" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "marketingNotificationEmails" property, of type "Edm.String".")] - public System.String[] marketingNotificationEmails { get; set; } - - /// - /// The "onPremisesLastSyncDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.organization", HelpMessage = @"The "onPremisesLastSyncDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "onPremisesLastSyncDateTime" property, of type "Edm.DateTimeOffset".")] - public System.DateTimeOffset onPremisesLastSyncDateTime { get; set; } - - /// - /// The "onPremisesSyncEnabled" property, of type "Edm.Boolean". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.organization", HelpMessage = @"The "onPremisesSyncEnabled" property, of type "Edm.Boolean".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "onPremisesSyncEnabled" property, of type "Edm.Boolean".")] - public System.Boolean onPremisesSyncEnabled { get; set; } - - /// - /// The "postalCode" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.organization", HelpMessage = @"The "postalCode" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "postalCode" property, of type "Edm.String".")] - public System.String postalCode { get; set; } - - /// - /// The "preferredLanguage" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.organization", HelpMessage = @"The "preferredLanguage" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "preferredLanguage" property, of type "Edm.String".")] - public System.String preferredLanguage { get; set; } - - /// - /// The "privacyProfile" property, of type "microsoft.graph.privacyProfile". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("microsoft.graph.privacyProfile")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.organization", HelpMessage = @"The "privacyProfile" property, of type "microsoft.graph.privacyProfile".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "privacyProfile" property, of type "microsoft.graph.privacyProfile".")] - public System.Object privacyProfile { get; set; } - - /// - /// The "securityComplianceNotificationMails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.organization", HelpMessage = @"The "securityComplianceNotificationMails" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "securityComplianceNotificationMails" property, of type "Edm.String".")] - public System.String[] securityComplianceNotificationMails { get; set; } - - /// - /// The "securityComplianceNotificationPhones" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.organization", HelpMessage = @"The "securityComplianceNotificationPhones" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "securityComplianceNotificationPhones" property, of type "Edm.String".")] - public System.String[] securityComplianceNotificationPhones { get; set; } - - /// - /// The "state" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.organization", HelpMessage = @"The "state" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "state" property, of type "Edm.String".")] - public System.String state { get; set; } - - /// - /// The "street" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.organization", HelpMessage = @"The "street" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "street" property, of type "Edm.String".")] - public System.String street { get; set; } - - /// - /// The "technicalNotificationMails" property, of type "Edm.String". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.String")] - [Selectable] - [AllowEmptyCollection] - [Parameter(ParameterSetName = @"microsoft.graph.organization", HelpMessage = @"The "technicalNotificationMails" property, of type "Edm.String".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "technicalNotificationMails" property, of type "Edm.String".")] - public System.String[] technicalNotificationMails { get; set; } - - /// - /// The "mobileDeviceManagementAuthority" property, of type "microsoft.graph.mdmAuthority". - /// This property is on the "microsoft.graph.organization" type. - /// Mobile device management authority. - /// - /// Valid values: 'unknown', 'intune', 'sccm', 'office365' - /// - /// - [ODataType("microsoft.graph.mdmAuthority")] - [Selectable] - [ValidateSet(@"unknown", @"intune", @"sccm", @"office365")] - [Parameter(ParameterSetName = @"microsoft.graph.organization", HelpMessage = @"The "mobileDeviceManagementAuthority" property, of type "microsoft.graph.mdmAuthority".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "mobileDeviceManagementAuthority" property, of type "microsoft.graph.mdmAuthority".")] - public System.String mobileDeviceManagementAuthority { get; set; } - - /// - /// The "deletedDateTime" property, of type "Edm.DateTimeOffset". - /// This property is on the "microsoft.graph.organization" type. - /// - [ODataType("Edm.DateTimeOffset")] - [Selectable] - [Parameter(ParameterSetName = @"microsoft.graph.organization", HelpMessage = @"The "deletedDateTime" property, of type "Edm.DateTimeOffset".")] - [Parameter(ParameterSetName = @"ManualTypeSelection", HelpMessage = @"The "deletedDateTime" property, of type "Edm.DateTimeOffset".")] - public System.DateTimeOffset deletedDateTime { get; set; } - - internal override System.String GetResourcePath() - { - return $"organization/{organizationId}"; - } - } - - /// - /// Removes a "microsoft.graph.organization" object. - /// DELETE ~/organization/organizationId - /// Removes a "microsoft.graph.organization" object from the "organization" collection. - /// - /// GitHub Repository - [Cmdlet("Remove", "Organization", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.organization")] - [ResourceTypePropertyName("organizationODataType")] - public class Remove_Organization : DeleteCmdlet - { - /// - /// The ID for a "microsoft.graph.organization" object in the "organization" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.organization" object in the "organization" collection.")] - public System.String organizationId { get; set; } - - internal override System.String GetResourcePath() - { - return $"organization/{organizationId}"; - } - } - - /// - /// POST ~/organization/setMobileDeviceManagementAuthority - /// The action "microsoft.graph.setMobileDeviceManagementAuthority", which exists on the type "microsoft.graph.organization". - /// This action returns a "Edm.Int32" object. - /// - /// GitHub Repository - [Cmdlet("Invoke", "Organization_SetMobileDeviceManagementAuthority", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.organization")] - [ResourceTypePropertyName("organizationODataType")] - public class Invoke_Organization_SetMobileDeviceManagementAuthority : ActionCmdlet - { - /// - /// The ID for a "microsoft.graph.organization" object in the "organization" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.organization" object in the "organization" collection.")] - public System.String organizationId { get; set; } - - internal override System.String GetResourcePath() - { - return $"organization/{organizationId}/setMobileDeviceManagementAuthority"; - } - } - - /// - /// POST ~/organization/getByIds - /// The action "microsoft.graph.getByIds", which exists on the type "microsoft.graph.organization". - /// This action returns a collection of "microsoft.graph.directoryObject" objects. - /// - /// GitHub Repository - [Cmdlet("Invoke", "Organization_GetByIds", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.organization")] - [ResourceTypePropertyName("organizationODataType")] - public class Invoke_Organization_GetByIds : ActionCmdlet - { - /// - /// The "ids" action parameter of type "Edm.String". - /// - [ODataType("Edm.String")] - [Selectable] - [Expandable] - [ValidateNotNull] - [AllowEmptyCollection] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "ids" action parameter of type "Edm.String".")] - public System.String[] ids { get; set; } - - /// - /// The "types" action parameter of type "Edm.String". - /// - [ODataType("Edm.String")] - [Selectable] - [Expandable] - [AllowEmptyCollection] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "types" action parameter of type "Edm.String".")] - public System.String[] types { get; set; } - - /// - /// The ID for a "microsoft.graph.organization" object in the "organization" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - public System.String organizationId { get; set; } - - internal override System.String GetResourcePath() - { - return $"organization/{organizationId}/getByIds"; - } - } - - /// - /// POST ~/organization/checkMemberGroups - /// The action "microsoft.graph.checkMemberGroups", which exists on the type "microsoft.graph.organization". - /// This action returns a collection of "Edm.String" objects. - /// - /// GitHub Repository - [Cmdlet("Invoke", "Organization_CheckMemberGroups", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.organization")] - [ResourceTypePropertyName("organizationODataType")] - public class Invoke_Organization_CheckMemberGroups : ActionCmdlet - { - /// - /// The "groupIds" action parameter of type "Edm.String". - /// - [ODataType("Edm.String")] - [Selectable] - [Expandable] - [ValidateNotNull] - [AllowEmptyCollection] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "groupIds" action parameter of type "Edm.String".")] - public System.String[] groupIds { get; set; } - - /// - /// The ID for a "microsoft.graph.organization" object in the "organization" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.organization" object in the "organization" collection.")] - public System.String organizationId { get; set; } - - internal override System.String GetResourcePath() - { - return $"organization/{organizationId}/checkMemberGroups"; - } - } - - /// - /// POST ~/organization/getMemberGroups - /// The action "microsoft.graph.getMemberGroups", which exists on the type "microsoft.graph.organization". - /// This action returns a collection of "Edm.String" objects. - /// - /// GitHub Repository - [Cmdlet("Invoke", "Organization_GetMemberGroups", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.organization")] - [ResourceTypePropertyName("organizationODataType")] - public class Invoke_Organization_GetMemberGroups : ActionCmdlet - { - /// - /// The "securityEnabledOnly" action parameter of type "Edm.Boolean". - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Expandable] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "securityEnabledOnly" action parameter of type "Edm.Boolean".")] - public System.Boolean securityEnabledOnly { get; set; } - - /// - /// The ID for a "microsoft.graph.organization" object in the "organization" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.organization" object in the "organization" collection.")] - public System.String organizationId { get; set; } - - internal override System.String GetResourcePath() - { - return $"organization/{organizationId}/getMemberGroups"; - } - } - - /// - /// POST ~/organization/getMemberObjects - /// The action "microsoft.graph.getMemberObjects", which exists on the type "microsoft.graph.organization". - /// This action returns a collection of "Edm.String" objects. - /// - /// GitHub Repository - [Cmdlet("Invoke", "Organization_GetMemberObjects", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.organization")] - [ResourceTypePropertyName("organizationODataType")] - public class Invoke_Organization_GetMemberObjects : ActionCmdlet - { - /// - /// The "securityEnabledOnly" action parameter of type "Edm.Boolean". - /// - [ODataType("Edm.Boolean")] - [Selectable] - [Expandable] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "securityEnabledOnly" action parameter of type "Edm.Boolean".")] - public System.Boolean securityEnabledOnly { get; set; } - - /// - /// The ID for a "microsoft.graph.organization" object in the "organization" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.organization" object in the "organization" collection.")] - public System.String organizationId { get; set; } - - internal override System.String GetResourcePath() - { - return $"organization/{organizationId}/getMemberObjects"; - } - } - - /// - /// POST ~/organization/restore - /// The action "microsoft.graph.restore", which exists on the type "microsoft.graph.organization". - /// This action returns a "microsoft.graph.directoryObject" object. - /// - /// GitHub Repository - [Cmdlet("Invoke", "Organization_Restore", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.organization")] - [ResourceTypePropertyName("organizationODataType")] - public class Invoke_Organization_Restore : ActionCmdlet - { - /// - /// The ID for a "microsoft.graph.organization" object in the "organization" collection. - /// - [Selectable] - [Expandable] - [IdParameter] - [ResourceIdParameter] - [ValidateNotNullOrEmpty] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The ID for a "microsoft.graph.organization" object in the "organization" collection.")] - public System.String organizationId { get; set; } - - internal override System.String GetResourcePath() - { - return $"organization/{organizationId}/restore"; - } - } -} \ No newline at end of file diff --git a/PowerShellCmdlets/Generated/SDK/Reports.cs b/PowerShellCmdlets/Generated/SDK/Reports.cs deleted file mode 100644 index 4bade47..0000000 --- a/PowerShellCmdlets/Generated/SDK/Reports.cs +++ /dev/null @@ -1,2143 +0,0 @@ -// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. - -namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets -{ - using System.Management.Automation; - - /// - /// Retrieves the "reports" object. - /// GET ~/reports - /// Retrieves the "reports" object (which is of type "microsoft.graph.reportRoot"). - /// - /// GitHub Repository - [Cmdlet("Get", "Reports", DefaultParameterSetName = @"Get")] - [ODataType("microsoft.graph.reportRoot")] - [ResourceTypePropertyName("reportODataType")] - public class Get_Reports : GetCmdlet - { - internal override System.String GetResourcePath() - { - return $"reports"; - } - } - - /// - /// Creates a "microsoft.graph.reportRoot" object. - /// POST ~/reports - /// Creates the "reports" object (which is of type "microsoft.graph.reportRoot"). - /// - /// GitHub Repository - [Cmdlet("New", "Reports", ConfirmImpact = ConfirmImpact.Low, DefaultParameterSetName = @"microsoft.graph.reportRoot")] - [ODataType("microsoft.graph.reportRoot")] - [ResourceTypePropertyName("reportODataType")] - public class New_Reports : PostCmdlet - { - internal override System.String GetResourcePath() - { - return $"reports"; - } - } - - /// - /// Updates a "microsoft.graph.reportRoot". - /// PATCH ~/reports - /// Updates the "reports" object (which is of type "microsoft.graph.reportRoot"). - /// - /// GitHub Repository - [Cmdlet("Update", "Reports", ConfirmImpact = ConfirmImpact.Medium, DefaultParameterSetName = @"microsoft.graph.reportRoot")] - [ODataType("microsoft.graph.reportRoot")] - [ResourceTypePropertyName("reportODataType")] - public class Update_Reports : PatchCmdlet - { - internal override System.String GetResourcePath() - { - return $"reports"; - } - } - - /// - /// Removes a "microsoft.graph.reportRoot" object. - /// DELETE ~/reports - /// Removes the "reports" object (which is of type "microsoft.graph.reportRoot"). - /// - /// GitHub Repository - [Cmdlet("Remove", "Reports", ConfirmImpact = ConfirmImpact.High)] - [ODataType("microsoft.graph.reportRoot")] - [ResourceTypePropertyName("reportODataType")] - public class Remove_Reports : DeleteCmdlet - { - internal override System.String GetResourcePath() - { - return $"reports"; - } - } - - /// - /// GET ~/reports/getOffice365ActivationsUserDetail - /// The function "microsoft.graph.getOffice365ActivationsUserDetail", which exists on the type "microsoft.graph.reportRoot". - /// This function returns a "microsoft.graph.report" object. - /// - /// GitHub Repository - [Cmdlet("Invoke", "Reports_GetOffice365ActivationsUserDetail", DefaultParameterSetName = @"Get")] - [ODataType("microsoft.graph.reportRoot")] - [ResourceTypePropertyName("reportODataType")] - public class Invoke_Reports_GetOffice365ActivationsUserDetail : FunctionReturningEntityCmdlet - { - internal override System.String GetResourcePath() - { - return $"reports/getOffice365ActivationsUserDetail({this.GetFunctionUrlSegment()})"; - } - } - - /// - /// GET ~/reports/getOffice365ActivationCounts - /// The function "microsoft.graph.getOffice365ActivationCounts", which exists on the type "microsoft.graph.reportRoot". - /// This function returns a "microsoft.graph.report" object. - /// - /// GitHub Repository - [Cmdlet("Invoke", "Reports_GetOffice365ActivationCounts", DefaultParameterSetName = @"Get")] - [ODataType("microsoft.graph.reportRoot")] - [ResourceTypePropertyName("reportODataType")] - public class Invoke_Reports_GetOffice365ActivationCounts : FunctionReturningEntityCmdlet - { - internal override System.String GetResourcePath() - { - return $"reports/getOffice365ActivationCounts({this.GetFunctionUrlSegment()})"; - } - } - - /// - /// GET ~/reports/getOffice365ActivationsUserCounts - /// The function "microsoft.graph.getOffice365ActivationsUserCounts", which exists on the type "microsoft.graph.reportRoot". - /// This function returns a "microsoft.graph.report" object. - /// - /// GitHub Repository - [Cmdlet("Invoke", "Reports_GetOffice365ActivationsUserCounts", DefaultParameterSetName = @"Get")] - [ODataType("microsoft.graph.reportRoot")] - [ResourceTypePropertyName("reportODataType")] - public class Invoke_Reports_GetOffice365ActivationsUserCounts : FunctionReturningEntityCmdlet - { - internal override System.String GetResourcePath() - { - return $"reports/getOffice365ActivationsUserCounts({this.GetFunctionUrlSegment()})"; - } - } - - /// - /// GET ~/reports/getOffice365ActiveUserDetail - /// The function "microsoft.graph.getOffice365ActiveUserDetail", which exists on the type "microsoft.graph.reportRoot". - /// This function returns a "microsoft.graph.report" object. - /// - /// GitHub Repository - [Cmdlet("Invoke", "Reports_GetOffice365ActiveUserDetail", DefaultParameterSetName = @"Overload_1")] - [ODataType("microsoft.graph.reportRoot")] - [ResourceTypePropertyName("reportODataType")] - public class Invoke_Reports_GetOffice365ActiveUserDetail : FunctionReturningEntityCmdlet - { - /// - /// The "date" function parameter of type "Edm.Date". - /// - [ODataType("Edm.Date")] - [Selectable] - [Expandable] - [ValidateNotNull] - [Parameter(ParameterSetName = @"Overload_1", Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "date" function parameter of type "Edm.Date".")] - public System.DateTimeOffset date { get; set; } - - /// - /// The "period" function parameter of type "Edm.String". - /// - [ODataType("Edm.String")] - [Selectable] - [Expandable] - [ValidateNotNull] - [Parameter(ParameterSetName = @"Overload_2", Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "period" function parameter of type "Edm.String".")] - public System.String period { get; set; } - - internal override System.String GetResourcePath() - { - return $"reports/getOffice365ActiveUserDetail({this.GetFunctionUrlSegment()})"; - } - } - - /// - /// GET ~/reports/getOffice365ServicesUserCounts - /// The function "microsoft.graph.getOffice365ServicesUserCounts", which exists on the type "microsoft.graph.reportRoot". - /// This function returns a "microsoft.graph.report" object. - /// - /// GitHub Repository - [Cmdlet("Invoke", "Reports_GetOffice365ServicesUserCounts", DefaultParameterSetName = @"Get")] - [ODataType("microsoft.graph.reportRoot")] - [ResourceTypePropertyName("reportODataType")] - public class Invoke_Reports_GetOffice365ServicesUserCounts : FunctionReturningEntityCmdlet - { - /// - /// The "period" function parameter of type "Edm.String". - /// - [ODataType("Edm.String")] - [Selectable] - [Expandable] - [ValidateNotNull] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "period" function parameter of type "Edm.String".")] - public System.String period { get; set; } - - internal override System.String GetResourcePath() - { - return $"reports/getOffice365ServicesUserCounts({this.GetFunctionUrlSegment()})"; - } - } - - /// - /// GET ~/reports/getOffice365ActiveUserCounts - /// The function "microsoft.graph.getOffice365ActiveUserCounts", which exists on the type "microsoft.graph.reportRoot". - /// This function returns a "microsoft.graph.report" object. - /// - /// GitHub Repository - [Cmdlet("Invoke", "Reports_GetOffice365ActiveUserCounts", DefaultParameterSetName = @"Get")] - [ODataType("microsoft.graph.reportRoot")] - [ResourceTypePropertyName("reportODataType")] - public class Invoke_Reports_GetOffice365ActiveUserCounts : FunctionReturningEntityCmdlet - { - /// - /// The "period" function parameter of type "Edm.String". - /// - [ODataType("Edm.String")] - [Selectable] - [Expandable] - [ValidateNotNull] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "period" function parameter of type "Edm.String".")] - public System.String period { get; set; } - - internal override System.String GetResourcePath() - { - return $"reports/getOffice365ActiveUserCounts({this.GetFunctionUrlSegment()})"; - } - } - - /// - /// GET ~/reports/getOffice365GroupsActivityDetail - /// The function "microsoft.graph.getOffice365GroupsActivityDetail", which exists on the type "microsoft.graph.reportRoot". - /// This function returns a "microsoft.graph.report" object. - /// - /// GitHub Repository - [Cmdlet("Invoke", "Reports_GetOffice365GroupsActivityDetail", DefaultParameterSetName = @"Overload_1")] - [ODataType("microsoft.graph.reportRoot")] - [ResourceTypePropertyName("reportODataType")] - public class Invoke_Reports_GetOffice365GroupsActivityDetail : FunctionReturningEntityCmdlet - { - /// - /// The "date" function parameter of type "Edm.Date". - /// - [ODataType("Edm.Date")] - [Selectable] - [Expandable] - [ValidateNotNull] - [Parameter(ParameterSetName = @"Overload_1", Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "date" function parameter of type "Edm.Date".")] - public System.DateTimeOffset date { get; set; } - - /// - /// The "period" function parameter of type "Edm.String". - /// - [ODataType("Edm.String")] - [Selectable] - [Expandable] - [ValidateNotNull] - [Parameter(ParameterSetName = @"Overload_2", Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "period" function parameter of type "Edm.String".")] - public System.String period { get; set; } - - internal override System.String GetResourcePath() - { - return $"reports/getOffice365GroupsActivityDetail({this.GetFunctionUrlSegment()})"; - } - } - - /// - /// GET ~/reports/getOffice365GroupsActivityCounts - /// The function "microsoft.graph.getOffice365GroupsActivityCounts", which exists on the type "microsoft.graph.reportRoot". - /// This function returns a "microsoft.graph.report" object. - /// - /// GitHub Repository - [Cmdlet("Invoke", "Reports_GetOffice365GroupsActivityCounts", DefaultParameterSetName = @"Get")] - [ODataType("microsoft.graph.reportRoot")] - [ResourceTypePropertyName("reportODataType")] - public class Invoke_Reports_GetOffice365GroupsActivityCounts : FunctionReturningEntityCmdlet - { - /// - /// The "period" function parameter of type "Edm.String". - /// - [ODataType("Edm.String")] - [Selectable] - [Expandable] - [ValidateNotNull] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "period" function parameter of type "Edm.String".")] - public System.String period { get; set; } - - internal override System.String GetResourcePath() - { - return $"reports/getOffice365GroupsActivityCounts({this.GetFunctionUrlSegment()})"; - } - } - - /// - /// GET ~/reports/getOffice365GroupsActivityGroupCounts - /// The function "microsoft.graph.getOffice365GroupsActivityGroupCounts", which exists on the type "microsoft.graph.reportRoot". - /// This function returns a "microsoft.graph.report" object. - /// - /// GitHub Repository - [Cmdlet("Invoke", "Reports_GetOffice365GroupsActivityGroupCounts", DefaultParameterSetName = @"Get")] - [ODataType("microsoft.graph.reportRoot")] - [ResourceTypePropertyName("reportODataType")] - public class Invoke_Reports_GetOffice365GroupsActivityGroupCounts : FunctionReturningEntityCmdlet - { - /// - /// The "period" function parameter of type "Edm.String". - /// - [ODataType("Edm.String")] - [Selectable] - [Expandable] - [ValidateNotNull] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "period" function parameter of type "Edm.String".")] - public System.String period { get; set; } - - internal override System.String GetResourcePath() - { - return $"reports/getOffice365GroupsActivityGroupCounts({this.GetFunctionUrlSegment()})"; - } - } - - /// - /// GET ~/reports/getOffice365GroupsActivityStorage - /// The function "microsoft.graph.getOffice365GroupsActivityStorage", which exists on the type "microsoft.graph.reportRoot". - /// This function returns a "microsoft.graph.report" object. - /// - /// GitHub Repository - [Cmdlet("Invoke", "Reports_GetOffice365GroupsActivityStorage", DefaultParameterSetName = @"Get")] - [ODataType("microsoft.graph.reportRoot")] - [ResourceTypePropertyName("reportODataType")] - public class Invoke_Reports_GetOffice365GroupsActivityStorage : FunctionReturningEntityCmdlet - { - /// - /// The "period" function parameter of type "Edm.String". - /// - [ODataType("Edm.String")] - [Selectable] - [Expandable] - [ValidateNotNull] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "period" function parameter of type "Edm.String".")] - public System.String period { get; set; } - - internal override System.String GetResourcePath() - { - return $"reports/getOffice365GroupsActivityStorage({this.GetFunctionUrlSegment()})"; - } - } - - /// - /// GET ~/reports/getOffice365GroupsActivityFileCounts - /// The function "microsoft.graph.getOffice365GroupsActivityFileCounts", which exists on the type "microsoft.graph.reportRoot". - /// This function returns a "microsoft.graph.report" object. - /// - /// GitHub Repository - [Cmdlet("Invoke", "Reports_GetOffice365GroupsActivityFileCounts", DefaultParameterSetName = @"Get")] - [ODataType("microsoft.graph.reportRoot")] - [ResourceTypePropertyName("reportODataType")] - public class Invoke_Reports_GetOffice365GroupsActivityFileCounts : FunctionReturningEntityCmdlet - { - /// - /// The "period" function parameter of type "Edm.String". - /// - [ODataType("Edm.String")] - [Selectable] - [Expandable] - [ValidateNotNull] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "period" function parameter of type "Edm.String".")] - public System.String period { get; set; } - - internal override System.String GetResourcePath() - { - return $"reports/getOffice365GroupsActivityFileCounts({this.GetFunctionUrlSegment()})"; - } - } - - /// - /// GET ~/reports/getEmailActivityUserDetail - /// The function "microsoft.graph.getEmailActivityUserDetail", which exists on the type "microsoft.graph.reportRoot". - /// This function returns a "microsoft.graph.report" object. - /// - /// GitHub Repository - [Cmdlet("Invoke", "Reports_GetEmailActivityUserDetail", DefaultParameterSetName = @"Overload_1")] - [ODataType("microsoft.graph.reportRoot")] - [ResourceTypePropertyName("reportODataType")] - public class Invoke_Reports_GetEmailActivityUserDetail : FunctionReturningEntityCmdlet - { - /// - /// The "date" function parameter of type "Edm.Date". - /// - [ODataType("Edm.Date")] - [Selectable] - [Expandable] - [ValidateNotNull] - [Parameter(ParameterSetName = @"Overload_1", Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "date" function parameter of type "Edm.Date".")] - public System.DateTimeOffset date { get; set; } - - /// - /// The "period" function parameter of type "Edm.String". - /// - [ODataType("Edm.String")] - [Selectable] - [Expandable] - [ValidateNotNull] - [Parameter(ParameterSetName = @"Overload_2", Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "period" function parameter of type "Edm.String".")] - public System.String period { get; set; } - - internal override System.String GetResourcePath() - { - return $"reports/getEmailActivityUserDetail({this.GetFunctionUrlSegment()})"; - } - } - - /// - /// GET ~/reports/getEmailActivityCounts - /// The function "microsoft.graph.getEmailActivityCounts", which exists on the type "microsoft.graph.reportRoot". - /// This function returns a "microsoft.graph.report" object. - /// - /// GitHub Repository - [Cmdlet("Invoke", "Reports_GetEmailActivityCounts", DefaultParameterSetName = @"Get")] - [ODataType("microsoft.graph.reportRoot")] - [ResourceTypePropertyName("reportODataType")] - public class Invoke_Reports_GetEmailActivityCounts : FunctionReturningEntityCmdlet - { - /// - /// The "period" function parameter of type "Edm.String". - /// - [ODataType("Edm.String")] - [Selectable] - [Expandable] - [ValidateNotNull] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "period" function parameter of type "Edm.String".")] - public System.String period { get; set; } - - internal override System.String GetResourcePath() - { - return $"reports/getEmailActivityCounts({this.GetFunctionUrlSegment()})"; - } - } - - /// - /// GET ~/reports/getEmailActivityUserCounts - /// The function "microsoft.graph.getEmailActivityUserCounts", which exists on the type "microsoft.graph.reportRoot". - /// This function returns a "microsoft.graph.report" object. - /// - /// GitHub Repository - [Cmdlet("Invoke", "Reports_GetEmailActivityUserCounts", DefaultParameterSetName = @"Get")] - [ODataType("microsoft.graph.reportRoot")] - [ResourceTypePropertyName("reportODataType")] - public class Invoke_Reports_GetEmailActivityUserCounts : FunctionReturningEntityCmdlet - { - /// - /// The "period" function parameter of type "Edm.String". - /// - [ODataType("Edm.String")] - [Selectable] - [Expandable] - [ValidateNotNull] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "period" function parameter of type "Edm.String".")] - public System.String period { get; set; } - - internal override System.String GetResourcePath() - { - return $"reports/getEmailActivityUserCounts({this.GetFunctionUrlSegment()})"; - } - } - - /// - /// GET ~/reports/getEmailAppUsageUserDetail - /// The function "microsoft.graph.getEmailAppUsageUserDetail", which exists on the type "microsoft.graph.reportRoot". - /// This function returns a "microsoft.graph.report" object. - /// - /// GitHub Repository - [Cmdlet("Invoke", "Reports_GetEmailAppUsageUserDetail", DefaultParameterSetName = @"Overload_1")] - [ODataType("microsoft.graph.reportRoot")] - [ResourceTypePropertyName("reportODataType")] - public class Invoke_Reports_GetEmailAppUsageUserDetail : FunctionReturningEntityCmdlet - { - /// - /// The "date" function parameter of type "Edm.Date". - /// - [ODataType("Edm.Date")] - [Selectable] - [Expandable] - [ValidateNotNull] - [Parameter(ParameterSetName = @"Overload_1", Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "date" function parameter of type "Edm.Date".")] - public System.DateTimeOffset date { get; set; } - - /// - /// The "period" function parameter of type "Edm.String". - /// - [ODataType("Edm.String")] - [Selectable] - [Expandable] - [ValidateNotNull] - [Parameter(ParameterSetName = @"Overload_2", Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "period" function parameter of type "Edm.String".")] - public System.String period { get; set; } - - internal override System.String GetResourcePath() - { - return $"reports/getEmailAppUsageUserDetail({this.GetFunctionUrlSegment()})"; - } - } - - /// - /// GET ~/reports/getEmailAppUsageAppsUserCounts - /// The function "microsoft.graph.getEmailAppUsageAppsUserCounts", which exists on the type "microsoft.graph.reportRoot". - /// This function returns a "microsoft.graph.report" object. - /// - /// GitHub Repository - [Cmdlet("Invoke", "Reports_GetEmailAppUsageAppsUserCounts", DefaultParameterSetName = @"Get")] - [ODataType("microsoft.graph.reportRoot")] - [ResourceTypePropertyName("reportODataType")] - public class Invoke_Reports_GetEmailAppUsageAppsUserCounts : FunctionReturningEntityCmdlet - { - /// - /// The "period" function parameter of type "Edm.String". - /// - [ODataType("Edm.String")] - [Selectable] - [Expandable] - [ValidateNotNull] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "period" function parameter of type "Edm.String".")] - public System.String period { get; set; } - - internal override System.String GetResourcePath() - { - return $"reports/getEmailAppUsageAppsUserCounts({this.GetFunctionUrlSegment()})"; - } - } - - /// - /// GET ~/reports/getEmailAppUsageUserCounts - /// The function "microsoft.graph.getEmailAppUsageUserCounts", which exists on the type "microsoft.graph.reportRoot". - /// This function returns a "microsoft.graph.report" object. - /// - /// GitHub Repository - [Cmdlet("Invoke", "Reports_GetEmailAppUsageUserCounts", DefaultParameterSetName = @"Get")] - [ODataType("microsoft.graph.reportRoot")] - [ResourceTypePropertyName("reportODataType")] - public class Invoke_Reports_GetEmailAppUsageUserCounts : FunctionReturningEntityCmdlet - { - /// - /// The "period" function parameter of type "Edm.String". - /// - [ODataType("Edm.String")] - [Selectable] - [Expandable] - [ValidateNotNull] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "period" function parameter of type "Edm.String".")] - public System.String period { get; set; } - - internal override System.String GetResourcePath() - { - return $"reports/getEmailAppUsageUserCounts({this.GetFunctionUrlSegment()})"; - } - } - - /// - /// GET ~/reports/getEmailAppUsageVersionsUserCounts - /// The function "microsoft.graph.getEmailAppUsageVersionsUserCounts", which exists on the type "microsoft.graph.reportRoot". - /// This function returns a "microsoft.graph.report" object. - /// - /// GitHub Repository - [Cmdlet("Invoke", "Reports_GetEmailAppUsageVersionsUserCounts", DefaultParameterSetName = @"Get")] - [ODataType("microsoft.graph.reportRoot")] - [ResourceTypePropertyName("reportODataType")] - public class Invoke_Reports_GetEmailAppUsageVersionsUserCounts : FunctionReturningEntityCmdlet - { - /// - /// The "period" function parameter of type "Edm.String". - /// - [ODataType("Edm.String")] - [Selectable] - [Expandable] - [ValidateNotNull] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "period" function parameter of type "Edm.String".")] - public System.String period { get; set; } - - internal override System.String GetResourcePath() - { - return $"reports/getEmailAppUsageVersionsUserCounts({this.GetFunctionUrlSegment()})"; - } - } - - /// - /// GET ~/reports/getMailboxUsageDetail - /// The function "microsoft.graph.getMailboxUsageDetail", which exists on the type "microsoft.graph.reportRoot". - /// This function returns a "microsoft.graph.report" object. - /// - /// GitHub Repository - [Cmdlet("Invoke", "Reports_GetMailboxUsageDetail", DefaultParameterSetName = @"Get")] - [ODataType("microsoft.graph.reportRoot")] - [ResourceTypePropertyName("reportODataType")] - public class Invoke_Reports_GetMailboxUsageDetail : FunctionReturningEntityCmdlet - { - /// - /// The "period" function parameter of type "Edm.String". - /// - [ODataType("Edm.String")] - [Selectable] - [Expandable] - [ValidateNotNull] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "period" function parameter of type "Edm.String".")] - public System.String period { get; set; } - - internal override System.String GetResourcePath() - { - return $"reports/getMailboxUsageDetail({this.GetFunctionUrlSegment()})"; - } - } - - /// - /// GET ~/reports/getMailboxUsageMailboxCounts - /// The function "microsoft.graph.getMailboxUsageMailboxCounts", which exists on the type "microsoft.graph.reportRoot". - /// This function returns a "microsoft.graph.report" object. - /// - /// GitHub Repository - [Cmdlet("Invoke", "Reports_GetMailboxUsageMailboxCounts", DefaultParameterSetName = @"Get")] - [ODataType("microsoft.graph.reportRoot")] - [ResourceTypePropertyName("reportODataType")] - public class Invoke_Reports_GetMailboxUsageMailboxCounts : FunctionReturningEntityCmdlet - { - /// - /// The "period" function parameter of type "Edm.String". - /// - [ODataType("Edm.String")] - [Selectable] - [Expandable] - [ValidateNotNull] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "period" function parameter of type "Edm.String".")] - public System.String period { get; set; } - - internal override System.String GetResourcePath() - { - return $"reports/getMailboxUsageMailboxCounts({this.GetFunctionUrlSegment()})"; - } - } - - /// - /// GET ~/reports/getMailboxUsageQuotaStatusMailboxCounts - /// The function "microsoft.graph.getMailboxUsageQuotaStatusMailboxCounts", which exists on the type "microsoft.graph.reportRoot". - /// This function returns a "microsoft.graph.report" object. - /// - /// GitHub Repository - [Cmdlet("Invoke", "Reports_GetMailboxUsageQuotaStatusMailboxCounts", DefaultParameterSetName = @"Get")] - [ODataType("microsoft.graph.reportRoot")] - [ResourceTypePropertyName("reportODataType")] - public class Invoke_Reports_GetMailboxUsageQuotaStatusMailboxCounts : FunctionReturningEntityCmdlet - { - /// - /// The "period" function parameter of type "Edm.String". - /// - [ODataType("Edm.String")] - [Selectable] - [Expandable] - [ValidateNotNull] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "period" function parameter of type "Edm.String".")] - public System.String period { get; set; } - - internal override System.String GetResourcePath() - { - return $"reports/getMailboxUsageQuotaStatusMailboxCounts({this.GetFunctionUrlSegment()})"; - } - } - - /// - /// GET ~/reports/getMailboxUsageStorage - /// The function "microsoft.graph.getMailboxUsageStorage", which exists on the type "microsoft.graph.reportRoot". - /// This function returns a "microsoft.graph.report" object. - /// - /// GitHub Repository - [Cmdlet("Invoke", "Reports_GetMailboxUsageStorage", DefaultParameterSetName = @"Get")] - [ODataType("microsoft.graph.reportRoot")] - [ResourceTypePropertyName("reportODataType")] - public class Invoke_Reports_GetMailboxUsageStorage : FunctionReturningEntityCmdlet - { - /// - /// The "period" function parameter of type "Edm.String". - /// - [ODataType("Edm.String")] - [Selectable] - [Expandable] - [ValidateNotNull] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "period" function parameter of type "Edm.String".")] - public System.String period { get; set; } - - internal override System.String GetResourcePath() - { - return $"reports/getMailboxUsageStorage({this.GetFunctionUrlSegment()})"; - } - } - - /// - /// GET ~/reports/getOneDriveActivityUserDetail - /// The function "microsoft.graph.getOneDriveActivityUserDetail", which exists on the type "microsoft.graph.reportRoot". - /// This function returns a "microsoft.graph.report" object. - /// - /// GitHub Repository - [Cmdlet("Invoke", "Reports_GetOneDriveActivityUserDetail", DefaultParameterSetName = @"Overload_1")] - [ODataType("microsoft.graph.reportRoot")] - [ResourceTypePropertyName("reportODataType")] - public class Invoke_Reports_GetOneDriveActivityUserDetail : FunctionReturningEntityCmdlet - { - /// - /// The "date" function parameter of type "Edm.Date". - /// - [ODataType("Edm.Date")] - [Selectable] - [Expandable] - [ValidateNotNull] - [Parameter(ParameterSetName = @"Overload_1", Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "date" function parameter of type "Edm.Date".")] - public System.DateTimeOffset date { get; set; } - - /// - /// The "period" function parameter of type "Edm.String". - /// - [ODataType("Edm.String")] - [Selectable] - [Expandable] - [ValidateNotNull] - [Parameter(ParameterSetName = @"Overload_2", Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "period" function parameter of type "Edm.String".")] - public System.String period { get; set; } - - internal override System.String GetResourcePath() - { - return $"reports/getOneDriveActivityUserDetail({this.GetFunctionUrlSegment()})"; - } - } - - /// - /// GET ~/reports/getOneDriveActivityUserCounts - /// The function "microsoft.graph.getOneDriveActivityUserCounts", which exists on the type "microsoft.graph.reportRoot". - /// This function returns a "microsoft.graph.report" object. - /// - /// GitHub Repository - [Cmdlet("Invoke", "Reports_GetOneDriveActivityUserCounts", DefaultParameterSetName = @"Get")] - [ODataType("microsoft.graph.reportRoot")] - [ResourceTypePropertyName("reportODataType")] - public class Invoke_Reports_GetOneDriveActivityUserCounts : FunctionReturningEntityCmdlet - { - /// - /// The "period" function parameter of type "Edm.String". - /// - [ODataType("Edm.String")] - [Selectable] - [Expandable] - [ValidateNotNull] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "period" function parameter of type "Edm.String".")] - public System.String period { get; set; } - - internal override System.String GetResourcePath() - { - return $"reports/getOneDriveActivityUserCounts({this.GetFunctionUrlSegment()})"; - } - } - - /// - /// GET ~/reports/getOneDriveActivityFileCounts - /// The function "microsoft.graph.getOneDriveActivityFileCounts", which exists on the type "microsoft.graph.reportRoot". - /// This function returns a "microsoft.graph.report" object. - /// - /// GitHub Repository - [Cmdlet("Invoke", "Reports_GetOneDriveActivityFileCounts", DefaultParameterSetName = @"Get")] - [ODataType("microsoft.graph.reportRoot")] - [ResourceTypePropertyName("reportODataType")] - public class Invoke_Reports_GetOneDriveActivityFileCounts : FunctionReturningEntityCmdlet - { - /// - /// The "period" function parameter of type "Edm.String". - /// - [ODataType("Edm.String")] - [Selectable] - [Expandable] - [ValidateNotNull] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "period" function parameter of type "Edm.String".")] - public System.String period { get; set; } - - internal override System.String GetResourcePath() - { - return $"reports/getOneDriveActivityFileCounts({this.GetFunctionUrlSegment()})"; - } - } - - /// - /// GET ~/reports/getOneDriveUsageAccountDetail - /// The function "microsoft.graph.getOneDriveUsageAccountDetail", which exists on the type "microsoft.graph.reportRoot". - /// This function returns a "microsoft.graph.report" object. - /// - /// GitHub Repository - [Cmdlet("Invoke", "Reports_GetOneDriveUsageAccountDetail", DefaultParameterSetName = @"Overload_1")] - [ODataType("microsoft.graph.reportRoot")] - [ResourceTypePropertyName("reportODataType")] - public class Invoke_Reports_GetOneDriveUsageAccountDetail : FunctionReturningEntityCmdlet - { - /// - /// The "date" function parameter of type "Edm.Date". - /// - [ODataType("Edm.Date")] - [Selectable] - [Expandable] - [ValidateNotNull] - [Parameter(ParameterSetName = @"Overload_1", Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "date" function parameter of type "Edm.Date".")] - public System.DateTimeOffset date { get; set; } - - /// - /// The "period" function parameter of type "Edm.String". - /// - [ODataType("Edm.String")] - [Selectable] - [Expandable] - [ValidateNotNull] - [Parameter(ParameterSetName = @"Overload_2", Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "period" function parameter of type "Edm.String".")] - public System.String period { get; set; } - - internal override System.String GetResourcePath() - { - return $"reports/getOneDriveUsageAccountDetail({this.GetFunctionUrlSegment()})"; - } - } - - /// - /// GET ~/reports/getOneDriveUsageAccountCounts - /// The function "microsoft.graph.getOneDriveUsageAccountCounts", which exists on the type "microsoft.graph.reportRoot". - /// This function returns a "microsoft.graph.report" object. - /// - /// GitHub Repository - [Cmdlet("Invoke", "Reports_GetOneDriveUsageAccountCounts", DefaultParameterSetName = @"Get")] - [ODataType("microsoft.graph.reportRoot")] - [ResourceTypePropertyName("reportODataType")] - public class Invoke_Reports_GetOneDriveUsageAccountCounts : FunctionReturningEntityCmdlet - { - /// - /// The "period" function parameter of type "Edm.String". - /// - [ODataType("Edm.String")] - [Selectable] - [Expandable] - [ValidateNotNull] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "period" function parameter of type "Edm.String".")] - public System.String period { get; set; } - - internal override System.String GetResourcePath() - { - return $"reports/getOneDriveUsageAccountCounts({this.GetFunctionUrlSegment()})"; - } - } - - /// - /// GET ~/reports/getOneDriveUsageFileCounts - /// The function "microsoft.graph.getOneDriveUsageFileCounts", which exists on the type "microsoft.graph.reportRoot". - /// This function returns a "microsoft.graph.report" object. - /// - /// GitHub Repository - [Cmdlet("Invoke", "Reports_GetOneDriveUsageFileCounts", DefaultParameterSetName = @"Get")] - [ODataType("microsoft.graph.reportRoot")] - [ResourceTypePropertyName("reportODataType")] - public class Invoke_Reports_GetOneDriveUsageFileCounts : FunctionReturningEntityCmdlet - { - /// - /// The "period" function parameter of type "Edm.String". - /// - [ODataType("Edm.String")] - [Selectable] - [Expandable] - [ValidateNotNull] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "period" function parameter of type "Edm.String".")] - public System.String period { get; set; } - - internal override System.String GetResourcePath() - { - return $"reports/getOneDriveUsageFileCounts({this.GetFunctionUrlSegment()})"; - } - } - - /// - /// GET ~/reports/getOneDriveUsageStorage - /// The function "microsoft.graph.getOneDriveUsageStorage", which exists on the type "microsoft.graph.reportRoot". - /// This function returns a "microsoft.graph.report" object. - /// - /// GitHub Repository - [Cmdlet("Invoke", "Reports_GetOneDriveUsageStorage", DefaultParameterSetName = @"Get")] - [ODataType("microsoft.graph.reportRoot")] - [ResourceTypePropertyName("reportODataType")] - public class Invoke_Reports_GetOneDriveUsageStorage : FunctionReturningEntityCmdlet - { - /// - /// The "period" function parameter of type "Edm.String". - /// - [ODataType("Edm.String")] - [Selectable] - [Expandable] - [ValidateNotNull] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "period" function parameter of type "Edm.String".")] - public System.String period { get; set; } - - internal override System.String GetResourcePath() - { - return $"reports/getOneDriveUsageStorage({this.GetFunctionUrlSegment()})"; - } - } - - /// - /// GET ~/reports/getSharePointActivityUserDetail - /// The function "microsoft.graph.getSharePointActivityUserDetail", which exists on the type "microsoft.graph.reportRoot". - /// This function returns a "microsoft.graph.report" object. - /// - /// GitHub Repository - [Cmdlet("Invoke", "Reports_GetSharePointActivityUserDetail", DefaultParameterSetName = @"Overload_1")] - [ODataType("microsoft.graph.reportRoot")] - [ResourceTypePropertyName("reportODataType")] - public class Invoke_Reports_GetSharePointActivityUserDetail : FunctionReturningEntityCmdlet - { - /// - /// The "date" function parameter of type "Edm.Date". - /// - [ODataType("Edm.Date")] - [Selectable] - [Expandable] - [ValidateNotNull] - [Parameter(ParameterSetName = @"Overload_1", Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "date" function parameter of type "Edm.Date".")] - public System.DateTimeOffset date { get; set; } - - /// - /// The "period" function parameter of type "Edm.String". - /// - [ODataType("Edm.String")] - [Selectable] - [Expandable] - [ValidateNotNull] - [Parameter(ParameterSetName = @"Overload_2", Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "period" function parameter of type "Edm.String".")] - public System.String period { get; set; } - - internal override System.String GetResourcePath() - { - return $"reports/getSharePointActivityUserDetail({this.GetFunctionUrlSegment()})"; - } - } - - /// - /// GET ~/reports/getSharePointActivityFileCounts - /// The function "microsoft.graph.getSharePointActivityFileCounts", which exists on the type "microsoft.graph.reportRoot". - /// This function returns a "microsoft.graph.report" object. - /// - /// GitHub Repository - [Cmdlet("Invoke", "Reports_GetSharePointActivityFileCounts", DefaultParameterSetName = @"Get")] - [ODataType("microsoft.graph.reportRoot")] - [ResourceTypePropertyName("reportODataType")] - public class Invoke_Reports_GetSharePointActivityFileCounts : FunctionReturningEntityCmdlet - { - /// - /// The "period" function parameter of type "Edm.String". - /// - [ODataType("Edm.String")] - [Selectable] - [Expandable] - [ValidateNotNull] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "period" function parameter of type "Edm.String".")] - public System.String period { get; set; } - - internal override System.String GetResourcePath() - { - return $"reports/getSharePointActivityFileCounts({this.GetFunctionUrlSegment()})"; - } - } - - /// - /// GET ~/reports/getSharePointActivityUserCounts - /// The function "microsoft.graph.getSharePointActivityUserCounts", which exists on the type "microsoft.graph.reportRoot". - /// This function returns a "microsoft.graph.report" object. - /// - /// GitHub Repository - [Cmdlet("Invoke", "Reports_GetSharePointActivityUserCounts", DefaultParameterSetName = @"Get")] - [ODataType("microsoft.graph.reportRoot")] - [ResourceTypePropertyName("reportODataType")] - public class Invoke_Reports_GetSharePointActivityUserCounts : FunctionReturningEntityCmdlet - { - /// - /// The "period" function parameter of type "Edm.String". - /// - [ODataType("Edm.String")] - [Selectable] - [Expandable] - [ValidateNotNull] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "period" function parameter of type "Edm.String".")] - public System.String period { get; set; } - - internal override System.String GetResourcePath() - { - return $"reports/getSharePointActivityUserCounts({this.GetFunctionUrlSegment()})"; - } - } - - /// - /// GET ~/reports/getSharePointActivityPages - /// The function "microsoft.graph.getSharePointActivityPages", which exists on the type "microsoft.graph.reportRoot". - /// This function returns a "microsoft.graph.report" object. - /// - /// GitHub Repository - [Cmdlet("Invoke", "Reports_GetSharePointActivityPages", DefaultParameterSetName = @"Get")] - [ODataType("microsoft.graph.reportRoot")] - [ResourceTypePropertyName("reportODataType")] - public class Invoke_Reports_GetSharePointActivityPages : FunctionReturningEntityCmdlet - { - /// - /// The "period" function parameter of type "Edm.String". - /// - [ODataType("Edm.String")] - [Selectable] - [Expandable] - [ValidateNotNull] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "period" function parameter of type "Edm.String".")] - public System.String period { get; set; } - - internal override System.String GetResourcePath() - { - return $"reports/getSharePointActivityPages({this.GetFunctionUrlSegment()})"; - } - } - - /// - /// GET ~/reports/getSharePointSiteUsageDetail - /// The function "microsoft.graph.getSharePointSiteUsageDetail", which exists on the type "microsoft.graph.reportRoot". - /// This function returns a "microsoft.graph.report" object. - /// - /// GitHub Repository - [Cmdlet("Invoke", "Reports_GetSharePointSiteUsageDetail", DefaultParameterSetName = @"Overload_1")] - [ODataType("microsoft.graph.reportRoot")] - [ResourceTypePropertyName("reportODataType")] - public class Invoke_Reports_GetSharePointSiteUsageDetail : FunctionReturningEntityCmdlet - { - /// - /// The "date" function parameter of type "Edm.Date". - /// - [ODataType("Edm.Date")] - [Selectable] - [Expandable] - [ValidateNotNull] - [Parameter(ParameterSetName = @"Overload_1", Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "date" function parameter of type "Edm.Date".")] - public System.DateTimeOffset date { get; set; } - - /// - /// The "period" function parameter of type "Edm.String". - /// - [ODataType("Edm.String")] - [Selectable] - [Expandable] - [ValidateNotNull] - [Parameter(ParameterSetName = @"Overload_2", Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "period" function parameter of type "Edm.String".")] - public System.String period { get; set; } - - internal override System.String GetResourcePath() - { - return $"reports/getSharePointSiteUsageDetail({this.GetFunctionUrlSegment()})"; - } - } - - /// - /// GET ~/reports/getSharePointSiteUsageFileCounts - /// The function "microsoft.graph.getSharePointSiteUsageFileCounts", which exists on the type "microsoft.graph.reportRoot". - /// This function returns a "microsoft.graph.report" object. - /// - /// GitHub Repository - [Cmdlet("Invoke", "Reports_GetSharePointSiteUsageFileCounts", DefaultParameterSetName = @"Get")] - [ODataType("microsoft.graph.reportRoot")] - [ResourceTypePropertyName("reportODataType")] - public class Invoke_Reports_GetSharePointSiteUsageFileCounts : FunctionReturningEntityCmdlet - { - /// - /// The "period" function parameter of type "Edm.String". - /// - [ODataType("Edm.String")] - [Selectable] - [Expandable] - [ValidateNotNull] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "period" function parameter of type "Edm.String".")] - public System.String period { get; set; } - - internal override System.String GetResourcePath() - { - return $"reports/getSharePointSiteUsageFileCounts({this.GetFunctionUrlSegment()})"; - } - } - - /// - /// GET ~/reports/getSharePointSiteUsageSiteCounts - /// The function "microsoft.graph.getSharePointSiteUsageSiteCounts", which exists on the type "microsoft.graph.reportRoot". - /// This function returns a "microsoft.graph.report" object. - /// - /// GitHub Repository - [Cmdlet("Invoke", "Reports_GetSharePointSiteUsageSiteCounts", DefaultParameterSetName = @"Get")] - [ODataType("microsoft.graph.reportRoot")] - [ResourceTypePropertyName("reportODataType")] - public class Invoke_Reports_GetSharePointSiteUsageSiteCounts : FunctionReturningEntityCmdlet - { - /// - /// The "period" function parameter of type "Edm.String". - /// - [ODataType("Edm.String")] - [Selectable] - [Expandable] - [ValidateNotNull] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "period" function parameter of type "Edm.String".")] - public System.String period { get; set; } - - internal override System.String GetResourcePath() - { - return $"reports/getSharePointSiteUsageSiteCounts({this.GetFunctionUrlSegment()})"; - } - } - - /// - /// GET ~/reports/getSharePointSiteUsageStorage - /// The function "microsoft.graph.getSharePointSiteUsageStorage", which exists on the type "microsoft.graph.reportRoot". - /// This function returns a "microsoft.graph.report" object. - /// - /// GitHub Repository - [Cmdlet("Invoke", "Reports_GetSharePointSiteUsageStorage", DefaultParameterSetName = @"Get")] - [ODataType("microsoft.graph.reportRoot")] - [ResourceTypePropertyName("reportODataType")] - public class Invoke_Reports_GetSharePointSiteUsageStorage : FunctionReturningEntityCmdlet - { - /// - /// The "period" function parameter of type "Edm.String". - /// - [ODataType("Edm.String")] - [Selectable] - [Expandable] - [ValidateNotNull] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "period" function parameter of type "Edm.String".")] - public System.String period { get; set; } - - internal override System.String GetResourcePath() - { - return $"reports/getSharePointSiteUsageStorage({this.GetFunctionUrlSegment()})"; - } - } - - /// - /// GET ~/reports/getSharePointSiteUsagePages - /// The function "microsoft.graph.getSharePointSiteUsagePages", which exists on the type "microsoft.graph.reportRoot". - /// This function returns a "microsoft.graph.report" object. - /// - /// GitHub Repository - [Cmdlet("Invoke", "Reports_GetSharePointSiteUsagePages", DefaultParameterSetName = @"Get")] - [ODataType("microsoft.graph.reportRoot")] - [ResourceTypePropertyName("reportODataType")] - public class Invoke_Reports_GetSharePointSiteUsagePages : FunctionReturningEntityCmdlet - { - /// - /// The "period" function parameter of type "Edm.String". - /// - [ODataType("Edm.String")] - [Selectable] - [Expandable] - [ValidateNotNull] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "period" function parameter of type "Edm.String".")] - public System.String period { get; set; } - - internal override System.String GetResourcePath() - { - return $"reports/getSharePointSiteUsagePages({this.GetFunctionUrlSegment()})"; - } - } - - /// - /// GET ~/reports/getSkypeForBusinessActivityUserDetail - /// The function "microsoft.graph.getSkypeForBusinessActivityUserDetail", which exists on the type "microsoft.graph.reportRoot". - /// This function returns a "microsoft.graph.report" object. - /// - /// GitHub Repository - [Cmdlet("Invoke", "Reports_GetSkypeForBusinessActivityUserDetail", DefaultParameterSetName = @"Overload_1")] - [ODataType("microsoft.graph.reportRoot")] - [ResourceTypePropertyName("reportODataType")] - public class Invoke_Reports_GetSkypeForBusinessActivityUserDetail : FunctionReturningEntityCmdlet - { - /// - /// The "date" function parameter of type "Edm.Date". - /// - [ODataType("Edm.Date")] - [Selectable] - [Expandable] - [ValidateNotNull] - [Parameter(ParameterSetName = @"Overload_1", Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "date" function parameter of type "Edm.Date".")] - public System.DateTimeOffset date { get; set; } - - /// - /// The "period" function parameter of type "Edm.String". - /// - [ODataType("Edm.String")] - [Selectable] - [Expandable] - [ValidateNotNull] - [Parameter(ParameterSetName = @"Overload_2", Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "period" function parameter of type "Edm.String".")] - public System.String period { get; set; } - - internal override System.String GetResourcePath() - { - return $"reports/getSkypeForBusinessActivityUserDetail({this.GetFunctionUrlSegment()})"; - } - } - - /// - /// GET ~/reports/getSkypeForBusinessActivityCounts - /// The function "microsoft.graph.getSkypeForBusinessActivityCounts", which exists on the type "microsoft.graph.reportRoot". - /// This function returns a "microsoft.graph.report" object. - /// - /// GitHub Repository - [Cmdlet("Invoke", "Reports_GetSkypeForBusinessActivityCounts", DefaultParameterSetName = @"Get")] - [ODataType("microsoft.graph.reportRoot")] - [ResourceTypePropertyName("reportODataType")] - public class Invoke_Reports_GetSkypeForBusinessActivityCounts : FunctionReturningEntityCmdlet - { - /// - /// The "period" function parameter of type "Edm.String". - /// - [ODataType("Edm.String")] - [Selectable] - [Expandable] - [ValidateNotNull] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "period" function parameter of type "Edm.String".")] - public System.String period { get; set; } - - internal override System.String GetResourcePath() - { - return $"reports/getSkypeForBusinessActivityCounts({this.GetFunctionUrlSegment()})"; - } - } - - /// - /// GET ~/reports/getSkypeForBusinessActivityUserCounts - /// The function "microsoft.graph.getSkypeForBusinessActivityUserCounts", which exists on the type "microsoft.graph.reportRoot". - /// This function returns a "microsoft.graph.report" object. - /// - /// GitHub Repository - [Cmdlet("Invoke", "Reports_GetSkypeForBusinessActivityUserCounts", DefaultParameterSetName = @"Get")] - [ODataType("microsoft.graph.reportRoot")] - [ResourceTypePropertyName("reportODataType")] - public class Invoke_Reports_GetSkypeForBusinessActivityUserCounts : FunctionReturningEntityCmdlet - { - /// - /// The "period" function parameter of type "Edm.String". - /// - [ODataType("Edm.String")] - [Selectable] - [Expandable] - [ValidateNotNull] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "period" function parameter of type "Edm.String".")] - public System.String period { get; set; } - - internal override System.String GetResourcePath() - { - return $"reports/getSkypeForBusinessActivityUserCounts({this.GetFunctionUrlSegment()})"; - } - } - - /// - /// GET ~/reports/getSkypeForBusinessPeerToPeerActivityCounts - /// The function "microsoft.graph.getSkypeForBusinessPeerToPeerActivityCounts", which exists on the type "microsoft.graph.reportRoot". - /// This function returns a "microsoft.graph.report" object. - /// - /// GitHub Repository - [Cmdlet("Invoke", "Reports_GetSkypeForBusinessPeerToPeerActivityCounts", DefaultParameterSetName = @"Get")] - [ODataType("microsoft.graph.reportRoot")] - [ResourceTypePropertyName("reportODataType")] - public class Invoke_Reports_GetSkypeForBusinessPeerToPeerActivityCounts : FunctionReturningEntityCmdlet - { - /// - /// The "period" function parameter of type "Edm.String". - /// - [ODataType("Edm.String")] - [Selectable] - [Expandable] - [ValidateNotNull] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "period" function parameter of type "Edm.String".")] - public System.String period { get; set; } - - internal override System.String GetResourcePath() - { - return $"reports/getSkypeForBusinessPeerToPeerActivityCounts({this.GetFunctionUrlSegment()})"; - } - } - - /// - /// GET ~/reports/getSkypeForBusinessPeerToPeerActivityUserCounts - /// The function "microsoft.graph.getSkypeForBusinessPeerToPeerActivityUserCounts", which exists on the type "microsoft.graph.reportRoot". - /// This function returns a "microsoft.graph.report" object. - /// - /// GitHub Repository - [Cmdlet("Invoke", "Reports_GetSkypeForBusinessPeerToPeerActivityUserCounts", DefaultParameterSetName = @"Get")] - [ODataType("microsoft.graph.reportRoot")] - [ResourceTypePropertyName("reportODataType")] - public class Invoke_Reports_GetSkypeForBusinessPeerToPeerActivityUserCounts : FunctionReturningEntityCmdlet - { - /// - /// The "period" function parameter of type "Edm.String". - /// - [ODataType("Edm.String")] - [Selectable] - [Expandable] - [ValidateNotNull] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "period" function parameter of type "Edm.String".")] - public System.String period { get; set; } - - internal override System.String GetResourcePath() - { - return $"reports/getSkypeForBusinessPeerToPeerActivityUserCounts({this.GetFunctionUrlSegment()})"; - } - } - - /// - /// GET ~/reports/getSkypeForBusinessPeerToPeerActivityMinuteCounts - /// The function "microsoft.graph.getSkypeForBusinessPeerToPeerActivityMinuteCounts", which exists on the type "microsoft.graph.reportRoot". - /// This function returns a "microsoft.graph.report" object. - /// - /// GitHub Repository - [Cmdlet("Invoke", "Reports_GetSkypeForBusinessPeerToPeerActivityMinuteCounts", DefaultParameterSetName = @"Get")] - [ODataType("microsoft.graph.reportRoot")] - [ResourceTypePropertyName("reportODataType")] - public class Invoke_Reports_GetSkypeForBusinessPeerToPeerActivityMinuteCounts : FunctionReturningEntityCmdlet - { - /// - /// The "period" function parameter of type "Edm.String". - /// - [ODataType("Edm.String")] - [Selectable] - [Expandable] - [ValidateNotNull] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "period" function parameter of type "Edm.String".")] - public System.String period { get; set; } - - internal override System.String GetResourcePath() - { - return $"reports/getSkypeForBusinessPeerToPeerActivityMinuteCounts({this.GetFunctionUrlSegment()})"; - } - } - - /// - /// GET ~/reports/getSkypeForBusinessOrganizerActivityCounts - /// The function "microsoft.graph.getSkypeForBusinessOrganizerActivityCounts", which exists on the type "microsoft.graph.reportRoot". - /// This function returns a "microsoft.graph.report" object. - /// - /// GitHub Repository - [Cmdlet("Invoke", "Reports_GetSkypeForBusinessOrganizerActivityCounts", DefaultParameterSetName = @"Get")] - [ODataType("microsoft.graph.reportRoot")] - [ResourceTypePropertyName("reportODataType")] - public class Invoke_Reports_GetSkypeForBusinessOrganizerActivityCounts : FunctionReturningEntityCmdlet - { - /// - /// The "period" function parameter of type "Edm.String". - /// - [ODataType("Edm.String")] - [Selectable] - [Expandable] - [ValidateNotNull] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "period" function parameter of type "Edm.String".")] - public System.String period { get; set; } - - internal override System.String GetResourcePath() - { - return $"reports/getSkypeForBusinessOrganizerActivityCounts({this.GetFunctionUrlSegment()})"; - } - } - - /// - /// GET ~/reports/getSkypeForBusinessOrganizerActivityUserCounts - /// The function "microsoft.graph.getSkypeForBusinessOrganizerActivityUserCounts", which exists on the type "microsoft.graph.reportRoot". - /// This function returns a "microsoft.graph.report" object. - /// - /// GitHub Repository - [Cmdlet("Invoke", "Reports_GetSkypeForBusinessOrganizerActivityUserCounts", DefaultParameterSetName = @"Get")] - [ODataType("microsoft.graph.reportRoot")] - [ResourceTypePropertyName("reportODataType")] - public class Invoke_Reports_GetSkypeForBusinessOrganizerActivityUserCounts : FunctionReturningEntityCmdlet - { - /// - /// The "period" function parameter of type "Edm.String". - /// - [ODataType("Edm.String")] - [Selectable] - [Expandable] - [ValidateNotNull] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "period" function parameter of type "Edm.String".")] - public System.String period { get; set; } - - internal override System.String GetResourcePath() - { - return $"reports/getSkypeForBusinessOrganizerActivityUserCounts({this.GetFunctionUrlSegment()})"; - } - } - - /// - /// GET ~/reports/getSkypeForBusinessOrganizerActivityMinuteCounts - /// The function "microsoft.graph.getSkypeForBusinessOrganizerActivityMinuteCounts", which exists on the type "microsoft.graph.reportRoot". - /// This function returns a "microsoft.graph.report" object. - /// - /// GitHub Repository - [Cmdlet("Invoke", "Reports_GetSkypeForBusinessOrganizerActivityMinuteCounts", DefaultParameterSetName = @"Get")] - [ODataType("microsoft.graph.reportRoot")] - [ResourceTypePropertyName("reportODataType")] - public class Invoke_Reports_GetSkypeForBusinessOrganizerActivityMinuteCounts : FunctionReturningEntityCmdlet - { - /// - /// The "period" function parameter of type "Edm.String". - /// - [ODataType("Edm.String")] - [Selectable] - [Expandable] - [ValidateNotNull] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "period" function parameter of type "Edm.String".")] - public System.String period { get; set; } - - internal override System.String GetResourcePath() - { - return $"reports/getSkypeForBusinessOrganizerActivityMinuteCounts({this.GetFunctionUrlSegment()})"; - } - } - - /// - /// GET ~/reports/getSkypeForBusinessParticipantActivityCounts - /// The function "microsoft.graph.getSkypeForBusinessParticipantActivityCounts", which exists on the type "microsoft.graph.reportRoot". - /// This function returns a "microsoft.graph.report" object. - /// - /// GitHub Repository - [Cmdlet("Invoke", "Reports_GetSkypeForBusinessParticipantActivityCounts", DefaultParameterSetName = @"Get")] - [ODataType("microsoft.graph.reportRoot")] - [ResourceTypePropertyName("reportODataType")] - public class Invoke_Reports_GetSkypeForBusinessParticipantActivityCounts : FunctionReturningEntityCmdlet - { - /// - /// The "period" function parameter of type "Edm.String". - /// - [ODataType("Edm.String")] - [Selectable] - [Expandable] - [ValidateNotNull] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "period" function parameter of type "Edm.String".")] - public System.String period { get; set; } - - internal override System.String GetResourcePath() - { - return $"reports/getSkypeForBusinessParticipantActivityCounts({this.GetFunctionUrlSegment()})"; - } - } - - /// - /// GET ~/reports/getSkypeForBusinessParticipantActivityUserCounts - /// The function "microsoft.graph.getSkypeForBusinessParticipantActivityUserCounts", which exists on the type "microsoft.graph.reportRoot". - /// This function returns a "microsoft.graph.report" object. - /// - /// GitHub Repository - [Cmdlet("Invoke", "Reports_GetSkypeForBusinessParticipantActivityUserCounts", DefaultParameterSetName = @"Get")] - [ODataType("microsoft.graph.reportRoot")] - [ResourceTypePropertyName("reportODataType")] - public class Invoke_Reports_GetSkypeForBusinessParticipantActivityUserCounts : FunctionReturningEntityCmdlet - { - /// - /// The "period" function parameter of type "Edm.String". - /// - [ODataType("Edm.String")] - [Selectable] - [Expandable] - [ValidateNotNull] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "period" function parameter of type "Edm.String".")] - public System.String period { get; set; } - - internal override System.String GetResourcePath() - { - return $"reports/getSkypeForBusinessParticipantActivityUserCounts({this.GetFunctionUrlSegment()})"; - } - } - - /// - /// GET ~/reports/getSkypeForBusinessParticipantActivityMinuteCounts - /// The function "microsoft.graph.getSkypeForBusinessParticipantActivityMinuteCounts", which exists on the type "microsoft.graph.reportRoot". - /// This function returns a "microsoft.graph.report" object. - /// - /// GitHub Repository - [Cmdlet("Invoke", "Reports_GetSkypeForBusinessParticipantActivityMinuteCounts", DefaultParameterSetName = @"Get")] - [ODataType("microsoft.graph.reportRoot")] - [ResourceTypePropertyName("reportODataType")] - public class Invoke_Reports_GetSkypeForBusinessParticipantActivityMinuteCounts : FunctionReturningEntityCmdlet - { - /// - /// The "period" function parameter of type "Edm.String". - /// - [ODataType("Edm.String")] - [Selectable] - [Expandable] - [ValidateNotNull] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "period" function parameter of type "Edm.String".")] - public System.String period { get; set; } - - internal override System.String GetResourcePath() - { - return $"reports/getSkypeForBusinessParticipantActivityMinuteCounts({this.GetFunctionUrlSegment()})"; - } - } - - /// - /// GET ~/reports/getSkypeForBusinessDeviceUsageUserDetail - /// The function "microsoft.graph.getSkypeForBusinessDeviceUsageUserDetail", which exists on the type "microsoft.graph.reportRoot". - /// This function returns a "microsoft.graph.report" object. - /// - /// GitHub Repository - [Cmdlet("Invoke", "Reports_GetSkypeForBusinessDeviceUsageUserDetail", DefaultParameterSetName = @"Overload_1")] - [ODataType("microsoft.graph.reportRoot")] - [ResourceTypePropertyName("reportODataType")] - public class Invoke_Reports_GetSkypeForBusinessDeviceUsageUserDetail : FunctionReturningEntityCmdlet - { - /// - /// The "date" function parameter of type "Edm.Date". - /// - [ODataType("Edm.Date")] - [Selectable] - [Expandable] - [ValidateNotNull] - [Parameter(ParameterSetName = @"Overload_1", Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "date" function parameter of type "Edm.Date".")] - public System.DateTimeOffset date { get; set; } - - /// - /// The "period" function parameter of type "Edm.String". - /// - [ODataType("Edm.String")] - [Selectable] - [Expandable] - [ValidateNotNull] - [Parameter(ParameterSetName = @"Overload_2", Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "period" function parameter of type "Edm.String".")] - public System.String period { get; set; } - - internal override System.String GetResourcePath() - { - return $"reports/getSkypeForBusinessDeviceUsageUserDetail({this.GetFunctionUrlSegment()})"; - } - } - - /// - /// GET ~/reports/getSkypeForBusinessDeviceUsageDistributionUserCounts - /// The function "microsoft.graph.getSkypeForBusinessDeviceUsageDistributionUserCounts", which exists on the type "microsoft.graph.reportRoot". - /// This function returns a "microsoft.graph.report" object. - /// - /// GitHub Repository - [Cmdlet("Invoke", "Reports_GetSkypeForBusinessDeviceUsageDistributionUserCounts", DefaultParameterSetName = @"Get")] - [ODataType("microsoft.graph.reportRoot")] - [ResourceTypePropertyName("reportODataType")] - public class Invoke_Reports_GetSkypeForBusinessDeviceUsageDistributionUserCounts : FunctionReturningEntityCmdlet - { - /// - /// The "period" function parameter of type "Edm.String". - /// - [ODataType("Edm.String")] - [Selectable] - [Expandable] - [ValidateNotNull] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "period" function parameter of type "Edm.String".")] - public System.String period { get; set; } - - internal override System.String GetResourcePath() - { - return $"reports/getSkypeForBusinessDeviceUsageDistributionUserCounts({this.GetFunctionUrlSegment()})"; - } - } - - /// - /// GET ~/reports/getSkypeForBusinessDeviceUsageUserCounts - /// The function "microsoft.graph.getSkypeForBusinessDeviceUsageUserCounts", which exists on the type "microsoft.graph.reportRoot". - /// This function returns a "microsoft.graph.report" object. - /// - /// GitHub Repository - [Cmdlet("Invoke", "Reports_GetSkypeForBusinessDeviceUsageUserCounts", DefaultParameterSetName = @"Get")] - [ODataType("microsoft.graph.reportRoot")] - [ResourceTypePropertyName("reportODataType")] - public class Invoke_Reports_GetSkypeForBusinessDeviceUsageUserCounts : FunctionReturningEntityCmdlet - { - /// - /// The "period" function parameter of type "Edm.String". - /// - [ODataType("Edm.String")] - [Selectable] - [Expandable] - [ValidateNotNull] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "period" function parameter of type "Edm.String".")] - public System.String period { get; set; } - - internal override System.String GetResourcePath() - { - return $"reports/getSkypeForBusinessDeviceUsageUserCounts({this.GetFunctionUrlSegment()})"; - } - } - - /// - /// GET ~/reports/getYammerActivityUserDetail - /// The function "microsoft.graph.getYammerActivityUserDetail", which exists on the type "microsoft.graph.reportRoot". - /// This function returns a "microsoft.graph.report" object. - /// - /// GitHub Repository - [Cmdlet("Invoke", "Reports_GetYammerActivityUserDetail", DefaultParameterSetName = @"Overload_1")] - [ODataType("microsoft.graph.reportRoot")] - [ResourceTypePropertyName("reportODataType")] - public class Invoke_Reports_GetYammerActivityUserDetail : FunctionReturningEntityCmdlet - { - /// - /// The "date" function parameter of type "Edm.Date". - /// - [ODataType("Edm.Date")] - [Selectable] - [Expandable] - [ValidateNotNull] - [Parameter(ParameterSetName = @"Overload_1", Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "date" function parameter of type "Edm.Date".")] - public System.DateTimeOffset date { get; set; } - - /// - /// The "period" function parameter of type "Edm.String". - /// - [ODataType("Edm.String")] - [Selectable] - [Expandable] - [ValidateNotNull] - [Parameter(ParameterSetName = @"Overload_2", Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "period" function parameter of type "Edm.String".")] - public System.String period { get; set; } - - internal override System.String GetResourcePath() - { - return $"reports/getYammerActivityUserDetail({this.GetFunctionUrlSegment()})"; - } - } - - /// - /// GET ~/reports/getYammerActivityCounts - /// The function "microsoft.graph.getYammerActivityCounts", which exists on the type "microsoft.graph.reportRoot". - /// This function returns a "microsoft.graph.report" object. - /// - /// GitHub Repository - [Cmdlet("Invoke", "Reports_GetYammerActivityCounts", DefaultParameterSetName = @"Get")] - [ODataType("microsoft.graph.reportRoot")] - [ResourceTypePropertyName("reportODataType")] - public class Invoke_Reports_GetYammerActivityCounts : FunctionReturningEntityCmdlet - { - /// - /// The "period" function parameter of type "Edm.String". - /// - [ODataType("Edm.String")] - [Selectable] - [Expandable] - [ValidateNotNull] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "period" function parameter of type "Edm.String".")] - public System.String period { get; set; } - - internal override System.String GetResourcePath() - { - return $"reports/getYammerActivityCounts({this.GetFunctionUrlSegment()})"; - } - } - - /// - /// GET ~/reports/getYammerActivityUserCounts - /// The function "microsoft.graph.getYammerActivityUserCounts", which exists on the type "microsoft.graph.reportRoot". - /// This function returns a "microsoft.graph.report" object. - /// - /// GitHub Repository - [Cmdlet("Invoke", "Reports_GetYammerActivityUserCounts", DefaultParameterSetName = @"Get")] - [ODataType("microsoft.graph.reportRoot")] - [ResourceTypePropertyName("reportODataType")] - public class Invoke_Reports_GetYammerActivityUserCounts : FunctionReturningEntityCmdlet - { - /// - /// The "period" function parameter of type "Edm.String". - /// - [ODataType("Edm.String")] - [Selectable] - [Expandable] - [ValidateNotNull] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "period" function parameter of type "Edm.String".")] - public System.String period { get; set; } - - internal override System.String GetResourcePath() - { - return $"reports/getYammerActivityUserCounts({this.GetFunctionUrlSegment()})"; - } - } - - /// - /// GET ~/reports/getYammerDeviceUsageUserDetail - /// The function "microsoft.graph.getYammerDeviceUsageUserDetail", which exists on the type "microsoft.graph.reportRoot". - /// This function returns a "microsoft.graph.report" object. - /// - /// GitHub Repository - [Cmdlet("Invoke", "Reports_GetYammerDeviceUsageUserDetail", DefaultParameterSetName = @"Overload_1")] - [ODataType("microsoft.graph.reportRoot")] - [ResourceTypePropertyName("reportODataType")] - public class Invoke_Reports_GetYammerDeviceUsageUserDetail : FunctionReturningEntityCmdlet - { - /// - /// The "date" function parameter of type "Edm.Date". - /// - [ODataType("Edm.Date")] - [Selectable] - [Expandable] - [ValidateNotNull] - [Parameter(ParameterSetName = @"Overload_1", Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "date" function parameter of type "Edm.Date".")] - public System.DateTimeOffset date { get; set; } - - /// - /// The "period" function parameter of type "Edm.String". - /// - [ODataType("Edm.String")] - [Selectable] - [Expandable] - [ValidateNotNull] - [Parameter(ParameterSetName = @"Overload_2", Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "period" function parameter of type "Edm.String".")] - public System.String period { get; set; } - - internal override System.String GetResourcePath() - { - return $"reports/getYammerDeviceUsageUserDetail({this.GetFunctionUrlSegment()})"; - } - } - - /// - /// GET ~/reports/getYammerDeviceUsageDistributionUserCounts - /// The function "microsoft.graph.getYammerDeviceUsageDistributionUserCounts", which exists on the type "microsoft.graph.reportRoot". - /// This function returns a "microsoft.graph.report" object. - /// - /// GitHub Repository - [Cmdlet("Invoke", "Reports_GetYammerDeviceUsageDistributionUserCounts", DefaultParameterSetName = @"Get")] - [ODataType("microsoft.graph.reportRoot")] - [ResourceTypePropertyName("reportODataType")] - public class Invoke_Reports_GetYammerDeviceUsageDistributionUserCounts : FunctionReturningEntityCmdlet - { - /// - /// The "period" function parameter of type "Edm.String". - /// - [ODataType("Edm.String")] - [Selectable] - [Expandable] - [ValidateNotNull] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "period" function parameter of type "Edm.String".")] - public System.String period { get; set; } - - internal override System.String GetResourcePath() - { - return $"reports/getYammerDeviceUsageDistributionUserCounts({this.GetFunctionUrlSegment()})"; - } - } - - /// - /// GET ~/reports/getYammerDeviceUsageUserCounts - /// The function "microsoft.graph.getYammerDeviceUsageUserCounts", which exists on the type "microsoft.graph.reportRoot". - /// This function returns a "microsoft.graph.report" object. - /// - /// GitHub Repository - [Cmdlet("Invoke", "Reports_GetYammerDeviceUsageUserCounts", DefaultParameterSetName = @"Get")] - [ODataType("microsoft.graph.reportRoot")] - [ResourceTypePropertyName("reportODataType")] - public class Invoke_Reports_GetYammerDeviceUsageUserCounts : FunctionReturningEntityCmdlet - { - /// - /// The "period" function parameter of type "Edm.String". - /// - [ODataType("Edm.String")] - [Selectable] - [Expandable] - [ValidateNotNull] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "period" function parameter of type "Edm.String".")] - public System.String period { get; set; } - - internal override System.String GetResourcePath() - { - return $"reports/getYammerDeviceUsageUserCounts({this.GetFunctionUrlSegment()})"; - } - } - - /// - /// GET ~/reports/getYammerGroupsActivityDetail - /// The function "microsoft.graph.getYammerGroupsActivityDetail", which exists on the type "microsoft.graph.reportRoot". - /// This function returns a "microsoft.graph.report" object. - /// - /// GitHub Repository - [Cmdlet("Invoke", "Reports_GetYammerGroupsActivityDetail", DefaultParameterSetName = @"Overload_1")] - [ODataType("microsoft.graph.reportRoot")] - [ResourceTypePropertyName("reportODataType")] - public class Invoke_Reports_GetYammerGroupsActivityDetail : FunctionReturningEntityCmdlet - { - /// - /// The "date" function parameter of type "Edm.Date". - /// - [ODataType("Edm.Date")] - [Selectable] - [Expandable] - [ValidateNotNull] - [Parameter(ParameterSetName = @"Overload_1", Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "date" function parameter of type "Edm.Date".")] - public System.DateTimeOffset date { get; set; } - - /// - /// The "period" function parameter of type "Edm.String". - /// - [ODataType("Edm.String")] - [Selectable] - [Expandable] - [ValidateNotNull] - [Parameter(ParameterSetName = @"Overload_2", Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "period" function parameter of type "Edm.String".")] - public System.String period { get; set; } - - internal override System.String GetResourcePath() - { - return $"reports/getYammerGroupsActivityDetail({this.GetFunctionUrlSegment()})"; - } - } - - /// - /// GET ~/reports/getYammerGroupsActivityGroupCounts - /// The function "microsoft.graph.getYammerGroupsActivityGroupCounts", which exists on the type "microsoft.graph.reportRoot". - /// This function returns a "microsoft.graph.report" object. - /// - /// GitHub Repository - [Cmdlet("Invoke", "Reports_GetYammerGroupsActivityGroupCounts", DefaultParameterSetName = @"Get")] - [ODataType("microsoft.graph.reportRoot")] - [ResourceTypePropertyName("reportODataType")] - public class Invoke_Reports_GetYammerGroupsActivityGroupCounts : FunctionReturningEntityCmdlet - { - /// - /// The "period" function parameter of type "Edm.String". - /// - [ODataType("Edm.String")] - [Selectable] - [Expandable] - [ValidateNotNull] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "period" function parameter of type "Edm.String".")] - public System.String period { get; set; } - - internal override System.String GetResourcePath() - { - return $"reports/getYammerGroupsActivityGroupCounts({this.GetFunctionUrlSegment()})"; - } - } - - /// - /// GET ~/reports/getYammerGroupsActivityCounts - /// The function "microsoft.graph.getYammerGroupsActivityCounts", which exists on the type "microsoft.graph.reportRoot". - /// This function returns a "microsoft.graph.report" object. - /// - /// GitHub Repository - [Cmdlet("Invoke", "Reports_GetYammerGroupsActivityCounts", DefaultParameterSetName = @"Get")] - [ODataType("microsoft.graph.reportRoot")] - [ResourceTypePropertyName("reportODataType")] - public class Invoke_Reports_GetYammerGroupsActivityCounts : FunctionReturningEntityCmdlet - { - /// - /// The "period" function parameter of type "Edm.String". - /// - [ODataType("Edm.String")] - [Selectable] - [Expandable] - [ValidateNotNull] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "period" function parameter of type "Edm.String".")] - public System.String period { get; set; } - - internal override System.String GetResourcePath() - { - return $"reports/getYammerGroupsActivityCounts({this.GetFunctionUrlSegment()})"; - } - } - - /// - /// GET ~/reports/getTeamsUserActivityUserDetail - /// The function "microsoft.graph.getTeamsUserActivityUserDetail", which exists on the type "microsoft.graph.reportRoot". - /// This function returns a "microsoft.graph.report" object. - /// - /// GitHub Repository - [Cmdlet("Invoke", "Reports_GetTeamsUserActivityUserDetail", DefaultParameterSetName = @"Overload_1")] - [ODataType("microsoft.graph.reportRoot")] - [ResourceTypePropertyName("reportODataType")] - public class Invoke_Reports_GetTeamsUserActivityUserDetail : FunctionReturningEntityCmdlet - { - /// - /// The "date" function parameter of type "Edm.Date". - /// - [ODataType("Edm.Date")] - [Selectable] - [Expandable] - [ValidateNotNull] - [Parameter(ParameterSetName = @"Overload_1", Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "date" function parameter of type "Edm.Date".")] - public System.DateTimeOffset date { get; set; } - - /// - /// The "period" function parameter of type "Edm.String". - /// - [ODataType("Edm.String")] - [Selectable] - [Expandable] - [ValidateNotNull] - [Parameter(ParameterSetName = @"Overload_2", Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "period" function parameter of type "Edm.String".")] - public System.String period { get; set; } - - internal override System.String GetResourcePath() - { - return $"reports/getTeamsUserActivityUserDetail({this.GetFunctionUrlSegment()})"; - } - } - - /// - /// GET ~/reports/getTeamsUserActivityCounts - /// The function "microsoft.graph.getTeamsUserActivityCounts", which exists on the type "microsoft.graph.reportRoot". - /// This function returns a "microsoft.graph.report" object. - /// - /// GitHub Repository - [Cmdlet("Invoke", "Reports_GetTeamsUserActivityCounts", DefaultParameterSetName = @"Get")] - [ODataType("microsoft.graph.reportRoot")] - [ResourceTypePropertyName("reportODataType")] - public class Invoke_Reports_GetTeamsUserActivityCounts : FunctionReturningEntityCmdlet - { - /// - /// The "period" function parameter of type "Edm.String". - /// - [ODataType("Edm.String")] - [Selectable] - [Expandable] - [ValidateNotNull] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "period" function parameter of type "Edm.String".")] - public System.String period { get; set; } - - internal override System.String GetResourcePath() - { - return $"reports/getTeamsUserActivityCounts({this.GetFunctionUrlSegment()})"; - } - } - - /// - /// GET ~/reports/getTeamsUserActivityUserCounts - /// The function "microsoft.graph.getTeamsUserActivityUserCounts", which exists on the type "microsoft.graph.reportRoot". - /// This function returns a "microsoft.graph.report" object. - /// - /// GitHub Repository - [Cmdlet("Invoke", "Reports_GetTeamsUserActivityUserCounts", DefaultParameterSetName = @"Get")] - [ODataType("microsoft.graph.reportRoot")] - [ResourceTypePropertyName("reportODataType")] - public class Invoke_Reports_GetTeamsUserActivityUserCounts : FunctionReturningEntityCmdlet - { - /// - /// The "period" function parameter of type "Edm.String". - /// - [ODataType("Edm.String")] - [Selectable] - [Expandable] - [ValidateNotNull] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "period" function parameter of type "Edm.String".")] - public System.String period { get; set; } - - internal override System.String GetResourcePath() - { - return $"reports/getTeamsUserActivityUserCounts({this.GetFunctionUrlSegment()})"; - } - } - - /// - /// GET ~/reports/getTeamsDeviceUsageUserDetail - /// The function "microsoft.graph.getTeamsDeviceUsageUserDetail", which exists on the type "microsoft.graph.reportRoot". - /// This function returns a "microsoft.graph.report" object. - /// - /// GitHub Repository - [Cmdlet("Invoke", "Reports_GetTeamsDeviceUsageUserDetail", DefaultParameterSetName = @"Overload_1")] - [ODataType("microsoft.graph.reportRoot")] - [ResourceTypePropertyName("reportODataType")] - public class Invoke_Reports_GetTeamsDeviceUsageUserDetail : FunctionReturningEntityCmdlet - { - /// - /// The "date" function parameter of type "Edm.Date". - /// - [ODataType("Edm.Date")] - [Selectable] - [Expandable] - [ValidateNotNull] - [Parameter(ParameterSetName = @"Overload_1", Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "date" function parameter of type "Edm.Date".")] - public System.DateTimeOffset date { get; set; } - - /// - /// The "period" function parameter of type "Edm.String". - /// - [ODataType("Edm.String")] - [Selectable] - [Expandable] - [ValidateNotNull] - [Parameter(ParameterSetName = @"Overload_2", Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "period" function parameter of type "Edm.String".")] - public System.String period { get; set; } - - internal override System.String GetResourcePath() - { - return $"reports/getTeamsDeviceUsageUserDetail({this.GetFunctionUrlSegment()})"; - } - } - - /// - /// GET ~/reports/getTeamsDeviceUsageUserCounts - /// The function "microsoft.graph.getTeamsDeviceUsageUserCounts", which exists on the type "microsoft.graph.reportRoot". - /// This function returns a "microsoft.graph.report" object. - /// - /// GitHub Repository - [Cmdlet("Invoke", "Reports_GetTeamsDeviceUsageUserCounts", DefaultParameterSetName = @"Get")] - [ODataType("microsoft.graph.reportRoot")] - [ResourceTypePropertyName("reportODataType")] - public class Invoke_Reports_GetTeamsDeviceUsageUserCounts : FunctionReturningEntityCmdlet - { - /// - /// The "period" function parameter of type "Edm.String". - /// - [ODataType("Edm.String")] - [Selectable] - [Expandable] - [ValidateNotNull] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "period" function parameter of type "Edm.String".")] - public System.String period { get; set; } - - internal override System.String GetResourcePath() - { - return $"reports/getTeamsDeviceUsageUserCounts({this.GetFunctionUrlSegment()})"; - } - } - - /// - /// GET ~/reports/getTeamsDeviceUsageDistributionUserCounts - /// The function "microsoft.graph.getTeamsDeviceUsageDistributionUserCounts", which exists on the type "microsoft.graph.reportRoot". - /// This function returns a "microsoft.graph.report" object. - /// - /// GitHub Repository - [Cmdlet("Invoke", "Reports_GetTeamsDeviceUsageDistributionUserCounts", DefaultParameterSetName = @"Get")] - [ODataType("microsoft.graph.reportRoot")] - [ResourceTypePropertyName("reportODataType")] - public class Invoke_Reports_GetTeamsDeviceUsageDistributionUserCounts : FunctionReturningEntityCmdlet - { - /// - /// The "period" function parameter of type "Edm.String". - /// - [ODataType("Edm.String")] - [Selectable] - [Expandable] - [ValidateNotNull] - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "period" function parameter of type "Edm.String".")] - public System.String period { get; set; } - - internal override System.String GetResourcePath() - { - return $"reports/getTeamsDeviceUsageDistributionUserCounts({this.GetFunctionUrlSegment()})"; - } - } - - /// - /// GET ~/reports/deviceConfigurationUserActivity - /// The function "microsoft.graph.deviceConfigurationUserActivity", which exists on the type "microsoft.graph.reportRoot". - /// This function returns a "microsoft.graph.report" object. - /// - /// GitHub Repository - [Cmdlet("Invoke", "Reports_DeviceConfigurationUserActivity", DefaultParameterSetName = @"Get")] - [ODataType("microsoft.graph.reportRoot")] - [ResourceTypePropertyName("reportODataType")] - public class Invoke_Reports_DeviceConfigurationUserActivity : FunctionReturningEntityCmdlet - { - internal override System.String GetResourcePath() - { - return $"reports/deviceConfigurationUserActivity({this.GetFunctionUrlSegment()})"; - } - } - - /// - /// GET ~/reports/deviceConfigurationDeviceActivity - /// The function "microsoft.graph.deviceConfigurationDeviceActivity", which exists on the type "microsoft.graph.reportRoot". - /// This function returns a "microsoft.graph.report" object. - /// - /// GitHub Repository - [Cmdlet("Invoke", "Reports_DeviceConfigurationDeviceActivity", DefaultParameterSetName = @"Get")] - [ODataType("microsoft.graph.reportRoot")] - [ResourceTypePropertyName("reportODataType")] - public class Invoke_Reports_DeviceConfigurationDeviceActivity : FunctionReturningEntityCmdlet - { - internal override System.String GetResourcePath() - { - return $"reports/deviceConfigurationDeviceActivity({this.GetFunctionUrlSegment()})"; - } - } - - /// - /// GET ~/reports/managedDeviceEnrollmentFailureDetails - /// The function "microsoft.graph.managedDeviceEnrollmentFailureDetails", which exists on the type "microsoft.graph.reportRoot". - /// This function returns a "microsoft.graph.report" object. - /// - /// GitHub Repository - [Cmdlet("Invoke", "Reports_ManagedDeviceEnrollmentFailureDetails", DefaultParameterSetName = @"Get")] - [ODataType("microsoft.graph.reportRoot")] - [ResourceTypePropertyName("reportODataType")] - public class Invoke_Reports_ManagedDeviceEnrollmentFailureDetails : FunctionReturningEntityCmdlet - { - /// - /// The "skip" function parameter of type "Edm.Int32". - /// - [ODataType("Edm.Int32")] - [Selectable] - [Expandable] - [Parameter(ParameterSetName = @"Overload_1", Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "skip" function parameter of type "Edm.Int32".")] - public System.Int32 skip { get; set; } - - /// - /// The "top" function parameter of type "Edm.Int32". - /// - [ODataType("Edm.Int32")] - [Selectable] - [Expandable] - [Parameter(ParameterSetName = @"Overload_1", Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "top" function parameter of type "Edm.Int32".")] - public System.Int32 top { get; set; } - - /// - /// The "filter" function parameter of type "Edm.String". - /// - [ODataType("Edm.String")] - [Selectable] - [Expandable] - [Parameter(ParameterSetName = @"Overload_1", Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "filter" function parameter of type "Edm.String".")] - public System.String filter { get; set; } - - /// - /// The "skipToken" function parameter of type "Edm.String". - /// - [ODataType("Edm.String")] - [Selectable] - [Expandable] - [Parameter(ParameterSetName = @"Overload_1", Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "skipToken" function parameter of type "Edm.String".")] - public System.String skipToken { get; set; } - - internal override System.String GetResourcePath() - { - return $"reports/managedDeviceEnrollmentFailureDetails({this.GetFunctionUrlSegment()})"; - } - } - - /// - /// GET ~/reports/managedDeviceEnrollmentTopFailures - /// The function "microsoft.graph.managedDeviceEnrollmentTopFailures", which exists on the type "microsoft.graph.reportRoot". - /// This function returns a "microsoft.graph.report" object. - /// - /// GitHub Repository - [Cmdlet("Invoke", "Reports_ManagedDeviceEnrollmentTopFailures", DefaultParameterSetName = @"Get")] - [ODataType("microsoft.graph.reportRoot")] - [ResourceTypePropertyName("reportODataType")] - public class Invoke_Reports_ManagedDeviceEnrollmentTopFailures : FunctionReturningEntityCmdlet - { - /// - /// The "period" function parameter of type "Edm.String". - /// - [ODataType("Edm.String")] - [Selectable] - [Expandable] - [Parameter(ParameterSetName = @"Overload_1", Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The "period" function parameter of type "Edm.String".")] - public System.String period { get; set; } - - internal override System.String GetResourcePath() - { - return $"reports/managedDeviceEnrollmentTopFailures({this.GetFunctionUrlSegment()})"; - } - } -} \ No newline at end of file diff --git a/PowerShellGraphSDK.csproj b/PowerShellGraphSDK.csproj index 55e825d..2c78c08 100644 --- a/PowerShellGraphSDK.csproj +++ b/PowerShellGraphSDK.csproj @@ -2,7 +2,7 @@ Library - 6.1811.0.4 + 6.1812.0.10 Rajesh Soy, Rohit Ramu Microsoft Corporation Microsoft Intune Graph PowerShell Client SDK diff --git a/PowerShellModuleAdditions/GraphSchema.csdl b/PowerShellModuleAdditions/GraphSchema.csdl index 610b57f..4819de5 100644 --- a/PowerShellModuleAdditions/GraphSchema.csdl +++ b/PowerShellModuleAdditions/GraphSchema.csdl @@ -1,4 +1,4 @@ - + @@ -1922,9 +1922,6 @@ - - - @@ -3972,14 +3969,12 @@ - - + - - + @@ -9362,17 +9357,7 @@ - - - - - - - - - - - + @@ -10675,7 +10660,7 @@ - + diff --git a/README.md b/README.md index a622a18..65286ab 100644 --- a/README.md +++ b/README.md @@ -4,8 +4,7 @@ - [Getting started](#getting-started) - [One-time setup](#one-time-setup) - [Before this module is used in your organization](#before-this-module-is-used-in-your-organization) - - [Each time you use the module](#each-time-you-use-the-module) - - [Scenario Modules](#scenario-modules) + - [Each time you use the module](#each-time-you-use-the-module) - [Discovering available commands](#discovering-available-commands) - [Example usage](#example-usage) - [Retrieving objects](#retrieving-objects) @@ -48,10 +47,13 @@ To authenticate with Microsoft Graph (this is not required when using CloudShell ```PowerShell Connect-MSGraph ``` - -## Scenario Modules -The scenario modules are available on GitHub in the [Microsoft/Intune-PowerShell-Management](https://github.com/Microsoft/Intune-PowerShell-Management) repository. - +To authenticate with Microsoft Graph using [System.Management.Automation.PSCredential] +```PowerShell +$adminUPN=Read-Host -Prompt "Enter UPN" +$adminPwd=Read-Host -AsSecureString -Prompt "Enter password for $adminUPN" +$creds = New-Object System.Management.Automation.PSCredential ($AdminUPN, $adminPwd) +$connection = Connect-MSGraph -PSCredential $creds +``` ## Discovering available commands Get the full list of available cmdlets: @@ -71,50 +73,50 @@ Show-Command ## Retrieving objects Get all Intune applications: ```PowerShell -Get-DeviceAppManagement_MobileApps +Get-IntuneMobileApp ``` Get all Intune device configurations: ```PowerShell -Get-DeviceManagement_DeviceConfigurations +Get-IntuneDeviceConfigurationPolicy ``` Get all Intune managed devices: ```PowerShell -Get-DeviceManagement_ManagedDevices +Get-IntuneManagedDevice ``` Get a filtered list of applications and select only the "displayName" and "publisher" properties: ```PowerShell # The filter string follows the same rules as specified in the OData v4.0 specification. # Filter string construction rules: http://docs.oasis-open.org/odata/odata/v4.0/errata03/os/complete/abnf/odata-abnf-construction-rules.txt -Get-DeviceAppManagement_MobileApps -Select displayName, publisher -Filter "isof('microsoft.graph.webApp')" +Get-IntuneMobileApp -Select displayName, publisher -Filter "isof('microsoft.graph.webApp')" ``` ## Creating objects Create a web application: ```PowerShell -$bingWebApp = New-DeviceAppManagement_MobileApps -webApp -displayName 'Bing' -publisher 'Microsoft Corporation' -AppUrl 'https://www.bing.com' +$bingWebApp = New-IntuneMobileApp -webApp -displayName 'Bing' -publisher 'Microsoft Corporation' -AppUrl 'https://www.bing.com' ``` ## Modifying objects Update the web application that we created in the '[Creating objects](#creating-objects)' section: ```PowerShell -$bingWebApp | Update-DeviceAppmanagement_MobileApps -webApp -displayName 'Bing Search' +$bingWebApp | Update-IntuneMobileApp -webApp -displayName 'Bing Search' ``` ## Deleting objects Delete the web application that we created in the '[Creating objects](#creating-objects)' section: ```PowerShell -$bingWebApp | Remove-DeviceAppmanagement_MobileApps +$bingWebApp | Remove-IntuneMobileApp ``` ## Calling functions and actions Lock a managed device: ```PowerShell # Get a device to lock -$allDevices = Get-DeviceManagement_ManagedDevices +$allDevices = Get-IntuneManagedDevice $deviceToLock = $allDevices[0] # Lock this device -$deviceToLock | Invoke-DeviceManagement_ManagedDevices_RemoteLock +$deviceToLock | Invoke-IntuneManagedDeviceRemoteLock ``` # Notable features diff --git a/Samples/Apps/Apps.psm1 b/Samples/Apps/Apps.psm1 new file mode 100644 index 0000000..194fef6 --- /dev/null +++ b/Samples/Apps/Apps.psm1 @@ -0,0 +1,14 @@ +function Get-MobileApp { + [CmdletBinding(DefaultParameterSetName='__AllParameterSets')] + param( + [Parameter(Mandatory, ValueFromPipelineByPropertyName, ParameterSetName='GetSingleApp')] + [ValidateNotNullOrEmpty()] + [string]$mobileAppId + ) + + if ($PSCmdlet.ParameterSetName -eq 'GetSingleApp') { + Get-IntuneMobileApp -mobileAppId $mobileAppId + } else { + Get-IntuneMobileApp | Get-MSGraphAllPages + } +} \ No newline at end of file diff --git a/Samples/Apps/Microsoft.Graph.Intune.Apps.psd1 b/Samples/Apps/Microsoft.Graph.Intune.Apps.psd1 new file mode 100644 index 0000000..1eee03a --- /dev/null +++ b/Samples/Apps/Microsoft.Graph.Intune.Apps.psd1 @@ -0,0 +1,123 @@ +# +# Module manifest for module 'Microsoft.Graph.Intune.Apps' +# +# Generated by: Microsoft Corporation +# +# Generated on: 9/19/2018 +# + +@{ + + # Script module or binary module file associated with this manifest. + RootModule = '.\Apps.psm1' + + # Version number of this module. + ModuleVersion = '6.1810.0.0' + + # Supported PSEditions + # CompatiblePSEditions = @() + + # ID used to uniquely identify this module + GUID = '9C123876-61CF-419B-A889-FF5BA18B1049' + + # Author of this module + Author = 'Microsoft Corporation' + + # Company or vendor of this module + CompanyName = 'Microsoft Corporation' + + # Copyright statement for this module + Copyright = '(c) 2018 Microsoft. All rights reserved.' + + # Description of the functionality provided by this module + Description = 'PowerShell cmdlets for managing applications with Microsoft Intune' + + # Minimum version of the Windows PowerShell engine required by this module + # PowerShellVersion = '' + + # Name of the Windows PowerShell host required by this module + # PowerShellHostName = '' + + # Minimum version of the Windows PowerShell host required by this module + # PowerShellHostVersion = '' + + # Minimum version of Microsoft .NET Framework required by this module. This prerequisite is valid for the PowerShell Desktop edition only. + # DotNetFrameworkVersion = '' + + # Minimum version of the common language runtime (CLR) required by this module. This prerequisite is valid for the PowerShell Desktop edition only. + # CLRVersion = '' + + # Processor architecture (None, X86, Amd64) required by this module + # ProcessorArchitecture = '' + + # Modules that must be imported into the global environment prior to importing this module + # RequiredModules = @() + + # Assemblies that must be loaded prior to importing this module + # RequiredAssemblies = @() + + # Script files (.ps1) that are run in the caller's environment prior to importing this module. + # ScriptsToProcess = @() + + # Type files (.ps1xml) to be loaded when importing this module + # TypesToProcess = @() + + # Format files (.ps1xml) to be loaded when importing this module + # FormatsToProcess = @() + + # Modules to import as nested modules of the module specified in RootModule/ModuleToProcess + NestedModules = @('.\UploadLobApp.psm1') + + # Functions to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no functions to export. + FunctionsToExport = '*' + + # Cmdlets to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no cmdlets to export. + CmdletsToExport = '*' + + # Variables to export from this module + # VariablesToExport = @() + + # Aliases to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no aliases to export. + AliasesToExport = '*' + + # DSC resources to export from this module + # DscResourcesToExport = @() + + # List of all modules packaged with this module + # ModuleList = @() + + # List of all files packaged with this module + # FileList = @() + + # Private data to pass to the module specified in RootModule/ModuleToProcess. This may also contain a PSData hashtable with additional module metadata used by PowerShell. + PrivateData = @{ + + PSData = @{ + + # Tags applied to this module. These help with module discovery in online galleries. + Tags = 'Microsoft', 'Microsoft Graph', 'Graph', 'Microsoft Intune', 'Intune', 'Applications', 'Apps' + + # A URL to the license for this module. + LicenseUri = 'https://github.com/Microsoft/Intune-PowerShell-Management/blob/master/LICENSE-CODE' + + # A URL to the main website for this project. + ProjectUri = 'https://github.com/Microsoft/Intune-PowerShell-Management' + + # A URL to an icon representing this module. + # IconUri = '' + + # ReleaseNotes of this module + # ReleaseNotes = '' + + } # End of PSData hashtable + + } # End of PrivateData hashtable + + # HelpInfo URI of this module + # HelpInfoURI = '' + + # Default prefix for commands exported from this module. Override the default prefix using Import-Module -Prefix. + # DefaultCommandPrefix = '' + + } + diff --git a/Samples/Apps/UploadIOSLobApp.ps1 b/Samples/Apps/UploadIOSLobApp.ps1 new file mode 100644 index 0000000..f3711bf --- /dev/null +++ b/Samples/Apps/UploadIOSLobApp.ps1 @@ -0,0 +1,22 @@ +Import-Module $env:testDir\LobApps\UploadLobApp.psm1 + +# Create the object that contains information about the app +$appToUpload = New-MobileAppObject ` + -iosLobApp ` + -displayName 'Test' ` + -description 'This is a test iOS LOB app' ` + -publisher 'Rohit Ramu' ` + -bundleId '' ` + -applicableDeviceType (New-IosDeviceTypeObject -iPad $true -iPhoneAndIPod $true) ` + -minimumSupportedOperatingSystem (New-IosMinimumOperatingSystemObject -v9_0 $true) ` + -fileName 'test.ipa' ` + -buildNumber 'v1' -versionNumber 'v1' -expirationDateTime ((Get-Date).AddDays(90)) + +$filePath = "$env:testDir\LobApps\test.ipa" +# Upload the app file with the app information +# !! Replace 'test.ipa' with the path to your *.ipa file !! +$createdApp = New-LobApp ` + -filePath $filePath ` + -mobileApp $appToUpload + +Write-Output $createdApp \ No newline at end of file diff --git a/Samples/Apps/UploadLobApp.psm1 b/Samples/Apps/UploadLobApp.psm1 new file mode 100644 index 0000000..31a359e --- /dev/null +++ b/Samples/Apps/UploadLobApp.psm1 @@ -0,0 +1,298 @@ +function EncryptFile($sourceFile) { + $bufferBlockSize = 1024 * 4 + $buffer = New-Object byte[] $bufferBlockSize + $bytesRead = 0 + + try { + $aes = [System.Security.Cryptography.Aes]::Create() + $initializationVector = $aes.IV + + $aesProvider = New-Object System.Security.Cryptography.AesCryptoServiceProvider + $hmacSha256 = New-Object System.Security.Cryptography.HMACSHA256 + $aesProvider.GenerateKey() + $hmacKey = $aesProvider.Key + $hmacSha256.Key = $hmacKey + $hmacLength = $hmacSha256.HashSize / 8 + + # Create the stream that we will write to + $targetStream = New-Object System.IO.MemoryStream + + # Add empty space for the hmac and initialization vector + $targetStream.Write($buffer, 0, $hmacLength + $initializationVector.Length) + + # Create the Crypto stream + $aesProvider.GenerateKey() + $encryptionKey = $aesProvider.Key + $encryptor = $aes.CreateEncryptor($encryptionKey, $initializationVector) + $sourceStream = [System.IO.File]::Open($sourceFile, [System.IO.FileMode]::Open, [System.IO.FileAccess]::Read, [System.IO.FileShare]::Read) + $cryptoStream = New-Object System.Security.Cryptography.CryptoStream -ArgumentList @($targetStream, $encryptor, [System.Security.Cryptography.CryptoStreamMode]::Write) + + # Write encrypted file + while (($bytesRead = $sourceStream.Read($buffer, 0, $bufferBlockSize)) -gt 0) { + $cryptoStream.Write($buffer, 0, $bytesRead) + $cryptoStream.Flush() + } + $cryptoStream.FlushFinalBlock() + + # Write initialization vector + $targetStream.Seek($hmacLength, [System.IO.SeekOrigin]::Begin) | Out-Null + $targetStream.Write($initializationVector, 0, $initializationVector.Length) + $targetStream.Seek($hmacLength, [System.IO.SeekOrigin]::Begin) | Out-Null + + # Create HMAC + $hmac = $hmacSha256.ComputeHash($targetStream) + + # Write HMAC + $targetStream.Seek(0, [System.IO.SeekOrigin]::Begin) | Out-Null + $targetStream.Write($hmac, 0, $hmac.Length) + + # Create file digest + $fileDigestAlgorithm = 'SHA256' + $fileDigest = (Get-FileHash $sourceFile -Algorithm $fileDigestAlgorithm).Hash + [byte[]]$fileDigestBytes = New-Object byte[] ($fileDigest.Length / 2) # 2 hexadecimal characters represents 1 byte here + for ($i = 0; $i -lt $fileDigest.Length; $i += 2) { + $fileDigestBytes[$i / 2] = [System.Convert]::ToByte($fileDigest.Substring($i, 2), 16) + } + + # Return encrypted file and encryption info that can be sent to Intune + $fileBytes = $targetStream.ToArray() + return @{ + 'file' = $fileBytes + 'info' = New-FileEncryptionInfoObject ` + -encryptionKey $encryptionKey ` + -macKey $hmacKey ` + -initializationVector $initializationVector ` + -mac $hmac ` + -profileIdentifier 'ProfileVersion1' ` + -fileDigest $fileDigestBytes ` + -fileDigestAlgorithm $fileDigestAlgorithm + } + } + finally + { + if ($cryptoStream) { $cryptoStream.Dispose() } + if ($sourceStream) { $sourceStream.Dispose() } + if ($encryptor) { $encryptor.Dispose() } + if ($targetStream) { $targetStream.Dispose() } + if ($aes) { $aes.Dispose() } + } +} + +################################################################################################### + +function WaitForFileProcessing($file, $stage) { + $attempts = 6 + $waitTimeInSeconds = 1 + + $result = $null + while ($attempts -gt 0) { + $result = $file | Get-IntuneMobileAppContentVersionFile + + if ($result.uploadState -like "$($stage)Success") { + return $result + } elseif ($result.uploadState -like "$($stage)Pending") { + Start-Sleep $waitTimeInSeconds + $attempts-- + $waitTimeInSeconds *= 2 + } else { + throw "File processing for stage '$stage' was not successful: $($result.uploadState)" + } + } + + throw "File request timed out." +} + +function WaitForAzureStorageRequest($file) { + return WaitForFileProcessing -file $file -stage 'AzureStorageUriRequest' +} + +function WaitForAzureFileCommitted($file) { + return WaitForFileProcessing -file $file -stage 'CommitFile' +} + +################################################################################################### + +function UploadAzureStorageChunk($sasUri, $id, $body) { + $uri = "$sasUri&comp=block&blockid=$id" + $request = "PUT $uri" + + $iso = [System.Text.Encoding]::GetEncoding("iso-8859-1") + $encodedBody = $iso.GetString($body) + $headers = @{ "x-ms-blob-type" = "BlockBlob" } + + if ($logRequestUris) { Write-Host $request } + if ($logHeaders) { WriteHeaders $headers } + + try { + Invoke-WebRequest $uri -Method Put -Headers $headers -Body $encodedBody -UseBasicParsing | Out-Null + } catch { + Write-Host -ForegroundColor Red $request + Write-Host -ForegroundColor Red $.Exception.Message + throw + } + +} + +function FinalizeAzureStorageUpload($sasUri, $ids) { + $uri = "$sasUri&comp=blocklist" + $request = "PUT $uri" + + $xml = '' + foreach ($id in $ids) { + $xml += "$id" + } + $xml += '' + + if ($logRequestUris) { Write-Host $request } + if ($logContent) { Write-Host -ForegroundColor Gray $xml } + + try { + Invoke-RestMethod $uri -Method Put -Body $xml | Out-Null + } catch { + Write-Host -ForegroundColor Red $request + Write-Host -ForegroundColor Red $.Exception.Message + throw + } +} + +function UploadFileToAzureStorage($sasUri, $bytes) { + # Chunk size = 1 MiB + $chunkSizeInBytes = 1024 * 1024 + + # Read the whole file and find the total chunks. + $chunks = [Math]::Ceiling($bytes.Length / $chunkSizeInBytes) + + # Upload each chunk. + $ids = @() + for ($chunk = 0; $chunk -lt $chunks; $chunk++) { + $id = [System.Convert]::ToBase64String([System.Text.Encoding]::UTF8.GetBytes($chunk.ToString("0000"))) + $ids += $id + + $start = $chunk * $chunkSizeInBytes + $end = [Math]::Min($start + $chunkSizeInBytes - 1, $bytes.Length - 1) + $body = $bytes[$start..$end] + + Write-Progress -Activity "Uploading File to Azure Storage" -status "Uploading chunk $($chunk + 1) of $chunks" -percentComplete (($chunk + 1) / $chunks*100) + UploadAzureStorageChunk -sasUri $sasUri -id $id -body $body + } + Write-Progress -Completed -Activity "Uploading File to Azure Storage" + + # Finalize the upload. + FinalizeAzureStorageUpload -sasUri $sasUri -ids $ids +} + +function script:ValidateMobileAppWithFile($file, $mobileApp) { + # Get the mobileApp's OData type name + $mobileAppTypeName = $mobileApp.'@odata.type' + if (-not $mobileAppTypeName) { + throw "There must be an '@odata.type' property on the mobileApp object." + } + + # Validate the file based on the OData type of the app metadata object + $androidAppTypeName = '#microsoft.graph.androidLobApp' + $iosAppTypeName = '#microsoft.graph.iosLobApp' + switch ($mobileAppTypeName) { + $androidAppTypeName { + # Make sure this is the right file type + $expectedFileExtension = 'apk'; + if ($sourceFile.Extension -ne ".$expectedFileExtension") { + throw "The file '$($sourceFile.Name)' is not a valid '*.$expectedFileExtension' file" + } + } + $iosAppTypeName { + # Make sure this is the right file type + $expectedFileExtension = 'ipa'; + if ($sourceFile.Extension -ne ".$expectedFileExtension") { + throw "The file '$($sourceFile.Name)' is not a valid '*.$expectedFileExtension' file" + } + + # Check the expiration date/time + if ([System.DateTimeOffset]::Now -gt $mobileApp.expirationDateTime) { + throw "The file '$($sourceFile.Name)' has expired" + } + } + default { + throw "Unknown app type '$mobileAppTypeName'" + } + } +} + +################################################################################################### + +function New-LobApp { + [CmdletBinding()] + param( + [ValidateNotNullOrEmpty()] + [string]$filePath, + + [ValidateNotNull()] + [PSObject]$mobileApp + ) + + try { + Write-Host "Validating the file '$filePath'..." -ForegroundColor Yellow + + # Make sure the file exists + if (-not (Test-Path -LiteralPath $filePath -PathType Leaf)) { + throw "The file '$filePath' does not exist" + } + + # Get the file + $sourceFile = Get-Item $filePath + + # Validate the provided mobileApp + Write-Host "Validating the provided mobileApp..." -ForegroundColor Yellow + ValidateMobileAppWithFile -file $sourceFile -mobileApp $mobileApp + + # Post the app metadata to Intune + $createdApp = $mobileApp | New-IntuneMobileApp + + # Create a new content version for this app + Write-Host "Creating Content Version in Intune for the application..." -ForegroundColor Yellow + $contentVersion = $createdApp | New-IntuneMobileAppContentVersion + + # Encrypt the file + Write-Host "Encrypting the file '$($sourceFile.Name)'..." -ForegroundColor Yellow + $encryptionResult = EncryptFile -sourceFile $sourceFile + + # Upload the file manifest to Intune + Write-Host "Uploading the file's information to Intune..." -ForegroundColor Yellow + $file = $contentVersion | New-IntuneMobileAppContentVersionFile ` + -name $sourceFile.Name ` + -size $sourceFile.Length ` + -sizeEncrypted $encryptionResult.file.Length + + # Wait for Azure Storage to get ready + Write-Host "Waiting for the file's upload URI to be created..." -ForegroundColor Yellow + $file = WaitForAzureStorageRequest -file $file + + # Upload the file to Azure Storage + Write-Host "Uploading file to Azure Storage at '$($file.azureStorageUri)'..." -f Yellow + UploadFileToAzureStorage -sasUri ($file.azureStorageUri) -bytes ($encryptionResult.file) + + # Commit file + Write-Host "Asking Intune to commit the file that has been uploaded to Azure Storage..." -ForegroundColor Yellow + $file | Invoke-IntuneMobileAppContentVersionFileCommit -fileEncryptionInfo $encryptionResult.info + + # Wait for Azure Storage to aknowledge the commit + Write-Host "Waiting for Intune to process the commit file request..." -ForegroundColor Yellow + $file = WaitForAzureFileCommitted -file $file + + # Tell Intune that this file is now the latest version of the app + Write-Host "Telling Intune that the committed file is the latest version of this app..." -ForegroundColor Yellow + $createdApp | Update-IntuneMobileApp -committedContentVersion $contentVersion.id + + # Return the file + Write-Output $file + + Write-Host "Finished uploading app '$filePath'" -ForegroundColor Green + } catch { + # To ensure that all errors are terminating errors + throw + } +} + +################################################################################################### + +# Don't export helper functions +Export-ModuleMember -Function New-LobApp diff --git a/Samples/Apps/VisualizeData.ps1 b/Samples/Apps/VisualizeData.ps1 new file mode 100644 index 0000000..6fd61c4 --- /dev/null +++ b/Samples/Apps/VisualizeData.ps1 @@ -0,0 +1,85 @@ +[CmdletBinding()] +param( + [ValidateNotNullOrEmpty()] + [string]$Title, + + [ValidateSet('Pie', 'Bar', 'Column')] + [string]$ChartType, + + [string]$XLabel, + + [string]$YLabel, + + [ValidateNotNull()] + [object[]]$XValues, + + [ValidateNotNull()] + [object[]]$YValues +) + +if ($XValues.Length -ne $YValues.Length) { + throw "Number of X ($($XValues.Length)) values must equal number of Y values ($($YValues.Length))" +} + +[Reflection.Assembly]::LoadWithPartialName("System.Windows.Forms") | Out-Null +[Reflection.Assembly]::LoadWithPartialName("System.Windows.Forms.DataVisualization") | Out-Null + +# Create a chart object +$chart = New-Object System.Windows.Forms.DataVisualization.Charting.Chart +$chart.Width = 500 +$chart.Height = 500 +$chart.Left = 40 +$chart.Top = 30 + +# Create a ChartArea to draw on and add it to chart +$chartArea = New-Object System.Windows.Forms.DataVisualization.Charting.ChartArea +$chart.ChartAreas.Add($chartArea) + +# Add data to the chart +$series = New-Object System.Windows.Forms.DataVisualization.Charting.Series -ArgumentList 'Data' +$series.Points.DataBindXY($XValues, $YValues) + +# Set specialized chart options based on chart type +switch ($ChartType) { + 'Pie' { + $series.ChartType = [System.Windows.Forms.DataVisualization.Charting.SeriesChartType]::Pie + $series["PieLabelStyle"] = "Outside" + $series["PieLineColor"] = "Black" + $series["PieDrawingStyle"] = "Concave" + ($series.Points.FindMaxByValue())["Exploded"] = $true + } + + 'Bar' { + $series.ChartType = [System.Windows.Forms.DataVisualization.Charting.SeriesChartType]::Bar + $series['DrawingStyle'] = 'Cylinder' + } + + 'Column' { + $series.ChartType = [System.Windows.Forms.DataVisualization.Charting.SeriesChartType]::Column + $series['DrawingStyle'] = 'Cylinder' + } + + default { + throw "Unknown chart type '$ChartType'" + } +} +$chart.BackColor = [System.Drawing.Color]::Transparent + +# Add the labels +$chart.Titles.Add($Title) | Out-Null +$chartArea.AxisX.Title = $XLabel +$chartArea.AxisY.Title = $YLabel + +# Display the chart on a form +$chart.Series.Add($series) +$chart.Anchor = [System.Windows.Forms.AnchorStyles]::Bottom ` + -bor [System.Windows.Forms.AnchorStyles]::Right ` + -bor [System.Windows.Forms.AnchorStyles]::Top ` + -bor [System.Windows.Forms.AnchorStyles]::Left +$form = New-Object Windows.Forms.Form +$form.Text = $Title +$form.Width = 600 +$form.Height = 600 +$form.controls.add($chart) +$form.Add_Shown({$form.Activate()}) +$form.ShowDialog() | Out-Null \ No newline at end of file diff --git a/Samples/Apps/test.apk b/Samples/Apps/test.apk new file mode 100644 index 0000000..d910c63 Binary files /dev/null and b/Samples/Apps/test.apk differ diff --git a/Samples/Apps/test.ipa b/Samples/Apps/test.ipa new file mode 100644 index 0000000..0a12c0c Binary files /dev/null and b/Samples/Apps/test.ipa differ diff --git a/Samples/README.md b/Samples/README.md new file mode 100644 index 0000000..fd4736a --- /dev/null +++ b/Samples/README.md @@ -0,0 +1,528 @@ +# Table of Contents +- [Table of Contents](#table-of-contents) +- [Intune-PowerShell-SDK](#intune-powershell-sdk) +- [Getting started](#getting-started) + - [One-time setup](#one-time-setup) + - [Before this module is used in your organization](#before-this-module-is-used-in-your-organization) + - [Each time you use the module](#each-time-you-use-the-module) + - [Discovering available commands](#discovering-available-commands) +- [Basics](#basics) + - [List Objects](#list-objects) + - [Bulk create objects](#bulk-create-objects) + - [Filter objects](#filter-objects) + - [Paging](#paging) + - [Getting Extended Debug information](#getting-extended-debug-information) +- [Scenario Samples](#scenario-samples) + - [Publish iOS LOB Application](#publish-ios-lob-application) + - [Create Compliance Policies and Assign it to an AAD Group](#create-compliance-policies-and-assign-it-to-an-AAD-Group) + - [Create an iOS Compliance Policy](#create-an-iOS-compliance-policy) + - [Create Android Compliance Policy](#create-android-compliance-policy) + - [Create Windows 10 Compliance Policy](#create-windows-10-compliance-policy) + - [Create MacOS Compliance Policy](#create-macos-compliance-policy) + - [Create Configuration Policies and Assign it to an AAD Group](#create-configuration-policies-and-assign-it-to-an-AAD-Group) + - [Create iOS Restriction Policy](#create-ios-restriction-policy) + - [Create Android Restriction Policy](#create-android-restriction-policy) + - [Create App Protection Polies and assign it to an AAD Group](#create-app-protection-policies-and-assign-it-to-an-AAD-Group) + - [iOS App Protection Policy Creation](#ios-app-protection-policy-creation) + - [Android App Protection Policy Creation](#android-app-protection-policy-creation) + - [Visualize summary of apps by type](#visualize-summary-of-apps-by-type) + +# Intune-PowerShell-SDK +This repository contains the source code for the PowerShell module which provides support for the Intune API through Microsoft Graph. + +This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com. + +When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA. + +This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments. + +# Getting started +## One-time setup +1. Download the module from the [Releases](https://github.com/Microsoft/Intune-PowerShell-SDK/releases) tab in the GitHub repository. +2. The "Release" folder in the zip file contains two folders: "net471" and "netstandard2.0". + - If you are using Windows, extract the "net471" folder. **You must have .NET 4.7.1 or higher installed**. + - If you are using any other operating system or platform (including CloudShell), extract the "netstandard2.0" folder. You may rename the extracted folder to whatever you like. +3. The module manifest is the "Microsoft.Graph.Intune.psd1" file inside this folder. This is the file you would refer to when importing the module (see the next section below). + +## Before this module is used in your organization +An admin user must provide consent for this app to be used in their organization. This can be done with the following command: +```PowerShell +Connect-MSGraph -AdminConsent +``` + +## Each time you use the module +Import the module: +```PowerShell +Import-Module $sdkDir/Microsoft.Graph.Intune.psd1 +``` +To authenticate with Microsoft Graph (this is not required when using CloudShell): +```PowerShell +Connect-MSGraph +``` +To authenticate with Microsoft Graph using [System.Management.Automation.PSCredential] +```PowerShell +$adminUPN=Read-Host -Prompt "Enter UPN" +$adminPwd=Read-Host -AsSecureString -Prompt "Enter password for $adminUPN" +$creds = New-Object System.Management.Automation.PSCredential ($AdminUPN, $adminPwd) +$connection = Connect-MSGraph -PSCredential $creds +``` + +## Discovering available commands +Get the full list of available cmdlets: +```PowerShell +Get-Command -Module Microsoft.Graph.Intune +``` +Get documentation on a particular cmdlet: +```PowerShell +Get-Help +``` +Use a UI to see the parameter sets more easily: +```PowerShell +Show-Command +``` +# Basics +## List Objects +Get all Intune applications: +```PowerShell +Get-IntuneMobileApp +``` +## Filter objects +Use -Select to restrict properties to display: +```PowerShell +Get-IntuneMobileApp -Select displayName, publisher +``` +Use -Filter to filter results: +```PowerShell +Get-IntuneMobileApp -Select displayName, publisher -Filter "contains(publisher, 'Microsoft')" +``` +## Bulk create objects +Bulk create multiple webApp objects (they should appear in the Azure Portal) +```PowerShell +$createdApps = 'https://www.bing.com', 'https://developer.microsoft.com/graph', 'https://portal.azure.com' ` +| ForEach-Object { ` + New-IntuneMobileApp ` + -webApp ` + -displayName $_ ` + -publisher 'Rohit' ` + -appUrl $_ ` + -useManagedBrowser $false ` +} +``` +Display using GridView +```PowerShell +1..15 | ForEach-Object { ` + New-IntuneMobileApp ` + -webApp ` + -displayName "Bing #$_" ` + -publisher 'Microsoft' ` + -appUrl 'https://www.bing.com' ` + -useManagedBrowser ([bool]($_ % 2)) ` +} | Out-GridView +``` + +Remove all webApps. +```PowerShell +# Remove all web apps +$appsToDelete = Get-IntuneMobileApp -Filter "isof('microsoft.graph.webApp')" +$appsToDelete | Remove-IntuneMobileApp +``` + +## Paging +Show paging of audit events (run this in a different window). +```PowerShell +# Audit events are accessible from the beta schema +Update-MSGraphEnvironment -SchemaVersion 'beta' +Connect-MSGraph + +# Make the call to get audit events +$auditEvents = Invoke-MSGraphRequest -HttpMethod GET -Url 'deviceManagement/auditEvents' +$auditEvents # more than 1000 results, so they are wrapped in an object with the nextLink +$auditEvents.value | measure + +# We can get the next page +$auditEvents2 = $auditEvents | Get-MSGraphNextPage +$auditEvents.value | measure # have to unwrap the results again + +# Get all pages of audit events +$auditEvents = Invoke-MSGraphRequest -HttpMethod GET -Url 'deviceManagement/auditEvents' | Get-MSGraphAllPages + +# Switch back to v1.0 +Update-MSGraphEnvironment -SchemaVersion 'v1.0' +``` +## Getting Extended Debug information +If for some reason, a cmdlet fails. Use Get-MSGraphInfo to get extended information. +A sample failure is listed below: +```PowerShell +# Call that failed +Invoke-IntuneDeviceCompliancePolicyAssign : 500 Internal Server Error +{ + "error": { + "code": "InternalError", + "message": "{\r\n \"_version\": 3,\r\n \"Message\": \"An internal server error has occurred - Operation ID (for customer support): 00000000-0000-0000-0000-000000000000 - Activity ID: a02e4ad2-efdb-4ae0-8b36-7c990a228f21 - +Url: https://fef.msua06.manage.microsoft.com/StatelessDeviceConfigurationFEService/deviceManagement/deviceCompliancePolicies%28%27bc4c48a9-4120-4531-8870-f57767d43da4%27%29/microsoft.management.services.api.assign?api-version=2018 +-06-29\",\r\n \"CustomApiErrorPhrase\": \"\",\r\n \"RetryAfter\": null,\r\n \"ErrorSourceService\": \"\",\r\n \"HttpHeaders\": \"{}\"\r\n}", + "innerError": { + "request-id": "a02e4ad2-efdb-4ae0-8b36-7c990a228f21", + "date": "2018-11-28T21:44:56" + } + } +} +At line:1 char:1 ++ Invoke-IntuneDeviceCompliancePolicyAssign -deviceCompliancePolicyId ... ++ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + CategoryInfo : ConnectionError: (@{Request=; Response=}:PSObject) [Invoke-IntuneDe...ncePolicyAssign], HttpRequestException + + FullyQualifiedErrorId : PowerShellGraphSDK_HttpRequestError,Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets.Invoke_IntuneDeviceCompliancePolicyAssign + +# Get Debug information +Get-MSGraphDebugInfo + +Request +------- +@{HttpMethod=POST; URL=https://graph.microsoft.com/v1.0/deviceManagement/deviceCompliancePolicies/bc4c48a9-4120-4531-8870-f57767d43da4/assign; Headers=; Content={... + +# Look into the Request +(Get-MSGraphDebugInfo).Request + +HttpMethod URL Headers +---------- --- ------- +POST https://graph.microsoft.com/v1.0/deviceManagement/deviceCompliancePolicies/bc4c48a9-4120-4531-8870-f57767d43da4/assign @{Authorization=Bearer eyJ0eXAiOiJKV1QiLCJub25jZSI6IkFRQUJBQUFBQUFDNXVuYTBFVUZnVElGOEVsYXh0V2pUam... + +# Look into the Response +(Get-MSGraphDebugInfo).Response + +HttpStatusCode HttpStatusPhrase Headers +-------------- ---------------- ------- + 500 Internal Server Error @{Transfer-Encoding=chunked; request-id=a02e4ad2-efdb-4ae0-8b36-7c990a228f21; client-request-id=a02e4ad2-efdb-4ae0-8b36-7c990a228f21; x-ms-ags-diagnostic={"ServerInfo":{"DataCenter":"West Ce... + +# Inspect the Response headers +(Get-MSGraphDebugInfo).Response.Headers + +Transfer-Encoding : chunked +request-id : a02e4ad2-efdb-4ae0-8b36-7c990a228f21 +client-request-id : a02e4ad2-efdb-4ae0-8b36-7c990a228f21 +x-ms-ags-diagnostic : {"ServerInfo":{"DataCenter":"West Central US","Slice":"SliceC","Ring":"1","ScaleUnit":"001","Host":"AGSFE_IN_4","ADSiteName":"WCU"}} +Duration : 496.4757 +Strict-Transport-Security : max-age=31536000 +Cache-Control : private +Date : Wed, 28 Nov 2018 21:44:55 GMT + +``` + +# Scenario Samples +## Upload iOS LOB Application +Load the Apps scenario module +```PowerShell +Import-Module '.\Apps\Microsoft.Graph.Intune.Apps.psd1' +``` + +Upload the iOS LOB app. +```PowerShell +# Upload an iOS Line-Of-Business app +$appToUpload = New-MobileAppObject ` + -iosLobApp ` + -displayName "Intune test iOS Lob App" ` + -description 'This is a test iOS LOB app' ` + -publisher 'Test Publisher' ` + -bundleId '' ` + -applicableDeviceType (New-IosDeviceTypeObject -iPad $true -iPhoneAndIPod $true) ` + -minimumSupportedOperatingSystem (New-IosMinimumOperatingSystemObject -v9_0 $true) ` + -fileName 'test.ipa' ` + -buildNumber 'v1' -versionNumber 'v1' -expirationDateTime ((Get-Date).AddDays(90)) + +# Upload the app file with the app information +$uploadedAppFile = New-LobApp -filePath '.\Apps\test.ipa' -mobileApp $appToUpload +``` +## Create Compliance Policies and Assign it to an AAD Group +```PowerShell +# Search the AAD Group +$AADGroupId = (Get-Groups -Filter "displayName eq 'Intune POC Users'").id +``` + +### Create an iOS Compliance Policy +```PowerShell +$iOSCompliancePolicy = New-IntuneDeviceCompliancePolicy ` + -iosCompliancePolicy ` + -displayName "Chicago - iOS Compliance Policy" ` + -passcodeRequired $true ` + -passcodeMinimumLength 6 ` + -passcodeMinutesOfInactivityBeforeLock 15 ` + -securityBlockJailbrokenDevices $true ` + -scheduledActionsForRule ` + (New-DeviceComplianceScheduledActionForRuleObject -ruleName PasswordRequired ` + -scheduledActionConfigurations ` + (New-DeviceComplianceActionItemObject -gracePeriodHours 0 ` + -actionType block ` + -notificationTemplateId "" ` + )` + ) + +# Assign the newly created compliance policy to the AAD Group +Invoke-IntuneDeviceCompliancePolicyAssign -deviceCompliancePolicyId $iOSCompliancePolicy.id ` + -assignments ` + (New-DeviceCompliancePolicyAssignmentObject ` + -target ` + (New-DeviceAndAppManagementAssignmentTargetObject ` + -groupAssignmentTarget ` + -groupId "$AADGroupId" ` + ) ` + ) +``` + +### Create Android Compliance Policy +```PowerShell +$androidCompliancePolicy = New-IntuneDeviceCompliancePolicy ` + -androidCompliancePolicy ` + -displayName "Chicago - Android Compliance Policy" ` + -passwordRequired $true ` + -passwordMinimumLength 6 ` + -securityBlockJailbrokenDevices $true ` + -passwordMinutesOfInactivityBeforeLock 15 ` + -scheduledActionsForRule ` + (New-DeviceComplianceScheduledActionForRuleObject ` + -ruleName PasswordRequired ` + -scheduledActionConfigurations ` + (New-DeviceComplianceActionItemObject ` + -gracePeriodHours 0 ` + -actionType block ` + -notificationTemplateId "" ` + )` + ) + +# Assign the newly created compliance policy to the AAD Group +Invoke-IntuneDeviceCompliancePolicyAssign -deviceCompliancePolicyId $androidCompliancePolicy.id ` + -assignments ` + (New-DeviceCompliancePolicyAssignmentObject ` + -target ` + (New-DeviceAndAppManagementAssignmentTargetObject ` + -groupAssignmentTarget ` + -groupId "$AADGroupId" ` + ) ` + ) +``` + +### Create Windows 10 Compliance Policy +```PowerShell +$windows10CompliancePolicy = New-IntuneDeviceCompliancePolicy ` + -windows10CompliancePolicy ` + -displayName "Chicago - Windows 10 Compliance Policy" ` + -osMinimumVersion 10.0.16299 ` + -scheduledActionsForRule ` + (New-DeviceComplianceScheduledActionForRuleObject ` + -ruleName PasswordRequired ` + -scheduledActionConfigurations ` + (New-DeviceComplianceActionItemObject ` + -gracePeriodHours 0 ` + -actionType block ` + -notificationTemplateId "" ` + ) ` + ) + +# Assign the newly created compliance policy to the AAD Group +Invoke-IntuneDeviceCompliancePolicyAssign -deviceCompliancePolicyId $windows10CompliancePolicy.id ` + -assignments ` + (New-DeviceCompliancePolicyAssignmentObject ` + -target ` + (New-DeviceAndAppManagementAssignmentTargetObject ` + -groupAssignmentTarget ` + -groupId "$AADGroupId" ` + ) ` + ) +``` + +### Create MacOS Compliance Policy +```PowerShell +$macOSCompliancePolicy = New-IntuneDeviceCompliancePolicy ` + -macOSCompliancePolicy ` + -displayName "Chicago - MacOS Compliance Policy" ` + -passwordRequired $true ` + -passwordBlockSimple $false ` + -passwordRequiredType deviceDefault ` + -scheduledActionsForRule ` + (New-DeviceComplianceScheduledActionForRuleObject ` + -ruleName PasswordRequired ` + -scheduledActionConfigurations ` + (New-DeviceComplianceActionItemObject ` + -gracePeriodHours 0 ` + -actionType block ` + -notificationTemplateId "" ` + ) ` + ) + +# Assign the newly created compliance policy to the AAD Group +Invoke-IntuneDeviceCompliancePolicyAssign -deviceCompliancePolicyId $macOSCompliancePolicy.id ` + -assignments ` + (New-DeviceCompliancePolicyAssignmentObject ` + -target ` + (New-DeviceAndAppManagementAssignmentTargetObject ` + -groupAssignmentTarget ` + -groupId "$AADGroupId" ` + )` + ) +``` +## Create Configuration Policies and Assign it to an AAD Group +```PowerShell +# Search the AAD Group +$AADGroupId = (Get-Groups -Filter "displayName eq 'Intune POC Users'").id +``` + +### Create iOS Restriction Policy +```PowerShell +$iosGeneralDeviceConfiguration = New-IntuneDeviceConfigurationPolicy ` + -iosGeneralDeviceConfiguration ` + -displayName "Chicago - iOS Device Restriction Policy" ` + -iCloudBlockBackup $true ` + -iCloudBlockDocumentSync $true ` + -iCloudBlockPhotoStreamSync $true + +# Assign the newly created configuration policy to the AAD Group +Invoke-IntuneDeviceConfigurationPolicyAssign -deviceConfigurationId $iosGeneralDeviceConfiguration.id ` + -assignments ` + (New-DeviceConfigurationAssignmentObject ` + -target ` + (New-DeviceAndAppManagementAssignmentTargetObject ` + -groupAssignmentTarget ` + -groupId "$AADGroupId" ` + ) ` + ) +``` + +### Create Android Restriction Policy +```PowerShell +$androidGeneralDeviceConfiguration = New-IntuneDeviceConfigurationPolicy ` + -androidGeneralDeviceConfiguration ` + -displayName "Chicago - Android Device Restriction Policy" ` + -passwordRequired $true ` + -passwordRequiredType deviceDefault ` + -passwordMinimumLength 4 + +# Assign the newly created configuration policy to the AAD Group +Invoke-IntuneDeviceConfigurationPolicyAssign -deviceConfigurationId $androidGeneralDeviceConfiguration.id ` + -assignments ` + (New-DeviceConfigurationAssignmentObject ` + -target ` + (New-DeviceAndAppManagementAssignmentTargetObject ` + -groupAssignmentTarget -groupId "$AADGroupId" ` + ) ` + ) + +``` +## Create App Protection Polies and assign it to an AAD Group +### iOS App Protection Policy Creation +```PowerShell +# Get the list of iOS managed mobileapp objects +$appsiOS = @() +$iosManagedAppProtectionApps = Get-IntuneMobileApp | ? { $_.appAvailability -eq "global" -and ($_.'@odata.type').contains("managedIOS") } +foreach($app in $iosManagedAppProtectionApps) +{ + $bundleId = $app.bundleId + $appsiOS += (New-ManagedMobileAppObject -mobileAppIdentifier (New-MobileAppIdentifierObject -iosMobileAppIdentifier -bundleId "$bundleId")) +} + +# Create the ios App Protection Policy +$iosManagedAppProtection = New-IntuneAppProtectionPolicy ` + -iosManagedAppProtection ` + -displayName "iOS MAM / APP Policy" ` + -periodOfflineBeforeAccessCheck (New-TimeSpan -Hours 12) ` + -periodOnlineBeforeAccessCheck (New-TimeSpan -Minutes 30)` + -allowedInboundDataTransferSources managedApps ` + -allowedOutboundDataTransferDestinations managedApps ` + -allowedOutboundClipboardSharingLevel managedAppsWithPasteIn ` + -organizationalCredentialsRequired $false ` + -dataBackupBlocked $true ` + -managedBrowserToOpenLinksRequired $false ` + -deviceComplianceRequired $false ` + -saveAsBlocked $true ` + -periodOfflineBeforeWipeIsEnforced (New-TimeSpan -Days 30) ` + -pinRequired $true ` + -maximumPinRetries 5 ` + -simplePinBlocked $false ` + -minimumPinLength 4 ` + -pinCharacterSet numeric ` + -periodBeforePinReset (New-TimeSpan -Days 30) ` + -allowedDataStorageLocations @("oneDriveForBusiness","sharePoint") ` + -contactSyncBlocked $false ` + -printBlocked $true ` + -fingerprintBlocked $false ` + -disableAppPinIfDevicePinIsSet $false ` + -apps $appsiOS + +# Assign ios App Protection Policy to the AAD Group +Invoke-IntuneAppProtectionPolicyIosAssign -iosManagedAppProtectionId $iosManagedAppProtection.id ` + -assignments ` + (New-TargetedManagedAppPolicyAssignmentObject ` + -target ` + (New-DeviceAndAppManagementAssignmentTargetObject ` + -groupAssignmentTarget -groupId "$AADGroupId" ` + ) ` + ) +``` +### Android App Protection Policy Creation +```PowerShell + +# Get the list of Android managed mobileapp objects +$appsAndroid = @() +$AndroidAPPapps = Get-IntuneMobileApp | ? { $_.appAvailability -eq "global" -and ($_.'@odata.type').contains("managedAndroid") } +foreach($app in $AndroidAPPapps) +{ + $PackageId = $app.packageId + $appsAndroid += (New-ManagedMobileAppObject -mobileAppIdentifier (New-MobileAppIdentifierObject -androidMobileAppIdentifier -packageId "$PackageId")) +} + +# Create the Android App Protection Policy +$androidManagedAppProtectionPolicy = New-IntuneAppProtectionPolicy ` + -androidManagedAppProtection -displayName "Android MAM / APP Policy" ` + -periodOfflineBeforeAccessCheck (New-TimeSpan -Hours 12) ` + -periodOnlineBeforeAccessCheck (New-TimeSpan -Minutes 30)` + -allowedInboundDataTransferSources managedApps ` + -allowedOutboundDataTransferDestinations managedApps ` + -allowedOutboundClipboardSharingLevel managedAppsWithPasteIn ` + -organizationalCredentialsRequired $false ` + -dataBackupBlocked $true ` + -managedBrowserToOpenLinksRequired $false ` + -deviceComplianceRequired $false ` + -saveAsBlocked $true ` + -periodOfflineBeforeWipeIsEnforced (New-TimeSpan -Days 30) ` + -pinRequired $true ` + -maximumPinRetries 5 ` + -simplePinBlocked $false ` + -minimumPinLength 4 ` + -pinCharacterSet numeric ` + -periodBeforePinReset (New-TimeSpan -Days 30) ` + -allowedDataStorageLocations @("oneDriveForBusiness","sharePoint") ` + -contactSyncBlocked $false ` + -printBlocked $true ` + -disableAppPinIfDevicePinIsSet $false ` + -screenCaptureBlocked $true ` + -apps $appsAndroid + +# Assign Android App Protection Policy to the AAD Group +Invoke-IntuneAppProtectionPolicyAndroidAssign -androidManagedAppProtectionId $androidManagedAppProtectionPolicy.id ` + -assignments ` + (New-TargetedManagedAppPolicyAssignmentObject ` + -target ` + (New-DeviceAndAppManagementAssignmentTargetObject ` + -groupAssignmentTarget -groupId "$AADGroupId" ` + ) ` + ) +``` + +## Visualize summary of apps by type + +```PowerShell +# Get all apps +$apps = Get-IntuneMobileApp + +# Group the apps by type +$appsGroupedByType = $apps | Group-Object -Property '@odata.type' + +# Get the X axis and Y axis values for the graph (casting is required here) +[string[]]$XVals = $appsGroupedByType | ForEach-Object {$_.Name.Replace('#microsoft.graph.', '')} +[int[]]$YVals = $appsGroupedByType | ForEach-Object {$_.Count} + +# Display the results +.\Apps\VisualizeData.ps1 ` + -Title 'Intune Apps by Type' ` + -ChartType 'Pie' ` + -XLabel 'App Type' -YLabel 'Number of Apps' ` + -XValues $XVals -YValues $YVals +``` \ No newline at end of file diff --git a/Scripts/ListCmdlets.ps1 b/Scripts/ListCmdlets.ps1 new file mode 100644 index 0000000..468f306 --- /dev/null +++ b/Scripts/ListCmdlets.ps1 @@ -0,0 +1,44 @@ +param( + [Parameter(Mandatory = $false)] + [ValidateNotNullOrEmpty()] + [string]$ModuleName="$env:moduleName", + + [Parameter(Mandatory = $false)] + [ValidateNotNullOrEmpty()] + [string]$OutputDirectory="$env:sdkDir", + + [Parameter(Mandatory = $false)] + [ValidateNotNullOrEmpty()] + [switch]$IsFullOutput=$false +) + +$OutputDirectory = $OutputDirectory | Resolve-Path +$modulePath = "$OutputDirectory\$ModuleName.psd1" + +Push-Location $OutputDirectory + +Import-Module $modulePath +$sdkCmdlets = ((Get-Command -Module Microsoft.Graph.Intune).Name | Sort-Object) +$cmdletCount = $sdkCmdlets.Count +Write-Host "$cmdletCount Intune specific cmdlets exported by $modulePath" + +$sdkCmdletsList = @() +foreach ($sdkCmdlet in $sdkCmdlets) +{ + $sdkCmdletHelp = (Get-Help $sdkCmdlet) + $sdkCmdletInfo = new-object PSObject + $sdkCmdletInfo | add-member -membertype NoteProperty -name "Name" -value $sdkCmdletHelp.Name + $sdkCmdletInfo | add-member -membertype NoteProperty -name "Synopsis" -value $sdkCmdletHelp.Synopsis + if ($sdkCmdletHelp.Description) + { + $sdkCmdletInfo | add-member -membertype NoteProperty -name "Graph-route" -value $sdkCmdletHelp.Description[0].Text.replace("`n","").replace("`r","") + } + else + { + $sdkCmdletInfo | add-member -membertype NoteProperty -name "Graph-route" -value "" + } + $sdkCmdletsList+=$sdkCmdletInfo +} + +$sdkCmdletsList | Export-Csv -Path "$OutputDirectory\$ModuleName.cmdlets.csv" -NoTypeInformation +popd \ No newline at end of file