diff --git a/src/Microsoft.Graph/Generated/AppCatalogs/TeamsApps/Item/TeamsAppItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/AppCatalogs/TeamsApps/Item/TeamsAppItemRequestBuilder.cs index f73faa0d5cb..e3594e1ee48 100644 --- a/src/Microsoft.Graph/Generated/AppCatalogs/TeamsApps/Item/TeamsAppItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/AppCatalogs/TeamsApps/Item/TeamsAppItemRequestBuilder.cs @@ -34,7 +34,7 @@ public TeamsAppItemRequestBuilder(Dictionary pathParameters, IRe public TeamsAppItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/appCatalogs/teamsApps/{teamsApp%2Did}{?%24select,%24expand}", rawUrl) { } /// - /// This API is available in the following national cloud deployments. + /// Delete an app from an organization's app catalog (the tenant app catalog). To delete an app, the distributionMethod property for the app must be set to organization. You can also use this API to remove a submitted app from the review process. This API is available in the following national cloud deployments. /// Find more info here /// /// Cancellation token to use when cancelling requests @@ -94,7 +94,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.TeamsApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// This API is available in the following national cloud deployments. + /// Delete an app from an organization's app catalog (the tenant app catalog). To delete an app, the distributionMethod property for the app must be set to organization. You can also use this API to remove a submitted app from the review process. This API is available in the following national cloud deployments. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER diff --git a/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs index 5e6655eddb3..e042c323b5e 100644 --- a/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs @@ -42,7 +42,7 @@ public HostedContentsRequestBuilder(Dictionary pathParameters, I public HostedContentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/chats/{chat%2Did}/messages/{chatMessage%2Did}/hostedContents{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) { } /// - /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. /// Find more info here /// /// Cancellation token to use when cancelling requests @@ -83,7 +83,7 @@ public async Task PostAsync(ChatMessageHostedContent b return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -144,7 +144,7 @@ public HostedContentsRequestBuilder WithUrl(string rawUrl) { return new HostedContentsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. /// public class HostedContentsRequestBuilderGetQueryParameters { /// Include count of items diff --git a/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs index 1956be7bec2..9abc7421bc1 100644 --- a/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs @@ -42,7 +42,7 @@ public HostedContentsRequestBuilder(Dictionary pathParameters, I public HostedContentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/chats/{chat%2Did}/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/hostedContents{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) { } /// - /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. /// Find more info here /// /// Cancellation token to use when cancelling requests @@ -83,7 +83,7 @@ public async Task PostAsync(ChatMessageHostedContent b return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -144,7 +144,7 @@ public HostedContentsRequestBuilder WithUrl(string rawUrl) { return new HostedContentsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. /// public class HostedContentsRequestBuilderGetQueryParameters { /// Include count of items diff --git a/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/Replies/RepliesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/Replies/RepliesRequestBuilder.cs index 10bf51a4bff..7872ed8dbcc 100644 --- a/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/Replies/RepliesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/Replies/RepliesRequestBuilder.cs @@ -67,8 +67,8 @@ public async Task GetAsync(Action(requestInfo, ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Send a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. - /// Find more info here + /// Create a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -115,7 +115,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Send a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. + /// Create a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Communications/Calls/Item/Participants/Invite/InviteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Communications/Calls/Item/Participants/Invite/InviteRequestBuilder.cs index 4f7dc9ca60b..4a3db2f8ad7 100644 --- a/src/Microsoft.Graph/Generated/Communications/Calls/Item/Participants/Invite/InviteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Communications/Calls/Item/Participants/Invite/InviteRequestBuilder.cs @@ -29,8 +29,8 @@ public InviteRequestBuilder(Dictionary pathParameters, IRequestA public InviteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/communications/calls/{call%2Did}/participants/invite", rawUrl) { } /// - /// Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled. This API is available in the following national cloud deployments. - /// Find more info here + /// Invite participants to the active call. For more information about how to handle operations, see commsOperation. This API is available in the following national cloud deployments. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -51,7 +51,7 @@ public async Task PostAsync(InvitePostRequestBody b return await RequestAdapter.SendAsync(requestInfo, InviteParticipantsOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled. This API is available in the following national cloud deployments. + /// Invite participants to the active call. For more information about how to handle operations, see commsOperation. This API is available in the following national cloud deployments. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/DeviceAppManagementRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/DeviceAppManagementRequestBuilder.cs index 31aec64fead..5eccb47e221 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/DeviceAppManagementRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/DeviceAppManagementRequestBuilder.cs @@ -105,7 +105,7 @@ public DeviceAppManagementRequestBuilder(string rawUrl, IRequestAdapter requestA } /// /// Read properties and relationships of the deviceAppManagement object. - /// Find more info here + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -125,7 +125,7 @@ public DeviceAppManagementRequestBuilder(string rawUrl, IRequestAdapter requestA } /// /// Update the properties of a deviceAppManagement object. - /// Find more info here + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppPolicies/Item/ManagedAppPolicyItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppPolicies/Item/ManagedAppPolicyItemRequestBuilder.cs index 504e26d99e2..d47f5e62dc7 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppPolicies/Item/ManagedAppPolicyItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppPolicies/Item/ManagedAppPolicyItemRequestBuilder.cs @@ -53,8 +53,8 @@ public async Task DeleteAsync(Action - /// Read properties and relationships of the managedAppProtection object. - /// Find more info here + /// Read properties and relationships of the targetedManagedAppProtection object. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -119,7 +119,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read properties and relationships of the managedAppProtection object. + /// Read properties and relationships of the targetedManagedAppProtection object. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -196,7 +196,7 @@ public ManagedAppPolicyItemRequestBuilderDeleteRequestConfiguration() { } } /// - /// Read properties and relationships of the managedAppProtection object. + /// Read properties and relationships of the targetedManagedAppProtection object. /// public class ManagedAppPolicyItemRequestBuilderGetQueryParameters { /// Expand related entities diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppPolicies/ManagedAppPoliciesRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppPolicies/ManagedAppPoliciesRequestBuilder.cs index 607f5cfc14a..d3f5ff7b021 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppPolicies/ManagedAppPoliciesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppPolicies/ManagedAppPoliciesRequestBuilder.cs @@ -42,8 +42,8 @@ public ManagedAppPoliciesRequestBuilder(Dictionary pathParameter public ManagedAppPoliciesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceAppManagement/managedAppPolicies{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) { } /// - /// List properties and relationships of the windowsInformationProtection objects. - /// Find more info here + /// List properties and relationships of the targetedManagedAppProtection objects. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -83,7 +83,7 @@ public async Task PostAsync(ManagedAppPolicy body, Action(requestInfo, ManagedAppPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List properties and relationships of the windowsInformationProtection objects. + /// List properties and relationships of the targetedManagedAppProtection objects. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -144,7 +144,7 @@ public ManagedAppPoliciesRequestBuilder WithUrl(string rawUrl) { return new ManagedAppPoliciesRequestBuilder(rawUrl, RequestAdapter); } /// - /// List properties and relationships of the windowsInformationProtection objects. + /// List properties and relationships of the targetedManagedAppProtection objects. /// public class ManagedAppPoliciesRequestBuilderGetQueryParameters { /// Include count of items diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/ManagedAppRegistrationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/ManagedAppRegistrationItemRequestBuilder.cs index e79040554c9..901699182c0 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/ManagedAppRegistrationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/ManagedAppRegistrationItemRequestBuilder.cs @@ -63,8 +63,8 @@ public async Task DeleteAsync(Action - /// Read properties and relationships of the iosManagedAppRegistration object. - /// Find more info here + /// Read properties and relationships of the androidManagedAppRegistration object. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -129,7 +129,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read properties and relationships of the iosManagedAppRegistration object. + /// Read properties and relationships of the androidManagedAppRegistration object. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -206,7 +206,7 @@ public ManagedAppRegistrationItemRequestBuilderDeleteRequestConfiguration() { } } /// - /// Read properties and relationships of the iosManagedAppRegistration object. + /// Read properties and relationships of the androidManagedAppRegistration object. /// public class ManagedAppRegistrationItemRequestBuilderGetQueryParameters { /// Expand related entities diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilder.cs index b40d70c3ef3..2063f325dbe 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilder.cs @@ -47,8 +47,8 @@ public ManagedAppRegistrationsRequestBuilder(Dictionary pathPara public ManagedAppRegistrationsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceAppManagement/managedAppRegistrations{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) { } /// - /// List properties and relationships of the managedAppRegistration objects. - /// Find more info here + /// List properties and relationships of the androidManagedAppRegistration objects. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -89,7 +89,7 @@ public async Task PostAsync(ManagedAppRegistration body, return await RequestAdapter.SendAsync(requestInfo, ManagedAppRegistration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List properties and relationships of the managedAppRegistration objects. + /// List properties and relationships of the androidManagedAppRegistration objects. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -150,7 +150,7 @@ public ManagedAppRegistrationsRequestBuilder WithUrl(string rawUrl) { return new ManagedAppRegistrationsRequestBuilder(rawUrl, RequestAdapter); } /// - /// List properties and relationships of the managedAppRegistration objects. + /// List properties and relationships of the androidManagedAppRegistration objects. /// public class ManagedAppRegistrationsRequestBuilderGetQueryParameters { /// Include count of items diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppStatuses/Item/ManagedAppStatusItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppStatuses/Item/ManagedAppStatusItemRequestBuilder.cs index d3d643fd51e..93d8c78fd63 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppStatuses/Item/ManagedAppStatusItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppStatuses/Item/ManagedAppStatusItemRequestBuilder.cs @@ -48,8 +48,8 @@ public async Task DeleteAsync(Action - /// Read properties and relationships of the managedAppStatusRaw object. - /// Find more info here + /// Read properties and relationships of the managedAppStatus object. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -114,7 +114,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read properties and relationships of the managedAppStatusRaw object. + /// Read properties and relationships of the managedAppStatus object. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -191,7 +191,7 @@ public ManagedAppStatusItemRequestBuilderDeleteRequestConfiguration() { } } /// - /// Read properties and relationships of the managedAppStatusRaw object. + /// Read properties and relationships of the managedAppStatus object. /// public class ManagedAppStatusItemRequestBuilderGetQueryParameters { /// Expand related entities diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/AssignmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/AssignmentsRequestBuilder.cs index abbc186c76d..d70422869cf 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/AssignmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/AssignmentsRequestBuilder.cs @@ -42,8 +42,8 @@ public AssignmentsRequestBuilder(Dictionary pathParameters, IReq public AssignmentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceAppManagement/managedEBooks/{managedEBook%2Did}/assignments{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) { } /// - /// List properties and relationships of the iosVppEBookAssignment objects. - /// Find more info here + /// List properties and relationships of the managedEBookAssignment objects. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -84,7 +84,7 @@ public async Task PostAsync(ManagedEBookAssignment body, return await RequestAdapter.SendAsync(requestInfo, ManagedEBookAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List properties and relationships of the iosVppEBookAssignment objects. + /// List properties and relationships of the managedEBookAssignment objects. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -145,7 +145,7 @@ public AssignmentsRequestBuilder WithUrl(string rawUrl) { return new AssignmentsRequestBuilder(rawUrl, RequestAdapter); } /// - /// List properties and relationships of the iosVppEBookAssignment objects. + /// List properties and relationships of the managedEBookAssignment objects. /// public class AssignmentsRequestBuilderGetQueryParameters { /// Include count of items diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilder.cs index 0e585e08761..41001695d66 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilder.cs @@ -49,8 +49,8 @@ public async Task DeleteAsync(Action - /// Read properties and relationships of the managedEBookAssignment object. - /// Find more info here + /// Read properties and relationships of the iosVppEBookAssignment object. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -69,8 +69,8 @@ public async Task GetAsync(Action(requestInfo, ManagedEBookAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the properties of a iosVppEBookAssignment object. - /// Find more info here + /// Update the properties of a managedEBookAssignment object. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -116,7 +116,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read properties and relationships of the managedEBookAssignment object. + /// Read properties and relationships of the iosVppEBookAssignment object. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -142,7 +142,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of a iosVppEBookAssignment object. + /// Update the properties of a managedEBookAssignment object. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. @@ -193,7 +193,7 @@ public ManagedEBookAssignmentItemRequestBuilderDeleteRequestConfiguration() { } } /// - /// Read properties and relationships of the managedEBookAssignment object. + /// Read properties and relationships of the iosVppEBookAssignment object. /// public class ManagedEBookAssignmentItemRequestBuilderGetQueryParameters { /// Expand related entities diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/ManagedEBookItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/ManagedEBookItemRequestBuilder.cs index 1cf7e3e77ca..98e1cac6aa5 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/ManagedEBookItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/ManagedEBookItemRequestBuilder.cs @@ -74,8 +74,8 @@ public async Task DeleteAsync(Action - /// Read properties and relationships of the managedEBook object. - /// Find more info here + /// Read properties and relationships of the iosVppEBook object. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -141,7 +141,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read properties and relationships of the managedEBook object. + /// Read properties and relationships of the iosVppEBook object. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -218,7 +218,7 @@ public ManagedEBookItemRequestBuilderDeleteRequestConfiguration() { } } /// - /// Read properties and relationships of the managedEBook object. + /// Read properties and relationships of the iosVppEBook object. /// public class ManagedEBookItemRequestBuilderGetQueryParameters { /// Expand related entities diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileAppConfigurations/MobileAppConfigurationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileAppConfigurations/MobileAppConfigurationsRequestBuilder.cs index 9b45f4ca49d..07fbf02eb49 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileAppConfigurations/MobileAppConfigurationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileAppConfigurations/MobileAppConfigurationsRequestBuilder.cs @@ -42,8 +42,8 @@ public MobileAppConfigurationsRequestBuilder(Dictionary pathPara public MobileAppConfigurationsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceAppManagement/mobileAppConfigurations{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) { } /// - /// List properties and relationships of the iosMobileAppConfiguration objects. - /// Find more info here + /// List properties and relationships of the managedDeviceMobileAppConfiguration objects. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -84,7 +84,7 @@ public async Task PostAsync(ManagedDeviceMo return await RequestAdapter.SendAsync(requestInfo, ManagedDeviceMobileAppConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List properties and relationships of the iosMobileAppConfiguration objects. + /// List properties and relationships of the managedDeviceMobileAppConfiguration objects. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -145,7 +145,7 @@ public MobileAppConfigurationsRequestBuilder WithUrl(string rawUrl) { return new MobileAppConfigurationsRequestBuilder(rawUrl, RequestAdapter); } /// - /// List properties and relationships of the iosMobileAppConfiguration objects. + /// List properties and relationships of the managedDeviceMobileAppConfiguration objects. /// public class MobileAppConfigurationsRequestBuilderGetQueryParameters { /// Include count of items diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilder.cs index d2b5f20932f..8a1b634ca11 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilder.cs @@ -124,8 +124,8 @@ public MobileAppItemRequestBuilder(Dictionary pathParameters, IR public MobileAppItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}{?%24select,%24expand}", rawUrl) { } /// - /// Deletes a windowsMobileMSI. - /// Find more info here + /// Deletes a windowsMicrosoftEdgeApp. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -144,8 +144,8 @@ public async Task DeleteAsync(Action - /// Read properties and relationships of the macOSOfficeSuiteApp object. - /// Find more info here + /// Read properties and relationships of the win32LobApp object. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -164,8 +164,8 @@ public async Task GetAsync(Action(requestInfo, MobileApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the properties of a windowsMobileMSI object. - /// Find more info here + /// Update the properties of a managedIOSStoreApp object. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -186,7 +186,7 @@ public async Task PatchAsync(MobileApp body, Action(requestInfo, MobileApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Deletes a windowsMobileMSI. + /// Deletes a windowsMicrosoftEdgeApp. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -211,7 +211,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read properties and relationships of the macOSOfficeSuiteApp object. + /// Read properties and relationships of the win32LobApp object. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -237,7 +237,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of a windowsMobileMSI object. + /// Update the properties of a managedIOSStoreApp object. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. @@ -288,7 +288,7 @@ public MobileAppItemRequestBuilderDeleteRequestConfiguration() { } } /// - /// Read properties and relationships of the macOSOfficeSuiteApp object. + /// Read properties and relationships of the win32LobApp object. /// public class MobileAppItemRequestBuilderGetQueryParameters { /// Expand related entities diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/MobileAppsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/MobileAppsRequestBuilder.cs index 47ca541bfb3..86e25cdb713 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/MobileAppsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/MobileAppsRequestBuilder.cs @@ -122,8 +122,8 @@ public MobileAppsRequestBuilder(Dictionary pathParameters, IRequ public MobileAppsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) { } /// - /// List properties and relationships of the iosiPadOSWebClip objects. - /// Find more info here + /// List properties and relationships of the win32LobApp objects. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -142,8 +142,8 @@ public async Task GetAsync(Action(requestInfo, MobileAppCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create a new iosLobApp object. - /// Find more info here + /// Create a new managedIOSLobApp object. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -164,7 +164,7 @@ public async Task PostAsync(MobileApp body, Action(requestInfo, MobileApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List properties and relationships of the iosiPadOSWebClip objects. + /// List properties and relationships of the win32LobApp objects. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -190,7 +190,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new iosLobApp object. + /// Create a new managedIOSLobApp object. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. @@ -225,7 +225,7 @@ public MobileAppsRequestBuilder WithUrl(string rawUrl) { return new MobileAppsRequestBuilder(rawUrl, RequestAdapter); } /// - /// List properties and relationships of the iosiPadOSWebClip objects. + /// List properties and relationships of the win32LobApp objects. /// public class MobileAppsRequestBuilderGetQueryParameters { /// Include count of items diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilder.cs index 5ea6b1f646e..9e7dd5ff746 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilder.cs @@ -62,8 +62,8 @@ public async Task GetAsync(Action(requestInfo, DeviceCompliancePolicyCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create a new macOSCompliancePolicy object. - /// Find more info here + /// Create a new windows10MobileCompliancePolicy object. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -110,7 +110,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new macOSCompliancePolicy object. + /// Create a new windows10MobileCompliancePolicy object. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilder.cs index 0d6da1b63cc..a7614781af2 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilder.cs @@ -74,8 +74,8 @@ public DeviceCompliancePolicyItemRequestBuilder(Dictionary pathP public DeviceCompliancePolicyItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/deviceCompliancePolicies/{deviceCompliancePolicy%2Did}{?%24select,%24expand}", rawUrl) { } /// - /// Deletes a androidWorkProfileCompliancePolicy. - /// Find more info here + /// Deletes a windows10MobileCompliancePolicy. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -94,8 +94,8 @@ public async Task DeleteAsync(Action - /// Read properties and relationships of the androidWorkProfileCompliancePolicy object. - /// Find more info here + /// Read properties and relationships of the macOSCompliancePolicy object. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -114,8 +114,8 @@ public async Task GetAsync(Action(requestInfo, DeviceCompliancePolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the properties of a androidWorkProfileCompliancePolicy object. - /// Find more info here + /// Update the properties of a windows10MobileCompliancePolicy object. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -136,7 +136,7 @@ public async Task PatchAsync(DeviceCompliancePolicy body return await RequestAdapter.SendAsync(requestInfo, DeviceCompliancePolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Deletes a androidWorkProfileCompliancePolicy. + /// Deletes a windows10MobileCompliancePolicy. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -161,7 +161,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read properties and relationships of the androidWorkProfileCompliancePolicy object. + /// Read properties and relationships of the macOSCompliancePolicy object. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -187,7 +187,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of a androidWorkProfileCompliancePolicy object. + /// Update the properties of a windows10MobileCompliancePolicy object. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. @@ -238,7 +238,7 @@ public DeviceCompliancePolicyItemRequestBuilderDeleteRequestConfiguration() { } } /// - /// Read properties and relationships of the androidWorkProfileCompliancePolicy object. + /// Read properties and relationships of the macOSCompliancePolicy object. /// public class DeviceCompliancePolicyItemRequestBuilderGetQueryParameters { /// Expand related entities diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/DeviceConfigurationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/DeviceConfigurationsRequestBuilder.cs index 55fe1fbb1c0..5fc319ec178 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/DeviceConfigurationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/DeviceConfigurationsRequestBuilder.cs @@ -42,8 +42,8 @@ public DeviceConfigurationsRequestBuilder(Dictionary pathParamet public DeviceConfigurationsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/deviceConfigurations{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) { } /// - /// List properties and relationships of the androidWorkProfileGeneralDeviceConfiguration objects. - /// Find more info here + /// List properties and relationships of the iosGeneralDeviceConfiguration objects. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -62,8 +62,8 @@ public async Task GetAsync(Action(requestInfo, DeviceConfigurationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create a new macOSGeneralDeviceConfiguration object. - /// Find more info here + /// Create a new windows10SecureAssessmentConfiguration object. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -84,7 +84,7 @@ public async Task PostAsync(DeviceConfiguration body, Actio return await RequestAdapter.SendAsync(requestInfo, DeviceConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List properties and relationships of the androidWorkProfileGeneralDeviceConfiguration objects. + /// List properties and relationships of the iosGeneralDeviceConfiguration objects. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -110,7 +110,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new macOSGeneralDeviceConfiguration object. + /// Create a new windows10SecureAssessmentConfiguration object. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. @@ -145,7 +145,7 @@ public DeviceConfigurationsRequestBuilder WithUrl(string rawUrl) { return new DeviceConfigurationsRequestBuilder(rawUrl, RequestAdapter); } /// - /// List properties and relationships of the androidWorkProfileGeneralDeviceConfiguration objects. + /// List properties and relationships of the iosGeneralDeviceConfiguration objects. /// public class DeviceConfigurationsRequestBuilderGetQueryParameters { /// Include count of items diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceConfigurationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceConfigurationItemRequestBuilder.cs index c1d847d0055..2d01a59c102 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceConfigurationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceConfigurationItemRequestBuilder.cs @@ -65,8 +65,8 @@ public DeviceConfigurationItemRequestBuilder(Dictionary pathPara public DeviceConfigurationItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/deviceConfigurations/{deviceConfiguration%2Did}{?%24select,%24expand}", rawUrl) { } /// - /// Deletes a windows81GeneralConfiguration. - /// Find more info here + /// Deletes a windows10EnterpriseModernAppManagementConfiguration. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -85,8 +85,8 @@ public async Task DeleteAsync(Action - /// Read properties and relationships of the appleDeviceFeaturesConfigurationBase object. - /// Find more info here + /// Read properties and relationships of the windowsPhone81GeneralConfiguration object. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -113,8 +113,8 @@ public GetOmaSettingPlainTextValueWithSecretReferenceValueIdRequestBuilder GetOm return new GetOmaSettingPlainTextValueWithSecretReferenceValueIdRequestBuilder(PathParameters, RequestAdapter, secretReferenceValueId); } /// - /// Update the properties of a windowsPhone81CustomConfiguration object. - /// Find more info here + /// Update the properties of a androidWorkProfileGeneralDeviceConfiguration object. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -135,7 +135,7 @@ public async Task PatchAsync(DeviceConfiguration body, Acti return await RequestAdapter.SendAsync(requestInfo, DeviceConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Deletes a windows81GeneralConfiguration. + /// Deletes a windows10EnterpriseModernAppManagementConfiguration. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -160,7 +160,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read properties and relationships of the appleDeviceFeaturesConfigurationBase object. + /// Read properties and relationships of the windowsPhone81GeneralConfiguration object. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -186,7 +186,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of a windowsPhone81CustomConfiguration object. + /// Update the properties of a androidWorkProfileGeneralDeviceConfiguration object. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. @@ -237,7 +237,7 @@ public DeviceConfigurationItemRequestBuilderDeleteRequestConfiguration() { } } /// - /// Read properties and relationships of the appleDeviceFeaturesConfigurationBase object. + /// Read properties and relationships of the windowsPhone81GeneralConfiguration object. /// public class DeviceConfigurationItemRequestBuilderGetQueryParameters { /// Expand related entities diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceEnrollmentConfigurations/DeviceEnrollmentConfigurationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceEnrollmentConfigurations/DeviceEnrollmentConfigurationsRequestBuilder.cs index 8d0f5c85b56..d350c099149 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceEnrollmentConfigurations/DeviceEnrollmentConfigurationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceEnrollmentConfigurations/DeviceEnrollmentConfigurationsRequestBuilder.cs @@ -42,8 +42,8 @@ public DeviceEnrollmentConfigurationsRequestBuilder(Dictionary p public DeviceEnrollmentConfigurationsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/deviceEnrollmentConfigurations{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) { } /// - /// List properties and relationships of the deviceEnrollmentConfiguration objects. - /// Find more info here + /// List properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration objects. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -84,7 +84,7 @@ public async Task PostAsync(DeviceEnrollmentConfi return await RequestAdapter.SendAsync(requestInfo, DeviceEnrollmentConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List properties and relationships of the deviceEnrollmentConfiguration objects. + /// List properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration objects. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -145,7 +145,7 @@ public DeviceEnrollmentConfigurationsRequestBuilder WithUrl(string rawUrl) { return new DeviceEnrollmentConfigurationsRequestBuilder(rawUrl, RequestAdapter); } /// - /// List properties and relationships of the deviceEnrollmentConfiguration objects. + /// List properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration objects. /// public class DeviceEnrollmentConfigurationsRequestBuilderGetQueryParameters { /// Include count of items diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilder.cs index 70b3be282cd..ac3ebe90341 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilder.cs @@ -44,8 +44,8 @@ public DeviceEnrollmentConfigurationItemRequestBuilder(Dictionary - /// Deletes a deviceEnrollmentWindowsHelloForBusinessConfiguration. - /// Find more info here + /// Deletes a deviceEnrollmentLimitConfiguration. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -64,8 +64,8 @@ public async Task DeleteAsync(Action - /// Read properties and relationships of the deviceEnrollmentLimitConfiguration object. - /// Find more info here + /// Read properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration object. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -106,7 +106,7 @@ public async Task PatchAsync(DeviceEnrollmentConf return await RequestAdapter.SendAsync(requestInfo, DeviceEnrollmentConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Deletes a deviceEnrollmentWindowsHelloForBusinessConfiguration. + /// Deletes a deviceEnrollmentLimitConfiguration. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -131,7 +131,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read properties and relationships of the deviceEnrollmentLimitConfiguration object. + /// Read properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration object. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -208,7 +208,7 @@ public DeviceEnrollmentConfigurationItemRequestBuilderDeleteRequestConfiguration } } /// - /// Read properties and relationships of the deviceEnrollmentLimitConfiguration object. + /// Read properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration object. /// public class DeviceEnrollmentConfigurationItemRequestBuilderGetQueryParameters { /// Expand related entities diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceManagementRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceManagementRequestBuilder.cs index e3d84fd0ecd..9b1e1880fbe 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceManagementRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceManagementRequestBuilder.cs @@ -322,7 +322,7 @@ public DeviceManagementRequestBuilder(string rawUrl, IRequestAdapter requestAdap } /// /// Read properties and relationships of the deviceManagement object. - /// Find more info here + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -350,7 +350,7 @@ public GetEffectivePermissionsWithScopeRequestBuilder GetEffectivePermissionsWit } /// /// Update the properties of a deviceManagement object. - /// Find more info here + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/RoleDefinitions/Item/RoleDefinitionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/RoleDefinitions/Item/RoleDefinitionItemRequestBuilder.cs index fbc0bc69aa3..ba8b6451127 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/RoleDefinitions/Item/RoleDefinitionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/RoleDefinitions/Item/RoleDefinitionItemRequestBuilder.cs @@ -34,8 +34,8 @@ public RoleDefinitionItemRequestBuilder(Dictionary pathParameter public RoleDefinitionItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/roleDefinitions/{roleDefinition%2Did}{?%24select,%24expand}", rawUrl) { } /// - /// Deletes a deviceAndAppManagementRoleDefinition. - /// Find more info here + /// Deletes a roleDefinition. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -54,8 +54,8 @@ public async Task DeleteAsync(Action - /// Read properties and relationships of the deviceAndAppManagementRoleDefinition object. - /// Find more info here + /// Read properties and relationships of the roleDefinition object. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -74,8 +74,8 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.RoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the properties of a deviceAndAppManagementRoleDefinition object. - /// Find more info here + /// Update the properties of a roleDefinition object. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -96,7 +96,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.RoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Deletes a deviceAndAppManagementRoleDefinition. + /// Deletes a roleDefinition. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -121,7 +121,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read properties and relationships of the deviceAndAppManagementRoleDefinition object. + /// Read properties and relationships of the roleDefinition object. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -147,7 +147,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of a deviceAndAppManagementRoleDefinition object. + /// Update the properties of a roleDefinition object. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. @@ -198,7 +198,7 @@ public RoleDefinitionItemRequestBuilderDeleteRequestConfiguration() { } } /// - /// Read properties and relationships of the deviceAndAppManagementRoleDefinition object. + /// Read properties and relationships of the roleDefinition object. /// public class RoleDefinitionItemRequestBuilderGetQueryParameters { /// Expand related entities diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/RoleDefinitions/RoleDefinitionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/RoleDefinitions/RoleDefinitionsRequestBuilder.cs index dbccfde0308..90b9a5cccb9 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/RoleDefinitions/RoleDefinitionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/RoleDefinitions/RoleDefinitionsRequestBuilder.cs @@ -62,8 +62,8 @@ public async Task GetAsync(Action(requestInfo, RoleDefinitionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create a new roleDefinition object. - /// Find more info here + /// Create a new deviceAndAppManagementRoleDefinition object. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -110,7 +110,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new roleDefinition object. + /// Create a new deviceAndAppManagementRoleDefinition object. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Photos/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeviceLocalCredentials/Count/CountRequestBuilder.cs similarity index 89% rename from src/Microsoft.Graph/Generated/Groups/Item/Photos/Count/CountRequestBuilder.cs rename to src/Microsoft.Graph/Generated/DirectoryNamespace/DeviceLocalCredentials/Count/CountRequestBuilder.cs index 904df1f28d2..09dab7fb3c9 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Photos/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeviceLocalCredentials/Count/CountRequestBuilder.cs @@ -8,7 +8,7 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Microsoft.Graph.Groups.Item.Photos.Count { +namespace Microsoft.Graph.DirectoryNamespace.DeviceLocalCredentials.Count { /// /// Provides operations to count the resources in the collection. /// @@ -18,14 +18,14 @@ public class CountRequestBuilder : BaseRequestBuilder { /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/photos/$count{?%24filter}", pathParameters) { + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/directory/deviceLocalCredentials/$count{?%24search,%24filter}", pathParameters) { } /// /// Instantiates a new CountRequestBuilder and sets the default values. /// /// The raw URL to use for the request builder. /// The request adapter to use to execute the requests. - public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/photos/$count{?%24filter}", rawUrl) { + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/directory/deviceLocalCredentials/$count{?%24search,%24filter}", rawUrl) { } /// /// Get the number of the resource @@ -92,6 +92,16 @@ public class CountRequestBuilderGetQueryParameters { #else [QueryParameter("%24filter")] public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } #endif } /// diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeviceLocalCredentials/DeviceLocalCredentialsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeviceLocalCredentials/DeviceLocalCredentialsRequestBuilder.cs new file mode 100644 index 00000000000..5c35569d9e1 --- /dev/null +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeviceLocalCredentials/DeviceLocalCredentialsRequestBuilder.cs @@ -0,0 +1,232 @@ +// +using Microsoft.Graph.DirectoryNamespace.DeviceLocalCredentials.Count; +using Microsoft.Graph.DirectoryNamespace.DeviceLocalCredentials.Item; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.DirectoryNamespace.DeviceLocalCredentials { + /// + /// Provides operations to manage the deviceLocalCredentials property of the microsoft.graph.directory entity. + /// + public class DeviceLocalCredentialsRequestBuilder : BaseRequestBuilder { + /// Provides operations to count the resources in the collection. + public CountRequestBuilder Count { get => + new CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the deviceLocalCredentials property of the microsoft.graph.directory entity. + /// The unique identifier of deviceLocalCredentialInfo + public DeviceLocalCredentialInfoItemRequestBuilder this[string position] { get { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("deviceLocalCredentialInfo%2Did", position); + return new DeviceLocalCredentialInfoItemRequestBuilder(urlTplParams, RequestAdapter); + } } + /// + /// Instantiates a new DeviceLocalCredentialsRequestBuilder and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public DeviceLocalCredentialsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/directory/deviceLocalCredentials{?%24top,%24search,%24filter,%24count,%24orderby,%24select}", pathParameters) { + } + /// + /// Instantiates a new DeviceLocalCredentialsRequestBuilder and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public DeviceLocalCredentialsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/directory/deviceLocalCredentials{?%24top,%24search,%24filter,%24count,%24orderby,%24select}", rawUrl) { + } + /// + /// Get a list of the deviceLocalCredentialInfo objects and their properties, excluding the credentials property. + /// Find more info here + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action? requestConfiguration = default, CancellationToken cancellationToken = default) { +#nullable restore +#else + public async Task GetAsync(Action requestConfiguration = default, CancellationToken cancellationToken = default) { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> { + {"4XX", ODataError.CreateFromDiscriminatorValue}, + {"5XX", ODataError.CreateFromDiscriminatorValue}, + }; + return await RequestAdapter.SendAsync(requestInfo, DeviceLocalCredentialInfoCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to deviceLocalCredentials for directory + /// + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(DeviceLocalCredentialInfo body, Action? requestConfiguration = default, CancellationToken cancellationToken = default) { +#nullable restore +#else + public async Task PostAsync(DeviceLocalCredentialInfo body, Action requestConfiguration = default, CancellationToken cancellationToken = default) { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> { + {"4XX", ODataError.CreateFromDiscriminatorValue}, + {"5XX", ODataError.CreateFromDiscriminatorValue}, + }; + return await RequestAdapter.SendAsync(requestInfo, DeviceLocalCredentialInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get a list of the deviceLocalCredentialInfo objects and their properties, excluding the credentials property. + /// + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action? requestConfiguration = default) { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action requestConfiguration = default) { +#endif + var requestInfo = new RequestInformation { + HttpMethod = Method.GET, + UrlTemplate = UrlTemplate, + PathParameters = PathParameters, + }; + if (requestConfiguration != null) { + var requestConfig = new DeviceLocalCredentialsRequestBuilderGetRequestConfiguration(); + requestConfiguration.Invoke(requestConfig); + requestInfo.AddQueryParameters(requestConfig.QueryParameters); + requestInfo.AddRequestOptions(requestConfig.Options); + requestInfo.AddHeaders(requestConfig.Headers); + } + requestInfo.Headers.TryAdd("Accept", "application/json;q=1"); + return requestInfo; + } + /// + /// Create new navigation property to deviceLocalCredentials for directory + /// + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(DeviceLocalCredentialInfo body, Action? requestConfiguration = default) { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(DeviceLocalCredentialInfo body, Action requestConfiguration = default) { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation { + HttpMethod = Method.POST, + UrlTemplate = UrlTemplate, + PathParameters = PathParameters, + }; + if (requestConfiguration != null) { + var requestConfig = new DeviceLocalCredentialsRequestBuilderPostRequestConfiguration(); + requestConfiguration.Invoke(requestConfig); + requestInfo.AddRequestOptions(requestConfig.Options); + requestInfo.AddHeaders(requestConfig.Headers); + } + requestInfo.Headers.TryAdd("Accept", "application/json;q=1"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// The raw URL to use for the request builder. + public DeviceLocalCredentialsRequestBuilder WithUrl(string rawUrl) { + return new DeviceLocalCredentialsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get a list of the deviceLocalCredentialInfo objects and their properties, excluding the credentials property. + /// + public class DeviceLocalCredentialsRequestBuilderGetQueryParameters { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + public class DeviceLocalCredentialsRequestBuilderGetRequestConfiguration { + /// Request headers + public RequestHeaders Headers { get; set; } + /// Request options + public IList Options { get; set; } + /// Request query parameters + public DeviceLocalCredentialsRequestBuilderGetQueryParameters QueryParameters { get; set; } = new DeviceLocalCredentialsRequestBuilderGetQueryParameters(); + /// + /// Instantiates a new deviceLocalCredentialsRequestBuilderGetRequestConfiguration and sets the default values. + /// + public DeviceLocalCredentialsRequestBuilderGetRequestConfiguration() { + Options = new List(); + Headers = new RequestHeaders(); + } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + public class DeviceLocalCredentialsRequestBuilderPostRequestConfiguration { + /// Request headers + public RequestHeaders Headers { get; set; } + /// Request options + public IList Options { get; set; } + /// + /// Instantiates a new deviceLocalCredentialsRequestBuilderPostRequestConfiguration and sets the default values. + /// + public DeviceLocalCredentialsRequestBuilderPostRequestConfiguration() { + Options = new List(); + Headers = new RequestHeaders(); + } + } + } +} diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeviceLocalCredentials/Item/DeviceLocalCredentialInfoItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeviceLocalCredentials/Item/DeviceLocalCredentialInfoItemRequestBuilder.cs new file mode 100644 index 00000000000..0d01a2878d0 --- /dev/null +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeviceLocalCredentials/Item/DeviceLocalCredentialInfoItemRequestBuilder.cs @@ -0,0 +1,243 @@ +// +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.DirectoryNamespace.DeviceLocalCredentials.Item { + /// + /// Provides operations to manage the deviceLocalCredentials property of the microsoft.graph.directory entity. + /// + public class DeviceLocalCredentialInfoItemRequestBuilder : BaseRequestBuilder { + /// + /// Instantiates a new DeviceLocalCredentialInfoItemRequestBuilder and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public DeviceLocalCredentialInfoItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/directory/deviceLocalCredentials/{deviceLocalCredentialInfo%2Did}{?%24select}", pathParameters) { + } + /// + /// Instantiates a new DeviceLocalCredentialInfoItemRequestBuilder and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public DeviceLocalCredentialInfoItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/directory/deviceLocalCredentials/{deviceLocalCredentialInfo%2Did}{?%24select}", rawUrl) { + } + /// + /// Delete navigation property deviceLocalCredentials for directory + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action? requestConfiguration = default, CancellationToken cancellationToken = default) { +#nullable restore +#else + public async Task DeleteAsync(Action requestConfiguration = default, CancellationToken cancellationToken = default) { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> { + {"4XX", ODataError.CreateFromDiscriminatorValue}, + {"5XX", ODataError.CreateFromDiscriminatorValue}, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Retrieve the properties of a deviceLocalCredentialInfo for a specified device object. + /// Find more info here + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action? requestConfiguration = default, CancellationToken cancellationToken = default) { +#nullable restore +#else + public async Task GetAsync(Action requestConfiguration = default, CancellationToken cancellationToken = default) { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> { + {"4XX", ODataError.CreateFromDiscriminatorValue}, + {"5XX", ODataError.CreateFromDiscriminatorValue}, + }; + return await RequestAdapter.SendAsync(requestInfo, DeviceLocalCredentialInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property deviceLocalCredentials in directory + /// + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(DeviceLocalCredentialInfo body, Action? requestConfiguration = default, CancellationToken cancellationToken = default) { +#nullable restore +#else + public async Task PatchAsync(DeviceLocalCredentialInfo body, Action requestConfiguration = default, CancellationToken cancellationToken = default) { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> { + {"4XX", ODataError.CreateFromDiscriminatorValue}, + {"5XX", ODataError.CreateFromDiscriminatorValue}, + }; + return await RequestAdapter.SendAsync(requestInfo, DeviceLocalCredentialInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property deviceLocalCredentials for directory + /// + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action? requestConfiguration = default) { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action requestConfiguration = default) { +#endif + var requestInfo = new RequestInformation { + HttpMethod = Method.DELETE, + UrlTemplate = UrlTemplate, + PathParameters = PathParameters, + }; + if (requestConfiguration != null) { + var requestConfig = new DeviceLocalCredentialInfoItemRequestBuilderDeleteRequestConfiguration(); + requestConfiguration.Invoke(requestConfig); + requestInfo.AddRequestOptions(requestConfig.Options); + requestInfo.AddHeaders(requestConfig.Headers); + } + requestInfo.Headers.TryAdd("Accept", "application/json, application/json"); + return requestInfo; + } + /// + /// Retrieve the properties of a deviceLocalCredentialInfo for a specified device object. + /// + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action? requestConfiguration = default) { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action requestConfiguration = default) { +#endif + var requestInfo = new RequestInformation { + HttpMethod = Method.GET, + UrlTemplate = UrlTemplate, + PathParameters = PathParameters, + }; + if (requestConfiguration != null) { + var requestConfig = new DeviceLocalCredentialInfoItemRequestBuilderGetRequestConfiguration(); + requestConfiguration.Invoke(requestConfig); + requestInfo.AddQueryParameters(requestConfig.QueryParameters); + requestInfo.AddRequestOptions(requestConfig.Options); + requestInfo.AddHeaders(requestConfig.Headers); + } + requestInfo.Headers.TryAdd("Accept", "application/json;q=1"); + return requestInfo; + } + /// + /// Update the navigation property deviceLocalCredentials in directory + /// + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(DeviceLocalCredentialInfo body, Action? requestConfiguration = default) { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(DeviceLocalCredentialInfo body, Action requestConfiguration = default) { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation { + HttpMethod = Method.PATCH, + UrlTemplate = UrlTemplate, + PathParameters = PathParameters, + }; + if (requestConfiguration != null) { + var requestConfig = new DeviceLocalCredentialInfoItemRequestBuilderPatchRequestConfiguration(); + requestConfiguration.Invoke(requestConfig); + requestInfo.AddRequestOptions(requestConfig.Options); + requestInfo.AddHeaders(requestConfig.Headers); + } + requestInfo.Headers.TryAdd("Accept", "application/json;q=1"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// The raw URL to use for the request builder. + public DeviceLocalCredentialInfoItemRequestBuilder WithUrl(string rawUrl) { + return new DeviceLocalCredentialInfoItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + public class DeviceLocalCredentialInfoItemRequestBuilderDeleteRequestConfiguration { + /// Request headers + public RequestHeaders Headers { get; set; } + /// Request options + public IList Options { get; set; } + /// + /// Instantiates a new DeviceLocalCredentialInfoItemRequestBuilderDeleteRequestConfiguration and sets the default values. + /// + public DeviceLocalCredentialInfoItemRequestBuilderDeleteRequestConfiguration() { + Options = new List(); + Headers = new RequestHeaders(); + } + } + /// + /// Retrieve the properties of a deviceLocalCredentialInfo for a specified device object. + /// + public class DeviceLocalCredentialInfoItemRequestBuilderGetQueryParameters { + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + public class DeviceLocalCredentialInfoItemRequestBuilderGetRequestConfiguration { + /// Request headers + public RequestHeaders Headers { get; set; } + /// Request options + public IList Options { get; set; } + /// Request query parameters + public DeviceLocalCredentialInfoItemRequestBuilderGetQueryParameters QueryParameters { get; set; } = new DeviceLocalCredentialInfoItemRequestBuilderGetQueryParameters(); + /// + /// Instantiates a new DeviceLocalCredentialInfoItemRequestBuilderGetRequestConfiguration and sets the default values. + /// + public DeviceLocalCredentialInfoItemRequestBuilderGetRequestConfiguration() { + Options = new List(); + Headers = new RequestHeaders(); + } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + public class DeviceLocalCredentialInfoItemRequestBuilderPatchRequestConfiguration { + /// Request headers + public RequestHeaders Headers { get; set; } + /// Request options + public IList Options { get; set; } + /// + /// Instantiates a new DeviceLocalCredentialInfoItemRequestBuilderPatchRequestConfiguration and sets the default values. + /// + public DeviceLocalCredentialInfoItemRequestBuilderPatchRequestConfiguration() { + Options = new List(); + Headers = new RequestHeaders(); + } + } + } +} diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/DirectoryRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/DirectoryRequestBuilder.cs index adc2f84ceeb..5b78e167736 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/DirectoryRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/DirectoryRequestBuilder.cs @@ -3,6 +3,7 @@ using Microsoft.Graph.DirectoryNamespace.AttributeSets; using Microsoft.Graph.DirectoryNamespace.CustomSecurityAttributeDefinitions; using Microsoft.Graph.DirectoryNamespace.DeletedItems; +using Microsoft.Graph.DirectoryNamespace.DeviceLocalCredentials; using Microsoft.Graph.DirectoryNamespace.FederationConfigurations; using Microsoft.Graph.DirectoryNamespace.OnPremisesSynchronization; using Microsoft.Graph.Models.ODataErrors; @@ -36,6 +37,10 @@ public class DirectoryRequestBuilder : BaseRequestBuilder { public DeletedItemsRequestBuilder DeletedItems { get => new DeletedItemsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the deviceLocalCredentials property of the microsoft.graph.directory entity. + public DeviceLocalCredentialsRequestBuilder DeviceLocalCredentials { get => + new DeviceLocalCredentialsRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the federationConfigurations property of the microsoft.graph.directory entity. public FederationConfigurationsRequestBuilder FederationConfigurations { get => new FederationConfigurationsRequestBuilder(PathParameters, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Domains/Item/FederationConfiguration/FederationConfigurationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Domains/Item/FederationConfiguration/FederationConfigurationRequestBuilder.cs index 8fd90d6d84f..ce1c1223639 100644 --- a/src/Microsoft.Graph/Generated/Domains/Item/FederationConfiguration/FederationConfigurationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Domains/Item/FederationConfiguration/FederationConfigurationRequestBuilder.cs @@ -42,7 +42,8 @@ public FederationConfigurationRequestBuilder(Dictionary pathPara public FederationConfigurationRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/domains/{domain%2Did}/federationConfiguration{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) { } /// - /// Read the properties and relationships of an internalDomainFederation object. This API is available in the following national cloud deployments. + /// Read the properties of the internalDomainFederation objects for the domain. This API returns only one object in the collection. This API is available in the following national cloud deployments. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -83,7 +84,7 @@ public async Task PostAsync(InternalDomainFederation b return await RequestAdapter.SendAsync(requestInfo, InternalDomainFederation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Read the properties and relationships of an internalDomainFederation object. This API is available in the following national cloud deployments. + /// Read the properties of the internalDomainFederation objects for the domain. This API returns only one object in the collection. This API is available in the following national cloud deployments. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -144,7 +145,7 @@ public FederationConfigurationRequestBuilder WithUrl(string rawUrl) { return new FederationConfigurationRequestBuilder(rawUrl, RequestAdapter); } /// - /// Read the properties and relationships of an internalDomainFederation object. This API is available in the following national cloud deployments. + /// Read the properties of the internalDomainFederation objects for the domain. This API returns only one object in the collection. This API is available in the following national cloud deployments. /// public class FederationConfigurationRequestBuilderGetQueryParameters { /// Include count of items diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/DriveItemItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/DriveItemItemRequestBuilder.cs index 63e3538d656..c2c65988a0a 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/DriveItemItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/DriveItemItemRequestBuilder.cs @@ -226,8 +226,8 @@ public GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalReques return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the metadata for a driveItem by ID or path. You can also use update to move an item to another parent by updating the item's parentReference property. This API is available in the following national cloud deployments. - /// Find more info here + /// To move a DriveItem to a new parent item, your app requests to update the parentReference of the DriveItem to move. This is a special case of the Update method.Your app can combine moving an item to a new container and updating other properties of the item into a single request. Items cannot be moved between Drives using this request. This API is available in the following national cloud deployments. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -307,7 +307,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the metadata for a driveItem by ID or path. You can also use update to move an item to another parent by updating the item's parentReference property. This API is available in the following national cloud deployments. + /// To move a DriveItem to a new parent item, your app requests to update the parentReference of the DriveItem to move. This is a special case of the Update method.Your app can combine moving an item to a new container and updating other properties of the item into a single request. Items cannot be moved between Drives using this request. This API is available in the following national cloud deployments. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Names/Item/RangeNamespace/RangeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Names/Item/RangeNamespace/RangeRequestBuilder.cs index 6067f6343b1..c2de489c49a 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Names/Item/RangeNamespace/RangeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Names/Item/RangeNamespace/RangeRequestBuilder.cs @@ -29,8 +29,8 @@ public RangeRequestBuilder(Dictionary pathParameters, IRequestAd public RangeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/names/{workbookNamedItem%2Did}/range()", rawUrl) { } /// - /// Retrieve the properties and relationships of range object. This API is available in the following national cloud deployments. - /// Find more info here + /// Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. This API is available in the following national cloud deployments. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -49,7 +49,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookRange.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Retrieve the properties and relationships of range object. This API is available in the following national cloud deployments. + /// Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. This API is available in the following national cloud deployments. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Add/AddRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Add/AddRequestBuilder.cs index 5b0ca2f5647..87e4c75462a 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Add/AddRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Add/AddRequestBuilder.cs @@ -29,8 +29,8 @@ public AddRequestBuilder(Dictionary pathParameters, IRequestAdap public AddRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/tables/add", rawUrl) { } /// - /// Use this API to create a new Table. This API is available in the following national cloud deployments. - /// Find more info here + /// Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is generated. This API is available in the following national cloud deployments. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -51,7 +51,7 @@ public async Task PostAsync(AddPostRequestBody body, Action(requestInfo, WorkbookTable.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Use this API to create a new Table. This API is available in the following national cloud deployments. + /// Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is generated. This API is available in the following national cloud deployments. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/ColumnsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/ColumnsRequestBuilder.cs index 438ba886370..a9afd0b9d8c 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/ColumnsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/ColumnsRequestBuilder.cs @@ -49,7 +49,7 @@ public ColumnsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba } /// /// Retrieve a list of tablecolumn objects. This API is available in the following national cloud deployments. - /// Find more info here + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/RowsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/RowsRequestBuilder.cs index 27d193a9854..624cd3d3d4e 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/RowsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/RowsRequestBuilder.cs @@ -49,7 +49,7 @@ public RowsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base( } /// /// Retrieve a list of tablerow objects. This API is available in the following national cloud deployments. - /// Find more info here + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/TablesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/TablesRequestBuilder.cs index 75fb78cd932..04962fbfc2d 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/TablesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/TablesRequestBuilder.cs @@ -49,7 +49,7 @@ public TablesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : bas } /// /// Retrieve a list of table objects. This API is available in the following national cloud deployments. - /// Find more info here + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Item/RangeNamespace/RangeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Item/RangeNamespace/RangeRequestBuilder.cs index c431c2c8216..c2245387ffa 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Item/RangeNamespace/RangeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Item/RangeNamespace/RangeRequestBuilder.cs @@ -29,8 +29,8 @@ public RangeRequestBuilder(Dictionary pathParameters, IRequestAd public RangeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/names/{workbookNamedItem%2Did}/range()", rawUrl) { } /// - /// Retrieve the properties and relationships of range object. This API is available in the following national cloud deployments. - /// Find more info here + /// Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. This API is available in the following national cloud deployments. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -49,7 +49,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookRange.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Retrieve the properties and relationships of range object. This API is available in the following national cloud deployments. + /// Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. This API is available in the following national cloud deployments. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Add/AddRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Add/AddRequestBuilder.cs index 08fc73d9cb6..53d5fa57f8a 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Add/AddRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Add/AddRequestBuilder.cs @@ -29,8 +29,8 @@ public AddRequestBuilder(Dictionary pathParameters, IRequestAdap public AddRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/tables/add", rawUrl) { } /// - /// Use this API to create a new Table. This API is available in the following national cloud deployments. - /// Find more info here + /// Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is generated. This API is available in the following national cloud deployments. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -51,7 +51,7 @@ public async Task PostAsync(AddPostRequestBody body, Action(requestInfo, WorkbookTable.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Use this API to create a new Table. This API is available in the following national cloud deployments. + /// Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is generated. This API is available in the following national cloud deployments. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ColumnsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ColumnsRequestBuilder.cs index f31c2b2d15a..81be243ab56 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ColumnsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ColumnsRequestBuilder.cs @@ -49,7 +49,7 @@ public ColumnsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba } /// /// Retrieve a list of tablecolumn objects. This API is available in the following national cloud deployments. - /// Find more info here + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/RowsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/RowsRequestBuilder.cs index 35aa6bc1572..59302f5040a 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/RowsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/RowsRequestBuilder.cs @@ -49,7 +49,7 @@ public RowsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base( } /// /// Retrieve a list of tablerow objects. This API is available in the following national cloud deployments. - /// Find more info here + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs index f593680a25a..02aca6c5384 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs @@ -67,8 +67,8 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. - /// Find more info here + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -115,7 +115,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs index 686f5604e31..d51cbfbf8f6 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs @@ -67,8 +67,8 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. - /// Find more info here + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -115,7 +115,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Attachments/AttachmentsRequestBuilder.cs index 3def5c418d8..7d31cff6009 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Attachments/AttachmentsRequestBuilder.cs @@ -67,8 +67,8 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. - /// Find more info here + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -115,7 +115,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs index 0b69cc363cd..318d088475a 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs @@ -67,8 +67,8 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. - /// Find more info here + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -115,7 +115,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs index 0527aaf187b..70d5df500c0 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs @@ -67,8 +67,8 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. - /// Find more info here + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -115,7 +115,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs index 2848dc57ca4..30aa7946fb9 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs @@ -67,8 +67,8 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. - /// Find more info here + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -115,7 +115,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/ConversationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/ConversationsRequestBuilder.cs index 02893171070..17ee33dc1f6 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/ConversationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/ConversationsRequestBuilder.cs @@ -62,8 +62,8 @@ public async Task GetAsync(Action(requestInfo, ConversationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. - /// Find more info here + /// Use reply thread or reply post to further post to that conversation. This API is available in the following national cloud deployments. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -110,7 +110,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + /// Use reply thread or reply post to further post to that conversation. This API is available in the following national cloud deployments. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilder.cs index e153294816a..8d292095410 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilder.cs @@ -34,8 +34,8 @@ public ConversationItemRequestBuilder(Dictionary pathParameters, public ConversationItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/conversations/{conversation%2Did}{?%24select}", rawUrl) { } /// - /// This API is available in the following national cloud deployments. - /// Find more info here + /// Delete conversation. This API is available in the following national cloud deployments. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -54,8 +54,8 @@ public async Task DeleteAsync(Action - /// Retrieve the properties and relationships of conversation object. This API is available in the following national cloud deployments. - /// Find more info here + /// This API is available in the following national cloud deployments. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -74,7 +74,7 @@ public async Task GetAsync(Action(requestInfo, Conversation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// This API is available in the following national cloud deployments. + /// Delete conversation. This API is available in the following national cloud deployments. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -99,7 +99,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of conversation object. This API is available in the following national cloud deployments. + /// This API is available in the following national cloud deployments. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -148,7 +148,7 @@ public ConversationItemRequestBuilderDeleteRequestConfiguration() { } } /// - /// Retrieve the properties and relationships of conversation object. This API is available in the following national cloud deployments. + /// This API is available in the following national cloud deployments. /// public class ConversationItemRequestBuilderGetQueryParameters { /// Select properties to be returned diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Attachments/AttachmentsRequestBuilder.cs index 7da0926271b..f2080d9f68a 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Attachments/AttachmentsRequestBuilder.cs @@ -67,8 +67,8 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. - /// Find more info here + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -115,7 +115,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs index 7a00b7a453d..24ac4f4f869 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs @@ -67,8 +67,8 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. - /// Find more info here + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -115,7 +115,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Photos/PhotosRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Photos/PhotosRequestBuilder.cs index c8761cc3eb2..cf8bb69654e 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Photos/PhotosRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Photos/PhotosRequestBuilder.cs @@ -1,5 +1,4 @@ // -using Microsoft.Graph.Groups.Item.Photos.Count; using Microsoft.Graph.Groups.Item.Photos.Item; using Microsoft.Graph.Models.ODataErrors; using Microsoft.Graph.Models; @@ -16,10 +15,6 @@ namespace Microsoft.Graph.Groups.Item.Photos { /// Provides operations to manage the photos property of the microsoft.graph.group entity. /// public class PhotosRequestBuilder : BaseRequestBuilder { - /// Provides operations to count the resources in the collection. - public CountRequestBuilder Count { get => - new CountRequestBuilder(PathParameters, RequestAdapter); - } /// Provides operations to manage the photos property of the microsoft.graph.group entity. /// The unique identifier of profilePhoto public ProfilePhotoItemRequestBuilder this[string position] { get { @@ -32,14 +27,14 @@ public ProfilePhotoItemRequestBuilder this[string position] { get { /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public PhotosRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/photos{?%24top,%24skip,%24filter,%24count,%24orderby,%24select}", pathParameters) { + public PhotosRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/photos{?%24top,%24skip,%24filter,%24orderby,%24select}", pathParameters) { } /// /// Instantiates a new PhotosRequestBuilder and sets the default values. /// /// The raw URL to use for the request builder. /// The request adapter to use to execute the requests. - public PhotosRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/photos{?%24top,%24skip,%24filter,%24count,%24orderby,%24select}", rawUrl) { + public PhotosRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/photos{?%24top,%24skip,%24filter,%24orderby,%24select}", rawUrl) { } /// /// Retrieve a list of profilePhoto objects. This API is available in the following national cloud deployments. @@ -98,9 +93,6 @@ public PhotosRequestBuilder WithUrl(string rawUrl) { /// Retrieve a list of profilePhoto objects. This API is available in the following national cloud deployments. /// public class PhotosRequestBuilderGetQueryParameters { - /// Include count of items - [QueryParameter("%24count")] - public bool? Count { get; set; } /// Filter items by property values #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.cs index 90cb4bb249e..cb05e79c221 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.cs @@ -29,8 +29,8 @@ public ConversationMemberItemRequestBuilder(Dictionary pathParam public ConversationMemberItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/members/{conversationMember%2Did}{?%24select,%24expand}", rawUrl) { } /// - /// Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. - /// Find more info here + /// Delete a conversationMember from a channel. This API is available in the following national cloud deployments. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -91,7 +91,7 @@ public async Task PatchAsync(ConversationMember body, Action return await RequestAdapter.SendAsync(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. + /// Delete a conversationMember from a channel. This API is available in the following national cloud deployments. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs index 730dbe97f96..a774eb59950 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs @@ -42,7 +42,7 @@ public HostedContentsRequestBuilder(Dictionary pathParameters, I public HostedContentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/messages/{chatMessage%2Did}/hostedContents{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) { } /// - /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. /// Find more info here /// /// Cancellation token to use when cancelling requests @@ -83,7 +83,7 @@ public async Task PostAsync(ChatMessageHostedContent b return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -144,7 +144,7 @@ public HostedContentsRequestBuilder WithUrl(string rawUrl) { return new HostedContentsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. /// public class HostedContentsRequestBuilderGetQueryParameters { /// Include count of items diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs index 0c9aac15fcb..e9e39bd0a91 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs @@ -42,7 +42,7 @@ public HostedContentsRequestBuilder(Dictionary pathParameters, I public HostedContentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/hostedContents{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) { } /// - /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. /// Find more info here /// /// Cancellation token to use when cancelling requests @@ -83,7 +83,7 @@ public async Task PostAsync(ChatMessageHostedContent b return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -144,7 +144,7 @@ public HostedContentsRequestBuilder WithUrl(string rawUrl) { return new HostedContentsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. /// public class HostedContentsRequestBuilderGetQueryParameters { /// Include count of items diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.cs index 95be40933ec..7c144e6dc04 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.cs @@ -67,8 +67,8 @@ public async Task GetAsync(Action(requestInfo, ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Send a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. - /// Find more info here + /// Create a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -115,7 +115,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Send a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. + /// Create a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/MessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/MessagesRequestBuilder.cs index 1569d3bb360..f5c391cfe0e 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/MessagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/MessagesRequestBuilder.cs @@ -67,8 +67,8 @@ public async Task GetAsync(Action(requestInfo, ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Send a new chatMessage in the specified channel. This API is available in the following national cloud deployments. - /// Find more info here + /// Send a new chatMessage in the specified channel or a chat. This API is available in the following national cloud deployments. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -115,7 +115,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Send a new chatMessage in the specified channel. This API is available in the following national cloud deployments. + /// Send a new chatMessage in the specified channel or a chat. This API is available in the following national cloud deployments. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Members/Item/ConversationMemberItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Members/Item/ConversationMemberItemRequestBuilder.cs index a9af78b558c..a0391cc8c05 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Members/Item/ConversationMemberItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Members/Item/ConversationMemberItemRequestBuilder.cs @@ -29,8 +29,8 @@ public ConversationMemberItemRequestBuilder(Dictionary pathParam public ConversationMemberItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/members/{conversationMember%2Did}{?%24select,%24expand}", rawUrl) { } /// - /// Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. - /// Find more info here + /// Delete a conversationMember from a channel. This API is available in the following national cloud deployments. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -91,7 +91,7 @@ public async Task PatchAsync(ConversationMember body, Action return await RequestAdapter.SendAsync(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. + /// Delete a conversationMember from a channel. This API is available in the following national cloud deployments. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs index e7fa33e6dfa..0f6022aad21 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs @@ -42,7 +42,7 @@ public HostedContentsRequestBuilder(Dictionary pathParameters, I public HostedContentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/messages/{chatMessage%2Did}/hostedContents{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) { } /// - /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. /// Find more info here /// /// Cancellation token to use when cancelling requests @@ -83,7 +83,7 @@ public async Task PostAsync(ChatMessageHostedContent b return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -144,7 +144,7 @@ public HostedContentsRequestBuilder WithUrl(string rawUrl) { return new HostedContentsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. /// public class HostedContentsRequestBuilderGetQueryParameters { /// Include count of items diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs index d1b72ad5917..e92ef995b4c 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs @@ -42,7 +42,7 @@ public HostedContentsRequestBuilder(Dictionary pathParameters, I public HostedContentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/hostedContents{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) { } /// - /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. /// Find more info here /// /// Cancellation token to use when cancelling requests @@ -83,7 +83,7 @@ public async Task PostAsync(ChatMessageHostedContent b return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -144,7 +144,7 @@ public HostedContentsRequestBuilder WithUrl(string rawUrl) { return new HostedContentsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. /// public class HostedContentsRequestBuilderGetQueryParameters { /// Include count of items diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilder.cs index f18baf9e818..45983c2d81d 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilder.cs @@ -67,8 +67,8 @@ public async Task GetAsync(Action(requestInfo, ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Send a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. - /// Find more info here + /// Create a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -115,7 +115,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Send a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. + /// Create a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/MessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/MessagesRequestBuilder.cs index 1fb78710146..f1edf9b2c5c 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/MessagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/MessagesRequestBuilder.cs @@ -67,8 +67,8 @@ public async Task GetAsync(Action(requestInfo, ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Send a new chatMessage in the specified channel. This API is available in the following national cloud deployments. - /// Find more info here + /// Send a new chatMessage in the specified channel or a chat. This API is available in the following national cloud deployments. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -115,7 +115,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Send a new chatMessage in the specified channel. This API is available in the following national cloud deployments. + /// Send a new chatMessage in the specified channel or a chat. This API is available in the following national cloud deployments. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilder.cs index cf4350c9680..483920d9ca3 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilder.cs @@ -39,8 +39,8 @@ public ConversationThreadItemRequestBuilder(Dictionary pathParam public ConversationThreadItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/threads/{conversationThread%2Did}{?%24select}", rawUrl) { } /// - /// This API is available in the following national cloud deployments. - /// Find more info here + /// Delete conversationThread. This API is available in the following national cloud deployments. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -101,7 +101,7 @@ public async Task PatchAsync(ConversationThread body, Action return await RequestAdapter.SendAsync(requestInfo, ConversationThread.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// This API is available in the following national cloud deployments. + /// Delete conversationThread. This API is available in the following national cloud deployments. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER diff --git a/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilder.cs index a0b8b7770c8..e9bf112ec47 100644 --- a/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilder.cs @@ -29,8 +29,8 @@ public NamedLocationItemRequestBuilder(Dictionary pathParameters public NamedLocationItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identity/conditionalAccess/namedLocations/{namedLocation%2Did}{?%24select,%24expand}", rawUrl) { } /// - /// Delete an ipNamedLocation object. This API is available in the following national cloud deployments. - /// Find more info here + /// Delete a countryNamedLocation object. This API is available in the following national cloud deployments. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -49,8 +49,8 @@ public async Task DeleteAsync(Action - /// Retrieve the properties and relationships of a namedLocation object. This API is available in the following national cloud deployments. - /// Find more info here + /// Retrieve the properties and relationships of an ipNamedLocation object. This API is available in the following national cloud deployments. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -69,8 +69,8 @@ public async Task GetAsync(Action(requestInfo, NamedLocation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the properties of a countryNamedLocation object. This API is available in the following national cloud deployments. - /// Find more info here + /// Update the properties of an ipNamedLocation object. This API is available in the following national cloud deployments. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -91,7 +91,7 @@ public async Task PatchAsync(NamedLocation body, Action(requestInfo, NamedLocation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Delete an ipNamedLocation object. This API is available in the following national cloud deployments. + /// Delete a countryNamedLocation object. This API is available in the following national cloud deployments. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -116,7 +116,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of a namedLocation object. This API is available in the following national cloud deployments. + /// Retrieve the properties and relationships of an ipNamedLocation object. This API is available in the following national cloud deployments. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -142,7 +142,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of a countryNamedLocation object. This API is available in the following national cloud deployments. + /// Update the properties of an ipNamedLocation object. This API is available in the following national cloud deployments. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. @@ -193,7 +193,7 @@ public NamedLocationItemRequestBuilderDeleteRequestConfiguration() { } } /// - /// Retrieve the properties and relationships of a namedLocation object. This API is available in the following national cloud deployments. + /// Retrieve the properties and relationships of an ipNamedLocation object. This API is available in the following national cloud deployments. /// public class NamedLocationItemRequestBuilderGetQueryParameters { /// Expand related entities diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/CustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/CustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilder.cs index 81167f47697..65813c6a2cc 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/CustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/CustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilder.cs @@ -29,8 +29,8 @@ public CustomCalloutExtensionItemRequestBuilder(Dictionary pathP public CustomCalloutExtensionItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/catalogs/{accessPackageCatalog%2Did}/customWorkflowExtensions/{customCalloutExtension%2Did}{?%24select,%24expand}", rawUrl) { } /// - /// Delete an accessPackageAssignmentWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies: This API is available in the following national cloud deployments. - /// Find more info here + /// Delete an accessPackageAssignmentRequestWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies: This API is available in the following national cloud deployments. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -49,8 +49,8 @@ public async Task DeleteAsync(Action - /// Read the properties and relationships of an accessPackageAssignmentWorkflowExtension object. This API is available in the following national cloud deployments. - /// Find more info here + /// Read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. This API is available in the following national cloud deployments. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -69,8 +69,8 @@ public async Task GetAsync(Action(requestInfo, CustomCalloutExtension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the properties of an accessPackageAssignmentWorkflowExtension object. - /// Find more info here + /// Update the properties of an accessPackageAssignmentRequestWorkflowExtension object. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -91,7 +91,7 @@ public async Task PatchAsync(CustomCalloutExtension body return await RequestAdapter.SendAsync(requestInfo, CustomCalloutExtension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Delete an accessPackageAssignmentWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies: This API is available in the following national cloud deployments. + /// Delete an accessPackageAssignmentRequestWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies: This API is available in the following national cloud deployments. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -116,7 +116,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read the properties and relationships of an accessPackageAssignmentWorkflowExtension object. This API is available in the following national cloud deployments. + /// Read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. This API is available in the following national cloud deployments. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -142,7 +142,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of an accessPackageAssignmentWorkflowExtension object. + /// Update the properties of an accessPackageAssignmentRequestWorkflowExtension object. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. @@ -193,7 +193,7 @@ public CustomCalloutExtensionItemRequestBuilderDeleteRequestConfiguration() { } } /// - /// Read the properties and relationships of an accessPackageAssignmentWorkflowExtension object. This API is available in the following national cloud deployments. + /// Read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. This API is available in the following national cloud deployments. /// public class CustomCalloutExtensionItemRequestBuilderGetQueryParameters { /// Expand related entities diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/CustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/CustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilder.cs index 2257997ecfc..491477b1c8b 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/CustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/CustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilder.cs @@ -29,8 +29,8 @@ public CustomCalloutExtensionItemRequestBuilder(Dictionary pathP public CustomCalloutExtensionItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/resourceRequests/{accessPackageResourceRequest%2Did}/catalog/customWorkflowExtensions/{customCalloutExtension%2Did}{?%24select,%24expand}", rawUrl) { } /// - /// Delete an accessPackageAssignmentWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies: This API is available in the following national cloud deployments. - /// Find more info here + /// Delete an accessPackageAssignmentRequestWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies: This API is available in the following national cloud deployments. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -49,8 +49,8 @@ public async Task DeleteAsync(Action - /// Read the properties and relationships of an accessPackageAssignmentWorkflowExtension object. This API is available in the following national cloud deployments. - /// Find more info here + /// Read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. This API is available in the following national cloud deployments. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -69,8 +69,8 @@ public async Task GetAsync(Action(requestInfo, CustomCalloutExtension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the properties of an accessPackageAssignmentWorkflowExtension object. - /// Find more info here + /// Update the properties of an accessPackageAssignmentRequestWorkflowExtension object. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -91,7 +91,7 @@ public async Task PatchAsync(CustomCalloutExtension body return await RequestAdapter.SendAsync(requestInfo, CustomCalloutExtension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Delete an accessPackageAssignmentWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies: This API is available in the following national cloud deployments. + /// Delete an accessPackageAssignmentRequestWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies: This API is available in the following national cloud deployments. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -116,7 +116,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read the properties and relationships of an accessPackageAssignmentWorkflowExtension object. This API is available in the following national cloud deployments. + /// Read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. This API is available in the following national cloud deployments. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -142,7 +142,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of an accessPackageAssignmentWorkflowExtension object. + /// Update the properties of an accessPackageAssignmentRequestWorkflowExtension object. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. @@ -193,7 +193,7 @@ public CustomCalloutExtensionItemRequestBuilderDeleteRequestConfiguration() { } } /// - /// Read the properties and relationships of an accessPackageAssignmentWorkflowExtension object. This API is available in the following national cloud deployments. + /// Read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. This API is available in the following national cloud deployments. /// public class CustomCalloutExtensionItemRequestBuilderGetQueryParameters { /// Expand related entities diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/AgreementItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/AgreementItemRequestBuilder.cs index 4a2ba39dff7..398282cd76b 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/AgreementItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/AgreementItemRequestBuilder.cs @@ -64,8 +64,8 @@ public async Task DeleteAsync(Action - /// Retrieve all files related to an agreement. This includes the default file and all localized files. This API is available in the following national cloud deployments. - /// Find more info here + /// Retrieve the properties and relationships of an agreement object. This API is available in the following national cloud deployments. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -131,7 +131,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve all files related to an agreement. This includes the default file and all localized files. This API is available in the following national cloud deployments. + /// Retrieve the properties and relationships of an agreement object. This API is available in the following national cloud deployments. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -208,7 +208,7 @@ public AgreementItemRequestBuilderDeleteRequestConfiguration() { } } /// - /// Retrieve all files related to an agreement. This includes the default file and all localized files. This API is available in the following national cloud deployments. + /// Retrieve the properties and relationships of an agreement object. This API is available in the following national cloud deployments. /// public class AgreementItemRequestBuilderGetQueryParameters { /// Expand related entities diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs index 2a1a8725d25..c9d4ebf47fd 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs @@ -67,8 +67,8 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. - /// Find more info here + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -115,7 +115,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs index 4014e229abe..92ae416a61b 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs @@ -67,8 +67,8 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. - /// Find more info here + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -115,7 +115,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Attachments/AttachmentsRequestBuilder.cs index 6c8188ae80f..890b0d4c5ab 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Attachments/AttachmentsRequestBuilder.cs @@ -67,8 +67,8 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. - /// Find more info here + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -115,7 +115,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs index b155ec4779d..2619311d2d3 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs @@ -67,8 +67,8 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. - /// Find more info here + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -115,7 +115,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs index ece4772b00d..dbffea55e98 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs @@ -67,8 +67,8 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. - /// Find more info here + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -115,7 +115,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs index f8eb96566de..b5eff3f4c0a 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs @@ -67,8 +67,8 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. - /// Find more info here + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -115,7 +115,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/AttachmentsRequestBuilder.cs index d839a10bd8a..afebe9ac3f2 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/AttachmentsRequestBuilder.cs @@ -67,8 +67,8 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. - /// Find more info here + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -115,7 +115,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs index 36dd48309c9..c603a8f1128 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs @@ -67,8 +67,8 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. - /// Find more info here + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -115,7 +115,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs index d5548c1fd93..e8f79531735 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs @@ -67,8 +67,8 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. - /// Find more info here + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -115,7 +115,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs index 5a2e146bea7..2c7501a210b 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs @@ -67,8 +67,8 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. - /// Find more info here + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -115,7 +115,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs index 02c9d7de2bf..79eea7a2ab9 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs @@ -67,8 +67,8 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. - /// Find more info here + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -115,7 +115,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs index 45d5f2e7d5b..b6cac5801fe 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs @@ -67,8 +67,8 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. - /// Find more info here + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -115,7 +115,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Attachments/AttachmentsRequestBuilder.cs index 830c6615fba..1e3c021702f 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Attachments/AttachmentsRequestBuilder.cs @@ -67,8 +67,8 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. - /// Find more info here + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -115,7 +115,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs index cd6e70eedc7..ca1e577c42d 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs @@ -67,8 +67,8 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. - /// Find more info here + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -115,7 +115,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs index a3ec609a93b..260111f3277 100644 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs @@ -42,7 +42,7 @@ public HostedContentsRequestBuilder(Dictionary pathParameters, I public HostedContentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/messages/{chatMessage%2Did}/hostedContents{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) { } /// - /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. /// Find more info here /// /// Cancellation token to use when cancelling requests @@ -83,7 +83,7 @@ public async Task PostAsync(ChatMessageHostedContent b return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -144,7 +144,7 @@ public HostedContentsRequestBuilder WithUrl(string rawUrl) { return new HostedContentsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. /// public class HostedContentsRequestBuilderGetQueryParameters { /// Include count of items diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs index be36f52fd3c..732d5062855 100644 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs @@ -42,7 +42,7 @@ public HostedContentsRequestBuilder(Dictionary pathParameters, I public HostedContentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/hostedContents{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) { } /// - /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. /// Find more info here /// /// Cancellation token to use when cancelling requests @@ -83,7 +83,7 @@ public async Task PostAsync(ChatMessageHostedContent b return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -144,7 +144,7 @@ public HostedContentsRequestBuilder WithUrl(string rawUrl) { return new HostedContentsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. /// public class HostedContentsRequestBuilderGetQueryParameters { /// Include count of items diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/RepliesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/RepliesRequestBuilder.cs index 78e8e092fbf..038cc5e3e34 100644 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/RepliesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/RepliesRequestBuilder.cs @@ -67,8 +67,8 @@ public async Task GetAsync(Action(requestInfo, ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Send a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. - /// Find more info here + /// Create a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -115,7 +115,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Send a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. + /// Create a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Me/Events/EventsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Events/EventsRequestBuilder.cs index 0c9d2580f04..6778d69c151 100644 --- a/src/Microsoft.Graph/Generated/Me/Events/EventsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Events/EventsRequestBuilder.cs @@ -67,8 +67,8 @@ public async Task GetAsync(Action(requestInfo, EventCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create one or more single-value extended properties in a new or existing instance of a resource. The following user resources are supported: The following group resources: See Extended properties overview for more information about when to useopen extensions or extended properties, and how to specify extended properties. This API is available in the following national cloud deployments. - /// Find more info here + /// Create an event in the user's default calendar or specified calendar. By default, the allowNewTimeProposals property is set to true when an event is created, which means invitees can propose a different date/time for the event. See Propose new meeting times for more information on how to propose a time, and how to receive and accept a new time proposal. You can specify the time zone for each of the start and end times of the event as part of their values, because the start and end properties are of dateTimeTimeZone type. First find the supported time zones to make sure you set only time zones that have been configured for the user's mailbox server. When an event is sent, the server sends invitations to all the attendees. Setting the location in an event An Exchange administrator can set up a mailbox and an email address for a resource such as a meeting room, or equipment like a projector. Users can then invite the resource as an attendee to a meeting. On behalf of the resource, the server accepts or rejects the meeting request based on the free/busy schedule of the resource. If the server accepts a meeting for the resource, it creates an event for the meeting in the resource's calendar. If the meeting is rescheduled, the server automatically updates the event in the resource's calendar. Another advantage of setting up a mailbox for a resource is to control scheduling of the resource, for example, only executivesor their delegates can book a private meeting room. If you're organizing an event that involves a meeting location: Additionally, if the meeting location has been set up as a resource, or if the event involves some equipment that has been set up as a resource: This API is available in the following national cloud deployments. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -115,7 +115,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create one or more single-value extended properties in a new or existing instance of a resource. The following user resources are supported: The following group resources: See Extended properties overview for more information about when to useopen extensions or extended properties, and how to specify extended properties. This API is available in the following national cloud deployments. + /// Create an event in the user's default calendar or specified calendar. By default, the allowNewTimeProposals property is set to true when an event is created, which means invitees can propose a different date/time for the event. See Propose new meeting times for more information on how to propose a time, and how to receive and accept a new time proposal. You can specify the time zone for each of the start and end times of the event as part of their values, because the start and end properties are of dateTimeTimeZone type. First find the supported time zones to make sure you set only time zones that have been configured for the user's mailbox server. When an event is sent, the server sends invitations to all the attendees. Setting the location in an event An Exchange administrator can set up a mailbox and an email address for a resource such as a meeting room, or equipment like a projector. Users can then invite the resource as an attendee to a meeting. On behalf of the resource, the server accepts or rejects the meeting request based on the free/busy schedule of the resource. If the server accepts a meeting for the resource, it creates an event for the meeting in the resource's calendar. If the meeting is rescheduled, the server automatically updates the event in the resource's calendar. Another advantage of setting up a mailbox for a resource is to control scheduling of the resource, for example, only executivesor their delegates can book a private meeting room. If you're organizing an event that involves a meeting location: Additionally, if the meeting location has been set up as a resource, or if the event involves some equipment that has been set up as a resource: This API is available in the following national cloud deployments. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Me/Events/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Events/Item/Attachments/AttachmentsRequestBuilder.cs index 0abe9d3ceaf..7f8d6284a2a 100644 --- a/src/Microsoft.Graph/Generated/Me/Events/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Events/Item/Attachments/AttachmentsRequestBuilder.cs @@ -67,8 +67,8 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. - /// Find more info here + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -115,7 +115,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs index fa94c7992af..6d6d4243820 100644 --- a/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs @@ -67,8 +67,8 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. - /// Find more info here + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -115,7 +115,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.cs index cd625e2ee9d..d8bc69b44b9 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.cs @@ -29,8 +29,8 @@ public ConversationMemberItemRequestBuilder(Dictionary pathParam public ConversationMemberItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/members/{conversationMember%2Did}{?%24select,%24expand}", rawUrl) { } /// - /// Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. - /// Find more info here + /// Delete a conversationMember from a channel. This API is available in the following national cloud deployments. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -91,7 +91,7 @@ public async Task PatchAsync(ConversationMember body, Action return await RequestAdapter.SendAsync(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. + /// Delete a conversationMember from a channel. This API is available in the following national cloud deployments. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs index 8853843d373..eb8bfb17cf3 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs @@ -42,7 +42,7 @@ public HostedContentsRequestBuilder(Dictionary pathParameters, I public HostedContentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/messages/{chatMessage%2Did}/hostedContents{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) { } /// - /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. /// Find more info here /// /// Cancellation token to use when cancelling requests @@ -83,7 +83,7 @@ public async Task PostAsync(ChatMessageHostedContent b return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -144,7 +144,7 @@ public HostedContentsRequestBuilder WithUrl(string rawUrl) { return new HostedContentsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. /// public class HostedContentsRequestBuilderGetQueryParameters { /// Include count of items diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs index 7f1b767a352..24ff5cfd648 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs @@ -42,7 +42,7 @@ public HostedContentsRequestBuilder(Dictionary pathParameters, I public HostedContentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/hostedContents{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) { } /// - /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. /// Find more info here /// /// Cancellation token to use when cancelling requests @@ -83,7 +83,7 @@ public async Task PostAsync(ChatMessageHostedContent b return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -144,7 +144,7 @@ public HostedContentsRequestBuilder WithUrl(string rawUrl) { return new HostedContentsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. /// public class HostedContentsRequestBuilderGetQueryParameters { /// Include count of items diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.cs index 82ddbaf6b7c..032791078b6 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.cs @@ -67,8 +67,8 @@ public async Task GetAsync(Action(requestInfo, ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Send a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. - /// Find more info here + /// Create a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -115,7 +115,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Send a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. + /// Create a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/MessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/MessagesRequestBuilder.cs index 316d5f7d137..22acd4e2970 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/MessagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/MessagesRequestBuilder.cs @@ -67,8 +67,8 @@ public async Task GetAsync(Action(requestInfo, ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Send a new chatMessage in the specified channel. This API is available in the following national cloud deployments. - /// Find more info here + /// Send a new chatMessage in the specified channel or a chat. This API is available in the following national cloud deployments. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -115,7 +115,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Send a new chatMessage in the specified channel. This API is available in the following national cloud deployments. + /// Send a new chatMessage in the specified channel or a chat. This API is available in the following national cloud deployments. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Members/Item/ConversationMemberItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Members/Item/ConversationMemberItemRequestBuilder.cs index 8e8ca9c9a6c..5ec311bc1d4 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Members/Item/ConversationMemberItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Members/Item/ConversationMemberItemRequestBuilder.cs @@ -29,8 +29,8 @@ public ConversationMemberItemRequestBuilder(Dictionary pathParam public ConversationMemberItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/members/{conversationMember%2Did}{?%24select,%24expand}", rawUrl) { } /// - /// Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. - /// Find more info here + /// Delete a conversationMember from a channel. This API is available in the following national cloud deployments. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -91,7 +91,7 @@ public async Task PatchAsync(ConversationMember body, Action return await RequestAdapter.SendAsync(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. + /// Delete a conversationMember from a channel. This API is available in the following national cloud deployments. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs index 0e2d1132a56..716f2361657 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs @@ -42,7 +42,7 @@ public HostedContentsRequestBuilder(Dictionary pathParameters, I public HostedContentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/messages/{chatMessage%2Did}/hostedContents{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) { } /// - /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. /// Find more info here /// /// Cancellation token to use when cancelling requests @@ -83,7 +83,7 @@ public async Task PostAsync(ChatMessageHostedContent b return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -144,7 +144,7 @@ public HostedContentsRequestBuilder WithUrl(string rawUrl) { return new HostedContentsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. /// public class HostedContentsRequestBuilderGetQueryParameters { /// Include count of items diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs index b693072af33..0c75121e607 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs @@ -42,7 +42,7 @@ public HostedContentsRequestBuilder(Dictionary pathParameters, I public HostedContentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/hostedContents{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) { } /// - /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. /// Find more info here /// /// Cancellation token to use when cancelling requests @@ -83,7 +83,7 @@ public async Task PostAsync(ChatMessageHostedContent b return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -144,7 +144,7 @@ public HostedContentsRequestBuilder WithUrl(string rawUrl) { return new HostedContentsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. /// public class HostedContentsRequestBuilderGetQueryParameters { /// Include count of items diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilder.cs index 66978034b59..c2d246044a8 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilder.cs @@ -67,8 +67,8 @@ public async Task GetAsync(Action(requestInfo, ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Send a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. - /// Find more info here + /// Create a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -115,7 +115,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Send a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. + /// Create a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/MessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/MessagesRequestBuilder.cs index 7226d52f2e4..c6638b21bb4 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/MessagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/MessagesRequestBuilder.cs @@ -67,8 +67,8 @@ public async Task GetAsync(Action(requestInfo, ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Send a new chatMessage in the specified channel. This API is available in the following national cloud deployments. - /// Find more info here + /// Send a new chatMessage in the specified channel or a chat. This API is available in the following national cloud deployments. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -115,7 +115,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Send a new chatMessage in the specified channel. This API is available in the following national cloud deployments. + /// Send a new chatMessage in the specified channel or a chat. This API is available in the following national cloud deployments. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.cs index b938ce82625..ddabbe1dc42 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.cs @@ -47,8 +47,8 @@ public AttachmentsRequestBuilder(Dictionary pathParameters, IReq public AttachmentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/messages/{message%2Did}/attachments{?%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) { } /// - /// Retrieve a list of attachment objects. This API is available in the following national cloud deployments. - /// Find more info here + /// Retrieve a list of attachment objects attached to a message. This API is available in the following national cloud deployments. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -67,8 +67,8 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. - /// Find more info here + /// Use this API to add an attachment to a message. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. You can add an attachment to an existing message by posting to its attachments collection, or you canadd an attachment to a message that is being created and sent on the fly. This operation limits the size of the attachment you can add to under 3 MB. This API is available in the following national cloud deployments. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -89,7 +89,7 @@ public async Task PostAsync(Attachment body, Action(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Retrieve a list of attachment objects. This API is available in the following national cloud deployments. + /// Retrieve a list of attachment objects attached to a message. This API is available in the following national cloud deployments. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -115,7 +115,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + /// Use this API to add an attachment to a message. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. You can add an attachment to an existing message by posting to its attachments collection, or you canadd an attachment to a message that is being created and sent on the fly. This operation limits the size of the attachment you can add to under 3 MB. This API is available in the following national cloud deployments. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. @@ -150,7 +150,7 @@ public AttachmentsRequestBuilder WithUrl(string rawUrl) { return new AttachmentsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Retrieve a list of attachment objects. This API is available in the following national cloud deployments. + /// Retrieve a list of attachment objects attached to a message. This API is available in the following national cloud deployments. /// public class AttachmentsRequestBuilderGetQueryParameters { /// Include count of items diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.cs index 5f4ca73f758..10ca43f29fd 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.cs @@ -47,8 +47,8 @@ public AttachmentsRequestBuilder(Dictionary pathParameters, IReq public AttachmentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/messages/{message%2Did}/attachments{?%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) { } /// - /// Retrieve a list of attachment objects. This API is available in the following national cloud deployments. - /// Find more info here + /// Retrieve a list of attachment objects attached to a message. This API is available in the following national cloud deployments. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -67,8 +67,8 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. - /// Find more info here + /// Use this API to add an attachment to a message. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. You can add an attachment to an existing message by posting to its attachments collection, or you canadd an attachment to a message that is being created and sent on the fly. This operation limits the size of the attachment you can add to under 3 MB. This API is available in the following national cloud deployments. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -89,7 +89,7 @@ public async Task PostAsync(Attachment body, Action(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Retrieve a list of attachment objects. This API is available in the following national cloud deployments. + /// Retrieve a list of attachment objects attached to a message. This API is available in the following national cloud deployments. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -115,7 +115,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + /// Use this API to add an attachment to a message. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. You can add an attachment to an existing message by posting to its attachments collection, or you canadd an attachment to a message that is being created and sent on the fly. This operation limits the size of the attachment you can add to under 3 MB. This API is available in the following national cloud deployments. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. @@ -150,7 +150,7 @@ public AttachmentsRequestBuilder WithUrl(string rawUrl) { return new AttachmentsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Retrieve a list of attachment objects. This API is available in the following national cloud deployments. + /// Retrieve a list of attachment objects attached to a message. This API is available in the following national cloud deployments. /// public class AttachmentsRequestBuilderGetQueryParameters { /// Include count of items diff --git a/src/Microsoft.Graph/Generated/Me/MeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MeRequestBuilder.cs index 54e108c4f89..0023aaf515d 100644 --- a/src/Microsoft.Graph/Generated/Me/MeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MeRequestBuilder.cs @@ -391,8 +391,8 @@ public ExportDeviceAndAppManagementDataWithSkipWithTopRequestBuilder ExportDevic return new ExportDeviceAndAppManagementDataWithSkipWithTopRequestBuilder(PathParameters, RequestAdapter, skip, top); } /// - /// Returns the user or organizational contact assigned as the user's manager. Optionally, you can expand the manager's chain up to the root node. This API is available in the following national cloud deployments. - /// Find more info here + /// Retrieve the properties and relationships of user object. This API is available in the following national cloud deployments. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -443,7 +443,7 @@ public ReminderViewWithStartDateTimeWithEndDateTimeRequestBuilder ReminderViewWi return new ReminderViewWithStartDateTimeWithEndDateTimeRequestBuilder(PathParameters, RequestAdapter, endDateTime, startDateTime); } /// - /// Returns the user or organizational contact assigned as the user's manager. Optionally, you can expand the manager's chain up to the root node. This API is available in the following national cloud deployments. + /// Retrieve the properties and relationships of user object. This API is available in the following national cloud deployments. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -504,7 +504,7 @@ public MeRequestBuilder WithUrl(string rawUrl) { return new MeRequestBuilder(rawUrl, RequestAdapter); } /// - /// Returns the user or organizational contact assigned as the user's manager. Optionally, you can expand the manager's chain up to the root node. This API is available in the following national cloud deployments. + /// Retrieve the properties and relationships of user object. This API is available in the following national cloud deployments. /// public class MeRequestBuilderGetQueryParameters { /// Expand related entities diff --git a/src/Microsoft.Graph/Generated/Me/Messages/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Messages/Item/Attachments/AttachmentsRequestBuilder.cs index 84b00e8115b..429f82b4b90 100644 --- a/src/Microsoft.Graph/Generated/Me/Messages/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Messages/Item/Attachments/AttachmentsRequestBuilder.cs @@ -47,8 +47,8 @@ public AttachmentsRequestBuilder(Dictionary pathParameters, IReq public AttachmentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/messages/{message%2Did}/attachments{?%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) { } /// - /// Retrieve a list of attachment objects. This API is available in the following national cloud deployments. - /// Find more info here + /// Retrieve a list of attachment objects attached to a message. This API is available in the following national cloud deployments. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -67,8 +67,8 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. - /// Find more info here + /// Use this API to add an attachment to a message. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. You can add an attachment to an existing message by posting to its attachments collection, or you canadd an attachment to a message that is being created and sent on the fly. This operation limits the size of the attachment you can add to under 3 MB. This API is available in the following national cloud deployments. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -89,7 +89,7 @@ public async Task PostAsync(Attachment body, Action(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Retrieve a list of attachment objects. This API is available in the following national cloud deployments. + /// Retrieve a list of attachment objects attached to a message. This API is available in the following national cloud deployments. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -115,7 +115,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + /// Use this API to add an attachment to a message. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. You can add an attachment to an existing message by posting to its attachments collection, or you canadd an attachment to a message that is being created and sent on the fly. This operation limits the size of the attachment you can add to under 3 MB. This API is available in the following national cloud deployments. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. @@ -150,7 +150,7 @@ public AttachmentsRequestBuilder WithUrl(string rawUrl) { return new AttachmentsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Retrieve a list of attachment objects. This API is available in the following national cloud deployments. + /// Retrieve a list of attachment objects attached to a message. This API is available in the following national cloud deployments. /// public class AttachmentsRequestBuilderGetQueryParameters { /// Include count of items diff --git a/src/Microsoft.Graph/Generated/Me/Messages/Item/MessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Messages/Item/MessageItemRequestBuilder.cs index 9a7f0101d6a..d7389f6b54b 100644 --- a/src/Microsoft.Graph/Generated/Me/Messages/Item/MessageItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Messages/Item/MessageItemRequestBuilder.cs @@ -110,7 +110,7 @@ public async Task DeleteAsync(Action /// The messages in a mailbox or folder. Read-only. Nullable. - /// Find more info here + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Me/Messages/Item/Value/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Messages/Item/Value/ContentRequestBuilder.cs index cadb708f4fc..38a0e6e14ce 100644 --- a/src/Microsoft.Graph/Generated/Me/Messages/Item/Value/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Messages/Item/Value/ContentRequestBuilder.cs @@ -29,7 +29,7 @@ public ContentRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba } /// /// Get media content for the navigation property messages from me - /// Find more info here + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Me/Messages/MessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Messages/MessagesRequestBuilder.cs index 01a8972bdc5..d05ff13ba31 100644 --- a/src/Microsoft.Graph/Generated/Me/Messages/MessagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Messages/MessagesRequestBuilder.cs @@ -48,7 +48,7 @@ public MessagesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b } /// /// The messages in a mailbox or folder. Read-only. Nullable. - /// Find more info here + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -67,8 +67,8 @@ public async Task GetAsync(Action(requestInfo, MessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. - /// Find more info here + /// Create a draft of a new message in either JSON or MIME format. When using JSON format, you can:- Include an attachment to the message.- Update the draft later to add content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- /* Add any attachments and S/MIME properties to the MIME content. By default, this operation saves the draft in the Drafts folder. Send the draft message in a subsequent operation. Alternatively, send a new message in a single operation, or create a draft to forward, reply and reply-all to an existing message. This API is available in the following national cloud deployments. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -115,7 +115,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + /// Create a draft of a new message in either JSON or MIME format. When using JSON format, you can:- Include an attachment to the message.- Update the draft later to add content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- /* Add any attachments and S/MIME properties to the MIME content. By default, this operation saves the draft in the Drafts folder. Send the draft message in a subsequent operation. Alternatively, send a new message in a single operation, or create a draft to forward, reply and reply-all to an existing message. This API is available in the following national cloud deployments. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Me/Photos/PhotosRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Photos/PhotosRequestBuilder.cs index d389fcbf944..60890c5d9ab 100644 --- a/src/Microsoft.Graph/Generated/Me/Photos/PhotosRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Photos/PhotosRequestBuilder.cs @@ -1,5 +1,4 @@ // -using Microsoft.Graph.Me.Photos.Count; using Microsoft.Graph.Me.Photos.Item; using Microsoft.Graph.Models.ODataErrors; using Microsoft.Graph.Models; @@ -16,10 +15,6 @@ namespace Microsoft.Graph.Me.Photos { /// Provides operations to manage the photos property of the microsoft.graph.user entity. /// public class PhotosRequestBuilder : BaseRequestBuilder { - /// Provides operations to count the resources in the collection. - public CountRequestBuilder Count { get => - new CountRequestBuilder(PathParameters, RequestAdapter); - } /// Provides operations to manage the photos property of the microsoft.graph.user entity. /// The unique identifier of profilePhoto public ProfilePhotoItemRequestBuilder this[string position] { get { @@ -32,14 +27,14 @@ public ProfilePhotoItemRequestBuilder this[string position] { get { /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public PhotosRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/photos{?%24top,%24skip,%24filter,%24count,%24orderby,%24select}", pathParameters) { + public PhotosRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/photos{?%24top,%24skip,%24filter,%24orderby,%24select}", pathParameters) { } /// /// Instantiates a new PhotosRequestBuilder and sets the default values. /// /// The raw URL to use for the request builder. /// The request adapter to use to execute the requests. - public PhotosRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/photos{?%24top,%24skip,%24filter,%24count,%24orderby,%24select}", rawUrl) { + public PhotosRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/photos{?%24top,%24skip,%24filter,%24orderby,%24select}", rawUrl) { } /// /// Get photos from me @@ -97,9 +92,6 @@ public PhotosRequestBuilder WithUrl(string rawUrl) { /// Get photos from me /// public class PhotosRequestBuilderGetQueryParameters { - /// Include count of items - [QueryParameter("%24count")] - public bool? Count { get; set; } /// Filter items by property values #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable diff --git a/src/Microsoft.Graph/Generated/Me/Presence/PresenceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Presence/PresenceRequestBuilder.cs index 4e3c743292b..ba8994fa45c 100644 --- a/src/Microsoft.Graph/Generated/Me/Presence/PresenceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Presence/PresenceRequestBuilder.cs @@ -73,8 +73,8 @@ public async Task DeleteAsync(Action - /// Set a presence status message for a user. An optional expiration date and time can be supplied. This API is available in the following national cloud deployments. - /// Find more info here + /// Get a user's presence information. This API is available in the following national cloud deployments. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -139,7 +139,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Set a presence status message for a user. An optional expiration date and time can be supplied. This API is available in the following national cloud deployments. + /// Get a user's presence information. This API is available in the following national cloud deployments. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -216,7 +216,7 @@ public PresenceRequestBuilderDeleteRequestConfiguration() { } } /// - /// Set a presence status message for a user. An optional expiration date and time can be supplied. This API is available in the following national cloud deployments. + /// Get a user's presence information. This API is available in the following national cloud deployments. /// public class PresenceRequestBuilderGetQueryParameters { /// Expand related entities diff --git a/src/Microsoft.Graph/Generated/Models/AccountTargetContent.cs b/src/Microsoft.Graph/Generated/Models/AccountTargetContent.cs index 67801a9c33b..f1a19e3a771 100644 --- a/src/Microsoft.Graph/Generated/Models/AccountTargetContent.cs +++ b/src/Microsoft.Graph/Generated/Models/AccountTargetContent.cs @@ -28,7 +28,7 @@ public string OdataType { set { BackingStore?.Set("@odata.type", value); } } #endif - /// The type property + /// The type of account target content. Possible values are: unknown, includeAll, addressBook, unknownFutureValue. public AccountTargetContentType? Type { get { return BackingStore?.Get("type"); } set { BackingStore?.Set("type", value); } diff --git a/src/Microsoft.Graph/Generated/Models/AddressBookAccountTargetContent.cs b/src/Microsoft.Graph/Generated/Models/AddressBookAccountTargetContent.cs index e1063b88c5b..a193df2a00d 100644 --- a/src/Microsoft.Graph/Generated/Models/AddressBookAccountTargetContent.cs +++ b/src/Microsoft.Graph/Generated/Models/AddressBookAccountTargetContent.cs @@ -6,7 +6,7 @@ using System; namespace Microsoft.Graph.Models { public class AddressBookAccountTargetContent : AccountTargetContent, IParsable { - /// The accountTargetEmails property + /// List of user emails targeted for an attack simulation training campaign. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? AccountTargetEmails { diff --git a/src/Microsoft.Graph/Generated/Models/AttackSimulationOperation.cs b/src/Microsoft.Graph/Generated/Models/AttackSimulationOperation.cs index 6c8e3c1819d..40c0977cc04 100644 --- a/src/Microsoft.Graph/Generated/Models/AttackSimulationOperation.cs +++ b/src/Microsoft.Graph/Generated/Models/AttackSimulationOperation.cs @@ -6,12 +6,12 @@ using System; namespace Microsoft.Graph.Models { public class AttackSimulationOperation : LongRunningOperation, IParsable { - /// The percentageCompleted property + /// Percentage of completion of the respective operation. public int? PercentageCompleted { get { return BackingStore?.Get("percentageCompleted"); } set { BackingStore?.Set("percentageCompleted", value); } } - /// The tenantId property + /// Tenant identifier. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? TenantId { @@ -25,7 +25,7 @@ public string TenantId { set { BackingStore?.Set("tenantId", value); } } #endif - /// The type property + /// The attack simulation operation type. Possible values are: createSimulation, updateSimulation, unknownFutureValue. public AttackSimulationOperationType? Type { get { return BackingStore?.Get("type"); } set { BackingStore?.Set("type", value); } diff --git a/src/Microsoft.Graph/Generated/Models/AttackSimulationRoot.cs b/src/Microsoft.Graph/Generated/Models/AttackSimulationRoot.cs index 21e8c7df3bd..106938debb7 100644 --- a/src/Microsoft.Graph/Generated/Models/AttackSimulationRoot.cs +++ b/src/Microsoft.Graph/Generated/Models/AttackSimulationRoot.cs @@ -6,7 +6,7 @@ using System; namespace Microsoft.Graph.Models { public class AttackSimulationRoot : Entity, IParsable { - /// The endUserNotifications property + /// Represents an end user's notification for an attack simulation training. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? EndUserNotifications { @@ -20,7 +20,7 @@ public List EndUserNotifications { set { BackingStore?.Set("endUserNotifications", value); } } #endif - /// The landingPages property + /// Represents an attack simulation training landing page. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? LandingPages { @@ -34,7 +34,7 @@ public List LandingPages { set { BackingStore?.Set("landingPages", value); } } #endif - /// The loginPages property + /// Represents an attack simulation training login page. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? LoginPages { @@ -48,7 +48,7 @@ public List LoginPages { set { BackingStore?.Set("loginPages", value); } } #endif - /// The operations property + /// Represents an attack simulation training operation. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? Operations { @@ -62,7 +62,7 @@ public List Operations { set { BackingStore?.Set("operations", value); } } #endif - /// The payloads property + /// Represents an attack simulation training campaign payload in a tenant. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? Payloads { @@ -104,7 +104,7 @@ public List Simulations { set { BackingStore?.Set("simulations", value); } } #endif - /// The trainings property + /// Represents details about attack simulation trainings. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? Trainings { diff --git a/src/Microsoft.Graph/Generated/Models/AuthorizationPolicy.cs b/src/Microsoft.Graph/Generated/Models/AuthorizationPolicy.cs index 7b97f52d9ac..95ed8a4cf96 100644 --- a/src/Microsoft.Graph/Generated/Models/AuthorizationPolicy.cs +++ b/src/Microsoft.Graph/Generated/Models/AuthorizationPolicy.cs @@ -11,7 +11,7 @@ public bool? AllowedToSignUpEmailBasedSubscriptions { get { return BackingStore?.Get("allowedToSignUpEmailBasedSubscriptions"); } set { BackingStore?.Set("allowedToSignUpEmailBasedSubscriptions", value); } } - /// Indicates whether users can use the Self-Serve Password Reset feature on the tenant. + /// Indicates whether users can use the Self-Service Password Reset feature on the tenant. public bool? AllowedToUseSSPR { get { return BackingStore?.Get("allowedToUseSSPR"); } set { BackingStore?.Set("allowedToUseSSPR", value); } diff --git a/src/Microsoft.Graph/Generated/Models/BaseEndUserNotification.cs b/src/Microsoft.Graph/Generated/Models/BaseEndUserNotification.cs index d8edc9d463e..0a505721beb 100644 --- a/src/Microsoft.Graph/Generated/Models/BaseEndUserNotification.cs +++ b/src/Microsoft.Graph/Generated/Models/BaseEndUserNotification.cs @@ -14,7 +14,7 @@ public IDictionary AdditionalData { } /// Stores model information. public IBackingStore BackingStore { get; private set; } - /// The defaultLanguage property + /// The default language for the end user notification. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? DefaultLanguage { diff --git a/src/Microsoft.Graph/Generated/Models/Channel.cs b/src/Microsoft.Graph/Generated/Models/Channel.cs index 67a32fb5808..b056f85face 100644 --- a/src/Microsoft.Graph/Generated/Models/Channel.cs +++ b/src/Microsoft.Graph/Generated/Models/Channel.cs @@ -118,6 +118,20 @@ public List SharedWithTeams { get { return BackingStore?.Get>("sharedWithTeams"); } set { BackingStore?.Set("sharedWithTeams", value); } } +#endif + /// Contains summary information about the channel, including number of owners, members, guests, and an indicator for members from other tenants. The summary property will only be returned if it is specified in the $select clause of the Get channel method. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public ChannelSummary? Summary { + get { return BackingStore?.Get("summary"); } + set { BackingStore?.Set("summary", value); } + } +#nullable restore +#else + public ChannelSummary Summary { + get { return BackingStore?.Get("summary"); } + set { BackingStore?.Set("summary", value); } + } #endif /// A collection of all the tabs in the channel. A navigation property. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -184,6 +198,7 @@ public override IDictionary> GetFieldDeserializers() {"membershipType", n => { MembershipType = n.GetEnumValue(); } }, {"messages", n => { Messages = n.GetCollectionOfObjectValues(ChatMessage.CreateFromDiscriminatorValue)?.ToList(); } }, {"sharedWithTeams", n => { SharedWithTeams = n.GetCollectionOfObjectValues(SharedWithChannelTeamInfo.CreateFromDiscriminatorValue)?.ToList(); } }, + {"summary", n => { Summary = n.GetObjectValue(ChannelSummary.CreateFromDiscriminatorValue); } }, {"tabs", n => { Tabs = n.GetCollectionOfObjectValues(TeamsTab.CreateFromDiscriminatorValue)?.ToList(); } }, {"tenantId", n => { TenantId = n.GetStringValue(); } }, {"webUrl", n => { WebUrl = n.GetStringValue(); } }, @@ -206,6 +221,7 @@ public override void Serialize(ISerializationWriter writer) { writer.WriteEnumValue("membershipType", MembershipType); writer.WriteCollectionOfObjectValues("messages", Messages); writer.WriteCollectionOfObjectValues("sharedWithTeams", SharedWithTeams); + writer.WriteObjectValue("summary", Summary); writer.WriteCollectionOfObjectValues("tabs", Tabs); writer.WriteStringValue("tenantId", TenantId); writer.WriteStringValue("webUrl", WebUrl); diff --git a/src/Microsoft.Graph/Generated/Models/ChannelSummary.cs b/src/Microsoft.Graph/Generated/Models/ChannelSummary.cs new file mode 100644 index 00000000000..a8198f56644 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ChannelSummary.cs @@ -0,0 +1,92 @@ +// +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System; +namespace Microsoft.Graph.Models { + public class ChannelSummary : IAdditionalDataHolder, IBackedModel, IParsable { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData { + get { return BackingStore?.Get>("AdditionalData"); } + set { BackingStore?.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// Count of guests in a channel. + public int? GuestsCount { + get { return BackingStore?.Get("guestsCount"); } + set { BackingStore?.Set("guestsCount", value); } + } + /// Indicates whether external members are included on the channel. + public bool? HasMembersFromOtherTenants { + get { return BackingStore?.Get("hasMembersFromOtherTenants"); } + set { BackingStore?.Set("hasMembersFromOtherTenants", value); } + } + /// Count of members in a channel. + public int? MembersCount { + get { return BackingStore?.Get("membersCount"); } + set { BackingStore?.Set("membersCount", value); } + } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// Count of owners in a channel. + public int? OwnersCount { + get { return BackingStore?.Get("ownersCount"); } + set { BackingStore?.Set("ownersCount", value); } + } + /// + /// Instantiates a new channelSummary and sets the default values. + /// + public ChannelSummary() { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// The parse node to use to read the discriminator value and create the object + public static ChannelSummary CreateFromDiscriminatorValue(IParseNode parseNode) { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new ChannelSummary(); + } + /// + /// The deserialization information for the current model + /// + public virtual IDictionary> GetFieldDeserializers() { + return new Dictionary> { + {"guestsCount", n => { GuestsCount = n.GetIntValue(); } }, + {"hasMembersFromOtherTenants", n => { HasMembersFromOtherTenants = n.GetBoolValue(); } }, + {"membersCount", n => { MembersCount = n.GetIntValue(); } }, + {"@odata.type", n => { OdataType = n.GetStringValue(); } }, + {"ownersCount", n => { OwnersCount = n.GetIntValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteIntValue("guestsCount", GuestsCount); + writer.WriteBoolValue("hasMembersFromOtherTenants", HasMembersFromOtherTenants); + writer.WriteIntValue("membersCount", MembersCount); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteIntValue("ownersCount", OwnersCount); + writer.WriteAdditionalData(AdditionalData); + } + } +} diff --git a/src/Microsoft.Graph/Generated/Models/CoachmarkLocation.cs b/src/Microsoft.Graph/Generated/Models/CoachmarkLocation.cs index 91d4d17af11..f9d823bb051 100644 --- a/src/Microsoft.Graph/Generated/Models/CoachmarkLocation.cs +++ b/src/Microsoft.Graph/Generated/Models/CoachmarkLocation.cs @@ -14,7 +14,7 @@ public IDictionary AdditionalData { } /// Stores model information. public IBackingStore BackingStore { get; private set; } - /// The length property + /// Length of coachmark. public int? Length { get { return BackingStore?.Get("length"); } set { BackingStore?.Set("length", value); } @@ -33,12 +33,12 @@ public string OdataType { set { BackingStore?.Set("@odata.type", value); } } #endif - /// The offset property + /// Offset of coachmark. public int? Offset { get { return BackingStore?.Get("offset"); } set { BackingStore?.Set("offset", value); } } - /// The type property + /// Type of coachmark location. The possible values are: unknown, fromEmail, subject, externalTag, displayName, messageBody, unknownFutureValue. public CoachmarkLocationType? Type { get { return BackingStore?.Get("type"); } set { BackingStore?.Set("type", value); } diff --git a/src/Microsoft.Graph/Generated/Models/CustomTrainingSetting.cs b/src/Microsoft.Graph/Generated/Models/CustomTrainingSetting.cs index c3480649df9..e579e772ca4 100644 --- a/src/Microsoft.Graph/Generated/Models/CustomTrainingSetting.cs +++ b/src/Microsoft.Graph/Generated/Models/CustomTrainingSetting.cs @@ -6,7 +6,7 @@ using System; namespace Microsoft.Graph.Models { public class CustomTrainingSetting : TrainingSetting, IParsable { - /// The assignedTo property + /// A user collection that specifies to whom the training should be assigned. Possible values are: none, allUsers, clickedPayload, compromised, reportedPhish, readButNotClicked, didNothing, unknownFutureValue. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? AssignedTo { @@ -20,7 +20,7 @@ public List AssignedTo { set { BackingStore?.Set("assignedTo", value); } } #endif - /// The description property + /// The description of the custom training setting. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Description { @@ -34,7 +34,7 @@ public string Description { set { BackingStore?.Set("description", value); } } #endif - /// The displayName property + /// The display name of the custom training setting. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? DisplayName { @@ -48,12 +48,12 @@ public string DisplayName { set { BackingStore?.Set("displayName", value); } } #endif - /// The durationInMinutes property + /// Training duration. public int? DurationInMinutes { get { return BackingStore?.Get("durationInMinutes"); } set { BackingStore?.Set("durationInMinutes", value); } } - /// The url property + /// The training URL. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Url { diff --git a/src/Microsoft.Graph/Generated/Models/DelegatedAdminRelationship.cs b/src/Microsoft.Graph/Generated/Models/DelegatedAdminRelationship.cs index 4cdb2089270..8c3051f2ac4 100644 --- a/src/Microsoft.Graph/Generated/Models/DelegatedAdminRelationship.cs +++ b/src/Microsoft.Graph/Generated/Models/DelegatedAdminRelationship.cs @@ -39,7 +39,7 @@ public DateTimeOffset? ActivatedDateTime { get { return BackingStore?.Get("activatedDateTime"); } set { BackingStore?.Set("activatedDateTime", value); } } - /// The autoExtendDuration property + /// The duration by which the validity of the relationship is automatically extended, denoted in ISO 8601 format. Supported values are: P0D, PT0S, P180D. The default value is PT0S. PT0S indicates that the relationship expires when the endDateTime is reached and it isn't automatically extended. public TimeSpan? AutoExtendDuration { get { return BackingStore?.Get("autoExtendDuration"); } set { BackingStore?.Set("autoExtendDuration", value); } diff --git a/src/Microsoft.Graph/Generated/Models/DeviceLocalCredential.cs b/src/Microsoft.Graph/Generated/Models/DeviceLocalCredential.cs new file mode 100644 index 00000000000..669d3eebc92 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/DeviceLocalCredential.cs @@ -0,0 +1,88 @@ +// +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System; +namespace Microsoft.Graph.Models { + public class DeviceLocalCredential : Entity, IParsable { + /// The name of the local admin account for which LAPS is enabled. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? AccountName { + get { return BackingStore?.Get("accountName"); } + set { BackingStore?.Set("accountName", value); } + } +#nullable restore +#else + public string AccountName { + get { return BackingStore?.Get("accountName"); } + set { BackingStore?.Set("accountName", value); } + } +#endif + /// The SID of the local admin account for which LAPS is enabled. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? AccountSid { + get { return BackingStore?.Get("accountSid"); } + set { BackingStore?.Set("accountSid", value); } + } +#nullable restore +#else + public string AccountSid { + get { return BackingStore?.Get("accountSid"); } + set { BackingStore?.Set("accountSid", value); } + } +#endif + /// When the local administrator account credential for the device object was backed up to Azure Active Directory. + public DateTimeOffset? BackupDateTime { + get { return BackingStore?.Get("backupDateTime"); } + set { BackingStore?.Set("backupDateTime", value); } + } + /// The password for the local administrator account that is backed up to Azure Active Directory and returned as a Base64 encoded value. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? PasswordBase64 { + get { return BackingStore?.Get("passwordBase64"); } + set { BackingStore?.Set("passwordBase64", value); } + } +#nullable restore +#else + public string PasswordBase64 { + get { return BackingStore?.Get("passwordBase64"); } + set { BackingStore?.Set("passwordBase64", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// The parse node to use to read the discriminator value and create the object + public static new DeviceLocalCredential CreateFromDiscriminatorValue(IParseNode parseNode) { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new DeviceLocalCredential(); + } + /// + /// The deserialization information for the current model + /// + public override IDictionary> GetFieldDeserializers() { + return new Dictionary>(base.GetFieldDeserializers()) { + {"accountName", n => { AccountName = n.GetStringValue(); } }, + {"accountSid", n => { AccountSid = n.GetStringValue(); } }, + {"backupDateTime", n => { BackupDateTime = n.GetDateTimeOffsetValue(); } }, + {"passwordBase64", n => { PasswordBase64 = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteStringValue("accountName", AccountName); + writer.WriteStringValue("accountSid", AccountSid); + writer.WriteDateTimeOffsetValue("backupDateTime", BackupDateTime); + writer.WriteStringValue("passwordBase64", PasswordBase64); + } + } +} diff --git a/src/Microsoft.Graph/Generated/Models/DeviceLocalCredentialInfo.cs b/src/Microsoft.Graph/Generated/Models/DeviceLocalCredentialInfo.cs new file mode 100644 index 00000000000..82831ac0a2d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/DeviceLocalCredentialInfo.cs @@ -0,0 +1,79 @@ +// +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System; +namespace Microsoft.Graph.Models { + public class DeviceLocalCredentialInfo : Entity, IParsable { + /// The credentials of the device's local administrator account backed up to Azure Active Directory. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Credentials { + get { return BackingStore?.Get?>("credentials"); } + set { BackingStore?.Set("credentials", value); } + } +#nullable restore +#else + public List Credentials { + get { return BackingStore?.Get>("credentials"); } + set { BackingStore?.Set("credentials", value); } + } +#endif + /// Display name of the device that the local credentials are associated with. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DeviceName { + get { return BackingStore?.Get("deviceName"); } + set { BackingStore?.Set("deviceName", value); } + } +#nullable restore +#else + public string DeviceName { + get { return BackingStore?.Get("deviceName"); } + set { BackingStore?.Set("deviceName", value); } + } +#endif + /// When the local administrator account credential was backed up to Azure Active Directory. + public DateTimeOffset? LastBackupDateTime { + get { return BackingStore?.Get("lastBackupDateTime"); } + set { BackingStore?.Set("lastBackupDateTime", value); } + } + /// When the local administrator account credential will be refreshed and backed up to Azure Active Directory. + public DateTimeOffset? RefreshDateTime { + get { return BackingStore?.Get("refreshDateTime"); } + set { BackingStore?.Set("refreshDateTime", value); } + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// The parse node to use to read the discriminator value and create the object + public static new DeviceLocalCredentialInfo CreateFromDiscriminatorValue(IParseNode parseNode) { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new DeviceLocalCredentialInfo(); + } + /// + /// The deserialization information for the current model + /// + public override IDictionary> GetFieldDeserializers() { + return new Dictionary>(base.GetFieldDeserializers()) { + {"credentials", n => { Credentials = n.GetCollectionOfObjectValues(DeviceLocalCredential.CreateFromDiscriminatorValue)?.ToList(); } }, + {"deviceName", n => { DeviceName = n.GetStringValue(); } }, + {"lastBackupDateTime", n => { LastBackupDateTime = n.GetDateTimeOffsetValue(); } }, + {"refreshDateTime", n => { RefreshDateTime = n.GetDateTimeOffsetValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("credentials", Credentials); + writer.WriteStringValue("deviceName", DeviceName); + writer.WriteDateTimeOffsetValue("lastBackupDateTime", LastBackupDateTime); + writer.WriteDateTimeOffsetValue("refreshDateTime", RefreshDateTime); + } + } +} diff --git a/src/Microsoft.Graph/Generated/Models/DeviceLocalCredentialInfoCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/DeviceLocalCredentialInfoCollectionResponse.cs new file mode 100644 index 00000000000..f4ae8940623 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/DeviceLocalCredentialInfoCollectionResponse.cs @@ -0,0 +1,49 @@ +// +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System; +namespace Microsoft.Graph.Models { + public class DeviceLocalCredentialInfoCollectionResponse : BaseCollectionPaginationCountResponse, IParsable { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// The parse node to use to read the discriminator value and create the object + public static new DeviceLocalCredentialInfoCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new DeviceLocalCredentialInfoCollectionResponse(); + } + /// + /// The deserialization information for the current model + /// + public override IDictionary> GetFieldDeserializers() { + return new Dictionary>(base.GetFieldDeserializers()) { + {"value", n => { Value = n.GetCollectionOfObjectValues(DeviceLocalCredentialInfo.CreateFromDiscriminatorValue)?.ToList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} diff --git a/src/Microsoft.Graph/Generated/Models/DirectoryObject1.cs b/src/Microsoft.Graph/Generated/Models/DirectoryObject1.cs index ef63deba0ac..3d07e3dca13 100644 --- a/src/Microsoft.Graph/Generated/Models/DirectoryObject1.cs +++ b/src/Microsoft.Graph/Generated/Models/DirectoryObject1.cs @@ -61,6 +61,20 @@ public List DeletedItems { get { return BackingStore?.Get>("deletedItems"); } set { BackingStore?.Set("deletedItems", value); } } +#endif + /// The credentials of the device's local administrator account backed up to Microsoft Entra ID. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? DeviceLocalCredentials { + get { return BackingStore?.Get?>("deviceLocalCredentials"); } + set { BackingStore?.Set("deviceLocalCredentials", value); } + } +#nullable restore +#else + public List DeviceLocalCredentials { + get { return BackingStore?.Get>("deviceLocalCredentials"); } + set { BackingStore?.Set("deviceLocalCredentials", value); } + } #endif /// Configure domain federation with organizations whose identity provider (IdP) supports either the SAML or WS-Fed protocol. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -107,6 +121,7 @@ public override IDictionary> GetFieldDeserializers() {"attributeSets", n => { AttributeSets = n.GetCollectionOfObjectValues(AttributeSet.CreateFromDiscriminatorValue)?.ToList(); } }, {"customSecurityAttributeDefinitions", n => { CustomSecurityAttributeDefinitions = n.GetCollectionOfObjectValues(CustomSecurityAttributeDefinition.CreateFromDiscriminatorValue)?.ToList(); } }, {"deletedItems", n => { DeletedItems = n.GetCollectionOfObjectValues(DirectoryObject.CreateFromDiscriminatorValue)?.ToList(); } }, + {"deviceLocalCredentials", n => { DeviceLocalCredentials = n.GetCollectionOfObjectValues(DeviceLocalCredentialInfo.CreateFromDiscriminatorValue)?.ToList(); } }, {"federationConfigurations", n => { FederationConfigurations = n.GetCollectionOfObjectValues(IdentityProviderBase.CreateFromDiscriminatorValue)?.ToList(); } }, {"onPremisesSynchronization", n => { OnPremisesSynchronization = n.GetCollectionOfObjectValues(OnPremisesDirectorySynchronization.CreateFromDiscriminatorValue)?.ToList(); } }, }; @@ -122,6 +137,7 @@ public override void Serialize(ISerializationWriter writer) { writer.WriteCollectionOfObjectValues("attributeSets", AttributeSets); writer.WriteCollectionOfObjectValues("customSecurityAttributeDefinitions", CustomSecurityAttributeDefinitions); writer.WriteCollectionOfObjectValues("deletedItems", DeletedItems); + writer.WriteCollectionOfObjectValues("deviceLocalCredentials", DeviceLocalCredentials); writer.WriteCollectionOfObjectValues("federationConfigurations", FederationConfigurations); writer.WriteCollectionOfObjectValues("onPremisesSynchronization", OnPremisesSynchronization); } diff --git a/src/Microsoft.Graph/Generated/Models/EmailPayloadDetail.cs b/src/Microsoft.Graph/Generated/Models/EmailPayloadDetail.cs index 9770ef5c2bf..f6ae4b05eae 100644 --- a/src/Microsoft.Graph/Generated/Models/EmailPayloadDetail.cs +++ b/src/Microsoft.Graph/Generated/Models/EmailPayloadDetail.cs @@ -6,7 +6,7 @@ using System; namespace Microsoft.Graph.Models { public class EmailPayloadDetail : PayloadDetail, IParsable { - /// The fromEmail property + /// Email address of the user. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? FromEmail { @@ -20,7 +20,7 @@ public string FromEmail { set { BackingStore?.Set("fromEmail", value); } } #endif - /// The fromName property + /// Display name of the user. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? FromName { @@ -34,12 +34,12 @@ public string FromName { set { BackingStore?.Set("fromName", value); } } #endif - /// The isExternalSender property + /// Indicates whether the sender isn't from the user's organization. public bool? IsExternalSender { get { return BackingStore?.Get("isExternalSender"); } set { BackingStore?.Set("isExternalSender", value); } } - /// The subject property + /// The subject of the email address sent to the user. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Subject { diff --git a/src/Microsoft.Graph/Generated/Models/EndUserNotification.cs b/src/Microsoft.Graph/Generated/Models/EndUserNotification.cs index 0c37903cc6d..710036e6c13 100644 --- a/src/Microsoft.Graph/Generated/Models/EndUserNotification.cs +++ b/src/Microsoft.Graph/Generated/Models/EndUserNotification.cs @@ -6,7 +6,7 @@ using System; namespace Microsoft.Graph.Models { public class EndUserNotification : Entity, IParsable { - /// The createdBy property + /// Identity of the user who created the notification. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public EmailIdentity? CreatedBy { @@ -20,12 +20,12 @@ public EmailIdentity CreatedBy { set { BackingStore?.Set("createdBy", value); } } #endif - /// The createdDateTime property + /// Date and time when the notification was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. public DateTimeOffset? CreatedDateTime { get { return BackingStore?.Get("createdDateTime"); } set { BackingStore?.Set("createdDateTime", value); } } - /// The description property + /// Description of the notification as defined by the user. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Description { @@ -53,7 +53,7 @@ public List Details { set { BackingStore?.Set("details", value); } } #endif - /// The displayName property + /// Name of the notification as defined by the user. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? DisplayName { @@ -67,7 +67,7 @@ public string DisplayName { set { BackingStore?.Set("displayName", value); } } #endif - /// The lastModifiedBy property + /// Identity of the user who last modified the notification. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public EmailIdentity? LastModifiedBy { @@ -81,27 +81,27 @@ public EmailIdentity LastModifiedBy { set { BackingStore?.Set("lastModifiedBy", value); } } #endif - /// The lastModifiedDateTime property + /// Date and time when the notification was last modified. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. public DateTimeOffset? LastModifiedDateTime { get { return BackingStore?.Get("lastModifiedDateTime"); } set { BackingStore?.Set("lastModifiedDateTime", value); } } - /// The notificationType property + /// Type of notification. Possible values are: unknown, positiveReinforcement, noTraining, trainingAssignment, trainingReminder, unknownFutureValue. public EndUserNotificationType? NotificationType { get { return BackingStore?.Get("notificationType"); } set { BackingStore?.Set("notificationType", value); } } - /// The source property + /// The source of the content. Possible values are: unknown, global, tenant, unknownFutureValue. public SimulationContentSource? Source { get { return BackingStore?.Get("source"); } set { BackingStore?.Set("source", value); } } - /// The status property + /// The status of the notification. Possible values are: unknown, draft, ready, archive, delete, unknownFutureValue. public SimulationContentStatus? Status { get { return BackingStore?.Get("status"); } set { BackingStore?.Set("status", value); } } - /// The supportedLocales property + /// Supported locales for endUserNotification content. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? SupportedLocales { diff --git a/src/Microsoft.Graph/Generated/Models/EndUserNotificationDetail.cs b/src/Microsoft.Graph/Generated/Models/EndUserNotificationDetail.cs index 4ae0cf2d92f..c0f9cde79ef 100644 --- a/src/Microsoft.Graph/Generated/Models/EndUserNotificationDetail.cs +++ b/src/Microsoft.Graph/Generated/Models/EndUserNotificationDetail.cs @@ -6,7 +6,7 @@ using System; namespace Microsoft.Graph.Models { public class EndUserNotificationDetail : Entity, IParsable { - /// The emailContent property + /// Email HTML content. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? EmailContent { @@ -20,12 +20,12 @@ public string EmailContent { set { BackingStore?.Set("emailContent", value); } } #endif - /// The isDefaultLangauge property + /// Indicates whether this language is default. public bool? IsDefaultLangauge { get { return BackingStore?.Get("isDefaultLangauge"); } set { BackingStore?.Set("isDefaultLangauge", value); } } - /// The language property + /// Notification language. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Language { @@ -39,7 +39,7 @@ public string Language { set { BackingStore?.Set("language", value); } } #endif - /// The locale property + /// Notification locale. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Locale { @@ -67,7 +67,7 @@ public EmailIdentity SentFrom { set { BackingStore?.Set("sentFrom", value); } } #endif - /// The subject property + /// Mail subject. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Subject { diff --git a/src/Microsoft.Graph/Generated/Models/EndUserNotificationSetting.cs b/src/Microsoft.Graph/Generated/Models/EndUserNotificationSetting.cs index 9135fb3fe2a..69d63e56827 100644 --- a/src/Microsoft.Graph/Generated/Models/EndUserNotificationSetting.cs +++ b/src/Microsoft.Graph/Generated/Models/EndUserNotificationSetting.cs @@ -14,7 +14,7 @@ public IDictionary AdditionalData { } /// Stores model information. public IBackingStore BackingStore { get; private set; } - /// The notificationPreference property + /// Notification preference. Possible values are: unknown, microsoft, custom, unknownFutureValue. public EndUserNotificationPreference? NotificationPreference { get { return BackingStore?.Get("notificationPreference"); } set { BackingStore?.Set("notificationPreference", value); } @@ -33,7 +33,7 @@ public string OdataType { set { BackingStore?.Set("@odata.type", value); } } #endif - /// The positiveReinforcement property + /// Positive reinforcement detail. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public PositiveReinforcementNotification? PositiveReinforcement { @@ -47,7 +47,7 @@ public PositiveReinforcementNotification PositiveReinforcement { set { BackingStore?.Set("positiveReinforcement", value); } } #endif - /// The settingType property + /// End user notification type. Possible values are: unknown, noTraining, trainingSelected, noNotification, unknownFutureValue. public EndUserNotificationSettingType? SettingType { get { return BackingStore?.Get("settingType"); } set { BackingStore?.Set("settingType", value); } diff --git a/src/Microsoft.Graph/Generated/Models/Entity.cs b/src/Microsoft.Graph/Generated/Models/Entity.cs index a88d3f549a2..9beb2df8624 100644 --- a/src/Microsoft.Graph/Generated/Models/Entity.cs +++ b/src/Microsoft.Graph/Generated/Models/Entity.cs @@ -254,6 +254,7 @@ public static Entity CreateFromDiscriminatorValue(IParseNode parseNode) { "#microsoft.graph.deviceEnrollmentPlatformRestrictionsConfiguration" => new DeviceEnrollmentPlatformRestrictionsConfiguration(), "#microsoft.graph.deviceEnrollmentWindowsHelloForBusinessConfiguration" => new DeviceEnrollmentWindowsHelloForBusinessConfiguration(), "#microsoft.graph.deviceInstallState" => new DeviceInstallState(), + "#microsoft.graph.deviceLocalCredentialInfo" => new DeviceLocalCredentialInfo(), "#microsoft.graph.deviceLogCollectionResponse" => new DeviceLogCollectionResponse(), "#microsoft.graph.deviceManagement" => new DeviceManagement(), "#microsoft.graph.deviceManagementExchangeConnector" => new DeviceManagementExchangeConnector(), @@ -614,6 +615,7 @@ public static Entity CreateFromDiscriminatorValue(IParseNode parseNode) { "#microsoft.graph.security.hostCookie" => new HostCookie(), "#microsoft.graph.security.hostname" => new Hostname(), "#microsoft.graph.security.hostPair" => new HostPair(), + "#microsoft.graph.security.hostPort" => new HostPort(), "#microsoft.graph.security.hostReputation" => new HostReputation(), "#microsoft.graph.security.hostSslCertificate" => new HostSslCertificate(), "#microsoft.graph.security.hostTracker" => new HostTracker(), diff --git a/src/Microsoft.Graph/Generated/Models/ExtensionProperty.cs b/src/Microsoft.Graph/Generated/Models/ExtensionProperty.cs index 2686da975bb..6d286cf6bcf 100644 --- a/src/Microsoft.Graph/Generated/Models/ExtensionProperty.cs +++ b/src/Microsoft.Graph/Generated/Models/ExtensionProperty.cs @@ -34,6 +34,11 @@ public string DataType { set { BackingStore?.Set("dataType", value); } } #endif + /// The isMultiValued property + public bool? IsMultiValued { + get { return BackingStore?.Get("isMultiValued"); } + set { BackingStore?.Set("isMultiValued", value); } + } /// Indicates if this extension property was synced from on-premises active directory using Microsoft Entra Connect. Read-only. public bool? IsSyncedFromOnPremises { get { return BackingStore?.Get("isSyncedFromOnPremises"); } @@ -88,6 +93,7 @@ public override IDictionary> GetFieldDeserializers() return new Dictionary>(base.GetFieldDeserializers()) { {"appDisplayName", n => { AppDisplayName = n.GetStringValue(); } }, {"dataType", n => { DataType = n.GetStringValue(); } }, + {"isMultiValued", n => { IsMultiValued = n.GetBoolValue(); } }, {"isSyncedFromOnPremises", n => { IsSyncedFromOnPremises = n.GetBoolValue(); } }, {"name", n => { Name = n.GetStringValue(); } }, {"targetObjects", n => { TargetObjects = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, @@ -102,6 +108,7 @@ public override void Serialize(ISerializationWriter writer) { base.Serialize(writer); writer.WriteStringValue("appDisplayName", AppDisplayName); writer.WriteStringValue("dataType", DataType); + writer.WriteBoolValue("isMultiValued", IsMultiValued); writer.WriteBoolValue("isSyncedFromOnPremises", IsSyncedFromOnPremises); writer.WriteStringValue("name", Name); writer.WriteCollectionOfPrimitiveValues("targetObjects", TargetObjects); diff --git a/src/Microsoft.Graph/Generated/Models/ExternalConnectors/ExternalConnection.cs b/src/Microsoft.Graph/Generated/Models/ExternalConnectors/ExternalConnection.cs index cdb88c4b384..54e4a09eb7a 100644 --- a/src/Microsoft.Graph/Generated/Models/ExternalConnectors/ExternalConnection.cs +++ b/src/Microsoft.Graph/Generated/Models/ExternalConnectors/ExternalConnection.cs @@ -33,6 +33,20 @@ public Microsoft.Graph.Models.ExternalConnectors.Configuration Configuration { get { return BackingStore?.Get("configuration"); } set { BackingStore?.Set("configuration", value); } } +#endif + /// The Teams app ID. Optional. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ConnectorId { + get { return BackingStore?.Get("connectorId"); } + set { BackingStore?.Set("connectorId", value); } + } +#nullable restore +#else + public string ConnectorId { + get { return BackingStore?.Get("connectorId"); } + set { BackingStore?.Set("connectorId", value); } + } #endif /// Description of the connection displayed in the Microsoft 365 admin center. Optional. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -152,6 +166,7 @@ public override IDictionary> GetFieldDeserializers() return new Dictionary>(base.GetFieldDeserializers()) { {"activitySettings", n => { ActivitySettings = n.GetObjectValue(Microsoft.Graph.Models.ExternalConnectors.ActivitySettings.CreateFromDiscriminatorValue); } }, {"configuration", n => { Configuration = n.GetObjectValue(Microsoft.Graph.Models.ExternalConnectors.Configuration.CreateFromDiscriminatorValue); } }, + {"connectorId", n => { ConnectorId = n.GetStringValue(); } }, {"description", n => { Description = n.GetStringValue(); } }, {"groups", n => { Groups = n.GetCollectionOfObjectValues(ExternalGroup.CreateFromDiscriminatorValue)?.ToList(); } }, {"items", n => { Items = n.GetCollectionOfObjectValues(ExternalItem.CreateFromDiscriminatorValue)?.ToList(); } }, @@ -171,6 +186,7 @@ public override void Serialize(ISerializationWriter writer) { base.Serialize(writer); writer.WriteObjectValue("activitySettings", ActivitySettings); writer.WriteObjectValue("configuration", Configuration); + writer.WriteStringValue("connectorId", ConnectorId); writer.WriteStringValue("description", Description); writer.WriteCollectionOfObjectValues("groups", Groups); writer.WriteCollectionOfObjectValues("items", Items); diff --git a/src/Microsoft.Graph/Generated/Models/Group.cs b/src/Microsoft.Graph/Generated/Models/Group.cs index 58581ef9cff..20be99c6a5b 100644 --- a/src/Microsoft.Graph/Generated/Models/Group.cs +++ b/src/Microsoft.Graph/Generated/Models/Group.cs @@ -575,7 +575,7 @@ public PlannerGroup Planner { set { BackingStore?.Set("planner", value); } } #endif - /// The preferred data location for the Microsoft 365 group. By default, the group inherits the group creator's preferred data location. To set this property, the calling user must be assigned one of the following Microsoft Entra roles: Global Administrator User Account Administrator Directory Writer Exchange Administrator SharePoint Administrator For more information about this property, see OneDrive Online Multi-Geo. Nullable. Returned by default. + /// The preferred data location for the Microsoft 365 group. By default, the group inherits the group creator's preferred data location. To set this property, the calling app must be granted the Directory.ReadWrite.All permission and the user be assigned one of the following Microsoft Entra roles: Global Administrator User Account Administrator Directory Writer Exchange Administrator SharePoint Administrator For more information about this property, see OneDrive Online Multi-Geo. Nullable. Returned by default. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? PreferredDataLocation { diff --git a/src/Microsoft.Graph/Generated/Models/LandingPage.cs b/src/Microsoft.Graph/Generated/Models/LandingPage.cs index 66e68e0edd1..db2eea8caa2 100644 --- a/src/Microsoft.Graph/Generated/Models/LandingPage.cs +++ b/src/Microsoft.Graph/Generated/Models/LandingPage.cs @@ -6,7 +6,7 @@ using System; namespace Microsoft.Graph.Models { public class LandingPage : Entity, IParsable { - /// The createdBy property + /// Identity of the user who created the landing page. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public EmailIdentity? CreatedBy { @@ -20,12 +20,12 @@ public EmailIdentity CreatedBy { set { BackingStore?.Set("createdBy", value); } } #endif - /// The createdDateTime property + /// Date and time when the landing page was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. public DateTimeOffset? CreatedDateTime { get { return BackingStore?.Get("createdDateTime"); } set { BackingStore?.Set("createdDateTime", value); } } - /// The description property + /// Description of the landing page as defined by the user. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Description { @@ -39,7 +39,7 @@ public string Description { set { BackingStore?.Set("description", value); } } #endif - /// The details property + /// The detail information for a landing page associated with a simulation during its creation. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? Details { @@ -53,7 +53,7 @@ public List Details { set { BackingStore?.Set("details", value); } } #endif - /// The displayName property + /// The display name of the landing page. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? DisplayName { @@ -67,7 +67,7 @@ public string DisplayName { set { BackingStore?.Set("displayName", value); } } #endif - /// The lastModifiedBy property + /// Email identity of the user who last modified the landing page. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public EmailIdentity? LastModifiedBy { @@ -81,12 +81,12 @@ public EmailIdentity LastModifiedBy { set { BackingStore?.Set("lastModifiedBy", value); } } #endif - /// The lastModifiedDateTime property + /// Date and time when the landing page was last modified. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. public DateTimeOffset? LastModifiedDateTime { get { return BackingStore?.Get("lastModifiedDateTime"); } set { BackingStore?.Set("lastModifiedDateTime", value); } } - /// The locale property + /// Content locale. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Locale { @@ -100,17 +100,17 @@ public string Locale { set { BackingStore?.Set("locale", value); } } #endif - /// The source property + /// The source of the content. Possible values are: unknown, global, tenant, unknownFutureValue. public SimulationContentSource? Source { get { return BackingStore?.Get("source"); } set { BackingStore?.Set("source", value); } } - /// The status property + /// The status of the simulation. Possible values are: unknown, draft, ready, archive, delete, unknownFutureValue. public SimulationContentStatus? Status { get { return BackingStore?.Get("status"); } set { BackingStore?.Set("status", value); } } - /// The supportedLocales property + /// Supported locales. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? SupportedLocales { diff --git a/src/Microsoft.Graph/Generated/Models/LandingPageDetail.cs b/src/Microsoft.Graph/Generated/Models/LandingPageDetail.cs index 2bcaa433085..2c18d9bf09a 100644 --- a/src/Microsoft.Graph/Generated/Models/LandingPageDetail.cs +++ b/src/Microsoft.Graph/Generated/Models/LandingPageDetail.cs @@ -6,7 +6,7 @@ using System; namespace Microsoft.Graph.Models { public class LandingPageDetail : Entity, IParsable { - /// The content property + /// Landing page detail content. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Content { @@ -20,12 +20,12 @@ public string Content { set { BackingStore?.Set("content", value); } } #endif - /// The isDefaultLangauge property + /// Indicates whether this language detail is default for the landing page. public bool? IsDefaultLangauge { get { return BackingStore?.Get("isDefaultLangauge"); } set { BackingStore?.Set("isDefaultLangauge", value); } } - /// The language property + /// The content language for the landing page. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Language { diff --git a/src/Microsoft.Graph/Generated/Models/LoginPage.cs b/src/Microsoft.Graph/Generated/Models/LoginPage.cs index 9793de19e7e..3a0f26848d7 100644 --- a/src/Microsoft.Graph/Generated/Models/LoginPage.cs +++ b/src/Microsoft.Graph/Generated/Models/LoginPage.cs @@ -6,7 +6,7 @@ using System; namespace Microsoft.Graph.Models { public class LoginPage : Entity, IParsable { - /// The content property + /// The HTML content of the login page. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Content { @@ -20,7 +20,7 @@ public string Content { set { BackingStore?.Set("content", value); } } #endif - /// The createdBy property + /// Identity of the user who created the login page. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public EmailIdentity? CreatedBy { @@ -34,12 +34,12 @@ public EmailIdentity CreatedBy { set { BackingStore?.Set("createdBy", value); } } #endif - /// The createdDateTime property + /// Date and time when the login page was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. public DateTimeOffset? CreatedDateTime { get { return BackingStore?.Get("createdDateTime"); } set { BackingStore?.Set("createdDateTime", value); } } - /// The description property + /// Description about the login page. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Description { @@ -53,7 +53,7 @@ public string Description { set { BackingStore?.Set("description", value); } } #endif - /// The displayName property + /// Display name of the login page. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? DisplayName { @@ -67,7 +67,7 @@ public string DisplayName { set { BackingStore?.Set("displayName", value); } } #endif - /// The language property + /// The content language of the login page. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Language { @@ -81,7 +81,7 @@ public string Language { set { BackingStore?.Set("language", value); } } #endif - /// The lastModifiedBy property + /// Identity of the user who last modified the login page. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public EmailIdentity? LastModifiedBy { @@ -95,17 +95,17 @@ public EmailIdentity LastModifiedBy { set { BackingStore?.Set("lastModifiedBy", value); } } #endif - /// The lastModifiedDateTime property + /// Date and time when the login page was last modified. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. public DateTimeOffset? LastModifiedDateTime { get { return BackingStore?.Get("lastModifiedDateTime"); } set { BackingStore?.Set("lastModifiedDateTime", value); } } - /// The source property + /// The source of the content. Possible values are: unknown, global, tenant, unknownFutureValue. public SimulationContentSource? Source { get { return BackingStore?.Get("source"); } set { BackingStore?.Set("source", value); } } - /// The status property + /// The login page status. Possible values are: unknown, draft, ready, archive, delete, unknownFutureValue. public SimulationContentStatus? Status { get { return BackingStore?.Get("status"); } set { BackingStore?.Set("status", value); } diff --git a/src/Microsoft.Graph/Generated/Models/MicrosoftCustomTrainingSetting.cs b/src/Microsoft.Graph/Generated/Models/MicrosoftCustomTrainingSetting.cs index 957ccf12daa..0377f6f9dc2 100644 --- a/src/Microsoft.Graph/Generated/Models/MicrosoftCustomTrainingSetting.cs +++ b/src/Microsoft.Graph/Generated/Models/MicrosoftCustomTrainingSetting.cs @@ -6,12 +6,12 @@ using System; namespace Microsoft.Graph.Models { public class MicrosoftCustomTrainingSetting : TrainingSetting, IParsable { - /// The completionDateTime property + /// The completion date and time of the training. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. public DateTimeOffset? CompletionDateTime { get { return BackingStore?.Get("completionDateTime"); } set { BackingStore?.Set("completionDateTime", value); } } - /// The trainingAssignmentMappings property + /// The mapping details of the associated training. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? TrainingAssignmentMappings { @@ -25,7 +25,7 @@ public List TrainingAssignmentMappings { set { BackingStore?.Set("trainingAssignmentMappings", value); } } #endif - /// The trainingCompletionDuration property + /// The training completion duration that needs to be provided before scheduling the training. Possible values are: week, fortnite, month, unknownFutureValue. public Microsoft.Graph.Models.TrainingCompletionDuration? TrainingCompletionDuration { get { return BackingStore?.Get("trainingCompletionDuration"); } set { BackingStore?.Set("trainingCompletionDuration", value); } diff --git a/src/Microsoft.Graph/Generated/Models/MicrosoftManagedTrainingSetting.cs b/src/Microsoft.Graph/Generated/Models/MicrosoftManagedTrainingSetting.cs index 7ad2328300f..d9020f7e19f 100644 --- a/src/Microsoft.Graph/Generated/Models/MicrosoftManagedTrainingSetting.cs +++ b/src/Microsoft.Graph/Generated/Models/MicrosoftManagedTrainingSetting.cs @@ -6,12 +6,12 @@ using System; namespace Microsoft.Graph.Models { public class MicrosoftManagedTrainingSetting : TrainingSetting, IParsable { - /// The completionDateTime property + /// The completion date for the training. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. public DateTimeOffset? CompletionDateTime { get { return BackingStore?.Get("completionDateTime"); } set { BackingStore?.Set("completionDateTime", value); } } - /// The trainingCompletionDuration property + /// The training completion duration that needs to be provided before scheduling the training. The possible values are: week, fortnite, month, unknownFutureValue. public Microsoft.Graph.Models.TrainingCompletionDuration? TrainingCompletionDuration { get { return BackingStore?.Get("trainingCompletionDuration"); } set { BackingStore?.Set("trainingCompletionDuration", value); } diff --git a/src/Microsoft.Graph/Generated/Models/MicrosoftTrainingAssignmentMapping.cs b/src/Microsoft.Graph/Generated/Models/MicrosoftTrainingAssignmentMapping.cs index 76d01d8bf8e..ebe9ece50c6 100644 --- a/src/Microsoft.Graph/Generated/Models/MicrosoftTrainingAssignmentMapping.cs +++ b/src/Microsoft.Graph/Generated/Models/MicrosoftTrainingAssignmentMapping.cs @@ -6,7 +6,7 @@ using System; namespace Microsoft.Graph.Models { public class MicrosoftTrainingAssignmentMapping : TrainingSetting, IParsable { - /// The assignedTo property + /// A user collection that specifies to whom the training should be assigned. Possible values are: none, allUsers, clickedPayload, compromised, reportedPhish, readButNotClicked, didNothing, unknownFutureValue. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? AssignedTo { diff --git a/src/Microsoft.Graph/Generated/Models/NoTrainingNotificationSetting.cs b/src/Microsoft.Graph/Generated/Models/NoTrainingNotificationSetting.cs index 23af230213c..b25af9a82cf 100644 --- a/src/Microsoft.Graph/Generated/Models/NoTrainingNotificationSetting.cs +++ b/src/Microsoft.Graph/Generated/Models/NoTrainingNotificationSetting.cs @@ -6,7 +6,7 @@ using System; namespace Microsoft.Graph.Models { public class NoTrainingNotificationSetting : EndUserNotificationSetting, IParsable { - /// The simulationNotification property + /// The notification for the user who is part of the simulation. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public Microsoft.Graph.Models.SimulationNotification? SimulationNotification { diff --git a/src/Microsoft.Graph/Generated/Models/OAuthConsentAppDetail.cs b/src/Microsoft.Graph/Generated/Models/OAuthConsentAppDetail.cs index cdae2d399fd..8c7defa6954 100644 --- a/src/Microsoft.Graph/Generated/Models/OAuthConsentAppDetail.cs +++ b/src/Microsoft.Graph/Generated/Models/OAuthConsentAppDetail.cs @@ -12,14 +12,14 @@ public IDictionary AdditionalData { get { return BackingStore?.Get>("AdditionalData"); } set { BackingStore?.Set("AdditionalData", value); } } - /// The appScope property + /// App scope. Possible values are: unknown, readCalendar, readContact, readMail, readAllChat, readAllFile, readAndWriteMail, sendMail, unknownFutureValue. public OAuthAppScope? AppScope { get { return BackingStore?.Get("appScope"); } set { BackingStore?.Set("appScope", value); } } /// Stores model information. public IBackingStore BackingStore { get; private set; } - /// The displayLogo property + /// App display logo. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? DisplayLogo { @@ -33,7 +33,7 @@ public string DisplayLogo { set { BackingStore?.Set("displayLogo", value); } } #endif - /// The displayName property + /// App name. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? DisplayName { diff --git a/src/Microsoft.Graph/Generated/Models/Payload.cs b/src/Microsoft.Graph/Generated/Models/Payload.cs index 0839250d537..4cfdb592f7f 100644 --- a/src/Microsoft.Graph/Generated/Models/Payload.cs +++ b/src/Microsoft.Graph/Generated/Models/Payload.cs @@ -6,17 +6,17 @@ using System; namespace Microsoft.Graph.Models { public class Payload : Entity, IParsable { - /// The brand property + /// The branch of a payload. Possible values are: unknown, other, americanExpress, capitalOne, dhl, docuSign, dropbox, facebook, firstAmerican, microsoft, netflix, scotiabank, sendGrid, stewartTitle, tesco, wellsFargo, syrinxCloud, adobe, teams, zoom, unknownFutureValue. public PayloadBrand? Brand { get { return BackingStore?.Get("brand"); } set { BackingStore?.Set("brand", value); } } - /// The complexity property + /// The complexity of a payload. Possible values are: unknown, low, medium, high, unknownFutureValue. public PayloadComplexity? Complexity { get { return BackingStore?.Get("complexity"); } set { BackingStore?.Set("complexity", value); } } - /// The createdBy property + /// Identity of the user who created the attack simulation and training campaign payload. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public EmailIdentity? CreatedBy { @@ -30,12 +30,12 @@ public EmailIdentity CreatedBy { set { BackingStore?.Set("createdBy", value); } } #endif - /// The createdDateTime property + /// Date and time when the attack simulation and training campaign payload. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. public DateTimeOffset? CreatedDateTime { get { return BackingStore?.Get("createdDateTime"); } set { BackingStore?.Set("createdDateTime", value); } } - /// The description property + /// Description of the attack simulation and training campaign payload. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Description { @@ -49,7 +49,7 @@ public string Description { set { BackingStore?.Set("description", value); } } #endif - /// The detail property + /// Additional details about the payload. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public PayloadDetail? Detail { @@ -63,7 +63,7 @@ public PayloadDetail Detail { set { BackingStore?.Set("detail", value); } } #endif - /// The displayName property + /// Display name of the attack simulation and training campaign payload. Supports $filter and $orderby. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? DisplayName { @@ -77,27 +77,27 @@ public string DisplayName { set { BackingStore?.Set("displayName", value); } } #endif - /// The industry property + /// Industry of a payload. Possible values are: unknown, other, banking, businessServices, consumerServices, education, energy, construction, consulting, financialServices, government, hospitality, insurance, legal, courierServices, IT, healthcare, manufacturing, retail, telecom, realEstate, unknownFutureValue. public PayloadIndustry? Industry { get { return BackingStore?.Get("industry"); } set { BackingStore?.Set("industry", value); } } - /// The isAutomated property + /// Indicates whether the attack simulation and training campaign payload was created from an automation flow. Supports $filter and $orderby. public bool? IsAutomated { get { return BackingStore?.Get("isAutomated"); } set { BackingStore?.Set("isAutomated", value); } } - /// The isControversial property + /// Indicates whether the payload is controversial. public bool? IsControversial { get { return BackingStore?.Get("isControversial"); } set { BackingStore?.Set("isControversial", value); } } - /// The isCurrentEvent property + /// Indicates whether the payload is from any recent event. public bool? IsCurrentEvent { get { return BackingStore?.Get("isCurrentEvent"); } set { BackingStore?.Set("isCurrentEvent", value); } } - /// The language property + /// Payload language. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Language { @@ -111,7 +111,7 @@ public string Language { set { BackingStore?.Set("language", value); } } #endif - /// The lastModifiedBy property + /// Identity of the user who most recently modified the attack simulation and training campaign payload. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public EmailIdentity? LastModifiedBy { @@ -125,12 +125,12 @@ public EmailIdentity LastModifiedBy { set { BackingStore?.Set("lastModifiedBy", value); } } #endif - /// The lastModifiedDateTime property + /// Date and time when the attack simulation and training campaign payload was last modified. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. public DateTimeOffset? LastModifiedDateTime { get { return BackingStore?.Get("lastModifiedDateTime"); } set { BackingStore?.Set("lastModifiedDateTime", value); } } - /// The payloadTags property + /// Free text tags for a payload. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? PayloadTags { @@ -144,17 +144,17 @@ public List PayloadTags { set { BackingStore?.Set("payloadTags", value); } } #endif - /// The platform property + /// The payload delivery platform for a simulation. Possible values are: unknown, sms, email, teams, unknownFutureValue. public PayloadDeliveryPlatform? Platform { get { return BackingStore?.Get("platform"); } set { BackingStore?.Set("platform", value); } } - /// The predictedCompromiseRate property + /// Predicted probability for a payload to phish a targeted user. public double? PredictedCompromiseRate { get { return BackingStore?.Get("predictedCompromiseRate"); } set { BackingStore?.Set("predictedCompromiseRate", value); } } - /// The simulationAttackType property + /// Attack type of the attack simulation and training campaign. Supports $filter and $orderby. Possible values are: unknown, social, cloud, endpoint, unknownFutureValue. public Microsoft.Graph.Models.SimulationAttackType? SimulationAttackType { get { return BackingStore?.Get("simulationAttackType"); } set { BackingStore?.Set("simulationAttackType", value); } @@ -164,17 +164,17 @@ public SimulationContentSource? Source { get { return BackingStore?.Get("source"); } set { BackingStore?.Set("source", value); } } - /// The status property + /// Simulation content status. Supports $filter and $orderby. Possible values are: unknown, draft, ready, archive, delete, unknownFutureValue. public SimulationContentStatus? Status { get { return BackingStore?.Get("status"); } set { BackingStore?.Set("status", value); } } - /// The technique property + /// The social engineering technique used in the attack simulation and training campaign. Supports $filter and $orderby. Possible values are: unknown, credentialHarvesting, attachmentMalware, driveByUrl, linkInAttachment, linkToMalwareFile, unknownFutureValue, oAuthConsentGrant. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: oAuthConsentGrant. For more information on the types of social engineering attack techniques, see simulations. public SimulationAttackTechnique? Technique { get { return BackingStore?.Get("technique"); } set { BackingStore?.Set("technique", value); } } - /// The theme property + /// The theme of a payload. Possible values are: unknown, other, accountActivation, accountVerification, billing, cleanUpMail, controversial, documentReceived, expense, fax, financeReport, incomingMessages, invoice, itemReceived, loginAlert, mailReceived, password, payment, payroll, personalizedOffer, quarantine, remoteWork, reviewMessage, securityUpdate, serviceSuspended, signatureRequired, upgradeMailboxStorage, verifyMailbox, voicemail, advertisement, employeeEngagement, unknownFutureValue. public PayloadTheme? Theme { get { return BackingStore?.Get("theme"); } set { BackingStore?.Set("theme", value); } diff --git a/src/Microsoft.Graph/Generated/Models/PayloadCoachmark.cs b/src/Microsoft.Graph/Generated/Models/PayloadCoachmark.cs index 8a8c3c7e2ab..06d3085723e 100644 --- a/src/Microsoft.Graph/Generated/Models/PayloadCoachmark.cs +++ b/src/Microsoft.Graph/Generated/Models/PayloadCoachmark.cs @@ -14,7 +14,7 @@ public IDictionary AdditionalData { } /// Stores model information. public IBackingStore BackingStore { get; private set; } - /// The coachmarkLocation property + /// The coachmark location. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public Microsoft.Graph.Models.CoachmarkLocation? CoachmarkLocation { @@ -28,7 +28,7 @@ public Microsoft.Graph.Models.CoachmarkLocation CoachmarkLocation { set { BackingStore?.Set("coachmarkLocation", value); } } #endif - /// The description property + /// The description about the coachmark. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Description { @@ -42,7 +42,7 @@ public string Description { set { BackingStore?.Set("description", value); } } #endif - /// The indicator property + /// The coachmark indicator. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Indicator { @@ -56,12 +56,12 @@ public string Indicator { set { BackingStore?.Set("indicator", value); } } #endif - /// The isValid property + /// Indicates whether the coachmark is valid or not. public bool? IsValid { get { return BackingStore?.Get("isValid"); } set { BackingStore?.Set("isValid", value); } } - /// The language property + /// The coachmark language. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Language { @@ -89,7 +89,7 @@ public string OdataType { set { BackingStore?.Set("@odata.type", value); } } #endif - /// The order property + /// The coachmark order. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Order { diff --git a/src/Microsoft.Graph/Generated/Models/PayloadDetail.cs b/src/Microsoft.Graph/Generated/Models/PayloadDetail.cs index b54a2a16f7b..516c5e9954c 100644 --- a/src/Microsoft.Graph/Generated/Models/PayloadDetail.cs +++ b/src/Microsoft.Graph/Generated/Models/PayloadDetail.cs @@ -14,7 +14,7 @@ public IDictionary AdditionalData { } /// Stores model information. public IBackingStore BackingStore { get; private set; } - /// The coachmarks property + /// Payload coachmark details. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? Coachmarks { @@ -28,7 +28,7 @@ public List Coachmarks { set { BackingStore?.Set("coachmarks", value); } } #endif - /// The content property + /// Payload content details. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Content { @@ -56,7 +56,7 @@ public string OdataType { set { BackingStore?.Set("@odata.type", value); } } #endif - /// The phishingUrl property + /// The phishing URL used to target a user. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? PhishingUrl { diff --git a/src/Microsoft.Graph/Generated/Models/PositiveReinforcementNotification.cs b/src/Microsoft.Graph/Generated/Models/PositiveReinforcementNotification.cs index cfd9d8f51d0..d3a299abff7 100644 --- a/src/Microsoft.Graph/Generated/Models/PositiveReinforcementNotification.cs +++ b/src/Microsoft.Graph/Generated/Models/PositiveReinforcementNotification.cs @@ -6,7 +6,7 @@ using System; namespace Microsoft.Graph.Models { public class PositiveReinforcementNotification : BaseEndUserNotification, IParsable { - /// The deliveryPreference property + /// Delivery preference. Possible values are: unknown, deliverImmedietly, deliverAfterCampaignEnd, unknownFutureValue. public NotificationDeliveryPreference? DeliveryPreference { get { return BackingStore?.Get("deliveryPreference"); } set { BackingStore?.Set("deliveryPreference", value); } diff --git a/src/Microsoft.Graph/Generated/Models/RemoteDesktopSecurityConfiguration.cs b/src/Microsoft.Graph/Generated/Models/RemoteDesktopSecurityConfiguration.cs index f88c7596819..6f15af1eb92 100644 --- a/src/Microsoft.Graph/Generated/Models/RemoteDesktopSecurityConfiguration.cs +++ b/src/Microsoft.Graph/Generated/Models/RemoteDesktopSecurityConfiguration.cs @@ -6,12 +6,12 @@ using System; namespace Microsoft.Graph.Models { public class RemoteDesktopSecurityConfiguration : Entity, IParsable { - /// The isRemoteDesktopProtocolEnabled property + /// Determines if Microsoft Entra ID RDS authentication protocol for RDP is enabled. public bool? IsRemoteDesktopProtocolEnabled { get { return BackingStore?.Get("isRemoteDesktopProtocolEnabled"); } set { BackingStore?.Set("isRemoteDesktopProtocolEnabled", value); } } - /// The targetDeviceGroups property + /// The collection of target device groups that are associated with the RDS security configuration that will be enabled for SSO when a client connects to the target device over RDP using the new Microsoft Entra ID RDS authentication protocol. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? TargetDeviceGroups { diff --git a/src/Microsoft.Graph/Generated/Models/Security/DetectionSource.cs b/src/Microsoft.Graph/Generated/Models/Security/DetectionSource.cs index 2bcd441bbba..a461299e2db 100644 --- a/src/Microsoft.Graph/Generated/Models/Security/DetectionSource.cs +++ b/src/Microsoft.Graph/Generated/Models/Security/DetectionSource.cs @@ -41,6 +41,28 @@ public enum DetectionSource { UnknownFutureValue, [EnumMember(Value = "microsoftDefenderForCloud")] MicrosoftDefenderForCloud, + [EnumMember(Value = "microsoftDefenderForIoT")] + MicrosoftDefenderForIoT, + [EnumMember(Value = "microsoftDefenderForServers")] + MicrosoftDefenderForServers, + [EnumMember(Value = "microsoftDefenderForStorage")] + MicrosoftDefenderForStorage, + [EnumMember(Value = "microsoftDefenderForDNS")] + MicrosoftDefenderForDNS, + [EnumMember(Value = "microsoftDefenderForDatabases")] + MicrosoftDefenderForDatabases, + [EnumMember(Value = "microsoftDefenderForContainers")] + MicrosoftDefenderForContainers, + [EnumMember(Value = "microsoftDefenderForNetwork")] + MicrosoftDefenderForNetwork, + [EnumMember(Value = "microsoftDefenderForAppService")] + MicrosoftDefenderForAppService, + [EnumMember(Value = "microsoftDefenderForKeyVault")] + MicrosoftDefenderForKeyVault, + [EnumMember(Value = "microsoftDefenderForResourceManager")] + MicrosoftDefenderForResourceManager, + [EnumMember(Value = "microsoftDefenderForApiManagement")] + MicrosoftDefenderForApiManagement, [EnumMember(Value = "nrtAlerts")] NrtAlerts, [EnumMember(Value = "scheduledAlerts")] diff --git a/src/Microsoft.Graph/Generated/Models/Security/Host.cs b/src/Microsoft.Graph/Generated/Models/Security/Host.cs index 561fef7e6b3..2370557ff5c 100644 --- a/src/Microsoft.Graph/Generated/Models/Security/Host.cs +++ b/src/Microsoft.Graph/Generated/Models/Security/Host.cs @@ -113,6 +113,20 @@ public List PassiveDnsReverse { get { return BackingStore?.Get>("passiveDnsReverse"); } set { BackingStore?.Set("passiveDnsReverse", value); } } +#endif + /// The hostPorts associated with a host. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Ports { + get { return BackingStore?.Get?>("ports"); } + set { BackingStore?.Set("ports", value); } + } +#nullable restore +#else + public List Ports { + get { return BackingStore?.Get>("ports"); } + set { BackingStore?.Set("ports", value); } + } #endif /// Represents a calculated reputation of this host. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -217,6 +231,7 @@ public override IDictionary> GetFieldDeserializers() {"parentHostPairs", n => { ParentHostPairs = n.GetCollectionOfObjectValues(HostPair.CreateFromDiscriminatorValue)?.ToList(); } }, {"passiveDns", n => { PassiveDns = n.GetCollectionOfObjectValues(PassiveDnsRecord.CreateFromDiscriminatorValue)?.ToList(); } }, {"passiveDnsReverse", n => { PassiveDnsReverse = n.GetCollectionOfObjectValues(PassiveDnsRecord.CreateFromDiscriminatorValue)?.ToList(); } }, + {"ports", n => { Ports = n.GetCollectionOfObjectValues(HostPort.CreateFromDiscriminatorValue)?.ToList(); } }, {"reputation", n => { Reputation = n.GetObjectValue(HostReputation.CreateFromDiscriminatorValue); } }, {"sslCertificates", n => { SslCertificates = n.GetCollectionOfObjectValues(HostSslCertificate.CreateFromDiscriminatorValue)?.ToList(); } }, {"subdomains", n => { Subdomains = n.GetCollectionOfObjectValues(Subdomain.CreateFromDiscriminatorValue)?.ToList(); } }, @@ -240,6 +255,7 @@ public override void Serialize(ISerializationWriter writer) { writer.WriteCollectionOfObjectValues("parentHostPairs", ParentHostPairs); writer.WriteCollectionOfObjectValues("passiveDns", PassiveDns); writer.WriteCollectionOfObjectValues("passiveDnsReverse", PassiveDnsReverse); + writer.WriteCollectionOfObjectValues("ports", Ports); writer.WriteObjectValue("reputation", Reputation); writer.WriteCollectionOfObjectValues("sslCertificates", SslCertificates); writer.WriteCollectionOfObjectValues("subdomains", Subdomains); diff --git a/src/Microsoft.Graph/Generated/Models/Security/HostPort.cs b/src/Microsoft.Graph/Generated/Models/Security/HostPort.cs new file mode 100644 index 00000000000..053f872572f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/HostPort.cs @@ -0,0 +1,146 @@ +// +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System; +namespace Microsoft.Graph.Models.Security { + public class HostPort : Entity, IParsable { + /// The hostPortBanners retrieved from scanning the port. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Banners { + get { return BackingStore?.Get?>("banners"); } + set { BackingStore?.Set("banners", value); } + } +#nullable restore +#else + public List Banners { + get { return BackingStore?.Get>("banners"); } + set { BackingStore?.Set("banners", value); } + } +#endif + /// The first date and time when Microsoft Defender Threat Intelligence observed the hostPort. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014, is 2014-01-01T00:00:00Z. + public DateTimeOffset? FirstSeenDateTime { + get { return BackingStore?.Get("firstSeenDateTime"); } + set { BackingStore?.Set("firstSeenDateTime", value); } + } + /// The host property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public Microsoft.Graph.Models.Security.Host? Host { + get { return BackingStore?.Get("host"); } + set { BackingStore?.Set("host", value); } + } +#nullable restore +#else + public Microsoft.Graph.Models.Security.Host Host { + get { return BackingStore?.Get("host"); } + set { BackingStore?.Set("host", value); } + } +#endif + /// The last date and time when Microsoft Defender Threat Intelligence scanned the hostPort. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014, is 2014-01-01T00:00:00Z. + public DateTimeOffset? LastScanDateTime { + get { return BackingStore?.Get("lastScanDateTime"); } + set { BackingStore?.Set("lastScanDateTime", value); } + } + /// The last date and time when Microsoft Defender Threat Intelligence observed the hostPort. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014, is 2014-01-01T00:00:00Z. + public DateTimeOffset? LastSeenDateTime { + get { return BackingStore?.Get("lastSeenDateTime"); } + set { BackingStore?.Set("lastSeenDateTime", value); } + } + /// The most recent sslCertificate used to communicate on the port. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public SslCertificate? MostRecentSslCertificate { + get { return BackingStore?.Get("mostRecentSslCertificate"); } + set { BackingStore?.Set("mostRecentSslCertificate", value); } + } +#nullable restore +#else + public SslCertificate MostRecentSslCertificate { + get { return BackingStore?.Get("mostRecentSslCertificate"); } + set { BackingStore?.Set("mostRecentSslCertificate", value); } + } +#endif + /// The numerical identifier of the port which is standardized across the internet. + public int? Port { + get { return BackingStore?.Get("port"); } + set { BackingStore?.Set("port", value); } + } + /// The general protocol used to scan the port. The possible values are: tcp, udp, unknownFutureValue. + public HostPortProtocol? Protocol { + get { return BackingStore?.Get("protocol"); } + set { BackingStore?.Set("protocol", value); } + } + /// The hostPortComponents retrieved from scanning the port. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Services { + get { return BackingStore?.Get?>("services"); } + set { BackingStore?.Set("services", value); } + } +#nullable restore +#else + public List Services { + get { return BackingStore?.Get>("services"); } + set { BackingStore?.Set("services", value); } + } +#endif + /// The status of the port. The possible values are: open, filtered, closed, unknownFutureValue. + public HostPortStatus? Status { + get { return BackingStore?.Get("status"); } + set { BackingStore?.Set("status", value); } + } + /// The total amount of times that Microsoft Defender Threat Intelligence has observed the hostPort in all its scans. + public int? TimesObserved { + get { return BackingStore?.Get("timesObserved"); } + set { BackingStore?.Set("timesObserved", value); } + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// The parse node to use to read the discriminator value and create the object + public static new HostPort CreateFromDiscriminatorValue(IParseNode parseNode) { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new HostPort(); + } + /// + /// The deserialization information for the current model + /// + public override IDictionary> GetFieldDeserializers() { + return new Dictionary>(base.GetFieldDeserializers()) { + {"banners", n => { Banners = n.GetCollectionOfObjectValues(HostPortBanner.CreateFromDiscriminatorValue)?.ToList(); } }, + {"firstSeenDateTime", n => { FirstSeenDateTime = n.GetDateTimeOffsetValue(); } }, + {"host", n => { Host = n.GetObjectValue(Microsoft.Graph.Models.Security.Host.CreateFromDiscriminatorValue); } }, + {"lastScanDateTime", n => { LastScanDateTime = n.GetDateTimeOffsetValue(); } }, + {"lastSeenDateTime", n => { LastSeenDateTime = n.GetDateTimeOffsetValue(); } }, + {"mostRecentSslCertificate", n => { MostRecentSslCertificate = n.GetObjectValue(SslCertificate.CreateFromDiscriminatorValue); } }, + {"port", n => { Port = n.GetIntValue(); } }, + {"protocol", n => { Protocol = n.GetEnumValue(); } }, + {"services", n => { Services = n.GetCollectionOfObjectValues(HostPortComponent.CreateFromDiscriminatorValue)?.ToList(); } }, + {"status", n => { Status = n.GetEnumValue(); } }, + {"timesObserved", n => { TimesObserved = n.GetIntValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("banners", Banners); + writer.WriteDateTimeOffsetValue("firstSeenDateTime", FirstSeenDateTime); + writer.WriteObjectValue("host", Host); + writer.WriteDateTimeOffsetValue("lastScanDateTime", LastScanDateTime); + writer.WriteDateTimeOffsetValue("lastSeenDateTime", LastSeenDateTime); + writer.WriteObjectValue("mostRecentSslCertificate", MostRecentSslCertificate); + writer.WriteIntValue("port", Port); + writer.WriteEnumValue("protocol", Protocol); + writer.WriteCollectionOfObjectValues("services", Services); + writer.WriteEnumValue("status", Status); + writer.WriteIntValue("timesObserved", TimesObserved); + } + } +} diff --git a/src/Microsoft.Graph/Generated/Models/Security/HostPortBanner.cs b/src/Microsoft.Graph/Generated/Models/Security/HostPortBanner.cs new file mode 100644 index 00000000000..db8882b5bcf --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/HostPortBanner.cs @@ -0,0 +1,117 @@ +// +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System; +namespace Microsoft.Graph.Models.Security { + public class HostPortBanner : IAdditionalDataHolder, IBackedModel, IParsable { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData { + get { return BackingStore?.Get>("AdditionalData"); } + set { BackingStore?.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The text response received from a web component when scanning a hostPort. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Banner { + get { return BackingStore?.Get("banner"); } + set { BackingStore?.Set("banner", value); } + } +#nullable restore +#else + public string Banner { + get { return BackingStore?.Get("banner"); } + set { BackingStore?.Set("banner", value); } + } +#endif + /// The first date and time when Microsoft Defender Threat Intelligence observed the hostPortBanner. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014, is 2014-01-01T00:00:00Z. + public DateTimeOffset? FirstSeenDateTime { + get { return BackingStore?.Get("firstSeenDateTime"); } + set { BackingStore?.Set("firstSeenDateTime", value); } + } + /// The last date and time when Microsoft Defender Threat Intelligence observed the hostPortBanner. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014, is 2014-01-01T00:00:00Z. + public DateTimeOffset? LastSeenDateTime { + get { return BackingStore?.Get("lastSeenDateTime"); } + set { BackingStore?.Set("lastSeenDateTime", value); } + } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// The specific protocol used to scan the hostPort. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ScanProtocol { + get { return BackingStore?.Get("scanProtocol"); } + set { BackingStore?.Set("scanProtocol", value); } + } +#nullable restore +#else + public string ScanProtocol { + get { return BackingStore?.Get("scanProtocol"); } + set { BackingStore?.Set("scanProtocol", value); } + } +#endif + /// The total amount of times that Microsoft Defender Threat Intelligence has observed the hostPortBanner in all its scans. + public int? TimesObserved { + get { return BackingStore?.Get("timesObserved"); } + set { BackingStore?.Set("timesObserved", value); } + } + /// + /// Instantiates a new hostPortBanner and sets the default values. + /// + public HostPortBanner() { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// The parse node to use to read the discriminator value and create the object + public static HostPortBanner CreateFromDiscriminatorValue(IParseNode parseNode) { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new HostPortBanner(); + } + /// + /// The deserialization information for the current model + /// + public virtual IDictionary> GetFieldDeserializers() { + return new Dictionary> { + {"banner", n => { Banner = n.GetStringValue(); } }, + {"firstSeenDateTime", n => { FirstSeenDateTime = n.GetDateTimeOffsetValue(); } }, + {"lastSeenDateTime", n => { LastSeenDateTime = n.GetDateTimeOffsetValue(); } }, + {"@odata.type", n => { OdataType = n.GetStringValue(); } }, + {"scanProtocol", n => { ScanProtocol = n.GetStringValue(); } }, + {"timesObserved", n => { TimesObserved = n.GetIntValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("banner", Banner); + writer.WriteDateTimeOffsetValue("firstSeenDateTime", FirstSeenDateTime); + writer.WriteDateTimeOffsetValue("lastSeenDateTime", LastSeenDateTime); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteStringValue("scanProtocol", ScanProtocol); + writer.WriteIntValue("timesObserved", TimesObserved); + writer.WriteAdditionalData(AdditionalData); + } + } +} diff --git a/src/Microsoft.Graph/Generated/Models/Security/HostPortCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/Security/HostPortCollectionResponse.cs new file mode 100644 index 00000000000..8543d2d3b32 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/HostPortCollectionResponse.cs @@ -0,0 +1,49 @@ +// +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System; +namespace Microsoft.Graph.Models.Security { + public class HostPortCollectionResponse : BaseCollectionPaginationCountResponse, IParsable { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// The parse node to use to read the discriminator value and create the object + public static new HostPortCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new HostPortCollectionResponse(); + } + /// + /// The deserialization information for the current model + /// + public override IDictionary> GetFieldDeserializers() { + return new Dictionary>(base.GetFieldDeserializers()) { + {"value", n => { Value = n.GetCollectionOfObjectValues(HostPort.CreateFromDiscriminatorValue)?.ToList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} diff --git a/src/Microsoft.Graph/Generated/Models/Security/HostPortComponent.cs b/src/Microsoft.Graph/Generated/Models/Security/HostPortComponent.cs new file mode 100644 index 00000000000..8629e806be1 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/HostPortComponent.cs @@ -0,0 +1,101 @@ +// +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System; +namespace Microsoft.Graph.Models.Security { + public class HostPortComponent : IAdditionalDataHolder, IBackedModel, IParsable { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData { + get { return BackingStore?.Get>("AdditionalData"); } + set { BackingStore?.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The component property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public HostComponent? Component { + get { return BackingStore?.Get("component"); } + set { BackingStore?.Set("component", value); } + } +#nullable restore +#else + public HostComponent Component { + get { return BackingStore?.Get("component"); } + set { BackingStore?.Set("component", value); } + } +#endif + /// The first date and time when Microsoft Defender Threat Intelligence observed the hostPortComponent. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014, is 2014-01-01T00:00:00Z. + public DateTimeOffset? FirstSeenDateTime { + get { return BackingStore?.Get("firstSeenDateTime"); } + set { BackingStore?.Set("firstSeenDateTime", value); } + } + /// Indicates whether this hostPortComponent is recent, which is determined by whether the hostPortComponent was observed either at the same time or after the latest hostPortBanner in the scan history, or within two days of the latest scan of the hostPort when there are no hostPortBanners in the scan history. + public bool? IsRecent { + get { return BackingStore?.Get("isRecent"); } + set { BackingStore?.Set("isRecent", value); } + } + /// The last date and time when Microsoft Defender Threat Intelligence observed the hostPortComponent. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014, is 2014-01-01T00:00:00Z. + public DateTimeOffset? LastSeenDateTime { + get { return BackingStore?.Get("lastSeenDateTime"); } + set { BackingStore?.Set("lastSeenDateTime", value); } + } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// + /// Instantiates a new hostPortComponent and sets the default values. + /// + public HostPortComponent() { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// The parse node to use to read the discriminator value and create the object + public static HostPortComponent CreateFromDiscriminatorValue(IParseNode parseNode) { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new HostPortComponent(); + } + /// + /// The deserialization information for the current model + /// + public virtual IDictionary> GetFieldDeserializers() { + return new Dictionary> { + {"component", n => { Component = n.GetObjectValue(HostComponent.CreateFromDiscriminatorValue); } }, + {"firstSeenDateTime", n => { FirstSeenDateTime = n.GetDateTimeOffsetValue(); } }, + {"isRecent", n => { IsRecent = n.GetBoolValue(); } }, + {"lastSeenDateTime", n => { LastSeenDateTime = n.GetDateTimeOffsetValue(); } }, + {"@odata.type", n => { OdataType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteObjectValue("component", Component); + writer.WriteDateTimeOffsetValue("firstSeenDateTime", FirstSeenDateTime); + writer.WriteBoolValue("isRecent", IsRecent); + writer.WriteDateTimeOffsetValue("lastSeenDateTime", LastSeenDateTime); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} diff --git a/src/Microsoft.Graph/Generated/Models/Security/HostPortProtocol.cs b/src/Microsoft.Graph/Generated/Models/Security/HostPortProtocol.cs new file mode 100644 index 00000000000..89fe6803bc5 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/HostPortProtocol.cs @@ -0,0 +1,13 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models.Security { + public enum HostPortProtocol { + [EnumMember(Value = "tcp")] + Tcp, + [EnumMember(Value = "udp")] + Udp, + [EnumMember(Value = "unknownFutureValue")] + UnknownFutureValue, + } +} diff --git a/src/Microsoft.Graph/Generated/Models/Security/HostPortStatus.cs b/src/Microsoft.Graph/Generated/Models/Security/HostPortStatus.cs new file mode 100644 index 00000000000..acaf09a59a7 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/HostPortStatus.cs @@ -0,0 +1,15 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models.Security { + public enum HostPortStatus { + [EnumMember(Value = "open")] + Open, + [EnumMember(Value = "filtered")] + Filtered, + [EnumMember(Value = "closed")] + Closed, + [EnumMember(Value = "unknownFutureValue")] + UnknownFutureValue, + } +} diff --git a/src/Microsoft.Graph/Generated/Models/Security/ThreatIntelligence.cs b/src/Microsoft.Graph/Generated/Models/Security/ThreatIntelligence.cs index 2adb1660f0c..217259b4cd5 100644 --- a/src/Microsoft.Graph/Generated/Models/Security/ThreatIntelligence.cs +++ b/src/Microsoft.Graph/Generated/Models/Security/ThreatIntelligence.cs @@ -75,6 +75,20 @@ public List HostPairs { get { return BackingStore?.Get>("hostPairs"); } set { BackingStore?.Set("hostPairs", value); } } +#endif + /// Retrieve details about hostPort objects.Note: List retrieval is not yet supported. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? HostPorts { + get { return BackingStore?.Get?>("hostPorts"); } + set { BackingStore?.Set("hostPorts", value); } + } +#nullable restore +#else + public List HostPorts { + get { return BackingStore?.Get>("hostPorts"); } + set { BackingStore?.Set("hostPorts", value); } + } #endif /// Refers to host objects that Microsoft Threat Intelligence has observed.Note: List retrieval is not yet supported. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -248,6 +262,7 @@ public override IDictionary> GetFieldDeserializers() {"hostComponents", n => { HostComponents = n.GetCollectionOfObjectValues(HostComponent.CreateFromDiscriminatorValue)?.ToList(); } }, {"hostCookies", n => { HostCookies = n.GetCollectionOfObjectValues(HostCookie.CreateFromDiscriminatorValue)?.ToList(); } }, {"hostPairs", n => { HostPairs = n.GetCollectionOfObjectValues(HostPair.CreateFromDiscriminatorValue)?.ToList(); } }, + {"hostPorts", n => { HostPorts = n.GetCollectionOfObjectValues(HostPort.CreateFromDiscriminatorValue)?.ToList(); } }, {"hostSslCertificates", n => { HostSslCertificates = n.GetCollectionOfObjectValues(HostSslCertificate.CreateFromDiscriminatorValue)?.ToList(); } }, {"hostTrackers", n => { HostTrackers = n.GetCollectionOfObjectValues(HostTracker.CreateFromDiscriminatorValue)?.ToList(); } }, {"hosts", n => { Hosts = n.GetCollectionOfObjectValues(Host.CreateFromDiscriminatorValue)?.ToList(); } }, @@ -273,6 +288,7 @@ public override void Serialize(ISerializationWriter writer) { writer.WriteCollectionOfObjectValues("hostComponents", HostComponents); writer.WriteCollectionOfObjectValues("hostCookies", HostCookies); writer.WriteCollectionOfObjectValues("hostPairs", HostPairs); + writer.WriteCollectionOfObjectValues("hostPorts", HostPorts); writer.WriteCollectionOfObjectValues("hosts", Hosts); writer.WriteCollectionOfObjectValues("hostSslCertificates", HostSslCertificates); writer.WriteCollectionOfObjectValues("hostTrackers", HostTrackers); diff --git a/src/Microsoft.Graph/Generated/Models/ServicePrincipal.cs b/src/Microsoft.Graph/Generated/Models/ServicePrincipal.cs index 095e2f59954..6b5e47b56e3 100644 --- a/src/Microsoft.Graph/Generated/Models/ServicePrincipal.cs +++ b/src/Microsoft.Graph/Generated/Models/ServicePrincipal.cs @@ -511,7 +511,7 @@ public string PreferredTokenSigningKeyThumbprint { set { BackingStore?.Set("preferredTokenSigningKeyThumbprint", value); } } #endif - /// The remoteDesktopSecurityConfiguration property + /// The remoteDesktopSecurityConfiguration object applied to this service principal. Supports $filter (eq) for isRemoteDesktopProtocolEnabled property. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public Microsoft.Graph.Models.RemoteDesktopSecurityConfiguration? RemoteDesktopSecurityConfiguration { diff --git a/src/Microsoft.Graph/Generated/Models/SignIn.cs b/src/Microsoft.Graph/Generated/Models/SignIn.cs index 1175a84328e..32f4159dd81 100644 --- a/src/Microsoft.Graph/Generated/Models/SignIn.cs +++ b/src/Microsoft.Graph/Generated/Models/SignIn.cs @@ -34,7 +34,7 @@ public string AppId { set { BackingStore?.Set("appId", value); } } #endif - /// Provides a list of conditional access policies that are triggered by the corresponding sign-in activity. + /// Provides a list of conditional access policies that are triggered by the corresponding sign-in activity. Apps need additional Conditional Access-related privileges to read the details of this property. For more information, see Viewing applied conditional access (CA) policies in sign-ins. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? AppliedConditionalAccessPolicies { diff --git a/src/Microsoft.Graph/Generated/Models/Simulation.cs b/src/Microsoft.Graph/Generated/Models/Simulation.cs index 5e759ea31eb..c45a8ff9ddf 100644 --- a/src/Microsoft.Graph/Generated/Models/Simulation.cs +++ b/src/Microsoft.Graph/Generated/Models/Simulation.cs @@ -6,7 +6,7 @@ using System; namespace Microsoft.Graph.Models { public class Simulation : Entity, IParsable { - /// The social engineering technique used in the attack simulation and training campaign. Supports $filter and $orderby. Possible values are: unknown, credentialHarvesting, attachmentMalware, driveByUrl, linkInAttachment, linkToMalwareFile, unknownFutureValue. For more information on the types of social engineering attack techniques, see simulations. + /// The social engineering technique used in the attack simulation and training campaign. Supports $filter and $orderby. Possible values are: unknown, credentialHarvesting, attachmentMalware, driveByUrl, linkInAttachment, linkToMalwareFile, unknownFutureValue, oAuthConsentGrant. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: oAuthConsentGrant. For more information on the types of social engineering attack techniques, see simulations. public SimulationAttackTechnique? AttackTechnique { get { return BackingStore?.Get("attackTechnique"); } set { BackingStore?.Set("attackTechnique", value); } @@ -82,12 +82,12 @@ public string DisplayName { set { BackingStore?.Set("displayName", value); } } #endif - /// The durationInDays property + /// Simulation duration in days. public int? DurationInDays { get { return BackingStore?.Get("durationInDays"); } set { BackingStore?.Set("durationInDays", value); } } - /// The endUserNotificationSetting property + /// Details about the end user notification setting. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public Microsoft.Graph.Models.EndUserNotificationSetting? EndUserNotificationSetting { @@ -101,7 +101,7 @@ public Microsoft.Graph.Models.EndUserNotificationSetting EndUserNotificationSett set { BackingStore?.Set("endUserNotificationSetting", value); } } #endif - /// The excludedAccountTarget property + /// Users excluded from the simulation. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public AccountTargetContent? ExcludedAccountTarget { @@ -115,7 +115,7 @@ public AccountTargetContent ExcludedAccountTarget { set { BackingStore?.Set("excludedAccountTarget", value); } } #endif - /// The includedAccountTarget property + /// Users targeted in the simulation. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public AccountTargetContent? IncludedAccountTarget { @@ -134,7 +134,7 @@ public bool? IsAutomated { get { return BackingStore?.Get("isAutomated"); } set { BackingStore?.Set("isAutomated", value); } } - /// The landingPage property + /// The landing page associated with a simulation during its creation. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public Microsoft.Graph.Models.LandingPage? LandingPage { @@ -172,7 +172,7 @@ public DateTimeOffset? LaunchDateTime { get { return BackingStore?.Get("launchDateTime"); } set { BackingStore?.Set("launchDateTime", value); } } - /// The loginPage property + /// The login page associated with a simulation during its creation. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public Microsoft.Graph.Models.LoginPage? LoginPage { @@ -186,7 +186,7 @@ public Microsoft.Graph.Models.LoginPage LoginPage { set { BackingStore?.Set("loginPage", value); } } #endif - /// The oAuthConsentAppDetail property + /// OAuth app details for the OAuth technique. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public Microsoft.Graph.Models.OAuthConsentAppDetail? OAuthConsentAppDetail { @@ -200,7 +200,7 @@ public Microsoft.Graph.Models.OAuthConsentAppDetail OAuthConsentAppDetail { set { BackingStore?.Set("oAuthConsentAppDetail", value); } } #endif - /// The payload property + /// The payload associated with a simulation during its creation. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public Microsoft.Graph.Models.Payload? Payload { @@ -238,7 +238,7 @@ public SimulationStatus? Status { get { return BackingStore?.Get("status"); } set { BackingStore?.Set("status", value); } } - /// The trainingSetting property + /// Details about the training settings for a simulation. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public Microsoft.Graph.Models.TrainingSetting? TrainingSetting { diff --git a/src/Microsoft.Graph/Generated/Models/SimulationNotification.cs b/src/Microsoft.Graph/Generated/Models/SimulationNotification.cs index 6c13045cb5f..c703773335d 100644 --- a/src/Microsoft.Graph/Generated/Models/SimulationNotification.cs +++ b/src/Microsoft.Graph/Generated/Models/SimulationNotification.cs @@ -6,7 +6,7 @@ using System; namespace Microsoft.Graph.Models { public class SimulationNotification : BaseEndUserNotification, IParsable { - /// The targettedUserType property + /// Target user type. Possible values are: unknown, clicked, compromised, allUsers, unknownFutureValue. public Microsoft.Graph.Models.TargettedUserType? TargettedUserType { get { return BackingStore?.Get("targettedUserType"); } set { BackingStore?.Set("targettedUserType", value); } diff --git a/src/Microsoft.Graph/Generated/Models/TargetDeviceGroup.cs b/src/Microsoft.Graph/Generated/Models/TargetDeviceGroup.cs index d41b1f60e0c..1d1a5f58f03 100644 --- a/src/Microsoft.Graph/Generated/Models/TargetDeviceGroup.cs +++ b/src/Microsoft.Graph/Generated/Models/TargetDeviceGroup.cs @@ -6,7 +6,7 @@ using System; namespace Microsoft.Graph.Models { public class TargetDeviceGroup : Entity, IParsable { - /// The displayName property + /// Display name for the target device group. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? DisplayName { diff --git a/src/Microsoft.Graph/Generated/Models/Training.cs b/src/Microsoft.Graph/Generated/Models/Training.cs index 85e43841ea0..bddd0ee5ea1 100644 --- a/src/Microsoft.Graph/Generated/Models/Training.cs +++ b/src/Microsoft.Graph/Generated/Models/Training.cs @@ -6,12 +6,12 @@ using System; namespace Microsoft.Graph.Models { public class Training : Entity, IParsable { - /// The availabilityStatus property + /// Training availability status. Possible values are: unknown, notAvailable, available, archive, delete, unknownFutureValue. public TrainingAvailabilityStatus? AvailabilityStatus { get { return BackingStore?.Get("availabilityStatus"); } set { BackingStore?.Set("availabilityStatus", value); } } - /// The createdBy property + /// Identity of the user who created the training. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public EmailIdentity? CreatedBy { @@ -25,12 +25,12 @@ public EmailIdentity CreatedBy { set { BackingStore?.Set("createdBy", value); } } #endif - /// The createdDateTime property + /// Date and time when the training was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. public DateTimeOffset? CreatedDateTime { get { return BackingStore?.Get("createdDateTime"); } set { BackingStore?.Set("createdDateTime", value); } } - /// The description property + /// The description for the training. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Description { @@ -44,7 +44,7 @@ public string Description { set { BackingStore?.Set("description", value); } } #endif - /// The displayName property + /// The display name for the training. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? DisplayName { @@ -58,17 +58,17 @@ public string DisplayName { set { BackingStore?.Set("displayName", value); } } #endif - /// The durationInMinutes property + /// Training duration. public int? DurationInMinutes { get { return BackingStore?.Get("durationInMinutes"); } set { BackingStore?.Set("durationInMinutes", value); } } - /// The hasEvaluation property + /// Indicates whether the training has any evaluation. public bool? HasEvaluation { get { return BackingStore?.Get("hasEvaluation"); } set { BackingStore?.Set("hasEvaluation", value); } } - /// The languageDetails property + /// Language specific details on a training. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? LanguageDetails { @@ -82,7 +82,7 @@ public List LanguageDetails { set { BackingStore?.Set("languageDetails", value); } } #endif - /// The lastModifiedBy property + /// Identity of the user who last modified the training. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public EmailIdentity? LastModifiedBy { @@ -96,17 +96,17 @@ public EmailIdentity LastModifiedBy { set { BackingStore?.Set("lastModifiedBy", value); } } #endif - /// The lastModifiedDateTime property + /// Date and time when the training was last modified. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. public DateTimeOffset? LastModifiedDateTime { get { return BackingStore?.Get("lastModifiedDateTime"); } set { BackingStore?.Set("lastModifiedDateTime", value); } } - /// The source property + /// Training content source. Possible values are: unknown, global, tenant, unknownFutureValue. public SimulationContentSource? Source { get { return BackingStore?.Get("source"); } set { BackingStore?.Set("source", value); } } - /// The supportedLocales property + /// Supported locales for content for the associated training. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? SupportedLocales { @@ -120,7 +120,7 @@ public List SupportedLocales { set { BackingStore?.Set("supportedLocales", value); } } #endif - /// The tags property + /// Training tags. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? Tags { @@ -134,7 +134,7 @@ public List Tags { set { BackingStore?.Set("tags", value); } } #endif - /// The type property + /// The type of training. Possible values are: unknown, phishing, unknownFutureValue. public TrainingType? Type { get { return BackingStore?.Get("type"); } set { BackingStore?.Set("type", value); } diff --git a/src/Microsoft.Graph/Generated/Models/TrainingLanguageDetail.cs b/src/Microsoft.Graph/Generated/Models/TrainingLanguageDetail.cs index ee015a64dca..f9f818f885b 100644 --- a/src/Microsoft.Graph/Generated/Models/TrainingLanguageDetail.cs +++ b/src/Microsoft.Graph/Generated/Models/TrainingLanguageDetail.cs @@ -6,7 +6,7 @@ using System; namespace Microsoft.Graph.Models { public class TrainingLanguageDetail : Entity, IParsable { - /// The content property + /// Language specific content for the training. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Content { @@ -20,7 +20,7 @@ public string Content { set { BackingStore?.Set("content", value); } } #endif - /// The createdBy property + /// Identity of the user who created the language details. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public EmailIdentity? CreatedBy { @@ -34,12 +34,12 @@ public EmailIdentity CreatedBy { set { BackingStore?.Set("createdBy", value); } } #endif - /// The createdDateTime property + /// Date and time when the language details were created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. public DateTimeOffset? CreatedDateTime { get { return BackingStore?.Get("createdDateTime"); } set { BackingStore?.Set("createdDateTime", value); } } - /// The description property + /// Description as defined by the user. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Description { @@ -53,7 +53,7 @@ public string Description { set { BackingStore?.Set("description", value); } } #endif - /// The displayName property + /// Display name as defined by the user. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? DisplayName { @@ -67,12 +67,12 @@ public string DisplayName { set { BackingStore?.Set("displayName", value); } } #endif - /// The isDefaultLangauge property + /// Indicates whether the training has a default language. public bool? IsDefaultLangauge { get { return BackingStore?.Get("isDefaultLangauge"); } set { BackingStore?.Set("isDefaultLangauge", value); } } - /// The lastModifiedBy property + /// Identity of the user who last modified the details. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public EmailIdentity? LastModifiedBy { @@ -86,12 +86,12 @@ public EmailIdentity LastModifiedBy { set { BackingStore?.Set("lastModifiedBy", value); } } #endif - /// The lastModifiedDateTime property + /// Date and time when the trainingLanguageDetail was last modified. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. public DateTimeOffset? LastModifiedDateTime { get { return BackingStore?.Get("lastModifiedDateTime"); } set { BackingStore?.Set("lastModifiedDateTime", value); } } - /// The locale property + /// Content locale for the training detail. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Locale { diff --git a/src/Microsoft.Graph/Generated/Models/TrainingNotificationSetting.cs b/src/Microsoft.Graph/Generated/Models/TrainingNotificationSetting.cs index 71c3c2240c7..c92d35e2c09 100644 --- a/src/Microsoft.Graph/Generated/Models/TrainingNotificationSetting.cs +++ b/src/Microsoft.Graph/Generated/Models/TrainingNotificationSetting.cs @@ -6,7 +6,7 @@ using System; namespace Microsoft.Graph.Models { public class TrainingNotificationSetting : EndUserNotificationSetting, IParsable { - /// The trainingAssignment property + /// Training assignment details. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public BaseEndUserNotification? TrainingAssignment { @@ -20,7 +20,7 @@ public BaseEndUserNotification TrainingAssignment { set { BackingStore?.Set("trainingAssignment", value); } } #endif - /// The trainingReminder property + /// Training reminder details. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public TrainingReminderNotification? TrainingReminder { diff --git a/src/Microsoft.Graph/Generated/Models/TrainingReminderNotification.cs b/src/Microsoft.Graph/Generated/Models/TrainingReminderNotification.cs index 976c7cf17f4..c6fabd67c71 100644 --- a/src/Microsoft.Graph/Generated/Models/TrainingReminderNotification.cs +++ b/src/Microsoft.Graph/Generated/Models/TrainingReminderNotification.cs @@ -6,7 +6,7 @@ using System; namespace Microsoft.Graph.Models { public class TrainingReminderNotification : BaseEndUserNotification, IParsable { - /// The deliveryFrequency property + /// Configurable frequency for the reminder email introduced during simulation creation. Possible values are: unknown, weekly, biWeekly, unknownFutureValue. public NotificationDeliveryFrequency? DeliveryFrequency { get { return BackingStore?.Get("deliveryFrequency"); } set { BackingStore?.Set("deliveryFrequency", value); } diff --git a/src/Microsoft.Graph/Generated/Models/TrainingSetting.cs b/src/Microsoft.Graph/Generated/Models/TrainingSetting.cs index 121f7968082..95310fbb8bc 100644 --- a/src/Microsoft.Graph/Generated/Models/TrainingSetting.cs +++ b/src/Microsoft.Graph/Generated/Models/TrainingSetting.cs @@ -28,7 +28,7 @@ public string OdataType { set { BackingStore?.Set("@odata.type", value); } } #endif - /// The settingType property + /// Type of setting. Possible values are: microsoftCustom, microsoftManaged, noTraining, custom, unknownFutureValue. public TrainingSettingType? SettingType { get { return BackingStore?.Get("settingType"); } set { BackingStore?.Set("settingType", value); } diff --git a/src/Microsoft.Graph/Generated/Organization/Item/Branding/BackgroundImage/BackgroundImageRequestBuilder.cs b/src/Microsoft.Graph/Generated/Organization/Item/Branding/BackgroundImage/BackgroundImageRequestBuilder.cs index 31ead7c3e85..a7b54c59c1e 100644 --- a/src/Microsoft.Graph/Generated/Organization/Item/Branding/BackgroundImage/BackgroundImageRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Organization/Item/Branding/BackgroundImage/BackgroundImageRequestBuilder.cs @@ -55,13 +55,14 @@ public async Task GetAsync(ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PutAsync(Stream body, Action? requestConfiguration = default, CancellationToken cancellationToken = default) { + public async Task PutAsync(Stream body, string contentType, Action? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PutAsync(Stream body, Action requestConfiguration = default, CancellationToken cancellationToken = default) { + public async Task PutAsync(Stream body, string contentType, Action requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPutRequestInformation(body, requestConfiguration); + if(string.IsNullOrEmpty(contentType)) throw new ArgumentNullException(nameof(contentType)); + var requestInfo = ToPutRequestInformation(body, contentType, requestConfiguration); var errorMapping = new Dictionary> { {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, @@ -90,7 +91,7 @@ public RequestInformation ToGetRequestInformation(Action @@ -100,12 +101,13 @@ public RequestInformation ToGetRequestInformation(ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public RequestInformation ToPutRequestInformation(Stream body, Action? requestConfiguration = default) { + public RequestInformation ToPutRequestInformation(Stream body, string contentType, Action? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPutRequestInformation(Stream body, Action requestConfiguration = default) { + public RequestInformation ToPutRequestInformation(Stream body, string contentType, Action requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); + if(string.IsNullOrEmpty(contentType)) throw new ArgumentNullException(nameof(contentType)); var requestInfo = new RequestInformation { HttpMethod = Method.PUT, UrlTemplate = UrlTemplate, @@ -118,7 +120,7 @@ public RequestInformation ToPutRequestInformation(Stream body, Action diff --git a/src/Microsoft.Graph/Generated/Organization/Item/Branding/BannerLogo/BannerLogoRequestBuilder.cs b/src/Microsoft.Graph/Generated/Organization/Item/Branding/BannerLogo/BannerLogoRequestBuilder.cs index 1ad90703210..5ec1533d03f 100644 --- a/src/Microsoft.Graph/Generated/Organization/Item/Branding/BannerLogo/BannerLogoRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Organization/Item/Branding/BannerLogo/BannerLogoRequestBuilder.cs @@ -55,13 +55,14 @@ public async Task GetAsync(ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PutAsync(Stream body, Action? requestConfiguration = default, CancellationToken cancellationToken = default) { + public async Task PutAsync(Stream body, string contentType, Action? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PutAsync(Stream body, Action requestConfiguration = default, CancellationToken cancellationToken = default) { + public async Task PutAsync(Stream body, string contentType, Action requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPutRequestInformation(body, requestConfiguration); + if(string.IsNullOrEmpty(contentType)) throw new ArgumentNullException(nameof(contentType)); + var requestInfo = ToPutRequestInformation(body, contentType, requestConfiguration); var errorMapping = new Dictionary> { {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, @@ -90,7 +91,7 @@ public RequestInformation ToGetRequestInformation(Action @@ -100,12 +101,13 @@ public RequestInformation ToGetRequestInformation(ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public RequestInformation ToPutRequestInformation(Stream body, Action? requestConfiguration = default) { + public RequestInformation ToPutRequestInformation(Stream body, string contentType, Action? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPutRequestInformation(Stream body, Action requestConfiguration = default) { + public RequestInformation ToPutRequestInformation(Stream body, string contentType, Action requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); + if(string.IsNullOrEmpty(contentType)) throw new ArgumentNullException(nameof(contentType)); var requestInfo = new RequestInformation { HttpMethod = Method.PUT, UrlTemplate = UrlTemplate, @@ -118,7 +120,7 @@ public RequestInformation ToPutRequestInformation(Stream body, Action diff --git a/src/Microsoft.Graph/Generated/Organization/Item/Branding/CustomCSS/CustomCSSRequestBuilder.cs b/src/Microsoft.Graph/Generated/Organization/Item/Branding/CustomCSS/CustomCSSRequestBuilder.cs index ab4e6b073af..95628cfb682 100644 --- a/src/Microsoft.Graph/Generated/Organization/Item/Branding/CustomCSS/CustomCSSRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Organization/Item/Branding/CustomCSS/CustomCSSRequestBuilder.cs @@ -55,13 +55,14 @@ public async Task GetAsync(ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PutAsync(Stream body, Action? requestConfiguration = default, CancellationToken cancellationToken = default) { + public async Task PutAsync(Stream body, string contentType, Action? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PutAsync(Stream body, Action requestConfiguration = default, CancellationToken cancellationToken = default) { + public async Task PutAsync(Stream body, string contentType, Action requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPutRequestInformation(body, requestConfiguration); + if(string.IsNullOrEmpty(contentType)) throw new ArgumentNullException(nameof(contentType)); + var requestInfo = ToPutRequestInformation(body, contentType, requestConfiguration); var errorMapping = new Dictionary> { {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, @@ -90,7 +91,7 @@ public RequestInformation ToGetRequestInformation(Action @@ -100,12 +101,13 @@ public RequestInformation ToGetRequestInformation(ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public RequestInformation ToPutRequestInformation(Stream body, Action? requestConfiguration = default) { + public RequestInformation ToPutRequestInformation(Stream body, string contentType, Action? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPutRequestInformation(Stream body, Action requestConfiguration = default) { + public RequestInformation ToPutRequestInformation(Stream body, string contentType, Action requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); + if(string.IsNullOrEmpty(contentType)) throw new ArgumentNullException(nameof(contentType)); var requestInfo = new RequestInformation { HttpMethod = Method.PUT, UrlTemplate = UrlTemplate, @@ -118,7 +120,7 @@ public RequestInformation ToPutRequestInformation(Stream body, Action diff --git a/src/Microsoft.Graph/Generated/Organization/Item/Branding/Favicon/FaviconRequestBuilder.cs b/src/Microsoft.Graph/Generated/Organization/Item/Branding/Favicon/FaviconRequestBuilder.cs index 0107d6b0c51..9ac6990c5b1 100644 --- a/src/Microsoft.Graph/Generated/Organization/Item/Branding/Favicon/FaviconRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Organization/Item/Branding/Favicon/FaviconRequestBuilder.cs @@ -55,13 +55,14 @@ public async Task GetAsync(ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PutAsync(Stream body, Action? requestConfiguration = default, CancellationToken cancellationToken = default) { + public async Task PutAsync(Stream body, string contentType, Action? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PutAsync(Stream body, Action requestConfiguration = default, CancellationToken cancellationToken = default) { + public async Task PutAsync(Stream body, string contentType, Action requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPutRequestInformation(body, requestConfiguration); + if(string.IsNullOrEmpty(contentType)) throw new ArgumentNullException(nameof(contentType)); + var requestInfo = ToPutRequestInformation(body, contentType, requestConfiguration); var errorMapping = new Dictionary> { {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, @@ -90,7 +91,7 @@ public RequestInformation ToGetRequestInformation(Action @@ -100,12 +101,13 @@ public RequestInformation ToGetRequestInformation(ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public RequestInformation ToPutRequestInformation(Stream body, Action? requestConfiguration = default) { + public RequestInformation ToPutRequestInformation(Stream body, string contentType, Action? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPutRequestInformation(Stream body, Action requestConfiguration = default) { + public RequestInformation ToPutRequestInformation(Stream body, string contentType, Action requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); + if(string.IsNullOrEmpty(contentType)) throw new ArgumentNullException(nameof(contentType)); var requestInfo = new RequestInformation { HttpMethod = Method.PUT, UrlTemplate = UrlTemplate, @@ -118,7 +120,7 @@ public RequestInformation ToPutRequestInformation(Stream body, Action diff --git a/src/Microsoft.Graph/Generated/Organization/Item/Branding/HeaderLogo/HeaderLogoRequestBuilder.cs b/src/Microsoft.Graph/Generated/Organization/Item/Branding/HeaderLogo/HeaderLogoRequestBuilder.cs index 77a0bd476fc..d27b560efd3 100644 --- a/src/Microsoft.Graph/Generated/Organization/Item/Branding/HeaderLogo/HeaderLogoRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Organization/Item/Branding/HeaderLogo/HeaderLogoRequestBuilder.cs @@ -55,13 +55,14 @@ public async Task GetAsync(ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PutAsync(Stream body, Action? requestConfiguration = default, CancellationToken cancellationToken = default) { + public async Task PutAsync(Stream body, string contentType, Action? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PutAsync(Stream body, Action requestConfiguration = default, CancellationToken cancellationToken = default) { + public async Task PutAsync(Stream body, string contentType, Action requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPutRequestInformation(body, requestConfiguration); + if(string.IsNullOrEmpty(contentType)) throw new ArgumentNullException(nameof(contentType)); + var requestInfo = ToPutRequestInformation(body, contentType, requestConfiguration); var errorMapping = new Dictionary> { {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, @@ -90,7 +91,7 @@ public RequestInformation ToGetRequestInformation(Action @@ -100,12 +101,13 @@ public RequestInformation ToGetRequestInformation(ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public RequestInformation ToPutRequestInformation(Stream body, Action? requestConfiguration = default) { + public RequestInformation ToPutRequestInformation(Stream body, string contentType, Action? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPutRequestInformation(Stream body, Action requestConfiguration = default) { + public RequestInformation ToPutRequestInformation(Stream body, string contentType, Action requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); + if(string.IsNullOrEmpty(contentType)) throw new ArgumentNullException(nameof(contentType)); var requestInfo = new RequestInformation { HttpMethod = Method.PUT, UrlTemplate = UrlTemplate, @@ -118,7 +120,7 @@ public RequestInformation ToPutRequestInformation(Stream body, Action diff --git a/src/Microsoft.Graph/Generated/Organization/Item/Branding/Localizations/Item/BackgroundImage/BackgroundImageRequestBuilder.cs b/src/Microsoft.Graph/Generated/Organization/Item/Branding/Localizations/Item/BackgroundImage/BackgroundImageRequestBuilder.cs index 74ec3d29605..021feaedfa0 100644 --- a/src/Microsoft.Graph/Generated/Organization/Item/Branding/Localizations/Item/BackgroundImage/BackgroundImageRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Organization/Item/Branding/Localizations/Item/BackgroundImage/BackgroundImageRequestBuilder.cs @@ -55,13 +55,14 @@ public async Task GetAsync(ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PutAsync(Stream body, Action? requestConfiguration = default, CancellationToken cancellationToken = default) { + public async Task PutAsync(Stream body, string contentType, Action? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PutAsync(Stream body, Action requestConfiguration = default, CancellationToken cancellationToken = default) { + public async Task PutAsync(Stream body, string contentType, Action requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPutRequestInformation(body, requestConfiguration); + if(string.IsNullOrEmpty(contentType)) throw new ArgumentNullException(nameof(contentType)); + var requestInfo = ToPutRequestInformation(body, contentType, requestConfiguration); var errorMapping = new Dictionary> { {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, @@ -90,7 +91,7 @@ public RequestInformation ToGetRequestInformation(Action @@ -100,12 +101,13 @@ public RequestInformation ToGetRequestInformation(ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public RequestInformation ToPutRequestInformation(Stream body, Action? requestConfiguration = default) { + public RequestInformation ToPutRequestInformation(Stream body, string contentType, Action? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPutRequestInformation(Stream body, Action requestConfiguration = default) { + public RequestInformation ToPutRequestInformation(Stream body, string contentType, Action requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); + if(string.IsNullOrEmpty(contentType)) throw new ArgumentNullException(nameof(contentType)); var requestInfo = new RequestInformation { HttpMethod = Method.PUT, UrlTemplate = UrlTemplate, @@ -118,7 +120,7 @@ public RequestInformation ToPutRequestInformation(Stream body, Action diff --git a/src/Microsoft.Graph/Generated/Organization/Item/Branding/Localizations/Item/BannerLogo/BannerLogoRequestBuilder.cs b/src/Microsoft.Graph/Generated/Organization/Item/Branding/Localizations/Item/BannerLogo/BannerLogoRequestBuilder.cs index 340eb733061..c9ad0ca632d 100644 --- a/src/Microsoft.Graph/Generated/Organization/Item/Branding/Localizations/Item/BannerLogo/BannerLogoRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Organization/Item/Branding/Localizations/Item/BannerLogo/BannerLogoRequestBuilder.cs @@ -55,13 +55,14 @@ public async Task GetAsync(ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PutAsync(Stream body, Action? requestConfiguration = default, CancellationToken cancellationToken = default) { + public async Task PutAsync(Stream body, string contentType, Action? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PutAsync(Stream body, Action requestConfiguration = default, CancellationToken cancellationToken = default) { + public async Task PutAsync(Stream body, string contentType, Action requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPutRequestInformation(body, requestConfiguration); + if(string.IsNullOrEmpty(contentType)) throw new ArgumentNullException(nameof(contentType)); + var requestInfo = ToPutRequestInformation(body, contentType, requestConfiguration); var errorMapping = new Dictionary> { {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, @@ -90,7 +91,7 @@ public RequestInformation ToGetRequestInformation(Action @@ -100,12 +101,13 @@ public RequestInformation ToGetRequestInformation(ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public RequestInformation ToPutRequestInformation(Stream body, Action? requestConfiguration = default) { + public RequestInformation ToPutRequestInformation(Stream body, string contentType, Action? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPutRequestInformation(Stream body, Action requestConfiguration = default) { + public RequestInformation ToPutRequestInformation(Stream body, string contentType, Action requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); + if(string.IsNullOrEmpty(contentType)) throw new ArgumentNullException(nameof(contentType)); var requestInfo = new RequestInformation { HttpMethod = Method.PUT, UrlTemplate = UrlTemplate, @@ -118,7 +120,7 @@ public RequestInformation ToPutRequestInformation(Stream body, Action diff --git a/src/Microsoft.Graph/Generated/Organization/Item/Branding/Localizations/Item/CustomCSS/CustomCSSRequestBuilder.cs b/src/Microsoft.Graph/Generated/Organization/Item/Branding/Localizations/Item/CustomCSS/CustomCSSRequestBuilder.cs index 34b61623713..a4ed1fbd65d 100644 --- a/src/Microsoft.Graph/Generated/Organization/Item/Branding/Localizations/Item/CustomCSS/CustomCSSRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Organization/Item/Branding/Localizations/Item/CustomCSS/CustomCSSRequestBuilder.cs @@ -55,13 +55,14 @@ public async Task GetAsync(ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PutAsync(Stream body, Action? requestConfiguration = default, CancellationToken cancellationToken = default) { + public async Task PutAsync(Stream body, string contentType, Action? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PutAsync(Stream body, Action requestConfiguration = default, CancellationToken cancellationToken = default) { + public async Task PutAsync(Stream body, string contentType, Action requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPutRequestInformation(body, requestConfiguration); + if(string.IsNullOrEmpty(contentType)) throw new ArgumentNullException(nameof(contentType)); + var requestInfo = ToPutRequestInformation(body, contentType, requestConfiguration); var errorMapping = new Dictionary> { {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, @@ -90,7 +91,7 @@ public RequestInformation ToGetRequestInformation(Action @@ -100,12 +101,13 @@ public RequestInformation ToGetRequestInformation(ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public RequestInformation ToPutRequestInformation(Stream body, Action? requestConfiguration = default) { + public RequestInformation ToPutRequestInformation(Stream body, string contentType, Action? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPutRequestInformation(Stream body, Action requestConfiguration = default) { + public RequestInformation ToPutRequestInformation(Stream body, string contentType, Action requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); + if(string.IsNullOrEmpty(contentType)) throw new ArgumentNullException(nameof(contentType)); var requestInfo = new RequestInformation { HttpMethod = Method.PUT, UrlTemplate = UrlTemplate, @@ -118,7 +120,7 @@ public RequestInformation ToPutRequestInformation(Stream body, Action diff --git a/src/Microsoft.Graph/Generated/Organization/Item/Branding/Localizations/Item/Favicon/FaviconRequestBuilder.cs b/src/Microsoft.Graph/Generated/Organization/Item/Branding/Localizations/Item/Favicon/FaviconRequestBuilder.cs index 7467ce95aeb..f40495a2c68 100644 --- a/src/Microsoft.Graph/Generated/Organization/Item/Branding/Localizations/Item/Favicon/FaviconRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Organization/Item/Branding/Localizations/Item/Favicon/FaviconRequestBuilder.cs @@ -55,13 +55,14 @@ public async Task GetAsync(ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PutAsync(Stream body, Action? requestConfiguration = default, CancellationToken cancellationToken = default) { + public async Task PutAsync(Stream body, string contentType, Action? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PutAsync(Stream body, Action requestConfiguration = default, CancellationToken cancellationToken = default) { + public async Task PutAsync(Stream body, string contentType, Action requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPutRequestInformation(body, requestConfiguration); + if(string.IsNullOrEmpty(contentType)) throw new ArgumentNullException(nameof(contentType)); + var requestInfo = ToPutRequestInformation(body, contentType, requestConfiguration); var errorMapping = new Dictionary> { {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, @@ -90,7 +91,7 @@ public RequestInformation ToGetRequestInformation(Action @@ -100,12 +101,13 @@ public RequestInformation ToGetRequestInformation(ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public RequestInformation ToPutRequestInformation(Stream body, Action? requestConfiguration = default) { + public RequestInformation ToPutRequestInformation(Stream body, string contentType, Action? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPutRequestInformation(Stream body, Action requestConfiguration = default) { + public RequestInformation ToPutRequestInformation(Stream body, string contentType, Action requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); + if(string.IsNullOrEmpty(contentType)) throw new ArgumentNullException(nameof(contentType)); var requestInfo = new RequestInformation { HttpMethod = Method.PUT, UrlTemplate = UrlTemplate, @@ -118,7 +120,7 @@ public RequestInformation ToPutRequestInformation(Stream body, Action diff --git a/src/Microsoft.Graph/Generated/Organization/Item/Branding/Localizations/Item/HeaderLogo/HeaderLogoRequestBuilder.cs b/src/Microsoft.Graph/Generated/Organization/Item/Branding/Localizations/Item/HeaderLogo/HeaderLogoRequestBuilder.cs index 034f2159809..be83b622794 100644 --- a/src/Microsoft.Graph/Generated/Organization/Item/Branding/Localizations/Item/HeaderLogo/HeaderLogoRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Organization/Item/Branding/Localizations/Item/HeaderLogo/HeaderLogoRequestBuilder.cs @@ -55,13 +55,14 @@ public async Task GetAsync(ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PutAsync(Stream body, Action? requestConfiguration = default, CancellationToken cancellationToken = default) { + public async Task PutAsync(Stream body, string contentType, Action? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PutAsync(Stream body, Action requestConfiguration = default, CancellationToken cancellationToken = default) { + public async Task PutAsync(Stream body, string contentType, Action requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPutRequestInformation(body, requestConfiguration); + if(string.IsNullOrEmpty(contentType)) throw new ArgumentNullException(nameof(contentType)); + var requestInfo = ToPutRequestInformation(body, contentType, requestConfiguration); var errorMapping = new Dictionary> { {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, @@ -90,7 +91,7 @@ public RequestInformation ToGetRequestInformation(Action @@ -100,12 +101,13 @@ public RequestInformation ToGetRequestInformation(ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public RequestInformation ToPutRequestInformation(Stream body, Action? requestConfiguration = default) { + public RequestInformation ToPutRequestInformation(Stream body, string contentType, Action? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPutRequestInformation(Stream body, Action requestConfiguration = default) { + public RequestInformation ToPutRequestInformation(Stream body, string contentType, Action requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); + if(string.IsNullOrEmpty(contentType)) throw new ArgumentNullException(nameof(contentType)); var requestInfo = new RequestInformation { HttpMethod = Method.PUT, UrlTemplate = UrlTemplate, @@ -118,7 +120,7 @@ public RequestInformation ToPutRequestInformation(Stream body, Action diff --git a/src/Microsoft.Graph/Generated/Organization/Item/Branding/Localizations/Item/SquareLogo/SquareLogoRequestBuilder.cs b/src/Microsoft.Graph/Generated/Organization/Item/Branding/Localizations/Item/SquareLogo/SquareLogoRequestBuilder.cs index 0866962fd9d..22b1bd30b81 100644 --- a/src/Microsoft.Graph/Generated/Organization/Item/Branding/Localizations/Item/SquareLogo/SquareLogoRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Organization/Item/Branding/Localizations/Item/SquareLogo/SquareLogoRequestBuilder.cs @@ -55,13 +55,14 @@ public async Task GetAsync(ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PutAsync(Stream body, Action? requestConfiguration = default, CancellationToken cancellationToken = default) { + public async Task PutAsync(Stream body, string contentType, Action? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PutAsync(Stream body, Action requestConfiguration = default, CancellationToken cancellationToken = default) { + public async Task PutAsync(Stream body, string contentType, Action requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPutRequestInformation(body, requestConfiguration); + if(string.IsNullOrEmpty(contentType)) throw new ArgumentNullException(nameof(contentType)); + var requestInfo = ToPutRequestInformation(body, contentType, requestConfiguration); var errorMapping = new Dictionary> { {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, @@ -90,7 +91,7 @@ public RequestInformation ToGetRequestInformation(Action @@ -100,12 +101,13 @@ public RequestInformation ToGetRequestInformation(ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public RequestInformation ToPutRequestInformation(Stream body, Action? requestConfiguration = default) { + public RequestInformation ToPutRequestInformation(Stream body, string contentType, Action? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPutRequestInformation(Stream body, Action requestConfiguration = default) { + public RequestInformation ToPutRequestInformation(Stream body, string contentType, Action requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); + if(string.IsNullOrEmpty(contentType)) throw new ArgumentNullException(nameof(contentType)); var requestInfo = new RequestInformation { HttpMethod = Method.PUT, UrlTemplate = UrlTemplate, @@ -118,7 +120,7 @@ public RequestInformation ToPutRequestInformation(Stream body, Action diff --git a/src/Microsoft.Graph/Generated/Organization/Item/Branding/Localizations/Item/SquareLogoDark/SquareLogoDarkRequestBuilder.cs b/src/Microsoft.Graph/Generated/Organization/Item/Branding/Localizations/Item/SquareLogoDark/SquareLogoDarkRequestBuilder.cs index 9f76d10f6f7..2257fdf79cf 100644 --- a/src/Microsoft.Graph/Generated/Organization/Item/Branding/Localizations/Item/SquareLogoDark/SquareLogoDarkRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Organization/Item/Branding/Localizations/Item/SquareLogoDark/SquareLogoDarkRequestBuilder.cs @@ -55,13 +55,14 @@ public async Task GetAsync(ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PutAsync(Stream body, Action? requestConfiguration = default, CancellationToken cancellationToken = default) { + public async Task PutAsync(Stream body, string contentType, Action? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PutAsync(Stream body, Action requestConfiguration = default, CancellationToken cancellationToken = default) { + public async Task PutAsync(Stream body, string contentType, Action requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPutRequestInformation(body, requestConfiguration); + if(string.IsNullOrEmpty(contentType)) throw new ArgumentNullException(nameof(contentType)); + var requestInfo = ToPutRequestInformation(body, contentType, requestConfiguration); var errorMapping = new Dictionary> { {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, @@ -90,7 +91,7 @@ public RequestInformation ToGetRequestInformation(Action @@ -100,12 +101,13 @@ public RequestInformation ToGetRequestInformation(ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public RequestInformation ToPutRequestInformation(Stream body, Action? requestConfiguration = default) { + public RequestInformation ToPutRequestInformation(Stream body, string contentType, Action? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPutRequestInformation(Stream body, Action requestConfiguration = default) { + public RequestInformation ToPutRequestInformation(Stream body, string contentType, Action requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); + if(string.IsNullOrEmpty(contentType)) throw new ArgumentNullException(nameof(contentType)); var requestInfo = new RequestInformation { HttpMethod = Method.PUT, UrlTemplate = UrlTemplate, @@ -118,7 +120,7 @@ public RequestInformation ToPutRequestInformation(Stream body, Action diff --git a/src/Microsoft.Graph/Generated/Organization/Item/Branding/SquareLogo/SquareLogoRequestBuilder.cs b/src/Microsoft.Graph/Generated/Organization/Item/Branding/SquareLogo/SquareLogoRequestBuilder.cs index 588dd9c1e11..b0630808701 100644 --- a/src/Microsoft.Graph/Generated/Organization/Item/Branding/SquareLogo/SquareLogoRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Organization/Item/Branding/SquareLogo/SquareLogoRequestBuilder.cs @@ -55,13 +55,14 @@ public async Task GetAsync(ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PutAsync(Stream body, Action? requestConfiguration = default, CancellationToken cancellationToken = default) { + public async Task PutAsync(Stream body, string contentType, Action? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PutAsync(Stream body, Action requestConfiguration = default, CancellationToken cancellationToken = default) { + public async Task PutAsync(Stream body, string contentType, Action requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPutRequestInformation(body, requestConfiguration); + if(string.IsNullOrEmpty(contentType)) throw new ArgumentNullException(nameof(contentType)); + var requestInfo = ToPutRequestInformation(body, contentType, requestConfiguration); var errorMapping = new Dictionary> { {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, @@ -90,7 +91,7 @@ public RequestInformation ToGetRequestInformation(Action @@ -100,12 +101,13 @@ public RequestInformation ToGetRequestInformation(ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public RequestInformation ToPutRequestInformation(Stream body, Action? requestConfiguration = default) { + public RequestInformation ToPutRequestInformation(Stream body, string contentType, Action? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPutRequestInformation(Stream body, Action requestConfiguration = default) { + public RequestInformation ToPutRequestInformation(Stream body, string contentType, Action requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); + if(string.IsNullOrEmpty(contentType)) throw new ArgumentNullException(nameof(contentType)); var requestInfo = new RequestInformation { HttpMethod = Method.PUT, UrlTemplate = UrlTemplate, @@ -118,7 +120,7 @@ public RequestInformation ToPutRequestInformation(Stream body, Action diff --git a/src/Microsoft.Graph/Generated/Organization/Item/Branding/SquareLogoDark/SquareLogoDarkRequestBuilder.cs b/src/Microsoft.Graph/Generated/Organization/Item/Branding/SquareLogoDark/SquareLogoDarkRequestBuilder.cs index 5251605101b..272a5d2bf68 100644 --- a/src/Microsoft.Graph/Generated/Organization/Item/Branding/SquareLogoDark/SquareLogoDarkRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Organization/Item/Branding/SquareLogoDark/SquareLogoDarkRequestBuilder.cs @@ -55,13 +55,14 @@ public async Task GetAsync(ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PutAsync(Stream body, Action? requestConfiguration = default, CancellationToken cancellationToken = default) { + public async Task PutAsync(Stream body, string contentType, Action? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PutAsync(Stream body, Action requestConfiguration = default, CancellationToken cancellationToken = default) { + public async Task PutAsync(Stream body, string contentType, Action requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPutRequestInformation(body, requestConfiguration); + if(string.IsNullOrEmpty(contentType)) throw new ArgumentNullException(nameof(contentType)); + var requestInfo = ToPutRequestInformation(body, contentType, requestConfiguration); var errorMapping = new Dictionary> { {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, @@ -90,7 +91,7 @@ public RequestInformation ToGetRequestInformation(Action @@ -100,12 +101,13 @@ public RequestInformation ToGetRequestInformation(ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public RequestInformation ToPutRequestInformation(Stream body, Action? requestConfiguration = default) { + public RequestInformation ToPutRequestInformation(Stream body, string contentType, Action? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPutRequestInformation(Stream body, Action requestConfiguration = default) { + public RequestInformation ToPutRequestInformation(Stream body, string contentType, Action requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); + if(string.IsNullOrEmpty(contentType)) throw new ArgumentNullException(nameof(contentType)); var requestInfo = new RequestInformation { HttpMethod = Method.PUT, UrlTemplate = UrlTemplate, @@ -118,7 +120,7 @@ public RequestInformation ToPutRequestInformation(Stream body, Action diff --git a/src/Microsoft.Graph/Generated/Organization/Item/OrganizationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Organization/Item/OrganizationItemRequestBuilder.cs index 1acbe605274..041e2b1ab24 100644 --- a/src/Microsoft.Graph/Generated/Organization/Item/OrganizationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Organization/Item/OrganizationItemRequestBuilder.cs @@ -93,8 +93,8 @@ public async Task DeleteAsync(Action - /// Get the properties and relationships of the currently authenticated organization. Since the organization resource supports extensions, you can also use the GET operation to get custom properties and extension data in an organization instance. This API is available in the following national cloud deployments. - /// Find more info here + /// Read properties and relationships of the organization object. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -160,7 +160,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get the properties and relationships of the currently authenticated organization. Since the organization resource supports extensions, you can also use the GET operation to get custom properties and extension data in an organization instance. This API is available in the following national cloud deployments. + /// Read properties and relationships of the organization object. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -237,7 +237,7 @@ public OrganizationItemRequestBuilderDeleteRequestConfiguration() { } } /// - /// Get the properties and relationships of the currently authenticated organization. Since the organization resource supports extensions, you can also use the GET operation to get custom properties and extension data in an organization instance. This API is available in the following national cloud deployments. + /// Read properties and relationships of the organization object. /// public class OrganizationItemRequestBuilderGetQueryParameters { /// Expand related entities diff --git a/src/Microsoft.Graph/Generated/Organization/OrganizationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Organization/OrganizationRequestBuilder.cs index 9e4ffc556a0..86ad479dd5d 100644 --- a/src/Microsoft.Graph/Generated/Organization/OrganizationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Organization/OrganizationRequestBuilder.cs @@ -62,8 +62,8 @@ public OrganizationRequestBuilder(Dictionary pathParameters, IRe public OrganizationRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/organization{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) { } /// - /// List properties and relationships of the organization objects. - /// Find more info here + /// Retrieve a list of organization objects. There's only one organization object in the collection. This API is available in the following national cloud deployments. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -103,7 +103,7 @@ public async Task GetAsync(Action(requestInfo, Microsoft.Graph.Models.Organization.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List properties and relationships of the organization objects. + /// Retrieve a list of organization objects. There's only one organization object in the collection. This API is available in the following national cloud deployments. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -164,7 +164,7 @@ public OrganizationRequestBuilder WithUrl(string rawUrl) { return new OrganizationRequestBuilder(rawUrl, RequestAdapter); } /// - /// List properties and relationships of the organization objects. + /// Retrieve a list of organization objects. There's only one organization object in the collection. This API is available in the following national cloud deployments. /// public class OrganizationRequestBuilderGetQueryParameters { /// Include count of items diff --git a/src/Microsoft.Graph/Generated/Security/AttackSimulation/EndUserNotifications/EndUserNotificationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/AttackSimulation/EndUserNotifications/EndUserNotificationsRequestBuilder.cs index cdf6d99656e..8494c739368 100644 --- a/src/Microsoft.Graph/Generated/Security/AttackSimulation/EndUserNotifications/EndUserNotificationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/AttackSimulation/EndUserNotifications/EndUserNotificationsRequestBuilder.cs @@ -42,7 +42,8 @@ public EndUserNotificationsRequestBuilder(Dictionary pathParamet public EndUserNotificationsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/attackSimulation/endUserNotifications{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) { } /// - /// Get endUserNotifications from security + /// Get a list of endUserNotification objects and their properties. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -82,7 +83,7 @@ public async Task PostAsync(EndUserNotification body, Actio return await RequestAdapter.SendAsync(requestInfo, EndUserNotification.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get endUserNotifications from security + /// Get a list of endUserNotification objects and their properties. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -143,7 +144,7 @@ public EndUserNotificationsRequestBuilder WithUrl(string rawUrl) { return new EndUserNotificationsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Get endUserNotifications from security + /// Get a list of endUserNotification objects and their properties. /// public class EndUserNotificationsRequestBuilderGetQueryParameters { /// Include count of items diff --git a/src/Microsoft.Graph/Generated/Security/AttackSimulation/EndUserNotifications/Item/EndUserNotificationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/AttackSimulation/EndUserNotifications/Item/EndUserNotificationItemRequestBuilder.cs index 6a4251ec7dd..9e712fab1df 100644 --- a/src/Microsoft.Graph/Generated/Security/AttackSimulation/EndUserNotifications/Item/EndUserNotificationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/AttackSimulation/EndUserNotifications/Item/EndUserNotificationItemRequestBuilder.cs @@ -53,7 +53,7 @@ public async Task DeleteAsync(Action - /// Get endUserNotifications from security + /// Represents an end user's notification for an attack simulation training. /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -118,7 +118,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get endUserNotifications from security + /// Represents an end user's notification for an attack simulation training. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -195,7 +195,7 @@ public EndUserNotificationItemRequestBuilderDeleteRequestConfiguration() { } } /// - /// Get endUserNotifications from security + /// Represents an end user's notification for an attack simulation training. /// public class EndUserNotificationItemRequestBuilderGetQueryParameters { /// Expand related entities diff --git a/src/Microsoft.Graph/Generated/Security/AttackSimulation/LandingPages/Item/Details/DetailsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/AttackSimulation/LandingPages/Item/Details/DetailsRequestBuilder.cs index f77760a56ac..41496bdbaab 100644 --- a/src/Microsoft.Graph/Generated/Security/AttackSimulation/LandingPages/Item/Details/DetailsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/AttackSimulation/LandingPages/Item/Details/DetailsRequestBuilder.cs @@ -42,7 +42,7 @@ public DetailsRequestBuilder(Dictionary pathParameters, IRequest public DetailsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/attackSimulation/landingPages/{landingPage%2Did}/details{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) { } /// - /// Get details from security + /// The detail information for a landing page associated with a simulation during its creation. /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -82,7 +82,7 @@ public async Task PostAsync(LandingPageDetail body, Action(requestInfo, LandingPageDetail.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get details from security + /// The detail information for a landing page associated with a simulation during its creation. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -143,7 +143,7 @@ public DetailsRequestBuilder WithUrl(string rawUrl) { return new DetailsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Get details from security + /// The detail information for a landing page associated with a simulation during its creation. /// public class DetailsRequestBuilderGetQueryParameters { /// Include count of items diff --git a/src/Microsoft.Graph/Generated/Security/AttackSimulation/LandingPages/Item/Details/Item/LandingPageDetailItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/AttackSimulation/LandingPages/Item/Details/Item/LandingPageDetailItemRequestBuilder.cs index 6c04b19c15d..3ee708d159d 100644 --- a/src/Microsoft.Graph/Generated/Security/AttackSimulation/LandingPages/Item/Details/Item/LandingPageDetailItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/AttackSimulation/LandingPages/Item/Details/Item/LandingPageDetailItemRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task DeleteAsync(Action - /// Get details from security + /// The detail information for a landing page associated with a simulation during its creation. /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -113,7 +113,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get details from security + /// The detail information for a landing page associated with a simulation during its creation. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -190,7 +190,7 @@ public LandingPageDetailItemRequestBuilderDeleteRequestConfiguration() { } } /// - /// Get details from security + /// The detail information for a landing page associated with a simulation during its creation. /// public class LandingPageDetailItemRequestBuilderGetQueryParameters { /// Expand related entities diff --git a/src/Microsoft.Graph/Generated/Security/AttackSimulation/LandingPages/Item/LandingPageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/AttackSimulation/LandingPages/Item/LandingPageItemRequestBuilder.cs index 6cd1f1d4102..5a0a450b9c9 100644 --- a/src/Microsoft.Graph/Generated/Security/AttackSimulation/LandingPages/Item/LandingPageItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/AttackSimulation/LandingPages/Item/LandingPageItemRequestBuilder.cs @@ -53,7 +53,7 @@ public async Task DeleteAsync(Action - /// Get landingPages from security + /// Represents an attack simulation training landing page. /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -118,7 +118,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get landingPages from security + /// Represents an attack simulation training landing page. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -195,7 +195,7 @@ public LandingPageItemRequestBuilderDeleteRequestConfiguration() { } } /// - /// Get landingPages from security + /// Represents an attack simulation training landing page. /// public class LandingPageItemRequestBuilderGetQueryParameters { /// Expand related entities diff --git a/src/Microsoft.Graph/Generated/Security/AttackSimulation/LandingPages/LandingPagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/AttackSimulation/LandingPages/LandingPagesRequestBuilder.cs index c6dc221b36d..3d47470ff2f 100644 --- a/src/Microsoft.Graph/Generated/Security/AttackSimulation/LandingPages/LandingPagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/AttackSimulation/LandingPages/LandingPagesRequestBuilder.cs @@ -42,7 +42,8 @@ public LandingPagesRequestBuilder(Dictionary pathParameters, IRe public LandingPagesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/attackSimulation/landingPages{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) { } /// - /// Get landingPages from security + /// Get a list of the landingPage objects and their properties. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -82,7 +83,7 @@ public async Task GetAsync(Action(requestInfo, Microsoft.Graph.Models.LandingPage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get landingPages from security + /// Get a list of the landingPage objects and their properties. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -143,7 +144,7 @@ public LandingPagesRequestBuilder WithUrl(string rawUrl) { return new LandingPagesRequestBuilder(rawUrl, RequestAdapter); } /// - /// Get landingPages from security + /// Get a list of the landingPage objects and their properties. /// public class LandingPagesRequestBuilderGetQueryParameters { /// Include count of items diff --git a/src/Microsoft.Graph/Generated/Security/AttackSimulation/LoginPages/Item/LoginPageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/AttackSimulation/LoginPages/Item/LoginPageItemRequestBuilder.cs index 3e7d36c1b9d..c5c7eebdea2 100644 --- a/src/Microsoft.Graph/Generated/Security/AttackSimulation/LoginPages/Item/LoginPageItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/AttackSimulation/LoginPages/Item/LoginPageItemRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task DeleteAsync(Action - /// Get loginPages from security + /// Represents an attack simulation training login page. /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -113,7 +113,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get loginPages from security + /// Represents an attack simulation training login page. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -190,7 +190,7 @@ public LoginPageItemRequestBuilderDeleteRequestConfiguration() { } } /// - /// Get loginPages from security + /// Represents an attack simulation training login page. /// public class LoginPageItemRequestBuilderGetQueryParameters { /// Expand related entities diff --git a/src/Microsoft.Graph/Generated/Security/AttackSimulation/LoginPages/LoginPagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/AttackSimulation/LoginPages/LoginPagesRequestBuilder.cs index 04b0fe6ef04..429f3bc33b1 100644 --- a/src/Microsoft.Graph/Generated/Security/AttackSimulation/LoginPages/LoginPagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/AttackSimulation/LoginPages/LoginPagesRequestBuilder.cs @@ -42,7 +42,8 @@ public LoginPagesRequestBuilder(Dictionary pathParameters, IRequ public LoginPagesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/attackSimulation/loginPages{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) { } /// - /// Get loginPages from security + /// Get a list of the loginPage objects and their properties. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -82,7 +83,7 @@ public async Task GetAsync(Action(requestInfo, Microsoft.Graph.Models.LoginPage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get loginPages from security + /// Get a list of the loginPage objects and their properties. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -143,7 +144,7 @@ public LoginPagesRequestBuilder WithUrl(string rawUrl) { return new LoginPagesRequestBuilder(rawUrl, RequestAdapter); } /// - /// Get loginPages from security + /// Get a list of the loginPage objects and their properties. /// public class LoginPagesRequestBuilderGetQueryParameters { /// Include count of items diff --git a/src/Microsoft.Graph/Generated/Security/AttackSimulation/Operations/Item/AttackSimulationOperationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/AttackSimulation/Operations/Item/AttackSimulationOperationItemRequestBuilder.cs index c9e5df11a86..70ee733fe09 100644 --- a/src/Microsoft.Graph/Generated/Security/AttackSimulation/Operations/Item/AttackSimulationOperationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/AttackSimulation/Operations/Item/AttackSimulationOperationItemRequestBuilder.cs @@ -48,7 +48,8 @@ public async Task DeleteAsync(Action - /// Get operations from security + /// Get an attack simulation operation to track a long-running operation request for a tenant. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -113,7 +114,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get operations from security + /// Get an attack simulation operation to track a long-running operation request for a tenant. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -190,7 +191,7 @@ public AttackSimulationOperationItemRequestBuilderDeleteRequestConfiguration() { } } /// - /// Get operations from security + /// Get an attack simulation operation to track a long-running operation request for a tenant. /// public class AttackSimulationOperationItemRequestBuilderGetQueryParameters { /// Expand related entities diff --git a/src/Microsoft.Graph/Generated/Security/AttackSimulation/Operations/OperationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/AttackSimulation/Operations/OperationsRequestBuilder.cs index fede7af3ff2..b3094e258db 100644 --- a/src/Microsoft.Graph/Generated/Security/AttackSimulation/Operations/OperationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/AttackSimulation/Operations/OperationsRequestBuilder.cs @@ -42,7 +42,7 @@ public OperationsRequestBuilder(Dictionary pathParameters, IRequ public OperationsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/attackSimulation/operations{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) { } /// - /// Get operations from security + /// Get an attack simulation operation to track a long-running operation request for a tenant. /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -82,7 +82,7 @@ public async Task PostAsync(AttackSimulationOperation return await RequestAdapter.SendAsync(requestInfo, AttackSimulationOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get operations from security + /// Get an attack simulation operation to track a long-running operation request for a tenant. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -143,7 +143,7 @@ public OperationsRequestBuilder WithUrl(string rawUrl) { return new OperationsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Get operations from security + /// Get an attack simulation operation to track a long-running operation request for a tenant. /// public class OperationsRequestBuilderGetQueryParameters { /// Include count of items diff --git a/src/Microsoft.Graph/Generated/Security/AttackSimulation/Payloads/Item/PayloadItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/AttackSimulation/Payloads/Item/PayloadItemRequestBuilder.cs index 1d68ff9bd7f..195401b286a 100644 --- a/src/Microsoft.Graph/Generated/Security/AttackSimulation/Payloads/Item/PayloadItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/AttackSimulation/Payloads/Item/PayloadItemRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task DeleteAsync(Action - /// Get payloads from security + /// Represents an attack simulation training campaign payload in a tenant. /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -113,7 +113,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get payloads from security + /// Represents an attack simulation training campaign payload in a tenant. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -190,7 +190,7 @@ public PayloadItemRequestBuilderDeleteRequestConfiguration() { } } /// - /// Get payloads from security + /// Represents an attack simulation training campaign payload in a tenant. /// public class PayloadItemRequestBuilderGetQueryParameters { /// Expand related entities diff --git a/src/Microsoft.Graph/Generated/Security/AttackSimulation/Payloads/PayloadsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/AttackSimulation/Payloads/PayloadsRequestBuilder.cs index f3aa113393f..f88edc8f248 100644 --- a/src/Microsoft.Graph/Generated/Security/AttackSimulation/Payloads/PayloadsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/AttackSimulation/Payloads/PayloadsRequestBuilder.cs @@ -42,7 +42,8 @@ public PayloadsRequestBuilder(Dictionary pathParameters, IReques public PayloadsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/attackSimulation/payloads{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) { } /// - /// Get payloads from security + /// Get a list of payloads for attack simulation campaigns. This operation expects the mandatory parameter source to filter and query the respective data source. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -82,7 +83,7 @@ public async Task GetAsync(Action(requestInfo, Microsoft.Graph.Models.Payload.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get payloads from security + /// Get a list of payloads for attack simulation campaigns. This operation expects the mandatory parameter source to filter and query the respective data source. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -143,7 +144,7 @@ public PayloadsRequestBuilder WithUrl(string rawUrl) { return new PayloadsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Get payloads from security + /// Get a list of payloads for attack simulation campaigns. This operation expects the mandatory parameter source to filter and query the respective data source. /// public class PayloadsRequestBuilderGetQueryParameters { /// Include count of items diff --git a/src/Microsoft.Graph/Generated/Security/AttackSimulation/Simulations/Item/LandingPage/LandingPageRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/AttackSimulation/Simulations/Item/LandingPage/LandingPageRequestBuilder.cs index 930a37bd477..86f3ac90b5a 100644 --- a/src/Microsoft.Graph/Generated/Security/AttackSimulation/Simulations/Item/LandingPage/LandingPageRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/AttackSimulation/Simulations/Item/LandingPage/LandingPageRequestBuilder.cs @@ -29,7 +29,7 @@ public LandingPageRequestBuilder(Dictionary pathParameters, IReq public LandingPageRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/attackSimulation/simulations/{simulation%2Did}/landingPage{?%24select,%24expand}", rawUrl) { } /// - /// Get landingPage from security + /// The landing page associated with a simulation during its creation. /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -48,7 +48,7 @@ public LandingPageRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.LandingPage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get landingPage from security + /// The landing page associated with a simulation during its creation. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -81,7 +81,7 @@ public LandingPageRequestBuilder WithUrl(string rawUrl) { return new LandingPageRequestBuilder(rawUrl, RequestAdapter); } /// - /// Get landingPage from security + /// The landing page associated with a simulation during its creation. /// public class LandingPageRequestBuilderGetQueryParameters { /// Expand related entities diff --git a/src/Microsoft.Graph/Generated/Security/AttackSimulation/Simulations/Item/LoginPage/LoginPageRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/AttackSimulation/Simulations/Item/LoginPage/LoginPageRequestBuilder.cs index 5d8357c0cdc..7e162c97ea0 100644 --- a/src/Microsoft.Graph/Generated/Security/AttackSimulation/Simulations/Item/LoginPage/LoginPageRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/AttackSimulation/Simulations/Item/LoginPage/LoginPageRequestBuilder.cs @@ -29,7 +29,7 @@ public LoginPageRequestBuilder(Dictionary pathParameters, IReque public LoginPageRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/attackSimulation/simulations/{simulation%2Did}/loginPage{?%24select,%24expand}", rawUrl) { } /// - /// Get loginPage from security + /// The login page associated with a simulation during its creation. /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -48,7 +48,7 @@ public LoginPageRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.LoginPage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get loginPage from security + /// The login page associated with a simulation during its creation. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -81,7 +81,7 @@ public LoginPageRequestBuilder WithUrl(string rawUrl) { return new LoginPageRequestBuilder(rawUrl, RequestAdapter); } /// - /// Get loginPage from security + /// The login page associated with a simulation during its creation. /// public class LoginPageRequestBuilderGetQueryParameters { /// Expand related entities diff --git a/src/Microsoft.Graph/Generated/Security/AttackSimulation/Simulations/Item/Payload/PayloadRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/AttackSimulation/Simulations/Item/Payload/PayloadRequestBuilder.cs index 72b4e4b311c..e2be41ca882 100644 --- a/src/Microsoft.Graph/Generated/Security/AttackSimulation/Simulations/Item/Payload/PayloadRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/AttackSimulation/Simulations/Item/Payload/PayloadRequestBuilder.cs @@ -29,7 +29,7 @@ public PayloadRequestBuilder(Dictionary pathParameters, IRequest public PayloadRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/attackSimulation/simulations/{simulation%2Did}/payload{?%24select,%24expand}", rawUrl) { } /// - /// Get payload from security + /// The payload associated with a simulation during its creation. /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -48,7 +48,7 @@ public PayloadRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Payload.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get payload from security + /// The payload associated with a simulation during its creation. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -81,7 +81,7 @@ public PayloadRequestBuilder WithUrl(string rawUrl) { return new PayloadRequestBuilder(rawUrl, RequestAdapter); } /// - /// Get payload from security + /// The payload associated with a simulation during its creation. /// public class PayloadRequestBuilderGetQueryParameters { /// Expand related entities diff --git a/src/Microsoft.Graph/Generated/Security/AttackSimulation/Simulations/Item/SimulationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/AttackSimulation/Simulations/Item/SimulationItemRequestBuilder.cs index 8bd5d4b852c..dfc22f71cc3 100644 --- a/src/Microsoft.Graph/Generated/Security/AttackSimulation/Simulations/Item/SimulationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/AttackSimulation/Simulations/Item/SimulationItemRequestBuilder.cs @@ -44,7 +44,8 @@ public SimulationItemRequestBuilder(Dictionary pathParameters, I public SimulationItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/attackSimulation/simulations/{simulation%2Did}{?%24select,%24expand}", rawUrl) { } /// - /// Delete navigation property simulations for security + /// Delete an attack simulation campaign for a tenant. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -83,7 +84,8 @@ public async Task GetAsync(Action(requestInfo, Simulation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the navigation property simulations in security + /// Update an attack simulation campaign for a tenant. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -104,7 +106,7 @@ public async Task PatchAsync(Simulation body, Action(requestInfo, Simulation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Delete navigation property simulations for security + /// Delete an attack simulation campaign for a tenant. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -155,7 +157,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the navigation property simulations in security + /// Update an attack simulation campaign for a tenant. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Security/AttackSimulation/Simulations/SimulationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/AttackSimulation/Simulations/SimulationsRequestBuilder.cs index 27dfc961f57..ec93d3c61f5 100644 --- a/src/Microsoft.Graph/Generated/Security/AttackSimulation/Simulations/SimulationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/AttackSimulation/Simulations/SimulationsRequestBuilder.cs @@ -62,7 +62,8 @@ public async Task GetAsync(Action(requestInfo, SimulationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create new navigation property to simulations for security + /// Create an attack simulation campaign for a tenant. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -109,7 +110,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create new navigation property to simulations for security + /// Create an attack simulation campaign for a tenant. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Security/AttackSimulation/Trainings/Item/LanguageDetails/Item/TrainingLanguageDetailItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/AttackSimulation/Trainings/Item/LanguageDetails/Item/TrainingLanguageDetailItemRequestBuilder.cs index 039ddcfae26..682aa894252 100644 --- a/src/Microsoft.Graph/Generated/Security/AttackSimulation/Trainings/Item/LanguageDetails/Item/TrainingLanguageDetailItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/AttackSimulation/Trainings/Item/LanguageDetails/Item/TrainingLanguageDetailItemRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task DeleteAsync(Action - /// Get languageDetails from security + /// Language specific details on a training. /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -113,7 +113,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get languageDetails from security + /// Language specific details on a training. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -190,7 +190,7 @@ public TrainingLanguageDetailItemRequestBuilderDeleteRequestConfiguration() { } } /// - /// Get languageDetails from security + /// Language specific details on a training. /// public class TrainingLanguageDetailItemRequestBuilderGetQueryParameters { /// Expand related entities diff --git a/src/Microsoft.Graph/Generated/Security/AttackSimulation/Trainings/Item/LanguageDetails/LanguageDetailsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/AttackSimulation/Trainings/Item/LanguageDetails/LanguageDetailsRequestBuilder.cs index 4665c0eb41b..b1e82ce17ec 100644 --- a/src/Microsoft.Graph/Generated/Security/AttackSimulation/Trainings/Item/LanguageDetails/LanguageDetailsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/AttackSimulation/Trainings/Item/LanguageDetails/LanguageDetailsRequestBuilder.cs @@ -42,7 +42,7 @@ public LanguageDetailsRequestBuilder(Dictionary pathParameters, public LanguageDetailsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/attackSimulation/trainings/{training%2Did}/languageDetails{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) { } /// - /// Get languageDetails from security + /// Language specific details on a training. /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -82,7 +82,7 @@ public async Task PostAsync(TrainingLanguageDetail body, return await RequestAdapter.SendAsync(requestInfo, TrainingLanguageDetail.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get languageDetails from security + /// Language specific details on a training. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -143,7 +143,7 @@ public LanguageDetailsRequestBuilder WithUrl(string rawUrl) { return new LanguageDetailsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Get languageDetails from security + /// Language specific details on a training. /// public class LanguageDetailsRequestBuilderGetQueryParameters { /// Include count of items diff --git a/src/Microsoft.Graph/Generated/Security/AttackSimulation/Trainings/Item/TrainingItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/AttackSimulation/Trainings/Item/TrainingItemRequestBuilder.cs index af27dc0ee1a..c46d5907f41 100644 --- a/src/Microsoft.Graph/Generated/Security/AttackSimulation/Trainings/Item/TrainingItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/AttackSimulation/Trainings/Item/TrainingItemRequestBuilder.cs @@ -53,7 +53,7 @@ public async Task DeleteAsync(Action - /// Get trainings from security + /// Represents details about attack simulation trainings. /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -118,7 +118,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get trainings from security + /// Represents details about attack simulation trainings. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -195,7 +195,7 @@ public TrainingItemRequestBuilderDeleteRequestConfiguration() { } } /// - /// Get trainings from security + /// Represents details about attack simulation trainings. /// public class TrainingItemRequestBuilderGetQueryParameters { /// Expand related entities diff --git a/src/Microsoft.Graph/Generated/Security/AttackSimulation/Trainings/TrainingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/AttackSimulation/Trainings/TrainingsRequestBuilder.cs index c9aa8e988ac..971d94a38c5 100644 --- a/src/Microsoft.Graph/Generated/Security/AttackSimulation/Trainings/TrainingsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/AttackSimulation/Trainings/TrainingsRequestBuilder.cs @@ -42,7 +42,8 @@ public TrainingsRequestBuilder(Dictionary pathParameters, IReque public TrainingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/attackSimulation/trainings{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) { } /// - /// Get trainings from security + /// Get a list of the training objects and their properties. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -82,7 +83,7 @@ public async Task PostAsync(Training body, Action(requestInfo, Training.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get trainings from security + /// Get a list of the training objects and their properties. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -143,7 +144,7 @@ public TrainingsRequestBuilder WithUrl(string rawUrl) { return new TrainingsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Get trainings from security + /// Get a list of the training objects and their properties. /// public class TrainingsRequestBuilderGetQueryParameters { /// Include count of items diff --git a/src/Microsoft.Graph/Generated/Me/Photos/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/HostPorts/Count/CountRequestBuilder.cs similarity index 89% rename from src/Microsoft.Graph/Generated/Me/Photos/Count/CountRequestBuilder.cs rename to src/Microsoft.Graph/Generated/Security/ThreatIntelligence/HostPorts/Count/CountRequestBuilder.cs index 8d5bbe21295..6003f24fa1d 100644 --- a/src/Microsoft.Graph/Generated/Me/Photos/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/HostPorts/Count/CountRequestBuilder.cs @@ -8,7 +8,7 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Microsoft.Graph.Me.Photos.Count { +namespace Microsoft.Graph.Security.ThreatIntelligence.HostPorts.Count { /// /// Provides operations to count the resources in the collection. /// @@ -18,14 +18,14 @@ public class CountRequestBuilder : BaseRequestBuilder { /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/photos/$count{?%24filter}", pathParameters) { + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/threatIntelligence/hostPorts/$count{?%24search,%24filter}", pathParameters) { } /// /// Instantiates a new CountRequestBuilder and sets the default values. /// /// The raw URL to use for the request builder. /// The request adapter to use to execute the requests. - public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/photos/$count{?%24filter}", rawUrl) { + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/threatIntelligence/hostPorts/$count{?%24search,%24filter}", rawUrl) { } /// /// Get the number of the resource @@ -92,6 +92,16 @@ public class CountRequestBuilderGetQueryParameters { #else [QueryParameter("%24filter")] public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } #endif } /// diff --git a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/HostPorts/HostPortsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/HostPorts/HostPortsRequestBuilder.cs new file mode 100644 index 00000000000..56169446901 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/HostPorts/HostPortsRequestBuilder.cs @@ -0,0 +1,244 @@ +// +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models.Security; +using Microsoft.Graph.Security.ThreatIntelligence.HostPorts.Count; +using Microsoft.Graph.Security.ThreatIntelligence.HostPorts.Item; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Security.ThreatIntelligence.HostPorts { + /// + /// Provides operations to manage the hostPorts property of the microsoft.graph.security.threatIntelligence entity. + /// + public class HostPortsRequestBuilder : BaseRequestBuilder { + /// Provides operations to count the resources in the collection. + public CountRequestBuilder Count { get => + new CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the hostPorts property of the microsoft.graph.security.threatIntelligence entity. + /// The unique identifier of hostPort + public HostPortItemRequestBuilder this[string position] { get { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("hostPort%2Did", position); + return new HostPortItemRequestBuilder(urlTplParams, RequestAdapter); + } } + /// + /// Instantiates a new HostPortsRequestBuilder and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public HostPortsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/threatIntelligence/hostPorts{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", pathParameters) { + } + /// + /// Instantiates a new HostPortsRequestBuilder and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public HostPortsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/threatIntelligence/hostPorts{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) { + } + /// + /// Read the properties and relationships of a hostPort object. + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action? requestConfiguration = default, CancellationToken cancellationToken = default) { +#nullable restore +#else + public async Task GetAsync(Action requestConfiguration = default, CancellationToken cancellationToken = default) { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> { + {"4XX", ODataError.CreateFromDiscriminatorValue}, + {"5XX", ODataError.CreateFromDiscriminatorValue}, + }; + return await RequestAdapter.SendAsync(requestInfo, HostPortCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to hostPorts for security + /// + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(HostPort body, Action? requestConfiguration = default, CancellationToken cancellationToken = default) { +#nullable restore +#else + public async Task PostAsync(HostPort body, Action requestConfiguration = default, CancellationToken cancellationToken = default) { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> { + {"4XX", ODataError.CreateFromDiscriminatorValue}, + {"5XX", ODataError.CreateFromDiscriminatorValue}, + }; + return await RequestAdapter.SendAsync(requestInfo, HostPort.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read the properties and relationships of a hostPort object. + /// + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action? requestConfiguration = default) { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action requestConfiguration = default) { +#endif + var requestInfo = new RequestInformation { + HttpMethod = Method.GET, + UrlTemplate = UrlTemplate, + PathParameters = PathParameters, + }; + if (requestConfiguration != null) { + var requestConfig = new HostPortsRequestBuilderGetRequestConfiguration(); + requestConfiguration.Invoke(requestConfig); + requestInfo.AddQueryParameters(requestConfig.QueryParameters); + requestInfo.AddRequestOptions(requestConfig.Options); + requestInfo.AddHeaders(requestConfig.Headers); + } + requestInfo.Headers.TryAdd("Accept", "application/json;q=1"); + return requestInfo; + } + /// + /// Create new navigation property to hostPorts for security + /// + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(HostPort body, Action? requestConfiguration = default) { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(HostPort body, Action requestConfiguration = default) { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation { + HttpMethod = Method.POST, + UrlTemplate = UrlTemplate, + PathParameters = PathParameters, + }; + if (requestConfiguration != null) { + var requestConfig = new HostPortsRequestBuilderPostRequestConfiguration(); + requestConfiguration.Invoke(requestConfig); + requestInfo.AddRequestOptions(requestConfig.Options); + requestInfo.AddHeaders(requestConfig.Headers); + } + requestInfo.Headers.TryAdd("Accept", "application/json;q=1"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// The raw URL to use for the request builder. + public HostPortsRequestBuilder WithUrl(string rawUrl) { + return new HostPortsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Read the properties and relationships of a hostPort object. + /// + public class HostPortsRequestBuilderGetQueryParameters { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + public class HostPortsRequestBuilderGetRequestConfiguration { + /// Request headers + public RequestHeaders Headers { get; set; } + /// Request options + public IList Options { get; set; } + /// Request query parameters + public HostPortsRequestBuilderGetQueryParameters QueryParameters { get; set; } = new HostPortsRequestBuilderGetQueryParameters(); + /// + /// Instantiates a new hostPortsRequestBuilderGetRequestConfiguration and sets the default values. + /// + public HostPortsRequestBuilderGetRequestConfiguration() { + Options = new List(); + Headers = new RequestHeaders(); + } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + public class HostPortsRequestBuilderPostRequestConfiguration { + /// Request headers + public RequestHeaders Headers { get; set; } + /// Request options + public IList Options { get; set; } + /// + /// Instantiates a new hostPortsRequestBuilderPostRequestConfiguration and sets the default values. + /// + public HostPortsRequestBuilderPostRequestConfiguration() { + Options = new List(); + Headers = new RequestHeaders(); + } + } + } +} diff --git a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/HostPorts/Item/Host/HostRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/HostPorts/Item/Host/HostRequestBuilder.cs new file mode 100644 index 00000000000..55599662759 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/HostPorts/Item/Host/HostRequestBuilder.cs @@ -0,0 +1,127 @@ +// +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models.Security; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Security.ThreatIntelligence.HostPorts.Item.Host { + /// + /// Provides operations to manage the host property of the microsoft.graph.security.hostPort entity. + /// + public class HostRequestBuilder : BaseRequestBuilder { + /// + /// Instantiates a new HostRequestBuilder and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public HostRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/threatIntelligence/hostPorts/{hostPort%2Did}/host{?%24select,%24expand}", pathParameters) { + } + /// + /// Instantiates a new HostRequestBuilder and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public HostRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/threatIntelligence/hostPorts/{hostPort%2Did}/host{?%24select,%24expand}", rawUrl) { + } + /// + /// The host related to this hostPort. This is a reverse navigation property. When you navigate to hostPorts from a host, assume that this is a return reference. + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action? requestConfiguration = default, CancellationToken cancellationToken = default) { +#nullable restore +#else + public async Task GetAsync(Action requestConfiguration = default, CancellationToken cancellationToken = default) { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> { + {"4XX", ODataError.CreateFromDiscriminatorValue}, + {"5XX", ODataError.CreateFromDiscriminatorValue}, + }; + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Security.Host.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The host related to this hostPort. This is a reverse navigation property. When you navigate to hostPorts from a host, assume that this is a return reference. + /// + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action? requestConfiguration = default) { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action requestConfiguration = default) { +#endif + var requestInfo = new RequestInformation { + HttpMethod = Method.GET, + UrlTemplate = UrlTemplate, + PathParameters = PathParameters, + }; + if (requestConfiguration != null) { + var requestConfig = new HostRequestBuilderGetRequestConfiguration(); + requestConfiguration.Invoke(requestConfig); + requestInfo.AddQueryParameters(requestConfig.QueryParameters); + requestInfo.AddRequestOptions(requestConfig.Options); + requestInfo.AddHeaders(requestConfig.Headers); + } + requestInfo.Headers.TryAdd("Accept", "application/json;q=1"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// The raw URL to use for the request builder. + public HostRequestBuilder WithUrl(string rawUrl) { + return new HostRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The host related to this hostPort. This is a reverse navigation property. When you navigate to hostPorts from a host, assume that this is a return reference. + /// + public class HostRequestBuilderGetQueryParameters { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + public class HostRequestBuilderGetRequestConfiguration { + /// Request headers + public RequestHeaders Headers { get; set; } + /// Request options + public IList Options { get; set; } + /// Request query parameters + public HostRequestBuilderGetQueryParameters QueryParameters { get; set; } = new HostRequestBuilderGetQueryParameters(); + /// + /// Instantiates a new hostRequestBuilderGetRequestConfiguration and sets the default values. + /// + public HostRequestBuilderGetRequestConfiguration() { + Options = new List(); + Headers = new RequestHeaders(); + } + } + } +} diff --git a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/HostPorts/Item/HostPortItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/HostPorts/Item/HostPortItemRequestBuilder.cs new file mode 100644 index 00000000000..8566412b262 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/HostPorts/Item/HostPortItemRequestBuilder.cs @@ -0,0 +1,263 @@ +// +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models.Security; +using Microsoft.Graph.Security.ThreatIntelligence.HostPorts.Item.Host; +using Microsoft.Graph.Security.ThreatIntelligence.HostPorts.Item.MostRecentSslCertificate; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Security.ThreatIntelligence.HostPorts.Item { + /// + /// Provides operations to manage the hostPorts property of the microsoft.graph.security.threatIntelligence entity. + /// + public class HostPortItemRequestBuilder : BaseRequestBuilder { + /// Provides operations to manage the host property of the microsoft.graph.security.hostPort entity. + public HostRequestBuilder Host { get => + new HostRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the mostRecentSslCertificate property of the microsoft.graph.security.hostPort entity. + public MostRecentSslCertificateRequestBuilder MostRecentSslCertificate { get => + new MostRecentSslCertificateRequestBuilder(PathParameters, RequestAdapter); + } + /// + /// Instantiates a new HostPortItemRequestBuilder and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public HostPortItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/threatIntelligence/hostPorts/{hostPort%2Did}{?%24select,%24expand}", pathParameters) { + } + /// + /// Instantiates a new HostPortItemRequestBuilder and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public HostPortItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/threatIntelligence/hostPorts/{hostPort%2Did}{?%24select,%24expand}", rawUrl) { + } + /// + /// Delete navigation property hostPorts for security + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action? requestConfiguration = default, CancellationToken cancellationToken = default) { +#nullable restore +#else + public async Task DeleteAsync(Action requestConfiguration = default, CancellationToken cancellationToken = default) { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> { + {"4XX", ODataError.CreateFromDiscriminatorValue}, + {"5XX", ODataError.CreateFromDiscriminatorValue}, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read the properties and relationships of a hostPort object. + /// Find more info here + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action? requestConfiguration = default, CancellationToken cancellationToken = default) { +#nullable restore +#else + public async Task GetAsync(Action requestConfiguration = default, CancellationToken cancellationToken = default) { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> { + {"4XX", ODataError.CreateFromDiscriminatorValue}, + {"5XX", ODataError.CreateFromDiscriminatorValue}, + }; + return await RequestAdapter.SendAsync(requestInfo, HostPort.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property hostPorts in security + /// + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(HostPort body, Action? requestConfiguration = default, CancellationToken cancellationToken = default) { +#nullable restore +#else + public async Task PatchAsync(HostPort body, Action requestConfiguration = default, CancellationToken cancellationToken = default) { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> { + {"4XX", ODataError.CreateFromDiscriminatorValue}, + {"5XX", ODataError.CreateFromDiscriminatorValue}, + }; + return await RequestAdapter.SendAsync(requestInfo, HostPort.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property hostPorts for security + /// + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action? requestConfiguration = default) { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action requestConfiguration = default) { +#endif + var requestInfo = new RequestInformation { + HttpMethod = Method.DELETE, + UrlTemplate = UrlTemplate, + PathParameters = PathParameters, + }; + if (requestConfiguration != null) { + var requestConfig = new HostPortItemRequestBuilderDeleteRequestConfiguration(); + requestConfiguration.Invoke(requestConfig); + requestInfo.AddRequestOptions(requestConfig.Options); + requestInfo.AddHeaders(requestConfig.Headers); + } + requestInfo.Headers.TryAdd("Accept", "application/json, application/json"); + return requestInfo; + } + /// + /// Read the properties and relationships of a hostPort object. + /// + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action? requestConfiguration = default) { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action requestConfiguration = default) { +#endif + var requestInfo = new RequestInformation { + HttpMethod = Method.GET, + UrlTemplate = UrlTemplate, + PathParameters = PathParameters, + }; + if (requestConfiguration != null) { + var requestConfig = new HostPortItemRequestBuilderGetRequestConfiguration(); + requestConfiguration.Invoke(requestConfig); + requestInfo.AddQueryParameters(requestConfig.QueryParameters); + requestInfo.AddRequestOptions(requestConfig.Options); + requestInfo.AddHeaders(requestConfig.Headers); + } + requestInfo.Headers.TryAdd("Accept", "application/json;q=1"); + return requestInfo; + } + /// + /// Update the navigation property hostPorts in security + /// + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(HostPort body, Action? requestConfiguration = default) { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(HostPort body, Action requestConfiguration = default) { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation { + HttpMethod = Method.PATCH, + UrlTemplate = UrlTemplate, + PathParameters = PathParameters, + }; + if (requestConfiguration != null) { + var requestConfig = new HostPortItemRequestBuilderPatchRequestConfiguration(); + requestConfiguration.Invoke(requestConfig); + requestInfo.AddRequestOptions(requestConfig.Options); + requestInfo.AddHeaders(requestConfig.Headers); + } + requestInfo.Headers.TryAdd("Accept", "application/json;q=1"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// The raw URL to use for the request builder. + public HostPortItemRequestBuilder WithUrl(string rawUrl) { + return new HostPortItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + public class HostPortItemRequestBuilderDeleteRequestConfiguration { + /// Request headers + public RequestHeaders Headers { get; set; } + /// Request options + public IList Options { get; set; } + /// + /// Instantiates a new HostPortItemRequestBuilderDeleteRequestConfiguration and sets the default values. + /// + public HostPortItemRequestBuilderDeleteRequestConfiguration() { + Options = new List(); + Headers = new RequestHeaders(); + } + } + /// + /// Read the properties and relationships of a hostPort object. + /// + public class HostPortItemRequestBuilderGetQueryParameters { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + public class HostPortItemRequestBuilderGetRequestConfiguration { + /// Request headers + public RequestHeaders Headers { get; set; } + /// Request options + public IList Options { get; set; } + /// Request query parameters + public HostPortItemRequestBuilderGetQueryParameters QueryParameters { get; set; } = new HostPortItemRequestBuilderGetQueryParameters(); + /// + /// Instantiates a new HostPortItemRequestBuilderGetRequestConfiguration and sets the default values. + /// + public HostPortItemRequestBuilderGetRequestConfiguration() { + Options = new List(); + Headers = new RequestHeaders(); + } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + public class HostPortItemRequestBuilderPatchRequestConfiguration { + /// Request headers + public RequestHeaders Headers { get; set; } + /// Request options + public IList Options { get; set; } + /// + /// Instantiates a new HostPortItemRequestBuilderPatchRequestConfiguration and sets the default values. + /// + public HostPortItemRequestBuilderPatchRequestConfiguration() { + Options = new List(); + Headers = new RequestHeaders(); + } + } + } +} diff --git a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/HostPorts/Item/MostRecentSslCertificate/MostRecentSslCertificateRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/HostPorts/Item/MostRecentSslCertificate/MostRecentSslCertificateRequestBuilder.cs new file mode 100644 index 00000000000..901fe2c173e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/HostPorts/Item/MostRecentSslCertificate/MostRecentSslCertificateRequestBuilder.cs @@ -0,0 +1,127 @@ +// +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models.Security; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Security.ThreatIntelligence.HostPorts.Item.MostRecentSslCertificate { + /// + /// Provides operations to manage the mostRecentSslCertificate property of the microsoft.graph.security.hostPort entity. + /// + public class MostRecentSslCertificateRequestBuilder : BaseRequestBuilder { + /// + /// Instantiates a new MostRecentSslCertificateRequestBuilder and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public MostRecentSslCertificateRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/threatIntelligence/hostPorts/{hostPort%2Did}/mostRecentSslCertificate{?%24select,%24expand}", pathParameters) { + } + /// + /// Instantiates a new MostRecentSslCertificateRequestBuilder and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public MostRecentSslCertificateRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/threatIntelligence/hostPorts/{hostPort%2Did}/mostRecentSslCertificate{?%24select,%24expand}", rawUrl) { + } + /// + /// The most recent sslCertificate used to communicate on the port. + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action? requestConfiguration = default, CancellationToken cancellationToken = default) { +#nullable restore +#else + public async Task GetAsync(Action requestConfiguration = default, CancellationToken cancellationToken = default) { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> { + {"4XX", ODataError.CreateFromDiscriminatorValue}, + {"5XX", ODataError.CreateFromDiscriminatorValue}, + }; + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Security.SslCertificate.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The most recent sslCertificate used to communicate on the port. + /// + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action? requestConfiguration = default) { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action requestConfiguration = default) { +#endif + var requestInfo = new RequestInformation { + HttpMethod = Method.GET, + UrlTemplate = UrlTemplate, + PathParameters = PathParameters, + }; + if (requestConfiguration != null) { + var requestConfig = new MostRecentSslCertificateRequestBuilderGetRequestConfiguration(); + requestConfiguration.Invoke(requestConfig); + requestInfo.AddQueryParameters(requestConfig.QueryParameters); + requestInfo.AddRequestOptions(requestConfig.Options); + requestInfo.AddHeaders(requestConfig.Headers); + } + requestInfo.Headers.TryAdd("Accept", "application/json;q=1"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// The raw URL to use for the request builder. + public MostRecentSslCertificateRequestBuilder WithUrl(string rawUrl) { + return new MostRecentSslCertificateRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The most recent sslCertificate used to communicate on the port. + /// + public class MostRecentSslCertificateRequestBuilderGetQueryParameters { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + public class MostRecentSslCertificateRequestBuilderGetRequestConfiguration { + /// Request headers + public RequestHeaders Headers { get; set; } + /// Request options + public IList Options { get; set; } + /// Request query parameters + public MostRecentSslCertificateRequestBuilderGetQueryParameters QueryParameters { get; set; } = new MostRecentSslCertificateRequestBuilderGetQueryParameters(); + /// + /// Instantiates a new mostRecentSslCertificateRequestBuilderGetRequestConfiguration and sets the default values. + /// + public MostRecentSslCertificateRequestBuilderGetRequestConfiguration() { + Options = new List(); + Headers = new RequestHeaders(); + } + } + } +} diff --git a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Hosts/Item/HostItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Hosts/Item/HostItemRequestBuilder.cs index d1546da3bda..1c82dfc5ef3 100644 --- a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Hosts/Item/HostItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Hosts/Item/HostItemRequestBuilder.cs @@ -8,6 +8,7 @@ using Microsoft.Graph.Security.ThreatIntelligence.Hosts.Item.ParentHostPairs; using Microsoft.Graph.Security.ThreatIntelligence.Hosts.Item.PassiveDns; using Microsoft.Graph.Security.ThreatIntelligence.Hosts.Item.PassiveDnsReverse; +using Microsoft.Graph.Security.ThreatIntelligence.Hosts.Item.Ports; using Microsoft.Graph.Security.ThreatIntelligence.Hosts.Item.Reputation; using Microsoft.Graph.Security.ThreatIntelligence.Hosts.Item.SslCertificates; using Microsoft.Graph.Security.ThreatIntelligence.Hosts.Item.Subdomains; @@ -54,6 +55,10 @@ public class HostItemRequestBuilder : BaseRequestBuilder { public PassiveDnsReverseRequestBuilder PassiveDnsReverse { get => new PassiveDnsReverseRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the ports property of the microsoft.graph.security.host entity. + public PortsRequestBuilder Ports { get => + new PortsRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the reputation property of the microsoft.graph.security.host entity. public ReputationRequestBuilder Reputation { get => new ReputationRequestBuilder(PathParameters, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Users/Item/Photos/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Hosts/Item/Ports/Count/CountRequestBuilder.cs similarity index 89% rename from src/Microsoft.Graph/Generated/Users/Item/Photos/Count/CountRequestBuilder.cs rename to src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Hosts/Item/Ports/Count/CountRequestBuilder.cs index e59053d935f..ab445fb0c6e 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Photos/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Hosts/Item/Ports/Count/CountRequestBuilder.cs @@ -8,7 +8,7 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Microsoft.Graph.Users.Item.Photos.Count { +namespace Microsoft.Graph.Security.ThreatIntelligence.Hosts.Item.Ports.Count { /// /// Provides operations to count the resources in the collection. /// @@ -18,14 +18,14 @@ public class CountRequestBuilder : BaseRequestBuilder { /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/photos/$count{?%24filter}", pathParameters) { + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/threatIntelligence/hosts/{host%2Did}/ports/$count{?%24search,%24filter}", pathParameters) { } /// /// Instantiates a new CountRequestBuilder and sets the default values. /// /// The raw URL to use for the request builder. /// The request adapter to use to execute the requests. - public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/photos/$count{?%24filter}", rawUrl) { + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/threatIntelligence/hosts/{host%2Did}/ports/$count{?%24search,%24filter}", rawUrl) { } /// /// Get the number of the resource @@ -92,6 +92,16 @@ public class CountRequestBuilderGetQueryParameters { #else [QueryParameter("%24filter")] public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } #endif } /// diff --git a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Hosts/Item/Ports/Item/HostPortItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Hosts/Item/Ports/Item/HostPortItemRequestBuilder.cs new file mode 100644 index 00000000000..cfd875954bb --- /dev/null +++ b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Hosts/Item/Ports/Item/HostPortItemRequestBuilder.cs @@ -0,0 +1,127 @@ +// +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models.Security; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Security.ThreatIntelligence.Hosts.Item.Ports.Item { + /// + /// Provides operations to manage the ports property of the microsoft.graph.security.host entity. + /// + public class HostPortItemRequestBuilder : BaseRequestBuilder { + /// + /// Instantiates a new HostPortItemRequestBuilder and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public HostPortItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/threatIntelligence/hosts/{host%2Did}/ports/{hostPort%2Did}{?%24select,%24expand}", pathParameters) { + } + /// + /// Instantiates a new HostPortItemRequestBuilder and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public HostPortItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/threatIntelligence/hosts/{host%2Did}/ports/{hostPort%2Did}{?%24select,%24expand}", rawUrl) { + } + /// + /// The hostPorts associated with a host. + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action? requestConfiguration = default, CancellationToken cancellationToken = default) { +#nullable restore +#else + public async Task GetAsync(Action requestConfiguration = default, CancellationToken cancellationToken = default) { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> { + {"4XX", ODataError.CreateFromDiscriminatorValue}, + {"5XX", ODataError.CreateFromDiscriminatorValue}, + }; + return await RequestAdapter.SendAsync(requestInfo, HostPort.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The hostPorts associated with a host. + /// + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action? requestConfiguration = default) { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action requestConfiguration = default) { +#endif + var requestInfo = new RequestInformation { + HttpMethod = Method.GET, + UrlTemplate = UrlTemplate, + PathParameters = PathParameters, + }; + if (requestConfiguration != null) { + var requestConfig = new HostPortItemRequestBuilderGetRequestConfiguration(); + requestConfiguration.Invoke(requestConfig); + requestInfo.AddQueryParameters(requestConfig.QueryParameters); + requestInfo.AddRequestOptions(requestConfig.Options); + requestInfo.AddHeaders(requestConfig.Headers); + } + requestInfo.Headers.TryAdd("Accept", "application/json;q=1"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// The raw URL to use for the request builder. + public HostPortItemRequestBuilder WithUrl(string rawUrl) { + return new HostPortItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The hostPorts associated with a host. + /// + public class HostPortItemRequestBuilderGetQueryParameters { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + public class HostPortItemRequestBuilderGetRequestConfiguration { + /// Request headers + public RequestHeaders Headers { get; set; } + /// Request options + public IList Options { get; set; } + /// Request query parameters + public HostPortItemRequestBuilderGetQueryParameters QueryParameters { get; set; } = new HostPortItemRequestBuilderGetQueryParameters(); + /// + /// Instantiates a new HostPortItemRequestBuilderGetRequestConfiguration and sets the default values. + /// + public HostPortItemRequestBuilderGetRequestConfiguration() { + Options = new List(); + Headers = new RequestHeaders(); + } + } + } +} diff --git a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Hosts/Item/Ports/PortsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Hosts/Item/Ports/PortsRequestBuilder.cs new file mode 100644 index 00000000000..bc77d6af57a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Hosts/Item/Ports/PortsRequestBuilder.cs @@ -0,0 +1,180 @@ +// +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models.Security; +using Microsoft.Graph.Security.ThreatIntelligence.Hosts.Item.Ports.Count; +using Microsoft.Graph.Security.ThreatIntelligence.Hosts.Item.Ports.Item; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Security.ThreatIntelligence.Hosts.Item.Ports { + /// + /// Provides operations to manage the ports property of the microsoft.graph.security.host entity. + /// + public class PortsRequestBuilder : BaseRequestBuilder { + /// Provides operations to count the resources in the collection. + public CountRequestBuilder Count { get => + new CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the ports property of the microsoft.graph.security.host entity. + /// The unique identifier of hostPort + public HostPortItemRequestBuilder this[string position] { get { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("hostPort%2Did", position); + return new HostPortItemRequestBuilder(urlTplParams, RequestAdapter); + } } + /// + /// Instantiates a new PortsRequestBuilder and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public PortsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/threatIntelligence/hosts/{host%2Did}/ports{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", pathParameters) { + } + /// + /// Instantiates a new PortsRequestBuilder and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public PortsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/threatIntelligence/hosts/{host%2Did}/ports{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) { + } + /// + /// Get the list of hostPort resources associated with a host. + /// Find more info here + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action? requestConfiguration = default, CancellationToken cancellationToken = default) { +#nullable restore +#else + public async Task GetAsync(Action requestConfiguration = default, CancellationToken cancellationToken = default) { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> { + {"4XX", ODataError.CreateFromDiscriminatorValue}, + {"5XX", ODataError.CreateFromDiscriminatorValue}, + }; + return await RequestAdapter.SendAsync(requestInfo, HostPortCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the list of hostPort resources associated with a host. + /// + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action? requestConfiguration = default) { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action requestConfiguration = default) { +#endif + var requestInfo = new RequestInformation { + HttpMethod = Method.GET, + UrlTemplate = UrlTemplate, + PathParameters = PathParameters, + }; + if (requestConfiguration != null) { + var requestConfig = new PortsRequestBuilderGetRequestConfiguration(); + requestConfiguration.Invoke(requestConfig); + requestInfo.AddQueryParameters(requestConfig.QueryParameters); + requestInfo.AddRequestOptions(requestConfig.Options); + requestInfo.AddHeaders(requestConfig.Headers); + } + requestInfo.Headers.TryAdd("Accept", "application/json;q=1"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// The raw URL to use for the request builder. + public PortsRequestBuilder WithUrl(string rawUrl) { + return new PortsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the list of hostPort resources associated with a host. + /// + public class PortsRequestBuilderGetQueryParameters { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + public class PortsRequestBuilderGetRequestConfiguration { + /// Request headers + public RequestHeaders Headers { get; set; } + /// Request options + public IList Options { get; set; } + /// Request query parameters + public PortsRequestBuilderGetQueryParameters QueryParameters { get; set; } = new PortsRequestBuilderGetQueryParameters(); + /// + /// Instantiates a new portsRequestBuilderGetRequestConfiguration and sets the default values. + /// + public PortsRequestBuilderGetRequestConfiguration() { + Options = new List(); + Headers = new RequestHeaders(); + } + } + } +} diff --git a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/ThreatIntelligenceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/ThreatIntelligenceRequestBuilder.cs index 82a91e4546d..c1d30986ec7 100644 --- a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/ThreatIntelligenceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/ThreatIntelligenceRequestBuilder.cs @@ -6,6 +6,7 @@ using Microsoft.Graph.Security.ThreatIntelligence.HostComponents; using Microsoft.Graph.Security.ThreatIntelligence.HostCookies; using Microsoft.Graph.Security.ThreatIntelligence.HostPairs; +using Microsoft.Graph.Security.ThreatIntelligence.HostPorts; using Microsoft.Graph.Security.ThreatIntelligence.HostSslCertificates; using Microsoft.Graph.Security.ThreatIntelligence.HostTrackers; using Microsoft.Graph.Security.ThreatIntelligence.Hosts; @@ -50,6 +51,10 @@ public class ThreatIntelligenceRequestBuilder : BaseRequestBuilder { public HostPairsRequestBuilder HostPairs { get => new HostPairsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the hostPorts property of the microsoft.graph.security.threatIntelligence entity. + public HostPortsRequestBuilder HostPorts { get => + new HostPortsRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the hosts property of the microsoft.graph.security.threatIntelligence entity. public HostsRequestBuilder Hosts { get => new HostsRequestBuilder(PathParameters, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/RemoteDesktopSecurityConfiguration/RemoteDesktopSecurityConfigurationRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/RemoteDesktopSecurityConfiguration/RemoteDesktopSecurityConfigurationRequestBuilder.cs index 8beddf52690..a51e654fb81 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/RemoteDesktopSecurityConfiguration/RemoteDesktopSecurityConfigurationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/RemoteDesktopSecurityConfiguration/RemoteDesktopSecurityConfigurationRequestBuilder.cs @@ -34,7 +34,8 @@ public RemoteDesktopSecurityConfigurationRequestBuilder(Dictionary - /// Delete navigation property remoteDesktopSecurityConfiguration for servicePrincipals + /// Delete a remoteDesktopSecurityConfiguration object on a servicePrincipal. Removing remoteDesktopSecurityConfiguration object on the servicePrincipal disables the Microsoft Entra ID Remote Desktop Services (RDS) authentication protocol to authenticate a user to Microsoft Entra joined or Microsoft Entra hybrid joined devices, and removes any target device groups that you configured for SSO. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -53,7 +54,8 @@ public async Task DeleteAsync(Action - /// Get remoteDesktopSecurityConfiguration from servicePrincipals + /// Read the properties and relationships of a remoteDesktopSecurityConfiguration object on a servicePrincipal. Use this configuration to view the Microsoft Entra ID Remote Desktop Services (RDS) authentication protocol to authenticate a user to Microsoft Entra joined or Microsoft Entra hybrid joined devices. Additionally you can view any targetDeviceGroups that have been configured for SSO. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -72,7 +74,8 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.RemoteDesktopSecurityConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the navigation property remoteDesktopSecurityConfiguration in servicePrincipals + /// Update the properties of a remoteDesktopSecurityConfiguration object on the servicePrincipal. Use this configuration to enable or disable the Microsoft Entra ID Remote Desktop Services (RDS) authentication protocol to authenticate a user to Microsoft Entra joined or Microsoft Entra hybrid joined devices. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -93,7 +96,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.RemoteDesktopSecurityConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Delete navigation property remoteDesktopSecurityConfiguration for servicePrincipals + /// Delete a remoteDesktopSecurityConfiguration object on a servicePrincipal. Removing remoteDesktopSecurityConfiguration object on the servicePrincipal disables the Microsoft Entra ID Remote Desktop Services (RDS) authentication protocol to authenticate a user to Microsoft Entra joined or Microsoft Entra hybrid joined devices, and removes any target device groups that you configured for SSO. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -118,7 +121,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get remoteDesktopSecurityConfiguration from servicePrincipals + /// Read the properties and relationships of a remoteDesktopSecurityConfiguration object on a servicePrincipal. Use this configuration to view the Microsoft Entra ID Remote Desktop Services (RDS) authentication protocol to authenticate a user to Microsoft Entra joined or Microsoft Entra hybrid joined devices. Additionally you can view any targetDeviceGroups that have been configured for SSO. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -144,7 +147,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the navigation property remoteDesktopSecurityConfiguration in servicePrincipals + /// Update the properties of a remoteDesktopSecurityConfiguration object on the servicePrincipal. Use this configuration to enable or disable the Microsoft Entra ID Remote Desktop Services (RDS) authentication protocol to authenticate a user to Microsoft Entra joined or Microsoft Entra hybrid joined devices. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. @@ -195,7 +198,7 @@ public RemoteDesktopSecurityConfigurationRequestBuilderDeleteRequestConfiguratio } } /// - /// Get remoteDesktopSecurityConfiguration from servicePrincipals + /// Read the properties and relationships of a remoteDesktopSecurityConfiguration object on a servicePrincipal. Use this configuration to view the Microsoft Entra ID Remote Desktop Services (RDS) authentication protocol to authenticate a user to Microsoft Entra joined or Microsoft Entra hybrid joined devices. Additionally you can view any targetDeviceGroups that have been configured for SSO. /// public class RemoteDesktopSecurityConfigurationRequestBuilderGetQueryParameters { /// Expand related entities diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/RemoteDesktopSecurityConfiguration/TargetDeviceGroups/Item/TargetDeviceGroupItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/RemoteDesktopSecurityConfiguration/TargetDeviceGroups/Item/TargetDeviceGroupItemRequestBuilder.cs index a2df076c25a..be0204f792d 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/RemoteDesktopSecurityConfiguration/TargetDeviceGroups/Item/TargetDeviceGroupItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/RemoteDesktopSecurityConfiguration/TargetDeviceGroups/Item/TargetDeviceGroupItemRequestBuilder.cs @@ -29,7 +29,8 @@ public TargetDeviceGroupItemRequestBuilder(Dictionary pathParame public TargetDeviceGroupItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/remoteDesktopSecurityConfiguration/targetDeviceGroups/{targetDeviceGroup%2Did}{?%24select,%24expand}", rawUrl) { } /// - /// Delete navigation property targetDeviceGroups for servicePrincipals + /// Delete a targetDeviceGroup object for the remoteDesktopSecurityConfiguration object on the servicePrincipal. Any user authenticating using the Microsoft Entra ID Remote Desktop Services (RDS) authentication protocol to a Microsoft Entra joined or Microsoft Entra hybrid joined device that's in the removed targetDeviceGroup doesn't get SSO prompts. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -48,7 +49,8 @@ public async Task DeleteAsync(Action - /// Get targetDeviceGroups from servicePrincipals + /// Read the properties and relationships of a targetDeviceGroup object for the remoteDesktopSecurityConfiguration object on the servicePrincipal. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -67,7 +69,8 @@ public async Task GetAsync(Action(requestInfo, TargetDeviceGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the navigation property targetDeviceGroups in servicePrincipals + /// Update the properties of a targetDeviceGroup object for remoteDesktopSecurityConfiguration object on the servicePrincipal. You can configure a maximum of 10 target device groups for the remoteDesktopSecurityConfiguraiton object on the servicePrincipal. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -88,7 +91,7 @@ public async Task PatchAsync(TargetDeviceGroup body, Action(requestInfo, TargetDeviceGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Delete navigation property targetDeviceGroups for servicePrincipals + /// Delete a targetDeviceGroup object for the remoteDesktopSecurityConfiguration object on the servicePrincipal. Any user authenticating using the Microsoft Entra ID Remote Desktop Services (RDS) authentication protocol to a Microsoft Entra joined or Microsoft Entra hybrid joined device that's in the removed targetDeviceGroup doesn't get SSO prompts. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -113,7 +116,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get targetDeviceGroups from servicePrincipals + /// Read the properties and relationships of a targetDeviceGroup object for the remoteDesktopSecurityConfiguration object on the servicePrincipal. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -139,7 +142,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the navigation property targetDeviceGroups in servicePrincipals + /// Update the properties of a targetDeviceGroup object for remoteDesktopSecurityConfiguration object on the servicePrincipal. You can configure a maximum of 10 target device groups for the remoteDesktopSecurityConfiguraiton object on the servicePrincipal. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. @@ -190,7 +193,7 @@ public TargetDeviceGroupItemRequestBuilderDeleteRequestConfiguration() { } } /// - /// Get targetDeviceGroups from servicePrincipals + /// Read the properties and relationships of a targetDeviceGroup object for the remoteDesktopSecurityConfiguration object on the servicePrincipal. /// public class TargetDeviceGroupItemRequestBuilderGetQueryParameters { /// Expand related entities diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/RemoteDesktopSecurityConfiguration/TargetDeviceGroups/TargetDeviceGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/RemoteDesktopSecurityConfiguration/TargetDeviceGroups/TargetDeviceGroupsRequestBuilder.cs index 3fb162e6d97..794bd4c8515 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/RemoteDesktopSecurityConfiguration/TargetDeviceGroups/TargetDeviceGroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/RemoteDesktopSecurityConfiguration/TargetDeviceGroups/TargetDeviceGroupsRequestBuilder.cs @@ -42,7 +42,8 @@ public TargetDeviceGroupsRequestBuilder(Dictionary pathParameter public TargetDeviceGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/remoteDesktopSecurityConfiguration/targetDeviceGroups{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) { } /// - /// Get targetDeviceGroups from servicePrincipals + /// Get a list of the targetDeviceGroup objects and their properties on the remoteDesktopSecurityConfiguration resource on the servicePrincipal. Any user authenticating using the Microsoft Entra ID Remote Desktop Services (RDS) authentication protocol to a Microsoft Entra joined or Microsoft Entra hybrid joined device that belongs to the targetDeviceGroup will get SSO. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -61,7 +62,8 @@ public async Task GetAsync(Action(requestInfo, TargetDeviceGroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create new navigation property to targetDeviceGroups for servicePrincipals + /// Create a new targetDeviceGroup object for the remoteDesktopSecurityConfiguration object on the servicePrincipal. You can configure a maximum of 10 target device groups for the remoteDesktopSecurityConfiguraiton object on the servicePrincipal. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -82,7 +84,7 @@ public async Task PostAsync(TargetDeviceGroup body, Action(requestInfo, TargetDeviceGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get targetDeviceGroups from servicePrincipals + /// Get a list of the targetDeviceGroup objects and their properties on the remoteDesktopSecurityConfiguration resource on the servicePrincipal. Any user authenticating using the Microsoft Entra ID Remote Desktop Services (RDS) authentication protocol to a Microsoft Entra joined or Microsoft Entra hybrid joined device that belongs to the targetDeviceGroup will get SSO. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -108,7 +110,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create new navigation property to targetDeviceGroups for servicePrincipals + /// Create a new targetDeviceGroup object for the remoteDesktopSecurityConfiguration object on the servicePrincipal. You can configure a maximum of 10 target device groups for the remoteDesktopSecurityConfiguraiton object on the servicePrincipal. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. @@ -143,7 +145,7 @@ public TargetDeviceGroupsRequestBuilder WithUrl(string rawUrl) { return new TargetDeviceGroupsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Get targetDeviceGroups from servicePrincipals + /// Get a list of the targetDeviceGroup objects and their properties on the remoteDesktopSecurityConfiguration resource on the servicePrincipal. Any user authenticating using the Microsoft Entra ID Remote Desktop Services (RDS) authentication protocol to a Microsoft Entra joined or Microsoft Entra hybrid joined device that belongs to the targetDeviceGroup will get SSO. /// public class TargetDeviceGroupsRequestBuilderGetQueryParameters { /// Include count of items diff --git a/src/Microsoft.Graph/Generated/Sites/SitesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/SitesRequestBuilder.cs index d7ef1d5de2e..28c6e0f7fe3 100644 --- a/src/Microsoft.Graph/Generated/Sites/SitesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/SitesRequestBuilder.cs @@ -62,8 +62,8 @@ public SitesRequestBuilder(Dictionary pathParameters, IRequestAd public SitesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/sites{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) { } /// - /// List all available [sites][] in an organization. Specific filter criteria and query options are also supported and described below: In addition, you can use a [$search][] query against the /sites collection to find sites matching given keywords.If you want to list all sites across all geographies, refer to getAllSites][]. For more guidance about building applications that use site discovery for scanning purposes, see [Best practices for discovering files and detecting changes at scale. This API is available in the following national cloud deployments. - /// Find more info here + /// Search across a SharePoint tenant for sites][] that match keywords provided. The only property that works for sorting is createdDateTime. The search filter is a free text search that uses multiple properties when retrieving the search results. This API is available in the following [national cloud deployments. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -82,7 +82,7 @@ public async Task GetAsync(Action(requestInfo, SiteCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List all available [sites][] in an organization. Specific filter criteria and query options are also supported and described below: In addition, you can use a [$search][] query against the /sites collection to find sites matching given keywords.If you want to list all sites across all geographies, refer to getAllSites][]. For more guidance about building applications that use site discovery for scanning purposes, see [Best practices for discovering files and detecting changes at scale. This API is available in the following national cloud deployments. + /// Search across a SharePoint tenant for sites][] that match keywords provided. The only property that works for sorting is createdDateTime. The search filter is a free text search that uses multiple properties when retrieving the search results. This API is available in the following [national cloud deployments. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -115,7 +115,7 @@ public SitesRequestBuilder WithUrl(string rawUrl) { return new SitesRequestBuilder(rawUrl, RequestAdapter); } /// - /// List all available [sites][] in an organization. Specific filter criteria and query options are also supported and described below: In addition, you can use a [$search][] query against the /sites collection to find sites matching given keywords.If you want to list all sites across all geographies, refer to getAllSites][]. For more guidance about building applications that use site discovery for scanning purposes, see [Best practices for discovering files and detecting changes at scale. This API is available in the following national cloud deployments. + /// Search across a SharePoint tenant for sites][] that match keywords provided. The only property that works for sorting is createdDateTime. The search filter is a free text search that uses multiple properties when retrieving the search results. This API is available in the following [national cloud deployments. /// public class SitesRequestBuilderGetQueryParameters { /// Include count of items diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.cs index f5dc66af235..41369139edf 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.cs @@ -29,8 +29,8 @@ public ConversationMemberItemRequestBuilder(Dictionary pathParam public ConversationMemberItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/channels/{channel%2Did}/members/{conversationMember%2Did}{?%24select,%24expand}", rawUrl) { } /// - /// Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. - /// Find more info here + /// Delete a conversationMember from a channel. This API is available in the following national cloud deployments. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -91,7 +91,7 @@ public async Task PatchAsync(ConversationMember body, Action return await RequestAdapter.SendAsync(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. + /// Delete a conversationMember from a channel. This API is available in the following national cloud deployments. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs index 596a8c1cb7f..413a9746d16 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs @@ -42,7 +42,7 @@ public HostedContentsRequestBuilder(Dictionary pathParameters, I public HostedContentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/channels/{channel%2Did}/messages/{chatMessage%2Did}/hostedContents{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) { } /// - /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. /// Find more info here /// /// Cancellation token to use when cancelling requests @@ -83,7 +83,7 @@ public async Task PostAsync(ChatMessageHostedContent b return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -144,7 +144,7 @@ public HostedContentsRequestBuilder WithUrl(string rawUrl) { return new HostedContentsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. /// public class HostedContentsRequestBuilderGetQueryParameters { /// Include count of items diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs index 35d2d52c7cb..fbc44ac3a17 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs @@ -42,7 +42,7 @@ public HostedContentsRequestBuilder(Dictionary pathParameters, I public HostedContentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/channels/{channel%2Did}/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/hostedContents{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) { } /// - /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. /// Find more info here /// /// Cancellation token to use when cancelling requests @@ -83,7 +83,7 @@ public async Task PostAsync(ChatMessageHostedContent b return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -144,7 +144,7 @@ public HostedContentsRequestBuilder WithUrl(string rawUrl) { return new HostedContentsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. /// public class HostedContentsRequestBuilderGetQueryParameters { /// Include count of items diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.cs index e08b3229c1c..342e283659d 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.cs @@ -67,8 +67,8 @@ public async Task GetAsync(Action(requestInfo, ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Send a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. - /// Find more info here + /// Create a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -115,7 +115,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Send a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. + /// Create a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/MessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/MessagesRequestBuilder.cs index 38219f3c6fa..1b2fa355081 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/MessagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/MessagesRequestBuilder.cs @@ -67,8 +67,8 @@ public async Task GetAsync(Action(requestInfo, ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Send a new chatMessage in the specified channel. This API is available in the following national cloud deployments. - /// Find more info here + /// Send a new chatMessage in the specified channel or a chat. This API is available in the following national cloud deployments. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -115,7 +115,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Send a new chatMessage in the specified channel. This API is available in the following national cloud deployments. + /// Send a new chatMessage in the specified channel or a chat. This API is available in the following national cloud deployments. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Members/Item/ConversationMemberItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Members/Item/ConversationMemberItemRequestBuilder.cs index 5d72b4449d7..4e5bc5d947c 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Members/Item/ConversationMemberItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Members/Item/ConversationMemberItemRequestBuilder.cs @@ -29,8 +29,8 @@ public ConversationMemberItemRequestBuilder(Dictionary pathParam public ConversationMemberItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/primaryChannel/members/{conversationMember%2Did}{?%24select,%24expand}", rawUrl) { } /// - /// Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. - /// Find more info here + /// Delete a conversationMember from a channel. This API is available in the following national cloud deployments. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -91,7 +91,7 @@ public async Task PatchAsync(ConversationMember body, Action return await RequestAdapter.SendAsync(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. + /// Delete a conversationMember from a channel. This API is available in the following national cloud deployments. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs index 39f338cc012..6c7a0eaefea 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs @@ -42,7 +42,7 @@ public HostedContentsRequestBuilder(Dictionary pathParameters, I public HostedContentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/primaryChannel/messages/{chatMessage%2Did}/hostedContents{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) { } /// - /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. /// Find more info here /// /// Cancellation token to use when cancelling requests @@ -83,7 +83,7 @@ public async Task PostAsync(ChatMessageHostedContent b return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -144,7 +144,7 @@ public HostedContentsRequestBuilder WithUrl(string rawUrl) { return new HostedContentsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. /// public class HostedContentsRequestBuilderGetQueryParameters { /// Include count of items diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs index f2fe4d69769..b4dd7008df6 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs @@ -42,7 +42,7 @@ public HostedContentsRequestBuilder(Dictionary pathParameters, I public HostedContentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/primaryChannel/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/hostedContents{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) { } /// - /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. /// Find more info here /// /// Cancellation token to use when cancelling requests @@ -83,7 +83,7 @@ public async Task PostAsync(ChatMessageHostedContent b return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -144,7 +144,7 @@ public HostedContentsRequestBuilder WithUrl(string rawUrl) { return new HostedContentsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. /// public class HostedContentsRequestBuilderGetQueryParameters { /// Include count of items diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilder.cs index 23b1a9934e4..ecde84fddea 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilder.cs @@ -67,8 +67,8 @@ public async Task GetAsync(Action(requestInfo, ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Send a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. - /// Find more info here + /// Create a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -115,7 +115,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Send a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. + /// Create a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/MessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/MessagesRequestBuilder.cs index 7eeca056a2b..fe623e8d7c9 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/MessagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/MessagesRequestBuilder.cs @@ -67,8 +67,8 @@ public async Task GetAsync(Action(requestInfo, ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Send a new chatMessage in the specified channel. This API is available in the following national cloud deployments. - /// Find more info here + /// Send a new chatMessage in the specified channel or a chat. This API is available in the following national cloud deployments. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -115,7 +115,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Send a new chatMessage in the specified channel. This API is available in the following national cloud deployments. + /// Send a new chatMessage in the specified channel or a chat. This API is available in the following national cloud deployments. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.cs index 1927a7d8213..4a2b89db9f5 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.cs @@ -29,8 +29,8 @@ public ConversationMemberItemRequestBuilder(Dictionary pathParam public ConversationMemberItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/{channel%2Did}/members/{conversationMember%2Did}{?%24select,%24expand}", rawUrl) { } /// - /// Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. - /// Find more info here + /// Delete a conversationMember from a channel. This API is available in the following national cloud deployments. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -91,7 +91,7 @@ public async Task PatchAsync(ConversationMember body, Action return await RequestAdapter.SendAsync(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. + /// Delete a conversationMember from a channel. This API is available in the following national cloud deployments. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs index 18bd13a3362..411f50f0957 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs @@ -42,7 +42,7 @@ public HostedContentsRequestBuilder(Dictionary pathParameters, I public HostedContentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/{channel%2Did}/messages/{chatMessage%2Did}/hostedContents{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) { } /// - /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. /// Find more info here /// /// Cancellation token to use when cancelling requests @@ -83,7 +83,7 @@ public async Task PostAsync(ChatMessageHostedContent b return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -144,7 +144,7 @@ public HostedContentsRequestBuilder WithUrl(string rawUrl) { return new HostedContentsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. /// public class HostedContentsRequestBuilderGetQueryParameters { /// Include count of items diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs index 0e312a09007..dfb68d6e41d 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs @@ -42,7 +42,7 @@ public HostedContentsRequestBuilder(Dictionary pathParameters, I public HostedContentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/{channel%2Did}/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/hostedContents{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) { } /// - /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. /// Find more info here /// /// Cancellation token to use when cancelling requests @@ -83,7 +83,7 @@ public async Task PostAsync(ChatMessageHostedContent b return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -144,7 +144,7 @@ public HostedContentsRequestBuilder WithUrl(string rawUrl) { return new HostedContentsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. /// public class HostedContentsRequestBuilderGetQueryParameters { /// Include count of items diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.cs index d8670edbb2f..bc3d216c79d 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.cs @@ -67,8 +67,8 @@ public async Task GetAsync(Action(requestInfo, ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Send a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. - /// Find more info here + /// Create a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -115,7 +115,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Send a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. + /// Create a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/MessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/MessagesRequestBuilder.cs index 83aaf12820d..0d32f298726 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/MessagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/MessagesRequestBuilder.cs @@ -67,8 +67,8 @@ public async Task GetAsync(Action(requestInfo, ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Send a new chatMessage in the specified channel. This API is available in the following national cloud deployments. - /// Find more info here + /// Send a new chatMessage in the specified channel or a chat. This API is available in the following national cloud deployments. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -115,7 +115,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Send a new chatMessage in the specified channel. This API is available in the following national cloud deployments. + /// Send a new chatMessage in the specified channel or a chat. This API is available in the following national cloud deployments. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/TenantRelationships/DelegatedAdminRelationships/Item/DelegatedAdminRelationshipItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/TenantRelationships/DelegatedAdminRelationships/Item/DelegatedAdminRelationshipItemRequestBuilder.cs index af0c6ab0496..9d9e8cb555c 100644 --- a/src/Microsoft.Graph/Generated/TenantRelationships/DelegatedAdminRelationships/Item/DelegatedAdminRelationshipItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/TenantRelationships/DelegatedAdminRelationships/Item/DelegatedAdminRelationshipItemRequestBuilder.cs @@ -84,7 +84,7 @@ public async Task GetAsync(Action(requestInfo, DelegatedAdminRelationship.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the properties of a delegatedAdminRelationship object. A relationship can only be updated if it's in the created status. This API is available in the following national cloud deployments. + /// Update the properties of a delegatedAdminRelationship object. You can only update a relationship when it's in the created status. However, you can update the autoExtendDuration property when the relationship is in either the created or active status. This API is available in the following national cloud deployments. /// Find more info here /// /// The request body @@ -157,7 +157,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of a delegatedAdminRelationship object. A relationship can only be updated if it's in the created status. This API is available in the following national cloud deployments. + /// Update the properties of a delegatedAdminRelationship object. You can only update a relationship when it's in the created status. However, you can update the autoExtendDuration property when the relationship is in either the created or active status. This API is available in the following national cloud deployments. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs index e5032d3ba99..f54996144f4 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs @@ -67,8 +67,8 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. - /// Find more info here + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -115,7 +115,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs index 662bcfa23d1..928cbe269bc 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs @@ -67,8 +67,8 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. - /// Find more info here + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -115,7 +115,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Attachments/AttachmentsRequestBuilder.cs index 3ccfe85ffd9..b6e6703f703 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Attachments/AttachmentsRequestBuilder.cs @@ -67,8 +67,8 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. - /// Find more info here + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -115,7 +115,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs index 2e8c60c3326..1b69f3e92da 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs @@ -67,8 +67,8 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. - /// Find more info here + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -115,7 +115,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs index 47d62b3b066..08624ec5924 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs @@ -67,8 +67,8 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. - /// Find more info here + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -115,7 +115,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs index 2ac9a6d1b3d..533de281b6f 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs @@ -67,8 +67,8 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. - /// Find more info here + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -115,7 +115,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/AttachmentsRequestBuilder.cs index 9df7ccc6fff..5605b3df605 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/AttachmentsRequestBuilder.cs @@ -67,8 +67,8 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. - /// Find more info here + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -115,7 +115,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs index 8967cfcdfa7..3d74330e1d2 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs @@ -67,8 +67,8 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. - /// Find more info here + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -115,7 +115,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs index 889746d24b8..7f8a77865ed 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs @@ -67,8 +67,8 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. - /// Find more info here + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -115,7 +115,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs index 5cdf2bda807..bf12d12badd 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs @@ -67,8 +67,8 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. - /// Find more info here + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -115,7 +115,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs index 39b4ef2dd89..9454aae6ba8 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs @@ -67,8 +67,8 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. - /// Find more info here + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -115,7 +115,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs index 886169f5954..9feddf54ec3 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs @@ -67,8 +67,8 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. - /// Find more info here + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -115,7 +115,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Attachments/AttachmentsRequestBuilder.cs index 5762f6494e2..e27d4d4fda1 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Attachments/AttachmentsRequestBuilder.cs @@ -67,8 +67,8 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. - /// Find more info here + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -115,7 +115,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs index 183c7ce76f1..063531da3cc 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs @@ -67,8 +67,8 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. - /// Find more info here + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -115,7 +115,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs index 010524fa49a..fe40328b96e 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs @@ -42,7 +42,7 @@ public HostedContentsRequestBuilder(Dictionary pathParameters, I public HostedContentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/chats/{chat%2Did}/messages/{chatMessage%2Did}/hostedContents{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) { } /// - /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. /// Find more info here /// /// Cancellation token to use when cancelling requests @@ -83,7 +83,7 @@ public async Task PostAsync(ChatMessageHostedContent b return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -144,7 +144,7 @@ public HostedContentsRequestBuilder WithUrl(string rawUrl) { return new HostedContentsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. /// public class HostedContentsRequestBuilderGetQueryParameters { /// Include count of items diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs index a6664f6e754..fcd2c792390 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs @@ -42,7 +42,7 @@ public HostedContentsRequestBuilder(Dictionary pathParameters, I public HostedContentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/chats/{chat%2Did}/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/hostedContents{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) { } /// - /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. /// Find more info here /// /// Cancellation token to use when cancelling requests @@ -83,7 +83,7 @@ public async Task PostAsync(ChatMessageHostedContent b return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -144,7 +144,7 @@ public HostedContentsRequestBuilder WithUrl(string rawUrl) { return new HostedContentsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. /// public class HostedContentsRequestBuilderGetQueryParameters { /// Include count of items diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/Replies/RepliesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/Replies/RepliesRequestBuilder.cs index 10619e891d3..0038cd683a4 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/Replies/RepliesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/Replies/RepliesRequestBuilder.cs @@ -67,8 +67,8 @@ public async Task GetAsync(Action(requestInfo, ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Send a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. - /// Find more info here + /// Create a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -115,7 +115,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Send a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. + /// Create a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Events/EventsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Events/EventsRequestBuilder.cs index 7f7fa89d817..33e81d25b6e 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Events/EventsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Events/EventsRequestBuilder.cs @@ -67,8 +67,8 @@ public async Task GetAsync(Action(requestInfo, EventCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create one or more single-value extended properties in a new or existing instance of a resource. The following user resources are supported: The following group resources: See Extended properties overview for more information about when to useopen extensions or extended properties, and how to specify extended properties. This API is available in the following national cloud deployments. - /// Find more info here + /// Create an event in the user's default calendar or specified calendar. By default, the allowNewTimeProposals property is set to true when an event is created, which means invitees can propose a different date/time for the event. See Propose new meeting times for more information on how to propose a time, and how to receive and accept a new time proposal. You can specify the time zone for each of the start and end times of the event as part of their values, because the start and end properties are of dateTimeTimeZone type. First find the supported time zones to make sure you set only time zones that have been configured for the user's mailbox server. When an event is sent, the server sends invitations to all the attendees. Setting the location in an event An Exchange administrator can set up a mailbox and an email address for a resource such as a meeting room, or equipment like a projector. Users can then invite the resource as an attendee to a meeting. On behalf of the resource, the server accepts or rejects the meeting request based on the free/busy schedule of the resource. If the server accepts a meeting for the resource, it creates an event for the meeting in the resource's calendar. If the meeting is rescheduled, the server automatically updates the event in the resource's calendar. Another advantage of setting up a mailbox for a resource is to control scheduling of the resource, for example, only executivesor their delegates can book a private meeting room. If you're organizing an event that involves a meeting location: Additionally, if the meeting location has been set up as a resource, or if the event involves some equipment that has been set up as a resource: This API is available in the following national cloud deployments. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -115,7 +115,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create one or more single-value extended properties in a new or existing instance of a resource. The following user resources are supported: The following group resources: See Extended properties overview for more information about when to useopen extensions or extended properties, and how to specify extended properties. This API is available in the following national cloud deployments. + /// Create an event in the user's default calendar or specified calendar. By default, the allowNewTimeProposals property is set to true when an event is created, which means invitees can propose a different date/time for the event. See Propose new meeting times for more information on how to propose a time, and how to receive and accept a new time proposal. You can specify the time zone for each of the start and end times of the event as part of their values, because the start and end properties are of dateTimeTimeZone type. First find the supported time zones to make sure you set only time zones that have been configured for the user's mailbox server. When an event is sent, the server sends invitations to all the attendees. Setting the location in an event An Exchange administrator can set up a mailbox and an email address for a resource such as a meeting room, or equipment like a projector. Users can then invite the resource as an attendee to a meeting. On behalf of the resource, the server accepts or rejects the meeting request based on the free/busy schedule of the resource. If the server accepts a meeting for the resource, it creates an event for the meeting in the resource's calendar. If the meeting is rescheduled, the server automatically updates the event in the resource's calendar. Another advantage of setting up a mailbox for a resource is to control scheduling of the resource, for example, only executivesor their delegates can book a private meeting room. If you're organizing an event that involves a meeting location: Additionally, if the meeting location has been set up as a resource, or if the event involves some equipment that has been set up as a resource: This API is available in the following national cloud deployments. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Attachments/AttachmentsRequestBuilder.cs index 423b9b97c60..a2e7363aaf4 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Attachments/AttachmentsRequestBuilder.cs @@ -67,8 +67,8 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. - /// Find more info here + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -115,7 +115,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs index 96d36d09ecb..badc586934a 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs @@ -67,8 +67,8 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. - /// Find more info here + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -115,7 +115,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.cs index 978d4fee797..2ef82cfcc10 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.cs @@ -29,8 +29,8 @@ public ConversationMemberItemRequestBuilder(Dictionary pathParam public ConversationMemberItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/channels/{channel%2Did}/members/{conversationMember%2Did}{?%24select,%24expand}", rawUrl) { } /// - /// Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. - /// Find more info here + /// Delete a conversationMember from a channel. This API is available in the following national cloud deployments. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -91,7 +91,7 @@ public async Task PatchAsync(ConversationMember body, Action return await RequestAdapter.SendAsync(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. + /// Delete a conversationMember from a channel. This API is available in the following national cloud deployments. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs index 6de00ba5ea3..1fce64cb868 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs @@ -42,7 +42,7 @@ public HostedContentsRequestBuilder(Dictionary pathParameters, I public HostedContentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/channels/{channel%2Did}/messages/{chatMessage%2Did}/hostedContents{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) { } /// - /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. /// Find more info here /// /// Cancellation token to use when cancelling requests @@ -83,7 +83,7 @@ public async Task PostAsync(ChatMessageHostedContent b return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -144,7 +144,7 @@ public HostedContentsRequestBuilder WithUrl(string rawUrl) { return new HostedContentsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. /// public class HostedContentsRequestBuilderGetQueryParameters { /// Include count of items diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs index 63c02b3a067..41f26d37a61 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs @@ -42,7 +42,7 @@ public HostedContentsRequestBuilder(Dictionary pathParameters, I public HostedContentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/channels/{channel%2Did}/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/hostedContents{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) { } /// - /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. /// Find more info here /// /// Cancellation token to use when cancelling requests @@ -83,7 +83,7 @@ public async Task PostAsync(ChatMessageHostedContent b return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -144,7 +144,7 @@ public HostedContentsRequestBuilder WithUrl(string rawUrl) { return new HostedContentsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. /// public class HostedContentsRequestBuilderGetQueryParameters { /// Include count of items diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.cs index d381a9d28d1..696739ee0b3 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.cs @@ -67,8 +67,8 @@ public async Task GetAsync(Action(requestInfo, ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Send a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. - /// Find more info here + /// Create a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -115,7 +115,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Send a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. + /// Create a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/MessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/MessagesRequestBuilder.cs index ee93a063dde..d2e470d669f 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/MessagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/MessagesRequestBuilder.cs @@ -67,8 +67,8 @@ public async Task GetAsync(Action(requestInfo, ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Send a new chatMessage in the specified channel. This API is available in the following national cloud deployments. - /// Find more info here + /// Send a new chatMessage in the specified channel or a chat. This API is available in the following national cloud deployments. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -115,7 +115,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Send a new chatMessage in the specified channel. This API is available in the following national cloud deployments. + /// Send a new chatMessage in the specified channel or a chat. This API is available in the following national cloud deployments. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Members/Item/ConversationMemberItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Members/Item/ConversationMemberItemRequestBuilder.cs index 3d62bc0b1e2..63807cbb561 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Members/Item/ConversationMemberItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Members/Item/ConversationMemberItemRequestBuilder.cs @@ -29,8 +29,8 @@ public ConversationMemberItemRequestBuilder(Dictionary pathParam public ConversationMemberItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/primaryChannel/members/{conversationMember%2Did}{?%24select,%24expand}", rawUrl) { } /// - /// Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. - /// Find more info here + /// Delete a conversationMember from a channel. This API is available in the following national cloud deployments. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -91,7 +91,7 @@ public async Task PatchAsync(ConversationMember body, Action return await RequestAdapter.SendAsync(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. + /// Delete a conversationMember from a channel. This API is available in the following national cloud deployments. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs index d1d4a86c425..99a9a20b215 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs @@ -42,7 +42,7 @@ public HostedContentsRequestBuilder(Dictionary pathParameters, I public HostedContentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/primaryChannel/messages/{chatMessage%2Did}/hostedContents{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) { } /// - /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. /// Find more info here /// /// Cancellation token to use when cancelling requests @@ -83,7 +83,7 @@ public async Task PostAsync(ChatMessageHostedContent b return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -144,7 +144,7 @@ public HostedContentsRequestBuilder WithUrl(string rawUrl) { return new HostedContentsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. /// public class HostedContentsRequestBuilderGetQueryParameters { /// Include count of items diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs index 6b2b456bc69..98ef37fa77e 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs @@ -42,7 +42,7 @@ public HostedContentsRequestBuilder(Dictionary pathParameters, I public HostedContentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/primaryChannel/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/hostedContents{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) { } /// - /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. /// Find more info here /// /// Cancellation token to use when cancelling requests @@ -83,7 +83,7 @@ public async Task PostAsync(ChatMessageHostedContent b return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -144,7 +144,7 @@ public HostedContentsRequestBuilder WithUrl(string rawUrl) { return new HostedContentsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. + /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. /// public class HostedContentsRequestBuilderGetQueryParameters { /// Include count of items diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilder.cs index 2edcdb575c2..a2d125a74ee 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilder.cs @@ -67,8 +67,8 @@ public async Task GetAsync(Action(requestInfo, ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Send a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. - /// Find more info here + /// Create a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -115,7 +115,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Send a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. + /// Create a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/MessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/MessagesRequestBuilder.cs index 63e4766dc11..f1cecdff483 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/MessagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/MessagesRequestBuilder.cs @@ -67,8 +67,8 @@ public async Task GetAsync(Action(requestInfo, ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Send a new chatMessage in the specified channel. This API is available in the following national cloud deployments. - /// Find more info here + /// Send a new chatMessage in the specified channel or a chat. This API is available in the following national cloud deployments. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -115,7 +115,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Send a new chatMessage in the specified channel. This API is available in the following national cloud deployments. + /// Send a new chatMessage in the specified channel or a chat. This API is available in the following national cloud deployments. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.cs index 650a813f6e2..c69e9c5ffd6 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.cs @@ -47,8 +47,8 @@ public AttachmentsRequestBuilder(Dictionary pathParameters, IReq public AttachmentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/messages/{message%2Did}/attachments{?%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) { } /// - /// Retrieve a list of attachment objects. This API is available in the following national cloud deployments. - /// Find more info here + /// Retrieve a list of attachment objects attached to a message. This API is available in the following national cloud deployments. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -67,8 +67,8 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. - /// Find more info here + /// Use this API to add an attachment to a message. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. You can add an attachment to an existing message by posting to its attachments collection, or you canadd an attachment to a message that is being created and sent on the fly. This operation limits the size of the attachment you can add to under 3 MB. This API is available in the following national cloud deployments. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -89,7 +89,7 @@ public async Task PostAsync(Attachment body, Action(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Retrieve a list of attachment objects. This API is available in the following national cloud deployments. + /// Retrieve a list of attachment objects attached to a message. This API is available in the following national cloud deployments. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -115,7 +115,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + /// Use this API to add an attachment to a message. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. You can add an attachment to an existing message by posting to its attachments collection, or you canadd an attachment to a message that is being created and sent on the fly. This operation limits the size of the attachment you can add to under 3 MB. This API is available in the following national cloud deployments. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. @@ -150,7 +150,7 @@ public AttachmentsRequestBuilder WithUrl(string rawUrl) { return new AttachmentsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Retrieve a list of attachment objects. This API is available in the following national cloud deployments. + /// Retrieve a list of attachment objects attached to a message. This API is available in the following national cloud deployments. /// public class AttachmentsRequestBuilderGetQueryParameters { /// Include count of items diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.cs index 7e274d9bd79..7c90dfb2e87 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.cs @@ -47,8 +47,8 @@ public AttachmentsRequestBuilder(Dictionary pathParameters, IReq public AttachmentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/messages/{message%2Did}/attachments{?%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) { } /// - /// Retrieve a list of attachment objects. This API is available in the following national cloud deployments. - /// Find more info here + /// Retrieve a list of attachment objects attached to a message. This API is available in the following national cloud deployments. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -67,8 +67,8 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. - /// Find more info here + /// Use this API to add an attachment to a message. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. You can add an attachment to an existing message by posting to its attachments collection, or you canadd an attachment to a message that is being created and sent on the fly. This operation limits the size of the attachment you can add to under 3 MB. This API is available in the following national cloud deployments. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -89,7 +89,7 @@ public async Task PostAsync(Attachment body, Action(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Retrieve a list of attachment objects. This API is available in the following national cloud deployments. + /// Retrieve a list of attachment objects attached to a message. This API is available in the following national cloud deployments. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -115,7 +115,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + /// Use this API to add an attachment to a message. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. You can add an attachment to an existing message by posting to its attachments collection, or you canadd an attachment to a message that is being created and sent on the fly. This operation limits the size of the attachment you can add to under 3 MB. This API is available in the following national cloud deployments. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. @@ -150,7 +150,7 @@ public AttachmentsRequestBuilder WithUrl(string rawUrl) { return new AttachmentsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Retrieve a list of attachment objects. This API is available in the following national cloud deployments. + /// Retrieve a list of attachment objects attached to a message. This API is available in the following national cloud deployments. /// public class AttachmentsRequestBuilderGetQueryParameters { /// Include count of items diff --git a/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.cs index 9c8f4cef77c..c8b9f85f76b 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.cs @@ -47,8 +47,8 @@ public AttachmentsRequestBuilder(Dictionary pathParameters, IReq public AttachmentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/messages/{message%2Did}/attachments{?%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) { } /// - /// Retrieve a list of attachment objects. This API is available in the following national cloud deployments. - /// Find more info here + /// Retrieve a list of attachment objects attached to a message. This API is available in the following national cloud deployments. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -67,8 +67,8 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. - /// Find more info here + /// Use this API to add an attachment to a message. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. You can add an attachment to an existing message by posting to its attachments collection, or you canadd an attachment to a message that is being created and sent on the fly. This operation limits the size of the attachment you can add to under 3 MB. This API is available in the following national cloud deployments. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -89,7 +89,7 @@ public async Task PostAsync(Attachment body, Action(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Retrieve a list of attachment objects. This API is available in the following national cloud deployments. + /// Retrieve a list of attachment objects attached to a message. This API is available in the following national cloud deployments. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -115,7 +115,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. + /// Use this API to add an attachment to a message. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. You can add an attachment to an existing message by posting to its attachments collection, or you canadd an attachment to a message that is being created and sent on the fly. This operation limits the size of the attachment you can add to under 3 MB. This API is available in the following national cloud deployments. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. @@ -150,7 +150,7 @@ public AttachmentsRequestBuilder WithUrl(string rawUrl) { return new AttachmentsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Retrieve a list of attachment objects. This API is available in the following national cloud deployments. + /// Retrieve a list of attachment objects attached to a message. This API is available in the following national cloud deployments. /// public class AttachmentsRequestBuilderGetQueryParameters { /// Include count of items diff --git a/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/MessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/MessageItemRequestBuilder.cs index 8677ff18ed7..981e2ca3003 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/MessageItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/MessageItemRequestBuilder.cs @@ -110,7 +110,7 @@ public async Task DeleteAsync(Action /// The messages in a mailbox or folder. Read-only. Nullable. - /// Find more info here + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/Value/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/Value/ContentRequestBuilder.cs index 3ca7e63883b..9b003067248 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/Value/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/Value/ContentRequestBuilder.cs @@ -29,7 +29,7 @@ public ContentRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba } /// /// Get media content for the navigation property messages from users - /// Find more info here + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Messages/MessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Messages/MessagesRequestBuilder.cs index 5acb46ef001..c672992f6ba 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Messages/MessagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Messages/MessagesRequestBuilder.cs @@ -48,7 +48,7 @@ public MessagesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b } /// /// The messages in a mailbox or folder. Read-only. Nullable. - /// Find more info here + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -67,8 +67,8 @@ public async Task GetAsync(Action(requestInfo, MessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. - /// Find more info here + /// Create a draft of a new message in either JSON or MIME format. When using JSON format, you can:- Include an attachment to the message.- Update the draft later to add content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- /* Add any attachments and S/MIME properties to the MIME content. By default, this operation saves the draft in the Drafts folder. Send the draft message in a subsequent operation. Alternatively, send a new message in a single operation, or create a draft to forward, reply and reply-all to an existing message. This API is available in the following national cloud deployments. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -115,7 +115,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + /// Create a draft of a new message in either JSON or MIME format. When using JSON format, you can:- Include an attachment to the message.- Update the draft later to add content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- /* Add any attachments and S/MIME properties to the MIME content. By default, this operation saves the draft in the Drafts folder. Send the draft message in a subsequent operation. Alternatively, send a new message in a single operation, or create a draft to forward, reply and reply-all to an existing message. This API is available in the following national cloud deployments. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Photos/PhotosRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Photos/PhotosRequestBuilder.cs index 2301a90ac07..4ee2b41d9dd 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Photos/PhotosRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Photos/PhotosRequestBuilder.cs @@ -1,7 +1,6 @@ // using Microsoft.Graph.Models.ODataErrors; using Microsoft.Graph.Models; -using Microsoft.Graph.Users.Item.Photos.Count; using Microsoft.Graph.Users.Item.Photos.Item; using Microsoft.Kiota.Abstractions.Serialization; using Microsoft.Kiota.Abstractions; @@ -16,10 +15,6 @@ namespace Microsoft.Graph.Users.Item.Photos { /// Provides operations to manage the photos property of the microsoft.graph.user entity. /// public class PhotosRequestBuilder : BaseRequestBuilder { - /// Provides operations to count the resources in the collection. - public CountRequestBuilder Count { get => - new CountRequestBuilder(PathParameters, RequestAdapter); - } /// Provides operations to manage the photos property of the microsoft.graph.user entity. /// The unique identifier of profilePhoto public ProfilePhotoItemRequestBuilder this[string position] { get { @@ -32,14 +27,14 @@ public ProfilePhotoItemRequestBuilder this[string position] { get { /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public PhotosRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/photos{?%24top,%24skip,%24filter,%24count,%24orderby,%24select}", pathParameters) { + public PhotosRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/photos{?%24top,%24skip,%24filter,%24orderby,%24select}", pathParameters) { } /// /// Instantiates a new PhotosRequestBuilder and sets the default values. /// /// The raw URL to use for the request builder. /// The request adapter to use to execute the requests. - public PhotosRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/photos{?%24top,%24skip,%24filter,%24count,%24orderby,%24select}", rawUrl) { + public PhotosRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/photos{?%24top,%24skip,%24filter,%24orderby,%24select}", rawUrl) { } /// /// Get photos from users @@ -97,9 +92,6 @@ public PhotosRequestBuilder WithUrl(string rawUrl) { /// Get photos from users /// public class PhotosRequestBuilderGetQueryParameters { - /// Include count of items - [QueryParameter("%24count")] - public bool? Count { get; set; } /// Filter items by property values #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable diff --git a/src/Microsoft.Graph/Generated/Users/Item/Presence/PresenceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Presence/PresenceRequestBuilder.cs index 17427f63ea7..409ed30f6df 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Presence/PresenceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Presence/PresenceRequestBuilder.cs @@ -73,8 +73,8 @@ public async Task DeleteAsync(Action - /// Set a presence status message for a user. An optional expiration date and time can be supplied. This API is available in the following national cloud deployments. - /// Find more info here + /// Get a user's presence information. This API is available in the following national cloud deployments. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -139,7 +139,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Set a presence status message for a user. An optional expiration date and time can be supplied. This API is available in the following national cloud deployments. + /// Get a user's presence information. This API is available in the following national cloud deployments. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -216,7 +216,7 @@ public PresenceRequestBuilderDeleteRequestConfiguration() { } } /// - /// Set a presence status message for a user. An optional expiration date and time can be supplied. This API is available in the following national cloud deployments. + /// Get a user's presence information. This API is available in the following national cloud deployments. /// public class PresenceRequestBuilderGetQueryParameters { /// Expand related entities diff --git a/src/Microsoft.Graph/Generated/Users/Item/UserItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/UserItemRequestBuilder.cs index 14e76a8bbee..dbf35b86523 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/UserItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/UserItemRequestBuilder.cs @@ -381,8 +381,8 @@ public UserItemRequestBuilder(Dictionary pathParameters, IReques public UserItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}{?%24select,%24expand}", rawUrl) { } /// - /// Deletes a user. - /// Find more info here + /// Delete user. When deleted, user resources are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. To learn more, see deletedItems. This API is available in the following national cloud deployments. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -411,8 +411,8 @@ public ExportDeviceAndAppManagementDataWithSkipWithTopRequestBuilder ExportDevic return new ExportDeviceAndAppManagementDataWithSkipWithTopRequestBuilder(PathParameters, RequestAdapter, skip, top); } /// - /// Read properties and relationships of the user object. - /// Find more info here + /// Retrieve the properties and relationships of user object. This API is available in the following national cloud deployments. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -432,7 +432,7 @@ public ExportDeviceAndAppManagementDataWithSkipWithTopRequestBuilder ExportDevic } /// /// Update the properties of a user object. - /// Find more info here + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -463,7 +463,7 @@ public ReminderViewWithStartDateTimeWithEndDateTimeRequestBuilder ReminderViewWi return new ReminderViewWithStartDateTimeWithEndDateTimeRequestBuilder(PathParameters, RequestAdapter, endDateTime, startDateTime); } /// - /// Deletes a user. + /// Delete user. When deleted, user resources are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. To learn more, see deletedItems. This API is available in the following national cloud deployments. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -488,7 +488,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read properties and relationships of the user object. + /// Retrieve the properties and relationships of user object. This API is available in the following national cloud deployments. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -565,7 +565,7 @@ public UserItemRequestBuilderDeleteRequestConfiguration() { } } /// - /// Read properties and relationships of the user object. + /// Retrieve the properties and relationships of user object. This API is available in the following national cloud deployments. /// public class UserItemRequestBuilderGetQueryParameters { /// Expand related entities diff --git a/src/Microsoft.Graph/Generated/Users/UsersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/UsersRequestBuilder.cs index b2afd1dc375..ffbe7bc15c5 100644 --- a/src/Microsoft.Graph/Generated/Users/UsersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/UsersRequestBuilder.cs @@ -62,8 +62,8 @@ public UsersRequestBuilder(Dictionary pathParameters, IRequestAd public UsersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users{?%24top,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) { } /// - /// Retrieve a list of user objects. This API is available in the following national cloud deployments. - /// Find more info here + /// List properties and relationships of the user objects. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -83,7 +83,7 @@ public async Task GetAsync(Action /// Create a new user object. - /// Find more info here + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -104,7 +104,7 @@ public async Task GetAsync(Action(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Retrieve a list of user objects. This API is available in the following national cloud deployments. + /// List properties and relationships of the user objects. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -165,7 +165,7 @@ public UsersRequestBuilder WithUrl(string rawUrl) { return new UsersRequestBuilder(rawUrl, RequestAdapter); } /// - /// Retrieve a list of user objects. This API is available in the following national cloud deployments. + /// List properties and relationships of the user objects. /// public class UsersRequestBuilderGetQueryParameters { /// Include count of items diff --git a/src/Microsoft.Graph/Generated/kiota-lock.json b/src/Microsoft.Graph/Generated/kiota-lock.json index 7068d3de0d2..ea364de3aab 100644 --- a/src/Microsoft.Graph/Generated/kiota-lock.json +++ b/src/Microsoft.Graph/Generated/kiota-lock.json @@ -1,6 +1,6 @@ { - "descriptionHash": "7D71C80CC2146174F8D8AB291B6D44A99DD05C3385B4AA3978E6B156539092B308A9941D6AE5C4C9DB1789EC99902436AD99DFBC87654AEBEDD78CA1631072A3", - "descriptionLocation": "/mnt/vss/_work/1/s/msgraph-metadata/clean_v10_openapi/openapi.yaml", + "descriptionHash": "9726C0F6280FE5ADD33A59C18A02BB52FC44FF138408DD298A9BBE883D38987DDBA064F59CD3C2314057B9F8BA69EAC18DDE94DD4C257042B32CD2382D5CE132", + "descriptionLocation": "../../msgraph-metadata/clean_v10_openapi/openapi.yaml", "lockFileVersion": "1.0.0", "kiotaVersion": "1.8.0", "clientClassName": "BaseGraphServiceClient",