From 232f54b44232a8351efa8dfe61ac41febe445f01 Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Tue, 30 Aug 2022 10:10:12 +0000 Subject: [PATCH 1/3] Update generated files with build 84225 --- .../callrecords/model/ClientUserAgent.cs | 14 ++ .../AutoRestartNotificationDismissalMethod.cs | 43 +++++ .../Generated/model/DetectedApp.cs | 15 ++ .../model/DetectedAppPlatformType.cs | 78 +++++++++ .../model/DeviceManagementReportFileFormat.cs | 10 ++ ...enceSetUserPreferredPresenceRequestBody.cs | 42 +++++ .../UnifiedRoleAssignmentScheduleRequest.cs | 2 +- .../UnifiedRoleEligibilityScheduleRequest.cs | 2 +- .../WindowsUpdateForBusinessConfiguration.cs | 161 ++++++++++++++++++ .../WindowsUpdateForBusinessUpdateWeeks.cs | 59 +++++++ .../WindowsUpdateNotificationDisplayOption.cs | 48 ++++++ ...esenceClearUserPreferredPresenceRequest.cs | 56 ++++++ ...learUserPreferredPresenceRequestBuilder.cs | 28 +++ .../requests/IPresenceRequestBuilder.cs | 15 ++ ...PresenceSetUserPreferredPresenceRequest.cs | 60 +++++++ ...eSetUserPreferredPresenceRequestBuilder.cs | 28 +++ ...esenceClearUserPreferredPresenceRequest.cs | 81 +++++++++ ...learUserPreferredPresenceRequestBuilder.cs | 46 +++++ .../requests/PresenceRequestBuilder.cs | 28 +++ ...PresenceSetUserPreferredPresenceRequest.cs | 88 ++++++++++ ...eSetUserPreferredPresenceRequestBuilder.cs | 70 ++++++++ .../Generated/termstore/model/Group.cs | 2 +- 22 files changed, 973 insertions(+), 3 deletions(-) create mode 100644 src/Microsoft.Graph/Generated/model/AutoRestartNotificationDismissalMethod.cs create mode 100644 src/Microsoft.Graph/Generated/model/DetectedAppPlatformType.cs create mode 100644 src/Microsoft.Graph/Generated/model/PresenceSetUserPreferredPresenceRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/model/WindowsUpdateForBusinessUpdateWeeks.cs create mode 100644 src/Microsoft.Graph/Generated/model/WindowsUpdateNotificationDisplayOption.cs create mode 100644 src/Microsoft.Graph/Generated/requests/IPresenceClearUserPreferredPresenceRequest.cs create mode 100644 src/Microsoft.Graph/Generated/requests/IPresenceClearUserPreferredPresenceRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/requests/IPresenceSetUserPreferredPresenceRequest.cs create mode 100644 src/Microsoft.Graph/Generated/requests/IPresenceSetUserPreferredPresenceRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/requests/PresenceClearUserPreferredPresenceRequest.cs create mode 100644 src/Microsoft.Graph/Generated/requests/PresenceClearUserPreferredPresenceRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/requests/PresenceSetUserPreferredPresenceRequest.cs create mode 100644 src/Microsoft.Graph/Generated/requests/PresenceSetUserPreferredPresenceRequestBuilder.cs diff --git a/src/Microsoft.Graph/Generated/callrecords/model/ClientUserAgent.cs b/src/Microsoft.Graph/Generated/callrecords/model/ClientUserAgent.cs index 9418d3d3893..21e9a31ce8a 100644 --- a/src/Microsoft.Graph/Generated/callrecords/model/ClientUserAgent.cs +++ b/src/Microsoft.Graph/Generated/callrecords/model/ClientUserAgent.cs @@ -28,6 +28,20 @@ public ClientUserAgent() this.ODataType = "microsoft.graph.callRecords.clientUserAgent"; } + /// + /// Gets or sets azureADAppId. + /// The unique identifier of the Azure AD application used by this endpoint. + /// + [JsonPropertyName("azureADAppId")] + public string AzureADAppId { get; set; } + + /// + /// Gets or sets communicationServiceId. + /// Immutable resource identifier of the Azure Communication Service associated with this endpoint based on Communication Services APIs. + /// + [JsonPropertyName("communicationServiceId")] + public string CommunicationServiceId { get; set; } + /// /// Gets or sets platform. /// Identifies the platform used by this endpoint. Possible values are: unknown, windows, macOS, iOS, android, web, ipPhone, roomSystem, surfaceHub, holoLens, unknownFutureValue. diff --git a/src/Microsoft.Graph/Generated/model/AutoRestartNotificationDismissalMethod.cs b/src/Microsoft.Graph/Generated/model/AutoRestartNotificationDismissalMethod.cs new file mode 100644 index 00000000000..521593b83de --- /dev/null +++ b/src/Microsoft.Graph/Generated/model/AutoRestartNotificationDismissalMethod.cs @@ -0,0 +1,43 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +// **NOTE** This file was generated by a tool and any changes will be overwritten. +// + +// Template Source: EnumType.cs.tt + + +namespace Microsoft.Graph +{ + using System.Text.Json.Serialization; + + /// + /// The enum AutoRestartNotificationDismissalMethod. + /// + [JsonConverter(typeof(JsonStringEnumConverter))] + public enum AutoRestartNotificationDismissalMethod + { + + /// + /// Not Configured + /// + NotConfigured = 0, + + /// + /// Automatic + /// + Automatic = 1, + + /// + /// User + /// + User = 2, + + /// + /// Unknown Future Value + /// + UnknownFutureValue = 3, + + } +} diff --git a/src/Microsoft.Graph/Generated/model/DetectedApp.cs b/src/Microsoft.Graph/Generated/model/DetectedApp.cs index 16c8e270c1b..f3d4dedcba3 100644 --- a/src/Microsoft.Graph/Generated/model/DetectedApp.cs +++ b/src/Microsoft.Graph/Generated/model/DetectedApp.cs @@ -17,6 +17,7 @@ namespace Microsoft.Graph /// /// The type Detected App. /// + [JsonConverter(typeof(DerivedTypeConverter))] public partial class DetectedApp : Entity { @@ -34,6 +35,20 @@ public partial class DetectedApp : Entity [JsonPropertyName("displayName")] public string DisplayName { get; set; } + /// + /// Gets or sets platform. + /// Indicates the operating system / platform of the discovered application. Some possible values are Windows, iOS, macOS. The default value is unknown (0). + /// + [JsonPropertyName("platform")] + public DetectedAppPlatformType? Platform { get; set; } + + /// + /// Gets or sets publisher. + /// Indicates the publisher of the discovered application. For example: 'Microsoft'. The default value is an empty string. + /// + [JsonPropertyName("publisher")] + public string Publisher { get; set; } + /// /// Gets or sets size in byte. /// Discovered application size in bytes. Read-only diff --git a/src/Microsoft.Graph/Generated/model/DetectedAppPlatformType.cs b/src/Microsoft.Graph/Generated/model/DetectedAppPlatformType.cs new file mode 100644 index 00000000000..e4111b927e8 --- /dev/null +++ b/src/Microsoft.Graph/Generated/model/DetectedAppPlatformType.cs @@ -0,0 +1,78 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +// **NOTE** This file was generated by a tool and any changes will be overwritten. +// + +// Template Source: EnumType.cs.tt + + +namespace Microsoft.Graph +{ + using System.Text.Json.Serialization; + + /// + /// The enum DetectedAppPlatformType. + /// + [JsonConverter(typeof(JsonStringEnumConverter))] + public enum DetectedAppPlatformType + { + + /// + /// Unknown + /// + Unknown = 0, + + /// + /// Windows + /// + Windows = 1, + + /// + /// Windows Mobile + /// + WindowsMobile = 2, + + /// + /// Windows Holographic + /// + WindowsHolographic = 3, + + /// + /// Ios + /// + Ios = 4, + + /// + /// Mac OS + /// + MacOS = 5, + + /// + /// Chrome OS + /// + ChromeOS = 6, + + /// + /// Android OSP + /// + AndroidOSP = 7, + + /// + /// Android Device Administrator + /// + AndroidDeviceAdministrator = 8, + + /// + /// Android Work Profile + /// + AndroidWorkProfile = 9, + + /// + /// Android Dedicated And Fully Managed + /// + AndroidDedicatedAndFullyManaged = 10, + + } +} diff --git a/src/Microsoft.Graph/Generated/model/DeviceManagementReportFileFormat.cs b/src/Microsoft.Graph/Generated/model/DeviceManagementReportFileFormat.cs index 43ee88580f1..8d8275d3b05 100644 --- a/src/Microsoft.Graph/Generated/model/DeviceManagementReportFileFormat.cs +++ b/src/Microsoft.Graph/Generated/model/DeviceManagementReportFileFormat.cs @@ -29,5 +29,15 @@ public enum DeviceManagementReportFileFormat /// Pdf = 1, + /// + /// Json + /// + Json = 2, + + /// + /// Unknown Future Value + /// + UnknownFutureValue = 3, + } } diff --git a/src/Microsoft.Graph/Generated/model/PresenceSetUserPreferredPresenceRequestBody.cs b/src/Microsoft.Graph/Generated/model/PresenceSetUserPreferredPresenceRequestBody.cs new file mode 100644 index 00000000000..579ce079b3b --- /dev/null +++ b/src/Microsoft.Graph/Generated/model/PresenceSetUserPreferredPresenceRequestBody.cs @@ -0,0 +1,42 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +// **NOTE** This file was generated by a tool and any changes will be overwritten. +// + +// Template Source: MethodRequestBody.cs.tt + +namespace Microsoft.Graph +{ + using System; + using System.Collections.Generic; + using System.IO; + using System.Text.Json.Serialization; + + /// + /// The type PresenceSetUserPreferredPresenceRequestBody. + /// + public partial class PresenceSetUserPreferredPresenceRequestBody + { + + /// + /// Gets or sets Availability. + /// + [JsonPropertyName("availability")] + public string Availability { get; set; } + + /// + /// Gets or sets Activity. + /// + [JsonPropertyName("activity")] + public string Activity { get; set; } + + /// + /// Gets or sets ExpirationDuration. + /// + [JsonPropertyName("expirationDuration")] + public Duration ExpirationDuration { get; set; } + + } +} diff --git a/src/Microsoft.Graph/Generated/model/UnifiedRoleAssignmentScheduleRequest.cs b/src/Microsoft.Graph/Generated/model/UnifiedRoleAssignmentScheduleRequest.cs index f936e376ac2..453bbe531a1 100644 --- a/src/Microsoft.Graph/Generated/model/UnifiedRoleAssignmentScheduleRequest.cs +++ b/src/Microsoft.Graph/Generated/model/UnifiedRoleAssignmentScheduleRequest.cs @@ -58,7 +58,7 @@ public partial class UnifiedRoleAssignmentScheduleRequestObject : RequestObject /// /// Gets or sets principal id. - /// Identifier of the principal that has been granted the assignment. Supports $filter (eq, ne). + /// Identifier of the principal that has been granted the assignment. Can be a user, role-assignable group, or a service principal. Supports $filter (eq, ne). /// [JsonPropertyName("principalId")] public string PrincipalId { get; set; } diff --git a/src/Microsoft.Graph/Generated/model/UnifiedRoleEligibilityScheduleRequest.cs b/src/Microsoft.Graph/Generated/model/UnifiedRoleEligibilityScheduleRequest.cs index e3a7659c0e7..7dfbf026aea 100644 --- a/src/Microsoft.Graph/Generated/model/UnifiedRoleEligibilityScheduleRequest.cs +++ b/src/Microsoft.Graph/Generated/model/UnifiedRoleEligibilityScheduleRequest.cs @@ -58,7 +58,7 @@ public partial class UnifiedRoleEligibilityScheduleRequestObject : RequestObject /// /// Gets or sets principal id. - /// Identifier of the principal that has been granted the role eligibility. Supports $filter (eq, ne). + /// Identifier of the principal that has been granted the role eligibility. Can be a user or a role-assignable group. You can grant only active assignments service principals.Supports $filter (eq, ne). /// [JsonPropertyName("principalId")] public string PrincipalId { get; set; } diff --git a/src/Microsoft.Graph/Generated/model/WindowsUpdateForBusinessConfiguration.cs b/src/Microsoft.Graph/Generated/model/WindowsUpdateForBusinessConfiguration.cs index d1fd31467ed..cb8efed9867 100644 --- a/src/Microsoft.Graph/Generated/model/WindowsUpdateForBusinessConfiguration.cs +++ b/src/Microsoft.Graph/Generated/model/WindowsUpdateForBusinessConfiguration.cs @@ -29,6 +29,13 @@ public WindowsUpdateForBusinessConfiguration() this.ODataType = "microsoft.graph.windowsUpdateForBusinessConfiguration"; } + /// + /// Gets or sets allow windows11upgrade. + /// When TRUE, allows eligible Windows 10 devices to upgrade to Windows 11. When FALSE, implies the device stays on the existing operating system. Returned by default. Query parameters are not supported. + /// + [JsonPropertyName("allowWindows11Upgrade")] + public bool? AllowWindows11Upgrade { get; set; } + /// /// Gets or sets automatic update mode. /// Automatic update mode. Possible values are: userDefined, notifyDownload, autoInstallAtMaintenanceTime, autoInstallAndRebootAtMaintenanceTime, autoInstallAndRebootAtScheduledTime, autoInstallAndRebootWithoutEndUserControl. @@ -36,6 +43,13 @@ public WindowsUpdateForBusinessConfiguration() [JsonPropertyName("automaticUpdateMode")] public AutomaticUpdateMode? AutomaticUpdateMode { get; set; } + /// + /// Gets or sets auto restart notification dismissal. + /// Specify the method by which the auto-restart required notification is dismissed. Possible values are: NotConfigured, Automatic, User. Returned by default. Query parameters are not supported. + /// + [JsonPropertyName("autoRestartNotificationDismissal")] + public AutoRestartNotificationDismissalMethod? AutoRestartNotificationDismissal { get; set; } + /// /// Gets or sets business ready updates only. /// Determines which branch devices will receive their updates from. Possible values are: userDefined, all, businessReadyOnly, windowsInsiderBuildFast, windowsInsiderBuildSlow, windowsInsiderBuildRelease. @@ -43,6 +57,27 @@ public WindowsUpdateForBusinessConfiguration() [JsonPropertyName("businessReadyUpdatesOnly")] public WindowsUpdateType? BusinessReadyUpdatesOnly { get; set; } + /// + /// Gets or sets deadline for feature updates in days. + /// Number of days before feature updates are installed automatically with valid range from 0 to 30 days. Returned by default. Query parameters are not supported. + /// + [JsonPropertyName("deadlineForFeatureUpdatesInDays")] + public Int32? DeadlineForFeatureUpdatesInDays { get; set; } + + /// + /// Gets or sets deadline for quality updates in days. + /// Number of days before quality updates are installed automatically with valid range from 0 to 30 days. Returned by default. Query parameters are not supported. + /// + [JsonPropertyName("deadlineForQualityUpdatesInDays")] + public Int32? DeadlineForQualityUpdatesInDays { get; set; } + + /// + /// Gets or sets deadline grace period in days. + /// Number of days after deadline until restarts occur automatically with valid range from 0 to 7 days. Returned by default. Query parameters are not supported. + /// + [JsonPropertyName("deadlineGracePeriodInDays")] + public Int32? DeadlineGracePeriodInDays { get; set; } + /// /// Gets or sets delivery optimization mode. /// Delivery Optimization Mode. Possible values are: userDefined, httpOnly, httpWithPeeringNat, httpWithPeeringPrivateGroup, httpWithInternetPeering, simpleDownload, bypassMode. @@ -57,6 +92,27 @@ public WindowsUpdateForBusinessConfiguration() [JsonPropertyName("driversExcluded")] public bool? DriversExcluded { get; set; } + /// + /// Gets or sets engaged restart deadline in days. + /// Deadline in days before automatically scheduling and executing a pending restart outside of active hours, with valid range from 2 to 30 days. Returned by default. Query parameters are not supported. + /// + [JsonPropertyName("engagedRestartDeadlineInDays")] + public Int32? EngagedRestartDeadlineInDays { get; set; } + + /// + /// Gets or sets engaged restart snooze schedule in days. + /// Number of days a user can snooze Engaged Restart reminder notifications with valid range from 1 to 3 days. Returned by default. Query parameters are not supported. + /// + [JsonPropertyName("engagedRestartSnoozeScheduleInDays")] + public Int32? EngagedRestartSnoozeScheduleInDays { get; set; } + + /// + /// Gets or sets engaged restart transition schedule in days. + /// Number of days before transitioning from Auto Restarts scheduled outside of active hours to Engaged Restart, which requires the user to schedule, with valid range from 0 to 30 days. Returned by default. Query parameters are not supported. + /// + [JsonPropertyName("engagedRestartTransitionScheduleInDays")] + public Int32? EngagedRestartTransitionScheduleInDays { get; set; } + /// /// Gets or sets feature updates deferral period in days. /// Defer Feature Updates by these many days @@ -78,6 +134,34 @@ public WindowsUpdateForBusinessConfiguration() [JsonPropertyName("featureUpdatesPauseExpiryDateTime")] public DateTimeOffset? FeatureUpdatesPauseExpiryDateTime { get; set; } + /// + /// Gets or sets feature updates pause start date. + /// The Feature Updates Pause start date. This value is the time when the admin paused or extended the pause for the ring. Returned by default. Query parameters are not supported. This property is read-only. + /// + [JsonPropertyName("featureUpdatesPauseStartDate")] + public Date FeatureUpdatesPauseStartDate { get; set; } + + /// + /// Gets or sets feature updates rollback start date time. + /// The Feature Updates Rollback Start datetime.This value is the time when the admin rolled back the Feature update for the ring.Returned by default.Query parameters are not supported. + /// + [JsonPropertyName("featureUpdatesRollbackStartDateTime")] + public DateTimeOffset? FeatureUpdatesRollbackStartDateTime { get; set; } + + /// + /// Gets or sets feature updates rollback window in days. + /// The number of days after a Feature Update for which a rollback is valid with valid range from 2 to 60 days. Returned by default. Query parameters are not supported. + /// + [JsonPropertyName("featureUpdatesRollbackWindowInDays")] + public Int32? FeatureUpdatesRollbackWindowInDays { get; set; } + + /// + /// Gets or sets feature updates will be rolled back. + /// When TRUE, rollback Feature Updates on the next device check in. When FALSE, do not rollback Feature Updates on the next device check in. Returned by default.Query parameters are not supported. + /// + [JsonPropertyName("featureUpdatesWillBeRolledBack")] + public bool? FeatureUpdatesWillBeRolledBack { get; set; } + /// /// Gets or sets installation schedule. /// Installation schedule @@ -92,6 +176,13 @@ public WindowsUpdateForBusinessConfiguration() [JsonPropertyName("microsoftUpdateServiceAllowed")] public bool? MicrosoftUpdateServiceAllowed { get; set; } + /// + /// Gets or sets postpone reboot until after deadline. + /// When TRUE the device should wait until deadline for rebooting outside of active hours. When FALSE the device should not wait until deadline for rebooting outside of active hours. Returned by default. Query parameters are not supported. + /// + [JsonPropertyName("postponeRebootUntilAfterDeadline")] + public bool? PostponeRebootUntilAfterDeadline { get; set; } + /// /// Gets or sets prerelease features. /// The pre-release features. Possible values are: userDefined, settingsOnly, settingsAndExperimentations, notAllowed. @@ -120,6 +211,76 @@ public WindowsUpdateForBusinessConfiguration() [JsonPropertyName("qualityUpdatesPauseExpiryDateTime")] public DateTimeOffset? QualityUpdatesPauseExpiryDateTime { get; set; } + /// + /// Gets or sets quality updates pause start date. + /// The Quality Updates Pause start date. This value is the time when the admin paused or extended the pause for the ring. Returned by default. Query parameters are not supported. This property is read-only. + /// + [JsonPropertyName("qualityUpdatesPauseStartDate")] + public Date QualityUpdatesPauseStartDate { get; set; } + + /// + /// Gets or sets quality updates rollback start date time. + /// The Quality Updates Rollback Start datetime. This value is the time when the admin rolled back the Quality update for the ring. Returned by default. Query parameters are not supported. + /// + [JsonPropertyName("qualityUpdatesRollbackStartDateTime")] + public DateTimeOffset? QualityUpdatesRollbackStartDateTime { get; set; } + + /// + /// Gets or sets quality updates will be rolled back. + /// When TRUE, rollback Quality Updates on the next device check in. When FALSE, do not rollback Quality Updates on the next device check in. Returned by default. Query parameters are not supported. + /// + [JsonPropertyName("qualityUpdatesWillBeRolledBack")] + public bool? QualityUpdatesWillBeRolledBack { get; set; } + + /// + /// Gets or sets schedule imminent restart warning in minutes. + /// Specify the period for auto-restart imminent warning notifications. Supported values: 15, 30 or 60 (minutes). Returned by default. Query parameters are not supported. + /// + [JsonPropertyName("scheduleImminentRestartWarningInMinutes")] + public Int32? ScheduleImminentRestartWarningInMinutes { get; set; } + + /// + /// Gets or sets schedule restart warning in hours. + /// Specify the period for auto-restart warning reminder notifications. Supported values: 2, 4, 8, 12 or 24 (hours). Returned by default. Query parameters are not supported. + /// + [JsonPropertyName("scheduleRestartWarningInHours")] + public Int32? ScheduleRestartWarningInHours { get; set; } + + /// + /// Gets or sets skip checks before restart. + /// When TRUE, skips all checks before restart: Battery level = 40%, User presence, Display Needed, Presentation mode, Full screen mode, phone call state, game mode etc. When FALSE, does not skip all checks before restart. Returned by default. Query parameters are not supported. + /// + [JsonPropertyName("skipChecksBeforeRestart")] + public bool? SkipChecksBeforeRestart { get; set; } + + /// + /// Gets or sets update notification level. + /// Specifies what Windows Update notifications users see. Possible values are: NotConfigured, DefaultNotifications, RestartWarningsOnly, DisableAllNotifications. Returned by default. Query parameters are not supported. + /// + [JsonPropertyName("updateNotificationLevel")] + public WindowsUpdateNotificationDisplayOption? UpdateNotificationLevel { get; set; } + + /// + /// Gets or sets update weeks. + /// Schedule the update installation on the weeks of the month. Possible values are: UserDefined, FirstWeek, SecondWeek, ThirdWeek, FourthWeek, EveryWeek. Returned by default. Query parameters are not supported. + /// + [JsonPropertyName("updateWeeks")] + public WindowsUpdateForBusinessUpdateWeeks? UpdateWeeks { get; set; } + + /// + /// Gets or sets user pause access. + /// Specifies whether to enable end user’s access to pause software updates. Possible values are: NotConfigured, Enabled, Disabled. Returned by default. Query parameters are not supported. + /// + [JsonPropertyName("userPauseAccess")] + public Enablement? UserPauseAccess { get; set; } + + /// + /// Gets or sets user windows update scan access. + /// Specifies whether to disable user’s access to scan Windows Update. Possible values are: NotConfigured, Enabled, Disabled. Returned by default. Query parameters are not supported. + /// + [JsonPropertyName("userWindowsUpdateScanAccess")] + public Enablement? UserWindowsUpdateScanAccess { get; set; } + } } diff --git a/src/Microsoft.Graph/Generated/model/WindowsUpdateForBusinessUpdateWeeks.cs b/src/Microsoft.Graph/Generated/model/WindowsUpdateForBusinessUpdateWeeks.cs new file mode 100644 index 00000000000..b389e91cf25 --- /dev/null +++ b/src/Microsoft.Graph/Generated/model/WindowsUpdateForBusinessUpdateWeeks.cs @@ -0,0 +1,59 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +// **NOTE** This file was generated by a tool and any changes will be overwritten. +// + +// Template Source: EnumType.cs.tt + + +namespace Microsoft.Graph +{ + using System.Text.Json.Serialization; + + /// + /// The enum WindowsUpdateForBusinessUpdateWeeks. + /// + [JsonConverter(typeof(JsonStringEnumConverter))] + [System.Flags] + public enum WindowsUpdateForBusinessUpdateWeeks + { + + /// + /// User Defined + /// + UserDefined = 0, + + /// + /// First Week + /// + FirstWeek = 1, + + /// + /// Second Week + /// + SecondWeek = 2, + + /// + /// Third Week + /// + ThirdWeek = 4, + + /// + /// Fourth Week + /// + FourthWeek = 8, + + /// + /// Every Week + /// + EveryWeek = 15, + + /// + /// Unknown Future Value + /// + UnknownFutureValue = 22, + + } +} diff --git a/src/Microsoft.Graph/Generated/model/WindowsUpdateNotificationDisplayOption.cs b/src/Microsoft.Graph/Generated/model/WindowsUpdateNotificationDisplayOption.cs new file mode 100644 index 00000000000..d8102e60321 --- /dev/null +++ b/src/Microsoft.Graph/Generated/model/WindowsUpdateNotificationDisplayOption.cs @@ -0,0 +1,48 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +// **NOTE** This file was generated by a tool and any changes will be overwritten. +// + +// Template Source: EnumType.cs.tt + + +namespace Microsoft.Graph +{ + using System.Text.Json.Serialization; + + /// + /// The enum WindowsUpdateNotificationDisplayOption. + /// + [JsonConverter(typeof(JsonStringEnumConverter))] + public enum WindowsUpdateNotificationDisplayOption + { + + /// + /// Not Configured + /// + NotConfigured = 0, + + /// + /// Default Notifications + /// + DefaultNotifications = 1, + + /// + /// Restart Warnings Only + /// + RestartWarningsOnly = 2, + + /// + /// Disable All Notifications + /// + DisableAllNotifications = 3, + + /// + /// Unknown Future Value + /// + UnknownFutureValue = 4, + + } +} diff --git a/src/Microsoft.Graph/Generated/requests/IPresenceClearUserPreferredPresenceRequest.cs b/src/Microsoft.Graph/Generated/requests/IPresenceClearUserPreferredPresenceRequest.cs new file mode 100644 index 00000000000..4a8791f0816 --- /dev/null +++ b/src/Microsoft.Graph/Generated/requests/IPresenceClearUserPreferredPresenceRequest.cs @@ -0,0 +1,56 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +// **NOTE** This file was generated by a tool and any changes will be overwritten. +// + +// Template Source: IMethodRequest.cs.tt + +namespace Microsoft.Graph +{ + using System; + using System.Collections.Generic; + using System.IO; + using System.Net.Http; + using System.Threading; + + /// + /// The interface IPresenceClearUserPreferredPresenceRequest. + /// + public partial interface IPresenceClearUserPreferredPresenceRequest : IBaseRequest + { + + + /// + /// Issues the POST request. + /// + /// The for the request. + /// The task to await for async call. + System.Threading.Tasks.Task PostAsync( + CancellationToken cancellationToken = default); + + /// + /// Issues the POST request and returns a object. + /// + /// The for the request. + /// The object of the request + System.Threading.Tasks.Task PostResponseAsync(CancellationToken cancellationToken = default); + + + + /// + /// Adds the specified expand value to the request. + /// + /// The expand value. + /// The request object to send. + IPresenceClearUserPreferredPresenceRequest Expand(string value); + + /// + /// Adds the specified select value to the request. + /// + /// The select value. + /// The request object to send. + IPresenceClearUserPreferredPresenceRequest Select(string value); + } +} diff --git a/src/Microsoft.Graph/Generated/requests/IPresenceClearUserPreferredPresenceRequestBuilder.cs b/src/Microsoft.Graph/Generated/requests/IPresenceClearUserPreferredPresenceRequestBuilder.cs new file mode 100644 index 00000000000..9fb84deeac2 --- /dev/null +++ b/src/Microsoft.Graph/Generated/requests/IPresenceClearUserPreferredPresenceRequestBuilder.cs @@ -0,0 +1,28 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +// **NOTE** This file was generated by a tool and any changes will be overwritten. +// + +// Template Source: IMethodRequestBuilder.cs.tt + +namespace Microsoft.Graph +{ + using System; + using System.Collections.Generic; + using System.IO; + + /// + /// The interface IPresenceClearUserPreferredPresenceRequestBuilder. + /// + public partial interface IPresenceClearUserPreferredPresenceRequestBuilder : IBaseRequestBuilder + { + /// + /// Builds the request. + /// + /// The query and header options for the request. + /// The built request. + IPresenceClearUserPreferredPresenceRequest Request(IEnumerable