diff --git a/CHANGELOG.md b/CHANGELOG.md index b641e0743e4..1e5493bcdfd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ and this project does NOT adhere to [Semantic Versioning](https://semver.org/spe ## [Unreleased] +## [5.52.0-preview] - 2023-10-19 + +- Latest metadata updates from 17th October 2023. + ## [5.51.0-preview] - 2023-10-12 - Fixes incorrect casing of model properties during serialization/deserialization (https://github.com/microsoft/kiota/pull/343) diff --git a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/ResourceConnections/Item/ResourceConnectionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/ResourceConnections/Item/ResourceConnectionItemRequestBuilder.cs index 1c0f516d8bf..c71d1b78733 100644 --- a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/ResourceConnections/Item/ResourceConnectionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/ResourceConnections/Item/ResourceConnectionItemRequestBuilder.cs @@ -29,8 +29,8 @@ public ResourceConnectionItemRequestBuilder(Dictionary pathParam public ResourceConnectionItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/resourceConnections/{resourceConnection%2Did}{?%24select,%24expand}", rawUrl) { } /// - /// Delete an operationalInsightsConnection object. This API is available in the following national cloud deployments. - /// Find more info here + /// Delete a resourceConnection 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. @@ -90,7 +90,7 @@ public async Task PatchAsync(ResourceConnection body, Action return await RequestAdapter.SendAsync(requestInfo, ResourceConnection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Delete an operationalInsightsConnection object. This API is available in the following national cloud deployments. + /// Delete a resourceConnection 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 diff --git a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/UpdatePolicies/Item/ComplianceChanges/Item/ComplianceChangeItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/UpdatePolicies/Item/ComplianceChanges/Item/ComplianceChangeItemRequestBuilder.cs index 818d55ba5a7..054a5c4c4a5 100644 --- a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/UpdatePolicies/Item/ComplianceChanges/Item/ComplianceChangeItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/UpdatePolicies/Item/ComplianceChanges/Item/ComplianceChangeItemRequestBuilder.cs @@ -74,8 +74,8 @@ public async Task GetAsync(Action(requestInfo, ComplianceChange.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the properties of a contentApproval object. This API is available in the following national cloud deployments. - /// Find more info here + /// Update the properties of a complianceChange 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 @@ -146,7 +146,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of a contentApproval object. This API is available in the following national cloud deployments. + /// Update the properties of a complianceChange 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. diff --git a/src/Microsoft.Graph/Generated/App/Calls/Item/Participants/Invite/InviteRequestBuilder.cs b/src/Microsoft.Graph/Generated/App/Calls/Item/Participants/Invite/InviteRequestBuilder.cs index c0c2d4610cb..93b3586174a 100644 --- a/src/Microsoft.Graph/Generated/App/Calls/Item/Participants/Invite/InviteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/App/Calls/Item/Participants/Invite/InviteRequestBuilder.cs @@ -29,8 +29,8 @@ public InviteRequestBuilder(Dictionary pathParameters, IRequestA public InviteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/app/calls/{call%2Did}/participants/invite", rawUrl) { } /// - /// 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 + /// 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 /// /// 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); } /// - /// 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. + /// 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. /// /// 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 28a57643bfe..31576f4dce2 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) { } /// - /// 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 + /// 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 /// /// 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); } /// - /// 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. + /// 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. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/FrontLineServicePlans/FrontLineServicePlansRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/FrontLineServicePlans/FrontLineServicePlansRequestBuilder.cs index f23b91f425c..01be2122812 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/FrontLineServicePlans/FrontLineServicePlansRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/FrontLineServicePlans/FrontLineServicePlansRequestBuilder.cs @@ -42,7 +42,8 @@ public FrontLineServicePlansRequestBuilder(Dictionary pathParame public FrontLineServicePlansRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/frontLineServicePlans{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) { } /// - /// Get frontLineServicePlans from deviceManagement + /// Get a list of the cloudPcFrontLineServicePlan 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(CloudPcFrontLineService return await RequestAdapter.SendAsync(requestInfo, CloudPcFrontLineServicePlan.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get frontLineServicePlans from deviceManagement + /// Get a list of the cloudPcFrontLineServicePlan 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 FrontLineServicePlansRequestBuilder WithUrl(string rawUrl) { return new FrontLineServicePlansRequestBuilder(rawUrl, RequestAdapter); } /// - /// Get frontLineServicePlans from deviceManagement + /// Get a list of the cloudPcFrontLineServicePlan objects and their properties. /// public class FrontLineServicePlansRequestBuilderGetQueryParameters { /// Include count of items diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/FrontLineServicePlans/Item/CloudPcFrontLineServicePlanItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/FrontLineServicePlans/Item/CloudPcFrontLineServicePlanItemRequestBuilder.cs index c7c56a46b78..6c67d42580b 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/FrontLineServicePlans/Item/CloudPcFrontLineServicePlanItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/FrontLineServicePlans/Item/CloudPcFrontLineServicePlanItemRequestBuilder.cs @@ -48,7 +48,8 @@ public async Task DeleteAsync(Action - /// Get frontLineServicePlans from deviceManagement + /// Get the properties and relationships of a cloudPcFrontLineServicePlan object. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -112,7 +113,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get frontLineServicePlans from deviceManagement + /// Get the properties and relationships of a cloudPcFrontLineServicePlan object. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -189,7 +190,7 @@ public CloudPcFrontLineServicePlanItemRequestBuilderDeleteRequestConfiguration() } } /// - /// Get frontLineServicePlans from deviceManagement + /// Get the properties and relationships of a cloudPcFrontLineServicePlan object. /// public class CloudPcFrontLineServicePlanItemRequestBuilderGetQueryParameters { /// Expand related entities diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/Reports/GetRawRemoteConnectionReports/GetRawRemoteConnectionReportsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/Reports/GetRawRemoteConnectionReports/GetRawRemoteConnectionReportsRequestBuilder.cs index 32269063125..538c6e682f5 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/Reports/GetRawRemoteConnectionReports/GetRawRemoteConnectionReportsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/Reports/GetRawRemoteConnectionReports/GetRawRemoteConnectionReportsRequestBuilder.cs @@ -28,7 +28,8 @@ public GetRawRemoteConnectionReportsRequestBuilder(Dictionary pa public GetRawRemoteConnectionReportsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/reports/getRawRemoteConnectionReports", rawUrl) { } /// - /// Invoke action getRawRemoteConnectionReports + /// Get the raw real-time remote connection report for a Cloud PC without any calculation, such as roundTripTime or available bandwidth, which are aggregated hourly from the raw event data. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -49,7 +50,7 @@ public async Task PostAsync(GetRawRemoteConnectionReportsPostRequestBody return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Invoke action getRawRemoteConnectionReports + /// Get the raw real-time remote connection report for a Cloud PC without any calculation, such as roundTripTime or available bandwidth, which are aggregated hourly from the raw event data. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/Reports/GetRemoteConnectionHistoricalReports/GetRemoteConnectionHistoricalReportsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/Reports/GetRemoteConnectionHistoricalReports/GetRemoteConnectionHistoricalReportsRequestBuilder.cs index 6eff1487e4c..5806e000491 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/Reports/GetRemoteConnectionHistoricalReports/GetRemoteConnectionHistoricalReportsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/Reports/GetRemoteConnectionHistoricalReports/GetRemoteConnectionHistoricalReportsRequestBuilder.cs @@ -28,7 +28,7 @@ public GetRemoteConnectionHistoricalReportsRequestBuilder(Dictionary - /// Get the remote connection history records of a Cloud PC during a given period. This API is available in the following national cloud deployments. + /// Get the remote connection history records of a Cloud PC during a given period. This report contains data such as signInDateTime, signOutDateTime, usageInHour, remoteSignInTimeInSec and roundTripTimeInMsP50, and so on. This data is aggregated hourly for a specified time period, such as the last seven days. This API is available in the following national cloud deployments. /// Find more info here /// /// The request body @@ -50,7 +50,7 @@ public async Task PostAsync(GetRemoteConnectionHistoricalReportsPostRequ return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get the remote connection history records of a Cloud PC during a given period. This API is available in the following national cloud deployments. + /// Get the remote connection history records of a Cloud PC during a given period. This report contains data such as signInDateTime, signOutDateTime, usageInHour, remoteSignInTimeInSec and roundTripTimeInMsP50, and so on. This data is aggregated hourly for a specified time period, such as the last seven days. 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/DriveItemItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/DriveItemItemRequestBuilder.cs index 9320816fb1b..665470afa8e 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/DriveItemItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/DriveItemItemRequestBuilder.cs @@ -231,8 +231,8 @@ public GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalReques return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Beta.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 @@ -311,7 +311,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/RetentionLabel/RetentionLabelRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/RetentionLabel/RetentionLabelRequestBuilder.cs index 86effebf21e..2a069296f78 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/RetentionLabel/RetentionLabelRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/RetentionLabel/RetentionLabelRequestBuilder.cs @@ -68,8 +68,8 @@ public async Task GetAsync(Action(requestInfo, ItemRetentionLabel.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Apply (set) a retention label on a driveItem (files and folders). Retention labels don't need to be published in a retention label policy to be applied using this method. When a retention label is applied to a folder, all the items in the folder are tagged with the same retention label. Conflict resolution is based on the following principle: explicit wins over implicit. For example, if a file in the folder has already been explicitly tagged with a label, that file doesn't inherit the label of the parent. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. This API is available in the following national cloud deployments. - /// Find more info here + /// Lock or unlock a retention label on a driveItem that classifies content as records. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. For information about how you can lock and unlock retention labels, see Use record versioning to update records stored in SharePoint or OneDrive. This API is available in the following national cloud deployments. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -140,7 +140,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Apply (set) a retention label on a driveItem (files and folders). Retention labels don't need to be published in a retention label policy to be applied using this method. When a retention label is applied to a folder, all the items in the folder are tagged with the same retention label. Conflict resolution is based on the following principle: explicit wins over implicit. For example, if a file in the folder has already been explicitly tagged with a label, that file doesn't inherit the label of the parent. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. This API is available in the following national cloud deployments. + /// Lock or unlock a retention label on a driveItem that classifies content as records. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. For information about how you can lock and unlock retention labels, see Use record versioning to update records stored in SharePoint or OneDrive. 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/Add/AddRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Add/AddRequestBuilder.cs index 95fce382fd8..5a5729b98f4 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) { } /// - /// 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 thrown. This API is available in the following national cloud deployments. - /// Find more info here + /// Use this API to create a new Table. 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); } /// - /// 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 thrown. This API is available in the following national cloud deployments. + /// Use this API to create a new Table. 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 34c1cf8878e..d153fb7b21c 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/Worksheets/Item/Charts/ChartsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ChartsRequestBuilder.cs index 40bf9e5c203..78b1369bfa8 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ChartsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ChartsRequestBuilder.cs @@ -50,7 +50,7 @@ public ChartsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : bas } /// /// Retrieve a list of chart 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/Add/AddRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Add/AddRequestBuilder.cs index 17e5f858ee3..33a19d69110 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) { } /// - /// 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 thrown. This API is available in the following national cloud deployments. - /// Find more info here + /// Use this API to create a new Table. 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); } /// - /// 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 thrown. This API is available in the following national cloud deployments. + /// Use this API to create a new Table. 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 fa3cbf1dc60..a8fd3a71abb 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/Education/Users/Item/EducationUserItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Users/Item/EducationUserItemRequestBuilder.cs index 011cb61b6b8..76e33715fe3 100644 --- a/src/Microsoft.Graph/Generated/Education/Users/Item/EducationUserItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Users/Item/EducationUserItemRequestBuilder.cs @@ -99,8 +99,8 @@ public async Task GetAsync(Action(requestInfo, EducationUser.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the relatedContact collection of an educationUser object. This API is available in the following national cloud deployments. - /// Find more info here + /// Update the properties of an educationuser 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 @@ -171,7 +171,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the relatedContact collection of an educationUser object. This API is available in the following national cloud deployments. + /// Update the properties of an educationuser 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. diff --git a/src/Microsoft.Graph/Generated/External/IndustryData/DataConnectors/DataConnectorsRequestBuilder.cs b/src/Microsoft.Graph/Generated/External/IndustryData/DataConnectors/DataConnectorsRequestBuilder.cs index c1f0ae03329..d0ba45b8fbf 100644 --- a/src/Microsoft.Graph/Generated/External/IndustryData/DataConnectors/DataConnectorsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/External/IndustryData/DataConnectors/DataConnectorsRequestBuilder.cs @@ -42,8 +42,8 @@ public DataConnectorsRequestBuilder(Dictionary pathParameters, I public DataConnectorsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/external/industryData/dataConnectors{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) { } /// - /// Get a list of the azureDataLakeConnector objects and their properties. This API is available in the following national cloud deployments. - /// Find more info here + /// Get the industryDataConnector resources from the dataConnector navigation property. 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. @@ -62,8 +62,8 @@ public async Task GetAsync(Action(requestInfo, IndustryDataConnectorCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create a new industryDataConnector object. This API is available in the following national cloud deployments. - /// Find more info here + /// Create a new azureDataLakeConnector 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 @@ -84,7 +84,7 @@ public async Task PostAsync(IndustryDataConnector body, A return await RequestAdapter.SendAsync(requestInfo, IndustryDataConnector.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get a list of the azureDataLakeConnector objects and their properties. This API is available in the following national cloud deployments. + /// Get the industryDataConnector resources from the dataConnector navigation property. 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 @@ -110,7 +110,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new industryDataConnector object. This API is available in the following national cloud deployments. + /// Create a new azureDataLakeConnector 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. @@ -145,7 +145,7 @@ public DataConnectorsRequestBuilder WithUrl(string rawUrl) { return new DataConnectorsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Get a list of the azureDataLakeConnector objects and their properties. This API is available in the following national cloud deployments. + /// Get the industryDataConnector resources from the dataConnector navigation property. This API is available in the following national cloud deployments. /// public class DataConnectorsRequestBuilderGetQueryParameters { /// Include count of items diff --git a/src/Microsoft.Graph/Generated/External/IndustryData/DataConnectors/Item/IndustryDataConnectorItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/External/IndustryData/DataConnectors/Item/IndustryDataConnectorItemRequestBuilder.cs index 411d606fe53..cb3b6ad1a16 100644 --- a/src/Microsoft.Graph/Generated/External/IndustryData/DataConnectors/Item/IndustryDataConnectorItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/External/IndustryData/DataConnectors/Item/IndustryDataConnectorItemRequestBuilder.cs @@ -59,8 +59,8 @@ public async Task DeleteAsync(Action - /// Read the properties and relationships of an industryDataConnector object. This API is available in the following national cloud deployments. - /// Find more info here + /// Read the properties and relationships of an azureDataLakeConnector 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. @@ -79,8 +79,8 @@ public async Task GetAsync(Action(requestInfo, IndustryDataConnector.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the properties of an industryDataConnector object. This API is available in the following national cloud deployments. - /// Find more info here + /// Update the properties of an azureDataLakeConnector 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 @@ -125,7 +125,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read the properties and relationships of an industryDataConnector object. This API is available in the following national cloud deployments. + /// Read the properties and relationships of an azureDataLakeConnector 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 @@ -151,7 +151,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of an industryDataConnector object. This API is available in the following national cloud deployments. + /// Update the properties of an azureDataLakeConnector 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. @@ -202,7 +202,7 @@ public IndustryDataConnectorItemRequestBuilderDeleteRequestConfiguration() { } } /// - /// Read the properties and relationships of an industryDataConnector object. This API is available in the following national cloud deployments. + /// Read the properties and relationships of an azureDataLakeConnector object. This API is available in the following national cloud deployments. /// public class IndustryDataConnectorItemRequestBuilderGetQueryParameters { /// Expand related entities diff --git a/src/Microsoft.Graph/Generated/External/IndustryData/InboundFlows/Item/InboundFlowItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/External/IndustryData/InboundFlows/Item/InboundFlowItemRequestBuilder.cs index 84dc679c937..ca924d6b2ce 100644 --- a/src/Microsoft.Graph/Generated/External/IndustryData/InboundFlows/Item/InboundFlowItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/External/IndustryData/InboundFlows/Item/InboundFlowItemRequestBuilder.cs @@ -59,8 +59,8 @@ public async Task DeleteAsync(Action - /// Read the properties and relationships of an inboundFlow object. This API is available in the following national cloud deployments. - /// Find more info here + /// Read the properties and relationships of an inboundFileFlow 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. @@ -79,8 +79,8 @@ public async Task GetAsync(Action(requestInfo, InboundFlow.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the properties of an inboundFlow object. This API is available in the following national cloud deployments. - /// Find more info here + /// Update the properties of an inboundFileFlow 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 @@ -125,7 +125,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read the properties and relationships of an inboundFlow object. This API is available in the following national cloud deployments. + /// Read the properties and relationships of an inboundFileFlow 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 @@ -151,7 +151,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of an inboundFlow object. This API is available in the following national cloud deployments. + /// Update the properties of an inboundFileFlow 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. @@ -202,7 +202,7 @@ public InboundFlowItemRequestBuilderDeleteRequestConfiguration() { } } /// - /// Read the properties and relationships of an inboundFlow object. This API is available in the following national cloud deployments. + /// Read the properties and relationships of an inboundFileFlow object. This API is available in the following national cloud deployments. /// public class InboundFlowItemRequestBuilderGetQueryParameters { /// Expand related entities diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/ConversationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/ConversationsRequestBuilder.cs index 128f9158513..73fad17bca4 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 + /// Create a new conversation by including a thread and a post. 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. + /// Create a new conversation by including a thread and a post. 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 db2b9beaf7a..3e97a0115d7 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilder.cs @@ -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 + /// Get a conversation 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. @@ -98,7 +98,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of conversation object. This API is available in the following national cloud deployments. + /// Get a conversation 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 @@ -147,7 +147,7 @@ public ConversationItemRequestBuilderDeleteRequestConfiguration() { } } /// - /// Retrieve the properties and relationships of conversation object. This API is available in the following national cloud deployments. + /// Get a conversation object. 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/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Reply/ReplyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Reply/ReplyRequestBuilder.cs index 67463731a93..d0fd8fbef52 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Reply/ReplyRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Reply/ReplyRequestBuilder.cs @@ -28,8 +28,8 @@ public ReplyRequestBuilder(Dictionary pathParameters, IRequestAd public ReplyRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/conversations/{conversation%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/inReplyTo/reply", rawUrl) { } /// - /// 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 + /// Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent 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 @@ -50,7 +50,7 @@ public async Task PostAsync(ReplyPostRequestBody body, 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. + /// Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent 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/Threads/Item/Posts/Item/Reply/ReplyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Reply/ReplyRequestBuilder.cs index 4a56b295cb0..e7c23dadd79 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Reply/ReplyRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Reply/ReplyRequestBuilder.cs @@ -28,8 +28,8 @@ public ReplyRequestBuilder(Dictionary pathParameters, IRequestAd public ReplyRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/conversations/{conversation%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/reply", rawUrl) { } /// - /// 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 + /// Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent 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 @@ -50,7 +50,7 @@ public async Task PostAsync(ReplyPostRequestBody body, 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. + /// Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent 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/Sites/Item/Lists/Item/ListItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ListItemRequestBuilder.cs index 34a5cb147c3..de88bc5fe63 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ListItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ListItemRequestBuilder.cs @@ -93,8 +93,8 @@ public async Task DeleteAsync(Action - /// Get the list of richLongRunningOperations associated with a list. This API is available in the following national cloud deployments. - /// Find more info here + /// Return the metadata for a list][]. 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. @@ -158,7 +158,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get the list of richLongRunningOperations associated with a list. This API is available in the following national cloud deployments. + /// Return the metadata for a list][]. 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 @@ -235,7 +235,7 @@ public ListItemRequestBuilderDeleteRequestConfiguration() { } } /// - /// Get the list of richLongRunningOperations associated with a list. This API is available in the following national cloud deployments. + /// Return the metadata for a list][]. This API is available in the following [national cloud deployments. /// public class ListItemRequestBuilderGetQueryParameters { /// Expand related entities diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Reply/ReplyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Reply/ReplyRequestBuilder.cs index f109f4c0abc..2359d3103b7 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Reply/ReplyRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Reply/ReplyRequestBuilder.cs @@ -28,8 +28,8 @@ public ReplyRequestBuilder(Dictionary pathParameters, IRequestAd public ReplyRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/inReplyTo/reply", rawUrl) { } /// - /// 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 + /// Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent 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 @@ -50,7 +50,7 @@ public async Task PostAsync(ReplyPostRequestBody body, 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. + /// Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent 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/Threads/Item/Posts/Item/Reply/ReplyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/Reply/ReplyRequestBuilder.cs index 32e0b3b9175..74d6eb240ff 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/Reply/ReplyRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/Reply/ReplyRequestBuilder.cs @@ -28,8 +28,8 @@ public ReplyRequestBuilder(Dictionary pathParameters, IRequestAd public ReplyRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/reply", rawUrl) { } /// - /// 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 + /// Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent 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 @@ -50,7 +50,7 @@ public async Task PostAsync(ReplyPostRequestBody body, 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. + /// Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent 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/Identity/CustomAuthenticationExtensions/Item/CustomAuthenticationExtensionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/CustomAuthenticationExtensions/Item/CustomAuthenticationExtensionItemRequestBuilder.cs index 466aeb39551..2b8bd76aa1a 100644 --- a/src/Microsoft.Graph/Generated/Identity/CustomAuthenticationExtensions/Item/CustomAuthenticationExtensionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Identity/CustomAuthenticationExtensions/Item/CustomAuthenticationExtensionItemRequestBuilder.cs @@ -54,8 +54,8 @@ public async Task DeleteAsync(Action - /// Read the properties and relationships of an authenticationEventListener object. The @odata.type property in the response object indicates the type of the authenticationEventListener object. This API is available in the following national cloud deployments. - /// Find more info here + /// Read the properties and relationships of a customAuthenticationExtension 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. @@ -119,7 +119,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read the properties and relationships of an authenticationEventListener object. The @odata.type property in the response object indicates the type of the authenticationEventListener object. This API is available in the following national cloud deployments. + /// Read the properties and relationships of a customAuthenticationExtension 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 @@ -196,7 +196,7 @@ public CustomAuthenticationExtensionItemRequestBuilderDeleteRequestConfiguration } } /// - /// Read the properties and relationships of an authenticationEventListener object. The @odata.type property in the response object indicates the type of the authenticationEventListener object. This API is available in the following national cloud deployments. + /// Read the properties and relationships of a customAuthenticationExtension object. This API is available in the following national cloud deployments. /// public class CustomAuthenticationExtensionItemRequestBuilderGetQueryParameters { /// Expand related entities diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackageCatalogs/Item/AccessPackageCustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackageCatalogs/Item/AccessPackageCustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilder.cs index 28049b44868..aae64b8981f 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackageCatalogs/Item/AccessPackageCustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackageCatalogs/Item/AccessPackageCustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilder.cs @@ -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. @@ -70,8 +70,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 @@ -118,7 +118,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. [Obsolete(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31")] @@ -145,7 +145,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. @@ -198,7 +198,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/AccessPackages/Item/AccessPackageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackageItemRequestBuilder.cs index b357e83bd73..6f1d5936f7b 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackageItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackageItemRequestBuilder.cs @@ -89,8 +89,8 @@ public async Task DeleteAsync(Action - /// Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. This API is available in the following national cloud deployments. - /// Find more info here + /// Retrieve the properties and relationships of an accessPackage 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. @@ -155,7 +155,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. This API is available in the following national cloud deployments. + /// Retrieve the properties and relationships of an accessPackage 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 @@ -232,7 +232,7 @@ public AccessPackageItemRequestBuilderDeleteRequestConfiguration() { } } /// - /// Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. This API is available in the following national cloud deployments. + /// Retrieve the properties and relationships of an accessPackage object. This API is available in the following national cloud deployments. /// public class AccessPackageItemRequestBuilderGetQueryParameters { /// 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 386a2660cda..5c65c5caba0 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 the properties and relationships of an agreement object. This API is available in the following national cloud deployments. - /// Find more info here + /// 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 /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -130,7 +130,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of an agreement object. This API is available in the following national cloud deployments. + /// 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. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -207,7 +207,7 @@ public AgreementItemRequestBuilderDeleteRequestConfiguration() { } } /// - /// Retrieve the properties and relationships of an agreement object. This API is available in the following national cloud deployments. + /// 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. /// public class AgreementItemRequestBuilderGetQueryParameters { /// Expand related entities diff --git a/src/Microsoft.Graph/Generated/IdentityProtection/RiskDetections/Item/RiskDetectionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityProtection/RiskDetections/Item/RiskDetectionItemRequestBuilder.cs index 1c2b7eb4409..ede270f9487 100644 --- a/src/Microsoft.Graph/Generated/IdentityProtection/RiskDetections/Item/RiskDetectionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityProtection/RiskDetections/Item/RiskDetectionItemRequestBuilder.cs @@ -48,8 +48,8 @@ public async Task DeleteAsync(Action - /// Retrieve the properties of a collection of riskDetection objects. This API is available in the following national cloud deployments. - /// Find more info here + /// Retrieve the properties of a riskDetection 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. @@ -113,7 +113,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties of a collection of riskDetection objects. This API is available in the following national cloud deployments. + /// Retrieve the properties of a riskDetection 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 @@ -190,7 +190,7 @@ public RiskDetectionItemRequestBuilderDeleteRequestConfiguration() { } } /// - /// Retrieve the properties of a collection of riskDetection objects. This API is available in the following national cloud deployments. + /// Retrieve the properties of a riskDetection object. This API is available in the following national cloud deployments. /// public class RiskDetectionItemRequestBuilderGetQueryParameters { /// Expand related entities diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/ChildFoldersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/ChildFoldersRequestBuilder.cs index 74a22a6aa5b..c5b0d76e17c 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/ChildFoldersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/ChildFoldersRequestBuilder.cs @@ -67,8 +67,8 @@ public async Task GetAsync(Action(requestInfo, MailFolderCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create a new mailSearchFolder in the specified user's mailbox. This API is available in the following national cloud deployments. - /// Find more info here + /// Use this API to create a new child mailFolder. If you intend a new folder to be hidden, you must set the isHidden property to true on creation. 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 a new mailSearchFolder in the specified user's mailbox. This API is available in the following national cloud deployments. + /// Use this API to create a new child mailFolder. If you intend a new folder to be hidden, you must set the isHidden property to true on creation. 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 d828ad12fd1..c08b0052ec3 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 attached to a message. This API is available in the following national cloud deployments. - /// Find more info here + /// Retrieve a list of attachment objects. 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. @@ -89,7 +89,7 @@ public async Task PostAsync(Attachment body, Action(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Retrieve a list of attachment objects attached to a message. This API is available in the following national cloud deployments. + /// Retrieve a list of attachment objects. 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 @@ -150,7 +150,7 @@ public AttachmentsRequestBuilder WithUrl(string rawUrl) { return new AttachmentsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Retrieve a list of attachment objects attached to a message. This API is available in the following national cloud deployments. + /// Retrieve a list of attachment objects. 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 bed8e15aa73..0954922d7ab 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 attached to a message. This API is available in the following national cloud deployments. - /// Find more info here + /// Retrieve a list of attachment objects. 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. @@ -89,7 +89,7 @@ public async Task PostAsync(Attachment body, Action(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Retrieve a list of attachment objects attached to a message. This API is available in the following national cloud deployments. + /// Retrieve a list of attachment objects. 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 @@ -150,7 +150,7 @@ public AttachmentsRequestBuilder WithUrl(string rawUrl) { return new AttachmentsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Retrieve a list of attachment objects attached to a message. This API is available in the following national cloud deployments. + /// Retrieve a list of attachment objects. 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 d9e4e24750e..7d7e04ec37a 100644 --- a/src/Microsoft.Graph/Generated/Me/MeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MeRequestBuilder.cs @@ -560,8 +560,8 @@ public FindRoomsWithRoomListRequestBuilder FindRoomsWithRoomList(string roomList return new FindRoomsWithRoomListRequestBuilder(PathParameters, RequestAdapter, roomList); } /// - /// Retrieve the properties and relationships of user object. This operation returns by default only a subset of the more commonly used properties for each user. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the user and specify the properties in a $select OData query option. Because the user resource supports extensions, you can also use the GET operation to get custom properties and extension data in a user instance. This API is available in the following national cloud deployments. - /// Find more info here + /// 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 /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -612,7 +612,7 @@ public ReminderViewWithStartDateTimeWithEndDateTimeRequestBuilder ReminderViewWi return new ReminderViewWithStartDateTimeWithEndDateTimeRequestBuilder(PathParameters, RequestAdapter, endDateTime, startDateTime); } /// - /// Retrieve the properties and relationships of user object. This operation returns by default only a subset of the more commonly used properties for each user. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the user and specify the properties in a $select OData query option. Because the user resource supports extensions, you can also use the GET operation to get custom properties and extension data in a user instance. This API is available in the following national cloud deployments. + /// 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. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -673,7 +673,7 @@ public MeRequestBuilder WithUrl(string rawUrl) { return new MeRequestBuilder(rawUrl, RequestAdapter); } /// - /// Retrieve the properties and relationships of user object. This operation returns by default only a subset of the more commonly used properties for each user. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the user and specify the properties in a $select OData query option. Because the user resource supports extensions, you can also use the GET operation to get custom properties and extension data in a user instance. This API is available in the following national cloud deployments. + /// 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. /// 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 8d597fd658a..583a7790eaf 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 attached to a message. This API is available in the following national cloud deployments. - /// Find more info here + /// Retrieve a list of attachment objects. 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. @@ -89,7 +89,7 @@ public async Task PostAsync(Attachment body, Action(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Retrieve a list of attachment objects attached to a message. This API is available in the following national cloud deployments. + /// Retrieve a list of attachment objects. 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 @@ -150,7 +150,7 @@ public AttachmentsRequestBuilder WithUrl(string rawUrl) { return new AttachmentsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Retrieve a list of attachment objects attached to a message. This API is available in the following national cloud deployments. + /// Retrieve a list of attachment objects. 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 e33a796973a..b15897540c9 100644 --- a/src/Microsoft.Graph/Generated/Me/Messages/Item/MessageItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Messages/Item/MessageItemRequestBuilder.cs @@ -130,7 +130,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. @@ -149,8 +149,8 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Beta.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the properties of a message object. This API is available in the following national cloud deployments. - /// Find more info here + /// Update the properties of an eventMessage 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 @@ -221,7 +221,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of a message object. This API is available in the following national cloud deployments. + /// Update the properties of an eventMessage 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. 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 0a6aa4af1ed..35b22ded975 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 500710760a6..efa202bf692 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. diff --git a/src/Microsoft.Graph/Generated/Me/Presence/PresenceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Presence/PresenceRequestBuilder.cs index 4d9a6608b59..4a8c8e6bca0 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 - /// Get a user's presence information. This API is available in the following national cloud deployments. - /// Find more info here + /// 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 /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -138,7 +138,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get a user's presence information. This API is available in the following national cloud deployments. + /// 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. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -215,7 +215,7 @@ public PresenceRequestBuilderDeleteRequestConfiguration() { } } /// - /// Get a user's presence information. This API is available in the following national cloud deployments. + /// 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. /// public class PresenceRequestBuilderGetQueryParameters { /// Expand related entities diff --git a/src/Microsoft.Graph/Generated/Models/Application.cs b/src/Microsoft.Graph/Generated/Models/Application.cs index 0ce5da766f3..52b42d2c40b 100644 --- a/src/Microsoft.Graph/Generated/Models/Application.cs +++ b/src/Microsoft.Graph/Generated/Models/Application.cs @@ -20,7 +20,7 @@ public ApiApplication Api { set { BackingStore?.Set("api", value); } } #endif - /// The unique identifier for the application that is assigned by Azure AD. Not nullable. Read-only. Supports $filter (eq). + /// The unique identifier for the application that is assigned by Azure AD. Not nullable. Read-only. Alternate key. Supports $filter (eq). #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? AppId { diff --git a/src/Microsoft.Graph/Generated/Models/AuthenticationMethodsRegistrationCampaign.cs b/src/Microsoft.Graph/Generated/Models/AuthenticationMethodsRegistrationCampaign.cs index 52f5a903355..93b8f883b3a 100644 --- a/src/Microsoft.Graph/Generated/Models/AuthenticationMethodsRegistrationCampaign.cs +++ b/src/Microsoft.Graph/Generated/Models/AuthenticationMethodsRegistrationCampaign.cs @@ -56,7 +56,7 @@ public string OdataType { set { BackingStore?.Set("@odata.type", value); } } #endif - /// Specifies the number of days that the user sees a prompt again if they select 'Not now' and snoozes the prompt. Minimum 0 days. Maximum: 14 days. If the value is '0' – The user is prompted during every MFA attempt. + /// Specifies the number of days that the user sees a prompt again if they select 'Not now' and snoozes the prompt. Minimum 0 days. Maximum: 14 days. If the value is 0 – The user is prompted during every MFA attempt. public int? SnoozeDurationInDays { get { return BackingStore?.Get("snoozeDurationInDays"); } set { BackingStore?.Set("snoozeDurationInDays", value); } diff --git a/src/Microsoft.Graph/Generated/Models/CloudPcFrontLineServicePlan.cs b/src/Microsoft.Graph/Generated/Models/CloudPcFrontLineServicePlan.cs index a8bc91f3e64..cf355be557f 100644 --- a/src/Microsoft.Graph/Generated/Models/CloudPcFrontLineServicePlan.cs +++ b/src/Microsoft.Graph/Generated/Models/CloudPcFrontLineServicePlan.cs @@ -6,7 +6,7 @@ using System; namespace Microsoft.Graph.Beta.Models { public class CloudPcFrontLineServicePlan : Entity, IParsable { - /// The displayName property + /// The display name of the front-line service plan. For example, 2vCPU/8GB/128GB Front-line or 4vCPU/16GB/256GB Front-line. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? DisplayName { @@ -20,12 +20,12 @@ public string DisplayName { set { BackingStore?.Set("displayName", value); } } #endif - /// The totalCount property + /// The total number of front-line service plans purchased by the customer. public int? TotalCount { get { return BackingStore?.Get("totalCount"); } set { BackingStore?.Set("totalCount", value); } } - /// The usedCount property + /// The number of service plans that have been used for the account. public int? UsedCount { get { return BackingStore?.Get("usedCount"); } set { BackingStore?.Set("usedCount", value); } diff --git a/src/Microsoft.Graph/Generated/Models/DailyInactiveUsersByApplicationMetric.cs b/src/Microsoft.Graph/Generated/Models/DailyInactiveUsersByApplicationMetric.cs new file mode 100644 index 00000000000..b649af6f54a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/DailyInactiveUsersByApplicationMetric.cs @@ -0,0 +1,40 @@ +// +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System; +namespace Microsoft.Graph.Beta.Models { + public class DailyInactiveUsersByApplicationMetric : InactiveUsersByApplicationMetricBase, IParsable { + /// The inactive1DayCount property + public long? Inactive1DayCount { + get { return BackingStore?.Get("inactive1DayCount"); } + set { BackingStore?.Set("inactive1DayCount", 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 DailyInactiveUsersByApplicationMetric CreateFromDiscriminatorValue(IParseNode parseNode) { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new DailyInactiveUsersByApplicationMetric(); + } + /// + /// The deserialization information for the current model + /// + public new IDictionary> GetFieldDeserializers() { + return new Dictionary>(base.GetFieldDeserializers()) { + {"inactive1DayCount", n => { Inactive1DayCount = n.GetLongValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public new void Serialize(ISerializationWriter writer) { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteLongValue("inactive1DayCount", Inactive1DayCount); + } + } +} diff --git a/src/Microsoft.Graph/Generated/Models/DailyInactiveUsersMetric.cs b/src/Microsoft.Graph/Generated/Models/DailyInactiveUsersMetric.cs new file mode 100644 index 00000000000..07980293ea8 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/DailyInactiveUsersMetric.cs @@ -0,0 +1,40 @@ +// +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System; +namespace Microsoft.Graph.Beta.Models { + public class DailyInactiveUsersMetric : InactiveUsersMetricBase, IParsable { + /// The inactive1DayCount property + public long? Inactive1DayCount { + get { return BackingStore?.Get("inactive1DayCount"); } + set { BackingStore?.Set("inactive1DayCount", 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 DailyInactiveUsersMetric CreateFromDiscriminatorValue(IParseNode parseNode) { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new DailyInactiveUsersMetric(); + } + /// + /// The deserialization information for the current model + /// + public new IDictionary> GetFieldDeserializers() { + return new Dictionary>(base.GetFieldDeserializers()) { + {"inactive1DayCount", n => { Inactive1DayCount = n.GetLongValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public new void Serialize(ISerializationWriter writer) { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteLongValue("inactive1DayCount", Inactive1DayCount); + } + } +} diff --git a/src/Microsoft.Graph/Generated/Models/Device.cs b/src/Microsoft.Graph/Generated/Models/Device.cs index 7799da0a4b3..59110df413d 100644 --- a/src/Microsoft.Graph/Generated/Models/Device.cs +++ b/src/Microsoft.Graph/Generated/Models/Device.cs @@ -194,7 +194,7 @@ public List Extensions { set { BackingStore?.Set("extensions", value); } } #endif - /// List of hostNames for the device. + /// List of host names for the device. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? Hostnames { @@ -218,7 +218,7 @@ public bool? IsManaged { get { return BackingStore?.Get("isManaged"); } set { BackingStore?.Set("isManaged", value); } } - /// true if the device is a member of a restricted management administrative unit, in which case it requires a role scoped to the restricted administrative unit to manage. Default value is false. Read-only. To manage a device that's a member of a restricted administrative unit, the calling app must be assigned the Directory.Write.Restricted permission. For delegated scenarios, the administrators must also be explicitly assigned supported roles at the restricted administrative unit scope. + /// Indicates whether the device is a member of a restricted management administrative unit, in which case it requires a role scoped to the restricted administrative unit to manage. The default value is false. Read-only. To manage a device that's a member of a restricted administrative unit, the calling app must be assigned the Directory.Write.Restricted permission. For delegated scenarios, the administrators must also be explicitly assigned supported roles at the restricted administrative unit scope. public bool? IsManagementRestricted { get { return BackingStore?.Get("isManagementRestricted"); } set { BackingStore?.Set("isManagementRestricted", value); } @@ -228,7 +228,7 @@ public bool? IsRooted { get { return BackingStore?.Get("isRooted"); } set { BackingStore?.Set("isRooted", value); } } - /// Form factor of device. Only returned if user signs in with a Microsoft account as part of Project Rome. + /// Form factor of the device. Only returned if the user signs in with a Microsoft account as part of Project Rome. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Kind { @@ -256,7 +256,7 @@ public string ManagementType { set { BackingStore?.Set("managementType", value); } } #endif - /// Manufacturer of device. Only returned if user signs in with a Microsoft account as part of Project Rome. + /// Manufacturer of the device. Only returned if the user signs in with a Microsoft account as part of Project Rome. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Manufacturer { @@ -298,7 +298,7 @@ public List MemberOf { set { BackingStore?.Set("memberOf", value); } } #endif - /// Model of device. Only returned if user signs in with a Microsoft account as part of Project Rome. + /// Model of the device. Only returned if the user signs in with a Microsoft account as part of Project Rome. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Model { @@ -312,7 +312,7 @@ public string Model { set { BackingStore?.Set("model", value); } } #endif - /// Friendly name of a device. Only returned if user signs in with a Microsoft account as part of Project Rome. + /// Friendly name of the device. Only returned if user signs in with a Microsoft account as part of Project Rome. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Name { @@ -331,7 +331,7 @@ public DateTimeOffset? OnPremisesLastSyncDateTime { get { return BackingStore?.Get("onPremisesLastSyncDateTime"); } set { BackingStore?.Set("onPremisesLastSyncDateTime", value); } } - /// The onPremisesSecurityIdentifier property + /// The on-premises security identifier (SID) for the user who was synchronized from on-premises to the cloud. Read-only. Returned only on $select. Supports $filter (eq). #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? OnPremisesSecurityIdentifier { @@ -392,7 +392,7 @@ public List PhysicalIds { set { BackingStore?.Set("physicalIds", value); } } #endif - /// Platform of device. Only returned if user signs in with a Microsoft account as part of Project Rome. Only returned if user signs in with a Microsoft account as part of Project Rome. + /// Platform of device. Only returned if the user signs in with a Microsoft account as part of Project Rome. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Platform { @@ -495,7 +495,7 @@ public List TransitiveMemberOf { set { BackingStore?.Set("transitiveMemberOf", value); } } #endif - /// Type of trust for the joined device. Read-only. Possible values: Workplace (indicates bring your own personal devices), AzureAd (Cloud only joined devices), ServerAd (on-premises domain joined devices joined to Azure AD). For more details, see Introduction to device management in Azure Active Directory + /// Type of trust for the joined device. Read-only. Possible values: Workplace (indicates bring your own personal devices), AzureAd (Cloud only joined devices), ServerAd (on-premises domain joined devices joined to Azure AD). For more details, see Introduction to device management in Azure Active Directory. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? TrustType { diff --git a/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationReferredSettingInformation.cs b/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationReferredSettingInformation.cs index 530b405b431..23b435c6ea7 100644 --- a/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationReferredSettingInformation.cs +++ b/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationReferredSettingInformation.cs @@ -31,7 +31,7 @@ public string OdataType { set { BackingStore?.Set("@odata.type", value); } } #endif - /// Setting definition id that is being referred to a setting. Applicable for reusable setting. + /// Setting definition id that is being referred to a setting. Applicable for reusable setting #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? SettingDefinitionId { diff --git a/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationSettingDefinition.cs b/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationSettingDefinition.cs index f589ba39f2b..badf0de7dfb 100644 --- a/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationSettingDefinition.cs +++ b/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationSettingDefinition.cs @@ -11,7 +11,7 @@ public DeviceManagementConfigurationSettingAccessTypes? AccessTypes { get { return BackingStore?.Get("accessTypes"); } set { BackingStore?.Set("accessTypes", value); } } - /// Details which device setting is applicable on. Supports: $filters. + /// Details which device setting is applicable on #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public DeviceManagementConfigurationSettingApplicability? Applicability { @@ -39,7 +39,7 @@ public string BaseUri { set { BackingStore?.Set("baseUri", value); } } #endif - /// Specify category in which the setting is under. Support $filters. + /// Specifies the area group under which the setting is configured in a specified configuration service provider (CSP) #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? CategoryId { @@ -53,7 +53,7 @@ public string CategoryId { set { BackingStore?.Set("categoryId", value); } } #endif - /// Description of the setting. + /// Description of the item #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Description { @@ -67,7 +67,7 @@ public string Description { set { BackingStore?.Set("description", value); } } #endif - /// Name of the setting. For example: Allow Toast. + /// Display name of the item #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? DisplayName { @@ -81,7 +81,7 @@ public string DisplayName { set { BackingStore?.Set("displayName", value); } } #endif - /// Help text of the setting. Give more details of the setting. + /// Help text of the item #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? HelpText { @@ -95,7 +95,7 @@ public string HelpText { set { BackingStore?.Set("helpText", value); } } #endif - /// List of links more info for the setting can be found at. + /// List of links more info for the setting can be found at #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? InfoUrls { @@ -179,7 +179,7 @@ public List ReferredSet set { BackingStore?.Set("referredSettingInformationList", value); } } #endif - /// Root setting definition id if the setting is a child setting. + /// Root setting definition if the setting is a child setting. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? RootDefinitionId { diff --git a/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationSettingGroupDefinition.cs b/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationSettingGroupDefinition.cs index 272ee55fc36..6aa67489d06 100644 --- a/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationSettingGroupDefinition.cs +++ b/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationSettingGroupDefinition.cs @@ -6,7 +6,7 @@ using System; namespace Microsoft.Graph.Beta.Models { public class DeviceManagementConfigurationSettingGroupDefinition : DeviceManagementConfigurationSettingDefinition, IParsable { - /// Dependent child settings to this group of settings. + /// Dependent child settings to this group of settings #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? ChildIds { diff --git a/src/Microsoft.Graph/Generated/Models/Entity.cs b/src/Microsoft.Graph/Generated/Models/Entity.cs index 710a4eb7423..0cace5dfd12 100644 --- a/src/Microsoft.Graph/Generated/Models/Entity.cs +++ b/src/Microsoft.Graph/Generated/Models/Entity.cs @@ -405,6 +405,8 @@ public static Entity CreateFromDiscriminatorValue(IParseNode parseNode) { "#microsoft.graph.customExtensionStageSetting" => new CustomExtensionStageSetting(), "#microsoft.graph.customSecurityAttributeAudit" => new CustomSecurityAttributeAudit(), "#microsoft.graph.customSecurityAttributeDefinition" => new CustomSecurityAttributeDefinition(), + "#microsoft.graph.dailyInactiveUsersByApplicationMetric" => new DailyInactiveUsersByApplicationMetric(), + "#microsoft.graph.dailyInactiveUsersMetric" => new DailyInactiveUsersMetric(), "#microsoft.graph.dataClassificationService" => new DataClassificationService(), "#microsoft.graph.dataCollectionInfo" => new DataCollectionInfo(), "#microsoft.graph.dataLossPreventionPolicy" => new DataLossPreventionPolicy(), @@ -767,6 +769,8 @@ public static Entity CreateFromDiscriminatorValue(IParseNode parseNode) { "#microsoft.graph.importedDeviceIdentityResult" => new ImportedDeviceIdentityResult(), "#microsoft.graph.importedWindowsAutopilotDeviceIdentity" => new ImportedWindowsAutopilotDeviceIdentity(), "#microsoft.graph.importedWindowsAutopilotDeviceIdentityUpload" => new ImportedWindowsAutopilotDeviceIdentityUpload(), + "#microsoft.graph.inactiveUsersByApplicationMetricBase" => new InactiveUsersByApplicationMetricBase(), + "#microsoft.graph.inactiveUsersMetricBase" => new InactiveUsersMetricBase(), "#microsoft.graph.industryData.azureDataLakeConnector" => new AzureDataLakeConnector(), "#microsoft.graph.industryData.fileDataConnector" => new FileDataConnector(), "#microsoft.graph.industryData.fileValidateOperation" => new FileValidateOperation(), @@ -1018,6 +1022,8 @@ public static Entity CreateFromDiscriminatorValue(IParseNode parseNode) { "#microsoft.graph.mobileLobApp" => new MobileLobApp(), "#microsoft.graph.mobileThreatDefenseConnector" => new MobileThreatDefenseConnector(), "#microsoft.graph.mobilityManagementPolicy" => new MobilityManagementPolicy(), + "#microsoft.graph.monthlyInactiveUsersByApplicationMetric" => new MonthlyInactiveUsersByApplicationMetric(), + "#microsoft.graph.monthlyInactiveUsersMetric" => new MonthlyInactiveUsersMetric(), "#microsoft.graph.multiTenantOrganization" => new MultiTenantOrganization(), "#microsoft.graph.multiTenantOrganizationIdentitySyncPolicyTemplate" => new MultiTenantOrganizationIdentitySyncPolicyTemplate(), "#microsoft.graph.multiTenantOrganizationJoinRequestRecord" => new MultiTenantOrganizationJoinRequestRecord(), diff --git a/src/Microsoft.Graph/Generated/Models/ExternalConnectors/Property.cs b/src/Microsoft.Graph/Generated/Models/ExternalConnectors/Property.cs index 231094f848d..bb5c9c8440e 100644 --- a/src/Microsoft.Graph/Generated/Models/ExternalConnectors/Property.cs +++ b/src/Microsoft.Graph/Generated/Models/ExternalConnectors/Property.cs @@ -53,7 +53,7 @@ public bool? IsSearchable { get { return BackingStore?.Get("isSearchable"); } set { BackingStore?.Set("isSearchable", value); } } - /// Specifies one or more well-known tags added against a property. Labels help Microsoft Search understand the semantics of the data in the connection. Adding appropriate labels would result in an enhanced search experience (for example, better relevance). Optional.The possible values are: title, url, createdBy, lastModifiedBy, authors, createdDateTime, lastModifiedDateTime, fileName, fileExtension, unknownFutureValue, iconUrl, containerName, containerUrl. You must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: iconUrl, containerName, containerUrl. + /// Specifies one or more well-known tags added against a property. Labels help Microsoft Search understand the semantics of the data in the connection. Adding appropriate labels would result in an enhanced search experience (for example, better relevance). Optional.The possible values are: title, url, createdBy, lastModifiedBy, authors, createdDateTime, lastModifiedDateTime, fileName, fileExtension, unknownFutureValue, containerName, containerUrl, iconUrl. You must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: containerName, containerUrl, iconUrl. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? Labels { diff --git a/src/Microsoft.Graph/Generated/Models/Identity.cs b/src/Microsoft.Graph/Generated/Models/Identity.cs index 741a269eb68..9a8ba1317fa 100644 --- a/src/Microsoft.Graph/Generated/Models/Identity.cs +++ b/src/Microsoft.Graph/Generated/Models/Identity.cs @@ -15,7 +15,7 @@ public IDictionary AdditionalData { } /// Stores model information. public IBackingStore BackingStore { get; private set; } - /// The display name of the identity. This might not always be available or up to date. For example, if a user changes their display name, the API might show the new value in a future response, but the items associated with the user won't show up as having changed when using delta. + /// The display name of the identity. This property is read-only. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? DisplayName { @@ -29,7 +29,7 @@ public string DisplayName { set { BackingStore?.Set("displayName", value); } } #endif - /// Unique identifier for the identity. + /// The identifier of the identity. This property is read-only. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Id { diff --git a/src/Microsoft.Graph/Generated/Models/InactiveUsersByApplicationMetricBase.cs b/src/Microsoft.Graph/Generated/Models/InactiveUsersByApplicationMetricBase.cs new file mode 100644 index 00000000000..6007dc23071 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/InactiveUsersByApplicationMetricBase.cs @@ -0,0 +1,67 @@ +// +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System; +namespace Microsoft.Graph.Beta.Models { + public class InactiveUsersByApplicationMetricBase : Entity, IParsable { + /// The factDate property + public Date? FactDate { + get { return BackingStore?.Get("factDate"); } + set { BackingStore?.Set("factDate", value); } + } + /// The inactive30DayCount property + public long? Inactive30DayCount { + get { return BackingStore?.Get("inactive30DayCount"); } + set { BackingStore?.Set("inactive30DayCount", value); } + } + /// The inactive60DayCount property + public long? Inactive60DayCount { + get { return BackingStore?.Get("inactive60DayCount"); } + set { BackingStore?.Set("inactive60DayCount", value); } + } + /// The inactive90DayCount property + public long? Inactive90DayCount { + get { return BackingStore?.Get("inactive90DayCount"); } + set { BackingStore?.Set("inactive90DayCount", 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 InactiveUsersByApplicationMetricBase CreateFromDiscriminatorValue(IParseNode parseNode) { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); + return mappingValue switch { + "#microsoft.graph.dailyInactiveUsersByApplicationMetric" => new DailyInactiveUsersByApplicationMetric(), + "#microsoft.graph.monthlyInactiveUsersByApplicationMetric" => new MonthlyInactiveUsersByApplicationMetric(), + _ => new InactiveUsersByApplicationMetricBase(), + }; + } + /// + /// The deserialization information for the current model + /// + public new IDictionary> GetFieldDeserializers() { + return new Dictionary>(base.GetFieldDeserializers()) { + {"factDate", n => { FactDate = n.GetDateValue(); } }, + {"inactive30DayCount", n => { Inactive30DayCount = n.GetLongValue(); } }, + {"inactive60DayCount", n => { Inactive60DayCount = n.GetLongValue(); } }, + {"inactive90DayCount", n => { Inactive90DayCount = n.GetLongValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public new void Serialize(ISerializationWriter writer) { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteDateValue("factDate", FactDate); + writer.WriteLongValue("inactive30DayCount", Inactive30DayCount); + writer.WriteLongValue("inactive60DayCount", Inactive60DayCount); + writer.WriteLongValue("inactive90DayCount", Inactive90DayCount); + } + } +} diff --git a/src/Microsoft.Graph/Generated/Models/InactiveUsersMetricBase.cs b/src/Microsoft.Graph/Generated/Models/InactiveUsersMetricBase.cs new file mode 100644 index 00000000000..37165c27a8d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/InactiveUsersMetricBase.cs @@ -0,0 +1,67 @@ +// +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System; +namespace Microsoft.Graph.Beta.Models { + public class InactiveUsersMetricBase : Entity, IParsable { + /// The factDate property + public Date? FactDate { + get { return BackingStore?.Get("factDate"); } + set { BackingStore?.Set("factDate", value); } + } + /// The inactive30DayCount property + public long? Inactive30DayCount { + get { return BackingStore?.Get("inactive30DayCount"); } + set { BackingStore?.Set("inactive30DayCount", value); } + } + /// The inactive60DayCount property + public long? Inactive60DayCount { + get { return BackingStore?.Get("inactive60DayCount"); } + set { BackingStore?.Set("inactive60DayCount", value); } + } + /// The inactive90DayCount property + public long? Inactive90DayCount { + get { return BackingStore?.Get("inactive90DayCount"); } + set { BackingStore?.Set("inactive90DayCount", 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 InactiveUsersMetricBase CreateFromDiscriminatorValue(IParseNode parseNode) { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); + return mappingValue switch { + "#microsoft.graph.dailyInactiveUsersMetric" => new DailyInactiveUsersMetric(), + "#microsoft.graph.monthlyInactiveUsersMetric" => new MonthlyInactiveUsersMetric(), + _ => new InactiveUsersMetricBase(), + }; + } + /// + /// The deserialization information for the current model + /// + public new IDictionary> GetFieldDeserializers() { + return new Dictionary>(base.GetFieldDeserializers()) { + {"factDate", n => { FactDate = n.GetDateValue(); } }, + {"inactive30DayCount", n => { Inactive30DayCount = n.GetLongValue(); } }, + {"inactive60DayCount", n => { Inactive60DayCount = n.GetLongValue(); } }, + {"inactive90DayCount", n => { Inactive90DayCount = n.GetLongValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public new void Serialize(ISerializationWriter writer) { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteDateValue("factDate", FactDate); + writer.WriteLongValue("inactive30DayCount", Inactive30DayCount); + writer.WriteLongValue("inactive60DayCount", Inactive60DayCount); + writer.WriteLongValue("inactive90DayCount", Inactive90DayCount); + } + } +} diff --git a/src/Microsoft.Graph/Generated/Models/KeyValue.cs b/src/Microsoft.Graph/Generated/Models/KeyValue.cs index 7af81783fba..3d5e71ddef5 100644 --- a/src/Microsoft.Graph/Generated/Models/KeyValue.cs +++ b/src/Microsoft.Graph/Generated/Models/KeyValue.cs @@ -14,7 +14,7 @@ public IDictionary AdditionalData { } /// Stores model information. public IBackingStore BackingStore { get; private set; } - /// Key. + /// Contains the name of the field that a value is associated with. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Key { @@ -42,7 +42,7 @@ public string OdataType { set { BackingStore?.Set("@odata.type", value); } } #endif - /// Value. + /// Contains the corresponding value for the specified key. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Value { diff --git a/src/Microsoft.Graph/Generated/Models/MacOsLobAppAssignmentSettings.cs b/src/Microsoft.Graph/Generated/Models/MacOsLobAppAssignmentSettings.cs index fe8fe52dae6..698f4761e76 100644 --- a/src/Microsoft.Graph/Generated/Models/MacOsLobAppAssignmentSettings.cs +++ b/src/Microsoft.Graph/Generated/Models/MacOsLobAppAssignmentSettings.cs @@ -9,7 +9,7 @@ namespace Microsoft.Graph.Beta.Models { /// Contains properties used to assign a macOS LOB app to a group. /// public class MacOsLobAppAssignmentSettings : MobileAppAssignmentSettings, IParsable { - /// Whether or not to uninstall the app when device is removed from Intune. + /// When TRUE, indicates that the app should be uninstalled when the device is removed from Intune. When FALSE, indicates that the app will not be uninstalled when the device is removed from Intune. public bool? UninstallOnDeviceRemoval { get { return BackingStore?.Get("uninstallOnDeviceRemoval"); } set { BackingStore?.Set("uninstallOnDeviceRemoval", value); } diff --git a/src/Microsoft.Graph/Generated/Models/MonthlyInactiveUsersByApplicationMetric.cs b/src/Microsoft.Graph/Generated/Models/MonthlyInactiveUsersByApplicationMetric.cs new file mode 100644 index 00000000000..026f9bc9fff --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/MonthlyInactiveUsersByApplicationMetric.cs @@ -0,0 +1,40 @@ +// +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System; +namespace Microsoft.Graph.Beta.Models { + public class MonthlyInactiveUsersByApplicationMetric : InactiveUsersByApplicationMetricBase, IParsable { + /// The inactiveCalendarMonthCount property + public long? InactiveCalendarMonthCount { + get { return BackingStore?.Get("inactiveCalendarMonthCount"); } + set { BackingStore?.Set("inactiveCalendarMonthCount", 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 MonthlyInactiveUsersByApplicationMetric CreateFromDiscriminatorValue(IParseNode parseNode) { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new MonthlyInactiveUsersByApplicationMetric(); + } + /// + /// The deserialization information for the current model + /// + public new IDictionary> GetFieldDeserializers() { + return new Dictionary>(base.GetFieldDeserializers()) { + {"inactiveCalendarMonthCount", n => { InactiveCalendarMonthCount = n.GetLongValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public new void Serialize(ISerializationWriter writer) { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteLongValue("inactiveCalendarMonthCount", InactiveCalendarMonthCount); + } + } +} diff --git a/src/Microsoft.Graph/Generated/Models/MonthlyInactiveUsersMetric.cs b/src/Microsoft.Graph/Generated/Models/MonthlyInactiveUsersMetric.cs new file mode 100644 index 00000000000..d1120d95f02 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/MonthlyInactiveUsersMetric.cs @@ -0,0 +1,40 @@ +// +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System; +namespace Microsoft.Graph.Beta.Models { + public class MonthlyInactiveUsersMetric : InactiveUsersMetricBase, IParsable { + /// The inactiveCalendarMonthCount property + public long? InactiveCalendarMonthCount { + get { return BackingStore?.Get("inactiveCalendarMonthCount"); } + set { BackingStore?.Set("inactiveCalendarMonthCount", 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 MonthlyInactiveUsersMetric CreateFromDiscriminatorValue(IParseNode parseNode) { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new MonthlyInactiveUsersMetric(); + } + /// + /// The deserialization information for the current model + /// + public new IDictionary> GetFieldDeserializers() { + return new Dictionary>(base.GetFieldDeserializers()) { + {"inactiveCalendarMonthCount", n => { InactiveCalendarMonthCount = n.GetLongValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public new void Serialize(ISerializationWriter writer) { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteLongValue("inactiveCalendarMonthCount", InactiveCalendarMonthCount); + } + } +} diff --git a/src/Microsoft.Graph/Generated/Models/Networkaccess/CrossTenantAccess.cs b/src/Microsoft.Graph/Generated/Models/Networkaccess/CrossTenantAccess.cs new file mode 100644 index 00000000000..0f25849fab2 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Networkaccess/CrossTenantAccess.cs @@ -0,0 +1,140 @@ +// +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.Beta.Models.Networkaccess { + public class CrossTenantAccess : 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 deviceCount property + public long? DeviceCount { + get { return BackingStore?.Get("deviceCount"); } + set { BackingStore?.Set("deviceCount", value); } + } + /// The lastAccessDateTime property + public DateTimeOffset? LastAccessDateTime { + get { return BackingStore?.Get("lastAccessDateTime"); } + set { BackingStore?.Set("lastAccessDateTime", 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 resourceTenantId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ResourceTenantId { + get { return BackingStore?.Get("resourceTenantId"); } + set { BackingStore?.Set("resourceTenantId", value); } + } +#nullable restore +#else + public string ResourceTenantId { + get { return BackingStore?.Get("resourceTenantId"); } + set { BackingStore?.Set("resourceTenantId", value); } + } +#endif + /// The resourceTenantName property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ResourceTenantName { + get { return BackingStore?.Get("resourceTenantName"); } + set { BackingStore?.Set("resourceTenantName", value); } + } +#nullable restore +#else + public string ResourceTenantName { + get { return BackingStore?.Get("resourceTenantName"); } + set { BackingStore?.Set("resourceTenantName", value); } + } +#endif + /// The resourceTenantPrimaryDomain property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ResourceTenantPrimaryDomain { + get { return BackingStore?.Get("resourceTenantPrimaryDomain"); } + set { BackingStore?.Set("resourceTenantPrimaryDomain", value); } + } +#nullable restore +#else + public string ResourceTenantPrimaryDomain { + get { return BackingStore?.Get("resourceTenantPrimaryDomain"); } + set { BackingStore?.Set("resourceTenantPrimaryDomain", value); } + } +#endif + /// The usageStatus property + public Microsoft.Graph.Beta.Models.Networkaccess.UsageStatus? UsageStatus { + get { return BackingStore?.Get("usageStatus"); } + set { BackingStore?.Set("usageStatus", value); } + } + /// The userCount property + public long? UserCount { + get { return BackingStore?.Get("userCount"); } + set { BackingStore?.Set("userCount", value); } + } + /// + /// Instantiates a new crossTenantAccess and sets the default values. + /// + public CrossTenantAccess() { + 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 CrossTenantAccess CreateFromDiscriminatorValue(IParseNode parseNode) { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new CrossTenantAccess(); + } + /// + /// The deserialization information for the current model + /// + public IDictionary> GetFieldDeserializers() { + return new Dictionary> { + {"deviceCount", n => { DeviceCount = n.GetLongValue(); } }, + {"lastAccessDateTime", n => { LastAccessDateTime = n.GetDateTimeOffsetValue(); } }, + {"@odata.type", n => { OdataType = n.GetStringValue(); } }, + {"resourceTenantId", n => { ResourceTenantId = n.GetStringValue(); } }, + {"resourceTenantName", n => { ResourceTenantName = n.GetStringValue(); } }, + {"resourceTenantPrimaryDomain", n => { ResourceTenantPrimaryDomain = n.GetStringValue(); } }, + {"usageStatus", n => { UsageStatus = n.GetEnumValue(); } }, + {"userCount", n => { UserCount = n.GetLongValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public void Serialize(ISerializationWriter writer) { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteLongValue("deviceCount", DeviceCount); + writer.WriteDateTimeOffsetValue("lastAccessDateTime", LastAccessDateTime); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteStringValue("resourceTenantId", ResourceTenantId); + writer.WriteStringValue("resourceTenantName", ResourceTenantName); + writer.WriteStringValue("resourceTenantPrimaryDomain", ResourceTenantPrimaryDomain); + writer.WriteEnumValue("usageStatus", UsageStatus); + writer.WriteLongValue("userCount", UserCount); + writer.WriteAdditionalData(AdditionalData); + } + } +} diff --git a/src/Microsoft.Graph/Generated/Models/Networkaccess/CrossTenantSummary.cs b/src/Microsoft.Graph/Generated/Models/Networkaccess/CrossTenantSummary.cs index b2130ee25b1..165ffe00f2b 100644 --- a/src/Microsoft.Graph/Generated/Models/Networkaccess/CrossTenantSummary.cs +++ b/src/Microsoft.Graph/Generated/Models/Networkaccess/CrossTenantSummary.cs @@ -43,6 +43,11 @@ public string OdataType { set { BackingStore?.Set("@odata.type", value); } } #endif + /// The rarelyUsedTenantCount property + public int? RarelyUsedTenantCount { + get { return BackingStore?.Get("rarelyUsedTenantCount"); } + set { BackingStore?.Set("rarelyUsedTenantCount", value); } + } /// Count of unique tenants that were accessed, that are different from the device's home tenant, in the time frame between startDateTime and endDateTime. public int? TenantCount { get { return BackingStore?.Get("tenantCount"); } @@ -77,6 +82,7 @@ public IDictionary> GetFieldDeserializers() { {"deviceCount", n => { DeviceCount = n.GetIntValue(); } }, {"newTenantCount", n => { NewTenantCount = n.GetIntValue(); } }, {"@odata.type", n => { OdataType = n.GetStringValue(); } }, + {"rarelyUsedTenantCount", n => { RarelyUsedTenantCount = n.GetIntValue(); } }, {"tenantCount", n => { TenantCount = n.GetIntValue(); } }, {"userCount", n => { UserCount = n.GetIntValue(); } }, }; @@ -91,6 +97,7 @@ public void Serialize(ISerializationWriter writer) { writer.WriteIntValue("deviceCount", DeviceCount); writer.WriteIntValue("newTenantCount", NewTenantCount); writer.WriteStringValue("@odata.type", OdataType); + writer.WriteIntValue("rarelyUsedTenantCount", RarelyUsedTenantCount); writer.WriteIntValue("tenantCount", TenantCount); writer.WriteIntValue("userCount", UserCount); writer.WriteAdditionalData(AdditionalData); diff --git a/src/Microsoft.Graph/Generated/Models/Networkaccess/Destination.cs b/src/Microsoft.Graph/Generated/Models/Networkaccess/Destination.cs new file mode 100644 index 00000000000..7043e9d0380 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Networkaccess/Destination.cs @@ -0,0 +1,124 @@ +// +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.Beta.Models.Networkaccess { + public class Destination : 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 fqdn property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Fqdn { + get { return BackingStore?.Get("fqdn"); } + set { BackingStore?.Set("fqdn", value); } + } +#nullable restore +#else + public string Fqdn { + get { return BackingStore?.Get("fqdn"); } + set { BackingStore?.Set("fqdn", value); } + } +#endif + /// The ip property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Ip { + get { return BackingStore?.Get("ip"); } + set { BackingStore?.Set("ip", value); } + } +#nullable restore +#else + public string Ip { + get { return BackingStore?.Get("ip"); } + set { BackingStore?.Set("ip", value); } + } +#endif + /// The lastAccessDateTime property + public DateTimeOffset? LastAccessDateTime { + get { return BackingStore?.Get("lastAccessDateTime"); } + set { BackingStore?.Set("lastAccessDateTime", value); } + } + /// The networkingProtocol property + public Microsoft.Graph.Beta.Models.Networkaccess.NetworkingProtocol? NetworkingProtocol { + get { return BackingStore?.Get("networkingProtocol"); } + set { BackingStore?.Set("networkingProtocol", 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 port property + public int? Port { + get { return BackingStore?.Get("port"); } + set { BackingStore?.Set("port", value); } + } + /// The trafficType property + public Microsoft.Graph.Beta.Models.Networkaccess.TrafficType? TrafficType { + get { return BackingStore?.Get("trafficType"); } + set { BackingStore?.Set("trafficType", value); } + } + /// + /// Instantiates a new destination and sets the default values. + /// + public Destination() { + 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 Destination CreateFromDiscriminatorValue(IParseNode parseNode) { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new Destination(); + } + /// + /// The deserialization information for the current model + /// + public IDictionary> GetFieldDeserializers() { + return new Dictionary> { + {"fqdn", n => { Fqdn = n.GetStringValue(); } }, + {"ip", n => { Ip = n.GetStringValue(); } }, + {"lastAccessDateTime", n => { LastAccessDateTime = n.GetDateTimeOffsetValue(); } }, + {"networkingProtocol", n => { NetworkingProtocol = n.GetEnumValue(); } }, + {"@odata.type", n => { OdataType = n.GetStringValue(); } }, + {"port", n => { Port = n.GetIntValue(); } }, + {"trafficType", n => { TrafficType = n.GetEnumValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public void Serialize(ISerializationWriter writer) { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("fqdn", Fqdn); + writer.WriteStringValue("ip", Ip); + writer.WriteDateTimeOffsetValue("lastAccessDateTime", LastAccessDateTime); + writer.WriteEnumValue("networkingProtocol", NetworkingProtocol); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteIntValue("port", Port); + writer.WriteEnumValue("trafficType", TrafficType); + writer.WriteAdditionalData(AdditionalData); + } + } +} diff --git a/src/Microsoft.Graph/Generated/Models/Networkaccess/Device.cs b/src/Microsoft.Graph/Generated/Models/Networkaccess/Device.cs new file mode 100644 index 00000000000..90598722a02 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Networkaccess/Device.cs @@ -0,0 +1,133 @@ +// +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.Beta.Models.Networkaccess { + public class Device : 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 deviceId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DeviceId { + get { return BackingStore?.Get("deviceId"); } + set { BackingStore?.Set("deviceId", value); } + } +#nullable restore +#else + public string DeviceId { + get { return BackingStore?.Get("deviceId"); } + set { BackingStore?.Set("deviceId", value); } + } +#endif + /// The displayName property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DisplayName { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#nullable restore +#else + public string DisplayName { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#endif + /// The isCompliant property + public bool? IsCompliant { + get { return BackingStore?.Get("isCompliant"); } + set { BackingStore?.Set("isCompliant", value); } + } + /// The lastAccessDateTime property + public DateTimeOffset? LastAccessDateTime { + get { return BackingStore?.Get("lastAccessDateTime"); } + set { BackingStore?.Set("lastAccessDateTime", 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 operatingSystem property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OperatingSystem { + get { return BackingStore?.Get("operatingSystem"); } + set { BackingStore?.Set("operatingSystem", value); } + } +#nullable restore +#else + public string OperatingSystem { + get { return BackingStore?.Get("operatingSystem"); } + set { BackingStore?.Set("operatingSystem", value); } + } +#endif + /// The trafficType property + public Microsoft.Graph.Beta.Models.Networkaccess.TrafficType? TrafficType { + get { return BackingStore?.Get("trafficType"); } + set { BackingStore?.Set("trafficType", value); } + } + /// + /// Instantiates a new device and sets the default values. + /// + public Device() { + 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 Device CreateFromDiscriminatorValue(IParseNode parseNode) { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new Device(); + } + /// + /// The deserialization information for the current model + /// + public IDictionary> GetFieldDeserializers() { + return new Dictionary> { + {"deviceId", n => { DeviceId = n.GetStringValue(); } }, + {"displayName", n => { DisplayName = n.GetStringValue(); } }, + {"isCompliant", n => { IsCompliant = n.GetBoolValue(); } }, + {"lastAccessDateTime", n => { LastAccessDateTime = n.GetDateTimeOffsetValue(); } }, + {"@odata.type", n => { OdataType = n.GetStringValue(); } }, + {"operatingSystem", n => { OperatingSystem = n.GetStringValue(); } }, + {"trafficType", n => { TrafficType = n.GetEnumValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public void Serialize(ISerializationWriter writer) { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("deviceId", DeviceId); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteBoolValue("isCompliant", IsCompliant); + writer.WriteDateTimeOffsetValue("lastAccessDateTime", LastAccessDateTime); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteStringValue("operatingSystem", OperatingSystem); + writer.WriteEnumValue("trafficType", TrafficType); + writer.WriteAdditionalData(AdditionalData); + } + } +} diff --git a/src/Microsoft.Graph/Generated/Models/Networkaccess/NetworkAccessTraffic.cs b/src/Microsoft.Graph/Generated/Models/Networkaccess/NetworkAccessTraffic.cs index 5fdd3db32a7..7ec918ec0e2 100644 --- a/src/Microsoft.Graph/Generated/Models/Networkaccess/NetworkAccessTraffic.cs +++ b/src/Microsoft.Graph/Generated/Models/Networkaccess/NetworkAccessTraffic.cs @@ -126,6 +126,34 @@ public string DeviceOperatingSystemVersion { get { return BackingStore?.Get("deviceOperatingSystemVersion"); } set { BackingStore?.Set("deviceOperatingSystemVersion", value); } } +#endif + /// The filteringProfileId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? FilteringProfileId { + get { return BackingStore?.Get("filteringProfileId"); } + set { BackingStore?.Set("filteringProfileId", value); } + } +#nullable restore +#else + public string FilteringProfileId { + get { return BackingStore?.Get("filteringProfileId"); } + set { BackingStore?.Set("filteringProfileId", value); } + } +#endif + /// The filteringProfileName property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? FilteringProfileName { + get { return BackingStore?.Get("filteringProfileName"); } + set { BackingStore?.Set("filteringProfileName", value); } + } +#nullable restore +#else + public string FilteringProfileName { + get { return BackingStore?.Get("filteringProfileName"); } + set { BackingStore?.Set("filteringProfileName", value); } + } #endif /// Represents the headers included in a network request or response. Supports $filter (eq) and $orderby. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -140,6 +168,20 @@ public Microsoft.Graph.Beta.Models.Networkaccess.Headers Headers { get { return BackingStore?.Get("headers"); } set { BackingStore?.Set("headers", value); } } +#endif + /// The initiatingProcessName property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? InitiatingProcessName { + get { return BackingStore?.Get("initiatingProcessName"); } + set { BackingStore?.Set("initiatingProcessName", value); } + } +#nullable restore +#else + public string InitiatingProcessName { + get { return BackingStore?.Get("initiatingProcessName"); } + set { BackingStore?.Set("initiatingProcessName", value); } + } #endif /// Represents the networking protocol used for communication.The possible values are: ip, icmp, igmp, ggp, ipv4, tcp, pup, udp, idp, ipv6, ipv6RoutingHeader, ipv6FragmentHeader, ipSecEncapsulatingSecurityPayload, ipSecAuthenticationHeader, icmpV6, ipv6NoNextHeader, ipv6DestinationOptions, nd, raw, ipx, spx, spxII, unknownFutureValue. Supports $filter (eq) and $orderby. public NetworkingProtocol? NetworkProtocol { @@ -173,6 +215,20 @@ public string PolicyId { get { return BackingStore?.Get("policyId"); } set { BackingStore?.Set("policyId", value); } } +#endif + /// The policyName property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? PolicyName { + get { return BackingStore?.Get("policyName"); } + set { BackingStore?.Set("policyName", value); } + } +#nullable restore +#else + public string PolicyName { + get { return BackingStore?.Get("policyName"); } + set { BackingStore?.Set("policyName", value); } + } #endif /// Represents a unique identifier assigned to a policy rule. Supports $filter (eq) and $orderby. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -187,12 +243,40 @@ public string PolicyRuleId { get { return BackingStore?.Get("policyRuleId"); } set { BackingStore?.Set("policyRuleId", value); } } +#endif + /// The policyRuleName property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? PolicyRuleName { + get { return BackingStore?.Get("policyRuleName"); } + set { BackingStore?.Set("policyRuleName", value); } + } +#nullable restore +#else + public string PolicyRuleName { + get { return BackingStore?.Get("policyRuleName"); } + set { BackingStore?.Set("policyRuleName", value); } + } #endif /// Represents the total number of bytes received in a network communication or data transfer. Supports $filter (eq) and $orderby. public long? ReceivedBytes { get { return BackingStore?.Get("receivedBytes"); } set { BackingStore?.Set("receivedBytes", value); } } + /// The resourceTenantId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ResourceTenantId { + get { return BackingStore?.Get("resourceTenantId"); } + set { BackingStore?.Set("resourceTenantId", value); } + } +#nullable restore +#else + public string ResourceTenantId { + get { return BackingStore?.Get("resourceTenantId"); } + set { BackingStore?.Set("resourceTenantId", value); } + } +#endif /// Represents the total number of bytes sent in a network communication or data transfer. Supports $filter (eq) and $orderby. public long? SentBytes { get { return BackingStore?.Get("sentBytes"); } @@ -327,12 +411,18 @@ public IDictionary> GetFieldDeserializers() { {"deviceId", n => { DeviceId = n.GetStringValue(); } }, {"deviceOperatingSystem", n => { DeviceOperatingSystem = n.GetStringValue(); } }, {"deviceOperatingSystemVersion", n => { DeviceOperatingSystemVersion = n.GetStringValue(); } }, + {"filteringProfileId", n => { FilteringProfileId = n.GetStringValue(); } }, + {"filteringProfileName", n => { FilteringProfileName = n.GetStringValue(); } }, {"headers", n => { Headers = n.GetObjectValue(Microsoft.Graph.Beta.Models.Networkaccess.Headers.CreateFromDiscriminatorValue); } }, + {"initiatingProcessName", n => { InitiatingProcessName = n.GetStringValue(); } }, {"networkProtocol", n => { NetworkProtocol = n.GetEnumValue(); } }, {"@odata.type", n => { OdataType = n.GetStringValue(); } }, {"policyId", n => { PolicyId = n.GetStringValue(); } }, + {"policyName", n => { PolicyName = n.GetStringValue(); } }, {"policyRuleId", n => { PolicyRuleId = n.GetStringValue(); } }, + {"policyRuleName", n => { PolicyRuleName = n.GetStringValue(); } }, {"receivedBytes", n => { ReceivedBytes = n.GetLongValue(); } }, + {"resourceTenantId", n => { ResourceTenantId = n.GetStringValue(); } }, {"sentBytes", n => { SentBytes = n.GetLongValue(); } }, {"sessionId", n => { SessionId = n.GetStringValue(); } }, {"sourceIp", n => { SourceIp = n.GetStringValue(); } }, @@ -361,12 +451,18 @@ public void Serialize(ISerializationWriter writer) { writer.WriteStringValue("deviceId", DeviceId); writer.WriteStringValue("deviceOperatingSystem", DeviceOperatingSystem); writer.WriteStringValue("deviceOperatingSystemVersion", DeviceOperatingSystemVersion); + writer.WriteStringValue("filteringProfileId", FilteringProfileId); + writer.WriteStringValue("filteringProfileName", FilteringProfileName); writer.WriteObjectValue("headers", Headers); + writer.WriteStringValue("initiatingProcessName", InitiatingProcessName); writer.WriteEnumValue("networkProtocol", NetworkProtocol); writer.WriteStringValue("@odata.type", OdataType); writer.WriteStringValue("policyId", PolicyId); + writer.WriteStringValue("policyName", PolicyName); writer.WriteStringValue("policyRuleId", PolicyRuleId); + writer.WriteStringValue("policyRuleName", PolicyRuleName); writer.WriteLongValue("receivedBytes", ReceivedBytes); + writer.WriteStringValue("resourceTenantId", ResourceTenantId); writer.WriteLongValue("sentBytes", SentBytes); writer.WriteStringValue("sessionId", SessionId); writer.WriteStringValue("sourceIp", SourceIp); diff --git a/src/Microsoft.Graph/Generated/Models/Networkaccess/TrafficDistributionPoint.cs b/src/Microsoft.Graph/Generated/Models/Networkaccess/TrafficDistributionPoint.cs new file mode 100644 index 00000000000..e33506e238b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Networkaccess/TrafficDistributionPoint.cs @@ -0,0 +1,99 @@ +// +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.Beta.Models.Networkaccess { + public class TrafficDistributionPoint : 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 internetAccessTrafficCount property + public long? InternetAccessTrafficCount { + get { return BackingStore?.Get("internetAccessTrafficCount"); } + set { BackingStore?.Set("internetAccessTrafficCount", value); } + } + /// The microsoft365AccessTrafficCount property + public long? Microsoft365AccessTrafficCount { + get { return BackingStore?.Get("microsoft365AccessTrafficCount"); } + set { BackingStore?.Set("microsoft365AccessTrafficCount", 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 privateAccessTrafficCount property + public long? PrivateAccessTrafficCount { + get { return BackingStore?.Get("privateAccessTrafficCount"); } + set { BackingStore?.Set("privateAccessTrafficCount", value); } + } + /// The timeStampDateTime property + public DateTimeOffset? TimeStampDateTime { + get { return BackingStore?.Get("timeStampDateTime"); } + set { BackingStore?.Set("timeStampDateTime", value); } + } + /// The totalTrafficCount property + public long? TotalTrafficCount { + get { return BackingStore?.Get("totalTrafficCount"); } + set { BackingStore?.Set("totalTrafficCount", value); } + } + /// + /// Instantiates a new trafficDistributionPoint and sets the default values. + /// + public TrafficDistributionPoint() { + 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 TrafficDistributionPoint CreateFromDiscriminatorValue(IParseNode parseNode) { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new TrafficDistributionPoint(); + } + /// + /// The deserialization information for the current model + /// + public IDictionary> GetFieldDeserializers() { + return new Dictionary> { + {"internetAccessTrafficCount", n => { InternetAccessTrafficCount = n.GetLongValue(); } }, + {"microsoft365AccessTrafficCount", n => { Microsoft365AccessTrafficCount = n.GetLongValue(); } }, + {"@odata.type", n => { OdataType = n.GetStringValue(); } }, + {"privateAccessTrafficCount", n => { PrivateAccessTrafficCount = n.GetLongValue(); } }, + {"timeStampDateTime", n => { TimeStampDateTime = n.GetDateTimeOffsetValue(); } }, + {"totalTrafficCount", n => { TotalTrafficCount = n.GetLongValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public void Serialize(ISerializationWriter writer) { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteLongValue("internetAccessTrafficCount", InternetAccessTrafficCount); + writer.WriteLongValue("microsoft365AccessTrafficCount", Microsoft365AccessTrafficCount); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteLongValue("privateAccessTrafficCount", PrivateAccessTrafficCount); + writer.WriteDateTimeOffsetValue("timeStampDateTime", TimeStampDateTime); + writer.WriteLongValue("totalTrafficCount", TotalTrafficCount); + writer.WriteAdditionalData(AdditionalData); + } + } +} diff --git a/src/Microsoft.Graph/Generated/Models/Networkaccess/UsageStatus.cs b/src/Microsoft.Graph/Generated/Models/Networkaccess/UsageStatus.cs new file mode 100644 index 00000000000..10cffb417fe --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Networkaccess/UsageStatus.cs @@ -0,0 +1,13 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models.Networkaccess { + public enum UsageStatus { + [EnumMember(Value = "frequentlyUsed")] + FrequentlyUsed, + [EnumMember(Value = "rarelyUsed")] + RarelyUsed, + [EnumMember(Value = "unknownFutureValue")] + UnknownFutureValue, + } +} diff --git a/src/Microsoft.Graph/Generated/Models/Networkaccess/User.cs b/src/Microsoft.Graph/Generated/Models/Networkaccess/User.cs new file mode 100644 index 00000000000..dbc9a72417f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Networkaccess/User.cs @@ -0,0 +1,133 @@ +// +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.Beta.Models.Networkaccess { + public class User : 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 displayName property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DisplayName { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#nullable restore +#else + public string DisplayName { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#endif + /// The lastAccessDateTime property + public DateTimeOffset? LastAccessDateTime { + get { return BackingStore?.Get("lastAccessDateTime"); } + set { BackingStore?.Set("lastAccessDateTime", 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 trafficType property + public Microsoft.Graph.Beta.Models.Networkaccess.TrafficType? TrafficType { + get { return BackingStore?.Get("trafficType"); } + set { BackingStore?.Set("trafficType", value); } + } + /// The userId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? UserId { + get { return BackingStore?.Get("userId"); } + set { BackingStore?.Set("userId", value); } + } +#nullable restore +#else + public string UserId { + get { return BackingStore?.Get("userId"); } + set { BackingStore?.Set("userId", value); } + } +#endif + /// The userPrincipalName property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? UserPrincipalName { + get { return BackingStore?.Get("userPrincipalName"); } + set { BackingStore?.Set("userPrincipalName", value); } + } +#nullable restore +#else + public string UserPrincipalName { + get { return BackingStore?.Get("userPrincipalName"); } + set { BackingStore?.Set("userPrincipalName", value); } + } +#endif + /// The userType property + public Microsoft.Graph.Beta.Models.Networkaccess.UserType? UserType { + get { return BackingStore?.Get("userType"); } + set { BackingStore?.Set("userType", value); } + } + /// + /// Instantiates a new user and sets the default values. + /// + public User() { + 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 User CreateFromDiscriminatorValue(IParseNode parseNode) { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new User(); + } + /// + /// The deserialization information for the current model + /// + public IDictionary> GetFieldDeserializers() { + return new Dictionary> { + {"displayName", n => { DisplayName = n.GetStringValue(); } }, + {"lastAccessDateTime", n => { LastAccessDateTime = n.GetDateTimeOffsetValue(); } }, + {"@odata.type", n => { OdataType = n.GetStringValue(); } }, + {"trafficType", n => { TrafficType = n.GetEnumValue(); } }, + {"userId", n => { UserId = n.GetStringValue(); } }, + {"userPrincipalName", n => { UserPrincipalName = n.GetStringValue(); } }, + {"userType", n => { UserType = n.GetEnumValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public void Serialize(ISerializationWriter writer) { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteDateTimeOffsetValue("lastAccessDateTime", LastAccessDateTime); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteEnumValue("trafficType", TrafficType); + writer.WriteStringValue("userId", UserId); + writer.WriteStringValue("userPrincipalName", UserPrincipalName); + writer.WriteEnumValue("userType", UserType); + writer.WriteAdditionalData(AdditionalData); + } + } +} diff --git a/src/Microsoft.Graph/Generated/Models/Networkaccess/UserType.cs b/src/Microsoft.Graph/Generated/Models/Networkaccess/UserType.cs new file mode 100644 index 00000000000..0f57d7437a1 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Networkaccess/UserType.cs @@ -0,0 +1,13 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models.Networkaccess { + public enum UserType { + [EnumMember(Value = "member")] + Member, + [EnumMember(Value = "guest")] + Guest, + [EnumMember(Value = "unknownFutureValue")] + UnknownFutureValue, + } +} diff --git a/src/Microsoft.Graph/Generated/Models/Networkaccess/WebCategoriesSummary.cs b/src/Microsoft.Graph/Generated/Models/Networkaccess/WebCategoriesSummary.cs new file mode 100644 index 00000000000..f0b21fa342d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Networkaccess/WebCategoriesSummary.cs @@ -0,0 +1,85 @@ +// +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.Beta.Models.Networkaccess { + public class WebCategoriesSummary : 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 deviceCount property + public long? DeviceCount { + get { return BackingStore?.Get("deviceCount"); } + set { BackingStore?.Set("deviceCount", 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 transactionCount property + public long? TransactionCount { + get { return BackingStore?.Get("transactionCount"); } + set { BackingStore?.Set("transactionCount", value); } + } + /// The userCount property + public long? UserCount { + get { return BackingStore?.Get("userCount"); } + set { BackingStore?.Set("userCount", value); } + } + /// + /// Instantiates a new webCategoriesSummary and sets the default values. + /// + public WebCategoriesSummary() { + 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 WebCategoriesSummary CreateFromDiscriminatorValue(IParseNode parseNode) { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new WebCategoriesSummary(); + } + /// + /// The deserialization information for the current model + /// + public IDictionary> GetFieldDeserializers() { + return new Dictionary> { + {"deviceCount", n => { DeviceCount = n.GetLongValue(); } }, + {"@odata.type", n => { OdataType = n.GetStringValue(); } }, + {"transactionCount", n => { TransactionCount = n.GetLongValue(); } }, + {"userCount", n => { UserCount = n.GetLongValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public void Serialize(ISerializationWriter writer) { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteLongValue("deviceCount", DeviceCount); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteLongValue("transactionCount", TransactionCount); + writer.WriteLongValue("userCount", UserCount); + writer.WriteAdditionalData(AdditionalData); + } + } +} diff --git a/src/Microsoft.Graph/Generated/Models/PrivilegedAccessGroupAssignmentSchedule.cs b/src/Microsoft.Graph/Generated/Models/PrivilegedAccessGroupAssignmentSchedule.cs index b53359acbfe..973d590a5a9 100644 --- a/src/Microsoft.Graph/Generated/Models/PrivilegedAccessGroupAssignmentSchedule.cs +++ b/src/Microsoft.Graph/Generated/Models/PrivilegedAccessGroupAssignmentSchedule.cs @@ -6,7 +6,7 @@ using System; namespace Microsoft.Graph.Beta.Models { public class PrivilegedAccessGroupAssignmentSchedule : PrivilegedAccessSchedule, IParsable { - /// The identifier of the membership or ownership assignment to the group that is governed by PIM. Required. The possible values are: owner, member, unknownFutureValue. + /// The identifier of the membership or ownership assignment to the group that is governed by PIM. Required. The possible values are: owner, member, unknownFutureValue. Supports $filter (eq). public PrivilegedAccessGroupRelationships? AccessId { get { return BackingStore?.Get("accessId"); } set { BackingStore?.Set("accessId", value); } @@ -25,7 +25,7 @@ public PrivilegedAccessGroupEligibilitySchedule ActivatedUsing { set { BackingStore?.Set("activatedUsing", value); } } #endif - /// Indicates whether the membership or ownership assignment for the principal is granted through activation or direct assignment. Required. The possible values are: assigned, activated, unknownFutureValue. + /// Indicates whether the membership or ownership assignment for the principal is granted through activation or direct assignment. Required. The possible values are: assigned, activated, unknownFutureValue. Supports $filter (eq). public PrivilegedAccessGroupAssignmentType? AssignmentType { get { return BackingStore?.Get("assignmentType"); } set { BackingStore?.Set("assignmentType", value); } @@ -44,7 +44,7 @@ public Microsoft.Graph.Beta.Models.Group Group { set { BackingStore?.Set("group", value); } } #endif - /// The identifier of the group representing the scope of the membership or ownership assignment through PIM for groups. Required. + /// The identifier of the group representing the scope of the membership or ownership assignment through PIM for groups. Required. Supports $filter (eq). #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? GroupId { @@ -58,7 +58,7 @@ public string GroupId { set { BackingStore?.Set("groupId", value); } } #endif - /// Indicates whether the assignment is derived from a direct group assignment or through a transitive assignment. The possible values are: direct, group, unknownFutureValue. + /// Indicates whether the assignment is derived from a direct group assignment or through a transitive assignment. The possible values are: direct, group, unknownFutureValue. Supports $filter (eq). public PrivilegedAccessGroupMemberType? MemberType { get { return BackingStore?.Get("memberType"); } set { BackingStore?.Set("memberType", value); } @@ -77,7 +77,7 @@ public DirectoryObject Principal { set { BackingStore?.Set("principal", value); } } #endif - /// The identifier of the principal whose membership or ownership assignment is granted through PIM for groups. Required. + /// The identifier of the principal whose membership or ownership assignment is granted through PIM for groups. Required. Supports $filter (eq). #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? PrincipalId { diff --git a/src/Microsoft.Graph/Generated/Models/PrivilegedAccessGroupAssignmentScheduleInstance.cs b/src/Microsoft.Graph/Generated/Models/PrivilegedAccessGroupAssignmentScheduleInstance.cs index baf3c4358af..752c6da5a24 100644 --- a/src/Microsoft.Graph/Generated/Models/PrivilegedAccessGroupAssignmentScheduleInstance.cs +++ b/src/Microsoft.Graph/Generated/Models/PrivilegedAccessGroupAssignmentScheduleInstance.cs @@ -6,7 +6,7 @@ using System; namespace Microsoft.Graph.Beta.Models { public class PrivilegedAccessGroupAssignmentScheduleInstance : PrivilegedAccessScheduleInstance, IParsable { - /// The identifier of the membership or ownership assignment relationship to the group. Required. The possible values are: owner, member, unknownFutureValue. + /// The identifier of the membership or ownership assignment relationship to the group. Required. The possible values are: owner, member, unknownFutureValue. Supports $filter (eq). public PrivilegedAccessGroupRelationships? AccessId { get { return BackingStore?.Get("accessId"); } set { BackingStore?.Set("accessId", value); } @@ -25,7 +25,7 @@ public PrivilegedAccessGroupEligibilityScheduleInstance ActivatedUsing { set { BackingStore?.Set("activatedUsing", value); } } #endif - /// The identifier of the privilegedAccessGroupAssignmentSchedule from which this instance was created. Required. + /// The identifier of the privilegedAccessGroupAssignmentSchedule from which this instance was created. Required. Supports $filter (eq, ne). #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? AssignmentScheduleId { @@ -39,7 +39,7 @@ public string AssignmentScheduleId { set { BackingStore?.Set("assignmentScheduleId", value); } } #endif - /// Indicates whether the membership or ownership assignment is granted through activation of an eligibility or through direct assignment. Required. The possible values are: assigned, activated, unknownFutureValue. + /// Indicates whether the membership or ownership assignment is granted through activation of an eligibility or through direct assignment. Required. The possible values are: assigned, activated, unknownFutureValue. Supports $filter (eq). public PrivilegedAccessGroupAssignmentType? AssignmentType { get { return BackingStore?.Get("assignmentType"); } set { BackingStore?.Set("assignmentType", value); } @@ -58,7 +58,7 @@ public Microsoft.Graph.Beta.Models.Group Group { set { BackingStore?.Set("group", value); } } #endif - /// The identifier of the group representing the scope of the membership or ownership assignment through PIM for groups. Optional. + /// The identifier of the group representing the scope of the membership or ownership assignment through PIM for groups. Optional. Supports $filter (eq). #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? GroupId { @@ -72,7 +72,7 @@ public string GroupId { set { BackingStore?.Set("groupId", value); } } #endif - /// Indicates whether the assignment is derived from a group assignment. It can further imply whether the caller can manage the assignment schedule. Required. The possible values are: direct, group, unknownFutureValue. + /// Indicates whether the assignment is derived from a group assignment. It can further imply whether the caller can manage the assignment schedule. Required. The possible values are: direct, group, unknownFutureValue. Supports $filter (eq). public PrivilegedAccessGroupMemberType? MemberType { get { return BackingStore?.Get("memberType"); } set { BackingStore?.Set("memberType", value); } @@ -91,7 +91,7 @@ public DirectoryObject Principal { set { BackingStore?.Set("principal", value); } } #endif - /// The identifier of the principal whose membership or ownership assignment to the group is managed through PIM for groups. Required. + /// The identifier of the principal whose membership or ownership assignment to the group is managed through PIM for groups. Required. Supports $filter (eq). #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? PrincipalId { diff --git a/src/Microsoft.Graph/Generated/Models/PrivilegedAccessGroupEligibilitySchedule.cs b/src/Microsoft.Graph/Generated/Models/PrivilegedAccessGroupEligibilitySchedule.cs index c6057d7fb01..06fdfd3dcee 100644 --- a/src/Microsoft.Graph/Generated/Models/PrivilegedAccessGroupEligibilitySchedule.cs +++ b/src/Microsoft.Graph/Generated/Models/PrivilegedAccessGroupEligibilitySchedule.cs @@ -6,7 +6,7 @@ using System; namespace Microsoft.Graph.Beta.Models { public class PrivilegedAccessGroupEligibilitySchedule : PrivilegedAccessSchedule, IParsable { - /// The identifier of the membership or ownership eligibility to the group that is governed by PIM. Required. The possible values are: owner, member. + /// The identifier of the membership or ownership eligibility to the group that is governed by PIM. Required. The possible values are: owner, member. Supports $filter (eq). public PrivilegedAccessGroupRelationships? AccessId { get { return BackingStore?.Get("accessId"); } set { BackingStore?.Set("accessId", value); } @@ -25,7 +25,7 @@ public Microsoft.Graph.Beta.Models.Group Group { set { BackingStore?.Set("group", value); } } #endif - /// The identifier of the group representing the scope of the membership or ownership eligibility through PIM for groups. Required. + /// The identifier of the group representing the scope of the membership or ownership eligibility through PIM for groups. Required. Supports $filter (eq). #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? GroupId { @@ -39,7 +39,7 @@ public string GroupId { set { BackingStore?.Set("groupId", value); } } #endif - /// Indicates whether the assignment is derived from a group assignment. It can further imply whether the caller can manage the schedule. Required. The possible values are: direct, group, unknownFutureValue. + /// Indicates whether the assignment is derived from a group assignment. It can further imply whether the caller can manage the schedule. Required. The possible values are: direct, group, unknownFutureValue. Supports $filter (eq). public PrivilegedAccessGroupMemberType? MemberType { get { return BackingStore?.Get("memberType"); } set { BackingStore?.Set("memberType", value); } @@ -58,7 +58,7 @@ public DirectoryObject Principal { set { BackingStore?.Set("principal", value); } } #endif - /// The identifier of the principal whose membership or ownership eligibility is granted through PIM for groups. Required. + /// The identifier of the principal whose membership or ownership eligibility is granted through PIM for groups. Required. Supports $filter (eq). #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? PrincipalId { diff --git a/src/Microsoft.Graph/Generated/Models/PrivilegedAccessGroupEligibilityScheduleInstance.cs b/src/Microsoft.Graph/Generated/Models/PrivilegedAccessGroupEligibilityScheduleInstance.cs index bec11e3287b..36f635360f3 100644 --- a/src/Microsoft.Graph/Generated/Models/PrivilegedAccessGroupEligibilityScheduleInstance.cs +++ b/src/Microsoft.Graph/Generated/Models/PrivilegedAccessGroupEligibilityScheduleInstance.cs @@ -6,12 +6,12 @@ using System; namespace Microsoft.Graph.Beta.Models { public class PrivilegedAccessGroupEligibilityScheduleInstance : PrivilegedAccessScheduleInstance, IParsable { - /// The identifier of the membership or ownership eligibility relationship to the group. Required. The possible values are: owner, member. + /// The identifier of the membership or ownership eligibility relationship to the group. Required. The possible values are: owner, member. Supports $filter (eq). public PrivilegedAccessGroupRelationships? AccessId { get { return BackingStore?.Get("accessId"); } set { BackingStore?.Set("accessId", value); } } - /// The identifier of the privilegedAccessGroupEligibilitySchedule from which this instance was created. Required. + /// The identifier of the privilegedAccessGroupEligibilitySchedule from which this instance was created. Required. Supports $filter (eq, ne). #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? EligibilityScheduleId { @@ -39,7 +39,7 @@ public Microsoft.Graph.Beta.Models.Group Group { set { BackingStore?.Set("group", value); } } #endif - /// The identifier of the group representing the scope of the membership or ownership eligibility through PIM for groups. Required. + /// The identifier of the group representing the scope of the membership or ownership eligibility through PIM for groups. Required. Supports $filter (eq). #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? GroupId { @@ -53,7 +53,7 @@ public string GroupId { set { BackingStore?.Set("groupId", value); } } #endif - /// Indicates whether the assignment is derived from a group assignment. It can further imply whether the calling principal can manage the assignment schedule. Required. The possible values are: direct, group, unknownFutureValue. + /// Indicates whether the assignment is derived from a group assignment. It can further imply whether the calling principal can manage the assignment schedule. Required. The possible values are: direct, group, unknownFutureValue. Supports $filter (eq). public PrivilegedAccessGroupMemberType? MemberType { get { return BackingStore?.Get("memberType"); } set { BackingStore?.Set("memberType", value); } @@ -72,7 +72,7 @@ public DirectoryObject Principal { set { BackingStore?.Set("principal", value); } } #endif - /// The identifier of the principal whose membership or ownership eligibility to the group is managed through PIM for groups. Required. + /// The identifier of the principal whose membership or ownership eligibility to the group is managed through PIM for groups. Required. Supports $filter (eq). #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? PrincipalId { diff --git a/src/Microsoft.Graph/Generated/Models/RecommendationBase.cs b/src/Microsoft.Graph/Generated/Models/RecommendationBase.cs index 9646ef5977a..d3261ec9932 100644 --- a/src/Microsoft.Graph/Generated/Models/RecommendationBase.cs +++ b/src/Microsoft.Graph/Generated/Models/RecommendationBase.cs @@ -168,7 +168,7 @@ public Microsoft.Graph.Beta.Models.RecommendationType? RecommendationType { get { return BackingStore?.Get("recommendationType"); } set { BackingStore?.Set("recommendationType", value); } } - /// The current release type of the recommendation. The possible values are: preview or generallyAvailable. + /// The current release type of the recommendation. The possible values are: preview, generallyAvailable, unknownFutureValue. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? ReleaseType { diff --git a/src/Microsoft.Graph/Generated/Models/ServicePrincipal.cs b/src/Microsoft.Graph/Generated/Models/ServicePrincipal.cs index 86c363be7a4..6ba6d177528 100644 --- a/src/Microsoft.Graph/Generated/Models/ServicePrincipal.cs +++ b/src/Microsoft.Graph/Generated/Models/ServicePrincipal.cs @@ -67,7 +67,7 @@ public string AppDisplayName { set { BackingStore?.Set("appDisplayName", value); } } #endif - /// The unique identifier for the associated application (its appId property). Supports $filter (eq, ne, not, in, startsWith). + /// The unique identifier for the associated application (its appId property). Alternate key. Supports $filter (eq, ne, not, in, startsWith). #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? AppId { diff --git a/src/Microsoft.Graph/Generated/Models/SubjectRightsRequestEnumeratedMailboxLocation.cs b/src/Microsoft.Graph/Generated/Models/SubjectRightsRequestEnumeratedMailboxLocation.cs index cd5dac88cb0..36fb7d8b203 100644 --- a/src/Microsoft.Graph/Generated/Models/SubjectRightsRequestEnumeratedMailboxLocation.cs +++ b/src/Microsoft.Graph/Generated/Models/SubjectRightsRequestEnumeratedMailboxLocation.cs @@ -6,7 +6,7 @@ using System; namespace Microsoft.Graph.Beta.Models { public class SubjectRightsRequestEnumeratedMailboxLocation : SubjectRightsRequestMailboxLocation, IParsable { - /// Collection of mailboxes that should be included in the search. Includes the UPN (user principal name) of each mailbox, for example, Monica.Thompson@contoso.com. + /// The upns property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? Upns { @@ -20,7 +20,7 @@ public List Upns { set { BackingStore?.Set("upns", value); } } #endif - /// The userPrincipalNames property + /// Collection of mailboxes that should be included in the search. Includes the user principal name (UPN) of each mailbox, for example, Monica.Thompson@contoso.com. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? UserPrincipalNames { diff --git a/src/Microsoft.Graph/Generated/Models/SubjectRightsRequestHistory.cs b/src/Microsoft.Graph/Generated/Models/SubjectRightsRequestHistory.cs index 4638547d9f7..b2a1ffa223d 100644 --- a/src/Microsoft.Graph/Generated/Models/SubjectRightsRequestHistory.cs +++ b/src/Microsoft.Graph/Generated/Models/SubjectRightsRequestHistory.cs @@ -47,7 +47,7 @@ public string OdataType { set { BackingStore?.Set("@odata.type", value); } } #endif - /// The stage when the entity was changed. Possible values are: contentRetrieval, contentReview, generateReport, contentDeletion, caseResolved, unknownFutureValue. + /// The stage when the entity was changed. Possible values are: contentRetrieval, contentReview, generateReport, contentDeletion, caseResolved, unknownFutureValue, approval. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: approval. public SubjectRightsRequestStage? Stage { get { return BackingStore?.Get("stage"); } set { BackingStore?.Set("stage", value); } diff --git a/src/Microsoft.Graph/Generated/Models/SubjectRightsRequestStageDetail.cs b/src/Microsoft.Graph/Generated/Models/SubjectRightsRequestStageDetail.cs index b5e6e8fb540..c4fe91777c7 100644 --- a/src/Microsoft.Graph/Generated/Models/SubjectRightsRequestStageDetail.cs +++ b/src/Microsoft.Graph/Generated/Models/SubjectRightsRequestStageDetail.cs @@ -42,7 +42,7 @@ public string OdataType { set { BackingStore?.Set("@odata.type", value); } } #endif - /// The stage of the subject rights request. Possible values are: contentRetrieval, contentReview, generateReport, contentDeletion, caseResolved, unknownFutureValue, approval. + /// The stage of the subject rights request. Possible values are: contentRetrieval, contentReview, generateReport, contentDeletion, caseResolved, unknownFutureValue, approval. You must use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: approval. public SubjectRightsRequestStage? Stage { get { return BackingStore?.Get("stage"); } set { BackingStore?.Set("stage", value); } diff --git a/src/Microsoft.Graph/Generated/Models/VirtualEndpoint.cs b/src/Microsoft.Graph/Generated/Models/VirtualEndpoint.cs index bb22d47512f..f41be64cd3b 100644 --- a/src/Microsoft.Graph/Generated/Models/VirtualEndpoint.cs +++ b/src/Microsoft.Graph/Generated/Models/VirtualEndpoint.cs @@ -90,7 +90,7 @@ public List ExternalPartnerSettings { set { BackingStore?.Set("externalPartnerSettings", value); } } #endif - /// The frontLineServicePlans property + /// Front-line service plans for a Cloud PC. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? FrontLineServicePlans { @@ -188,7 +188,7 @@ public List ServicePlans { set { BackingStore?.Set("servicePlans", value); } } #endif - /// Cloud PC shared-use service plans. + /// The sharedUseServicePlans property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? SharedUseServicePlans { diff --git a/src/Microsoft.Graph/Generated/Models/WindowsAppXAppAssignmentSettings.cs b/src/Microsoft.Graph/Generated/Models/WindowsAppXAppAssignmentSettings.cs index 37b29955476..0629c29b2a0 100644 --- a/src/Microsoft.Graph/Generated/Models/WindowsAppXAppAssignmentSettings.cs +++ b/src/Microsoft.Graph/Generated/Models/WindowsAppXAppAssignmentSettings.cs @@ -9,7 +9,7 @@ namespace Microsoft.Graph.Beta.Models { /// Contains properties used when assigning a Windows AppX mobile app to a group. /// public class WindowsAppXAppAssignmentSettings : MobileAppAssignmentSettings, IParsable { - /// When TRUE, indicates that device execution context will be used for the AppX mobile app. When FALSE, indicates that user context will be used for the AppX mobile app. By default, this property is set to FALSE. Once this property has been set to TRUE it cannot be changed. + /// Whether or not to use device execution context for Windows AppX mobile app. public bool? UseDeviceContext { get { return BackingStore?.Get("useDeviceContext"); } set { BackingStore?.Set("useDeviceContext", value); } diff --git a/src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessCrossTenantAccessReportWithStartDateTimeWithEndDateTime/CrossTenantAccessReportWithStartDateTimeWithEndDateTimeGetResponse.cs b/src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessCrossTenantAccessReportWithStartDateTimeWithEndDateTime/CrossTenantAccessReportWithStartDateTimeWithEndDateTimeGetResponse.cs new file mode 100644 index 00000000000..ee408eef392 --- /dev/null +++ b/src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessCrossTenantAccessReportWithStartDateTimeWithEndDateTime/CrossTenantAccessReportWithStartDateTimeWithEndDateTimeGetResponse.cs @@ -0,0 +1,51 @@ +// +using Microsoft.Graph.Beta.Models.Networkaccess; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System; +namespace Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessCrossTenantAccessReportWithStartDateTimeWithEndDateTime { + public class CrossTenantAccessReportWithStartDateTimeWithEndDateTimeGetResponse : 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 CrossTenantAccessReportWithStartDateTimeWithEndDateTimeGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new CrossTenantAccessReportWithStartDateTimeWithEndDateTimeGetResponse(); + } + /// + /// The deserialization information for the current model + /// + public new IDictionary> GetFieldDeserializers() { + return new Dictionary>(base.GetFieldDeserializers()) { + {"value", n => { Value = n.GetCollectionOfObjectValues(Microsoft.Graph.Beta.Models.Networkaccess.CrossTenantAccess.CreateFromDiscriminatorValue)?.ToList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public new void Serialize(ISerializationWriter writer) { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} diff --git a/src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessCrossTenantAccessReportWithStartDateTimeWithEndDateTime/CrossTenantAccessReportWithStartDateTimeWithEndDateTimeResponse.cs b/src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessCrossTenantAccessReportWithStartDateTimeWithEndDateTime/CrossTenantAccessReportWithStartDateTimeWithEndDateTimeResponse.cs new file mode 100644 index 00000000000..7a2792a4f5a --- /dev/null +++ b/src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessCrossTenantAccessReportWithStartDateTimeWithEndDateTime/CrossTenantAccessReportWithStartDateTimeWithEndDateTimeResponse.cs @@ -0,0 +1,19 @@ +// +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System; +namespace Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessCrossTenantAccessReportWithStartDateTimeWithEndDateTime { + [Obsolete("This class is obsolete. Use crossTenantAccessReportWithStartDateTimeWithEndDateTimeGetResponse instead.")] + public class CrossTenantAccessReportWithStartDateTimeWithEndDateTimeResponse : CrossTenantAccessReportWithStartDateTimeWithEndDateTimeGetResponse, IParsable { + /// + /// 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 CrossTenantAccessReportWithStartDateTimeWithEndDateTimeResponse CreateFromDiscriminatorValue(IParseNode parseNode) { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new CrossTenantAccessReportWithStartDateTimeWithEndDateTimeResponse(); + } + } +} diff --git a/src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessCrossTenantAccessReportWithStartDateTimeWithEndDateTime/MicrosoftGraphNetworkaccessCrossTenantAccessReportWithStartDateTimeWithEndDateTimeRequestBuilder.cs b/src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessCrossTenantAccessReportWithStartDateTimeWithEndDateTime/MicrosoftGraphNetworkaccessCrossTenantAccessReportWithStartDateTimeWithEndDateTimeRequestBuilder.cs new file mode 100644 index 00000000000..6eec2a10714 --- /dev/null +++ b/src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessCrossTenantAccessReportWithStartDateTimeWithEndDateTime/MicrosoftGraphNetworkaccessCrossTenantAccessReportWithStartDateTimeWithEndDateTimeRequestBuilder.cs @@ -0,0 +1,159 @@ +// +using Microsoft.Graph.Beta.Models.ODataErrors; +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.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessCrossTenantAccessReportWithStartDateTimeWithEndDateTime { + /// + /// Provides operations to call the crossTenantAccessReport method. + /// + public class MicrosoftGraphNetworkaccessCrossTenantAccessReportWithStartDateTimeWithEndDateTimeRequestBuilder : BaseRequestBuilder { + /// + /// Instantiates a new MicrosoftGraphNetworkaccessCrossTenantAccessReportWithStartDateTimeWithEndDateTimeRequestBuilder and sets the default values. + /// + /// Usage: endDateTime={endDateTime} + /// Path parameters for the request + /// The request adapter to use to execute the requests. + /// Usage: startDateTime={startDateTime} + public MicrosoftGraphNetworkaccessCrossTenantAccessReportWithStartDateTimeWithEndDateTimeRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter, DateTimeOffset? endDateTime = default, DateTimeOffset? startDateTime = default) : base(requestAdapter, "{+baseurl}/networkAccess/reports/microsoft.graph.networkaccess.crossTenantAccessReport(startDateTime={startDateTime},endDateTime={endDateTime}){?%24top,%24skip,%24search,%24filter,%24count}", pathParameters) { + if (endDateTime is not null) PathParameters.Add("endDateTime", endDateTime); + if (startDateTime is not null) PathParameters.Add("startDateTime", startDateTime); + } + /// + /// Instantiates a new MicrosoftGraphNetworkaccessCrossTenantAccessReportWithStartDateTimeWithEndDateTimeRequestBuilder and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public MicrosoftGraphNetworkaccessCrossTenantAccessReportWithStartDateTimeWithEndDateTimeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/networkAccess/reports/microsoft.graph.networkaccess.crossTenantAccessReport(startDateTime={startDateTime},endDateTime={endDateTime}){?%24top,%24skip,%24search,%24filter,%24count}", rawUrl) { + } + /// + /// Invoke function crossTenantAccessReport + /// + /// 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 GetAsCrossTenantAccessReportWithStartDateTimeWithEndDateTimeGetResponseAsync(Action? requestConfiguration = default, CancellationToken cancellationToken = default) { +#nullable restore +#else + public async Task GetAsCrossTenantAccessReportWithStartDateTimeWithEndDateTimeGetResponseAsync(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, CrossTenantAccessReportWithStartDateTimeWithEndDateTimeGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke function crossTenantAccessReport + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + [Obsolete("This method is obsolete. Use GetAsCrossTenantAccessReportWithStartDateTimeWithEndDateTimeGetResponse instead.")] +#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, CrossTenantAccessReportWithStartDateTimeWithEndDateTimeResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke function crossTenantAccessReport + /// + /// 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, + }; + requestInfo.Headers.Add("Accept", "application/json"); + if (requestConfiguration != null) { + var requestConfig = new MicrosoftGraphNetworkaccessCrossTenantAccessReportWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration(); + requestConfiguration.Invoke(requestConfig); + requestInfo.AddQueryParameters(requestConfig.QueryParameters); + requestInfo.AddRequestOptions(requestConfig.Options); + requestInfo.AddHeaders(requestConfig.Headers); + } + 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 MicrosoftGraphNetworkaccessCrossTenantAccessReportWithStartDateTimeWithEndDateTimeRequestBuilder WithUrl(string rawUrl) { + return new MicrosoftGraphNetworkaccessCrossTenantAccessReportWithStartDateTimeWithEndDateTimeRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Invoke function crossTenantAccessReport + /// + public class MicrosoftGraphNetworkaccessCrossTenantAccessReportWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters { + /// 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 + /// 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 + /// 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 MicrosoftGraphNetworkaccessCrossTenantAccessReportWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration { + /// Request headers + public RequestHeaders Headers { get; set; } + /// Request options + public IList Options { get; set; } + /// Request query parameters + public MicrosoftGraphNetworkaccessCrossTenantAccessReportWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters QueryParameters { get; set; } = new MicrosoftGraphNetworkaccessCrossTenantAccessReportWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters(); + /// + /// Instantiates a new microsoftGraphNetworkaccessCrossTenantAccessReportWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration and sets the default values. + /// + public MicrosoftGraphNetworkaccessCrossTenantAccessReportWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration() { + Options = new List(); + Headers = new RequestHeaders(); + } + } + } +} diff --git a/src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTime/DestinationReportWithStartDateTimeWithEndDateTimeGetResponse.cs b/src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTime/DestinationReportWithStartDateTimeWithEndDateTimeGetResponse.cs new file mode 100644 index 00000000000..4a0511b162a --- /dev/null +++ b/src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTime/DestinationReportWithStartDateTimeWithEndDateTimeGetResponse.cs @@ -0,0 +1,51 @@ +// +using Microsoft.Graph.Beta.Models.Networkaccess; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System; +namespace Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTime { + public class DestinationReportWithStartDateTimeWithEndDateTimeGetResponse : 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 DestinationReportWithStartDateTimeWithEndDateTimeGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new DestinationReportWithStartDateTimeWithEndDateTimeGetResponse(); + } + /// + /// The deserialization information for the current model + /// + public new IDictionary> GetFieldDeserializers() { + return new Dictionary>(base.GetFieldDeserializers()) { + {"value", n => { Value = n.GetCollectionOfObjectValues(Destination.CreateFromDiscriminatorValue)?.ToList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public new void Serialize(ISerializationWriter writer) { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} diff --git a/src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTime/DestinationReportWithStartDateTimeWithEndDateTimeResponse.cs b/src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTime/DestinationReportWithStartDateTimeWithEndDateTimeResponse.cs new file mode 100644 index 00000000000..678315a4df3 --- /dev/null +++ b/src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTime/DestinationReportWithStartDateTimeWithEndDateTimeResponse.cs @@ -0,0 +1,19 @@ +// +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System; +namespace Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTime { + [Obsolete("This class is obsolete. Use destinationReportWithStartDateTimeWithEndDateTimeGetResponse instead.")] + public class DestinationReportWithStartDateTimeWithEndDateTimeResponse : DestinationReportWithStartDateTimeWithEndDateTimeGetResponse, IParsable { + /// + /// 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 DestinationReportWithStartDateTimeWithEndDateTimeResponse CreateFromDiscriminatorValue(IParseNode parseNode) { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new DestinationReportWithStartDateTimeWithEndDateTimeResponse(); + } + } +} diff --git a/src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTime/MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeRequestBuilder.cs b/src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTime/MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeRequestBuilder.cs new file mode 100644 index 00000000000..595de9ceea3 --- /dev/null +++ b/src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTime/MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeRequestBuilder.cs @@ -0,0 +1,159 @@ +// +using Microsoft.Graph.Beta.Models.ODataErrors; +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.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTime { + /// + /// Provides operations to call the destinationReport method. + /// + public class MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeRequestBuilder : BaseRequestBuilder { + /// + /// Instantiates a new MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeRequestBuilder and sets the default values. + /// + /// Usage: endDateTime={endDateTime} + /// Path parameters for the request + /// The request adapter to use to execute the requests. + /// Usage: startDateTime={startDateTime} + public MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter, DateTimeOffset? endDateTime = default, DateTimeOffset? startDateTime = default) : base(requestAdapter, "{+baseurl}/networkAccess/reports/microsoft.graph.networkaccess.destinationReport(startDateTime={startDateTime},endDateTime={endDateTime}){?%24top,%24skip,%24search,%24filter,%24count}", pathParameters) { + if (endDateTime is not null) PathParameters.Add("endDateTime", endDateTime); + if (startDateTime is not null) PathParameters.Add("startDateTime", startDateTime); + } + /// + /// Instantiates a new MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeRequestBuilder and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/networkAccess/reports/microsoft.graph.networkaccess.destinationReport(startDateTime={startDateTime},endDateTime={endDateTime}){?%24top,%24skip,%24search,%24filter,%24count}", rawUrl) { + } + /// + /// Invoke function destinationReport + /// + /// 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 GetAsDestinationReportWithStartDateTimeWithEndDateTimeGetResponseAsync(Action? requestConfiguration = default, CancellationToken cancellationToken = default) { +#nullable restore +#else + public async Task GetAsDestinationReportWithStartDateTimeWithEndDateTimeGetResponseAsync(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, DestinationReportWithStartDateTimeWithEndDateTimeGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke function destinationReport + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + [Obsolete("This method is obsolete. Use GetAsDestinationReportWithStartDateTimeWithEndDateTimeGetResponse instead.")] +#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, DestinationReportWithStartDateTimeWithEndDateTimeResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke function destinationReport + /// + /// 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, + }; + requestInfo.Headers.Add("Accept", "application/json"); + if (requestConfiguration != null) { + var requestConfig = new MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration(); + requestConfiguration.Invoke(requestConfig); + requestInfo.AddQueryParameters(requestConfig.QueryParameters); + requestInfo.AddRequestOptions(requestConfig.Options); + requestInfo.AddHeaders(requestConfig.Headers); + } + 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 MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeRequestBuilder WithUrl(string rawUrl) { + return new MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Invoke function destinationReport + /// + public class MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters { + /// 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 + /// 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 + /// 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 MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration { + /// Request headers + public RequestHeaders Headers { get; set; } + /// Request options + public IList Options { get; set; } + /// Request query parameters + public MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters QueryParameters { get; set; } = new MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters(); + /// + /// Instantiates a new microsoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration and sets the default values. + /// + public MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration() { + Options = new List(); + Headers = new RequestHeaders(); + } + } + } +} diff --git a/src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTime/DeviceReportWithStartDateTimeWithEndDateTimeGetResponse.cs b/src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTime/DeviceReportWithStartDateTimeWithEndDateTimeGetResponse.cs new file mode 100644 index 00000000000..11cdddf21c2 --- /dev/null +++ b/src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTime/DeviceReportWithStartDateTimeWithEndDateTimeGetResponse.cs @@ -0,0 +1,51 @@ +// +using Microsoft.Graph.Beta.Models.Networkaccess; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System; +namespace Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTime { + public class DeviceReportWithStartDateTimeWithEndDateTimeGetResponse : 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 DeviceReportWithStartDateTimeWithEndDateTimeGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new DeviceReportWithStartDateTimeWithEndDateTimeGetResponse(); + } + /// + /// The deserialization information for the current model + /// + public new IDictionary> GetFieldDeserializers() { + return new Dictionary>(base.GetFieldDeserializers()) { + {"value", n => { Value = n.GetCollectionOfObjectValues(Microsoft.Graph.Beta.Models.Networkaccess.Device.CreateFromDiscriminatorValue)?.ToList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public new void Serialize(ISerializationWriter writer) { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} diff --git a/src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTime/DeviceReportWithStartDateTimeWithEndDateTimeResponse.cs b/src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTime/DeviceReportWithStartDateTimeWithEndDateTimeResponse.cs new file mode 100644 index 00000000000..5440417028e --- /dev/null +++ b/src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTime/DeviceReportWithStartDateTimeWithEndDateTimeResponse.cs @@ -0,0 +1,19 @@ +// +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System; +namespace Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTime { + [Obsolete("This class is obsolete. Use deviceReportWithStartDateTimeWithEndDateTimeGetResponse instead.")] + public class DeviceReportWithStartDateTimeWithEndDateTimeResponse : DeviceReportWithStartDateTimeWithEndDateTimeGetResponse, IParsable { + /// + /// 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 DeviceReportWithStartDateTimeWithEndDateTimeResponse CreateFromDiscriminatorValue(IParseNode parseNode) { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new DeviceReportWithStartDateTimeWithEndDateTimeResponse(); + } + } +} diff --git a/src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTime/MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilder.cs b/src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTime/MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilder.cs new file mode 100644 index 00000000000..7ee110da181 --- /dev/null +++ b/src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTime/MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilder.cs @@ -0,0 +1,159 @@ +// +using Microsoft.Graph.Beta.Models.ODataErrors; +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.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTime { + /// + /// Provides operations to call the deviceReport method. + /// + public class MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilder : BaseRequestBuilder { + /// + /// Instantiates a new MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilder and sets the default values. + /// + /// Usage: endDateTime={endDateTime} + /// Path parameters for the request + /// The request adapter to use to execute the requests. + /// Usage: startDateTime={startDateTime} + public MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter, DateTimeOffset? endDateTime = default, DateTimeOffset? startDateTime = default) : base(requestAdapter, "{+baseurl}/networkAccess/reports/microsoft.graph.networkaccess.deviceReport(startDateTime={startDateTime},endDateTime={endDateTime}){?%24top,%24skip,%24search,%24filter,%24count}", pathParameters) { + if (endDateTime is not null) PathParameters.Add("endDateTime", endDateTime); + if (startDateTime is not null) PathParameters.Add("startDateTime", startDateTime); + } + /// + /// Instantiates a new MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilder and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/networkAccess/reports/microsoft.graph.networkaccess.deviceReport(startDateTime={startDateTime},endDateTime={endDateTime}){?%24top,%24skip,%24search,%24filter,%24count}", rawUrl) { + } + /// + /// Invoke function deviceReport + /// + /// 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 GetAsDeviceReportWithStartDateTimeWithEndDateTimeGetResponseAsync(Action? requestConfiguration = default, CancellationToken cancellationToken = default) { +#nullable restore +#else + public async Task GetAsDeviceReportWithStartDateTimeWithEndDateTimeGetResponseAsync(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, DeviceReportWithStartDateTimeWithEndDateTimeGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke function deviceReport + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + [Obsolete("This method is obsolete. Use GetAsDeviceReportWithStartDateTimeWithEndDateTimeGetResponse instead.")] +#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, DeviceReportWithStartDateTimeWithEndDateTimeResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke function deviceReport + /// + /// 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, + }; + requestInfo.Headers.Add("Accept", "application/json"); + if (requestConfiguration != null) { + var requestConfig = new MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration(); + requestConfiguration.Invoke(requestConfig); + requestInfo.AddQueryParameters(requestConfig.QueryParameters); + requestInfo.AddRequestOptions(requestConfig.Options); + requestInfo.AddHeaders(requestConfig.Headers); + } + 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 MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilder WithUrl(string rawUrl) { + return new MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Invoke function deviceReport + /// + public class MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters { + /// 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 + /// 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 + /// 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 MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration { + /// Request headers + public RequestHeaders Headers { get; set; } + /// Request options + public IList Options { get; set; } + /// Request query parameters + public MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters QueryParameters { get; set; } = new MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters(); + /// + /// Instantiates a new microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration and sets the default values. + /// + public MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration() { + Options = new List(); + Headers = new RequestHeaders(); + } + } + } +} diff --git a/src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessTrafficDistributionWithStartDateTimeWithEndDateTime/MicrosoftGraphNetworkaccessTrafficDistributionWithStartDateTimeWithEndDateTimeRequestBuilder.cs b/src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessTrafficDistributionWithStartDateTimeWithEndDateTime/MicrosoftGraphNetworkaccessTrafficDistributionWithStartDateTimeWithEndDateTimeRequestBuilder.cs new file mode 100644 index 00000000000..24e4c651b98 --- /dev/null +++ b/src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessTrafficDistributionWithStartDateTimeWithEndDateTime/MicrosoftGraphNetworkaccessTrafficDistributionWithStartDateTimeWithEndDateTimeRequestBuilder.cs @@ -0,0 +1,159 @@ +// +using Microsoft.Graph.Beta.Models.ODataErrors; +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.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessTrafficDistributionWithStartDateTimeWithEndDateTime { + /// + /// Provides operations to call the trafficDistribution method. + /// + public class MicrosoftGraphNetworkaccessTrafficDistributionWithStartDateTimeWithEndDateTimeRequestBuilder : BaseRequestBuilder { + /// + /// Instantiates a new MicrosoftGraphNetworkaccessTrafficDistributionWithStartDateTimeWithEndDateTimeRequestBuilder and sets the default values. + /// + /// Usage: endDateTime={endDateTime} + /// Path parameters for the request + /// The request adapter to use to execute the requests. + /// Usage: startDateTime={startDateTime} + public MicrosoftGraphNetworkaccessTrafficDistributionWithStartDateTimeWithEndDateTimeRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter, DateTimeOffset? endDateTime = default, DateTimeOffset? startDateTime = default) : base(requestAdapter, "{+baseurl}/networkAccess/reports/microsoft.graph.networkaccess.trafficDistribution(startDateTime={startDateTime},endDateTime={endDateTime}){?%24top,%24skip,%24search,%24filter,%24count}", pathParameters) { + if (endDateTime is not null) PathParameters.Add("endDateTime", endDateTime); + if (startDateTime is not null) PathParameters.Add("startDateTime", startDateTime); + } + /// + /// Instantiates a new MicrosoftGraphNetworkaccessTrafficDistributionWithStartDateTimeWithEndDateTimeRequestBuilder and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public MicrosoftGraphNetworkaccessTrafficDistributionWithStartDateTimeWithEndDateTimeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/networkAccess/reports/microsoft.graph.networkaccess.trafficDistribution(startDateTime={startDateTime},endDateTime={endDateTime}){?%24top,%24skip,%24search,%24filter,%24count}", rawUrl) { + } + /// + /// Invoke function trafficDistribution + /// + /// 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 GetAsTrafficDistributionWithStartDateTimeWithEndDateTimeGetResponseAsync(Action? requestConfiguration = default, CancellationToken cancellationToken = default) { +#nullable restore +#else + public async Task GetAsTrafficDistributionWithStartDateTimeWithEndDateTimeGetResponseAsync(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, TrafficDistributionWithStartDateTimeWithEndDateTimeGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke function trafficDistribution + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + [Obsolete("This method is obsolete. Use GetAsTrafficDistributionWithStartDateTimeWithEndDateTimeGetResponse instead.")] +#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, TrafficDistributionWithStartDateTimeWithEndDateTimeResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke function trafficDistribution + /// + /// 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, + }; + requestInfo.Headers.Add("Accept", "application/json"); + if (requestConfiguration != null) { + var requestConfig = new MicrosoftGraphNetworkaccessTrafficDistributionWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration(); + requestConfiguration.Invoke(requestConfig); + requestInfo.AddQueryParameters(requestConfig.QueryParameters); + requestInfo.AddRequestOptions(requestConfig.Options); + requestInfo.AddHeaders(requestConfig.Headers); + } + 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 MicrosoftGraphNetworkaccessTrafficDistributionWithStartDateTimeWithEndDateTimeRequestBuilder WithUrl(string rawUrl) { + return new MicrosoftGraphNetworkaccessTrafficDistributionWithStartDateTimeWithEndDateTimeRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Invoke function trafficDistribution + /// + public class MicrosoftGraphNetworkaccessTrafficDistributionWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters { + /// 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 + /// 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 + /// 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 MicrosoftGraphNetworkaccessTrafficDistributionWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration { + /// Request headers + public RequestHeaders Headers { get; set; } + /// Request options + public IList Options { get; set; } + /// Request query parameters + public MicrosoftGraphNetworkaccessTrafficDistributionWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters QueryParameters { get; set; } = new MicrosoftGraphNetworkaccessTrafficDistributionWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters(); + /// + /// Instantiates a new microsoftGraphNetworkaccessTrafficDistributionWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration and sets the default values. + /// + public MicrosoftGraphNetworkaccessTrafficDistributionWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration() { + Options = new List(); + Headers = new RequestHeaders(); + } + } + } +} diff --git a/src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessTrafficDistributionWithStartDateTimeWithEndDateTime/TrafficDistributionWithStartDateTimeWithEndDateTimeGetResponse.cs b/src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessTrafficDistributionWithStartDateTimeWithEndDateTime/TrafficDistributionWithStartDateTimeWithEndDateTimeGetResponse.cs new file mode 100644 index 00000000000..31b1fc91422 --- /dev/null +++ b/src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessTrafficDistributionWithStartDateTimeWithEndDateTime/TrafficDistributionWithStartDateTimeWithEndDateTimeGetResponse.cs @@ -0,0 +1,51 @@ +// +using Microsoft.Graph.Beta.Models.Networkaccess; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System; +namespace Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessTrafficDistributionWithStartDateTimeWithEndDateTime { + public class TrafficDistributionWithStartDateTimeWithEndDateTimeGetResponse : 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 TrafficDistributionWithStartDateTimeWithEndDateTimeGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new TrafficDistributionWithStartDateTimeWithEndDateTimeGetResponse(); + } + /// + /// The deserialization information for the current model + /// + public new IDictionary> GetFieldDeserializers() { + return new Dictionary>(base.GetFieldDeserializers()) { + {"value", n => { Value = n.GetCollectionOfObjectValues(TrafficDistributionPoint.CreateFromDiscriminatorValue)?.ToList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public new void Serialize(ISerializationWriter writer) { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} diff --git a/src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessTrafficDistributionWithStartDateTimeWithEndDateTime/TrafficDistributionWithStartDateTimeWithEndDateTimeResponse.cs b/src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessTrafficDistributionWithStartDateTimeWithEndDateTime/TrafficDistributionWithStartDateTimeWithEndDateTimeResponse.cs new file mode 100644 index 00000000000..171122ea04f --- /dev/null +++ b/src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessTrafficDistributionWithStartDateTimeWithEndDateTime/TrafficDistributionWithStartDateTimeWithEndDateTimeResponse.cs @@ -0,0 +1,19 @@ +// +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System; +namespace Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessTrafficDistributionWithStartDateTimeWithEndDateTime { + [Obsolete("This class is obsolete. Use trafficDistributionWithStartDateTimeWithEndDateTimeGetResponse instead.")] + public class TrafficDistributionWithStartDateTimeWithEndDateTimeResponse : TrafficDistributionWithStartDateTimeWithEndDateTimeGetResponse, IParsable { + /// + /// 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 TrafficDistributionWithStartDateTimeWithEndDateTimeResponse CreateFromDiscriminatorValue(IParseNode parseNode) { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new TrafficDistributionWithStartDateTimeWithEndDateTimeResponse(); + } + } +} diff --git a/src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessUserReportWithStartDateTimeWithEndDateTime/MicrosoftGraphNetworkaccessUserReportWithStartDateTimeWithEndDateTimeRequestBuilder.cs b/src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessUserReportWithStartDateTimeWithEndDateTime/MicrosoftGraphNetworkaccessUserReportWithStartDateTimeWithEndDateTimeRequestBuilder.cs new file mode 100644 index 00000000000..a594da7e9b1 --- /dev/null +++ b/src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessUserReportWithStartDateTimeWithEndDateTime/MicrosoftGraphNetworkaccessUserReportWithStartDateTimeWithEndDateTimeRequestBuilder.cs @@ -0,0 +1,159 @@ +// +using Microsoft.Graph.Beta.Models.ODataErrors; +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.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessUserReportWithStartDateTimeWithEndDateTime { + /// + /// Provides operations to call the userReport method. + /// + public class MicrosoftGraphNetworkaccessUserReportWithStartDateTimeWithEndDateTimeRequestBuilder : BaseRequestBuilder { + /// + /// Instantiates a new MicrosoftGraphNetworkaccessUserReportWithStartDateTimeWithEndDateTimeRequestBuilder and sets the default values. + /// + /// Usage: endDateTime={endDateTime} + /// Path parameters for the request + /// The request adapter to use to execute the requests. + /// Usage: startDateTime={startDateTime} + public MicrosoftGraphNetworkaccessUserReportWithStartDateTimeWithEndDateTimeRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter, DateTimeOffset? endDateTime = default, DateTimeOffset? startDateTime = default) : base(requestAdapter, "{+baseurl}/networkAccess/reports/microsoft.graph.networkaccess.userReport(startDateTime={startDateTime},endDateTime={endDateTime}){?%24top,%24skip,%24search,%24filter,%24count}", pathParameters) { + if (endDateTime is not null) PathParameters.Add("endDateTime", endDateTime); + if (startDateTime is not null) PathParameters.Add("startDateTime", startDateTime); + } + /// + /// Instantiates a new MicrosoftGraphNetworkaccessUserReportWithStartDateTimeWithEndDateTimeRequestBuilder and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public MicrosoftGraphNetworkaccessUserReportWithStartDateTimeWithEndDateTimeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/networkAccess/reports/microsoft.graph.networkaccess.userReport(startDateTime={startDateTime},endDateTime={endDateTime}){?%24top,%24skip,%24search,%24filter,%24count}", rawUrl) { + } + /// + /// Invoke function userReport + /// + /// 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 GetAsUserReportWithStartDateTimeWithEndDateTimeGetResponseAsync(Action? requestConfiguration = default, CancellationToken cancellationToken = default) { +#nullable restore +#else + public async Task GetAsUserReportWithStartDateTimeWithEndDateTimeGetResponseAsync(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, UserReportWithStartDateTimeWithEndDateTimeGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke function userReport + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + [Obsolete("This method is obsolete. Use GetAsUserReportWithStartDateTimeWithEndDateTimeGetResponse instead.")] +#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, UserReportWithStartDateTimeWithEndDateTimeResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke function userReport + /// + /// 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, + }; + requestInfo.Headers.Add("Accept", "application/json"); + if (requestConfiguration != null) { + var requestConfig = new MicrosoftGraphNetworkaccessUserReportWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration(); + requestConfiguration.Invoke(requestConfig); + requestInfo.AddQueryParameters(requestConfig.QueryParameters); + requestInfo.AddRequestOptions(requestConfig.Options); + requestInfo.AddHeaders(requestConfig.Headers); + } + 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 MicrosoftGraphNetworkaccessUserReportWithStartDateTimeWithEndDateTimeRequestBuilder WithUrl(string rawUrl) { + return new MicrosoftGraphNetworkaccessUserReportWithStartDateTimeWithEndDateTimeRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Invoke function userReport + /// + public class MicrosoftGraphNetworkaccessUserReportWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters { + /// 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 + /// 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 + /// 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 MicrosoftGraphNetworkaccessUserReportWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration { + /// Request headers + public RequestHeaders Headers { get; set; } + /// Request options + public IList Options { get; set; } + /// Request query parameters + public MicrosoftGraphNetworkaccessUserReportWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters QueryParameters { get; set; } = new MicrosoftGraphNetworkaccessUserReportWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters(); + /// + /// Instantiates a new microsoftGraphNetworkaccessUserReportWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration and sets the default values. + /// + public MicrosoftGraphNetworkaccessUserReportWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration() { + Options = new List(); + Headers = new RequestHeaders(); + } + } + } +} diff --git a/src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessUserReportWithStartDateTimeWithEndDateTime/UserReportWithStartDateTimeWithEndDateTimeGetResponse.cs b/src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessUserReportWithStartDateTimeWithEndDateTime/UserReportWithStartDateTimeWithEndDateTimeGetResponse.cs new file mode 100644 index 00000000000..846b44dafac --- /dev/null +++ b/src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessUserReportWithStartDateTimeWithEndDateTime/UserReportWithStartDateTimeWithEndDateTimeGetResponse.cs @@ -0,0 +1,51 @@ +// +using Microsoft.Graph.Beta.Models.Networkaccess; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System; +namespace Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessUserReportWithStartDateTimeWithEndDateTime { + public class UserReportWithStartDateTimeWithEndDateTimeGetResponse : 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 UserReportWithStartDateTimeWithEndDateTimeGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new UserReportWithStartDateTimeWithEndDateTimeGetResponse(); + } + /// + /// The deserialization information for the current model + /// + public new IDictionary> GetFieldDeserializers() { + return new Dictionary>(base.GetFieldDeserializers()) { + {"value", n => { Value = n.GetCollectionOfObjectValues(Microsoft.Graph.Beta.Models.Networkaccess.User.CreateFromDiscriminatorValue)?.ToList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public new void Serialize(ISerializationWriter writer) { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} diff --git a/src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessUserReportWithStartDateTimeWithEndDateTime/UserReportWithStartDateTimeWithEndDateTimeResponse.cs b/src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessUserReportWithStartDateTimeWithEndDateTime/UserReportWithStartDateTimeWithEndDateTimeResponse.cs new file mode 100644 index 00000000000..3901dc27c01 --- /dev/null +++ b/src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessUserReportWithStartDateTimeWithEndDateTime/UserReportWithStartDateTimeWithEndDateTimeResponse.cs @@ -0,0 +1,19 @@ +// +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System; +namespace Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessUserReportWithStartDateTimeWithEndDateTime { + [Obsolete("This class is obsolete. Use userReportWithStartDateTimeWithEndDateTimeGetResponse instead.")] + public class UserReportWithStartDateTimeWithEndDateTimeResponse : UserReportWithStartDateTimeWithEndDateTimeGetResponse, IParsable { + /// + /// 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 UserReportWithStartDateTimeWithEndDateTimeResponse CreateFromDiscriminatorValue(IParseNode parseNode) { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new UserReportWithStartDateTimeWithEndDateTimeResponse(); + } + } +} diff --git a/src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessWebCategoryReportWithStartDateTimeWithEndDateTime/MicrosoftGraphNetworkaccessWebCategoryReportWithStartDateTimeWithEndDateTimeRequestBuilder.cs b/src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessWebCategoryReportWithStartDateTimeWithEndDateTime/MicrosoftGraphNetworkaccessWebCategoryReportWithStartDateTimeWithEndDateTimeRequestBuilder.cs new file mode 100644 index 00000000000..8f7ec31d647 --- /dev/null +++ b/src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessWebCategoryReportWithStartDateTimeWithEndDateTime/MicrosoftGraphNetworkaccessWebCategoryReportWithStartDateTimeWithEndDateTimeRequestBuilder.cs @@ -0,0 +1,159 @@ +// +using Microsoft.Graph.Beta.Models.ODataErrors; +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.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessWebCategoryReportWithStartDateTimeWithEndDateTime { + /// + /// Provides operations to call the webCategoryReport method. + /// + public class MicrosoftGraphNetworkaccessWebCategoryReportWithStartDateTimeWithEndDateTimeRequestBuilder : BaseRequestBuilder { + /// + /// Instantiates a new MicrosoftGraphNetworkaccessWebCategoryReportWithStartDateTimeWithEndDateTimeRequestBuilder and sets the default values. + /// + /// Usage: endDateTime={endDateTime} + /// Path parameters for the request + /// The request adapter to use to execute the requests. + /// Usage: startDateTime={startDateTime} + public MicrosoftGraphNetworkaccessWebCategoryReportWithStartDateTimeWithEndDateTimeRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter, DateTimeOffset? endDateTime = default, DateTimeOffset? startDateTime = default) : base(requestAdapter, "{+baseurl}/networkAccess/reports/microsoft.graph.networkaccess.webCategoryReport(startDateTime={startDateTime},endDateTime={endDateTime}){?%24top,%24skip,%24search,%24filter,%24count}", pathParameters) { + if (endDateTime is not null) PathParameters.Add("endDateTime", endDateTime); + if (startDateTime is not null) PathParameters.Add("startDateTime", startDateTime); + } + /// + /// Instantiates a new MicrosoftGraphNetworkaccessWebCategoryReportWithStartDateTimeWithEndDateTimeRequestBuilder and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public MicrosoftGraphNetworkaccessWebCategoryReportWithStartDateTimeWithEndDateTimeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/networkAccess/reports/microsoft.graph.networkaccess.webCategoryReport(startDateTime={startDateTime},endDateTime={endDateTime}){?%24top,%24skip,%24search,%24filter,%24count}", rawUrl) { + } + /// + /// Invoke function webCategoryReport + /// + /// 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 GetAsWebCategoryReportWithStartDateTimeWithEndDateTimeGetResponseAsync(Action? requestConfiguration = default, CancellationToken cancellationToken = default) { +#nullable restore +#else + public async Task GetAsWebCategoryReportWithStartDateTimeWithEndDateTimeGetResponseAsync(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, WebCategoryReportWithStartDateTimeWithEndDateTimeGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke function webCategoryReport + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + [Obsolete("This method is obsolete. Use GetAsWebCategoryReportWithStartDateTimeWithEndDateTimeGetResponse instead.")] +#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, WebCategoryReportWithStartDateTimeWithEndDateTimeResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke function webCategoryReport + /// + /// 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, + }; + requestInfo.Headers.Add("Accept", "application/json"); + if (requestConfiguration != null) { + var requestConfig = new MicrosoftGraphNetworkaccessWebCategoryReportWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration(); + requestConfiguration.Invoke(requestConfig); + requestInfo.AddQueryParameters(requestConfig.QueryParameters); + requestInfo.AddRequestOptions(requestConfig.Options); + requestInfo.AddHeaders(requestConfig.Headers); + } + 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 MicrosoftGraphNetworkaccessWebCategoryReportWithStartDateTimeWithEndDateTimeRequestBuilder WithUrl(string rawUrl) { + return new MicrosoftGraphNetworkaccessWebCategoryReportWithStartDateTimeWithEndDateTimeRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Invoke function webCategoryReport + /// + public class MicrosoftGraphNetworkaccessWebCategoryReportWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters { + /// 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 + /// 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 + /// 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 MicrosoftGraphNetworkaccessWebCategoryReportWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration { + /// Request headers + public RequestHeaders Headers { get; set; } + /// Request options + public IList Options { get; set; } + /// Request query parameters + public MicrosoftGraphNetworkaccessWebCategoryReportWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters QueryParameters { get; set; } = new MicrosoftGraphNetworkaccessWebCategoryReportWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters(); + /// + /// Instantiates a new microsoftGraphNetworkaccessWebCategoryReportWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration and sets the default values. + /// + public MicrosoftGraphNetworkaccessWebCategoryReportWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration() { + Options = new List(); + Headers = new RequestHeaders(); + } + } + } +} diff --git a/src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessWebCategoryReportWithStartDateTimeWithEndDateTime/WebCategoryReportWithStartDateTimeWithEndDateTimeGetResponse.cs b/src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessWebCategoryReportWithStartDateTimeWithEndDateTime/WebCategoryReportWithStartDateTimeWithEndDateTimeGetResponse.cs new file mode 100644 index 00000000000..3a1f05b9468 --- /dev/null +++ b/src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessWebCategoryReportWithStartDateTimeWithEndDateTime/WebCategoryReportWithStartDateTimeWithEndDateTimeGetResponse.cs @@ -0,0 +1,51 @@ +// +using Microsoft.Graph.Beta.Models.Networkaccess; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System; +namespace Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessWebCategoryReportWithStartDateTimeWithEndDateTime { + public class WebCategoryReportWithStartDateTimeWithEndDateTimeGetResponse : 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 WebCategoryReportWithStartDateTimeWithEndDateTimeGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new WebCategoryReportWithStartDateTimeWithEndDateTimeGetResponse(); + } + /// + /// The deserialization information for the current model + /// + public new IDictionary> GetFieldDeserializers() { + return new Dictionary>(base.GetFieldDeserializers()) { + {"value", n => { Value = n.GetCollectionOfObjectValues(WebCategoriesSummary.CreateFromDiscriminatorValue)?.ToList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public new void Serialize(ISerializationWriter writer) { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} diff --git a/src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessWebCategoryReportWithStartDateTimeWithEndDateTime/WebCategoryReportWithStartDateTimeWithEndDateTimeResponse.cs b/src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessWebCategoryReportWithStartDateTimeWithEndDateTime/WebCategoryReportWithStartDateTimeWithEndDateTimeResponse.cs new file mode 100644 index 00000000000..0347a58d385 --- /dev/null +++ b/src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessWebCategoryReportWithStartDateTimeWithEndDateTime/WebCategoryReportWithStartDateTimeWithEndDateTimeResponse.cs @@ -0,0 +1,19 @@ +// +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System; +namespace Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessWebCategoryReportWithStartDateTimeWithEndDateTime { + [Obsolete("This class is obsolete. Use webCategoryReportWithStartDateTimeWithEndDateTimeGetResponse instead.")] + public class WebCategoryReportWithStartDateTimeWithEndDateTimeResponse : WebCategoryReportWithStartDateTimeWithEndDateTimeGetResponse, IParsable { + /// + /// 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 WebCategoryReportWithStartDateTimeWithEndDateTimeResponse CreateFromDiscriminatorValue(IParseNode parseNode) { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new WebCategoryReportWithStartDateTimeWithEndDateTimeResponse(); + } + } +} diff --git a/src/Microsoft.Graph/Generated/NetworkAccess/Reports/ReportsRequestBuilder.cs b/src/Microsoft.Graph/Generated/NetworkAccess/Reports/ReportsRequestBuilder.cs index bdd1a03acf4..b6baf095192 100644 --- a/src/Microsoft.Graph/Generated/NetworkAccess/Reports/ReportsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/NetworkAccess/Reports/ReportsRequestBuilder.cs @@ -1,11 +1,17 @@ // using Microsoft.Graph.Beta.Models.Networkaccess; using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessCrossTenantAccessReportWithStartDateTimeWithEndDateTime; +using Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTime; +using Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTime; using Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessEntitiesSummariesWithStartDateTimeWithEndDateTime; using Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetCrossTenantSummaryWithStartDateTimeWithEndDateTimeWithDiscoveryPivotDateTime; using Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetDestinationSummariesWithStartDateTimeWithEndDateTimeWithAggregatedBy; using Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetDeviceUsageSummaryWithStartDateTimeWithEndDateTimeWithActivityPivotDateTime; +using Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessTrafficDistributionWithStartDateTimeWithEndDateTime; using Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessTransactionSummariesWithStartDateTimeWithEndDateTime; +using Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessUserReportWithStartDateTimeWithEndDateTime; +using Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessWebCategoryReportWithStartDateTimeWithEndDateTime; using Microsoft.Kiota.Abstractions.Serialization; using Microsoft.Kiota.Abstractions; using System.Collections.Generic; @@ -72,6 +78,36 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Beta.Models.Networkaccess.Reports.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// + /// Provides operations to call the crossTenantAccessReport method. + /// + /// Usage: endDateTime={endDateTime} + /// Usage: startDateTime={startDateTime} + public MicrosoftGraphNetworkaccessCrossTenantAccessReportWithStartDateTimeWithEndDateTimeRequestBuilder MicrosoftGraphNetworkaccessCrossTenantAccessReportWithStartDateTimeWithEndDateTime(DateTimeOffset? endDateTime, DateTimeOffset? startDateTime) { + _ = endDateTime ?? throw new ArgumentNullException(nameof(endDateTime)); + _ = startDateTime ?? throw new ArgumentNullException(nameof(startDateTime)); + return new MicrosoftGraphNetworkaccessCrossTenantAccessReportWithStartDateTimeWithEndDateTimeRequestBuilder(PathParameters, RequestAdapter, endDateTime, startDateTime); + } + /// + /// Provides operations to call the destinationReport method. + /// + /// Usage: endDateTime={endDateTime} + /// Usage: startDateTime={startDateTime} + public MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeRequestBuilder MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTime(DateTimeOffset? endDateTime, DateTimeOffset? startDateTime) { + _ = endDateTime ?? throw new ArgumentNullException(nameof(endDateTime)); + _ = startDateTime ?? throw new ArgumentNullException(nameof(startDateTime)); + return new MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeRequestBuilder(PathParameters, RequestAdapter, endDateTime, startDateTime); + } + /// + /// Provides operations to call the deviceReport method. + /// + /// Usage: endDateTime={endDateTime} + /// Usage: startDateTime={startDateTime} + public MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilder MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTime(DateTimeOffset? endDateTime, DateTimeOffset? startDateTime) { + _ = endDateTime ?? throw new ArgumentNullException(nameof(endDateTime)); + _ = startDateTime ?? throw new ArgumentNullException(nameof(startDateTime)); + return new MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilder(PathParameters, RequestAdapter, endDateTime, startDateTime); + } + /// /// Provides operations to call the entitiesSummaries method. /// /// Usage: endDateTime={endDateTime} @@ -118,6 +154,16 @@ public MicrosoftGraphNetworkaccessGetDeviceUsageSummaryWithStartDateTimeWithEndD return new MicrosoftGraphNetworkaccessGetDeviceUsageSummaryWithStartDateTimeWithEndDateTimeWithActivityPivotDateTimeRequestBuilder(PathParameters, RequestAdapter, activityPivotDateTime, endDateTime, startDateTime); } /// + /// Provides operations to call the trafficDistribution method. + /// + /// Usage: endDateTime={endDateTime} + /// Usage: startDateTime={startDateTime} + public MicrosoftGraphNetworkaccessTrafficDistributionWithStartDateTimeWithEndDateTimeRequestBuilder MicrosoftGraphNetworkaccessTrafficDistributionWithStartDateTimeWithEndDateTime(DateTimeOffset? endDateTime, DateTimeOffset? startDateTime) { + _ = endDateTime ?? throw new ArgumentNullException(nameof(endDateTime)); + _ = startDateTime ?? throw new ArgumentNullException(nameof(startDateTime)); + return new MicrosoftGraphNetworkaccessTrafficDistributionWithStartDateTimeWithEndDateTimeRequestBuilder(PathParameters, RequestAdapter, endDateTime, startDateTime); + } + /// /// Provides operations to call the transactionSummaries method. /// /// Usage: endDateTime={endDateTime} @@ -128,6 +174,26 @@ public MicrosoftGraphNetworkaccessTransactionSummariesWithStartDateTimeWithEndDa return new MicrosoftGraphNetworkaccessTransactionSummariesWithStartDateTimeWithEndDateTimeRequestBuilder(PathParameters, RequestAdapter, endDateTime, startDateTime); } /// + /// Provides operations to call the userReport method. + /// + /// Usage: endDateTime={endDateTime} + /// Usage: startDateTime={startDateTime} + public MicrosoftGraphNetworkaccessUserReportWithStartDateTimeWithEndDateTimeRequestBuilder MicrosoftGraphNetworkaccessUserReportWithStartDateTimeWithEndDateTime(DateTimeOffset? endDateTime, DateTimeOffset? startDateTime) { + _ = endDateTime ?? throw new ArgumentNullException(nameof(endDateTime)); + _ = startDateTime ?? throw new ArgumentNullException(nameof(startDateTime)); + return new MicrosoftGraphNetworkaccessUserReportWithStartDateTimeWithEndDateTimeRequestBuilder(PathParameters, RequestAdapter, endDateTime, startDateTime); + } + /// + /// Provides operations to call the webCategoryReport method. + /// + /// Usage: endDateTime={endDateTime} + /// Usage: startDateTime={startDateTime} + public MicrosoftGraphNetworkaccessWebCategoryReportWithStartDateTimeWithEndDateTimeRequestBuilder MicrosoftGraphNetworkaccessWebCategoryReportWithStartDateTimeWithEndDateTime(DateTimeOffset? endDateTime, DateTimeOffset? startDateTime) { + _ = endDateTime ?? throw new ArgumentNullException(nameof(endDateTime)); + _ = startDateTime ?? throw new ArgumentNullException(nameof(startDateTime)); + return new MicrosoftGraphNetworkaccessWebCategoryReportWithStartDateTimeWithEndDateTimeRequestBuilder(PathParameters, RequestAdapter, endDateTime, startDateTime); + } + /// /// Update the navigation property reports in networkAccess /// /// The request body diff --git a/src/Microsoft.Graph/Generated/Organization/OrganizationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Organization/OrganizationRequestBuilder.cs index 4f5c664aa30..f0f77f267e8 100644 --- a/src/Microsoft.Graph/Generated/Organization/OrganizationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Organization/OrganizationRequestBuilder.cs @@ -62,7 +62,7 @@ public OrganizationRequestBuilder(Dictionary pathParameters, IRe public OrganizationRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/organization{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) { } /// - /// Retrieve a list of organization objects. This API is available in the following national cloud deployments. + /// 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 @@ -103,7 +103,7 @@ public async Task GetAsync(Action(requestInfo, Microsoft.Graph.Beta.Models.Organization.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Retrieve a list of organization objects. This API is available in the following national cloud deployments. + /// 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); } /// - /// Retrieve a list of organization objects. This API is available in the following national cloud deployments. + /// 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/RiskDetections/RiskDetectionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/RiskDetections/RiskDetectionsRequestBuilder.cs index 9f69bab86dc..07730dc1ad8 100644 --- a/src/Microsoft.Graph/Generated/RiskDetections/RiskDetectionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RiskDetections/RiskDetectionsRequestBuilder.cs @@ -37,8 +37,8 @@ public RiskDetectionsRequestBuilder(Dictionary pathParameters, I public RiskDetectionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/riskDetections{?%24top,%24search,%24filter,%24orderby,%24select,%24expand}", rawUrl) { } /// - /// Retrieve the properties of a collection of riskDetection objects. This API is available in the following national cloud deployments. - /// Find more info here + /// Retrieve the properties of a riskDetection 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. @@ -78,7 +78,7 @@ public async Task PostAsync(RiskDetection body, Action(requestInfo, RiskDetection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Retrieve the properties of a collection of riskDetection objects. This API is available in the following national cloud deployments. + /// Retrieve the properties of a riskDetection 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 @@ -139,7 +139,7 @@ public RiskDetectionsRequestBuilder WithUrl(string rawUrl) { return new RiskDetectionsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Retrieve the properties of a collection of riskDetection objects. This API is available in the following national cloud deployments. + /// Retrieve the properties of a riskDetection object. This API is available in the following national cloud deployments. /// public class RiskDetectionsRequestBuilderGetQueryParameters { /// Expand related entities diff --git a/src/Microsoft.Graph/Generated/RoleManagement/CloudPC/RoleAssignments/RoleAssignmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/CloudPC/RoleAssignments/RoleAssignmentsRequestBuilder.cs index f5f5a95d218..c973a350d26 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/CloudPC/RoleAssignments/RoleAssignmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/CloudPC/RoleAssignments/RoleAssignmentsRequestBuilder.cs @@ -43,7 +43,7 @@ public RoleAssignmentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt } /// /// Get the properties and relationships of a unifiedRoleAssignmentMultiple object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Azure AD), use unifiedRoleAssignment. 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/RoleManagement/DeviceManagement/RoleAssignments/RoleAssignmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/DeviceManagement/RoleAssignments/RoleAssignmentsRequestBuilder.cs index 5c7be33649b..67ccc4546e8 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/DeviceManagement/RoleAssignments/RoleAssignmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/DeviceManagement/RoleAssignments/RoleAssignmentsRequestBuilder.cs @@ -43,7 +43,7 @@ public RoleAssignmentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt } /// /// Get the properties and relationships of a unifiedRoleAssignmentMultiple object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Azure AD), use unifiedRoleAssignment. 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/Sites/Item/Lists/Item/ListItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ListItemRequestBuilder.cs index 579403fdf69..0421432237a 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ListItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ListItemRequestBuilder.cs @@ -93,8 +93,8 @@ public async Task DeleteAsync(Action - /// Get the list of richLongRunningOperations associated with a list. This API is available in the following national cloud deployments. - /// Find more info here + /// Return the metadata for a list][]. 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. @@ -158,7 +158,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get the list of richLongRunningOperations associated with a list. This API is available in the following national cloud deployments. + /// Return the metadata for a list][]. 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 @@ -235,7 +235,7 @@ public ListItemRequestBuilderDeleteRequestConfiguration() { } } /// - /// Get the list of richLongRunningOperations associated with a list. This API is available in the following national cloud deployments. + /// Return the metadata for a list][]. This API is available in the following [national cloud deployments. /// public class ListItemRequestBuilderGetQueryParameters { /// Expand related entities diff --git a/src/Microsoft.Graph/Generated/Sites/SitesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/SitesRequestBuilder.cs index 68871873644..f9fc5ec097a 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/Teamwork/TeamTemplates/TeamTemplatesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/TeamTemplatesRequestBuilder.cs index 0ccdb7d2570..5f36e4c1919 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/TeamTemplatesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/TeamTemplatesRequestBuilder.cs @@ -42,8 +42,8 @@ public TeamTemplatesRequestBuilder(Dictionary pathParameters, IR public TeamTemplatesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamwork/teamTemplates{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) { } /// - /// List the teamTemplateDefinition objects associated with a teamTemplate. This API is available in the following national cloud deployments. - /// Find more info here + /// Get the list of teamTemplate objects that are available for a tenant. 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 +83,7 @@ public async Task PostAsync(TeamTemplate body, Action(requestInfo, TeamTemplate.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List the teamTemplateDefinition objects associated with a teamTemplate. This API is available in the following national cloud deployments. + /// Get the list of teamTemplate objects that are available for a tenant. 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 +144,7 @@ public TeamTemplatesRequestBuilder WithUrl(string rawUrl) { return new TeamTemplatesRequestBuilder(rawUrl, RequestAdapter); } /// - /// List the teamTemplateDefinition objects associated with a teamTemplate. This API is available in the following national cloud deployments. + /// Get the list of teamTemplate objects that are available for a tenant. This API is available in the following national cloud deployments. /// public class TeamTemplatesRequestBuilderGetQueryParameters { /// Include count of items diff --git a/src/Microsoft.Graph/Generated/TenantRelationships/MultiTenantOrganization/MultiTenantOrganizationRequestBuilder.cs b/src/Microsoft.Graph/Generated/TenantRelationships/MultiTenantOrganization/MultiTenantOrganizationRequestBuilder.cs index 2e7a23fe2e9..4a14ef50a4b 100644 --- a/src/Microsoft.Graph/Generated/TenantRelationships/MultiTenantOrganization/MultiTenantOrganizationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/TenantRelationships/MultiTenantOrganization/MultiTenantOrganizationRequestBuilder.cs @@ -59,8 +59,8 @@ public MultiTenantOrganizationRequestBuilder(string rawUrl, IRequestAdapter requ return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Beta.Models.MultiTenantOrganization.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the properties of a multi-tenant organization. - /// Find more info here + /// Create a new multi-tenant organization. By default, the creator tenant becomes an owner tenant upon successful creation. Only owner tenants can manage a multi-tenant organization. To allow for asynchronous processing, you must wait a minimum of 2 hours between creation and joining a multi-tenant organization. This API is available in the following national cloud deployments. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -107,7 +107,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of a multi-tenant organization. + /// Create a new multi-tenant organization. By default, the creator tenant becomes an owner tenant upon successful creation. Only owner tenants can manage a multi-tenant organization. To allow for asynchronous processing, you must wait a minimum of 2 hours between creation and joining a multi-tenant organization. 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/ChildFoldersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/ChildFoldersRequestBuilder.cs index 2daea4f2d7a..f464f638c5d 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/ChildFoldersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/ChildFoldersRequestBuilder.cs @@ -67,8 +67,8 @@ public async Task GetAsync(Action(requestInfo, MailFolderCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create a new mailSearchFolder in the specified user's mailbox. This API is available in the following national cloud deployments. - /// Find more info here + /// Use this API to create a new child mailFolder. If you intend a new folder to be hidden, you must set the isHidden property to true on creation. 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 a new mailSearchFolder in the specified user's mailbox. This API is available in the following national cloud deployments. + /// Use this API to create a new child mailFolder. If you intend a new folder to be hidden, you must set the isHidden property to true on creation. 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 546ff66983e..94be3005dda 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 attached to a message. This API is available in the following national cloud deployments. - /// Find more info here + /// Retrieve a list of attachment objects. 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. @@ -89,7 +89,7 @@ public async Task PostAsync(Attachment body, Action(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Retrieve a list of attachment objects attached to a message. This API is available in the following national cloud deployments. + /// Retrieve a list of attachment objects. 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 @@ -150,7 +150,7 @@ public AttachmentsRequestBuilder WithUrl(string rawUrl) { return new AttachmentsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Retrieve a list of attachment objects attached to a message. This API is available in the following national cloud deployments. + /// Retrieve a list of attachment objects. 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 461225054fe..8d525c6d366 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 attached to a message. This API is available in the following national cloud deployments. - /// Find more info here + /// Retrieve a list of attachment objects. 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. @@ -89,7 +89,7 @@ public async Task PostAsync(Attachment body, Action(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Retrieve a list of attachment objects attached to a message. This API is available in the following national cloud deployments. + /// Retrieve a list of attachment objects. 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 @@ -150,7 +150,7 @@ public AttachmentsRequestBuilder WithUrl(string rawUrl) { return new AttachmentsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Retrieve a list of attachment objects attached to a message. This API is available in the following national cloud deployments. + /// Retrieve a list of attachment objects. 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 a268fba04d0..651a7845081 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 attached to a message. This API is available in the following national cloud deployments. - /// Find more info here + /// Retrieve a list of attachment objects. 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. @@ -89,7 +89,7 @@ public async Task PostAsync(Attachment body, Action(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Retrieve a list of attachment objects attached to a message. This API is available in the following national cloud deployments. + /// Retrieve a list of attachment objects. 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 @@ -150,7 +150,7 @@ public AttachmentsRequestBuilder WithUrl(string rawUrl) { return new AttachmentsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Retrieve a list of attachment objects attached to a message. This API is available in the following national cloud deployments. + /// Retrieve a list of attachment objects. 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 48ba5da63cb..f726be67862 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/MessageItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/MessageItemRequestBuilder.cs @@ -130,7 +130,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. @@ -149,8 +149,8 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Beta.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the properties of a message object. This API is available in the following national cloud deployments. - /// Find more info here + /// Update the properties of an eventMessage 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 @@ -221,7 +221,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of a message object. This API is available in the following national cloud deployments. + /// Update the properties of an eventMessage 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. 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 b99330416ad..49d8fadaed6 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 cddfea0f035..34aadab6d46 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. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Presence/PresenceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Presence/PresenceRequestBuilder.cs index 8b0dcf017c6..3d4f3b0c8fe 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 - /// Get a user's presence information. This API is available in the following national cloud deployments. - /// Find more info here + /// 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 /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -138,7 +138,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get a user's presence information. This API is available in the following national cloud deployments. + /// 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. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -215,7 +215,7 @@ public PresenceRequestBuilderDeleteRequestConfiguration() { } } /// - /// Get a user's presence information. This API is available in the following national cloud deployments. + /// 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. /// public class PresenceRequestBuilderGetQueryParameters { /// Expand related entities diff --git a/src/Microsoft.Graph/Generated/kiota-lock.json b/src/Microsoft.Graph/Generated/kiota-lock.json index 68d07650672..bf3dc9e7799 100644 --- a/src/Microsoft.Graph/Generated/kiota-lock.json +++ b/src/Microsoft.Graph/Generated/kiota-lock.json @@ -1,5 +1,5 @@ { - "descriptionHash": "725A6E668972D16098B07853EAC2F6F939B415BF7A7EEEDF50A1594609F8A38A345CFF5ADB7A95E419CD14BBF2EE814CF94F5DBB212531118DD761542768F175", + "descriptionHash": "FDAEA202BDCD2BCC86EB2191018257F73861D7E9231B35ADA3E1B88CF0E5030E57A277B5629A9C22F5A6B860B8D9F0FB7F3C15EF0B9CEF871F920FDB7628F5B7", "descriptionLocation": "/mnt/vss/_work/1/s/msgraph-metadata/clean_beta_openapi/openapi.yaml", "lockFileVersion": "1.0.0", "kiotaVersion": "1.8.0", diff --git a/src/Microsoft.Graph/Microsoft.Graph.Beta.csproj b/src/Microsoft.Graph/Microsoft.Graph.Beta.csproj index f8efda0db62..cc048266480 100644 --- a/src/Microsoft.Graph/Microsoft.Graph.Beta.csproj +++ b/src/Microsoft.Graph/Microsoft.Graph.Beta.csproj @@ -26,7 +26,7 @@ - https://github.com/microsoftgraph/msgraph-beta-sdk-dotnet/blob/master/CHANGELOG.md - 5.51.0 + 5.52.0