From 10d78b92669c08cfd0800a541feac3e8da104645 Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Tue, 8 Nov 2022 10:09:41 +0000 Subject: [PATCH 1/2] Update generated files with build 91765 --- .../Generated/model/AgreementAcceptance.cs | 6 +- .../Generated/model/AuditActor.cs | 93 +++++++ .../Generated/model/AuditEvent.cs | 102 +++++++ .../Generated/model/AuditProperty.cs | 58 ++++ .../Generated/model/AuditResource.cs | 65 +++++ ...nticationMethodResetPasswordRequestBody.cs | 6 - .../ChannelMembersNotificationRecipient.cs | 43 +++ .../model/ChatMembersNotificationRecipient.cs | 37 +++ .../Generated/model/DetectedApp.cs | 2 +- .../Generated/model/DeviceManagement.cs | 14 + .../Generated/model/EducationAssignment.cs | 7 + .../model/EducationFeedbackResourceOutcome.cs | 48 ++++ .../EducationFeedbackResourceOutcomeStatus.cs | 48 ++++ .../Generated/model/EducationOutcome.cs | 2 +- src/Microsoft.Graph/Generated/model/Group.cs | 2 +- .../model/IosLobAppAssignmentSettings.cs | 16 +- .../Generated/model/MacOSLobApp.cs | 96 +++++++ .../Generated/model/MacOSLobChildApp.cs | 58 ++++ .../Generated/model/MacOSMicrosoftEdgeApp.cs | 41 +++ .../model/MacOSMinimumOperatingSystem.cs | 121 +++++++++ .../model/MacOsLobAppAssignmentSettings.cs | 38 +++ .../Generated/model/ManagedDevice.cs | 10 +- .../Generated/model/MicrosoftEdgeChannel.cs | 43 +++ .../Generated/model/RiskyUserHistoryItem.cs | 4 +- .../model/TeamMembersNotificationRecipient.cs | 37 +++ .../Generated/model/TimeOffReason.cs | 2 +- src/Microsoft.Graph/Generated/model/User.cs | 6 +- ...ventGetAuditActivityTypesCollectionPage.cs | 36 +++ ...GetAuditActivityTypesCollectionResponse.cs | 39 +++ .../AuditEventGetAuditActivityTypesRequest.cs | 133 ++++++++++ ...ventGetAuditActivityTypesRequestBuilder.cs | 50 ++++ ...itEventGetAuditCategoriesCollectionPage.cs | 36 +++ ...entGetAuditCategoriesCollectionResponse.cs | 39 +++ .../AuditEventGetAuditCategoriesRequest.cs | 133 ++++++++++ ...itEventGetAuditCategoriesRequestBuilder.cs | 47 ++++ .../Generated/requests/AuditEventRequest.cs | 249 ++++++++++++++++++ .../requests/AuditEventRequestBuilder.cs | 56 ++++ .../AuthenticationMethodRequestBuilder.cs | 6 +- ...cationMethodResetPasswordRequestBuilder.cs | 10 +- ...viceManagementAuditEventsCollectionPage.cs | 38 +++ ...eManagementAuditEventsCollectionRequest.cs | 208 +++++++++++++++ ...mentAuditEventsCollectionRequestBuilder.cs | 87 ++++++ ...ManagementAuditEventsCollectionResponse.cs | 38 +++ .../DeviceManagementPartnerRequestBuilder.cs | 11 + ...DeviceManagementPartnerTerminateRequest.cs | 81 ++++++ ...anagementPartnerTerminateRequestBuilder.cs | 46 ++++ .../requests/DeviceManagementRequest.cs | 6 + .../DeviceManagementRequestBuilder.cs | 12 + .../EducationAssignmentRequestBuilder.cs | 11 + ...mentSetUpFeedbackResourcesFolderRequest.cs | 81 ++++++ ...UpFeedbackResourcesFolderRequestBuilder.cs | 46 ++++ ...EducationFeedbackResourceOutcomeRequest.cs | 249 ++++++++++++++++++ ...onFeedbackResourceOutcomeRequestBuilder.cs | 54 ++++ ...ventGetAuditActivityTypesCollectionPage.cs | 30 +++ ...IAuditEventGetAuditActivityTypesRequest.cs | 83 ++++++ ...ventGetAuditActivityTypesRequestBuilder.cs | 28 ++ ...itEventGetAuditCategoriesCollectionPage.cs | 30 +++ .../IAuditEventGetAuditCategoriesRequest.cs | 83 ++++++ ...itEventGetAuditCategoriesRequestBuilder.cs | 28 ++ .../Generated/requests/IAuditEventRequest.cs | 130 +++++++++ .../requests/IAuditEventRequestBuilder.cs | 37 +++ .../IAuthenticationMethodRequestBuilder.cs | 3 +- ...viceManagementAuditEventsCollectionPage.cs | 31 +++ ...eManagementAuditEventsCollectionRequest.cs | 110 ++++++++ ...mentAuditEventsCollectionRequestBuilder.cs | 52 ++++ .../IDeviceManagementPartnerRequestBuilder.cs | 6 + ...DeviceManagementPartnerTerminateRequest.cs | 56 ++++ ...anagementPartnerTerminateRequestBuilder.cs | 28 ++ .../IDeviceManagementRequestBuilder.cs | 6 + .../IEducationAssignmentRequestBuilder.cs | 6 + ...mentSetUpFeedbackResourcesFolderRequest.cs | 56 ++++ ...UpFeedbackResourcesFolderRequestBuilder.cs | 28 ++ ...EducationFeedbackResourceOutcomeRequest.cs | 130 +++++++++ ...onFeedbackResourceOutcomeRequestBuilder.cs | 35 +++ .../Generated/requests/IMacOSLobAppRequest.cs | 130 +++++++++ .../requests/IMacOSLobAppRequestBuilder.cs | 35 +++ .../requests/IMacOSMicrosoftEdgeAppRequest.cs | 130 +++++++++ .../IMacOSMicrosoftEdgeAppRequestBuilder.cs | 35 +++ .../Generated/requests/MacOSLobAppRequest.cs | 249 ++++++++++++++++++ .../requests/MacOSLobAppRequestBuilder.cs | 54 ++++ .../requests/MacOSMicrosoftEdgeAppRequest.cs | 249 ++++++++++++++++++ .../MacOSMicrosoftEdgeAppRequestBuilder.cs | 54 ++++ 82 files changed, 4700 insertions(+), 39 deletions(-) create mode 100644 src/Microsoft.Graph/Generated/model/AuditActor.cs create mode 100644 src/Microsoft.Graph/Generated/model/AuditEvent.cs create mode 100644 src/Microsoft.Graph/Generated/model/AuditProperty.cs create mode 100644 src/Microsoft.Graph/Generated/model/AuditResource.cs create mode 100644 src/Microsoft.Graph/Generated/model/ChannelMembersNotificationRecipient.cs create mode 100644 src/Microsoft.Graph/Generated/model/ChatMembersNotificationRecipient.cs create mode 100644 src/Microsoft.Graph/Generated/model/EducationFeedbackResourceOutcome.cs create mode 100644 src/Microsoft.Graph/Generated/model/EducationFeedbackResourceOutcomeStatus.cs create mode 100644 src/Microsoft.Graph/Generated/model/MacOSLobApp.cs create mode 100644 src/Microsoft.Graph/Generated/model/MacOSLobChildApp.cs create mode 100644 src/Microsoft.Graph/Generated/model/MacOSMicrosoftEdgeApp.cs create mode 100644 src/Microsoft.Graph/Generated/model/MacOSMinimumOperatingSystem.cs create mode 100644 src/Microsoft.Graph/Generated/model/MacOsLobAppAssignmentSettings.cs create mode 100644 src/Microsoft.Graph/Generated/model/MicrosoftEdgeChannel.cs create mode 100644 src/Microsoft.Graph/Generated/model/TeamMembersNotificationRecipient.cs create mode 100644 src/Microsoft.Graph/Generated/requests/AuditEventGetAuditActivityTypesCollectionPage.cs create mode 100644 src/Microsoft.Graph/Generated/requests/AuditEventGetAuditActivityTypesCollectionResponse.cs create mode 100644 src/Microsoft.Graph/Generated/requests/AuditEventGetAuditActivityTypesRequest.cs create mode 100644 src/Microsoft.Graph/Generated/requests/AuditEventGetAuditActivityTypesRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/requests/AuditEventGetAuditCategoriesCollectionPage.cs create mode 100644 src/Microsoft.Graph/Generated/requests/AuditEventGetAuditCategoriesCollectionResponse.cs create mode 100644 src/Microsoft.Graph/Generated/requests/AuditEventGetAuditCategoriesRequest.cs create mode 100644 src/Microsoft.Graph/Generated/requests/AuditEventGetAuditCategoriesRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/requests/AuditEventRequest.cs create mode 100644 src/Microsoft.Graph/Generated/requests/AuditEventRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/requests/DeviceManagementAuditEventsCollectionPage.cs create mode 100644 src/Microsoft.Graph/Generated/requests/DeviceManagementAuditEventsCollectionRequest.cs create mode 100644 src/Microsoft.Graph/Generated/requests/DeviceManagementAuditEventsCollectionRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/requests/DeviceManagementAuditEventsCollectionResponse.cs create mode 100644 src/Microsoft.Graph/Generated/requests/DeviceManagementPartnerTerminateRequest.cs create mode 100644 src/Microsoft.Graph/Generated/requests/DeviceManagementPartnerTerminateRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/requests/EducationAssignmentSetUpFeedbackResourcesFolderRequest.cs create mode 100644 src/Microsoft.Graph/Generated/requests/EducationAssignmentSetUpFeedbackResourcesFolderRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/requests/EducationFeedbackResourceOutcomeRequest.cs create mode 100644 src/Microsoft.Graph/Generated/requests/EducationFeedbackResourceOutcomeRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/requests/IAuditEventGetAuditActivityTypesCollectionPage.cs create mode 100644 src/Microsoft.Graph/Generated/requests/IAuditEventGetAuditActivityTypesRequest.cs create mode 100644 src/Microsoft.Graph/Generated/requests/IAuditEventGetAuditActivityTypesRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/requests/IAuditEventGetAuditCategoriesCollectionPage.cs create mode 100644 src/Microsoft.Graph/Generated/requests/IAuditEventGetAuditCategoriesRequest.cs create mode 100644 src/Microsoft.Graph/Generated/requests/IAuditEventGetAuditCategoriesRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/requests/IAuditEventRequest.cs create mode 100644 src/Microsoft.Graph/Generated/requests/IAuditEventRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/requests/IDeviceManagementAuditEventsCollectionPage.cs create mode 100644 src/Microsoft.Graph/Generated/requests/IDeviceManagementAuditEventsCollectionRequest.cs create mode 100644 src/Microsoft.Graph/Generated/requests/IDeviceManagementAuditEventsCollectionRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/requests/IDeviceManagementPartnerTerminateRequest.cs create mode 100644 src/Microsoft.Graph/Generated/requests/IDeviceManagementPartnerTerminateRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/requests/IEducationAssignmentSetUpFeedbackResourcesFolderRequest.cs create mode 100644 src/Microsoft.Graph/Generated/requests/IEducationAssignmentSetUpFeedbackResourcesFolderRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/requests/IEducationFeedbackResourceOutcomeRequest.cs create mode 100644 src/Microsoft.Graph/Generated/requests/IEducationFeedbackResourceOutcomeRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/requests/IMacOSLobAppRequest.cs create mode 100644 src/Microsoft.Graph/Generated/requests/IMacOSLobAppRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/requests/IMacOSMicrosoftEdgeAppRequest.cs create mode 100644 src/Microsoft.Graph/Generated/requests/IMacOSMicrosoftEdgeAppRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/requests/MacOSLobAppRequest.cs create mode 100644 src/Microsoft.Graph/Generated/requests/MacOSLobAppRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/requests/MacOSMicrosoftEdgeAppRequest.cs create mode 100644 src/Microsoft.Graph/Generated/requests/MacOSMicrosoftEdgeAppRequestBuilder.cs diff --git a/src/Microsoft.Graph/Generated/model/AgreementAcceptance.cs b/src/Microsoft.Graph/Generated/model/AgreementAcceptance.cs index e1fd9ff1528..b5833c283d5 100644 --- a/src/Microsoft.Graph/Generated/model/AgreementAcceptance.cs +++ b/src/Microsoft.Graph/Generated/model/AgreementAcceptance.cs @@ -44,7 +44,7 @@ public partial class AgreementAcceptance : Entity /// /// Gets or sets device id. - /// The unique identifier of the device used for accepting the agreement. + /// The unique identifier of the device used for accepting the agreement. Supports $filter (eq) and eq for null values. /// [JsonPropertyName("deviceId")] public string DeviceId { get; set; } @@ -65,7 +65,7 @@ public partial class AgreementAcceptance : Entity /// /// Gets or sets expiration date time. - /// The expiration date time of the acceptance. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + /// The expiration date time of the acceptance. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Supports $filter (eq, ge, le) and eq for null values. /// [JsonPropertyName("expirationDateTime")] public DateTimeOffset? ExpirationDateTime { get; set; } @@ -100,7 +100,7 @@ public partial class AgreementAcceptance : Entity /// /// Gets or sets user id. - /// The identifier of the user who accepted the agreement. + /// The identifier of the user who accepted the agreement. Supports $filter (eq). /// [JsonPropertyName("userId")] public string UserId { get; set; } diff --git a/src/Microsoft.Graph/Generated/model/AuditActor.cs b/src/Microsoft.Graph/Generated/model/AuditActor.cs new file mode 100644 index 00000000000..6863f871d1e --- /dev/null +++ b/src/Microsoft.Graph/Generated/model/AuditActor.cs @@ -0,0 +1,93 @@ +// ------------------------------------------------------------------------------ +// 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: ComplexType.cs.tt + +namespace Microsoft.Graph +{ + using System; + using System.Collections.Generic; + using System.IO; + using System.Text.Json.Serialization; + + /// + /// The type AuditActor. + /// + [JsonConverter(typeof(DerivedTypeConverter))] + public partial class AuditActor + { + + /// + /// Gets or sets applicationDisplayName. + /// Name of the Application. + /// + [JsonPropertyName("applicationDisplayName")] + public string ApplicationDisplayName { get; set; } + + /// + /// Gets or sets applicationId. + /// AAD Application Id. + /// + [JsonPropertyName("applicationId")] + public string ApplicationId { get; set; } + + /// + /// Gets or sets auditActorType. + /// Actor Type. + /// + [JsonPropertyName("auditActorType")] + public string AuditActorType { get; set; } + + /// + /// Gets or sets ipAddress. + /// IPAddress. + /// + [JsonPropertyName("ipAddress")] + public string IpAddress { get; set; } + + /// + /// Gets or sets servicePrincipalName. + /// Service Principal Name (SPN). + /// + [JsonPropertyName("servicePrincipalName")] + public string ServicePrincipalName { get; set; } + + /// + /// Gets or sets userId. + /// User Id. + /// + [JsonPropertyName("userId")] + public string UserId { get; set; } + + /// + /// Gets or sets userPermissions. + /// List of user permissions when the audit was performed. + /// + [JsonPropertyName("userPermissions")] + public IEnumerable UserPermissions { get; set; } + + /// + /// Gets or sets userPrincipalName. + /// User Principal Name (UPN). + /// + [JsonPropertyName("userPrincipalName")] + public string UserPrincipalName { get; set; } + + /// + /// Gets or sets additional data. + /// + [JsonExtensionData] + public IDictionary AdditionalData { get; set; } + + /// + /// Gets or sets @odata.type. + /// + [JsonPropertyName("@odata.type")] + public string ODataType { get; set; } + + } +} diff --git a/src/Microsoft.Graph/Generated/model/AuditEvent.cs b/src/Microsoft.Graph/Generated/model/AuditEvent.cs new file mode 100644 index 00000000000..697abf9c78a --- /dev/null +++ b/src/Microsoft.Graph/Generated/model/AuditEvent.cs @@ -0,0 +1,102 @@ +// ------------------------------------------------------------------------------ +// 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: EntityType.cs.tt + +namespace Microsoft.Graph +{ + using System; + using System.Collections.Generic; + using System.IO; + using System.Text.Json.Serialization; + + /// + /// The type Audit Event. + /// + public partial class AuditEvent : Entity + { + + /// + /// Gets or sets activity. + /// Friendly name of the activity. + /// + [JsonPropertyName("activity")] + public string Activity { get; set; } + + /// + /// Gets or sets activity date time. + /// The date time in UTC when the activity was performed. + /// + [JsonPropertyName("activityDateTime")] + public DateTimeOffset? ActivityDateTime { get; set; } + + /// + /// Gets or sets activity operation type. + /// The HTTP operation type of the activity. + /// + [JsonPropertyName("activityOperationType")] + public string ActivityOperationType { get; set; } + + /// + /// Gets or sets activity result. + /// The result of the activity. + /// + [JsonPropertyName("activityResult")] + public string ActivityResult { get; set; } + + /// + /// Gets or sets activity type. + /// The type of activity that was being performed. + /// + [JsonPropertyName("activityType")] + public string ActivityType { get; set; } + + /// + /// Gets or sets actor. + /// AAD user and application that are associated with the audit event. + /// + [JsonPropertyName("actor")] + public AuditActor Actor { get; set; } + + /// + /// Gets or sets category. + /// Audit category. + /// + [JsonPropertyName("category")] + public string Category { get; set; } + + /// + /// Gets or sets component name. + /// Component name. + /// + [JsonPropertyName("componentName")] + public string ComponentName { get; set; } + + /// + /// Gets or sets correlation id. + /// The client request Id that is used to correlate activity within the system. + /// + [JsonPropertyName("correlationId")] + public Guid? CorrelationId { get; set; } + + /// + /// Gets or sets display name. + /// Event display name. + /// + [JsonPropertyName("displayName")] + public string DisplayName { get; set; } + + /// + /// Gets or sets resources. + /// Resources being modified. + /// + [JsonPropertyName("resources")] + public IEnumerable Resources { get; set; } + + } +} + diff --git a/src/Microsoft.Graph/Generated/model/AuditProperty.cs b/src/Microsoft.Graph/Generated/model/AuditProperty.cs new file mode 100644 index 00000000000..144947ad350 --- /dev/null +++ b/src/Microsoft.Graph/Generated/model/AuditProperty.cs @@ -0,0 +1,58 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +// **NOTE** This file was generated by a tool and any changes will be overwritten. +// + +// Template Source: ComplexType.cs.tt + +namespace Microsoft.Graph +{ + using System; + using System.Collections.Generic; + using System.IO; + using System.Text.Json.Serialization; + + /// + /// The type AuditProperty. + /// + [JsonConverter(typeof(DerivedTypeConverter))] + public partial class AuditProperty + { + + /// + /// Gets or sets displayName. + /// Display name. + /// + [JsonPropertyName("displayName")] + public string DisplayName { get; set; } + + /// + /// Gets or sets newValue. + /// New value. + /// + [JsonPropertyName("newValue")] + public string NewValue { get; set; } + + /// + /// Gets or sets oldValue. + /// Old value. + /// + [JsonPropertyName("oldValue")] + public string OldValue { get; set; } + + /// + /// Gets or sets additional data. + /// + [JsonExtensionData] + public IDictionary AdditionalData { get; set; } + + /// + /// Gets or sets @odata.type. + /// + [JsonPropertyName("@odata.type")] + public string ODataType { get; set; } + + } +} diff --git a/src/Microsoft.Graph/Generated/model/AuditResource.cs b/src/Microsoft.Graph/Generated/model/AuditResource.cs new file mode 100644 index 00000000000..fa6ecb7489b --- /dev/null +++ b/src/Microsoft.Graph/Generated/model/AuditResource.cs @@ -0,0 +1,65 @@ +// ------------------------------------------------------------------------------ +// 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: ComplexType.cs.tt + +namespace Microsoft.Graph +{ + using System; + using System.Collections.Generic; + using System.IO; + using System.Text.Json.Serialization; + + /// + /// The type AuditResource. + /// + [JsonConverter(typeof(DerivedTypeConverter))] + public partial class AuditResource + { + + /// + /// Gets or sets auditResourceType. + /// Audit resource's type. + /// + [JsonPropertyName("auditResourceType")] + public string AuditResourceType { get; set; } + + /// + /// Gets or sets displayName. + /// Display name. + /// + [JsonPropertyName("displayName")] + public string DisplayName { get; set; } + + /// + /// Gets or sets modifiedProperties. + /// List of modified properties. + /// + [JsonPropertyName("modifiedProperties")] + public IEnumerable ModifiedProperties { get; set; } + + /// + /// Gets or sets resourceId. + /// Audit resource's Id. + /// + [JsonPropertyName("resourceId")] + public string ResourceId { get; set; } + + /// + /// Gets or sets additional data. + /// + [JsonExtensionData] + public IDictionary AdditionalData { get; set; } + + /// + /// Gets or sets @odata.type. + /// + [JsonPropertyName("@odata.type")] + public string ODataType { get; set; } + + } +} diff --git a/src/Microsoft.Graph/Generated/model/AuthenticationMethodResetPasswordRequestBody.cs b/src/Microsoft.Graph/Generated/model/AuthenticationMethodResetPasswordRequestBody.cs index 7a60f9bc3cc..31f4dba58f7 100644 --- a/src/Microsoft.Graph/Generated/model/AuthenticationMethodResetPasswordRequestBody.cs +++ b/src/Microsoft.Graph/Generated/model/AuthenticationMethodResetPasswordRequestBody.cs @@ -26,11 +26,5 @@ public partial class AuthenticationMethodResetPasswordRequestBody [JsonPropertyName("newPassword")] public string NewPassword { get; set; } - /// - /// Gets or sets RequireChangeOnNextSignIn. - /// - [JsonPropertyName("requireChangeOnNextSignIn")] - public bool? RequireChangeOnNextSignIn { get; set; } - } } diff --git a/src/Microsoft.Graph/Generated/model/ChannelMembersNotificationRecipient.cs b/src/Microsoft.Graph/Generated/model/ChannelMembersNotificationRecipient.cs new file mode 100644 index 00000000000..93d8722a6dc --- /dev/null +++ b/src/Microsoft.Graph/Generated/model/ChannelMembersNotificationRecipient.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: ComplexType.cs.tt + +namespace Microsoft.Graph +{ + using System; + using System.Collections.Generic; + using System.IO; + using System.Text.Json.Serialization; + + /// + /// The type ChannelMembersNotificationRecipient. + /// + public partial class ChannelMembersNotificationRecipient : TeamworkNotificationRecipient + { + /// + /// Initializes a new instance of the class. + /// + public ChannelMembersNotificationRecipient() + { + this.ODataType = "microsoft.graph.channelMembersNotificationRecipient"; + } + + /// + /// Gets or sets channelId. + /// + [JsonPropertyName("channelId")] + public string ChannelId { get; set; } + + /// + /// Gets or sets teamId. + /// + [JsonPropertyName("teamId")] + public string TeamId { get; set; } + + } +} diff --git a/src/Microsoft.Graph/Generated/model/ChatMembersNotificationRecipient.cs b/src/Microsoft.Graph/Generated/model/ChatMembersNotificationRecipient.cs new file mode 100644 index 00000000000..cea0b058bc5 --- /dev/null +++ b/src/Microsoft.Graph/Generated/model/ChatMembersNotificationRecipient.cs @@ -0,0 +1,37 @@ +// ------------------------------------------------------------------------------ +// 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: ComplexType.cs.tt + +namespace Microsoft.Graph +{ + using System; + using System.Collections.Generic; + using System.IO; + using System.Text.Json.Serialization; + + /// + /// The type ChatMembersNotificationRecipient. + /// + public partial class ChatMembersNotificationRecipient : TeamworkNotificationRecipient + { + /// + /// Initializes a new instance of the class. + /// + public ChatMembersNotificationRecipient() + { + this.ODataType = "microsoft.graph.chatMembersNotificationRecipient"; + } + + /// + /// Gets or sets chatId. + /// + [JsonPropertyName("chatId")] + public string ChatId { get; set; } + + } +} diff --git a/src/Microsoft.Graph/Generated/model/DetectedApp.cs b/src/Microsoft.Graph/Generated/model/DetectedApp.cs index 0d5a6a2e5da..5799f16c32c 100644 --- a/src/Microsoft.Graph/Generated/model/DetectedApp.cs +++ b/src/Microsoft.Graph/Generated/model/DetectedApp.cs @@ -37,7 +37,7 @@ public partial class DetectedApp : Entity /// /// 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). Possible values are: unknown, windows, windowsMobile, windowsHolographic, ios, macOS, chromeOS, androidOSP, androidDeviceAdministrator, androidWorkProfile, androidDedicatedAndFullyManaged. + /// Indicates the operating system / platform of the discovered application. Some possible values are Windows, iOS, macOS. The default value is unknown (0). Possible values are: unknown, windows, windowsMobile, windowsHolographic, ios, macOS, chromeOS, androidOSP, androidDeviceAdministrator, androidWorkProfile, androidDedicatedAndFullyManaged, unknownFutureValue. /// [JsonPropertyName("platform")] public DetectedAppPlatformType? Platform { get; set; } diff --git a/src/Microsoft.Graph/Generated/model/DeviceManagement.cs b/src/Microsoft.Graph/Generated/model/DeviceManagement.cs index 9833806a89f..28931c8ca70 100644 --- a/src/Microsoft.Graph/Generated/model/DeviceManagement.cs +++ b/src/Microsoft.Graph/Generated/model/DeviceManagement.cs @@ -63,6 +63,20 @@ public partial class DeviceManagement : Entity [JsonConverter(typeof(NextLinkConverter))] public string TermsAndConditionsNextLink { get; set; } + /// + /// Gets or sets audit events. + /// The Audit Events + /// + [JsonPropertyName("auditEvents")] + public IDeviceManagementAuditEventsCollectionPage AuditEvents { get; set; } + + /// + /// Gets or sets auditEventsNextLink. + /// + [JsonPropertyName("auditEvents@odata.nextLink")] + [JsonConverter(typeof(NextLinkConverter))] + public string AuditEventsNextLink { get; set; } + /// /// Gets or sets device compliance policies. /// The device compliance policies. diff --git a/src/Microsoft.Graph/Generated/model/EducationAssignment.cs b/src/Microsoft.Graph/Generated/model/EducationAssignment.cs index 5205e332e01..30d0e8a34ec 100644 --- a/src/Microsoft.Graph/Generated/model/EducationAssignment.cs +++ b/src/Microsoft.Graph/Generated/model/EducationAssignment.cs @@ -112,6 +112,13 @@ public partial class EducationAssignment : Entity [JsonPropertyName("dueDateTime")] public DateTimeOffset? DueDateTime { get; set; } + /// + /// Gets or sets feedback resources folder url. + /// Folder URL where all the feedback file resources for this assignment are stored. + /// + [JsonPropertyName("feedbackResourcesFolderUrl")] + public string FeedbackResourcesFolderUrl { get; set; } + /// /// Gets or sets grading. /// How the assignment will be graded. diff --git a/src/Microsoft.Graph/Generated/model/EducationFeedbackResourceOutcome.cs b/src/Microsoft.Graph/Generated/model/EducationFeedbackResourceOutcome.cs new file mode 100644 index 00000000000..1a14f98b58e --- /dev/null +++ b/src/Microsoft.Graph/Generated/model/EducationFeedbackResourceOutcome.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: EntityType.cs.tt + +namespace Microsoft.Graph +{ + using System; + using System.Collections.Generic; + using System.IO; + using System.Text.Json.Serialization; + + /// + /// The type Education Feedback Resource Outcome. + /// + [JsonConverter(typeof(DerivedTypeConverter))] + public partial class EducationFeedbackResourceOutcome : EducationOutcome + { + + /// + /// The EducationFeedbackResourceOutcome constructor + /// + public EducationFeedbackResourceOutcome() + { + this.ODataType = "microsoft.graph.educationFeedbackResourceOutcome"; + } + + /// + /// Gets or sets feedback resource. + /// The actual feedback resource. + /// + [JsonPropertyName("feedbackResource")] + public EducationResource FeedbackResource { get; set; } + + /// + /// Gets or sets resource status. + /// The status of the feedback resource. The possible values are: notPublished, pendingPublish, published, failedPublish, unknownFutureValue. + /// + [JsonPropertyName("resourceStatus")] + public EducationFeedbackResourceOutcomeStatus? ResourceStatus { get; set; } + + } +} + diff --git a/src/Microsoft.Graph/Generated/model/EducationFeedbackResourceOutcomeStatus.cs b/src/Microsoft.Graph/Generated/model/EducationFeedbackResourceOutcomeStatus.cs new file mode 100644 index 00000000000..423c03fce17 --- /dev/null +++ b/src/Microsoft.Graph/Generated/model/EducationFeedbackResourceOutcomeStatus.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 EducationFeedbackResourceOutcomeStatus. + /// + [JsonConverter(typeof(JsonStringEnumConverter))] + public enum EducationFeedbackResourceOutcomeStatus + { + + /// + /// Not Published + /// + NotPublished = 0, + + /// + /// Pending Publish + /// + PendingPublish = 1, + + /// + /// Published + /// + Published = 2, + + /// + /// Failed Publish + /// + FailedPublish = 3, + + /// + /// Unknown Future Value + /// + UnknownFutureValue = 4, + + } +} diff --git a/src/Microsoft.Graph/Generated/model/EducationOutcome.cs b/src/Microsoft.Graph/Generated/model/EducationOutcome.cs index 98dd86dc03e..7b9c26c386b 100644 --- a/src/Microsoft.Graph/Generated/model/EducationOutcome.cs +++ b/src/Microsoft.Graph/Generated/model/EducationOutcome.cs @@ -38,7 +38,7 @@ protected internal EducationOutcome() /// /// Gets or sets last modified date time. - /// Moment in time when the resource was last modified. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2021 is 2021-01-01T00:00:00Z. + /// The moment in time when the resource was last modified. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2021 is 2021-01-01T00:00:00Z. /// [JsonPropertyName("lastModifiedDateTime")] public DateTimeOffset? LastModifiedDateTime { get; set; } diff --git a/src/Microsoft.Graph/Generated/model/Group.cs b/src/Microsoft.Graph/Generated/model/Group.cs index 7026fb15b77..90fd61f6c8e 100644 --- a/src/Microsoft.Graph/Generated/model/Group.cs +++ b/src/Microsoft.Graph/Generated/model/Group.cs @@ -121,7 +121,7 @@ public Group() /// /// Gets or sets mail nickname. - /// The mail alias for the group, unique for Microsoft 365 groups in the organization. Maximum length is 64 characters. This property can contain only characters in the ASCII character set 0 - 127 except the following: @ () / [] ' ; : . <> , SPACE. Required. Returned by default. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). + /// The mail alias for the group, unique for Microsoft 365 groups in the organization. Maximum length is 64 characters. This property can contain only characters in the ASCII character set 0 - 127 except the following: @ () / [] ' ; : <> , SPACE. Required. Returned by default. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). /// [JsonPropertyName("mailNickname")] public string MailNickname { get; set; } diff --git a/src/Microsoft.Graph/Generated/model/IosLobAppAssignmentSettings.cs b/src/Microsoft.Graph/Generated/model/IosLobAppAssignmentSettings.cs index 6c2672120a9..ccb0ddb1ef3 100644 --- a/src/Microsoft.Graph/Generated/model/IosLobAppAssignmentSettings.cs +++ b/src/Microsoft.Graph/Generated/model/IosLobAppAssignmentSettings.cs @@ -27,9 +27,23 @@ public IosLobAppAssignmentSettings() this.ODataType = "microsoft.graph.iosLobAppAssignmentSettings"; } + /// + /// Gets or sets isRemovable. + /// When TRUE, indicates that the app can be uninstalled by the user. When FALSE, indicates that the app cannot be uninstalled by the user. By default, this property is set to null which internally is treated as TRUE. + /// + [JsonPropertyName("isRemovable")] + public bool? IsRemovable { get; set; } + + /// + /// Gets or sets uninstallOnDeviceRemoval. + /// When TRUE, indicates that the app should be uninstalled when the device is removed from Intune. When FALSE, indicates that the app will not be uninstalled when the device is removed from Intune. By default, property is set to null which internally is treated as TRUE. + /// + [JsonPropertyName("uninstallOnDeviceRemoval")] + public bool? UninstallOnDeviceRemoval { get; set; } + /// /// Gets or sets vpnConfigurationId. - /// The VPN Configuration Id to apply for this app. + /// This is the unique identifier (Id) of the VPN Configuration to apply to the app. /// [JsonPropertyName("vpnConfigurationId")] public string VpnConfigurationId { get; set; } diff --git a/src/Microsoft.Graph/Generated/model/MacOSLobApp.cs b/src/Microsoft.Graph/Generated/model/MacOSLobApp.cs new file mode 100644 index 00000000000..8d94f5988bf --- /dev/null +++ b/src/Microsoft.Graph/Generated/model/MacOSLobApp.cs @@ -0,0 +1,96 @@ +// ------------------------------------------------------------------------------ +// 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: EntityType.cs.tt + +namespace Microsoft.Graph +{ + using System; + using System.Collections.Generic; + using System.IO; + using System.Text.Json.Serialization; + + /// + /// The type Mac OSLob App. + /// + public partial class MacOSLobApp : MobileLobApp + { + + /// + /// The MacOSLobApp constructor + /// + public MacOSLobApp() + { + this.ODataType = "microsoft.graph.macOSLobApp"; + } + + /// + /// Gets or sets build number. + /// The build number of the package. This should match the package CFBundleShortVersionString of the .pkg file. + /// + [JsonPropertyName("buildNumber")] + public string BuildNumber { get; set; } + + /// + /// Gets or sets bundle id. + /// The primary bundleId of the package. + /// + [JsonPropertyName("bundleId")] + public string BundleId { get; set; } + + /// + /// Gets or sets child apps. + /// List of ComplexType macOSLobChildApp objects. Represents the apps expected to be installed by the package. + /// + [JsonPropertyName("childApps")] + public IEnumerable ChildApps { get; set; } + + /// + /// Gets or sets ignore version detection. + /// When TRUE, indicates that the app's version will NOT be used to detect if the app is installed on a device. When FALSE, indicates that the app's version will be used to detect if the app is installed on a device. Set this to true for apps that use a self update feature. + /// + [JsonPropertyName("ignoreVersionDetection")] + public bool? IgnoreVersionDetection { get; set; } + + /// + /// Gets or sets install as managed. + /// When TRUE, indicates that the app will be installed as managed (requires macOS 11.0 and other managed package restrictions). When FALSE, indicates that the app will be installed as unmanaged. + /// + [JsonPropertyName("installAsManaged")] + public bool? InstallAsManaged { get; set; } + + /// + /// Gets or sets md5hash. + /// The MD5 hash codes. This is empty if the package was uploaded directly. If the Intune App Wrapping Tool is used to create a .intunemac, this value can be found inside the Detection.xml file. + /// + [JsonPropertyName("md5Hash")] + public IEnumerable Md5Hash { get; set; } + + /// + /// Gets or sets md5hash chunk size. + /// The chunk size for MD5 hash. This is '0' or empty if the package was uploaded directly. If the Intune App Wrapping Tool is used to create a .intunemac, this value can be found inside the Detection.xml file. + /// + [JsonPropertyName("md5HashChunkSize")] + public Int32? Md5HashChunkSize { get; set; } + + /// + /// Gets or sets minimum supported operating system. + /// ComplexType macOSMinimumOperatingSystem that indicates the minimum operating system applicable for the application. + /// + [JsonPropertyName("minimumSupportedOperatingSystem")] + public MacOSMinimumOperatingSystem MinimumSupportedOperatingSystem { get; set; } + + /// + /// Gets or sets version number. + /// The version number of the package. This should match the package CFBundleVersion in the packageinfo file. + /// + [JsonPropertyName("versionNumber")] + public string VersionNumber { get; set; } + + } +} + diff --git a/src/Microsoft.Graph/Generated/model/MacOSLobChildApp.cs b/src/Microsoft.Graph/Generated/model/MacOSLobChildApp.cs new file mode 100644 index 00000000000..409e2e1388b --- /dev/null +++ b/src/Microsoft.Graph/Generated/model/MacOSLobChildApp.cs @@ -0,0 +1,58 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +// **NOTE** This file was generated by a tool and any changes will be overwritten. +// + +// Template Source: ComplexType.cs.tt + +namespace Microsoft.Graph +{ + using System; + using System.Collections.Generic; + using System.IO; + using System.Text.Json.Serialization; + + /// + /// The type MacOSLobChildApp. + /// + [JsonConverter(typeof(DerivedTypeConverter))] + public partial class MacOSLobChildApp + { + + /// + /// Gets or sets buildNumber. + /// The build number of the app. + /// + [JsonPropertyName("buildNumber")] + public string BuildNumber { get; set; } + + /// + /// Gets or sets bundleId. + /// The bundleId of the app. + /// + [JsonPropertyName("bundleId")] + public string BundleId { get; set; } + + /// + /// Gets or sets versionNumber. + /// The version number of the app. + /// + [JsonPropertyName("versionNumber")] + public string VersionNumber { get; set; } + + /// + /// Gets or sets additional data. + /// + [JsonExtensionData] + public IDictionary AdditionalData { get; set; } + + /// + /// Gets or sets @odata.type. + /// + [JsonPropertyName("@odata.type")] + public string ODataType { get; set; } + + } +} diff --git a/src/Microsoft.Graph/Generated/model/MacOSMicrosoftEdgeApp.cs b/src/Microsoft.Graph/Generated/model/MacOSMicrosoftEdgeApp.cs new file mode 100644 index 00000000000..5f09d5163a3 --- /dev/null +++ b/src/Microsoft.Graph/Generated/model/MacOSMicrosoftEdgeApp.cs @@ -0,0 +1,41 @@ +// ------------------------------------------------------------------------------ +// 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: EntityType.cs.tt + +namespace Microsoft.Graph +{ + using System; + using System.Collections.Generic; + using System.IO; + using System.Text.Json.Serialization; + + /// + /// The type Mac OSMicrosoft Edge App. + /// + [JsonConverter(typeof(DerivedTypeConverter))] + public partial class MacOSMicrosoftEdgeApp : MobileApp + { + + /// + /// The MacOSMicrosoftEdgeApp constructor + /// + public MacOSMicrosoftEdgeApp() + { + this.ODataType = "microsoft.graph.macOSMicrosoftEdgeApp"; + } + + /// + /// Gets or sets channel. + /// The channel to install on target devices. Possible values are: dev, beta, stable, unknownFutureValue. + /// + [JsonPropertyName("channel")] + public MicrosoftEdgeChannel? Channel { get; set; } + + } +} + diff --git a/src/Microsoft.Graph/Generated/model/MacOSMinimumOperatingSystem.cs b/src/Microsoft.Graph/Generated/model/MacOSMinimumOperatingSystem.cs new file mode 100644 index 00000000000..bd74d9078cb --- /dev/null +++ b/src/Microsoft.Graph/Generated/model/MacOSMinimumOperatingSystem.cs @@ -0,0 +1,121 @@ +// ------------------------------------------------------------------------------ +// 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: ComplexType.cs.tt + +namespace Microsoft.Graph +{ + using System; + using System.Collections.Generic; + using System.IO; + using System.Text.Json.Serialization; + + /// + /// The type MacOSMinimumOperatingSystem. + /// + [JsonConverter(typeof(DerivedTypeConverter))] + public partial class MacOSMinimumOperatingSystem + { + + /// + /// Gets or sets v10_10. + /// When TRUE, indicates OS X 10.10 or later is required to install the app. When FALSE, indicates some other OS version is the minimum OS to install the app. Default value is FALSE. + /// + [JsonPropertyName("v10_10")] + public bool? V10_10 { get; set; } + + /// + /// Gets or sets v10_11. + /// When TRUE, indicates OS X 10.11 or later is required to install the app. When FALSE, indicates some other OS version is the minimum OS to install the app. Default value is FALSE. + /// + [JsonPropertyName("v10_11")] + public bool? V10_11 { get; set; } + + /// + /// Gets or sets v10_12. + /// When TRUE, indicates macOS 10.12 or later is required to install the app. When FALSE, indicates some other OS version is the minimum OS to install the app. Default value is FALSE. + /// + [JsonPropertyName("v10_12")] + public bool? V10_12 { get; set; } + + /// + /// Gets or sets v10_13. + /// When TRUE, indicates macOS 10.13 or later is required to install the app. When FALSE, indicates some other OS version is the minimum OS to install the app. Default value is FALSE. + /// + [JsonPropertyName("v10_13")] + public bool? V10_13 { get; set; } + + /// + /// Gets or sets v10_14. + /// When TRUE, indicates macOS 10.14 or later is required to install the app. When FALSE, indicates some other OS version is the minimum OS to install the app. Default value is FALSE. + /// + [JsonPropertyName("v10_14")] + public bool? V10_14 { get; set; } + + /// + /// Gets or sets v10_15. + /// When TRUE, indicates macOS 10.15 or later is required to install the app. When FALSE, indicates some other OS version is the minimum OS to install the app. Default value is FALSE. + /// + [JsonPropertyName("v10_15")] + public bool? V10_15 { get; set; } + + /// + /// Gets or sets v10_7. + /// When TRUE, indicates Mac OS X 10.7 or later is required to install the app. When FALSE, indicates some other OS version is the minimum OS to install the app. Default value is FALSE. + /// + [JsonPropertyName("v10_7")] + public bool? V10_7 { get; set; } + + /// + /// Gets or sets v10_8. + /// When TRUE, indicates OS X 10.8 or later is required to install the app. When FALSE, indicates some other OS version is the minimum OS to install the app. Default value is FALSE. + /// + [JsonPropertyName("v10_8")] + public bool? V10_8 { get; set; } + + /// + /// Gets or sets v10_9. + /// When TRUE, indicates OS X 10.9 or later is required to install the app. When FALSE, indicates some other OS version is the minimum OS to install the app. Default value is FALSE. + /// + [JsonPropertyName("v10_9")] + public bool? V10_9 { get; set; } + + /// + /// Gets or sets v11_0. + /// When TRUE, indicates macOS 11.0 or later is required to install the app. When FALSE, indicates some other OS version is the minimum OS to install the app. Default value is FALSE. + /// + [JsonPropertyName("v11_0")] + public bool? V11_0 { get; set; } + + /// + /// Gets or sets v12_0. + /// When TRUE, indicates macOS 12.0 or later is required to install the app. When FALSE, indicates some other OS version is the minimum OS to install the app. Default value is FALSE. + /// + [JsonPropertyName("v12_0")] + public bool? V12_0 { get; set; } + + /// + /// Gets or sets v13_0. + /// When TRUE, indicates macOS 13.0 or later is required to install the app. When FALSE, indicates some other OS version is the minimum OS to install the app. Default value is FALSE. + /// + [JsonPropertyName("v13_0")] + public bool? V13_0 { get; set; } + + /// + /// Gets or sets additional data. + /// + [JsonExtensionData] + public IDictionary AdditionalData { get; set; } + + /// + /// Gets or sets @odata.type. + /// + [JsonPropertyName("@odata.type")] + public string ODataType { get; set; } + + } +} diff --git a/src/Microsoft.Graph/Generated/model/MacOsLobAppAssignmentSettings.cs b/src/Microsoft.Graph/Generated/model/MacOsLobAppAssignmentSettings.cs new file mode 100644 index 00000000000..196292726cb --- /dev/null +++ b/src/Microsoft.Graph/Generated/model/MacOsLobAppAssignmentSettings.cs @@ -0,0 +1,38 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +// **NOTE** This file was generated by a tool and any changes will be overwritten. +// + +// Template Source: ComplexType.cs.tt + +namespace Microsoft.Graph +{ + using System; + using System.Collections.Generic; + using System.IO; + using System.Text.Json.Serialization; + + /// + /// The type MacOsLobAppAssignmentSettings. + /// + public partial class MacOsLobAppAssignmentSettings : MobileAppAssignmentSettings + { + /// + /// Initializes a new instance of the class. + /// + public MacOsLobAppAssignmentSettings() + { + this.ODataType = "microsoft.graph.macOsLobAppAssignmentSettings"; + } + + /// + /// Gets or sets uninstallOnDeviceRemoval. + /// When TRUE, indicates that the app should be uninstalled when the device is removed from Intune. When FALSE, indicates that the app will not be uninstalled when the device is removed from Intune. + /// + [JsonPropertyName("uninstallOnDeviceRemoval")] + public bool? UninstallOnDeviceRemoval { get; set; } + + } +} diff --git a/src/Microsoft.Graph/Generated/model/ManagedDevice.cs b/src/Microsoft.Graph/Generated/model/ManagedDevice.cs index c4d57fb77df..f46619efaeb 100644 --- a/src/Microsoft.Graph/Generated/model/ManagedDevice.cs +++ b/src/Microsoft.Graph/Generated/model/ManagedDevice.cs @@ -177,14 +177,14 @@ public partial class ManagedDevice : Entity /// /// Gets or sets free storage space in bytes. - /// Free Storage in Bytes. This property is read-only. + /// Free Storage in Bytes. Default value is 0. Read-only. This property is read-only. /// [JsonPropertyName("freeStorageSpaceInBytes")] public Int64? FreeStorageSpaceInBytes { get; set; } /// /// Gets or sets iccid. - /// Integrated Circuit Card Identifier, it is A SIM card's unique identification number. This property is read-only. + /// Integrated Circuit Card Identifier, it is A SIM card's unique identification number. Return default value null in LIST managedDevices. Real value only returned in singel device GET call with device id and included in select parameter. Supports: $select. $Search is not supported. Read-only. This property is read-only. /// [JsonPropertyName("iccid")] public string Iccid { get; set; } @@ -275,7 +275,7 @@ public partial class ManagedDevice : Entity /// /// Gets or sets notes. - /// Notes on the device created by IT Admin + /// Notes on the device created by IT Admin. Return default value null in LIST managedDevices. Real value only returned in singel device GET call with device id and included in select parameter. Supports: $select. $Search is not supported. /// [JsonPropertyName("notes")] public string Notes { get; set; } @@ -310,7 +310,7 @@ public partial class ManagedDevice : Entity /// /// Gets or sets physical memory in bytes. - /// Total Memory in Bytes. This property is read-only. + /// Total Memory in Bytes. Return default value 0 in LIST managedDevices. Real value only returned in singel device GET call with device id and included in select parameter. Supports: $select. Default value is 0. Read-only. This property is read-only. /// [JsonPropertyName("physicalMemoryInBytes")] public Int64? PhysicalMemoryInBytes { get; set; } @@ -359,7 +359,7 @@ public partial class ManagedDevice : Entity /// /// Gets or sets udid. - /// Unique Device Identifier for iOS and macOS devices. This property is read-only. + /// Unique Device Identifier for iOS and macOS devices. Return default value null in LIST managedDevices. Real value only returned in singel device GET call with device id and included in select parameter. Supports: $select. $Search is not supported. Read-only. This property is read-only. /// [JsonPropertyName("udid")] public string Udid { get; set; } diff --git a/src/Microsoft.Graph/Generated/model/MicrosoftEdgeChannel.cs b/src/Microsoft.Graph/Generated/model/MicrosoftEdgeChannel.cs new file mode 100644 index 00000000000..31048be92d9 --- /dev/null +++ b/src/Microsoft.Graph/Generated/model/MicrosoftEdgeChannel.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 MicrosoftEdgeChannel. + /// + [JsonConverter(typeof(JsonStringEnumConverter))] + public enum MicrosoftEdgeChannel + { + + /// + /// Dev + /// + Dev = 0, + + /// + /// Beta + /// + Beta = 1, + + /// + /// Stable + /// + Stable = 2, + + /// + /// Unknown Future Value + /// + UnknownFutureValue = 3, + + } +} diff --git a/src/Microsoft.Graph/Generated/model/RiskyUserHistoryItem.cs b/src/Microsoft.Graph/Generated/model/RiskyUserHistoryItem.cs index b6e98bce1f4..0e38d7ba405 100644 --- a/src/Microsoft.Graph/Generated/model/RiskyUserHistoryItem.cs +++ b/src/Microsoft.Graph/Generated/model/RiskyUserHistoryItem.cs @@ -37,14 +37,14 @@ public RiskyUserHistoryItem() /// /// Gets or sets initiated by. - /// The id of actor that does the operation. + /// The ID of actor that does the operation. /// [JsonPropertyName("initiatedBy")] public string InitiatedBy { get; set; } /// /// Gets or sets user id. - /// The id of the user. + /// The ID of the user. /// [JsonPropertyName("userId")] public string UserId { get; set; } diff --git a/src/Microsoft.Graph/Generated/model/TeamMembersNotificationRecipient.cs b/src/Microsoft.Graph/Generated/model/TeamMembersNotificationRecipient.cs new file mode 100644 index 00000000000..a2622da6121 --- /dev/null +++ b/src/Microsoft.Graph/Generated/model/TeamMembersNotificationRecipient.cs @@ -0,0 +1,37 @@ +// ------------------------------------------------------------------------------ +// 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: ComplexType.cs.tt + +namespace Microsoft.Graph +{ + using System; + using System.Collections.Generic; + using System.IO; + using System.Text.Json.Serialization; + + /// + /// The type TeamMembersNotificationRecipient. + /// + public partial class TeamMembersNotificationRecipient : TeamworkNotificationRecipient + { + /// + /// Initializes a new instance of the class. + /// + public TeamMembersNotificationRecipient() + { + this.ODataType = "microsoft.graph.teamMembersNotificationRecipient"; + } + + /// + /// Gets or sets teamId. + /// + [JsonPropertyName("teamId")] + public string TeamId { get; set; } + + } +} diff --git a/src/Microsoft.Graph/Generated/model/TimeOffReason.cs b/src/Microsoft.Graph/Generated/model/TimeOffReason.cs index 14574000a8d..8060074f4b4 100644 --- a/src/Microsoft.Graph/Generated/model/TimeOffReason.cs +++ b/src/Microsoft.Graph/Generated/model/TimeOffReason.cs @@ -38,7 +38,7 @@ public TimeOffReason() /// /// Gets or sets icon type. - /// Supported icon types: none; car; calendar; running; plane; firstAid; doctor; notWorking; clock; juryDuty; globe; cup; phone; weather; umbrella; piggyBank; dog; cake; trafficCone; pin; sunny. Required. + /// Supported icon types are: none, car, calendar, running, plane, firstAid, doctor, notWorking, clock, juryDuty, globe, cup, phone, weather, umbrella, piggyBank, dog, cake, trafficCone, pin, sunny. Required. /// [JsonPropertyName("iconType")] public TimeOffReasonIconType? IconType { get; set; } diff --git a/src/Microsoft.Graph/Generated/model/User.cs b/src/Microsoft.Graph/Generated/model/User.cs index 84c9022d9ca..056f89ed36d 100644 --- a/src/Microsoft.Graph/Generated/model/User.cs +++ b/src/Microsoft.Graph/Generated/model/User.cs @@ -44,7 +44,7 @@ public User() /// /// Gets or sets assigned licenses. - /// The licenses that are assigned to the user, including inherited (group-based) licenses. Not nullable. Returned only on $select. Supports $filter (eq, not, and counting empty collections). + /// The licenses that are assigned to the user, including inherited (group-based) licenses. This property doesn't differentiate directly-assigned and inherited licenses. Use the licenseAssignmentStates property to identify the directly-assigned and inherited licenses. Not nullable. Returned only on $select. Supports $filter (eq, not, and counting empty collections). /// [JsonPropertyName("assignedLicenses")] public IEnumerable AssignedLicenses { get; set; } @@ -99,7 +99,7 @@ public User() /// /// Gets or sets created date time. - /// The created date of the user object. Read-only. Returned only on $select. Supports $filter (eq, ne, not , ge, le, in). + /// The date and time the user was created, in ISO 8601 format and in UTC time. The value cannot be modified and is automatically populated when the entity is created. Nullable. For on-premises users, the value represents when they were first created in Azure AD. Property is null for some users created before June 2018 and on-premises users that were synced to Azure AD before June 2018. Read-only. Read-only. Returned only on $select. Supports $filter (eq, ne, not , ge, le, in). /// [JsonPropertyName("createdDateTime")] public DateTimeOffset? CreatedDateTime { get; set; } @@ -225,7 +225,7 @@ public User() /// /// Gets or sets license assignment states. - /// State of license assignments for this user. Read-only. Returned only on $select. + /// State of license assignments for this user. Also indicates licenses that are directly-assigned and those that the user has inherited through group memberships. Read-only. Returned only on $select. /// [JsonPropertyName("licenseAssignmentStates")] public IEnumerable LicenseAssignmentStates { get; set; } diff --git a/src/Microsoft.Graph/Generated/requests/AuditEventGetAuditActivityTypesCollectionPage.cs b/src/Microsoft.Graph/Generated/requests/AuditEventGetAuditActivityTypesCollectionPage.cs new file mode 100644 index 00000000000..1557a08cc22 --- /dev/null +++ b/src/Microsoft.Graph/Generated/requests/AuditEventGetAuditActivityTypesCollectionPage.cs @@ -0,0 +1,36 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +// **NOTE** This file was generated by a tool and any changes will be overwritten. +// + +// Template Source: MethodCollectionPage.cs.tt + +namespace Microsoft.Graph +{ + /// + /// The type AuditEventGetAuditActivityTypesCollectionPage. + /// + public partial class AuditEventGetAuditActivityTypesCollectionPage : CollectionPage, IAuditEventGetAuditActivityTypesCollectionPage + { + /// + /// Gets the next page instance. + /// + public IAuditEventGetAuditActivityTypesRequest NextPageRequest { get; private set; } + + /// + /// Initializes the NextPageRequest property. + /// + public void InitializeNextPageRequest(IBaseClient client, string nextPageLinkString) + { + if (!string.IsNullOrEmpty(nextPageLinkString)) + { + this.NextPageRequest = new AuditEventGetAuditActivityTypesRequest( + nextPageLinkString, + client, + null); + } + } + } +} diff --git a/src/Microsoft.Graph/Generated/requests/AuditEventGetAuditActivityTypesCollectionResponse.cs b/src/Microsoft.Graph/Generated/requests/AuditEventGetAuditActivityTypesCollectionResponse.cs new file mode 100644 index 00000000000..39eb6b6158e --- /dev/null +++ b/src/Microsoft.Graph/Generated/requests/AuditEventGetAuditActivityTypesCollectionResponse.cs @@ -0,0 +1,39 @@ +// ------------------------------------------------------------------------------ +// 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: MethodCollectionResponse.cs.tt + +namespace Microsoft.Graph +{ + using System.Collections.Generic; + using System.Text.Json.Serialization; + + /// + /// The type AuditEventGetAuditActivityTypesCollectionResponse. + /// + public class AuditEventGetAuditActivityTypesCollectionResponse + { + /// + /// Gets or sets the value. + /// + [JsonPropertyName("value")] + public IAuditEventGetAuditActivityTypesCollectionPage Value { get; set; } + + /// + /// Gets or sets the nextLink string value. + /// + [JsonPropertyName("@odata.nextLink")] + [JsonConverter(typeof(NextLinkConverter))] + public string NextLink { get; set; } + + /// + /// Gets or sets additional data. + /// + [JsonExtensionData] + public IDictionary AdditionalData { get; set; } + } +} diff --git a/src/Microsoft.Graph/Generated/requests/AuditEventGetAuditActivityTypesRequest.cs b/src/Microsoft.Graph/Generated/requests/AuditEventGetAuditActivityTypesRequest.cs new file mode 100644 index 00000000000..9d260cfe1e7 --- /dev/null +++ b/src/Microsoft.Graph/Generated/requests/AuditEventGetAuditActivityTypesRequest.cs @@ -0,0 +1,133 @@ +// ------------------------------------------------------------------------------ +// 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: MethodRequest.cs.tt + +namespace Microsoft.Graph +{ + using System; + using System.Collections.Generic; + using System.IO; + using System.Net.Http; + using System.Threading; + + /// + /// The type AuditEventGetAuditActivityTypesRequest. + /// + public partial class AuditEventGetAuditActivityTypesRequest : BaseRequest, IAuditEventGetAuditActivityTypesRequest + { + /// + /// Constructs a new AuditEventGetAuditActivityTypesRequest. + /// + public AuditEventGetAuditActivityTypesRequest( + string requestUrl, + IBaseClient client, + IEnumerable /// The . public IAuthenticationMethodResetPasswordRequestBuilder ResetPassword( - string newPassword = null, - bool? requireChangeOnNextSignIn = null) + string newPassword = null) { return new AuthenticationMethodResetPasswordRequestBuilder( this.AppendSegmentToRequestUrl("microsoft.graph.resetPassword"), this.Client, - newPassword, - requireChangeOnNextSignIn); + newPassword); } } diff --git a/src/Microsoft.Graph/Generated/requests/AuthenticationMethodResetPasswordRequestBuilder.cs b/src/Microsoft.Graph/Generated/requests/AuthenticationMethodResetPasswordRequestBuilder.cs index 58040a096e0..a440a81c474 100644 --- a/src/Microsoft.Graph/Generated/requests/AuthenticationMethodResetPasswordRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/requests/AuthenticationMethodResetPasswordRequestBuilder.cs @@ -24,16 +24,13 @@ public partial class AuthenticationMethodResetPasswordRequestBuilder : BaseActio /// The URL for the request. /// The for handling requests. /// A newPassword parameter for the OData method call. - /// A requireChangeOnNextSignIn parameter for the OData method call. public AuthenticationMethodResetPasswordRequestBuilder( string requestUrl, IBaseClient client, - string newPassword, - bool? requireChangeOnNextSignIn) + string newPassword) : base(requestUrl, client) { this.SetParameter("newPassword", newPassword, true); - this.SetParameter("requireChangeOnNextSignIn", requireChangeOnNextSignIn, true); } /// @@ -51,11 +48,6 @@ protected override IAuthenticationMethodResetPasswordRequest CreateRequest(strin request.RequestBody.NewPassword = this.GetParameter("newPassword"); } - if (this.HasParameter("requireChangeOnNextSignIn")) - { - request.RequestBody.RequireChangeOnNextSignIn = this.GetParameter("requireChangeOnNextSignIn"); - } - return request; } } diff --git a/src/Microsoft.Graph/Generated/requests/DeviceManagementAuditEventsCollectionPage.cs b/src/Microsoft.Graph/Generated/requests/DeviceManagementAuditEventsCollectionPage.cs new file mode 100644 index 00000000000..431183c4270 --- /dev/null +++ b/src/Microsoft.Graph/Generated/requests/DeviceManagementAuditEventsCollectionPage.cs @@ -0,0 +1,38 @@ +// ------------------------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. +// ------------------------------------------------------------------------------ + +// **NOTE** This file was generated by a tool and any changes will be overwritten. +// + +// Template Source: EntityCollectionPage.cs.tt + +namespace Microsoft.Graph +{ + using System; + + /// + /// The type DeviceManagementAuditEventsCollectionPage. + /// + public partial class DeviceManagementAuditEventsCollectionPage : CollectionPage, IDeviceManagementAuditEventsCollectionPage + { + /// + /// Gets the next page instance. + /// + public IDeviceManagementAuditEventsCollectionRequest NextPageRequest { get; private set; } + + /// + /// Initializes the NextPageRequest property. + /// + public void InitializeNextPageRequest(IBaseClient client, string nextPageLinkString) + { + if (!string.IsNullOrEmpty(nextPageLinkString)) + { + this.NextPageRequest = new DeviceManagementAuditEventsCollectionRequest( + nextPageLinkString, + client, + null); + } + } + } +} diff --git a/src/Microsoft.Graph/Generated/requests/DeviceManagementAuditEventsCollectionRequest.cs b/src/Microsoft.Graph/Generated/requests/DeviceManagementAuditEventsCollectionRequest.cs new file mode 100644 index 00000000000..aec25c02d67 --- /dev/null +++ b/src/Microsoft.Graph/Generated/requests/DeviceManagementAuditEventsCollectionRequest.cs @@ -0,0 +1,208 @@ +// ------------------------------------------------------------------------------ +// 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: EntityCollectionRequest.cs.tt + +namespace Microsoft.Graph +{ + using System; + using System.Collections.Generic; + using System.Net.Http; + using System.Threading; + using System.Linq.Expressions; + + /// + /// The type DeviceManagementAuditEventsCollectionRequest. + /// + public partial class DeviceManagementAuditEventsCollectionRequest : BaseRequest, IDeviceManagementAuditEventsCollectionRequest + { + /// + /// Constructs a new DeviceManagementAuditEventsCollectionRequest. + /// + /// The URL for the built request. + /// The for handling requests. + /// Query and header option name value pairs for the request. + public DeviceManagementAuditEventsCollectionRequest( + string requestUrl, + IBaseClient client, + IEnumerable /// The . IAuthenticationMethodResetPasswordRequestBuilder ResetPassword( - string newPassword = null, - bool? requireChangeOnNextSignIn = null); + string newPassword = null); } } diff --git a/src/Microsoft.Graph/Generated/requests/IDeviceManagementAuditEventsCollectionPage.cs b/src/Microsoft.Graph/Generated/requests/IDeviceManagementAuditEventsCollectionPage.cs new file mode 100644 index 00000000000..0293236343a --- /dev/null +++ b/src/Microsoft.Graph/Generated/requests/IDeviceManagementAuditEventsCollectionPage.cs @@ -0,0 +1,31 @@ +// ------------------------------------------------------------------------------ +// 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: IEntityCollectionPage.cs.tt + +namespace Microsoft.Graph +{ + using System; + using System.Text.Json.Serialization; + + /// + /// The interface IDeviceManagementAuditEventsCollectionPage. + /// + [InterfaceConverter(typeof(InterfaceConverter))] + public interface IDeviceManagementAuditEventsCollectionPage : ICollectionPage + { + /// + /// Gets the next page instance. + /// + IDeviceManagementAuditEventsCollectionRequest NextPageRequest { get; } + + /// + /// Initializes the NextPageRequest property. + /// + void InitializeNextPageRequest(IBaseClient client, string nextPageLinkString); + } +} diff --git a/src/Microsoft.Graph/Generated/requests/IDeviceManagementAuditEventsCollectionRequest.cs b/src/Microsoft.Graph/Generated/requests/IDeviceManagementAuditEventsCollectionRequest.cs new file mode 100644 index 00000000000..6499b1c502a --- /dev/null +++ b/src/Microsoft.Graph/Generated/requests/IDeviceManagementAuditEventsCollectionRequest.cs @@ -0,0 +1,110 @@ +// ------------------------------------------------------------------------------ +// 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: IEntityCollectionRequest.cs.tt + +namespace Microsoft.Graph +{ + using System; + using System.Collections.Generic; + using System.Net.Http; + using System.Threading; + using System.Linq.Expressions; + + /// + /// The interface IDeviceManagementAuditEventsCollectionRequest. + /// + public partial interface IDeviceManagementAuditEventsCollectionRequest : IBaseRequest + { + /// + /// Adds the specified AuditEvent to the collection via POST. + /// + /// The AuditEvent to add. + /// The for the request. + /// The created AuditEvent. + System.Threading.Tasks.Task AddAsync(AuditEvent auditEvent, CancellationToken cancellationToken = default); + + /// + /// Adds the specified AuditEvent to the collection via POST and returns a object of the request. + /// + /// The AuditEvent to add. + /// The for the request. + /// The object of the request. + System.Threading.Tasks.Task> AddResponseAsync(AuditEvent auditEvent, CancellationToken cancellationToken = default); + + + /// + /// Gets the collection page. + /// + /// The for the request. + /// The collection page. + System.Threading.Tasks.Task GetAsync(CancellationToken cancellationToken = default); + + /// + /// Gets the collection page and returns a object. + /// + /// The for the request. + /// The object. + System.Threading.Tasks.Task> GetResponseAsync(CancellationToken cancellationToken = default); + + /// + /// Adds the specified expand value to the request. + /// + /// The expand value. + /// The request object to send. + IDeviceManagementAuditEventsCollectionRequest Expand(string value); + + /// + /// Adds the specified expand value to the request. + /// + /// The expression from which to calculate the expand value. + /// The request object to send. + IDeviceManagementAuditEventsCollectionRequest Expand(Expression> expandExpression); + + /// + /// Adds the specified select value to the request. + /// + /// The select value. + /// The request object to send. + IDeviceManagementAuditEventsCollectionRequest Select(string value); + + /// + /// Adds the specified select value to the request. + /// + /// The expression from which to calculate the select value. + /// The request object to send. + IDeviceManagementAuditEventsCollectionRequest Select(Expression> selectExpression); + + /// + /// Adds the specified top value to the request. + /// + /// The top value. + /// The request object to send. + IDeviceManagementAuditEventsCollectionRequest Top(int value); + + /// + /// Adds the specified filter value to the request. + /// + /// The filter value. + /// The request object to send. + IDeviceManagementAuditEventsCollectionRequest Filter(string value); + + /// + /// Adds the specified skip value to the request. + /// + /// The skip value. + /// The request object to send. + IDeviceManagementAuditEventsCollectionRequest Skip(int value); + + /// + /// Adds the specified orderby value to the request. + /// + /// The orderby value. + /// The request object to send. + IDeviceManagementAuditEventsCollectionRequest OrderBy(string value); + } +} diff --git a/src/Microsoft.Graph/Generated/requests/IDeviceManagementAuditEventsCollectionRequestBuilder.cs b/src/Microsoft.Graph/Generated/requests/IDeviceManagementAuditEventsCollectionRequestBuilder.cs new file mode 100644 index 00000000000..a77f433211f --- /dev/null +++ b/src/Microsoft.Graph/Generated/requests/IDeviceManagementAuditEventsCollectionRequestBuilder.cs @@ -0,0 +1,52 @@ +// ------------------------------------------------------------------------------ +// 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: IEntityCollectionRequestBuilder.cs.tt +namespace Microsoft.Graph +{ + using System; + using System.Collections.Generic; + + /// + /// The interface IDeviceManagementAuditEventsCollectionRequestBuilder. + /// + public partial interface IDeviceManagementAuditEventsCollectionRequestBuilder : IBaseRequestBuilder + { + /// + /// Builds the request. + /// + /// The built request. + IDeviceManagementAuditEventsCollectionRequest Request(); + + /// + /// Builds the request. + /// + /// The query and header options for the request. + /// The built request. + IDeviceManagementAuditEventsCollectionRequest Request(IEnumerable