From 9d0e8a73f5e27f7a04790f0c33564ef11b6d9991 Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Tue, 20 May 2025 10:35:28 +0000 Subject: [PATCH] feat(generation): update request builders and models Update generated files with build 188232 --- .../Admin/People/PeopleRequestBuilder.cs | 6 + .../Count/CountRequestBuilder.cs | 124 +++ ...rofilePropertySettingItemRequestBuilder.cs | 231 ++++ .../ProfilePropertySettingsRequestBuilder.cs | 240 +++++ .../ResourceConnectionItemRequestBuilder.cs | 6 +- .../Item/UpdatableAssetItemRequestBuilder.cs | 14 +- .../ComplianceChangeItemRequestBuilder.cs | 20 +- .../Invite/InviteRequestBuilder.cs | 6 +- .../Invite/InviteRequestBuilder.cs | 6 +- ...hLocaleWithContentFormatsRequestBuilder.cs | 105 ++ ...puteRightsAndInheritancePostRequestBody.cs | 136 +++ ...mputeRightsAndInheritanceRequestBuilder.cs | 104 ++ .../Item/Rights/RightsRequestBuilder.cs | 125 +++ .../SensitivityLabelItemRequestBuilder.cs | 6 + ...hLocaleWithContentFormatsRequestBuilder.cs | 105 ++ ...puteRightsAndInheritancePostRequestBody.cs | 136 +++ ...mputeRightsAndInheritanceRequestBuilder.cs | 104 ++ .../Item/Rights/RightsRequestBuilder.cs | 125 +++ .../SensitivityLabelItemRequestBuilder.cs | 6 + .../Item/Sublabels/SublabelsRequestBuilder.cs | 21 + .../SensitivityLabelsRequestBuilder.cs | 21 + ...MobileAppRelationshipItemRequestBuilder.cs | 6 +- .../RelationshipsRequestBuilder.cs | 6 +- ...MobileAppRelationshipItemRequestBuilder.cs | 6 +- .../RelationshipsRequestBuilder.cs | 6 +- ...MobileAppRelationshipItemRequestBuilder.cs | 6 +- .../RelationshipsRequestBuilder.cs | 6 +- ...MobileAppRelationshipItemRequestBuilder.cs | 6 +- .../RelationshipsRequestBuilder.cs | 6 +- ...MobileAppRelationshipItemRequestBuilder.cs | 6 +- .../RelationshipsRequestBuilder.cs | 6 +- ...MobileAppRelationshipItemRequestBuilder.cs | 6 +- .../RelationshipsRequestBuilder.cs | 6 +- ...MobileAppRelationshipItemRequestBuilder.cs | 6 +- .../RelationshipsRequestBuilder.cs | 6 +- ...MobileAppRelationshipItemRequestBuilder.cs | 6 +- .../RelationshipsRequestBuilder.cs | 6 +- ...MobileAppRelationshipItemRequestBuilder.cs | 6 +- .../RelationshipsRequestBuilder.cs | 6 +- ...MobileAppRelationshipItemRequestBuilder.cs | 6 +- .../RelationshipsRequestBuilder.cs | 6 +- ...MobileAppRelationshipItemRequestBuilder.cs | 6 +- .../RelationshipsRequestBuilder.cs | 6 +- ...MobileAppRelationshipItemRequestBuilder.cs | 6 +- .../RelationshipsRequestBuilder.cs | 6 +- ...MobileAppRelationshipItemRequestBuilder.cs | 6 +- .../RelationshipsRequestBuilder.cs | 6 +- ...MobileAppRelationshipItemRequestBuilder.cs | 6 +- .../RelationshipsRequestBuilder.cs | 6 +- ...MobileAppRelationshipItemRequestBuilder.cs | 6 +- .../RelationshipsRequestBuilder.cs | 6 +- ...MobileAppRelationshipItemRequestBuilder.cs | 6 +- .../RelationshipsRequestBuilder.cs | 6 +- ...MobileAppRelationshipItemRequestBuilder.cs | 6 +- .../RelationshipsRequestBuilder.cs | 6 +- ...MobileAppRelationshipItemRequestBuilder.cs | 6 +- .../RelationshipsRequestBuilder.cs | 6 +- ...MobileAppRelationshipItemRequestBuilder.cs | 6 +- .../RelationshipsRequestBuilder.cs | 6 +- ...MobileAppRelationshipItemRequestBuilder.cs | 6 +- .../RelationshipsRequestBuilder.cs | 6 +- ...MobileAppRelationshipItemRequestBuilder.cs | 6 +- .../RelationshipsRequestBuilder.cs | 6 +- ...MobileAppRelationshipItemRequestBuilder.cs | 6 +- .../RelationshipsRequestBuilder.cs | 6 +- .../AppLogCollectionRequestsRequestBuilder.cs | 6 +- ...pLogCollectionRequestItemRequestBuilder.cs | 6 +- ...udPcRecommendationReportsRequestBuilder.cs | 3 + .../Reports/ReportsRequestBuilder.cs | 6 + ...dPcRecommendationReportsPostRequestBody.cs | 178 ++++ ...udPcRecommendationReportsRequestBuilder.cs | 102 ++ .../HardwareOathDevicesRequestBuilder.cs | 6 +- .../Item/EducationUserItemRequestBuilder.cs | 6 +- .../Item/Schema/SchemaRequestBuilder.cs | 6 +- .../DataConnectorsRequestBuilder.cs | 6 +- .../LongRunningOperationItemRequestBuilder.cs | 8 +- .../ConversationsRequestBuilder.cs | 6 +- .../Threads/Item/Reply/ReplyRequestBuilder.cs | 6 +- ...hLocaleWithContentFormatsRequestBuilder.cs | 105 ++ ...puteRightsAndInheritancePostRequestBody.cs | 136 +++ ...mputeRightsAndInheritanceRequestBuilder.cs | 104 ++ .../Item/Rights/RightsRequestBuilder.cs | 125 +++ .../SensitivityLabelItemRequestBuilder.cs | 6 + ...hLocaleWithContentFormatsRequestBuilder.cs | 105 ++ ...puteRightsAndInheritancePostRequestBody.cs | 136 +++ ...mputeRightsAndInheritanceRequestBuilder.cs | 104 ++ .../Item/Rights/RightsRequestBuilder.cs | 125 +++ .../SensitivityLabelItemRequestBuilder.cs | 6 + .../Item/Sublabels/SublabelsRequestBuilder.cs | 21 + .../SensitivityLabelsRequestBuilder.cs | 21 + .../Items/Delete/DeletePostRequestBody.cs | 81 ++ .../Items/Delete/DeleteRequestBuilder.cs | 100 ++ .../RecycleBin/Items/ItemsRequestBuilder.cs | 12 + .../Items/Restore/RestorePostRequestBody.cs | 81 ++ .../Items/Restore/RestorePostResponse.cs | 65 ++ .../Items/Restore/RestoreRequestBuilder.cs | 128 +++ .../Items/Restore/RestoreResponse.cs | 28 + .../Threads/Item/Reply/ReplyRequestBuilder.cs | 6 +- ...kageWorkflowExtensionItemRequestBuilder.cs | 6 +- .../Item/AccessPackageItemRequestBuilder.cs | 8 +- ...essPackagesWithUniqueNameRequestBuilder.cs | 8 +- .../Item/AgreementItemRequestBuilder.cs | 8 +- ...hLocaleWithContentFormatsRequestBuilder.cs | 105 ++ ...puteRightsAndInheritancePostRequestBody.cs | 136 +++ ...mputeRightsAndInheritanceRequestBuilder.cs | 104 ++ .../Item/Rights/RightsRequestBuilder.cs | 125 +++ .../SensitivityLabelItemRequestBuilder.cs | 6 + ...hLocaleWithContentFormatsRequestBuilder.cs | 105 ++ ...puteRightsAndInheritancePostRequestBody.cs | 136 +++ ...mputeRightsAndInheritanceRequestBuilder.cs | 104 ++ .../Item/Rights/RightsRequestBuilder.cs | 125 +++ .../SensitivityLabelItemRequestBuilder.cs | 6 + .../Item/Sublabels/SublabelsRequestBuilder.cs | 21 + .../SensitivityLabelsRequestBuilder.cs | 21 + ...hLocaleWithContentFormatsRequestBuilder.cs | 105 ++ ...puteRightsAndInheritancePostRequestBody.cs | 136 +++ ...mputeRightsAndInheritanceRequestBuilder.cs | 104 ++ .../Item/Rights/RightsRequestBuilder.cs | 125 +++ .../SensitivityLabelItemRequestBuilder.cs | 6 + ...hLocaleWithContentFormatsRequestBuilder.cs | 105 ++ ...puteRightsAndInheritancePostRequestBody.cs | 136 +++ ...mputeRightsAndInheritanceRequestBuilder.cs | 104 ++ .../Item/Rights/RightsRequestBuilder.cs | 125 +++ .../SensitivityLabelItemRequestBuilder.cs | 6 + .../Item/Sublabels/SublabelsRequestBuilder.cs | 21 + .../SensitivityLabelsRequestBuilder.cs | 21 + .../Attachments/AttachmentsRequestBuilder.cs | 6 +- ...hLocaleWithContentFormatsRequestBuilder.cs | 105 ++ ...puteRightsAndInheritancePostRequestBody.cs | 136 +++ ...mputeRightsAndInheritanceRequestBuilder.cs | 104 ++ .../Item/Rights/RightsRequestBuilder.cs | 125 +++ .../SensitivityLabelItemRequestBuilder.cs | 6 + ...hLocaleWithContentFormatsRequestBuilder.cs | 105 ++ ...puteRightsAndInheritancePostRequestBody.cs | 136 +++ ...mputeRightsAndInheritanceRequestBuilder.cs | 104 ++ .../Item/Rights/RightsRequestBuilder.cs | 125 +++ .../SensitivityLabelItemRequestBuilder.cs | 6 + .../Item/Sublabels/SublabelsRequestBuilder.cs | 21 + .../SensitivityLabelsRequestBuilder.cs | 21 + .../Generated/Me/MeRequestBuilder.cs | 8 +- .../Attachments/AttachmentsRequestBuilder.cs | 8 +- .../Item/MessageItemRequestBuilder.cs | 20 +- .../Item/Value/ContentRequestBuilder.cs | 20 +- .../Me/Messages/MessagesRequestBuilder.cs | 14 +- .../AppLogCollectionRequestsRequestBuilder.cs | 6 +- ...pLogCollectionRequestItemRequestBuilder.cs | 6 +- .../Registrants/RegistrantsRequestBuilder.cs | 8 +- .../Item/Parent/ParentRequestBuilder.cs | 6 +- .../Models/AccessPackageAssignmentPolicy.cs | 2 +- .../AccessPackageNotificationSettings.cs | 2 +- .../Generated/Models/Agentic/AgentSignIn.cs | 2 +- .../Generated/Models/AutoLabeling.cs | 4 +- .../Generated/Models/ClassificationError.cs | 2 +- ...CloudPcPolicyScheduledApplyActionDetail.cs | 2 +- .../Models/CloudPcRecommendationReportType.cs | 20 + .../ComputeRightsAndInheritanceResult.cs | 135 +++ ...rationChoiceSettingCollectionDefinition.cs | 4 +- ...entConfigurationChoiceSettingDefinition.cs | 4 +- ...ConfigurationReferredSettingInformation.cs | 2 +- ...urationSettingGroupCollectionDefinition.cs | 4 +- ...entConfigurationSimpleSettingDefinition.cs | 8 +- ...ionAiFeedbackAudienceEngagementSettings.cs | 6 +- .../EducationAiFeedbackContentSettings.cs | 6 +- .../EducationAiFeedbackDeliverySettings.cs | 6 +- .../Models/EducationAiFeedbackSettings.cs | 6 +- .../Models/EducationAssignmentPointsGrade.cs | 2 +- ...nSpeakerCoachAudienceEngagementSettings.cs | 2 +- .../EducationSpeakerCoachContentSettings.cs | 4 +- .../EducationSpeakerCoachDeliverySettings.cs | 8 +- .../Models/EducationSpeakerCoachSettings.cs | 6 +- .../EducationSpeakerProgressResource.cs | 18 +- .../Generated/Models/Entity.cs | 3 + .../Models/IdentifierUriConfiguration.cs | 18 + .../Generated/Models/LabelActionBase.cs | 2 +- .../Generated/Models/LabelActionSource.cs | 32 + .../Generated/Models/LabelContentRight.cs | 100 ++ .../Generated/Models/LabelPolicy.cs | 4 +- .../Models/MacOsLobAppAssignmentSettings.cs | 2 +- .../Generated/Models/MobileApp.cs | 12 +- .../Models/MobileAppTroubleshootingEvent.cs | 2 +- .../Models/OrganizationAllowedAudiences.cs | 32 + .../Generated/Models/PeopleAdminSettings.cs | 18 + .../Models/ProcessContentResponse.cs | 2 +- .../Models/ProfilePropertySetting.cs | 98 ++ ...rofilePropertySettingCollectionResponse.cs | 64 ++ .../Generated/Models/ProtectedContent.cs | 135 +++ .../Models/SecureScoreControlProfile.cs | 2 +- .../Models/Security/SensitivityLabel.cs | 2 +- .../Generated/Models/SensitivityLabel.cs | 70 ++ .../Generated/Models/SignIn.cs | 2 +- .../Generated/Models/UsageRights.cs | 97 ++ .../Generated/Models/UsageRightsIncluded.cs | 90 ++ .../Models/WindowsDomainJoinConfiguration.cs | 2 +- ...ndowsUniversalAppXAppAssignmentSettings.cs | 2 +- .../IdentitySynchronizationRequestBuilder.cs | 6 +- ...atedTokenValidationPolicyRequestBuilder.cs | 8 +- .../RoleAssignmentsRequestBuilder.cs | 8 +- ...hLocaleWithContentFormatsRequestBuilder.cs | 105 ++ ...puteRightsAndInheritancePostRequestBody.cs | 136 +++ ...mputeRightsAndInheritanceRequestBuilder.cs | 104 ++ .../Item/Rights/RightsRequestBuilder.cs | 126 +++ .../SensitivityLabelItemRequestBuilder.cs | 13 +- ...hLocaleWithContentFormatsRequestBuilder.cs | 105 ++ ...puteRightsAndInheritancePostRequestBody.cs | 136 +++ ...mputeRightsAndInheritanceRequestBuilder.cs | 104 ++ .../Item/Rights/RightsRequestBuilder.cs | 125 +++ .../SensitivityLabelItemRequestBuilder.cs | 6 + .../Item/Sublabels/SublabelsRequestBuilder.cs | 21 + .../SensitivityLabelsRequestBuilder.cs | 28 +- .../Item/Parent/ParentRequestBuilder.cs | 6 +- .../ClaimsPolicyRequestBuilder.cs | 12 +- ...hLocaleWithContentFormatsRequestBuilder.cs | 105 ++ ...puteRightsAndInheritancePostRequestBody.cs | 136 +++ ...mputeRightsAndInheritanceRequestBuilder.cs | 104 ++ .../Item/Rights/RightsRequestBuilder.cs | 125 +++ .../SensitivityLabelItemRequestBuilder.cs | 6 + ...hLocaleWithContentFormatsRequestBuilder.cs | 105 ++ ...puteRightsAndInheritancePostRequestBody.cs | 136 +++ ...mputeRightsAndInheritanceRequestBuilder.cs | 104 ++ .../Item/Rights/RightsRequestBuilder.cs | 125 +++ .../SensitivityLabelItemRequestBuilder.cs | 6 + .../Item/Sublabels/SublabelsRequestBuilder.cs | 21 + .../SensitivityLabelsRequestBuilder.cs | 21 + .../Item/Lists/Item/ListItemRequestBuilder.cs | 8 +- .../Sites/Item/Pages/PagesRequestBuilder.cs | 6 +- .../Items/Delete/DeletePostRequestBody.cs | 81 ++ .../Items/Delete/DeleteRequestBuilder.cs | 100 ++ .../RecycleBin/Items/ItemsRequestBuilder.cs | 12 + .../Items/Restore/RestorePostRequestBody.cs | 81 ++ .../Items/Restore/RestorePostResponse.cs | 65 ++ .../Items/Restore/RestoreRequestBuilder.cs | 128 +++ .../Items/Restore/RestoreResponse.cs | 28 + .../Generated/Sites/SitesRequestBuilder.cs | 8 +- .../Items/Delete/DeletePostRequestBody.cs | 81 ++ .../Items/Delete/DeleteRequestBuilder.cs | 100 ++ .../RecycleBin/Items/ItemsRequestBuilder.cs | 12 + .../Items/Restore/RestorePostRequestBody.cs | 81 ++ .../Items/Restore/RestorePostResponse.cs | 65 ++ .../Items/Restore/RestoreRequestBuilder.cs | 128 +++ .../Items/Restore/RestoreResponse.cs | 28 + .../Items/Delete/DeletePostRequestBody.cs | 81 ++ .../Items/Delete/DeleteRequestBuilder.cs | 100 ++ .../RecycleBin/Items/ItemsRequestBuilder.cs | 12 + .../Items/Restore/RestorePostRequestBody.cs | 81 ++ .../Items/Restore/RestorePostResponse.cs | 65 ++ .../Items/Restore/RestoreRequestBuilder.cs | 128 +++ .../Items/Restore/RestoreResponse.cs | 28 + .../Item/Messages/MessagesRequestBuilder.cs | 6 +- .../TeamTemplatesRequestBuilder.cs | 8 +- .../MultiTenantOrganizationRequestBuilder.cs | 6 +- ...hLocaleWithContentFormatsRequestBuilder.cs | 105 ++ ...puteRightsAndInheritancePostRequestBody.cs | 136 +++ ...mputeRightsAndInheritanceRequestBuilder.cs | 104 ++ .../Item/Rights/RightsRequestBuilder.cs | 125 +++ .../SensitivityLabelItemRequestBuilder.cs | 6 + ...hLocaleWithContentFormatsRequestBuilder.cs | 105 ++ ...puteRightsAndInheritancePostRequestBody.cs | 136 +++ ...mputeRightsAndInheritanceRequestBuilder.cs | 104 ++ .../Item/Rights/RightsRequestBuilder.cs | 125 +++ .../SensitivityLabelItemRequestBuilder.cs | 6 + .../Item/Sublabels/SublabelsRequestBuilder.cs | 21 + .../SensitivityLabelsRequestBuilder.cs | 21 + ...hLocaleWithContentFormatsRequestBuilder.cs | 105 ++ ...puteRightsAndInheritancePostRequestBody.cs | 136 +++ ...mputeRightsAndInheritanceRequestBuilder.cs | 104 ++ .../Item/Rights/RightsRequestBuilder.cs | 125 +++ .../SensitivityLabelItemRequestBuilder.cs | 6 + ...hLocaleWithContentFormatsRequestBuilder.cs | 105 ++ ...puteRightsAndInheritancePostRequestBody.cs | 136 +++ ...mputeRightsAndInheritanceRequestBuilder.cs | 104 ++ .../Item/Rights/RightsRequestBuilder.cs | 125 +++ .../SensitivityLabelItemRequestBuilder.cs | 6 + .../Item/Sublabels/SublabelsRequestBuilder.cs | 21 + .../SensitivityLabelsRequestBuilder.cs | 21 + .../AppLogCollectionRequestsRequestBuilder.cs | 6 +- ...pLogCollectionRequestItemRequestBuilder.cs | 6 +- .../Item/Presence/PresenceRequestBuilder.cs | 8 +- .../Item/Parent/ParentRequestBuilder.cs | 6 +- .../Generated/kiota-dom-export.txt | 986 ++++++++++++++++++ src/Microsoft.Graph/Generated/kiota-lock.json | 2 +- 280 files changed, 14100 insertions(+), 383 deletions(-) create mode 100644 src/Microsoft.Graph/Generated/Admin/People/ProfilePropertySettings/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Admin/People/ProfilePropertySettings/Item/ProfilePropertySettingItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Admin/People/ProfilePropertySettings/ProfilePropertySettingsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/DataClassification/SensitivityLabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/DataClassification/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/DataClassification/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/DataClassification/SensitivityLabels/Item/Rights/RightsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/DataClassification/SensitivityLabels/Item/Sublabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/DataClassification/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/DataClassification/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/DataClassification/SensitivityLabels/Item/Sublabels/Item/Rights/RightsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/Reports/RetrieveCloudPcRecommendationReports/RetrieveCloudPcRecommendationReportsPostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/Reports/RetrieveCloudPcRecommendationReports/RetrieveCloudPcRecommendationReportsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/InformationProtection/SensitivityLabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/InformationProtection/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/InformationProtection/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/InformationProtection/SensitivityLabels/Item/Rights/RightsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/InformationProtection/SensitivityLabels/Item/Sublabels/Item/Rights/RightsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/RecycleBin/Items/Delete/DeletePostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/RecycleBin/Items/Delete/DeleteRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/RecycleBin/Items/Restore/RestorePostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/RecycleBin/Items/Restore/RestorePostResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/RecycleBin/Items/Restore/RestoreRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/RecycleBin/Items/Restore/RestoreResponse.cs create mode 100644 src/Microsoft.Graph/Generated/InformationProtection/SensitivityLabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/InformationProtection/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/InformationProtection/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/InformationProtection/SensitivityLabels/Item/Rights/RightsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/InformationProtection/SensitivityLabels/Item/Sublabels/Item/Rights/RightsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/SensitivityLabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/SensitivityLabels/Item/Rights/RightsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Item/Rights/RightsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Me/InformationProtection/SensitivityLabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Me/InformationProtection/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/Me/InformationProtection/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Me/InformationProtection/SensitivityLabels/Item/Rights/RightsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Me/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Me/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/Me/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Me/InformationProtection/SensitivityLabels/Item/Sublabels/Item/Rights/RightsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Models/CloudPcRecommendationReportType.cs create mode 100644 src/Microsoft.Graph/Generated/Models/ComputeRightsAndInheritanceResult.cs create mode 100644 src/Microsoft.Graph/Generated/Models/LabelActionSource.cs create mode 100644 src/Microsoft.Graph/Generated/Models/LabelContentRight.cs create mode 100644 src/Microsoft.Graph/Generated/Models/OrganizationAllowedAudiences.cs create mode 100644 src/Microsoft.Graph/Generated/Models/ProfilePropertySetting.cs create mode 100644 src/Microsoft.Graph/Generated/Models/ProfilePropertySettingCollectionResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Models/ProtectedContent.cs create mode 100644 src/Microsoft.Graph/Generated/Models/UsageRights.cs create mode 100644 src/Microsoft.Graph/Generated/Models/UsageRightsIncluded.cs create mode 100644 src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Rights/RightsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Item/Rights/RightsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Sites/Item/InformationProtection/SensitivityLabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Sites/Item/InformationProtection/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/Sites/Item/InformationProtection/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Sites/Item/InformationProtection/SensitivityLabels/Item/Rights/RightsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Sites/Item/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Sites/Item/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/Sites/Item/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Sites/Item/InformationProtection/SensitivityLabels/Item/Sublabels/Item/Rights/RightsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Sites/Item/RecycleBin/Items/Delete/DeletePostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/Sites/Item/RecycleBin/Items/Delete/DeleteRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Sites/Item/RecycleBin/Items/Restore/RestorePostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/Sites/Item/RecycleBin/Items/Restore/RestorePostResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Sites/Item/RecycleBin/Items/Restore/RestoreRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Sites/Item/RecycleBin/Items/Restore/RestoreResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/RecycleBin/Items/Delete/DeletePostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/RecycleBin/Items/Delete/DeleteRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/RecycleBin/Items/Restore/RestorePostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/RecycleBin/Items/Restore/RestorePostResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/RecycleBin/Items/Restore/RestoreRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/RecycleBin/Items/Restore/RestoreResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/Items/Delete/DeletePostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/Items/Delete/DeleteRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/Items/Restore/RestorePostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/Items/Restore/RestorePostResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/Items/Restore/RestoreRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/Items/Restore/RestoreResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/Rights/RightsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Item/Rights/RightsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Users/Item/InformationProtection/SensitivityLabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Users/Item/InformationProtection/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/Users/Item/InformationProtection/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Users/Item/InformationProtection/SensitivityLabels/Item/Rights/RightsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Users/Item/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Users/Item/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/Users/Item/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Users/Item/InformationProtection/SensitivityLabels/Item/Sublabels/Item/Rights/RightsRequestBuilder.cs diff --git a/src/Microsoft.Graph/Generated/Admin/People/PeopleRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/People/PeopleRequestBuilder.cs index 28dafc32166f..1785152dc03a 100644 --- a/src/Microsoft.Graph/Generated/Admin/People/PeopleRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/People/PeopleRequestBuilder.cs @@ -3,6 +3,7 @@ using Microsoft.Graph.Beta.Admin.People.ItemInsights; using Microsoft.Graph.Beta.Admin.People.NamePronunciation; using Microsoft.Graph.Beta.Admin.People.ProfileCardProperties; +using Microsoft.Graph.Beta.Admin.People.ProfilePropertySettings; using Microsoft.Graph.Beta.Admin.People.Pronouns; using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.Models; @@ -37,6 +38,11 @@ public partial class PeopleRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Admin.People.ProfileCardProperties.ProfileCardPropertiesRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the profilePropertySettings property of the microsoft.graph.peopleAdminSettings entity. + public global::Microsoft.Graph.Beta.Admin.People.ProfilePropertySettings.ProfilePropertySettingsRequestBuilder ProfilePropertySettings + { + get => new global::Microsoft.Graph.Beta.Admin.People.ProfilePropertySettings.ProfilePropertySettingsRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the pronouns property of the microsoft.graph.peopleAdminSettings entity. public global::Microsoft.Graph.Beta.Admin.People.Pronouns.PronounsRequestBuilder Pronouns { diff --git a/src/Microsoft.Graph/Generated/Admin/People/ProfilePropertySettings/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/People/ProfilePropertySettings/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..32409a7d0512 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/People/ProfilePropertySettings/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Admin.People.ProfilePropertySettings.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/people/profilePropertySettings/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/people/profilePropertySettings/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#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> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// 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(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Admin.People.ProfilePropertySettings.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Admin.People.ProfilePropertySettings.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// 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 + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/People/ProfilePropertySettings/Item/ProfilePropertySettingItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/People/ProfilePropertySettings/Item/ProfilePropertySettingItemRequestBuilder.cs new file mode 100644 index 000000000000..deb186c3d3c3 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/People/ProfilePropertySettings/Item/ProfilePropertySettingItemRequestBuilder.cs @@ -0,0 +1,231 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Admin.People.ProfilePropertySettings.Item +{ + /// + /// Provides operations to manage the profilePropertySettings property of the microsoft.graph.peopleAdminSettings entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ProfilePropertySettingItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ProfilePropertySettingItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/people/profilePropertySettings/{profilePropertySetting%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ProfilePropertySettingItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/people/profilePropertySettings/{profilePropertySetting%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete a profilePropertySetting object. + /// Find more info here + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read the properties and relationships of a profilePropertySetting object. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#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> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ProfilePropertySetting.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the properties of a profilePropertySetting object. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.ProfilePropertySetting body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.ProfilePropertySetting body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ProfilePropertySetting.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete a profilePropertySetting object. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + return requestInfo; + } + /// + /// Read the properties and relationships of a profilePropertySetting object. + /// + /// A + /// 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(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the properties of a profilePropertySetting object. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.ProfilePropertySetting body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.ProfilePropertySetting body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Admin.People.ProfilePropertySettings.Item.ProfilePropertySettingItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Admin.People.ProfilePropertySettings.Item.ProfilePropertySettingItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ProfilePropertySettingItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Read the properties and relationships of a profilePropertySetting object. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ProfilePropertySettingItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ProfilePropertySettingItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ProfilePropertySettingItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/People/ProfilePropertySettings/ProfilePropertySettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/People/ProfilePropertySettings/ProfilePropertySettingsRequestBuilder.cs new file mode 100644 index 000000000000..4715a9bda921 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/People/ProfilePropertySettings/ProfilePropertySettingsRequestBuilder.cs @@ -0,0 +1,240 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Admin.People.ProfilePropertySettings.Count; +using Microsoft.Graph.Beta.Admin.People.ProfilePropertySettings.Item; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Admin.People.ProfilePropertySettings +{ + /// + /// Provides operations to manage the profilePropertySettings property of the microsoft.graph.peopleAdminSettings entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ProfilePropertySettingsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.Admin.People.ProfilePropertySettings.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Admin.People.ProfilePropertySettings.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the profilePropertySettings property of the microsoft.graph.peopleAdminSettings entity. + /// The unique identifier of profilePropertySetting + /// A + public global::Microsoft.Graph.Beta.Admin.People.ProfilePropertySettings.Item.ProfilePropertySettingItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("profilePropertySetting%2Did", position); + return new global::Microsoft.Graph.Beta.Admin.People.ProfilePropertySettings.Item.ProfilePropertySettingItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ProfilePropertySettingsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/people/profilePropertySettings{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ProfilePropertySettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/people/profilePropertySettings{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get a collection of profilePropertySetting objects that define the configuration for user profile properties in an organization. The id property identifies each resource object uniquely. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#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> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ProfilePropertySettingCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create a new profilePropertySetting object. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.ProfilePropertySetting body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.ProfilePropertySetting body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ProfilePropertySetting.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get a collection of profilePropertySetting objects that define the configuration for user profile properties in an organization. The id property identifies each resource object uniquely. + /// + /// A + /// 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(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create a new profilePropertySetting object. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.ProfilePropertySetting body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.ProfilePropertySetting body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Admin.People.ProfilePropertySettings.ProfilePropertySettingsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Admin.People.ProfilePropertySettings.ProfilePropertySettingsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get a collection of profilePropertySetting objects that define the configuration for user profile properties in an organization. The id property identifies each resource object uniquely. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ProfilePropertySettingsRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ProfilePropertySettingsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ProfilePropertySettingsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 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 2490e42b72ee..7d77eeed7404 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 @@ -35,8 +35,8 @@ public ResourceConnectionItemRequestBuilder(string rawUrl, IRequestAdapter reque { } /// - /// Delete a resourceConnection object. - /// Find more info here + /// Delete an operationalInsightsConnection object. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -107,7 +107,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.WindowsUpdates.ResourceConnection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Delete a resourceConnection object. + /// Delete an operationalInsightsConnection object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/UpdatableAssets/Item/UpdatableAssetItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/UpdatableAssets/Item/UpdatableAssetItemRequestBuilder.cs index b715da344ba8..7b1065bc4a57 100644 --- a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/UpdatableAssets/Item/UpdatableAssetItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/UpdatableAssets/Item/UpdatableAssetItemRequestBuilder.cs @@ -59,8 +59,8 @@ public UpdatableAssetItemRequestBuilder(string rawUrl, IRequestAdapter requestAd { } /// - /// Delete an azureADDevice object. When a Microsoft Entra device is deleted, it is unregistered and automatically unenrolled from management for all update categories, as well as removed from every deploymentAudience and updatableAssetGroup. - /// Find more info here + /// Delete an updatableAssetGroup object. When an updatableAssetGroup object, its member updatableAsset objects are not deleted. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -82,8 +82,8 @@ public async Task DeleteAsync(Action - /// Read the properties and relationships of an updatableAssetGroup object. - /// Find more info here + /// Read the properties of an azureADDevice object. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -131,7 +131,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.WindowsUpdates.UpdatableAsset.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Delete an azureADDevice object. When a Microsoft Entra device is deleted, it is unregistered and automatically unenrolled from management for all update categories, as well as removed from every deploymentAudience and updatableAssetGroup. + /// Delete an updatableAssetGroup object. When an updatableAssetGroup object, its member updatableAsset objects are not deleted. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -149,7 +149,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read the properties and relationships of an updatableAssetGroup object. + /// Read the properties of an azureADDevice object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -207,7 +207,7 @@ public partial class UpdatableAssetItemRequestBuilderDeleteRequestConfiguration { } /// - /// Read the properties and relationships of an updatableAssetGroup object. + /// Read the properties of an azureADDevice object. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class UpdatableAssetItemRequestBuilderGetQueryParameters 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 0d304c6107ae..acd86b035bc8 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 @@ -41,8 +41,8 @@ public ComplianceChangeItemRequestBuilder(string rawUrl, IRequestAdapter request { } /// - /// Delete a complianceChange object. - /// Find more info here + /// Delete a contentApproval object. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -64,8 +64,8 @@ public async Task DeleteAsync(Action - /// Read the properties and relationships of a complianceChange object. - /// Find more info here + /// Read the properties and relationships of a contentApproval object. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -88,8 +88,8 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.WindowsUpdates.ComplianceChange.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the properties of a complianceChange object. - /// Find more info here + /// Update the properties of a contentApproval object. + /// Find more info here /// /// A /// The request body @@ -114,7 +114,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.WindowsUpdates.ComplianceChange.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Delete a complianceChange object. + /// Delete a contentApproval object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -132,7 +132,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read the properties and relationships of a complianceChange object. + /// Read the properties and relationships of a contentApproval object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -151,7 +151,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of a complianceChange object. + /// Update the properties of a contentApproval object. /// /// A /// The request body @@ -190,7 +190,7 @@ public partial class ComplianceChangeItemRequestBuilderDeleteRequestConfiguratio { } /// - /// Read the properties and relationships of a complianceChange object. + /// Read the properties and relationships of a contentApproval object. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ComplianceChangeItemRequestBuilderGetQueryParameters 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 d9fde2a909a7..be33c4a06207 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 @@ -35,8 +35,8 @@ public InviteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : bas { } /// - /// 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. - /// Find more info here + /// Invite participants to the active call. For more information about how to handle operations, see commsOperation. + /// Find more info here /// /// A /// The request body @@ -61,7 +61,7 @@ public InviteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : bas return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.InviteParticipantsOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled. + /// Invite participants to the active call. For more information about how to handle operations, see commsOperation. /// /// A /// The request body 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 5b365792ed9c..999f332811c8 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 @@ -35,8 +35,8 @@ public InviteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : bas { } /// - /// 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. - /// Find more info here + /// Invite participants to the active call. For more information about how to handle operations, see commsOperation. + /// Find more info here /// /// A /// The request body @@ -61,7 +61,7 @@ public InviteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : bas return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.InviteParticipantsOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled. + /// Invite participants to the active call. For more information about how to handle operations, see commsOperation. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/DataClassification/SensitivityLabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DataClassification/SensitivityLabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.cs new file mode 100644 index 000000000000..0c471017e784 --- /dev/null +++ b/src/Microsoft.Graph/Generated/DataClassification/SensitivityLabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.cs @@ -0,0 +1,105 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.DataClassification.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats +{ + /// + /// Provides operations to call the computeInheritance method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Usage: contentFormats={contentFormats} + /// Usage: labelIds={labelIds} + /// Usage: locale='{locale}' + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter, string contentFormats = "", string labelIds = "", string locale = "") : base(requestAdapter, "{+baseurl}/dataClassification/sensitivityLabels/computeInheritance(labelIds={labelIds},locale='{locale}',contentFormats={contentFormats})", pathParameters) + { + if (!string.IsNullOrWhiteSpace(contentFormats)) PathParameters.Add("contentFormats", contentFormats); + if (!string.IsNullOrWhiteSpace(labelIds)) PathParameters.Add("labelIds", labelIds); + if (!string.IsNullOrWhiteSpace(locale)) PathParameters.Add("locale", locale); + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/dataClassification/sensitivityLabels/computeInheritance(labelIds={labelIds},locale='{locale}',contentFormats={contentFormats})", rawUrl) + { + } + /// + /// Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#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> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.SensitivityLabel.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + /// + /// A + /// 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(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.DataClassification.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.DataClassification.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/DataClassification/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.cs b/src/Microsoft.Graph/Generated/DataClassification/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.cs new file mode 100644 index 000000000000..8532ee149be7 --- /dev/null +++ b/src/Microsoft.Graph/Generated/DataClassification/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.cs @@ -0,0 +1,136 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.DataClassification.SensitivityLabels.ComputeRightsAndInheritance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ComputeRightsAndInheritancePostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// 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") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The delegatedUserEmail property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DelegatedUserEmail + { + get { return BackingStore?.Get("delegatedUserEmail"); } + set { BackingStore?.Set("delegatedUserEmail", value); } + } +#nullable restore +#else + public string DelegatedUserEmail + { + get { return BackingStore?.Get("delegatedUserEmail"); } + set { BackingStore?.Set("delegatedUserEmail", value); } + } +#endif + /// The locale property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Locale + { + get { return BackingStore?.Get("locale"); } + set { BackingStore?.Set("locale", value); } + } +#nullable restore +#else + public string Locale + { + get { return BackingStore?.Get("locale"); } + set { BackingStore?.Set("locale", value); } + } +#endif + /// The protectedContents property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? ProtectedContents + { + get { return BackingStore?.Get?>("protectedContents"); } + set { BackingStore?.Set("protectedContents", value); } + } +#nullable restore +#else + public List ProtectedContents + { + get { return BackingStore?.Get>("protectedContents"); } + set { BackingStore?.Set("protectedContents", value); } + } +#endif + /// The supportedContentFormats property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? SupportedContentFormats + { + get { return BackingStore?.Get?>("supportedContentFormats"); } + set { BackingStore?.Set("supportedContentFormats", value); } + } +#nullable restore +#else + public List SupportedContentFormats + { + get { return BackingStore?.Get>("supportedContentFormats"); } + set { BackingStore?.Set("supportedContentFormats", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ComputeRightsAndInheritancePostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.DataClassification.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.DataClassification.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "delegatedUserEmail", n => { DelegatedUserEmail = n.GetStringValue(); } }, + { "locale", n => { Locale = n.GetStringValue(); } }, + { "protectedContents", n => { ProtectedContents = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ProtectedContent.CreateFromDiscriminatorValue)?.AsList(); } }, + { "supportedContentFormats", n => { SupportedContentFormats = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("delegatedUserEmail", DelegatedUserEmail); + writer.WriteStringValue("locale", Locale); + writer.WriteCollectionOfObjectValues("protectedContents", ProtectedContents); + writer.WriteCollectionOfPrimitiveValues("supportedContentFormats", SupportedContentFormats); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/DataClassification/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.cs b/src/Microsoft.Graph/Generated/DataClassification/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.cs new file mode 100644 index 000000000000..d4c8da5d79bd --- /dev/null +++ b/src/Microsoft.Graph/Generated/DataClassification/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.cs @@ -0,0 +1,104 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.DataClassification.SensitivityLabels.ComputeRightsAndInheritance +{ + /// + /// Provides operations to call the computeRightsAndInheritance method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComputeRightsAndInheritanceRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ComputeRightsAndInheritanceRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/dataClassification/sensitivityLabels/computeRightsAndInheritance", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ComputeRightsAndInheritanceRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/dataClassification/sensitivityLabels/computeRightsAndInheritance", rawUrl) + { + } + /// + /// Computes the rights and inheritance for sensitivity labels based on the input content and labels. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.DataClassification.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.DataClassification.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ComputeRightsAndInheritanceResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Computes the rights and inheritance for sensitivity labels based on the input content and labels. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.DataClassification.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.DataClassification.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.DataClassification.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.DataClassification.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/DataClassification/SensitivityLabels/Item/Rights/RightsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DataClassification/SensitivityLabels/Item/Rights/RightsRequestBuilder.cs new file mode 100644 index 000000000000..5bdd4aa5de84 --- /dev/null +++ b/src/Microsoft.Graph/Generated/DataClassification/SensitivityLabels/Item/Rights/RightsRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Rights +{ + /// + /// Provides operations to manage the rights property of the microsoft.graph.sensitivityLabel entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RightsRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RightsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/dataClassification/sensitivityLabels/{sensitivityLabel%2Did}/rights{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RightsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/dataClassification/sensitivityLabels/{sensitivityLabel%2Did}/rights{?%24expand,%24select}", rawUrl) + { + } + /// + /// Get rights from dataClassification + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#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> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.UsageRightsIncluded.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get rights from dataClassification + /// + /// A + /// 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(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Rights.RightsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Rights.RightsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get rights from dataClassification + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RightsRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RightsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/DataClassification/SensitivityLabels/Item/SensitivityLabelItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DataClassification/SensitivityLabels/Item/SensitivityLabelItemRequestBuilder.cs index 9548872c0724..08c8322d6c78 100644 --- a/src/Microsoft.Graph/Generated/DataClassification/SensitivityLabels/Item/SensitivityLabelItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DataClassification/SensitivityLabels/Item/SensitivityLabelItemRequestBuilder.cs @@ -1,5 +1,6 @@ // #pragma warning disable CS0618 +using Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Rights; using Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Sublabels; using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.Models; @@ -19,6 +20,11 @@ namespace Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class SensitivityLabelItemRequestBuilder : BaseRequestBuilder { + /// Provides operations to manage the rights property of the microsoft.graph.sensitivityLabel entity. + public global::Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Rights.RightsRequestBuilder Rights + { + get => new global::Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Rights.RightsRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the sublabels property of the microsoft.graph.sensitivityLabel entity. public global::Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Sublabels.SublabelsRequestBuilder Sublabels { diff --git a/src/Microsoft.Graph/Generated/DataClassification/SensitivityLabels/Item/Sublabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DataClassification/SensitivityLabels/Item/Sublabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.cs new file mode 100644 index 000000000000..460b00d69762 --- /dev/null +++ b/src/Microsoft.Graph/Generated/DataClassification/SensitivityLabels/Item/Sublabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.cs @@ -0,0 +1,105 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats +{ + /// + /// Provides operations to call the computeInheritance method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Usage: contentFormats={contentFormats} + /// Usage: labelIds={labelIds} + /// Usage: locale='{locale}' + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter, string contentFormats = "", string labelIds = "", string locale = "") : base(requestAdapter, "{+baseurl}/dataClassification/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/computeInheritance(labelIds={labelIds},locale='{locale}',contentFormats={contentFormats})", pathParameters) + { + if (!string.IsNullOrWhiteSpace(contentFormats)) PathParameters.Add("contentFormats", contentFormats); + if (!string.IsNullOrWhiteSpace(labelIds)) PathParameters.Add("labelIds", labelIds); + if (!string.IsNullOrWhiteSpace(locale)) PathParameters.Add("locale", locale); + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/dataClassification/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/computeInheritance(labelIds={labelIds},locale='{locale}',contentFormats={contentFormats})", rawUrl) + { + } + /// + /// Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#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> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.SensitivityLabel.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + /// + /// A + /// 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(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/DataClassification/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.cs b/src/Microsoft.Graph/Generated/DataClassification/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.cs new file mode 100644 index 000000000000..de7e44b97f6b --- /dev/null +++ b/src/Microsoft.Graph/Generated/DataClassification/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.cs @@ -0,0 +1,136 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ComputeRightsAndInheritancePostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// 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") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The delegatedUserEmail property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DelegatedUserEmail + { + get { return BackingStore?.Get("delegatedUserEmail"); } + set { BackingStore?.Set("delegatedUserEmail", value); } + } +#nullable restore +#else + public string DelegatedUserEmail + { + get { return BackingStore?.Get("delegatedUserEmail"); } + set { BackingStore?.Set("delegatedUserEmail", value); } + } +#endif + /// The locale property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Locale + { + get { return BackingStore?.Get("locale"); } + set { BackingStore?.Set("locale", value); } + } +#nullable restore +#else + public string Locale + { + get { return BackingStore?.Get("locale"); } + set { BackingStore?.Set("locale", value); } + } +#endif + /// The protectedContents property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? ProtectedContents + { + get { return BackingStore?.Get?>("protectedContents"); } + set { BackingStore?.Set("protectedContents", value); } + } +#nullable restore +#else + public List ProtectedContents + { + get { return BackingStore?.Get>("protectedContents"); } + set { BackingStore?.Set("protectedContents", value); } + } +#endif + /// The supportedContentFormats property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? SupportedContentFormats + { + get { return BackingStore?.Get?>("supportedContentFormats"); } + set { BackingStore?.Set("supportedContentFormats", value); } + } +#nullable restore +#else + public List SupportedContentFormats + { + get { return BackingStore?.Get>("supportedContentFormats"); } + set { BackingStore?.Set("supportedContentFormats", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ComputeRightsAndInheritancePostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "delegatedUserEmail", n => { DelegatedUserEmail = n.GetStringValue(); } }, + { "locale", n => { Locale = n.GetStringValue(); } }, + { "protectedContents", n => { ProtectedContents = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ProtectedContent.CreateFromDiscriminatorValue)?.AsList(); } }, + { "supportedContentFormats", n => { SupportedContentFormats = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("delegatedUserEmail", DelegatedUserEmail); + writer.WriteStringValue("locale", Locale); + writer.WriteCollectionOfObjectValues("protectedContents", ProtectedContents); + writer.WriteCollectionOfPrimitiveValues("supportedContentFormats", SupportedContentFormats); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/DataClassification/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.cs b/src/Microsoft.Graph/Generated/DataClassification/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.cs new file mode 100644 index 000000000000..6140646624aa --- /dev/null +++ b/src/Microsoft.Graph/Generated/DataClassification/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.cs @@ -0,0 +1,104 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance +{ + /// + /// Provides operations to call the computeRightsAndInheritance method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComputeRightsAndInheritanceRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ComputeRightsAndInheritanceRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/dataClassification/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/computeRightsAndInheritance", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ComputeRightsAndInheritanceRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/dataClassification/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/computeRightsAndInheritance", rawUrl) + { + } + /// + /// Computes the rights and inheritance for sensitivity labels based on the input content and labels. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ComputeRightsAndInheritanceResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Computes the rights and inheritance for sensitivity labels based on the input content and labels. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/DataClassification/SensitivityLabels/Item/Sublabels/Item/Rights/RightsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DataClassification/SensitivityLabels/Item/Sublabels/Item/Rights/RightsRequestBuilder.cs new file mode 100644 index 000000000000..44d91451a7cd --- /dev/null +++ b/src/Microsoft.Graph/Generated/DataClassification/SensitivityLabels/Item/Sublabels/Item/Rights/RightsRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Sublabels.Item.Rights +{ + /// + /// Provides operations to manage the rights property of the microsoft.graph.sensitivityLabel entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RightsRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RightsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/dataClassification/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/{sensitivityLabel%2Did1}/rights{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RightsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/dataClassification/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/{sensitivityLabel%2Did1}/rights{?%24expand,%24select}", rawUrl) + { + } + /// + /// Get rights from dataClassification + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#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> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.UsageRightsIncluded.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get rights from dataClassification + /// + /// A + /// 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(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Sublabels.Item.Rights.RightsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Sublabels.Item.Rights.RightsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get rights from dataClassification + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RightsRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RightsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/DataClassification/SensitivityLabels/Item/Sublabels/Item/SensitivityLabelItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DataClassification/SensitivityLabels/Item/Sublabels/Item/SensitivityLabelItemRequestBuilder.cs index 00bbfde30260..5ecd7b87f13d 100644 --- a/src/Microsoft.Graph/Generated/DataClassification/SensitivityLabels/Item/Sublabels/Item/SensitivityLabelItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DataClassification/SensitivityLabels/Item/Sublabels/Item/SensitivityLabelItemRequestBuilder.cs @@ -1,5 +1,6 @@ // #pragma warning disable CS0618 +using Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Sublabels.Item.Rights; using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.Models; using Microsoft.Kiota.Abstractions.Extensions; @@ -18,6 +19,11 @@ namespace Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Sublabe [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class SensitivityLabelItemRequestBuilder : BaseRequestBuilder { + /// Provides operations to manage the rights property of the microsoft.graph.sensitivityLabel entity. + public global::Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Sublabels.Item.Rights.RightsRequestBuilder Rights + { + get => new global::Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Sublabels.Item.Rights.RightsRequestBuilder(PathParameters, RequestAdapter); + } /// /// Instantiates a new and sets the default values. /// diff --git a/src/Microsoft.Graph/Generated/DataClassification/SensitivityLabels/Item/Sublabels/SublabelsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DataClassification/SensitivityLabels/Item/Sublabels/SublabelsRequestBuilder.cs index 998c7a91d9c3..ec3d9010f3c2 100644 --- a/src/Microsoft.Graph/Generated/DataClassification/SensitivityLabels/Item/Sublabels/SublabelsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DataClassification/SensitivityLabels/Item/Sublabels/SublabelsRequestBuilder.cs @@ -1,5 +1,7 @@ // #pragma warning disable CS0618 +using Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats; +using Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance; using Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Sublabels.Count; using Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Sublabels.Evaluate; using Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Sublabels.Item; @@ -21,6 +23,11 @@ namespace Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Sublabe [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class SublabelsRequestBuilder : BaseRequestBuilder { + /// Provides operations to call the computeRightsAndInheritance method. + public global::Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder ComputeRightsAndInheritance + { + get => new global::Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to count the resources in the collection. public global::Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Sublabels.Count.CountRequestBuilder Count { @@ -44,6 +51,20 @@ public partial class SublabelsRequestBuilder : BaseRequestBuilder } } /// + /// Provides operations to call the computeInheritance method. + /// + /// A + /// Usage: contentFormats={contentFormats} + /// Usage: labelIds={labelIds} + /// Usage: locale='{locale}' + public global::Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats(string contentFormats, string labelIds, string locale) + { + if(string.IsNullOrEmpty(contentFormats)) throw new ArgumentNullException(nameof(contentFormats)); + if(string.IsNullOrEmpty(labelIds)) throw new ArgumentNullException(nameof(labelIds)); + if(string.IsNullOrEmpty(locale)) throw new ArgumentNullException(nameof(locale)); + return new global::Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(PathParameters, RequestAdapter, contentFormats, labelIds, locale); + } + /// /// Instantiates a new and sets the default values. /// /// Path parameters for the request diff --git a/src/Microsoft.Graph/Generated/DataClassification/SensitivityLabels/SensitivityLabelsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DataClassification/SensitivityLabels/SensitivityLabelsRequestBuilder.cs index d37925935fe0..c162e69b42ad 100644 --- a/src/Microsoft.Graph/Generated/DataClassification/SensitivityLabels/SensitivityLabelsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DataClassification/SensitivityLabels/SensitivityLabelsRequestBuilder.cs @@ -1,5 +1,7 @@ // #pragma warning disable CS0618 +using Microsoft.Graph.Beta.DataClassification.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats; +using Microsoft.Graph.Beta.DataClassification.SensitivityLabels.ComputeRightsAndInheritance; using Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Count; using Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Evaluate; using Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item; @@ -21,6 +23,11 @@ namespace Microsoft.Graph.Beta.DataClassification.SensitivityLabels [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class SensitivityLabelsRequestBuilder : BaseRequestBuilder { + /// Provides operations to call the computeRightsAndInheritance method. + public global::Microsoft.Graph.Beta.DataClassification.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder ComputeRightsAndInheritance + { + get => new global::Microsoft.Graph.Beta.DataClassification.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to count the resources in the collection. public global::Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Count.CountRequestBuilder Count { @@ -44,6 +51,20 @@ public partial class SensitivityLabelsRequestBuilder : BaseRequestBuilder } } /// + /// Provides operations to call the computeInheritance method. + /// + /// A + /// Usage: contentFormats={contentFormats} + /// Usage: labelIds={labelIds} + /// Usage: locale='{locale}' + public global::Microsoft.Graph.Beta.DataClassification.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats(string contentFormats, string labelIds, string locale) + { + if(string.IsNullOrEmpty(contentFormats)) throw new ArgumentNullException(nameof(contentFormats)); + if(string.IsNullOrEmpty(labelIds)) throw new ArgumentNullException(nameof(labelIds)); + if(string.IsNullOrEmpty(locale)) throw new ArgumentNullException(nameof(locale)); + return new global::Microsoft.Graph.Beta.DataClassification.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(PathParameters, RequestAdapter, contentFormats, labelIds, locale); + } + /// /// Instantiates a new and sets the default values. /// /// Path parameters for the request diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidForWorkApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidForWorkApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs index 8304c44eebea..c32a251e6845 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidForWorkApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidForWorkApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Cancellation token to use when cancelling requests @@ -123,7 +123,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -181,7 +181,7 @@ public partial class MobileAppRelationshipItemRequestBuilderDeleteRequestConfigu { } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MobileAppRelationshipItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidForWorkApp/Relationships/RelationshipsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidForWorkApp/Relationships/RelationshipsRequestBuilder.cs index 5c4c054bec6f..8b4c3bd0de67 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidForWorkApp/Relationships/RelationshipsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidForWorkApp/Relationships/RelationshipsRequestBuilder.cs @@ -54,7 +54,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MobileAppRelationship.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.DeviceAppManagement.MobileApps.Item.GraphAndroidForWorkApp.Relationships.RelationshipsRequestBuilder(rawUrl, RequestAdapter); } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RelationshipsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs index 092f6de51ed0..eb50aa3d9f86 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Cancellation token to use when cancelling requests @@ -123,7 +123,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -181,7 +181,7 @@ public partial class MobileAppRelationshipItemRequestBuilderDeleteRequestConfigu { } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MobileAppRelationshipItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/Relationships/RelationshipsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/Relationships/RelationshipsRequestBuilder.cs index 67a7cfffe100..da0ddb9ed141 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/Relationships/RelationshipsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/Relationships/RelationshipsRequestBuilder.cs @@ -54,7 +54,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MobileAppRelationship.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.Relationships.RelationshipsRequestBuilder(rawUrl, RequestAdapter); } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RelationshipsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidManagedStoreApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidManagedStoreApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs index 563f9c44a635..74a3aec2c73c 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidManagedStoreApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidManagedStoreApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Cancellation token to use when cancelling requests @@ -123,7 +123,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -181,7 +181,7 @@ public partial class MobileAppRelationshipItemRequestBuilderDeleteRequestConfigu { } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MobileAppRelationshipItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidManagedStoreApp/Relationships/RelationshipsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidManagedStoreApp/Relationships/RelationshipsRequestBuilder.cs index 01ce854aff27..7fd862da2c85 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidManagedStoreApp/Relationships/RelationshipsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidManagedStoreApp/Relationships/RelationshipsRequestBuilder.cs @@ -54,7 +54,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MobileAppRelationship.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.DeviceAppManagement.MobileApps.Item.GraphAndroidManagedStoreApp.Relationships.RelationshipsRequestBuilder(rawUrl, RequestAdapter); } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RelationshipsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidStoreApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidStoreApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs index 7fe920e30448..4811c471f2bf 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidStoreApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidStoreApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Cancellation token to use when cancelling requests @@ -123,7 +123,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -181,7 +181,7 @@ public partial class MobileAppRelationshipItemRequestBuilderDeleteRequestConfigu { } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MobileAppRelationshipItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidStoreApp/Relationships/RelationshipsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidStoreApp/Relationships/RelationshipsRequestBuilder.cs index a6112fb20e44..e2cd2fa855d5 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidStoreApp/Relationships/RelationshipsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidStoreApp/Relationships/RelationshipsRequestBuilder.cs @@ -54,7 +54,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MobileAppRelationship.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.DeviceAppManagement.MobileApps.Item.GraphAndroidStoreApp.Relationships.RelationshipsRequestBuilder(rawUrl, RequestAdapter); } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RelationshipsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs index 01b337727708..2c820eaabe59 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Cancellation token to use when cancelling requests @@ -123,7 +123,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -181,7 +181,7 @@ public partial class MobileAppRelationshipItemRequestBuilderDeleteRequestConfigu { } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MobileAppRelationshipItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/Relationships/RelationshipsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/Relationships/RelationshipsRequestBuilder.cs index 4c0f4f48d8ab..3527d8643924 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/Relationships/RelationshipsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/Relationships/RelationshipsRequestBuilder.cs @@ -54,7 +54,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MobileAppRelationship.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.Relationships.RelationshipsRequestBuilder(rawUrl, RequestAdapter); } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RelationshipsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphIosStoreApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphIosStoreApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs index 63e49d888871..0886e1b1cc07 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphIosStoreApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphIosStoreApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Cancellation token to use when cancelling requests @@ -123,7 +123,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -181,7 +181,7 @@ public partial class MobileAppRelationshipItemRequestBuilderDeleteRequestConfigu { } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MobileAppRelationshipItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphIosStoreApp/Relationships/RelationshipsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphIosStoreApp/Relationships/RelationshipsRequestBuilder.cs index 4a6e8d2c6724..02fc98f361dd 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphIosStoreApp/Relationships/RelationshipsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphIosStoreApp/Relationships/RelationshipsRequestBuilder.cs @@ -54,7 +54,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MobileAppRelationship.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.DeviceAppManagement.MobileApps.Item.GraphIosStoreApp.Relationships.RelationshipsRequestBuilder(rawUrl, RequestAdapter); } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RelationshipsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphIosVppApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphIosVppApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs index 93e5898b887b..28fafda07c68 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphIosVppApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphIosVppApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Cancellation token to use when cancelling requests @@ -123,7 +123,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -181,7 +181,7 @@ public partial class MobileAppRelationshipItemRequestBuilderDeleteRequestConfigu { } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MobileAppRelationshipItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphIosVppApp/Relationships/RelationshipsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphIosVppApp/Relationships/RelationshipsRequestBuilder.cs index d82207da425b..a0ee863c8ad4 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphIosVppApp/Relationships/RelationshipsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphIosVppApp/Relationships/RelationshipsRequestBuilder.cs @@ -54,7 +54,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MobileAppRelationship.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.DeviceAppManagement.MobileApps.Item.GraphIosVppApp.Relationships.RelationshipsRequestBuilder(rawUrl, RequestAdapter); } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RelationshipsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs index 53da5b9a003a..1a560e124526 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Cancellation token to use when cancelling requests @@ -123,7 +123,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -181,7 +181,7 @@ public partial class MobileAppRelationshipItemRequestBuilderDeleteRequestConfigu { } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MobileAppRelationshipItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/Relationships/RelationshipsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/Relationships/RelationshipsRequestBuilder.cs index c0f1823b9c74..9a31348407bc 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/Relationships/RelationshipsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/Relationships/RelationshipsRequestBuilder.cs @@ -54,7 +54,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MobileAppRelationship.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.Relationships.RelationshipsRequestBuilder(rawUrl, RequestAdapter); } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RelationshipsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs index a1517cece030..5d982d76d9e1 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Cancellation token to use when cancelling requests @@ -123,7 +123,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -181,7 +181,7 @@ public partial class MobileAppRelationshipItemRequestBuilderDeleteRequestConfigu { } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MobileAppRelationshipItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/Relationships/RelationshipsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/Relationships/RelationshipsRequestBuilder.cs index f13f70db936c..508f0f42f2cd 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/Relationships/RelationshipsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/Relationships/RelationshipsRequestBuilder.cs @@ -54,7 +54,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MobileAppRelationship.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.Relationships.RelationshipsRequestBuilder(rawUrl, RequestAdapter); } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RelationshipsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSPkgApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSPkgApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs index 1fbd7100b761..ebcba236d560 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSPkgApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSPkgApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Cancellation token to use when cancelling requests @@ -123,7 +123,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -181,7 +181,7 @@ public partial class MobileAppRelationshipItemRequestBuilderDeleteRequestConfigu { } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MobileAppRelationshipItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSPkgApp/Relationships/RelationshipsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSPkgApp/Relationships/RelationshipsRequestBuilder.cs index 3a4f866d7bb5..95800eee0237 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSPkgApp/Relationships/RelationshipsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSPkgApp/Relationships/RelationshipsRequestBuilder.cs @@ -54,7 +54,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MobileAppRelationship.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.DeviceAppManagement.MobileApps.Item.GraphMacOSPkgApp.Relationships.RelationshipsRequestBuilder(rawUrl, RequestAdapter); } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RelationshipsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs index d6d64d5489f3..5ae44bc2a100 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Cancellation token to use when cancelling requests @@ -123,7 +123,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -181,7 +181,7 @@ public partial class MobileAppRelationshipItemRequestBuilderDeleteRequestConfigu { } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MobileAppRelationshipItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/Relationships/RelationshipsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/Relationships/RelationshipsRequestBuilder.cs index afcb03042d5d..e37f7790581e 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/Relationships/RelationshipsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/Relationships/RelationshipsRequestBuilder.cs @@ -54,7 +54,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MobileAppRelationship.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.Relationships.RelationshipsRequestBuilder(rawUrl, RequestAdapter); } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RelationshipsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs index 05679d792936..63a7dc4f4f42 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Cancellation token to use when cancelling requests @@ -123,7 +123,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -181,7 +181,7 @@ public partial class MobileAppRelationshipItemRequestBuilderDeleteRequestConfigu { } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MobileAppRelationshipItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/Relationships/RelationshipsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/Relationships/RelationshipsRequestBuilder.cs index 869d2d00a183..d60de5e4db40 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/Relationships/RelationshipsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/Relationships/RelationshipsRequestBuilder.cs @@ -54,7 +54,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MobileAppRelationship.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.Relationships.RelationshipsRequestBuilder(rawUrl, RequestAdapter); } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RelationshipsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs index 198d1a1d0e06..075ead02e362 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Cancellation token to use when cancelling requests @@ -123,7 +123,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -181,7 +181,7 @@ public partial class MobileAppRelationshipItemRequestBuilderDeleteRequestConfigu { } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MobileAppRelationshipItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/Relationships/RelationshipsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/Relationships/RelationshipsRequestBuilder.cs index 44da5d374bf1..35b21b0645cf 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/Relationships/RelationshipsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/Relationships/RelationshipsRequestBuilder.cs @@ -54,7 +54,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MobileAppRelationship.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.Relationships.RelationshipsRequestBuilder(rawUrl, RequestAdapter); } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RelationshipsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMicrosoftStoreForBusinessApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMicrosoftStoreForBusinessApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs index eb35f3d38b03..657512a444bc 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMicrosoftStoreForBusinessApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMicrosoftStoreForBusinessApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Cancellation token to use when cancelling requests @@ -123,7 +123,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -181,7 +181,7 @@ public partial class MobileAppRelationshipItemRequestBuilderDeleteRequestConfigu { } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MobileAppRelationshipItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMicrosoftStoreForBusinessApp/Relationships/RelationshipsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMicrosoftStoreForBusinessApp/Relationships/RelationshipsRequestBuilder.cs index 3382c29b259d..90c58228e38b 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMicrosoftStoreForBusinessApp/Relationships/RelationshipsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMicrosoftStoreForBusinessApp/Relationships/RelationshipsRequestBuilder.cs @@ -54,7 +54,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MobileAppRelationship.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.DeviceAppManagement.MobileApps.Item.GraphMicrosoftStoreForBusinessApp.Relationships.RelationshipsRequestBuilder(rawUrl, RequestAdapter); } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RelationshipsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs index 877bfc833d6d..be998c221bd3 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Cancellation token to use when cancelling requests @@ -123,7 +123,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -181,7 +181,7 @@ public partial class MobileAppRelationshipItemRequestBuilderDeleteRequestConfigu { } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MobileAppRelationshipItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/Relationships/RelationshipsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/Relationships/RelationshipsRequestBuilder.cs index 97f819ff21c1..75acaa5b72b7 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/Relationships/RelationshipsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/Relationships/RelationshipsRequestBuilder.cs @@ -54,7 +54,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MobileAppRelationship.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.Relationships.RelationshipsRequestBuilder(rawUrl, RequestAdapter); } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RelationshipsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWinGetApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWinGetApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs index 6a42ff6012ce..e7c07e56ec31 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWinGetApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWinGetApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Cancellation token to use when cancelling requests @@ -123,7 +123,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -181,7 +181,7 @@ public partial class MobileAppRelationshipItemRequestBuilderDeleteRequestConfigu { } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MobileAppRelationshipItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWinGetApp/Relationships/RelationshipsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWinGetApp/Relationships/RelationshipsRequestBuilder.cs index 414e8e4bae23..0a58beb71211 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWinGetApp/Relationships/RelationshipsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWinGetApp/Relationships/RelationshipsRequestBuilder.cs @@ -54,7 +54,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MobileAppRelationship.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.DeviceAppManagement.MobileApps.Item.GraphWinGetApp.Relationships.RelationshipsRequestBuilder(rawUrl, RequestAdapter); } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RelationshipsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs index 6b7dc7cd4e1b..b389da1bbc65 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Cancellation token to use when cancelling requests @@ -123,7 +123,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -181,7 +181,7 @@ public partial class MobileAppRelationshipItemRequestBuilderDeleteRequestConfigu { } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MobileAppRelationshipItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/Relationships/RelationshipsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/Relationships/RelationshipsRequestBuilder.cs index 3c52558da6e7..d4ea0bcf5eab 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/Relationships/RelationshipsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/Relationships/RelationshipsRequestBuilder.cs @@ -54,7 +54,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MobileAppRelationship.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.Relationships.RelationshipsRequestBuilder(rawUrl, RequestAdapter); } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RelationshipsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs index 65aa0ae57efb..c2633da92492 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Cancellation token to use when cancelling requests @@ -123,7 +123,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -181,7 +181,7 @@ public partial class MobileAppRelationshipItemRequestBuilderDeleteRequestConfigu { } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MobileAppRelationshipItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/Relationships/RelationshipsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/Relationships/RelationshipsRequestBuilder.cs index 602b46f77f87..b099cb95b2a6 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/Relationships/RelationshipsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/Relationships/RelationshipsRequestBuilder.cs @@ -54,7 +54,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MobileAppRelationship.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.Relationships.RelationshipsRequestBuilder(rawUrl, RequestAdapter); } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RelationshipsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsStoreApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsStoreApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs index cae0d8d7343b..6ab3a85a5b62 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsStoreApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsStoreApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Cancellation token to use when cancelling requests @@ -123,7 +123,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -181,7 +181,7 @@ public partial class MobileAppRelationshipItemRequestBuilderDeleteRequestConfigu { } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MobileAppRelationshipItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsStoreApp/Relationships/RelationshipsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsStoreApp/Relationships/RelationshipsRequestBuilder.cs index fee35cec435e..38352b793b93 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsStoreApp/Relationships/RelationshipsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsStoreApp/Relationships/RelationshipsRequestBuilder.cs @@ -54,7 +54,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MobileAppRelationship.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.DeviceAppManagement.MobileApps.Item.GraphWindowsStoreApp.Relationships.RelationshipsRequestBuilder(rawUrl, RequestAdapter); } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RelationshipsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs index cb38bc8489e0..ebb85caa4c48 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Cancellation token to use when cancelling requests @@ -123,7 +123,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -181,7 +181,7 @@ public partial class MobileAppRelationshipItemRequestBuilderDeleteRequestConfigu { } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MobileAppRelationshipItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/Relationships/RelationshipsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/Relationships/RelationshipsRequestBuilder.cs index 3ec862aca5a5..66c682b72a47 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/Relationships/RelationshipsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/Relationships/RelationshipsRequestBuilder.cs @@ -54,7 +54,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MobileAppRelationship.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.Relationships.RelationshipsRequestBuilder(rawUrl, RequestAdapter); } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RelationshipsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsWebApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsWebApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs index 940548bb99fe..88adbeb1a8c0 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsWebApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsWebApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Cancellation token to use when cancelling requests @@ -123,7 +123,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -181,7 +181,7 @@ public partial class MobileAppRelationshipItemRequestBuilderDeleteRequestConfigu { } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MobileAppRelationshipItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsWebApp/Relationships/RelationshipsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsWebApp/Relationships/RelationshipsRequestBuilder.cs index e305b19df9c6..f243ad62d21c 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsWebApp/Relationships/RelationshipsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsWebApp/Relationships/RelationshipsRequestBuilder.cs @@ -54,7 +54,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MobileAppRelationship.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.DeviceAppManagement.MobileApps.Item.GraphWindowsWebApp.Relationships.RelationshipsRequestBuilder(rawUrl, RequestAdapter); } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RelationshipsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs index edc5e9868e37..58abafaabb59 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Cancellation token to use when cancelling requests @@ -123,7 +123,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -181,7 +181,7 @@ public partial class MobileAppRelationshipItemRequestBuilderDeleteRequestConfigu { } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MobileAppRelationshipItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/Relationships/RelationshipsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/Relationships/RelationshipsRequestBuilder.cs index ec6dea898158..56462d5515fe 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/Relationships/RelationshipsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/Relationships/RelationshipsRequestBuilder.cs @@ -54,7 +54,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MobileAppRelationship.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.DeviceAppManagement.MobileApps.Item.Relationships.RelationshipsRequestBuilder(rawUrl, RequestAdapter); } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RelationshipsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/AppLogCollectionRequestsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/AppLogCollectionRequestsRequestBuilder.cs index 9bafd9c77c7d..b2453d21adee 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/AppLogCollectionRequestsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/AppLogCollectionRequestsRequestBuilder.cs @@ -54,7 +54,7 @@ public AppLogCollectionRequestsRequestBuilder(string rawUrl, IRequestAdapter req { } /// - /// The collection property of AppLogUploadRequest. + /// Indicates collection of App Log Upload Request. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public AppLogCollectionRequestsRequestBuilder(string rawUrl, IRequestAdapter req return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.AppLogCollectionRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// The collection property of AppLogUploadRequest. + /// Indicates collection of App Log Upload Request. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.DeviceManagement.MobileAppTroubleshootingEvents.Item.AppLogCollectionRequests.AppLogCollectionRequestsRequestBuilder(rawUrl, RequestAdapter); } /// - /// The collection property of AppLogUploadRequest. + /// Indicates collection of App Log Upload Request. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class AppLogCollectionRequestsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/Item/AppLogCollectionRequestItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/Item/AppLogCollectionRequestItemRequestBuilder.cs index df33fa3c482c..861490c4d07d 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/Item/AppLogCollectionRequestItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/Item/AppLogCollectionRequestItemRequestBuilder.cs @@ -63,7 +63,7 @@ public async Task DeleteAsync(Action - /// The collection property of AppLogUploadRequest. + /// Indicates collection of App Log Upload Request. /// /// A /// Cancellation token to use when cancelling requests @@ -129,7 +129,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// The collection property of AppLogUploadRequest. + /// Indicates collection of App Log Upload Request. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -187,7 +187,7 @@ public partial class AppLogCollectionRequestItemRequestBuilderDeleteRequestConfi { } /// - /// The collection property of AppLogUploadRequest. + /// Indicates collection of App Log Upload Request. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class AppLogCollectionRequestItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/Reports/GetCloudPcRecommendationReports/GetCloudPcRecommendationReportsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/Reports/GetCloudPcRecommendationReports/GetCloudPcRecommendationReportsRequestBuilder.cs index 84163c5fe3fd..cbcf3ab4d238 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/Reports/GetCloudPcRecommendationReports/GetCloudPcRecommendationReportsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/Reports/GetCloudPcRecommendationReports/GetCloudPcRecommendationReportsRequestBuilder.cs @@ -42,6 +42,7 @@ public GetCloudPcRecommendationReportsRequestBuilder(string rawUrl, IRequestAdap /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. /// When receiving a 4XX or 5XX status code + [Obsolete("Starting from July 01, 2025, this API ('getCloudPcRecommendationReports') will be deprecated and no longer supported. Please use the retrieveCloudPcRecommendationReports API. as of 2025-02/getCloudPcRecommendationReports on 2025-02-27 and will be removed 2025-07-01")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public async Task PostAsync(global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Reports.GetCloudPcRecommendationReports.GetCloudPcRecommendationReportsPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) @@ -65,6 +66,7 @@ public async Task PostAsync(global::Microsoft.Graph.Beta.DeviceManagemen /// A /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. + [Obsolete("Starting from July 01, 2025, this API ('getCloudPcRecommendationReports') will be deprecated and no longer supported. Please use the retrieveCloudPcRecommendationReports API. as of 2025-02/getCloudPcRecommendationReports on 2025-02-27 and will be removed 2025-07-01")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Reports.GetCloudPcRecommendationReports.GetCloudPcRecommendationReportsPostRequestBody body, Action>? requestConfiguration = default) @@ -86,6 +88,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. /// /// A /// The raw URL to use for the request builder. + [Obsolete("Starting from July 01, 2025, this API ('getCloudPcRecommendationReports') will be deprecated and no longer supported. Please use the retrieveCloudPcRecommendationReports API. as of 2025-02/getCloudPcRecommendationReports on 2025-02-27 and will be removed 2025-07-01")] public global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Reports.GetCloudPcRecommendationReports.GetCloudPcRecommendationReportsRequestBuilder WithUrl(string rawUrl) { return new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Reports.GetCloudPcRecommendationReports.GetCloudPcRecommendationReportsRequestBuilder(rawUrl, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/Reports/ReportsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/Reports/ReportsRequestBuilder.cs index 11c13bd48f9c..02f4aa71e3ab 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/Reports/ReportsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/Reports/ReportsRequestBuilder.cs @@ -14,6 +14,7 @@ using Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Reports.GetRemoteConnectionHistoricalReports; using Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Reports.GetTotalAggregatedRemoteConnectionReports; using Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Reports.RetrieveBulkActionStatusReport; +using Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Reports.RetrieveCloudPcRecommendationReports; using Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Reports.RetrieveCloudPcTenantMetricsReport; using Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Reports.RetrieveCloudPcTroubleshootReports; using Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Reports.RetrieveConnectionQualityReports; @@ -97,6 +98,11 @@ public partial class ReportsRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Reports.RetrieveBulkActionStatusReport.RetrieveBulkActionStatusReportRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the retrieveCloudPcRecommendationReports method. + public global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Reports.RetrieveCloudPcRecommendationReports.RetrieveCloudPcRecommendationReportsRequestBuilder RetrieveCloudPcRecommendationReports + { + get => new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Reports.RetrieveCloudPcRecommendationReports.RetrieveCloudPcRecommendationReportsRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the retrieveCloudPcTenantMetricsReport method. public global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Reports.RetrieveCloudPcTenantMetricsReport.RetrieveCloudPcTenantMetricsReportRequestBuilder RetrieveCloudPcTenantMetricsReport { diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/Reports/RetrieveCloudPcRecommendationReports/RetrieveCloudPcRecommendationReportsPostRequestBody.cs b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/Reports/RetrieveCloudPcRecommendationReports/RetrieveCloudPcRecommendationReportsPostRequestBody.cs new file mode 100644 index 000000000000..58c18693bc69 --- /dev/null +++ b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/Reports/RetrieveCloudPcRecommendationReports/RetrieveCloudPcRecommendationReportsPostRequestBody.cs @@ -0,0 +1,178 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Reports.RetrieveCloudPcRecommendationReports +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RetrieveCloudPcRecommendationReportsPostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// 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") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The filter property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Filter + { + get { return BackingStore?.Get("filter"); } + set { BackingStore?.Set("filter", value); } + } +#nullable restore +#else + public string Filter + { + get { return BackingStore?.Get("filter"); } + set { BackingStore?.Set("filter", value); } + } +#endif + /// The groupBy property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? GroupBy + { + get { return BackingStore?.Get?>("groupBy"); } + set { BackingStore?.Set("groupBy", value); } + } +#nullable restore +#else + public List GroupBy + { + get { return BackingStore?.Get>("groupBy"); } + set { BackingStore?.Set("groupBy", value); } + } +#endif + /// The orderBy property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? OrderBy + { + get { return BackingStore?.Get?>("orderBy"); } + set { BackingStore?.Set("orderBy", value); } + } +#nullable restore +#else + public List OrderBy + { + get { return BackingStore?.Get>("orderBy"); } + set { BackingStore?.Set("orderBy", value); } + } +#endif + /// The reportName property + public global::Microsoft.Graph.Beta.Models.CloudPcRecommendationReportType? ReportName + { + get { return BackingStore?.Get("reportName"); } + set { BackingStore?.Set("reportName", value); } + } + /// The search property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Search + { + get { return BackingStore?.Get("search"); } + set { BackingStore?.Set("search", value); } + } +#nullable restore +#else + public string Search + { + get { return BackingStore?.Get("search"); } + set { BackingStore?.Set("search", value); } + } +#endif + /// The select property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Select + { + get { return BackingStore?.Get?>("select"); } + set { BackingStore?.Set("select", value); } + } +#nullable restore +#else + public List Select + { + get { return BackingStore?.Get>("select"); } + set { BackingStore?.Set("select", value); } + } +#endif + /// The skip property + public int? Skip + { + get { return BackingStore?.Get("skip"); } + set { BackingStore?.Set("skip", value); } + } + /// The top property + public int? Top + { + get { return BackingStore?.Get("top"); } + set { BackingStore?.Set("top", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public RetrieveCloudPcRecommendationReportsPostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Reports.RetrieveCloudPcRecommendationReports.RetrieveCloudPcRecommendationReportsPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Reports.RetrieveCloudPcRecommendationReports.RetrieveCloudPcRecommendationReportsPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "filter", n => { Filter = n.GetStringValue(); } }, + { "groupBy", n => { GroupBy = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "orderBy", n => { OrderBy = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "reportName", n => { ReportName = n.GetEnumValue(); } }, + { "search", n => { Search = n.GetStringValue(); } }, + { "select", n => { Select = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "skip", n => { Skip = n.GetIntValue(); } }, + { "top", n => { Top = n.GetIntValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("filter", Filter); + writer.WriteCollectionOfPrimitiveValues("groupBy", GroupBy); + writer.WriteCollectionOfPrimitiveValues("orderBy", OrderBy); + writer.WriteEnumValue("reportName", ReportName); + writer.WriteStringValue("search", Search); + writer.WriteCollectionOfPrimitiveValues("select", Select); + writer.WriteIntValue("skip", Skip); + writer.WriteIntValue("top", Top); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/Reports/RetrieveCloudPcRecommendationReports/RetrieveCloudPcRecommendationReportsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/Reports/RetrieveCloudPcRecommendationReports/RetrieveCloudPcRecommendationReportsRequestBuilder.cs new file mode 100644 index 000000000000..cdb2bb5aa3ef --- /dev/null +++ b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/Reports/RetrieveCloudPcRecommendationReports/RetrieveCloudPcRecommendationReportsRequestBuilder.cs @@ -0,0 +1,102 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Reports.RetrieveCloudPcRecommendationReports +{ + /// + /// Provides operations to call the retrieveCloudPcRecommendationReports method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RetrieveCloudPcRecommendationReportsRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RetrieveCloudPcRecommendationReportsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/reports/retrieveCloudPcRecommendationReports", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RetrieveCloudPcRecommendationReportsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/reports/retrieveCloudPcRecommendationReports", rawUrl) + { + } + /// + /// Invoke action retrieveCloudPcRecommendationReports + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Reports.RetrieveCloudPcRecommendationReports.RetrieveCloudPcRecommendationReportsPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Reports.RetrieveCloudPcRecommendationReports.RetrieveCloudPcRecommendationReportsPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action retrieveCloudPcRecommendationReports + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Reports.RetrieveCloudPcRecommendationReports.RetrieveCloudPcRecommendationReportsPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Reports.RetrieveCloudPcRecommendationReports.RetrieveCloudPcRecommendationReportsPostRequestBody body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/octet-stream"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Reports.RetrieveCloudPcRecommendationReports.RetrieveCloudPcRecommendationReportsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Reports.RetrieveCloudPcRecommendationReports.RetrieveCloudPcRecommendationReportsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RetrieveCloudPcRecommendationReportsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/AuthenticationMethodDevices/HardwareOathDevices/HardwareOathDevicesRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/AuthenticationMethodDevices/HardwareOathDevices/HardwareOathDevicesRequestBuilder.cs index 5af65046605a..862328e27df4 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/AuthenticationMethodDevices/HardwareOathDevices/HardwareOathDevicesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/AuthenticationMethodDevices/HardwareOathDevices/HardwareOathDevicesRequestBuilder.cs @@ -78,8 +78,8 @@ public HardwareOathDevicesRequestBuilder(string rawUrl, IRequestAdapter requestA return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.HardwareOathTokenAuthenticationMethodDeviceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create a new hardwareOathTokenAuthenticationMethodDevice object. Supports bulk creation. - /// Find more info here + /// Create a new hardwareOathTokenAuthenticationMethodDevice object. You can optionally create and assign to a user in the same request; Or assign to a user via the assign API. + /// Find more info here /// /// A /// The request body @@ -123,7 +123,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new hardwareOathTokenAuthenticationMethodDevice object. Supports bulk creation. + /// Create a new hardwareOathTokenAuthenticationMethodDevice object. You can optionally create and assign to a user in the same request; Or assign to a user via the assign API. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Education/Users/Item/EducationUserItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Users/Item/EducationUserItemRequestBuilder.cs index e0bd98321f3c..b78f50d0ffb9 100644 --- a/src/Microsoft.Graph/Generated/Education/Users/Item/EducationUserItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Users/Item/EducationUserItemRequestBuilder.cs @@ -118,8 +118,8 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.EducationUser.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the properties of an educationuser object. - /// Find more info here + /// Update the relatedContact collection of an educationUser object. + /// Find more info here /// /// A /// The request body @@ -181,7 +181,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of an educationuser object. + /// Update the relatedContact collection of an educationUser object. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/External/Connections/Item/Schema/SchemaRequestBuilder.cs b/src/Microsoft.Graph/Generated/External/Connections/Item/Schema/SchemaRequestBuilder.cs index e7b366ed06c0..ab6ac4da6596 100644 --- a/src/Microsoft.Graph/Generated/External/Connections/Item/Schema/SchemaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/External/Connections/Item/Schema/SchemaRequestBuilder.cs @@ -59,8 +59,8 @@ public SchemaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : bas return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ExternalConnectors.Schema.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the properties of a schema for an externalConnection. - /// Find more info here + /// Create a new or update an existing schema for a Microsoft Search connection. + /// Find more info here /// /// A /// The request body @@ -104,7 +104,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of a schema for an externalConnection. + /// Create a new or update an existing schema for a Microsoft Search connection. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/External/IndustryData/DataConnectors/DataConnectorsRequestBuilder.cs b/src/Microsoft.Graph/Generated/External/IndustryData/DataConnectors/DataConnectorsRequestBuilder.cs index 19e50f7f6d13..0e11b5d679e7 100644 --- a/src/Microsoft.Graph/Generated/External/IndustryData/DataConnectors/DataConnectorsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/External/IndustryData/DataConnectors/DataConnectorsRequestBuilder.cs @@ -78,8 +78,8 @@ public DataConnectorsRequestBuilder(string rawUrl, IRequestAdapter requestAdapte return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.IndustryData.IndustryDataConnectorCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create a new oneRosterApiDataConnector object. - /// Find more info here + /// Create a new azureDataLakeConnector object. + /// Find more info here /// /// A /// The request body @@ -123,7 +123,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new oneRosterApiDataConnector object. + /// Create a new azureDataLakeConnector object. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/External/IndustryData/Operations/Item/LongRunningOperationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/External/IndustryData/Operations/Item/LongRunningOperationItemRequestBuilder.cs index 36423e169e62..c7147b0865f1 100644 --- a/src/Microsoft.Graph/Generated/External/IndustryData/Operations/Item/LongRunningOperationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/External/IndustryData/Operations/Item/LongRunningOperationItemRequestBuilder.cs @@ -57,8 +57,8 @@ public async Task DeleteAsync(Action - /// Read the properties and relationships of a fileValidateOperation object. - /// Find more info here + /// Read the properties and relationships of a longRunningOperation object. This API allows you to retrieve the details and status of the following long-running Microsoft Graph API operations. The possible states of the long-running operation are notStarted, running, succeeded, failed, unknownFutureValue where succeeded and failed are terminal states. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -124,7 +124,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read the properties and relationships of a fileValidateOperation object. + /// Read the properties and relationships of a longRunningOperation object. This API allows you to retrieve the details and status of the following long-running Microsoft Graph API operations. The possible states of the long-running operation are notStarted, running, succeeded, failed, unknownFutureValue where succeeded and failed are terminal states. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -182,7 +182,7 @@ public partial class LongRunningOperationItemRequestBuilderDeleteRequestConfigur { } /// - /// Read the properties and relationships of a fileValidateOperation object. + /// Read the properties and relationships of a longRunningOperation object. This API allows you to retrieve the details and status of the following long-running Microsoft Graph API operations. The possible states of the long-running operation are notStarted, running, succeeded, failed, unknownFutureValue where succeeded and failed are terminal states. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class LongRunningOperationItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/ConversationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/ConversationsRequestBuilder.cs index 71a3826e0d95..a125cdcec768 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/ConversationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/ConversationsRequestBuilder.cs @@ -78,8 +78,8 @@ public ConversationsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ConversationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create a new conversation by including a thread and a post. Use reply thread or reply post to further post to that conversation. - /// Find more info here + /// 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. + /// Find more info here /// /// A /// The request body @@ -123,7 +123,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new conversation by including a thread and a post. Use reply thread or reply post to further post to that conversation. + /// 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. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Reply/ReplyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Reply/ReplyRequestBuilder.cs index 51a14062b944..1c76e37504f4 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Reply/ReplyRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Reply/ReplyRequestBuilder.cs @@ -34,8 +34,8 @@ public ReplyRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base { } /// - /// 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. - /// Find more info here + /// 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. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -59,7 +59,7 @@ public async Task PostAsync(global::Microsoft.Graph.Beta.Groups.Item.Conversatio await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// 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. + /// 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. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/InformationProtection/SensitivityLabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/InformationProtection/SensitivityLabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.cs new file mode 100644 index 000000000000..b58d24b3091b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/InformationProtection/SensitivityLabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.cs @@ -0,0 +1,105 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats +{ + /// + /// Provides operations to call the computeInheritance method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Usage: contentFormats={contentFormats} + /// Usage: labelIds={labelIds} + /// Usage: locale='{locale}' + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter, string contentFormats = "", string labelIds = "", string locale = "") : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/informationProtection/sensitivityLabels/computeInheritance(labelIds={labelIds},locale='{locale}',contentFormats={contentFormats})", pathParameters) + { + if (!string.IsNullOrWhiteSpace(contentFormats)) PathParameters.Add("contentFormats", contentFormats); + if (!string.IsNullOrWhiteSpace(labelIds)) PathParameters.Add("labelIds", labelIds); + if (!string.IsNullOrWhiteSpace(locale)) PathParameters.Add("locale", locale); + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/informationProtection/sensitivityLabels/computeInheritance(labelIds={labelIds},locale='{locale}',contentFormats={contentFormats})", rawUrl) + { + } + /// + /// Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#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> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.SensitivityLabel.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + /// + /// A + /// 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(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/InformationProtection/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/InformationProtection/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.cs new file mode 100644 index 000000000000..e3c95ea9de09 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/InformationProtection/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.cs @@ -0,0 +1,136 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ComputeRightsAndInheritancePostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// 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") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The delegatedUserEmail property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DelegatedUserEmail + { + get { return BackingStore?.Get("delegatedUserEmail"); } + set { BackingStore?.Set("delegatedUserEmail", value); } + } +#nullable restore +#else + public string DelegatedUserEmail + { + get { return BackingStore?.Get("delegatedUserEmail"); } + set { BackingStore?.Set("delegatedUserEmail", value); } + } +#endif + /// The locale property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Locale + { + get { return BackingStore?.Get("locale"); } + set { BackingStore?.Set("locale", value); } + } +#nullable restore +#else + public string Locale + { + get { return BackingStore?.Get("locale"); } + set { BackingStore?.Set("locale", value); } + } +#endif + /// The protectedContents property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? ProtectedContents + { + get { return BackingStore?.Get?>("protectedContents"); } + set { BackingStore?.Set("protectedContents", value); } + } +#nullable restore +#else + public List ProtectedContents + { + get { return BackingStore?.Get>("protectedContents"); } + set { BackingStore?.Set("protectedContents", value); } + } +#endif + /// The supportedContentFormats property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? SupportedContentFormats + { + get { return BackingStore?.Get?>("supportedContentFormats"); } + set { BackingStore?.Set("supportedContentFormats", value); } + } +#nullable restore +#else + public List SupportedContentFormats + { + get { return BackingStore?.Get>("supportedContentFormats"); } + set { BackingStore?.Set("supportedContentFormats", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ComputeRightsAndInheritancePostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "delegatedUserEmail", n => { DelegatedUserEmail = n.GetStringValue(); } }, + { "locale", n => { Locale = n.GetStringValue(); } }, + { "protectedContents", n => { ProtectedContents = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ProtectedContent.CreateFromDiscriminatorValue)?.AsList(); } }, + { "supportedContentFormats", n => { SupportedContentFormats = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("delegatedUserEmail", DelegatedUserEmail); + writer.WriteStringValue("locale", Locale); + writer.WriteCollectionOfObjectValues("protectedContents", ProtectedContents); + writer.WriteCollectionOfPrimitiveValues("supportedContentFormats", SupportedContentFormats); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/InformationProtection/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/InformationProtection/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.cs new file mode 100644 index 000000000000..b05c7c2df91f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/InformationProtection/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.cs @@ -0,0 +1,104 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance +{ + /// + /// Provides operations to call the computeRightsAndInheritance method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComputeRightsAndInheritanceRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ComputeRightsAndInheritanceRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/informationProtection/sensitivityLabels/computeRightsAndInheritance", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ComputeRightsAndInheritanceRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/informationProtection/sensitivityLabels/computeRightsAndInheritance", rawUrl) + { + } + /// + /// Computes the rights and inheritance for sensitivity labels based on the input content and labels. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ComputeRightsAndInheritanceResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Computes the rights and inheritance for sensitivity labels based on the input content and labels. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/InformationProtection/SensitivityLabels/Item/Rights/RightsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/InformationProtection/SensitivityLabels/Item/Rights/RightsRequestBuilder.cs new file mode 100644 index 000000000000..fe91a3f1d30d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/InformationProtection/SensitivityLabels/Item/Rights/RightsRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Rights +{ + /// + /// Provides operations to manage the rights property of the microsoft.graph.sensitivityLabel entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RightsRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RightsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/informationProtection/sensitivityLabels/{sensitivityLabel%2Did}/rights{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RightsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/informationProtection/sensitivityLabels/{sensitivityLabel%2Did}/rights{?%24expand,%24select}", rawUrl) + { + } + /// + /// Get rights from groups + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#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> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.UsageRightsIncluded.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get rights from groups + /// + /// A + /// 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(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Rights.RightsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Rights.RightsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get rights from groups + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RightsRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RightsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/InformationProtection/SensitivityLabels/Item/SensitivityLabelItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/InformationProtection/SensitivityLabels/Item/SensitivityLabelItemRequestBuilder.cs index 5f242eff9722..c73966257ec9 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/InformationProtection/SensitivityLabels/Item/SensitivityLabelItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/InformationProtection/SensitivityLabels/Item/SensitivityLabelItemRequestBuilder.cs @@ -1,5 +1,6 @@ // #pragma warning disable CS0618 +using Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Rights; using Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels; using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.Models; @@ -19,6 +20,11 @@ namespace Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.Sens [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class SensitivityLabelItemRequestBuilder : BaseRequestBuilder { + /// Provides operations to manage the rights property of the microsoft.graph.sensitivityLabel entity. + public global::Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Rights.RightsRequestBuilder Rights + { + get => new global::Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Rights.RightsRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the sublabels property of the microsoft.graph.sensitivityLabel entity. public global::Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.SublabelsRequestBuilder Sublabels { diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.cs new file mode 100644 index 000000000000..93ab5307afc8 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.cs @@ -0,0 +1,105 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats +{ + /// + /// Provides operations to call the computeInheritance method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Usage: contentFormats={contentFormats} + /// Usage: labelIds={labelIds} + /// Usage: locale='{locale}' + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter, string contentFormats = "", string labelIds = "", string locale = "") : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/informationProtection/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/computeInheritance(labelIds={labelIds},locale='{locale}',contentFormats={contentFormats})", pathParameters) + { + if (!string.IsNullOrWhiteSpace(contentFormats)) PathParameters.Add("contentFormats", contentFormats); + if (!string.IsNullOrWhiteSpace(labelIds)) PathParameters.Add("labelIds", labelIds); + if (!string.IsNullOrWhiteSpace(locale)) PathParameters.Add("locale", locale); + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/informationProtection/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/computeInheritance(labelIds={labelIds},locale='{locale}',contentFormats={contentFormats})", rawUrl) + { + } + /// + /// Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#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> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.SensitivityLabel.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + /// + /// A + /// 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(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.cs new file mode 100644 index 000000000000..d890d02ae05f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.cs @@ -0,0 +1,136 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ComputeRightsAndInheritancePostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// 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") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The delegatedUserEmail property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DelegatedUserEmail + { + get { return BackingStore?.Get("delegatedUserEmail"); } + set { BackingStore?.Set("delegatedUserEmail", value); } + } +#nullable restore +#else + public string DelegatedUserEmail + { + get { return BackingStore?.Get("delegatedUserEmail"); } + set { BackingStore?.Set("delegatedUserEmail", value); } + } +#endif + /// The locale property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Locale + { + get { return BackingStore?.Get("locale"); } + set { BackingStore?.Set("locale", value); } + } +#nullable restore +#else + public string Locale + { + get { return BackingStore?.Get("locale"); } + set { BackingStore?.Set("locale", value); } + } +#endif + /// The protectedContents property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? ProtectedContents + { + get { return BackingStore?.Get?>("protectedContents"); } + set { BackingStore?.Set("protectedContents", value); } + } +#nullable restore +#else + public List ProtectedContents + { + get { return BackingStore?.Get>("protectedContents"); } + set { BackingStore?.Set("protectedContents", value); } + } +#endif + /// The supportedContentFormats property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? SupportedContentFormats + { + get { return BackingStore?.Get?>("supportedContentFormats"); } + set { BackingStore?.Set("supportedContentFormats", value); } + } +#nullable restore +#else + public List SupportedContentFormats + { + get { return BackingStore?.Get>("supportedContentFormats"); } + set { BackingStore?.Set("supportedContentFormats", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ComputeRightsAndInheritancePostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "delegatedUserEmail", n => { DelegatedUserEmail = n.GetStringValue(); } }, + { "locale", n => { Locale = n.GetStringValue(); } }, + { "protectedContents", n => { ProtectedContents = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ProtectedContent.CreateFromDiscriminatorValue)?.AsList(); } }, + { "supportedContentFormats", n => { SupportedContentFormats = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("delegatedUserEmail", DelegatedUserEmail); + writer.WriteStringValue("locale", Locale); + writer.WriteCollectionOfObjectValues("protectedContents", ProtectedContents); + writer.WriteCollectionOfPrimitiveValues("supportedContentFormats", SupportedContentFormats); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.cs new file mode 100644 index 000000000000..c7626023206a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.cs @@ -0,0 +1,104 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance +{ + /// + /// Provides operations to call the computeRightsAndInheritance method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComputeRightsAndInheritanceRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ComputeRightsAndInheritanceRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/informationProtection/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/computeRightsAndInheritance", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ComputeRightsAndInheritanceRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/informationProtection/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/computeRightsAndInheritance", rawUrl) + { + } + /// + /// Computes the rights and inheritance for sensitivity labels based on the input content and labels. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ComputeRightsAndInheritanceResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Computes the rights and inheritance for sensitivity labels based on the input content and labels. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/InformationProtection/SensitivityLabels/Item/Sublabels/Item/Rights/RightsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/InformationProtection/SensitivityLabels/Item/Sublabels/Item/Rights/RightsRequestBuilder.cs new file mode 100644 index 000000000000..dba9177337bf --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/InformationProtection/SensitivityLabels/Item/Sublabels/Item/Rights/RightsRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Item.Rights +{ + /// + /// Provides operations to manage the rights property of the microsoft.graph.sensitivityLabel entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RightsRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RightsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/informationProtection/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/{sensitivityLabel%2Did1}/rights{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RightsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/informationProtection/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/{sensitivityLabel%2Did1}/rights{?%24expand,%24select}", rawUrl) + { + } + /// + /// Get rights from groups + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#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> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.UsageRightsIncluded.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get rights from groups + /// + /// A + /// 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(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Item.Rights.RightsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Item.Rights.RightsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get rights from groups + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RightsRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RightsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/InformationProtection/SensitivityLabels/Item/Sublabels/Item/SensitivityLabelItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/InformationProtection/SensitivityLabels/Item/Sublabels/Item/SensitivityLabelItemRequestBuilder.cs index caefc375958f..630273ca0496 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/InformationProtection/SensitivityLabels/Item/Sublabels/Item/SensitivityLabelItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/InformationProtection/SensitivityLabels/Item/Sublabels/Item/SensitivityLabelItemRequestBuilder.cs @@ -1,5 +1,6 @@ // #pragma warning disable CS0618 +using Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Item.Rights; using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.Models; using Microsoft.Kiota.Abstractions.Extensions; @@ -18,6 +19,11 @@ namespace Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.Sens [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class SensitivityLabelItemRequestBuilder : BaseRequestBuilder { + /// Provides operations to manage the rights property of the microsoft.graph.sensitivityLabel entity. + public global::Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Item.Rights.RightsRequestBuilder Rights + { + get => new global::Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Item.Rights.RightsRequestBuilder(PathParameters, RequestAdapter); + } /// /// Instantiates a new and sets the default values. /// diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/InformationProtection/SensitivityLabels/Item/Sublabels/SublabelsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/InformationProtection/SensitivityLabels/Item/Sublabels/SublabelsRequestBuilder.cs index 9674a716a381..3060728a6603 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/InformationProtection/SensitivityLabels/Item/Sublabels/SublabelsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/InformationProtection/SensitivityLabels/Item/Sublabels/SublabelsRequestBuilder.cs @@ -1,5 +1,7 @@ // #pragma warning disable CS0618 +using Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats; +using Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance; using Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Count; using Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Evaluate; using Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Item; @@ -21,6 +23,11 @@ namespace Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.Sens [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class SublabelsRequestBuilder : BaseRequestBuilder { + /// Provides operations to call the computeRightsAndInheritance method. + public global::Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder ComputeRightsAndInheritance + { + get => new global::Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to count the resources in the collection. public global::Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Count.CountRequestBuilder Count { @@ -44,6 +51,20 @@ public partial class SublabelsRequestBuilder : BaseRequestBuilder } } /// + /// Provides operations to call the computeInheritance method. + /// + /// A + /// Usage: contentFormats={contentFormats} + /// Usage: labelIds={labelIds} + /// Usage: locale='{locale}' + public global::Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats(string contentFormats, string labelIds, string locale) + { + if(string.IsNullOrEmpty(contentFormats)) throw new ArgumentNullException(nameof(contentFormats)); + if(string.IsNullOrEmpty(labelIds)) throw new ArgumentNullException(nameof(labelIds)); + if(string.IsNullOrEmpty(locale)) throw new ArgumentNullException(nameof(locale)); + return new global::Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(PathParameters, RequestAdapter, contentFormats, labelIds, locale); + } + /// /// Instantiates a new and sets the default values. /// /// Path parameters for the request diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/InformationProtection/SensitivityLabels/SensitivityLabelsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/InformationProtection/SensitivityLabels/SensitivityLabelsRequestBuilder.cs index ecc8dbfce3d1..5406ea26e2c3 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/InformationProtection/SensitivityLabels/SensitivityLabelsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/InformationProtection/SensitivityLabels/SensitivityLabelsRequestBuilder.cs @@ -1,5 +1,7 @@ // #pragma warning disable CS0618 +using Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats; +using Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance; using Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Count; using Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Evaluate; using Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item; @@ -21,6 +23,11 @@ namespace Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.Sens [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class SensitivityLabelsRequestBuilder : BaseRequestBuilder { + /// Provides operations to call the computeRightsAndInheritance method. + public global::Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder ComputeRightsAndInheritance + { + get => new global::Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to count the resources in the collection. public global::Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Count.CountRequestBuilder Count { @@ -44,6 +51,20 @@ public partial class SensitivityLabelsRequestBuilder : BaseRequestBuilder } } /// + /// Provides operations to call the computeInheritance method. + /// + /// A + /// Usage: contentFormats={contentFormats} + /// Usage: labelIds={labelIds} + /// Usage: locale='{locale}' + public global::Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats(string contentFormats, string labelIds, string locale) + { + if(string.IsNullOrEmpty(contentFormats)) throw new ArgumentNullException(nameof(contentFormats)); + if(string.IsNullOrEmpty(labelIds)) throw new ArgumentNullException(nameof(labelIds)); + if(string.IsNullOrEmpty(locale)) throw new ArgumentNullException(nameof(locale)); + return new global::Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(PathParameters, RequestAdapter, contentFormats, labelIds, locale); + } + /// /// Instantiates a new and sets the default values. /// /// Path parameters for the request diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/RecycleBin/Items/Delete/DeletePostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/RecycleBin/Items/Delete/DeletePostRequestBody.cs new file mode 100644 index 000000000000..6fd6fc1b309e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/RecycleBin/Items/Delete/DeletePostRequestBody.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.Delete +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class DeletePostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// 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") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The ids property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Ids + { + get { return BackingStore?.Get?>("ids"); } + set { BackingStore?.Set("ids", value); } + } +#nullable restore +#else + public List Ids + { + get { return BackingStore?.Get>("ids"); } + set { BackingStore?.Set("ids", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public DeletePostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.Delete.DeletePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.Delete.DeletePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "ids", n => { Ids = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfPrimitiveValues("ids", Ids); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/RecycleBin/Items/Delete/DeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/RecycleBin/Items/Delete/DeleteRequestBuilder.cs new file mode 100644 index 000000000000..8399a4f50822 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/RecycleBin/Items/Delete/DeleteRequestBuilder.cs @@ -0,0 +1,100 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.Delete +{ + /// + /// Provides operations to call the delete method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeleteRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public DeleteRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/recycleBin/items/delete", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public DeleteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/recycleBin/items/delete", rawUrl) + { + } + /// + /// Invoke action delete + /// + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.Delete.DeletePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.Delete.DeletePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action delete + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.Delete.DeletePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.Delete.DeletePostRequestBody body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.Delete.DeleteRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.Delete.DeleteRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeleteRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/RecycleBin/Items/ItemsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/RecycleBin/Items/ItemsRequestBuilder.cs index e8497154bb0e..8421b05b3bac 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/RecycleBin/Items/ItemsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/RecycleBin/Items/ItemsRequestBuilder.cs @@ -1,7 +1,9 @@ // #pragma warning disable CS0618 using Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.Count; +using Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.Delete; using Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.Item; +using Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.Restore; using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.Models; using Microsoft.Kiota.Abstractions.Extensions; @@ -25,6 +27,16 @@ public partial class ItemsRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.Count.CountRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the delete method. + public global::Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.Delete.DeleteRequestBuilder DeletePath + { + get => new global::Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.Delete.DeleteRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the restore method. + public global::Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.Restore.RestoreRequestBuilder Restore + { + get => new global::Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.Restore.RestoreRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the items property of the microsoft.graph.recycleBin entity. /// The unique identifier of recycleBinItem /// A diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/RecycleBin/Items/Restore/RestorePostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/RecycleBin/Items/Restore/RestorePostRequestBody.cs new file mode 100644 index 000000000000..6346596cb880 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/RecycleBin/Items/Restore/RestorePostRequestBody.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.Restore +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RestorePostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// 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") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The ids property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Ids + { + get { return BackingStore?.Get?>("ids"); } + set { BackingStore?.Set("ids", value); } + } +#nullable restore +#else + public List Ids + { + get { return BackingStore?.Get>("ids"); } + set { BackingStore?.Set("ids", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public RestorePostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.Restore.RestorePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.Restore.RestorePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "ids", n => { Ids = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfPrimitiveValues("ids", Ids); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/RecycleBin/Items/Restore/RestorePostResponse.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/RecycleBin/Items/Restore/RestorePostResponse.cs new file mode 100644 index 000000000000..8203936cc9f8 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/RecycleBin/Items/Restore/RestorePostResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.Restore +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RestorePostResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// 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 + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.Restore.RestorePostResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.Restore.RestorePostResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.RecycleBinItem.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/RecycleBin/Items/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/RecycleBin/Items/Restore/RestoreRequestBuilder.cs new file mode 100644 index 000000000000..d36fab694f09 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/RecycleBin/Items/Restore/RestoreRequestBuilder.cs @@ -0,0 +1,128 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.Restore +{ + /// + /// Provides operations to call the restore method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RestoreRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RestoreRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/recycleBin/items/restore", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/recycleBin/items/restore", rawUrl) + { + } + /// + /// Invoke action restore + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsRestorePostResponseAsync(global::Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.Restore.RestorePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsRestorePostResponseAsync(global::Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.Restore.RestorePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.Restore.RestorePostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action restore + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code + [Obsolete("This method is obsolete. Use PostAsRestorePostResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.Restore.RestorePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.Restore.RestorePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.Restore.RestoreResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action restore + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.Restore.RestorePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.Restore.RestorePostRequestBody body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.Restore.RestoreRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.Restore.RestoreRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RestoreRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/RecycleBin/Items/Restore/RestoreResponse.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/RecycleBin/Items/Restore/RestoreResponse.cs new file mode 100644 index 000000000000..b1be118157c4 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/RecycleBin/Items/Restore/RestoreResponse.cs @@ -0,0 +1,28 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.Restore +{ + [Obsolete("This class is obsolete. Use RestorePostResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RestoreResponse : global::Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.Restore.RestorePostResponse, IParsable + #pragma warning restore CS1591 + { + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.Restore.RestoreResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.Restore.RestoreResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Reply/ReplyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Reply/ReplyRequestBuilder.cs index a87b0a53f7da..ca59fc0d49c2 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Reply/ReplyRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Reply/ReplyRequestBuilder.cs @@ -34,8 +34,8 @@ public ReplyRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base { } /// - /// 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. - /// Find more info here + /// 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. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -59,7 +59,7 @@ public async Task PostAsync(global::Microsoft.Graph.Beta.Groups.Item.Threads.Ite await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// 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. + /// 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. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackageCatalogs/Item/CustomAccessPackageWorkflowExtensions/Item/CustomAccessPackageWorkflowExtensionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackageCatalogs/Item/CustomAccessPackageWorkflowExtensions/Item/CustomAccessPackageWorkflowExtensionItemRequestBuilder.cs index ade621fa8bb6..7b3c0eab58d1 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackageCatalogs/Item/CustomAccessPackageWorkflowExtensions/Item/CustomAccessPackageWorkflowExtensionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackageCatalogs/Item/CustomAccessPackageWorkflowExtensions/Item/CustomAccessPackageWorkflowExtensionItemRequestBuilder.cs @@ -35,8 +35,8 @@ public CustomAccessPackageWorkflowExtensionItemRequestBuilder(string rawUrl, IRe { } /// - /// Delete a customAccessPackageWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies:1. First retrieve the accessPackageCatalogId by calling the Get accessPackageAssignmentPolicies operation and appending ?$expand=accessPackage($expand=accessPackageCatalog) to the query. For example, https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/accessPackageAssignmentPolicies?$expand=accessPackage($expand=accessPackageCatalog).2. Use the access package catalog ID and retrieve the ID of the customAccessPackageWorkflowExtension object that you want to delete by running the LIST customAccessPackageWorkflowExtensions operation.3. Call the Update accessPackageAssignmentPolicy operation to remove the custom workflow extension object from the policy. For an example, see Example 2: Remove the customExtensionHandlers and verifiableCredentialSettings from a policy. - /// Find more info here + /// Delete an accessPackageAssignmentRequestWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies:1. First retrieve the accessPackageCatalogId by calling the Get accessPackageAssignmentPolicies operation and appending ?$expand=accessPackage($expand=accessPackageCatalog) to the query. For example, https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/accessPackageAssignmentPolicies?$expand=accessPackage($expand=accessPackageCatalog).2. Use the access package catalog ID and retrieve the ID of the accessPackageCustomWorkflowExtension object that you want to delete by running the List accessPackageCustomWorkflowExtensions operation.3. Call the Update accessPackageAssignmentPolicy operation to remove the custom workflow extension object from the policy. For an example, see Example 3: Remove the customExtensionStageSettings from a policy. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -111,7 +111,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.CustomAccessPackageWorkflowExtension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Delete a customAccessPackageWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies:1. First retrieve the accessPackageCatalogId by calling the Get accessPackageAssignmentPolicies operation and appending ?$expand=accessPackage($expand=accessPackageCatalog) to the query. For example, https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/accessPackageAssignmentPolicies?$expand=accessPackage($expand=accessPackageCatalog).2. Use the access package catalog ID and retrieve the ID of the customAccessPackageWorkflowExtension object that you want to delete by running the LIST customAccessPackageWorkflowExtensions operation.3. Call the Update accessPackageAssignmentPolicy operation to remove the custom workflow extension object from the policy. For an example, see Example 2: Remove the customExtensionHandlers and verifiableCredentialSettings from a policy. + /// Delete an accessPackageAssignmentRequestWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies:1. First retrieve the accessPackageCatalogId by calling the Get accessPackageAssignmentPolicies operation and appending ?$expand=accessPackage($expand=accessPackageCatalog) to the query. For example, https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/accessPackageAssignmentPolicies?$expand=accessPackage($expand=accessPackageCatalog).2. Use the access package catalog ID and retrieve the ID of the accessPackageCustomWorkflowExtension object that you want to delete by running the List accessPackageCustomWorkflowExtensions operation.3. Call the Update accessPackageAssignmentPolicy operation to remove the custom workflow extension object from the policy. For an example, see Example 3: Remove the customExtensionStageSettings from a policy. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. 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 a5a5c4f8c8bc..8c61865a3e11 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackageItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackageItemRequestBuilder.cs @@ -117,8 +117,8 @@ public async Task DeleteAsync(Action - /// Retrieve the properties and relationships of an accessPackage object. - /// Find more info here + /// 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. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -185,7 +185,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of an accessPackage object. + /// 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. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -243,7 +243,7 @@ public partial class AccessPackageItemRequestBuilderDeleteRequestConfiguration : { } /// - /// Retrieve the properties and relationships of an accessPackage object. + /// 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. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class AccessPackageItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackagesWithUniqueName/AccessPackagesWithUniqueNameRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackagesWithUniqueName/AccessPackagesWithUniqueNameRequestBuilder.cs index 8d14d6b544de..b5ef0913ad50 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackagesWithUniqueName/AccessPackagesWithUniqueNameRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackagesWithUniqueName/AccessPackagesWithUniqueNameRequestBuilder.cs @@ -72,8 +72,8 @@ public async Task DeleteAsync(Action - /// Retrieve the properties and relationships of an accessPackage object. - /// Find more info here + /// 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. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -140,7 +140,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of an accessPackage object. + /// 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. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -198,7 +198,7 @@ public partial class AccessPackagesWithUniqueNameRequestBuilderDeleteRequestConf { } /// - /// Retrieve the properties and relationships of an accessPackage object. + /// 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. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class AccessPackagesWithUniqueNameRequestBuilderGetQueryParameters 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 f0b2371517ec..92729a190e5f 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/AgreementItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/AgreementItemRequestBuilder.cs @@ -76,8 +76,8 @@ public async Task DeleteAsync(Action - /// Retrieve the properties and relationships of an agreement object. - /// Find more info here + /// Retrieve all files related to an agreement. This includes the default file and all localized files. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -144,7 +144,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of an agreement object. + /// Retrieve all files related to an agreement. This includes the default file and all localized files. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -202,7 +202,7 @@ public partial class AgreementItemRequestBuilderDeleteRequestConfiguration : Req { } /// - /// Retrieve the properties and relationships of an agreement object. + /// Retrieve all files related to an agreement. This includes the default file and all localized files. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class AgreementItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/InformationProtection/SensitivityLabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.cs b/src/Microsoft.Graph/Generated/InformationProtection/SensitivityLabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.cs new file mode 100644 index 000000000000..0d1a42c0df55 --- /dev/null +++ b/src/Microsoft.Graph/Generated/InformationProtection/SensitivityLabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.cs @@ -0,0 +1,105 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats +{ + /// + /// Provides operations to call the computeInheritance method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Usage: contentFormats={contentFormats} + /// Usage: labelIds={labelIds} + /// Usage: locale='{locale}' + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter, string contentFormats = "", string labelIds = "", string locale = "") : base(requestAdapter, "{+baseurl}/informationProtection/sensitivityLabels/computeInheritance(labelIds={labelIds},locale='{locale}',contentFormats={contentFormats})", pathParameters) + { + if (!string.IsNullOrWhiteSpace(contentFormats)) PathParameters.Add("contentFormats", contentFormats); + if (!string.IsNullOrWhiteSpace(labelIds)) PathParameters.Add("labelIds", labelIds); + if (!string.IsNullOrWhiteSpace(locale)) PathParameters.Add("locale", locale); + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/informationProtection/sensitivityLabels/computeInheritance(labelIds={labelIds},locale='{locale}',contentFormats={contentFormats})", rawUrl) + { + } + /// + /// Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#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> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.SensitivityLabel.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + /// + /// A + /// 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(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/InformationProtection/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.cs b/src/Microsoft.Graph/Generated/InformationProtection/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.cs new file mode 100644 index 000000000000..dc681b24e4e4 --- /dev/null +++ b/src/Microsoft.Graph/Generated/InformationProtection/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.cs @@ -0,0 +1,136 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ComputeRightsAndInheritancePostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// 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") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The delegatedUserEmail property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DelegatedUserEmail + { + get { return BackingStore?.Get("delegatedUserEmail"); } + set { BackingStore?.Set("delegatedUserEmail", value); } + } +#nullable restore +#else + public string DelegatedUserEmail + { + get { return BackingStore?.Get("delegatedUserEmail"); } + set { BackingStore?.Set("delegatedUserEmail", value); } + } +#endif + /// The locale property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Locale + { + get { return BackingStore?.Get("locale"); } + set { BackingStore?.Set("locale", value); } + } +#nullable restore +#else + public string Locale + { + get { return BackingStore?.Get("locale"); } + set { BackingStore?.Set("locale", value); } + } +#endif + /// The protectedContents property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? ProtectedContents + { + get { return BackingStore?.Get?>("protectedContents"); } + set { BackingStore?.Set("protectedContents", value); } + } +#nullable restore +#else + public List ProtectedContents + { + get { return BackingStore?.Get>("protectedContents"); } + set { BackingStore?.Set("protectedContents", value); } + } +#endif + /// The supportedContentFormats property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? SupportedContentFormats + { + get { return BackingStore?.Get?>("supportedContentFormats"); } + set { BackingStore?.Set("supportedContentFormats", value); } + } +#nullable restore +#else + public List SupportedContentFormats + { + get { return BackingStore?.Get>("supportedContentFormats"); } + set { BackingStore?.Set("supportedContentFormats", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ComputeRightsAndInheritancePostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "delegatedUserEmail", n => { DelegatedUserEmail = n.GetStringValue(); } }, + { "locale", n => { Locale = n.GetStringValue(); } }, + { "protectedContents", n => { ProtectedContents = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ProtectedContent.CreateFromDiscriminatorValue)?.AsList(); } }, + { "supportedContentFormats", n => { SupportedContentFormats = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("delegatedUserEmail", DelegatedUserEmail); + writer.WriteStringValue("locale", Locale); + writer.WriteCollectionOfObjectValues("protectedContents", ProtectedContents); + writer.WriteCollectionOfPrimitiveValues("supportedContentFormats", SupportedContentFormats); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/InformationProtection/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.cs b/src/Microsoft.Graph/Generated/InformationProtection/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.cs new file mode 100644 index 000000000000..341846916a1d --- /dev/null +++ b/src/Microsoft.Graph/Generated/InformationProtection/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.cs @@ -0,0 +1,104 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance +{ + /// + /// Provides operations to call the computeRightsAndInheritance method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComputeRightsAndInheritanceRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ComputeRightsAndInheritanceRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/informationProtection/sensitivityLabels/computeRightsAndInheritance", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ComputeRightsAndInheritanceRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/informationProtection/sensitivityLabels/computeRightsAndInheritance", rawUrl) + { + } + /// + /// Computes the rights and inheritance for sensitivity labels based on the input content and labels. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ComputeRightsAndInheritanceResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Computes the rights and inheritance for sensitivity labels based on the input content and labels. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/InformationProtection/SensitivityLabels/Item/Rights/RightsRequestBuilder.cs b/src/Microsoft.Graph/Generated/InformationProtection/SensitivityLabels/Item/Rights/RightsRequestBuilder.cs new file mode 100644 index 000000000000..13fac016d889 --- /dev/null +++ b/src/Microsoft.Graph/Generated/InformationProtection/SensitivityLabels/Item/Rights/RightsRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Rights +{ + /// + /// Provides operations to manage the rights property of the microsoft.graph.sensitivityLabel entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RightsRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RightsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/informationProtection/sensitivityLabels/{sensitivityLabel%2Did}/rights{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RightsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/informationProtection/sensitivityLabels/{sensitivityLabel%2Did}/rights{?%24expand,%24select}", rawUrl) + { + } + /// + /// Get rights from informationProtection + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#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> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.UsageRightsIncluded.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get rights from informationProtection + /// + /// A + /// 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(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Rights.RightsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Rights.RightsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get rights from informationProtection + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RightsRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RightsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/InformationProtection/SensitivityLabels/Item/SensitivityLabelItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/InformationProtection/SensitivityLabels/Item/SensitivityLabelItemRequestBuilder.cs index 0b745ddd66d7..0eab067e59b7 100644 --- a/src/Microsoft.Graph/Generated/InformationProtection/SensitivityLabels/Item/SensitivityLabelItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/InformationProtection/SensitivityLabels/Item/SensitivityLabelItemRequestBuilder.cs @@ -1,5 +1,6 @@ // #pragma warning disable CS0618 +using Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Rights; using Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Sublabels; using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.Models; @@ -19,6 +20,11 @@ namespace Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class SensitivityLabelItemRequestBuilder : BaseRequestBuilder { + /// Provides operations to manage the rights property of the microsoft.graph.sensitivityLabel entity. + public global::Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Rights.RightsRequestBuilder Rights + { + get => new global::Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Rights.RightsRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the sublabels property of the microsoft.graph.sensitivityLabel entity. public global::Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Sublabels.SublabelsRequestBuilder Sublabels { diff --git a/src/Microsoft.Graph/Generated/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.cs b/src/Microsoft.Graph/Generated/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.cs new file mode 100644 index 000000000000..edf070d12d35 --- /dev/null +++ b/src/Microsoft.Graph/Generated/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.cs @@ -0,0 +1,105 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats +{ + /// + /// Provides operations to call the computeInheritance method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Usage: contentFormats={contentFormats} + /// Usage: labelIds={labelIds} + /// Usage: locale='{locale}' + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter, string contentFormats = "", string labelIds = "", string locale = "") : base(requestAdapter, "{+baseurl}/informationProtection/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/computeInheritance(labelIds={labelIds},locale='{locale}',contentFormats={contentFormats})", pathParameters) + { + if (!string.IsNullOrWhiteSpace(contentFormats)) PathParameters.Add("contentFormats", contentFormats); + if (!string.IsNullOrWhiteSpace(labelIds)) PathParameters.Add("labelIds", labelIds); + if (!string.IsNullOrWhiteSpace(locale)) PathParameters.Add("locale", locale); + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/informationProtection/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/computeInheritance(labelIds={labelIds},locale='{locale}',contentFormats={contentFormats})", rawUrl) + { + } + /// + /// Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#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> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.SensitivityLabel.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + /// + /// A + /// 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(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.cs b/src/Microsoft.Graph/Generated/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.cs new file mode 100644 index 000000000000..edae54f53402 --- /dev/null +++ b/src/Microsoft.Graph/Generated/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.cs @@ -0,0 +1,136 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ComputeRightsAndInheritancePostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// 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") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The delegatedUserEmail property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DelegatedUserEmail + { + get { return BackingStore?.Get("delegatedUserEmail"); } + set { BackingStore?.Set("delegatedUserEmail", value); } + } +#nullable restore +#else + public string DelegatedUserEmail + { + get { return BackingStore?.Get("delegatedUserEmail"); } + set { BackingStore?.Set("delegatedUserEmail", value); } + } +#endif + /// The locale property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Locale + { + get { return BackingStore?.Get("locale"); } + set { BackingStore?.Set("locale", value); } + } +#nullable restore +#else + public string Locale + { + get { return BackingStore?.Get("locale"); } + set { BackingStore?.Set("locale", value); } + } +#endif + /// The protectedContents property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? ProtectedContents + { + get { return BackingStore?.Get?>("protectedContents"); } + set { BackingStore?.Set("protectedContents", value); } + } +#nullable restore +#else + public List ProtectedContents + { + get { return BackingStore?.Get>("protectedContents"); } + set { BackingStore?.Set("protectedContents", value); } + } +#endif + /// The supportedContentFormats property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? SupportedContentFormats + { + get { return BackingStore?.Get?>("supportedContentFormats"); } + set { BackingStore?.Set("supportedContentFormats", value); } + } +#nullable restore +#else + public List SupportedContentFormats + { + get { return BackingStore?.Get>("supportedContentFormats"); } + set { BackingStore?.Set("supportedContentFormats", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ComputeRightsAndInheritancePostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "delegatedUserEmail", n => { DelegatedUserEmail = n.GetStringValue(); } }, + { "locale", n => { Locale = n.GetStringValue(); } }, + { "protectedContents", n => { ProtectedContents = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ProtectedContent.CreateFromDiscriminatorValue)?.AsList(); } }, + { "supportedContentFormats", n => { SupportedContentFormats = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("delegatedUserEmail", DelegatedUserEmail); + writer.WriteStringValue("locale", Locale); + writer.WriteCollectionOfObjectValues("protectedContents", ProtectedContents); + writer.WriteCollectionOfPrimitiveValues("supportedContentFormats", SupportedContentFormats); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.cs b/src/Microsoft.Graph/Generated/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.cs new file mode 100644 index 000000000000..30e8c20f6701 --- /dev/null +++ b/src/Microsoft.Graph/Generated/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.cs @@ -0,0 +1,104 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance +{ + /// + /// Provides operations to call the computeRightsAndInheritance method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComputeRightsAndInheritanceRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ComputeRightsAndInheritanceRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/informationProtection/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/computeRightsAndInheritance", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ComputeRightsAndInheritanceRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/informationProtection/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/computeRightsAndInheritance", rawUrl) + { + } + /// + /// Computes the rights and inheritance for sensitivity labels based on the input content and labels. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ComputeRightsAndInheritanceResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Computes the rights and inheritance for sensitivity labels based on the input content and labels. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/InformationProtection/SensitivityLabels/Item/Sublabels/Item/Rights/RightsRequestBuilder.cs b/src/Microsoft.Graph/Generated/InformationProtection/SensitivityLabels/Item/Sublabels/Item/Rights/RightsRequestBuilder.cs new file mode 100644 index 000000000000..35b389931dcf --- /dev/null +++ b/src/Microsoft.Graph/Generated/InformationProtection/SensitivityLabels/Item/Sublabels/Item/Rights/RightsRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Sublabels.Item.Rights +{ + /// + /// Provides operations to manage the rights property of the microsoft.graph.sensitivityLabel entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RightsRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RightsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/informationProtection/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/{sensitivityLabel%2Did1}/rights{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RightsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/informationProtection/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/{sensitivityLabel%2Did1}/rights{?%24expand,%24select}", rawUrl) + { + } + /// + /// Get rights from informationProtection + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#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> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.UsageRightsIncluded.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get rights from informationProtection + /// + /// A + /// 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(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Sublabels.Item.Rights.RightsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Sublabels.Item.Rights.RightsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get rights from informationProtection + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RightsRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RightsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/InformationProtection/SensitivityLabels/Item/Sublabels/Item/SensitivityLabelItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/InformationProtection/SensitivityLabels/Item/Sublabels/Item/SensitivityLabelItemRequestBuilder.cs index 585ab216e197..01d635f2cf8c 100644 --- a/src/Microsoft.Graph/Generated/InformationProtection/SensitivityLabels/Item/Sublabels/Item/SensitivityLabelItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/InformationProtection/SensitivityLabels/Item/Sublabels/Item/SensitivityLabelItemRequestBuilder.cs @@ -1,5 +1,6 @@ // #pragma warning disable CS0618 +using Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Sublabels.Item.Rights; using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.Models; using Microsoft.Kiota.Abstractions.Extensions; @@ -18,6 +19,11 @@ namespace Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Subl [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class SensitivityLabelItemRequestBuilder : BaseRequestBuilder { + /// Provides operations to manage the rights property of the microsoft.graph.sensitivityLabel entity. + public global::Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Sublabels.Item.Rights.RightsRequestBuilder Rights + { + get => new global::Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Sublabels.Item.Rights.RightsRequestBuilder(PathParameters, RequestAdapter); + } /// /// Instantiates a new and sets the default values. /// diff --git a/src/Microsoft.Graph/Generated/InformationProtection/SensitivityLabels/Item/Sublabels/SublabelsRequestBuilder.cs b/src/Microsoft.Graph/Generated/InformationProtection/SensitivityLabels/Item/Sublabels/SublabelsRequestBuilder.cs index 7ac2c8a40c2b..3b8939c534c3 100644 --- a/src/Microsoft.Graph/Generated/InformationProtection/SensitivityLabels/Item/Sublabels/SublabelsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/InformationProtection/SensitivityLabels/Item/Sublabels/SublabelsRequestBuilder.cs @@ -1,5 +1,7 @@ // #pragma warning disable CS0618 +using Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats; +using Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance; using Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Sublabels.Count; using Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Sublabels.Evaluate; using Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Sublabels.Item; @@ -21,6 +23,11 @@ namespace Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Subl [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class SublabelsRequestBuilder : BaseRequestBuilder { + /// Provides operations to call the computeRightsAndInheritance method. + public global::Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder ComputeRightsAndInheritance + { + get => new global::Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to count the resources in the collection. public global::Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Sublabels.Count.CountRequestBuilder Count { @@ -44,6 +51,20 @@ public partial class SublabelsRequestBuilder : BaseRequestBuilder } } /// + /// Provides operations to call the computeInheritance method. + /// + /// A + /// Usage: contentFormats={contentFormats} + /// Usage: labelIds={labelIds} + /// Usage: locale='{locale}' + public global::Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats(string contentFormats, string labelIds, string locale) + { + if(string.IsNullOrEmpty(contentFormats)) throw new ArgumentNullException(nameof(contentFormats)); + if(string.IsNullOrEmpty(labelIds)) throw new ArgumentNullException(nameof(labelIds)); + if(string.IsNullOrEmpty(locale)) throw new ArgumentNullException(nameof(locale)); + return new global::Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(PathParameters, RequestAdapter, contentFormats, labelIds, locale); + } + /// /// Instantiates a new and sets the default values. /// /// Path parameters for the request diff --git a/src/Microsoft.Graph/Generated/InformationProtection/SensitivityLabels/SensitivityLabelsRequestBuilder.cs b/src/Microsoft.Graph/Generated/InformationProtection/SensitivityLabels/SensitivityLabelsRequestBuilder.cs index c13706af20ec..c673a3da5e34 100644 --- a/src/Microsoft.Graph/Generated/InformationProtection/SensitivityLabels/SensitivityLabelsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/InformationProtection/SensitivityLabels/SensitivityLabelsRequestBuilder.cs @@ -1,5 +1,7 @@ // #pragma warning disable CS0618 +using Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats; +using Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance; using Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Count; using Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Evaluate; using Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item; @@ -21,6 +23,11 @@ namespace Microsoft.Graph.Beta.InformationProtection.SensitivityLabels [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class SensitivityLabelsRequestBuilder : BaseRequestBuilder { + /// Provides operations to call the computeRightsAndInheritance method. + public global::Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder ComputeRightsAndInheritance + { + get => new global::Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to count the resources in the collection. public global::Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Count.CountRequestBuilder Count { @@ -44,6 +51,20 @@ public partial class SensitivityLabelsRequestBuilder : BaseRequestBuilder } } /// + /// Provides operations to call the computeInheritance method. + /// + /// A + /// Usage: contentFormats={contentFormats} + /// Usage: labelIds={labelIds} + /// Usage: locale='{locale}' + public global::Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats(string contentFormats, string labelIds, string locale) + { + if(string.IsNullOrEmpty(contentFormats)) throw new ArgumentNullException(nameof(contentFormats)); + if(string.IsNullOrEmpty(labelIds)) throw new ArgumentNullException(nameof(labelIds)); + if(string.IsNullOrEmpty(locale)) throw new ArgumentNullException(nameof(locale)); + return new global::Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(PathParameters, RequestAdapter, contentFormats, labelIds, locale); + } + /// /// Instantiates a new and sets the default values. /// /// Path parameters for the request diff --git a/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/SensitivityLabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/SensitivityLabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.cs new file mode 100644 index 000000000000..b004969571cb --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/SensitivityLabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.cs @@ -0,0 +1,105 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats +{ + /// + /// Provides operations to call the computeInheritance method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Usage: contentFormats={contentFormats} + /// Usage: labelIds={labelIds} + /// Usage: locale='{locale}' + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter, string contentFormats = "", string labelIds = "", string locale = "") : base(requestAdapter, "{+baseurl}/me/dataSecurityAndGovernance/sensitivityLabels/computeInheritance(labelIds={labelIds},locale='{locale}',contentFormats={contentFormats})", pathParameters) + { + if (!string.IsNullOrWhiteSpace(contentFormats)) PathParameters.Add("contentFormats", contentFormats); + if (!string.IsNullOrWhiteSpace(labelIds)) PathParameters.Add("labelIds", labelIds); + if (!string.IsNullOrWhiteSpace(locale)) PathParameters.Add("locale", locale); + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/dataSecurityAndGovernance/sensitivityLabels/computeInheritance(labelIds={labelIds},locale='{locale}',contentFormats={contentFormats})", rawUrl) + { + } + /// + /// Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#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> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.SensitivityLabel.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + /// + /// A + /// 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(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.cs new file mode 100644 index 000000000000..bd57471fe524 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.cs @@ -0,0 +1,136 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ComputeRightsAndInheritancePostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// 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") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The delegatedUserEmail property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DelegatedUserEmail + { + get { return BackingStore?.Get("delegatedUserEmail"); } + set { BackingStore?.Set("delegatedUserEmail", value); } + } +#nullable restore +#else + public string DelegatedUserEmail + { + get { return BackingStore?.Get("delegatedUserEmail"); } + set { BackingStore?.Set("delegatedUserEmail", value); } + } +#endif + /// The locale property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Locale + { + get { return BackingStore?.Get("locale"); } + set { BackingStore?.Set("locale", value); } + } +#nullable restore +#else + public string Locale + { + get { return BackingStore?.Get("locale"); } + set { BackingStore?.Set("locale", value); } + } +#endif + /// The protectedContents property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? ProtectedContents + { + get { return BackingStore?.Get?>("protectedContents"); } + set { BackingStore?.Set("protectedContents", value); } + } +#nullable restore +#else + public List ProtectedContents + { + get { return BackingStore?.Get>("protectedContents"); } + set { BackingStore?.Set("protectedContents", value); } + } +#endif + /// The supportedContentFormats property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? SupportedContentFormats + { + get { return BackingStore?.Get?>("supportedContentFormats"); } + set { BackingStore?.Set("supportedContentFormats", value); } + } +#nullable restore +#else + public List SupportedContentFormats + { + get { return BackingStore?.Get>("supportedContentFormats"); } + set { BackingStore?.Set("supportedContentFormats", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ComputeRightsAndInheritancePostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "delegatedUserEmail", n => { DelegatedUserEmail = n.GetStringValue(); } }, + { "locale", n => { Locale = n.GetStringValue(); } }, + { "protectedContents", n => { ProtectedContents = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ProtectedContent.CreateFromDiscriminatorValue)?.AsList(); } }, + { "supportedContentFormats", n => { SupportedContentFormats = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("delegatedUserEmail", DelegatedUserEmail); + writer.WriteStringValue("locale", Locale); + writer.WriteCollectionOfObjectValues("protectedContents", ProtectedContents); + writer.WriteCollectionOfPrimitiveValues("supportedContentFormats", SupportedContentFormats); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.cs new file mode 100644 index 000000000000..6bdd1e86a340 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.cs @@ -0,0 +1,104 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance +{ + /// + /// Provides operations to call the computeRightsAndInheritance method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComputeRightsAndInheritanceRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ComputeRightsAndInheritanceRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/dataSecurityAndGovernance/sensitivityLabels/computeRightsAndInheritance", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ComputeRightsAndInheritanceRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/dataSecurityAndGovernance/sensitivityLabels/computeRightsAndInheritance", rawUrl) + { + } + /// + /// Computes the rights and inheritance for sensitivity labels based on the input content and labels. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ComputeRightsAndInheritanceResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Computes the rights and inheritance for sensitivity labels based on the input content and labels. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/SensitivityLabels/Item/Rights/RightsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/SensitivityLabels/Item/Rights/RightsRequestBuilder.cs new file mode 100644 index 000000000000..facae839f173 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/SensitivityLabels/Item/Rights/RightsRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Rights +{ + /// + /// Provides operations to manage the rights property of the microsoft.graph.sensitivityLabel entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RightsRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RightsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/dataSecurityAndGovernance/sensitivityLabels/{sensitivityLabel%2Did}/rights{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RightsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/dataSecurityAndGovernance/sensitivityLabels/{sensitivityLabel%2Did}/rights{?%24expand,%24select}", rawUrl) + { + } + /// + /// Get rights from me + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#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> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.UsageRightsIncluded.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get rights from me + /// + /// A + /// 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(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Rights.RightsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Rights.RightsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get rights from me + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RightsRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RightsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/SensitivityLabels/Item/SensitivityLabelItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/SensitivityLabels/Item/SensitivityLabelItemRequestBuilder.cs index 02727a263bd0..2b70108b1646 100644 --- a/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/SensitivityLabels/Item/SensitivityLabelItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/SensitivityLabels/Item/SensitivityLabelItemRequestBuilder.cs @@ -1,5 +1,6 @@ // #pragma warning disable CS0618 +using Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Rights; using Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels; using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.Models; @@ -19,6 +20,11 @@ namespace Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.It [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class SensitivityLabelItemRequestBuilder : BaseRequestBuilder { + /// Provides operations to manage the rights property of the microsoft.graph.sensitivityLabel entity. + public global::Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Rights.RightsRequestBuilder Rights + { + get => new global::Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Rights.RightsRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the sublabels property of the microsoft.graph.sensitivityLabel entity. public global::Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.SublabelsRequestBuilder Sublabels { diff --git a/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.cs new file mode 100644 index 000000000000..39a884d2fb55 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.cs @@ -0,0 +1,105 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats +{ + /// + /// Provides operations to call the computeInheritance method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Usage: contentFormats={contentFormats} + /// Usage: labelIds={labelIds} + /// Usage: locale='{locale}' + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter, string contentFormats = "", string labelIds = "", string locale = "") : base(requestAdapter, "{+baseurl}/me/dataSecurityAndGovernance/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/computeInheritance(labelIds={labelIds},locale='{locale}',contentFormats={contentFormats})", pathParameters) + { + if (!string.IsNullOrWhiteSpace(contentFormats)) PathParameters.Add("contentFormats", contentFormats); + if (!string.IsNullOrWhiteSpace(labelIds)) PathParameters.Add("labelIds", labelIds); + if (!string.IsNullOrWhiteSpace(locale)) PathParameters.Add("locale", locale); + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/dataSecurityAndGovernance/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/computeInheritance(labelIds={labelIds},locale='{locale}',contentFormats={contentFormats})", rawUrl) + { + } + /// + /// Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#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> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.SensitivityLabel.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + /// + /// A + /// 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(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.cs new file mode 100644 index 000000000000..2c3fb2462d57 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.cs @@ -0,0 +1,136 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ComputeRightsAndInheritancePostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// 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") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The delegatedUserEmail property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DelegatedUserEmail + { + get { return BackingStore?.Get("delegatedUserEmail"); } + set { BackingStore?.Set("delegatedUserEmail", value); } + } +#nullable restore +#else + public string DelegatedUserEmail + { + get { return BackingStore?.Get("delegatedUserEmail"); } + set { BackingStore?.Set("delegatedUserEmail", value); } + } +#endif + /// The locale property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Locale + { + get { return BackingStore?.Get("locale"); } + set { BackingStore?.Set("locale", value); } + } +#nullable restore +#else + public string Locale + { + get { return BackingStore?.Get("locale"); } + set { BackingStore?.Set("locale", value); } + } +#endif + /// The protectedContents property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? ProtectedContents + { + get { return BackingStore?.Get?>("protectedContents"); } + set { BackingStore?.Set("protectedContents", value); } + } +#nullable restore +#else + public List ProtectedContents + { + get { return BackingStore?.Get>("protectedContents"); } + set { BackingStore?.Set("protectedContents", value); } + } +#endif + /// The supportedContentFormats property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? SupportedContentFormats + { + get { return BackingStore?.Get?>("supportedContentFormats"); } + set { BackingStore?.Set("supportedContentFormats", value); } + } +#nullable restore +#else + public List SupportedContentFormats + { + get { return BackingStore?.Get>("supportedContentFormats"); } + set { BackingStore?.Set("supportedContentFormats", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ComputeRightsAndInheritancePostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "delegatedUserEmail", n => { DelegatedUserEmail = n.GetStringValue(); } }, + { "locale", n => { Locale = n.GetStringValue(); } }, + { "protectedContents", n => { ProtectedContents = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ProtectedContent.CreateFromDiscriminatorValue)?.AsList(); } }, + { "supportedContentFormats", n => { SupportedContentFormats = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("delegatedUserEmail", DelegatedUserEmail); + writer.WriteStringValue("locale", Locale); + writer.WriteCollectionOfObjectValues("protectedContents", ProtectedContents); + writer.WriteCollectionOfPrimitiveValues("supportedContentFormats", SupportedContentFormats); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.cs new file mode 100644 index 000000000000..dc4ef8e83fcc --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.cs @@ -0,0 +1,104 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance +{ + /// + /// Provides operations to call the computeRightsAndInheritance method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComputeRightsAndInheritanceRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ComputeRightsAndInheritanceRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/dataSecurityAndGovernance/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/computeRightsAndInheritance", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ComputeRightsAndInheritanceRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/dataSecurityAndGovernance/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/computeRightsAndInheritance", rawUrl) + { + } + /// + /// Computes the rights and inheritance for sensitivity labels based on the input content and labels. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ComputeRightsAndInheritanceResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Computes the rights and inheritance for sensitivity labels based on the input content and labels. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Item/Rights/RightsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Item/Rights/RightsRequestBuilder.cs new file mode 100644 index 000000000000..cbf026052121 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Item/Rights/RightsRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.Rights +{ + /// + /// Provides operations to manage the rights property of the microsoft.graph.sensitivityLabel entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RightsRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RightsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/dataSecurityAndGovernance/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/{sensitivityLabel%2Did1}/rights{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RightsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/dataSecurityAndGovernance/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/{sensitivityLabel%2Did1}/rights{?%24expand,%24select}", rawUrl) + { + } + /// + /// Get rights from me + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#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> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.UsageRightsIncluded.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get rights from me + /// + /// A + /// 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(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.Rights.RightsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.Rights.RightsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get rights from me + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RightsRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RightsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Item/SensitivityLabelItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Item/SensitivityLabelItemRequestBuilder.cs index 88a2887cd5e7..b910a368c51a 100644 --- a/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Item/SensitivityLabelItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Item/SensitivityLabelItemRequestBuilder.cs @@ -1,5 +1,6 @@ // #pragma warning disable CS0618 +using Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.Rights; using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.Models; using Microsoft.Kiota.Abstractions.Extensions; @@ -18,6 +19,11 @@ namespace Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.It [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class SensitivityLabelItemRequestBuilder : BaseRequestBuilder { + /// Provides operations to manage the rights property of the microsoft.graph.sensitivityLabel entity. + public global::Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.Rights.RightsRequestBuilder Rights + { + get => new global::Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.Rights.RightsRequestBuilder(PathParameters, RequestAdapter); + } /// /// Instantiates a new and sets the default values. /// diff --git a/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/SublabelsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/SublabelsRequestBuilder.cs index a1b34d14fac7..67ac501ec918 100644 --- a/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/SublabelsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/SublabelsRequestBuilder.cs @@ -1,5 +1,7 @@ // #pragma warning disable CS0618 +using Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats; +using Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance; using Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Count; using Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Evaluate; using Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item; @@ -21,6 +23,11 @@ namespace Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.It [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class SublabelsRequestBuilder : BaseRequestBuilder { + /// Provides operations to call the computeRightsAndInheritance method. + public global::Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder ComputeRightsAndInheritance + { + get => new global::Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to count the resources in the collection. public global::Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Count.CountRequestBuilder Count { @@ -44,6 +51,20 @@ public partial class SublabelsRequestBuilder : BaseRequestBuilder } } /// + /// Provides operations to call the computeInheritance method. + /// + /// A + /// Usage: contentFormats={contentFormats} + /// Usage: labelIds={labelIds} + /// Usage: locale='{locale}' + public global::Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats(string contentFormats, string labelIds, string locale) + { + if(string.IsNullOrEmpty(contentFormats)) throw new ArgumentNullException(nameof(contentFormats)); + if(string.IsNullOrEmpty(labelIds)) throw new ArgumentNullException(nameof(labelIds)); + if(string.IsNullOrEmpty(locale)) throw new ArgumentNullException(nameof(locale)); + return new global::Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(PathParameters, RequestAdapter, contentFormats, labelIds, locale); + } + /// /// Instantiates a new and sets the default values. /// /// Path parameters for the request diff --git a/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/SensitivityLabels/SensitivityLabelsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/SensitivityLabels/SensitivityLabelsRequestBuilder.cs index 90ba62bbaa31..f95823e38aa7 100644 --- a/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/SensitivityLabels/SensitivityLabelsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/DataSecurityAndGovernance/SensitivityLabels/SensitivityLabelsRequestBuilder.cs @@ -1,5 +1,7 @@ // #pragma warning disable CS0618 +using Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats; +using Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance; using Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Count; using Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Evaluate; using Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item; @@ -21,6 +23,11 @@ namespace Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class SensitivityLabelsRequestBuilder : BaseRequestBuilder { + /// Provides operations to call the computeRightsAndInheritance method. + public global::Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder ComputeRightsAndInheritance + { + get => new global::Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to count the resources in the collection. public global::Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Count.CountRequestBuilder Count { @@ -44,6 +51,20 @@ public partial class SensitivityLabelsRequestBuilder : BaseRequestBuilder } } /// + /// Provides operations to call the computeInheritance method. + /// + /// A + /// Usage: contentFormats={contentFormats} + /// Usage: labelIds={labelIds} + /// Usage: locale='{locale}' + public global::Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats(string contentFormats, string labelIds, string locale) + { + if(string.IsNullOrEmpty(contentFormats)) throw new ArgumentNullException(nameof(contentFormats)); + if(string.IsNullOrEmpty(labelIds)) throw new ArgumentNullException(nameof(labelIds)); + if(string.IsNullOrEmpty(locale)) throw new ArgumentNullException(nameof(locale)); + return new global::Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(PathParameters, RequestAdapter, contentFormats, labelIds, locale); + } + /// /// Instantiates a new and sets the default values. /// /// Path parameters for the request diff --git a/src/Microsoft.Graph/Generated/Me/Events/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Events/Item/Attachments/AttachmentsRequestBuilder.cs index 7862c19f3e74..9c8624046019 100644 --- a/src/Microsoft.Graph/Generated/Me/Events/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Events/Item/Attachments/AttachmentsRequestBuilder.cs @@ -84,8 +84,8 @@ public AttachmentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. - /// Find more info here + /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + /// Find more info here /// /// A /// The request body @@ -129,7 +129,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. + /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Me/InformationProtection/SensitivityLabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/InformationProtection/SensitivityLabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.cs new file mode 100644 index 000000000000..ced15173d461 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/InformationProtection/SensitivityLabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.cs @@ -0,0 +1,105 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats +{ + /// + /// Provides operations to call the computeInheritance method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Usage: contentFormats={contentFormats} + /// Usage: labelIds={labelIds} + /// Usage: locale='{locale}' + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter, string contentFormats = "", string labelIds = "", string locale = "") : base(requestAdapter, "{+baseurl}/me/informationProtection/sensitivityLabels/computeInheritance(labelIds={labelIds},locale='{locale}',contentFormats={contentFormats})", pathParameters) + { + if (!string.IsNullOrWhiteSpace(contentFormats)) PathParameters.Add("contentFormats", contentFormats); + if (!string.IsNullOrWhiteSpace(labelIds)) PathParameters.Add("labelIds", labelIds); + if (!string.IsNullOrWhiteSpace(locale)) PathParameters.Add("locale", locale); + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/informationProtection/sensitivityLabels/computeInheritance(labelIds={labelIds},locale='{locale}',contentFormats={contentFormats})", rawUrl) + { + } + /// + /// Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#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> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.SensitivityLabel.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + /// + /// A + /// 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(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/InformationProtection/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/InformationProtection/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.cs new file mode 100644 index 000000000000..33651ad555a5 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/InformationProtection/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.cs @@ -0,0 +1,136 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ComputeRightsAndInheritancePostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// 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") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The delegatedUserEmail property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DelegatedUserEmail + { + get { return BackingStore?.Get("delegatedUserEmail"); } + set { BackingStore?.Set("delegatedUserEmail", value); } + } +#nullable restore +#else + public string DelegatedUserEmail + { + get { return BackingStore?.Get("delegatedUserEmail"); } + set { BackingStore?.Set("delegatedUserEmail", value); } + } +#endif + /// The locale property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Locale + { + get { return BackingStore?.Get("locale"); } + set { BackingStore?.Set("locale", value); } + } +#nullable restore +#else + public string Locale + { + get { return BackingStore?.Get("locale"); } + set { BackingStore?.Set("locale", value); } + } +#endif + /// The protectedContents property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? ProtectedContents + { + get { return BackingStore?.Get?>("protectedContents"); } + set { BackingStore?.Set("protectedContents", value); } + } +#nullable restore +#else + public List ProtectedContents + { + get { return BackingStore?.Get>("protectedContents"); } + set { BackingStore?.Set("protectedContents", value); } + } +#endif + /// The supportedContentFormats property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? SupportedContentFormats + { + get { return BackingStore?.Get?>("supportedContentFormats"); } + set { BackingStore?.Set("supportedContentFormats", value); } + } +#nullable restore +#else + public List SupportedContentFormats + { + get { return BackingStore?.Get>("supportedContentFormats"); } + set { BackingStore?.Set("supportedContentFormats", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ComputeRightsAndInheritancePostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "delegatedUserEmail", n => { DelegatedUserEmail = n.GetStringValue(); } }, + { "locale", n => { Locale = n.GetStringValue(); } }, + { "protectedContents", n => { ProtectedContents = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ProtectedContent.CreateFromDiscriminatorValue)?.AsList(); } }, + { "supportedContentFormats", n => { SupportedContentFormats = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("delegatedUserEmail", DelegatedUserEmail); + writer.WriteStringValue("locale", Locale); + writer.WriteCollectionOfObjectValues("protectedContents", ProtectedContents); + writer.WriteCollectionOfPrimitiveValues("supportedContentFormats", SupportedContentFormats); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/InformationProtection/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/InformationProtection/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.cs new file mode 100644 index 000000000000..dfe96bd63a29 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/InformationProtection/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.cs @@ -0,0 +1,104 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance +{ + /// + /// Provides operations to call the computeRightsAndInheritance method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComputeRightsAndInheritanceRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ComputeRightsAndInheritanceRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/informationProtection/sensitivityLabels/computeRightsAndInheritance", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ComputeRightsAndInheritanceRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/informationProtection/sensitivityLabels/computeRightsAndInheritance", rawUrl) + { + } + /// + /// Computes the rights and inheritance for sensitivity labels based on the input content and labels. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ComputeRightsAndInheritanceResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Computes the rights and inheritance for sensitivity labels based on the input content and labels. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/InformationProtection/SensitivityLabels/Item/Rights/RightsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/InformationProtection/SensitivityLabels/Item/Rights/RightsRequestBuilder.cs new file mode 100644 index 000000000000..efec5df4b05f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/InformationProtection/SensitivityLabels/Item/Rights/RightsRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Rights +{ + /// + /// Provides operations to manage the rights property of the microsoft.graph.sensitivityLabel entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RightsRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RightsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/informationProtection/sensitivityLabels/{sensitivityLabel%2Did}/rights{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RightsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/informationProtection/sensitivityLabels/{sensitivityLabel%2Did}/rights{?%24expand,%24select}", rawUrl) + { + } + /// + /// Get rights from me + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#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> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.UsageRightsIncluded.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get rights from me + /// + /// A + /// 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(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Rights.RightsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Rights.RightsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get rights from me + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RightsRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RightsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/InformationProtection/SensitivityLabels/Item/SensitivityLabelItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/InformationProtection/SensitivityLabels/Item/SensitivityLabelItemRequestBuilder.cs index cca06c00f11e..de955c60e526 100644 --- a/src/Microsoft.Graph/Generated/Me/InformationProtection/SensitivityLabels/Item/SensitivityLabelItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/InformationProtection/SensitivityLabels/Item/SensitivityLabelItemRequestBuilder.cs @@ -1,5 +1,6 @@ // #pragma warning disable CS0618 +using Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Rights; using Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Sublabels; using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.Models; @@ -19,6 +20,11 @@ namespace Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class SensitivityLabelItemRequestBuilder : BaseRequestBuilder { + /// Provides operations to manage the rights property of the microsoft.graph.sensitivityLabel entity. + public global::Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Rights.RightsRequestBuilder Rights + { + get => new global::Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Rights.RightsRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the sublabels property of the microsoft.graph.sensitivityLabel entity. public global::Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Sublabels.SublabelsRequestBuilder Sublabels { diff --git a/src/Microsoft.Graph/Generated/Me/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.cs new file mode 100644 index 000000000000..8b40791d7864 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.cs @@ -0,0 +1,105 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats +{ + /// + /// Provides operations to call the computeInheritance method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Usage: contentFormats={contentFormats} + /// Usage: labelIds={labelIds} + /// Usage: locale='{locale}' + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter, string contentFormats = "", string labelIds = "", string locale = "") : base(requestAdapter, "{+baseurl}/me/informationProtection/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/computeInheritance(labelIds={labelIds},locale='{locale}',contentFormats={contentFormats})", pathParameters) + { + if (!string.IsNullOrWhiteSpace(contentFormats)) PathParameters.Add("contentFormats", contentFormats); + if (!string.IsNullOrWhiteSpace(labelIds)) PathParameters.Add("labelIds", labelIds); + if (!string.IsNullOrWhiteSpace(locale)) PathParameters.Add("locale", locale); + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/informationProtection/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/computeInheritance(labelIds={labelIds},locale='{locale}',contentFormats={contentFormats})", rawUrl) + { + } + /// + /// Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#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> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.SensitivityLabel.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + /// + /// A + /// 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(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.cs new file mode 100644 index 000000000000..55958254abde --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.cs @@ -0,0 +1,136 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ComputeRightsAndInheritancePostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// 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") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The delegatedUserEmail property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DelegatedUserEmail + { + get { return BackingStore?.Get("delegatedUserEmail"); } + set { BackingStore?.Set("delegatedUserEmail", value); } + } +#nullable restore +#else + public string DelegatedUserEmail + { + get { return BackingStore?.Get("delegatedUserEmail"); } + set { BackingStore?.Set("delegatedUserEmail", value); } + } +#endif + /// The locale property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Locale + { + get { return BackingStore?.Get("locale"); } + set { BackingStore?.Set("locale", value); } + } +#nullable restore +#else + public string Locale + { + get { return BackingStore?.Get("locale"); } + set { BackingStore?.Set("locale", value); } + } +#endif + /// The protectedContents property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? ProtectedContents + { + get { return BackingStore?.Get?>("protectedContents"); } + set { BackingStore?.Set("protectedContents", value); } + } +#nullable restore +#else + public List ProtectedContents + { + get { return BackingStore?.Get>("protectedContents"); } + set { BackingStore?.Set("protectedContents", value); } + } +#endif + /// The supportedContentFormats property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? SupportedContentFormats + { + get { return BackingStore?.Get?>("supportedContentFormats"); } + set { BackingStore?.Set("supportedContentFormats", value); } + } +#nullable restore +#else + public List SupportedContentFormats + { + get { return BackingStore?.Get>("supportedContentFormats"); } + set { BackingStore?.Set("supportedContentFormats", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ComputeRightsAndInheritancePostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "delegatedUserEmail", n => { DelegatedUserEmail = n.GetStringValue(); } }, + { "locale", n => { Locale = n.GetStringValue(); } }, + { "protectedContents", n => { ProtectedContents = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ProtectedContent.CreateFromDiscriminatorValue)?.AsList(); } }, + { "supportedContentFormats", n => { SupportedContentFormats = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("delegatedUserEmail", DelegatedUserEmail); + writer.WriteStringValue("locale", Locale); + writer.WriteCollectionOfObjectValues("protectedContents", ProtectedContents); + writer.WriteCollectionOfPrimitiveValues("supportedContentFormats", SupportedContentFormats); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.cs new file mode 100644 index 000000000000..c28b400074c7 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.cs @@ -0,0 +1,104 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance +{ + /// + /// Provides operations to call the computeRightsAndInheritance method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComputeRightsAndInheritanceRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ComputeRightsAndInheritanceRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/informationProtection/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/computeRightsAndInheritance", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ComputeRightsAndInheritanceRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/informationProtection/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/computeRightsAndInheritance", rawUrl) + { + } + /// + /// Computes the rights and inheritance for sensitivity labels based on the input content and labels. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ComputeRightsAndInheritanceResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Computes the rights and inheritance for sensitivity labels based on the input content and labels. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/InformationProtection/SensitivityLabels/Item/Sublabels/Item/Rights/RightsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/InformationProtection/SensitivityLabels/Item/Sublabels/Item/Rights/RightsRequestBuilder.cs new file mode 100644 index 000000000000..b5a143b2fa53 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/InformationProtection/SensitivityLabels/Item/Sublabels/Item/Rights/RightsRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Sublabels.Item.Rights +{ + /// + /// Provides operations to manage the rights property of the microsoft.graph.sensitivityLabel entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RightsRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RightsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/informationProtection/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/{sensitivityLabel%2Did1}/rights{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RightsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/informationProtection/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/{sensitivityLabel%2Did1}/rights{?%24expand,%24select}", rawUrl) + { + } + /// + /// Get rights from me + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#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> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.UsageRightsIncluded.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get rights from me + /// + /// A + /// 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(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Sublabels.Item.Rights.RightsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Sublabels.Item.Rights.RightsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get rights from me + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RightsRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RightsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/InformationProtection/SensitivityLabels/Item/Sublabels/Item/SensitivityLabelItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/InformationProtection/SensitivityLabels/Item/Sublabels/Item/SensitivityLabelItemRequestBuilder.cs index e7e10ad7bf03..537c53598ba4 100644 --- a/src/Microsoft.Graph/Generated/Me/InformationProtection/SensitivityLabels/Item/Sublabels/Item/SensitivityLabelItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/InformationProtection/SensitivityLabels/Item/Sublabels/Item/SensitivityLabelItemRequestBuilder.cs @@ -1,5 +1,6 @@ // #pragma warning disable CS0618 +using Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Sublabels.Item.Rights; using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.Models; using Microsoft.Kiota.Abstractions.Extensions; @@ -18,6 +19,11 @@ namespace Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.S [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class SensitivityLabelItemRequestBuilder : BaseRequestBuilder { + /// Provides operations to manage the rights property of the microsoft.graph.sensitivityLabel entity. + public global::Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Sublabels.Item.Rights.RightsRequestBuilder Rights + { + get => new global::Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Sublabels.Item.Rights.RightsRequestBuilder(PathParameters, RequestAdapter); + } /// /// Instantiates a new and sets the default values. /// diff --git a/src/Microsoft.Graph/Generated/Me/InformationProtection/SensitivityLabels/Item/Sublabels/SublabelsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/InformationProtection/SensitivityLabels/Item/Sublabels/SublabelsRequestBuilder.cs index 13d2d2c8ad66..3c0656080189 100644 --- a/src/Microsoft.Graph/Generated/Me/InformationProtection/SensitivityLabels/Item/Sublabels/SublabelsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/InformationProtection/SensitivityLabels/Item/Sublabels/SublabelsRequestBuilder.cs @@ -1,5 +1,7 @@ // #pragma warning disable CS0618 +using Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats; +using Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance; using Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Sublabels.Count; using Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Sublabels.Evaluate; using Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Sublabels.Item; @@ -21,6 +23,11 @@ namespace Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.S [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class SublabelsRequestBuilder : BaseRequestBuilder { + /// Provides operations to call the computeRightsAndInheritance method. + public global::Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder ComputeRightsAndInheritance + { + get => new global::Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to count the resources in the collection. public global::Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Sublabels.Count.CountRequestBuilder Count { @@ -44,6 +51,20 @@ public partial class SublabelsRequestBuilder : BaseRequestBuilder } } /// + /// Provides operations to call the computeInheritance method. + /// + /// A + /// Usage: contentFormats={contentFormats} + /// Usage: labelIds={labelIds} + /// Usage: locale='{locale}' + public global::Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats(string contentFormats, string labelIds, string locale) + { + if(string.IsNullOrEmpty(contentFormats)) throw new ArgumentNullException(nameof(contentFormats)); + if(string.IsNullOrEmpty(labelIds)) throw new ArgumentNullException(nameof(labelIds)); + if(string.IsNullOrEmpty(locale)) throw new ArgumentNullException(nameof(locale)); + return new global::Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(PathParameters, RequestAdapter, contentFormats, labelIds, locale); + } + /// /// Instantiates a new and sets the default values. /// /// Path parameters for the request diff --git a/src/Microsoft.Graph/Generated/Me/InformationProtection/SensitivityLabels/SensitivityLabelsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/InformationProtection/SensitivityLabels/SensitivityLabelsRequestBuilder.cs index 2ae2c553dc95..516e7809c21c 100644 --- a/src/Microsoft.Graph/Generated/Me/InformationProtection/SensitivityLabels/SensitivityLabelsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/InformationProtection/SensitivityLabels/SensitivityLabelsRequestBuilder.cs @@ -1,5 +1,7 @@ // #pragma warning disable CS0618 +using Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats; +using Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance; using Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Count; using Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Evaluate; using Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item; @@ -21,6 +23,11 @@ namespace Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class SensitivityLabelsRequestBuilder : BaseRequestBuilder { + /// Provides operations to call the computeRightsAndInheritance method. + public global::Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder ComputeRightsAndInheritance + { + get => new global::Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to count the resources in the collection. public global::Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Count.CountRequestBuilder Count { @@ -44,6 +51,20 @@ public partial class SensitivityLabelsRequestBuilder : BaseRequestBuilder } } /// + /// Provides operations to call the computeInheritance method. + /// + /// A + /// Usage: contentFormats={contentFormats} + /// Usage: labelIds={labelIds} + /// Usage: locale='{locale}' + public global::Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats(string contentFormats, string labelIds, string locale) + { + if(string.IsNullOrEmpty(contentFormats)) throw new ArgumentNullException(nameof(contentFormats)); + if(string.IsNullOrEmpty(labelIds)) throw new ArgumentNullException(nameof(labelIds)); + if(string.IsNullOrEmpty(locale)) throw new ArgumentNullException(nameof(locale)); + return new global::Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(PathParameters, RequestAdapter, contentFormats, labelIds, locale); + } + /// /// Instantiates a new and sets the default values. /// /// Path parameters for the request diff --git a/src/Microsoft.Graph/Generated/Me/MeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MeRequestBuilder.cs index 0d3c0d9736b1..703a799d63bc 100644 --- a/src/Microsoft.Graph/Generated/Me/MeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MeRequestBuilder.cs @@ -755,8 +755,8 @@ public MeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(re return new global::Microsoft.Graph.Beta.Me.FindRoomsWithRoomList.FindRoomsWithRoomListRequestBuilder(PathParameters, RequestAdapter, roomList); } /// - /// 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. - /// Find more info here + /// 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. Customers through Microsoft Entra ID for customers can also use this API operation to retrieve their details. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -827,7 +827,7 @@ public MeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(re return new global::Microsoft.Graph.Beta.Me.ReminderViewWithStartDateTimeWithEndDateTime.ReminderViewWithStartDateTimeWithEndDateTimeRequestBuilder(PathParameters, RequestAdapter, endDateTime, startDateTime); } /// - /// Returns the user or organizational contact assigned as the user's manager. Optionally, you can expand the manager's chain up to the root node. + /// 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. Customers through Microsoft Entra ID for customers can also use this API operation to retrieve their details. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -877,7 +877,7 @@ public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta return new global::Microsoft.Graph.Beta.Me.MeRequestBuilder(rawUrl, RequestAdapter); } /// - /// Returns the user or organizational contact assigned as the user's manager. Optionally, you can expand the manager's chain up to the root node. + /// 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. Customers through Microsoft Entra ID for customers can also use this API operation to retrieve their details. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MeRequestBuilderGetQueryParameters 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 6a2189283aff..c658d0f4e3ec 100644 --- a/src/Microsoft.Graph/Generated/Me/Messages/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Messages/Item/Attachments/AttachmentsRequestBuilder.cs @@ -60,8 +60,8 @@ public AttachmentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) { } /// - /// Retrieve a list of attachment objects attached to a message. - /// Find more info here + /// Retrieve a list of attachment objects. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -110,7 +110,7 @@ public AttachmentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Retrieve a list of attachment objects attached to a message. + /// Retrieve a list of attachment objects. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -160,7 +160,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.Me.Messages.Item.Attachments.AttachmentsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Retrieve a list of attachment objects attached to a message. + /// Retrieve a list of attachment objects. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class AttachmentsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Me/Messages/Item/MessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Messages/Item/MessageItemRequestBuilder.cs index 9fe69e589cc0..43eacb5e2462 100644 --- a/src/Microsoft.Graph/Generated/Me/Messages/Item/MessageItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Messages/Item/MessageItemRequestBuilder.cs @@ -137,8 +137,8 @@ public MessageItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) { } /// - /// Delete eventMessage. - /// Find more info here + /// Delete a message in the specified user's mailbox, or delete a relationship of the message. For example, you can delete a specific @-mention of the specified user in the message. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -160,8 +160,8 @@ public async Task DeleteAsync(Action - /// Retrieve the properties and relationships of the message object. For example, you can get a message and expand all the mention instances in the message. For an example, see Example 2. You can use the $value parameter to get the MIME content of a message. For an example, see Example 5. An app can get a message in another user's mail folder under two conditions: Because the message resource supports extensions, you can also use the GET operation to get custom properties and extension data in a message instance. - /// Find more info here + /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -184,8 +184,8 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the properties of a message object. - /// Find more info here + /// Update the properties of an eventMessage object. + /// Find more info here /// /// A /// The request body @@ -210,7 +210,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Delete eventMessage. + /// Delete a message in the specified user's mailbox, or delete a relationship of the message. For example, you can delete a specific @-mention of the specified user in the message. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -228,7 +228,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of the message object. For example, you can get a message and expand all the mention instances in the message. For an example, see Example 2. You can use the $value parameter to get the MIME content of a message. For an example, see Example 5. An app can get a message in another user's mail folder under two conditions: Because the message resource supports extensions, you can also use the GET operation to get custom properties and extension data in a message instance. + /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -247,7 +247,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of a message object. + /// Update the properties of an eventMessage object. /// /// A /// The request body @@ -286,7 +286,7 @@ public partial class MessageItemRequestBuilderDeleteRequestConfiguration : Reque { } /// - /// Retrieve the properties and relationships of the message object. For example, you can get a message and expand all the mention instances in the message. For an example, see Example 2. You can use the $value parameter to get the MIME content of a message. For an example, see Example 5. An app can get a message in another user's mail folder under two conditions: Because the message resource supports extensions, you can also use the GET operation to get custom properties and extension data in a message instance. + /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MessageItemRequestBuilderGetQueryParameters 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 6fd45c5e8592..bf3e90b89a4d 100644 --- a/src/Microsoft.Graph/Generated/Me/Messages/Item/Value/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Messages/Item/Value/ContentRequestBuilder.cs @@ -34,8 +34,8 @@ public ContentRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba { } /// - /// Delete eventMessage. - /// Find more info here + /// Delete a message in the specified user's mailbox, or delete a relationship of the message. For example, you can delete a specific @-mention of the specified user in the message. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -57,8 +57,8 @@ public async Task DeleteAsync(Action - /// Get the messages in the signed-in user's mailbox (including the Deleted Items and Clutter folders). Depending on the page size and mailbox data, getting messages from a mailbox can incur multiple requests. The default page size is 10 messages. Use $top to customize the page size, within the range of 1 and 1000. To improve the operation response time, use $select to specify the exact properties you need; see example 1 below. Fine-tune the values for $select and $top, especially when you must use a larger page size, as returning a page with hundreds of messages each with a full response payload may trigger the gateway timeout (HTTP 504). To get the next page of messages, simply apply the entire URL returned in @odata.nextLink to the next get-messages request. This URL includes any query parameters you may have specified in the initial request. Do not try to extract the $skip value from the @odata.nextLink URL to manipulate responses. This API uses the $skip value to keep count of all the items it has gone through in the user's mailbox to return a page of message-type items. It's therefore possible that even in the initial response, the $skip value is larger than the page size. For more information, see Paging Microsoft Graph data in your app. You can filter on the messages and get only those that include a mention of the signed-in user. See an example below.By default, the GET /me/messages operation does not return the mentions property. Use the $expand query parameterto find details of each mention in a message. There are two scenarios where an app can get messages in another user's mail folder: - /// Find more info here + /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -81,8 +81,8 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the properties of a message object. - /// Find more info here + /// Update the properties of an eventMessage object. + /// Find more info here /// /// A /// Binary request body @@ -107,7 +107,7 @@ public async Task PutAsync(Stream body, Action(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Delete eventMessage. + /// Delete a message in the specified user's mailbox, or delete a relationship of the message. For example, you can delete a specific @-mention of the specified user in the message. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -125,7 +125,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get the messages in the signed-in user's mailbox (including the Deleted Items and Clutter folders). Depending on the page size and mailbox data, getting messages from a mailbox can incur multiple requests. The default page size is 10 messages. Use $top to customize the page size, within the range of 1 and 1000. To improve the operation response time, use $select to specify the exact properties you need; see example 1 below. Fine-tune the values for $select and $top, especially when you must use a larger page size, as returning a page with hundreds of messages each with a full response payload may trigger the gateway timeout (HTTP 504). To get the next page of messages, simply apply the entire URL returned in @odata.nextLink to the next get-messages request. This URL includes any query parameters you may have specified in the initial request. Do not try to extract the $skip value from the @odata.nextLink URL to manipulate responses. This API uses the $skip value to keep count of all the items it has gone through in the user's mailbox to return a page of message-type items. It's therefore possible that even in the initial response, the $skip value is larger than the page size. For more information, see Paging Microsoft Graph data in your app. You can filter on the messages and get only those that include a mention of the signed-in user. See an example below.By default, the GET /me/messages operation does not return the mentions property. Use the $expand query parameterto find details of each mention in a message. There are two scenarios where an app can get messages in another user's mail folder: + /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -144,7 +144,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of a message object. + /// Update the properties of an eventMessage object. /// /// A /// Binary request body @@ -182,7 +182,7 @@ public partial class ContentRequestBuilderDeleteRequestConfiguration : RequestCo { } /// - /// Get the messages in the signed-in user's mailbox (including the Deleted Items and Clutter folders). Depending on the page size and mailbox data, getting messages from a mailbox can incur multiple requests. The default page size is 10 messages. Use $top to customize the page size, within the range of 1 and 1000. To improve the operation response time, use $select to specify the exact properties you need; see example 1 below. Fine-tune the values for $select and $top, especially when you must use a larger page size, as returning a page with hundreds of messages each with a full response payload may trigger the gateway timeout (HTTP 504). To get the next page of messages, simply apply the entire URL returned in @odata.nextLink to the next get-messages request. This URL includes any query parameters you may have specified in the initial request. Do not try to extract the $skip value from the @odata.nextLink URL to manipulate responses. This API uses the $skip value to keep count of all the items it has gone through in the user's mailbox to return a page of message-type items. It's therefore possible that even in the initial response, the $skip value is larger than the page size. For more information, see Paging Microsoft Graph data in your app. You can filter on the messages and get only those that include a mention of the signed-in user. See an example below.By default, the GET /me/messages operation does not return the mentions property. Use the $expand query parameterto find details of each mention in a message. There are two scenarios where an app can get messages in another user's mail folder: + /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ContentRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Me/Messages/MessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Messages/MessagesRequestBuilder.cs index e1800cf19b13..d4ff2d3c80bf 100644 --- a/src/Microsoft.Graph/Generated/Me/Messages/MessagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Messages/MessagesRequestBuilder.cs @@ -60,8 +60,8 @@ public MessagesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b { } /// - /// Get the messages in the signed-in user's mailbox (including the Deleted Items and Clutter folders). Depending on the page size and mailbox data, getting messages from a mailbox can incur multiple requests. The default page size is 10 messages. Use $top to customize the page size, within the range of 1 and 1000. To improve the operation response time, use $select to specify the exact properties you need; see example 1 below. Fine-tune the values for $select and $top, especially when you must use a larger page size, as returning a page with hundreds of messages each with a full response payload may trigger the gateway timeout (HTTP 504). To get the next page of messages, simply apply the entire URL returned in @odata.nextLink to the next get-messages request. This URL includes any query parameters you may have specified in the initial request. Do not try to extract the $skip value from the @odata.nextLink URL to manipulate responses. This API uses the $skip value to keep count of all the items it has gone through in the user's mailbox to return a page of message-type items. It's therefore possible that even in the initial response, the $skip value is larger than the page size. For more information, see Paging Microsoft Graph data in your app. You can filter on the messages and get only those that include a mention of the signed-in user. See an example below.By default, the GET /me/messages operation does not return the mentions property. Use the $expand query parameterto find details of each mention in a message. There are two scenarios where an app can get messages in another user's mail folder: - /// Find more info here + /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -84,8 +84,8 @@ public MessagesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create a draft of a new message in either JSON or MIME format. When using JSON format, you can:- Include an attachment.- Use a mention to call out another user in the new message.- Update the draft later to add content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- /* Add any attachments and S/MIME properties to the MIME content. By default, this operation saves the draft in the Drafts folder. Send the draft message in a subsequent operation. Alternatively, send a new message in a single action, or create a draft to forward, to reply or to reply-all to an existing message. - /// Find more info here + /// 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. + /// Find more info here /// /// A /// The request body @@ -110,7 +110,7 @@ public MessagesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get the messages in the signed-in user's mailbox (including the Deleted Items and Clutter folders). Depending on the page size and mailbox data, getting messages from a mailbox can incur multiple requests. The default page size is 10 messages. Use $top to customize the page size, within the range of 1 and 1000. To improve the operation response time, use $select to specify the exact properties you need; see example 1 below. Fine-tune the values for $select and $top, especially when you must use a larger page size, as returning a page with hundreds of messages each with a full response payload may trigger the gateway timeout (HTTP 504). To get the next page of messages, simply apply the entire URL returned in @odata.nextLink to the next get-messages request. This URL includes any query parameters you may have specified in the initial request. Do not try to extract the $skip value from the @odata.nextLink URL to manipulate responses. This API uses the $skip value to keep count of all the items it has gone through in the user's mailbox to return a page of message-type items. It's therefore possible that even in the initial response, the $skip value is larger than the page size. For more information, see Paging Microsoft Graph data in your app. You can filter on the messages and get only those that include a mention of the signed-in user. See an example below.By default, the GET /me/messages operation does not return the mentions property. Use the $expand query parameterto find details of each mention in a message. There are two scenarios where an app can get messages in another user's mail folder: + /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -129,7 +129,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a draft of a new message in either JSON or MIME format. When using JSON format, you can:- Include an attachment.- Use a mention to call out another user in the new message.- Update the draft later to add content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- /* Add any attachments and S/MIME properties to the MIME content. By default, this operation saves the draft in the Drafts folder. Send the draft message in a subsequent operation. Alternatively, send a new message in a single action, or create a draft to forward, to reply or to reply-all to an existing message. + /// 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. /// /// A /// The request body @@ -160,7 +160,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.Me.Messages.MessagesRequestBuilder(rawUrl, RequestAdapter); } /// - /// Get the messages in the signed-in user's mailbox (including the Deleted Items and Clutter folders). Depending on the page size and mailbox data, getting messages from a mailbox can incur multiple requests. The default page size is 10 messages. Use $top to customize the page size, within the range of 1 and 1000. To improve the operation response time, use $select to specify the exact properties you need; see example 1 below. Fine-tune the values for $select and $top, especially when you must use a larger page size, as returning a page with hundreds of messages each with a full response payload may trigger the gateway timeout (HTTP 504). To get the next page of messages, simply apply the entire URL returned in @odata.nextLink to the next get-messages request. This URL includes any query parameters you may have specified in the initial request. Do not try to extract the $skip value from the @odata.nextLink URL to manipulate responses. This API uses the $skip value to keep count of all the items it has gone through in the user's mailbox to return a page of message-type items. It's therefore possible that even in the initial response, the $skip value is larger than the page size. For more information, see Paging Microsoft Graph data in your app. You can filter on the messages and get only those that include a mention of the signed-in user. See an example below.By default, the GET /me/messages operation does not return the mentions property. Use the $expand query parameterto find details of each mention in a message. There are two scenarios where an app can get messages in another user's mail folder: + /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MessagesRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Me/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/AppLogCollectionRequestsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/AppLogCollectionRequestsRequestBuilder.cs index 6014d7edafae..53fe46da21f6 100644 --- a/src/Microsoft.Graph/Generated/Me/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/AppLogCollectionRequestsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/AppLogCollectionRequestsRequestBuilder.cs @@ -54,7 +54,7 @@ public AppLogCollectionRequestsRequestBuilder(string rawUrl, IRequestAdapter req { } /// - /// The collection property of AppLogUploadRequest. + /// Indicates collection of App Log Upload Request. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public AppLogCollectionRequestsRequestBuilder(string rawUrl, IRequestAdapter req return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.AppLogCollectionRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// The collection property of AppLogUploadRequest. + /// Indicates collection of App Log Upload Request. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.Me.MobileAppTroubleshootingEvents.Item.AppLogCollectionRequests.AppLogCollectionRequestsRequestBuilder(rawUrl, RequestAdapter); } /// - /// The collection property of AppLogUploadRequest. + /// Indicates collection of App Log Upload Request. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class AppLogCollectionRequestsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Me/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/Item/AppLogCollectionRequestItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/Item/AppLogCollectionRequestItemRequestBuilder.cs index b5259fa15634..c90ec4b897f8 100644 --- a/src/Microsoft.Graph/Generated/Me/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/Item/AppLogCollectionRequestItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/Item/AppLogCollectionRequestItemRequestBuilder.cs @@ -63,7 +63,7 @@ public async Task DeleteAsync(Action - /// The collection property of AppLogUploadRequest. + /// Indicates collection of App Log Upload Request. /// /// A /// Cancellation token to use when cancelling requests @@ -129,7 +129,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// The collection property of AppLogUploadRequest. + /// Indicates collection of App Log Upload Request. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -187,7 +187,7 @@ public partial class AppLogCollectionRequestItemRequestBuilderDeleteRequestConfi { } /// - /// The collection property of AppLogUploadRequest. + /// Indicates collection of App Log Upload Request. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class AppLogCollectionRequestItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/Registration/Registrants/RegistrantsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/Registration/Registrants/RegistrantsRequestBuilder.cs index 04b49b282b40..d7b82db644a0 100644 --- a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/Registration/Registrants/RegistrantsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/Registration/Registrants/RegistrantsRequestBuilder.cs @@ -56,8 +56,8 @@ public RegistrantsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) { } /// - /// Get a list of the meetingRegistrants of an onlineMeeting on behalf of the organizer. You can use this method to get the registration report for a Microsoft Teams webinar. - /// Find more info here + /// Get a list of the externalMeetingRegistrants of an onlineMeeting. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -108,7 +108,7 @@ public RegistrantsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MeetingRegistrantBase.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get a list of the meetingRegistrants of an onlineMeeting on behalf of the organizer. You can use this method to get the registration report for a Microsoft Teams webinar. + /// Get a list of the externalMeetingRegistrants of an onlineMeeting. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -161,7 +161,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.Me.OnlineMeetings.Item.Registration.Registrants.RegistrantsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Get a list of the meetingRegistrants of an onlineMeeting on behalf of the organizer. You can use this method to get the registration report for a Microsoft Teams webinar. + /// Get a list of the externalMeetingRegistrants of an onlineMeeting. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RegistrantsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Me/Security/InformationProtection/SensitivityLabels/Item/Parent/ParentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Security/InformationProtection/SensitivityLabels/Item/Parent/ParentRequestBuilder.cs index 786dcc4b16d7..4a76310328a0 100644 --- a/src/Microsoft.Graph/Generated/Me/Security/InformationProtection/SensitivityLabels/Item/Parent/ParentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Security/InformationProtection/SensitivityLabels/Item/Parent/ParentRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// The parent label associated with a child label. Null if the label has no parent. + /// Get parent from me /// /// A /// Cancellation token to use when cancelling requests @@ -123,7 +123,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// The parent label associated with a child label. Null if the label has no parent. + /// Get parent from me /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -181,7 +181,7 @@ public partial class ParentRequestBuilderDeleteRequestConfiguration : RequestCon { } /// - /// The parent label associated with a child label. Null if the label has no parent. + /// Get parent from me /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ParentRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Models/AccessPackageAssignmentPolicy.cs b/src/Microsoft.Graph/Generated/Models/AccessPackageAssignmentPolicy.cs index edaea5b0e19f..13d204a93ecc 100644 --- a/src/Microsoft.Graph/Generated/Models/AccessPackageAssignmentPolicy.cs +++ b/src/Microsoft.Graph/Generated/Models/AccessPackageAssignmentPolicy.cs @@ -60,7 +60,7 @@ public string AccessPackageId set { BackingStore?.Set("accessPackageId", value); } } #endif - /// The accessPackageNotificationSettings property + /// Represents the settings for email notifications for requests to an access package. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Beta.Models.AccessPackageNotificationSettings? AccessPackageNotificationSettings diff --git a/src/Microsoft.Graph/Generated/Models/AccessPackageNotificationSettings.cs b/src/Microsoft.Graph/Generated/Models/AccessPackageNotificationSettings.cs index c1d8a2597c4b..ee9807f28f64 100644 --- a/src/Microsoft.Graph/Generated/Models/AccessPackageNotificationSettings.cs +++ b/src/Microsoft.Graph/Generated/Models/AccessPackageNotificationSettings.cs @@ -21,7 +21,7 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } - /// The isAssignmentNotificationDisabled property + /// Indicates if notification emails for an access package are disabled within an access package assignment policy. public bool? IsAssignmentNotificationDisabled { get { return BackingStore?.Get("isAssignmentNotificationDisabled"); } diff --git a/src/Microsoft.Graph/Generated/Models/Agentic/AgentSignIn.cs b/src/Microsoft.Graph/Generated/Models/Agentic/AgentSignIn.cs index de5f1238a2af..bb1355d40c99 100644 --- a/src/Microsoft.Graph/Generated/Models/Agentic/AgentSignIn.cs +++ b/src/Microsoft.Graph/Generated/Models/Agentic/AgentSignIn.cs @@ -43,7 +43,7 @@ public string OdataType set { BackingStore?.Set("@odata.type", value); } } #endif - /// The parentAppId property + /// The ID of the parent application for agentic instances. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? ParentAppId diff --git a/src/Microsoft.Graph/Generated/Models/AutoLabeling.cs b/src/Microsoft.Graph/Generated/Models/AutoLabeling.cs index cfc0d39f2033..a35b9cd58342 100644 --- a/src/Microsoft.Graph/Generated/Models/AutoLabeling.cs +++ b/src/Microsoft.Graph/Generated/Models/AutoLabeling.cs @@ -21,7 +21,7 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } - /// The message property + /// The message displayed to the user when the label is applied automatically. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Message @@ -53,7 +53,7 @@ public string OdataType set { BackingStore?.Set("@odata.type", value); } } #endif - /// The sensitiveTypeIds property + /// The list of sensitive information type (SIT) IDs that trigger the automatic application of this label. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? SensitiveTypeIds diff --git a/src/Microsoft.Graph/Generated/Models/ClassificationError.cs b/src/Microsoft.Graph/Generated/Models/ClassificationError.cs index 747950f41c78..2f62c0d579be 100644 --- a/src/Microsoft.Graph/Generated/Models/ClassificationError.cs +++ b/src/Microsoft.Graph/Generated/Models/ClassificationError.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Beta.Models public partial class ClassificationError : global::Microsoft.Graph.Beta.Models.ClassifcationErrorBase, IParsable #pragma warning restore CS1591 { - /// A collection of more specific errors that contribute to the overall error. + /// A collection of more specific errors contributing to the overall error. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? Details diff --git a/src/Microsoft.Graph/Generated/Models/CloudPcPolicyScheduledApplyActionDetail.cs b/src/Microsoft.Graph/Generated/Models/CloudPcPolicyScheduledApplyActionDetail.cs index c17e4a50281f..f2e164e66078 100644 --- a/src/Microsoft.Graph/Generated/Models/CloudPcPolicyScheduledApplyActionDetail.cs +++ b/src/Microsoft.Graph/Generated/Models/CloudPcPolicyScheduledApplyActionDetail.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Beta.Models public partial class CloudPcPolicyScheduledApplyActionDetail : global::Microsoft.Graph.Beta.Models.Entity, IParsable #pragma warning restore CS1591 { - /// An expression that specifies the cron schedule. (For example, '0 0 0 20 ' means schedules a job to run at midnight on the 20th of every month) Administrators can set a cron expression to define the scheduling rules for automatic regular application. When auto-provision is disabled, cronScheduleExpression is set to null, stopping the automatic task scheduling. Read-Only. + /// An expression that specifies the cron schedule. (For example, '0 0 0 20 ' means schedules a job to run at midnight on the 20th of every month) Administrators can set a cron expression to define the scheduling rules for automatic regular application. When auto provision is disabled, cronScheduleExpression is set to null, stopping the automatic task scheduling. Read-Only. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? CronScheduleExpression diff --git a/src/Microsoft.Graph/Generated/Models/CloudPcRecommendationReportType.cs b/src/Microsoft.Graph/Generated/Models/CloudPcRecommendationReportType.cs new file mode 100644 index 000000000000..a34bcf93dc6b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CloudPcRecommendationReportType.cs @@ -0,0 +1,20 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum CloudPcRecommendationReportType + #pragma warning restore CS1591 + { + [EnumMember(Value = "cloudPcUsageCategoryReports")] + #pragma warning disable CS1591 + CloudPcUsageCategoryReports, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/ComputeRightsAndInheritanceResult.cs b/src/Microsoft.Graph/Generated/Models/ComputeRightsAndInheritanceResult.cs new file mode 100644 index 000000000000..6641cf2173da --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ComputeRightsAndInheritanceResult.cs @@ -0,0 +1,135 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ComputeRightsAndInheritanceResult : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// 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") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The contentRights property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? ContentRights + { + get { return BackingStore?.Get?>("contentRights"); } + set { BackingStore?.Set("contentRights", value); } + } +#nullable restore +#else + public List ContentRights + { + get { return BackingStore?.Get>("contentRights"); } + set { BackingStore?.Set("contentRights", value); } + } +#endif + /// The inheritedLabel property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.SensitivityLabel? InheritedLabel + { + get { return BackingStore?.Get("inheritedLabel"); } + set { BackingStore?.Set("inheritedLabel", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.SensitivityLabel InheritedLabel + { + get { return BackingStore?.Get("inheritedLabel"); } + set { BackingStore?.Set("inheritedLabel", value); } + } +#endif + /// 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 sensitivityLabels property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? SensitivityLabels + { + get { return BackingStore?.Get?>("sensitivityLabels"); } + set { BackingStore?.Set("sensitivityLabels", value); } + } +#nullable restore +#else + public List SensitivityLabels + { + get { return BackingStore?.Get>("sensitivityLabels"); } + set { BackingStore?.Set("sensitivityLabels", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ComputeRightsAndInheritanceResult() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.ComputeRightsAndInheritanceResult CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.ComputeRightsAndInheritanceResult(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "contentRights", n => { ContentRights = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.LabelContentRight.CreateFromDiscriminatorValue)?.AsList(); } }, + { "inheritedLabel", n => { InheritedLabel = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.SensitivityLabel.CreateFromDiscriminatorValue); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "sensitivityLabels", n => { SensitivityLabels = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.SensitivityLabel.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfObjectValues("contentRights", ContentRights); + writer.WriteObjectValue("inheritedLabel", InheritedLabel); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteCollectionOfObjectValues("sensitivityLabels", SensitivityLabels); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationChoiceSettingCollectionDefinition.cs b/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationChoiceSettingCollectionDefinition.cs index 0d119f2ee8a7..5bf8a0af1cc9 100644 --- a/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationChoiceSettingCollectionDefinition.cs +++ b/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationChoiceSettingCollectionDefinition.cs @@ -12,13 +12,13 @@ namespace Microsoft.Graph.Beta.Models public partial class DeviceManagementConfigurationChoiceSettingCollectionDefinition : global::Microsoft.Graph.Beta.Models.DeviceManagementConfigurationChoiceSettingDefinition, IParsable #pragma warning restore CS1591 { - /// Maximum number of choices in the collection. Valid values 1 to 100 + /// Maximum number of choices in the collection public int? MaximumCount { get { return BackingStore?.Get("maximumCount"); } set { BackingStore?.Set("maximumCount", value); } } - /// Minimum number of choices in the collection. Valid values 1 to 100 + /// Minimum number of choices in the collection public int? MinimumCount { get { return BackingStore?.Get("minimumCount"); } diff --git a/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationChoiceSettingDefinition.cs b/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationChoiceSettingDefinition.cs index f52f86e1480c..3986995248ec 100644 --- a/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationChoiceSettingDefinition.cs +++ b/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationChoiceSettingDefinition.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Beta.Models public partial class DeviceManagementConfigurationChoiceSettingDefinition : global::Microsoft.Graph.Beta.Models.DeviceManagementConfigurationSettingDefinition, IParsable #pragma warning restore CS1591 { - /// Default option for the choice setting. + /// Default option for choice setting #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? DefaultOptionId @@ -28,7 +28,7 @@ public string DefaultOptionId set { BackingStore?.Set("defaultOptionId", value); } } #endif - /// Options for the setting that can be selected. + /// Options for the setting that can be selected #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? Options diff --git a/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationReferredSettingInformation.cs b/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationReferredSettingInformation.cs index bd4e27d3a4a1..3dfc5abe6dc2 100644 --- a/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationReferredSettingInformation.cs +++ b/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationReferredSettingInformation.cs @@ -38,7 +38,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/DeviceManagementConfigurationSettingGroupCollectionDefinition.cs b/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationSettingGroupCollectionDefinition.cs index d75785746ab8..e484a8d842cb 100644 --- a/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationSettingGroupCollectionDefinition.cs +++ b/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationSettingGroupCollectionDefinition.cs @@ -12,13 +12,13 @@ namespace Microsoft.Graph.Beta.Models public partial class DeviceManagementConfigurationSettingGroupCollectionDefinition : global::Microsoft.Graph.Beta.Models.DeviceManagementConfigurationSettingGroupDefinition, IParsable #pragma warning restore CS1591 { - /// Maximum number of setting group count in the collection + /// Maximum number of setting group count in the collection. Valid values 1 to 100 public int? MaximumCount { get { return BackingStore?.Get("maximumCount"); } set { BackingStore?.Set("maximumCount", value); } } - /// Minimum number of setting group count in the collection + /// Minimum number of setting group count in the collection. Valid values 1 to 100 public int? MinimumCount { get { return BackingStore?.Get("minimumCount"); } diff --git a/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationSimpleSettingDefinition.cs b/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationSimpleSettingDefinition.cs index 709accd708a9..9edac36a142c 100644 --- a/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationSimpleSettingDefinition.cs +++ b/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationSimpleSettingDefinition.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Beta.Models public partial class DeviceManagementConfigurationSimpleSettingDefinition : global::Microsoft.Graph.Beta.Models.DeviceManagementConfigurationSettingDefinition, IParsable #pragma warning restore CS1591 { - /// Default setting value for this setting + /// Default setting value for this setting. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Beta.Models.DeviceManagementConfigurationSettingValue? DefaultValue @@ -28,7 +28,7 @@ public partial class DeviceManagementConfigurationSimpleSettingDefinition : glob set { BackingStore?.Set("defaultValue", value); } } #endif - /// list of child settings that depend on this setting + /// list of child settings that depend on this setting. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? DependedOnBy @@ -44,7 +44,7 @@ public partial class DeviceManagementConfigurationSimpleSettingDefinition : glob set { BackingStore?.Set("dependedOnBy", value); } } #endif - /// list of parent settings this setting is dependent on + /// list of parent settings this setting is dependent on. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? DependentOn @@ -60,7 +60,7 @@ public partial class DeviceManagementConfigurationSimpleSettingDefinition : glob set { BackingStore?.Set("dependentOn", value); } } #endif - /// Definition of the value for this setting + /// Definition of the value for this setting. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Beta.Models.DeviceManagementConfigurationSettingValueDefinition? ValueDefinition diff --git a/src/Microsoft.Graph/Generated/Models/EducationAiFeedbackAudienceEngagementSettings.cs b/src/Microsoft.Graph/Generated/Models/EducationAiFeedbackAudienceEngagementSettings.cs index 4b7206ac1482..7dcbda919f78 100644 --- a/src/Microsoft.Graph/Generated/Models/EducationAiFeedbackAudienceEngagementSettings.cs +++ b/src/Microsoft.Graph/Generated/Models/EducationAiFeedbackAudienceEngagementSettings.cs @@ -19,7 +19,7 @@ public IDictionary AdditionalData get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } set { BackingStore.Set("AdditionalData", value); } } - /// The areEngagementStrategiesEnabled property + /// Indicates whether the student should receive feedback on their engagement strategies from the AI feedback. public bool? AreEngagementStrategiesEnabled { get { return BackingStore?.Get("areEngagementStrategiesEnabled"); } @@ -27,13 +27,13 @@ public bool? AreEngagementStrategiesEnabled } /// Stores model information. public IBackingStore BackingStore { get; private set; } - /// The isCallToActionEnabled property + /// Indicates whether the student should receive feedback on their call to action from the AI feedback. public bool? IsCallToActionEnabled { get { return BackingStore?.Get("isCallToActionEnabled"); } set { BackingStore?.Set("isCallToActionEnabled", value); } } - /// The isEmotionalAndIntellectualAppealEnabled property + /// Indicates whether the student should receive feedback on their emotional and intellectual appeal from the AI feedback. public bool? IsEmotionalAndIntellectualAppealEnabled { get { return BackingStore?.Get("isEmotionalAndIntellectualAppealEnabled"); } diff --git a/src/Microsoft.Graph/Generated/Models/EducationAiFeedbackContentSettings.cs b/src/Microsoft.Graph/Generated/Models/EducationAiFeedbackContentSettings.cs index 4290ed3b4d7f..f6d3943e18b6 100644 --- a/src/Microsoft.Graph/Generated/Models/EducationAiFeedbackContentSettings.cs +++ b/src/Microsoft.Graph/Generated/Models/EducationAiFeedbackContentSettings.cs @@ -21,19 +21,19 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } - /// The isMessageClarityEnabled property + /// Indicates whether the student should receive feedback on their message clarity from the AI feedback. public bool? IsMessageClarityEnabled { get { return BackingStore?.Get("isMessageClarityEnabled"); } set { BackingStore?.Set("isMessageClarityEnabled", value); } } - /// The isQualityOfInformationEnabled property + /// Indicates whether the student should receive feedback on their quality of information from the AI feedback. public bool? IsQualityOfInformationEnabled { get { return BackingStore?.Get("isQualityOfInformationEnabled"); } set { BackingStore?.Set("isQualityOfInformationEnabled", value); } } - /// The isSpeechOrganizationEnabled property + /// Indicates whether the student should receive feedback on their speech organization from the AI feedback. public bool? IsSpeechOrganizationEnabled { get { return BackingStore?.Get("isSpeechOrganizationEnabled"); } diff --git a/src/Microsoft.Graph/Generated/Models/EducationAiFeedbackDeliverySettings.cs b/src/Microsoft.Graph/Generated/Models/EducationAiFeedbackDeliverySettings.cs index dfb68c4bf1f9..fce9412fba10 100644 --- a/src/Microsoft.Graph/Generated/Models/EducationAiFeedbackDeliverySettings.cs +++ b/src/Microsoft.Graph/Generated/Models/EducationAiFeedbackDeliverySettings.cs @@ -19,7 +19,7 @@ public IDictionary AdditionalData get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } set { BackingStore.Set("AdditionalData", value); } } - /// The areRhetoricalTechniquesEnabled property + /// Indicates whether the student should receive feedback on their rhetorical techniques from the AI feedback. public bool? AreRhetoricalTechniquesEnabled { get { return BackingStore?.Get("areRhetoricalTechniquesEnabled"); } @@ -27,13 +27,13 @@ public bool? AreRhetoricalTechniquesEnabled } /// Stores model information. public IBackingStore BackingStore { get; private set; } - /// The isLanguageUseEnabled property + /// Indicates whether the student should receive feedback on their language use from the AI feedback. public bool? IsLanguageUseEnabled { get { return BackingStore?.Get("isLanguageUseEnabled"); } set { BackingStore?.Set("isLanguageUseEnabled", value); } } - /// The isStyleEnabled property + /// Indicates whether the student should receive feedback on their style from the AI feedback. public bool? IsStyleEnabled { get { return BackingStore?.Get("isStyleEnabled"); } diff --git a/src/Microsoft.Graph/Generated/Models/EducationAiFeedbackSettings.cs b/src/Microsoft.Graph/Generated/Models/EducationAiFeedbackSettings.cs index 64c616a59c85..1a0c879a6d95 100644 --- a/src/Microsoft.Graph/Generated/Models/EducationAiFeedbackSettings.cs +++ b/src/Microsoft.Graph/Generated/Models/EducationAiFeedbackSettings.cs @@ -19,7 +19,7 @@ public IDictionary AdditionalData get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } set { BackingStore.Set("AdditionalData", value); } } - /// The audienceEngagementSettings property + /// The audience engagement related feedback types that students should receive from the AI feedback. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Beta.Models.EducationAiFeedbackAudienceEngagementSettings? AudienceEngagementSettings @@ -37,7 +37,7 @@ public IDictionary AdditionalData #endif /// Stores model information. public IBackingStore BackingStore { get; private set; } - /// The contentSettings property + /// The content related feedback types that students should receive from the AI feedback. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Beta.Models.EducationAiFeedbackContentSettings? ContentSettings @@ -53,7 +53,7 @@ public IDictionary AdditionalData set { BackingStore?.Set("contentSettings", value); } } #endif - /// The deliverySettings property + /// The delivery related feedback types that students should receive from the AI feedback. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Beta.Models.EducationAiFeedbackDeliverySettings? DeliverySettings diff --git a/src/Microsoft.Graph/Generated/Models/EducationAssignmentPointsGrade.cs b/src/Microsoft.Graph/Generated/Models/EducationAssignmentPointsGrade.cs index 9bac6caec634..885537fd61a8 100644 --- a/src/Microsoft.Graph/Generated/Models/EducationAssignmentPointsGrade.cs +++ b/src/Microsoft.Graph/Generated/Models/EducationAssignmentPointsGrade.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Beta.Models public partial class EducationAssignmentPointsGrade : global::Microsoft.Graph.Beta.Models.EducationAssignmentGrade, IParsable #pragma warning restore CS1591 { - /// Number of points a teacher is giving this submission object. + /// Number of points a teacher gives to this submission object. public float? Points { get { return BackingStore?.Get("points"); } diff --git a/src/Microsoft.Graph/Generated/Models/EducationSpeakerCoachAudienceEngagementSettings.cs b/src/Microsoft.Graph/Generated/Models/EducationSpeakerCoachAudienceEngagementSettings.cs index eec308320042..1dba75152627 100644 --- a/src/Microsoft.Graph/Generated/Models/EducationSpeakerCoachAudienceEngagementSettings.cs +++ b/src/Microsoft.Graph/Generated/Models/EducationSpeakerCoachAudienceEngagementSettings.cs @@ -21,7 +21,7 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } - /// The isBodyLanguageEnabled property + /// Indicates whether the student should receive feedback on their body language from the Speaker Coach. public bool? IsBodyLanguageEnabled { get { return BackingStore?.Get("isBodyLanguageEnabled"); } diff --git a/src/Microsoft.Graph/Generated/Models/EducationSpeakerCoachContentSettings.cs b/src/Microsoft.Graph/Generated/Models/EducationSpeakerCoachContentSettings.cs index 62f1de85531a..52b0631d3d65 100644 --- a/src/Microsoft.Graph/Generated/Models/EducationSpeakerCoachContentSettings.cs +++ b/src/Microsoft.Graph/Generated/Models/EducationSpeakerCoachContentSettings.cs @@ -21,13 +21,13 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } - /// The isInclusivenessEnabled property + /// Indicates whether the student should receive feedback on their inclusiveness from the Speaker Coach. public bool? IsInclusivenessEnabled { get { return BackingStore?.Get("isInclusivenessEnabled"); } set { BackingStore?.Set("isInclusivenessEnabled", value); } } - /// The isRepetitiveLanguageEnabled property + /// Indicates whether the student should receive feedback on their repetitive language from the Speaker Coach. public bool? IsRepetitiveLanguageEnabled { get { return BackingStore?.Get("isRepetitiveLanguageEnabled"); } diff --git a/src/Microsoft.Graph/Generated/Models/EducationSpeakerCoachDeliverySettings.cs b/src/Microsoft.Graph/Generated/Models/EducationSpeakerCoachDeliverySettings.cs index 1c3ea38c3269..54b9cac9437c 100644 --- a/src/Microsoft.Graph/Generated/Models/EducationSpeakerCoachDeliverySettings.cs +++ b/src/Microsoft.Graph/Generated/Models/EducationSpeakerCoachDeliverySettings.cs @@ -19,7 +19,7 @@ public IDictionary AdditionalData get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } set { BackingStore.Set("AdditionalData", value); } } - /// The areFillerWordsEnabled property + /// Indicates whether the student should receive feedback on their filler words from the Speaker Coach. public bool? AreFillerWordsEnabled { get { return BackingStore?.Get("areFillerWordsEnabled"); } @@ -27,19 +27,19 @@ public bool? AreFillerWordsEnabled } /// Stores model information. public IBackingStore BackingStore { get; private set; } - /// The isPaceEnabled property + /// Indicates whether the student should receive feedback on their pace from the Speaker Coach. public bool? IsPaceEnabled { get { return BackingStore?.Get("isPaceEnabled"); } set { BackingStore?.Set("isPaceEnabled", value); } } - /// The isPitchEnabled property + /// Indicates whether the student should receive feedback on their pitch from the Speaker Coach. public bool? IsPitchEnabled { get { return BackingStore?.Get("isPitchEnabled"); } set { BackingStore?.Set("isPitchEnabled", value); } } - /// The isPronunciationEnabled property + /// Indicates whether the student should receive feedback on their pronunciation from the Speaker Coach. This is automatically enabled if isAiFeedbackEnabled is set to true on the educationSpeakerProgressResource, or if spokenLanguageLocale is set to a value besides en-US on the educationSpeakerProgressResource. public bool? IsPronunciationEnabled { get { return BackingStore?.Get("isPronunciationEnabled"); } diff --git a/src/Microsoft.Graph/Generated/Models/EducationSpeakerCoachSettings.cs b/src/Microsoft.Graph/Generated/Models/EducationSpeakerCoachSettings.cs index f7415fcd889d..e432bbb33d95 100644 --- a/src/Microsoft.Graph/Generated/Models/EducationSpeakerCoachSettings.cs +++ b/src/Microsoft.Graph/Generated/Models/EducationSpeakerCoachSettings.cs @@ -19,7 +19,7 @@ public IDictionary AdditionalData get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } set { BackingStore.Set("AdditionalData", value); } } - /// The audienceEngagementSettings property + /// The audience engagement related feedback types that students should receive from the Speaker Coach. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Beta.Models.EducationSpeakerCoachAudienceEngagementSettings? AudienceEngagementSettings @@ -37,7 +37,7 @@ public IDictionary AdditionalData #endif /// Stores model information. public IBackingStore BackingStore { get; private set; } - /// The contentSettings property + /// The content related feedback types that students should receive from the Speaker Coach. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Beta.Models.EducationSpeakerCoachContentSettings? ContentSettings @@ -53,7 +53,7 @@ public IDictionary AdditionalData set { BackingStore?.Set("contentSettings", value); } } #endif - /// The deliverySettings property + /// The delivery related feedback types that students should receive from the Speaker Coach. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Beta.Models.EducationSpeakerCoachDeliverySettings? DeliverySettings diff --git a/src/Microsoft.Graph/Generated/Models/EducationSpeakerProgressResource.cs b/src/Microsoft.Graph/Generated/Models/EducationSpeakerProgressResource.cs index 3a5a9ed10301..b8c525a7bcc9 100644 --- a/src/Microsoft.Graph/Generated/Models/EducationSpeakerProgressResource.cs +++ b/src/Microsoft.Graph/Generated/Models/EducationSpeakerProgressResource.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Beta.Models public partial class EducationSpeakerProgressResource : global::Microsoft.Graph.Beta.Models.EducationResource, IParsable #pragma warning restore CS1591 { - /// The aiFeedbackCriteria property + /// The feedback types that students should receive from AI feedback. This property should only be provided if isAiFeedbackEnabled is true. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Beta.Models.EducationAiFeedbackCriteria? AiFeedbackCriteria @@ -28,25 +28,25 @@ public partial class EducationSpeakerProgressResource : global::Microsoft.Graph. set { BackingStore?.Set("aiFeedbackCriteria", value); } } #endif - /// The isAiFeedbackEnabled property + /// Indicates whether AI feedback is enabled for the student submissions. public bool? IsAiFeedbackEnabled { get { return BackingStore?.Get("isAiFeedbackEnabled"); } set { BackingStore?.Set("isAiFeedbackEnabled", value); } } - /// The isVideoRequired property + /// Indicates whether video is required for the student recording. public bool? IsVideoRequired { get { return BackingStore?.Get("isVideoRequired"); } set { BackingStore?.Set("isVideoRequired", value); } } - /// The maxRecordingAttempts property + /// The maximum number of recording attempts available to the student. Specify 0 to set unlimited recording attempts. public int? MaxRecordingAttempts { get { return BackingStore?.Get("maxRecordingAttempts"); } set { BackingStore?.Set("maxRecordingAttempts", value); } } - /// The presentationTitle property + /// The title of the speaker progress resource visible to students. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? PresentationTitle @@ -62,19 +62,19 @@ public string PresentationTitle set { BackingStore?.Set("presentationTitle", value); } } #endif - /// The recordingTimeLimitInMinutes property + /// The time limit is in minutes for the student recording. public int? RecordingTimeLimitInMinutes { get { return BackingStore?.Get("recordingTimeLimitInMinutes"); } set { BackingStore?.Set("recordingTimeLimitInMinutes", value); } } - /// The showRehearsalReportToStudentBeforeMediaUpload property + /// Allows students to view their rehearsal report before the assignment is graded. public bool? ShowRehearsalReportToStudentBeforeMediaUpload { get { return BackingStore?.Get("showRehearsalReportToStudentBeforeMediaUpload"); } set { BackingStore?.Set("showRehearsalReportToStudentBeforeMediaUpload", value); } } - /// The speakerCoachSettings property + /// The feedback types that students should receive from the Speaker Coach. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Beta.Models.EducationSpeakerCoachSettings? SpeakerCoachSettings @@ -90,7 +90,7 @@ public bool? ShowRehearsalReportToStudentBeforeMediaUpload set { BackingStore?.Set("speakerCoachSettings", value); } } #endif - /// The spokenLanguageLocale property + /// The spoken language for the student recording. For example, en-US. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? SpokenLanguageLocale diff --git a/src/Microsoft.Graph/Generated/Models/Entity.cs b/src/Microsoft.Graph/Generated/Models/Entity.cs index 8b9cdf0607c0..50c61a413b6c 100644 --- a/src/Microsoft.Graph/Generated/Models/Entity.cs +++ b/src/Microsoft.Graph/Generated/Models/Entity.cs @@ -1004,6 +1004,7 @@ public Entity() "#microsoft.graph.itemPublication" => new global::Microsoft.Graph.Beta.Models.ItemPublication(), "#microsoft.graph.itemRetentionLabel" => new global::Microsoft.Graph.Beta.Models.ItemRetentionLabel(), "#microsoft.graph.jobResponseBase" => new global::Microsoft.Graph.Beta.Models.JobResponseBase(), + "#microsoft.graph.labelContentRight" => new global::Microsoft.Graph.Beta.Models.LabelContentRight(), "#microsoft.graph.landingPage" => new global::Microsoft.Graph.Beta.Models.LandingPage(), "#microsoft.graph.landingPageDetail" => new global::Microsoft.Graph.Beta.Models.LandingPageDetail(), "#microsoft.graph.languageProficiency" => new global::Microsoft.Graph.Beta.Models.LanguageProficiency(), @@ -1450,6 +1451,7 @@ public Entity() "#microsoft.graph.profile" => new global::Microsoft.Graph.Beta.Models.Profile(), "#microsoft.graph.profileCardProperty" => new global::Microsoft.Graph.Beta.Models.ProfileCardProperty(), "#microsoft.graph.profilePhoto" => new global::Microsoft.Graph.Beta.Models.ProfilePhoto(), + "#microsoft.graph.profilePropertySetting" => new global::Microsoft.Graph.Beta.Models.ProfilePropertySetting(), "#microsoft.graph.profileSource" => new global::Microsoft.Graph.Beta.Models.ProfileSource(), "#microsoft.graph.program" => new global::Microsoft.Graph.Beta.Models.Program(), "#microsoft.graph.programControl" => new global::Microsoft.Graph.Beta.Models.ProgramControl(), @@ -1866,6 +1868,7 @@ public Entity() "#microsoft.graph.updateRecordingStatusOperation" => new global::Microsoft.Graph.Beta.Models.UpdateRecordingStatusOperation(), "#microsoft.graph.urlAssessmentRequest" => new global::Microsoft.Graph.Beta.Models.UrlAssessmentRequest(), "#microsoft.graph.usageRight" => new global::Microsoft.Graph.Beta.Models.UsageRight(), + "#microsoft.graph.usageRightsIncluded" => new global::Microsoft.Graph.Beta.Models.UsageRightsIncluded(), "#microsoft.graph.usedInsight" => new global::Microsoft.Graph.Beta.Models.UsedInsight(), "#microsoft.graph.user" => new global::Microsoft.Graph.Beta.Models.User(), "#microsoft.graph.userAccountInformation" => new global::Microsoft.Graph.Beta.Models.UserAccountInformation(), diff --git a/src/Microsoft.Graph/Generated/Models/IdentifierUriConfiguration.cs b/src/Microsoft.Graph/Generated/Models/IdentifierUriConfiguration.cs index a951ee695cc0..0d75f7e35b75 100644 --- a/src/Microsoft.Graph/Generated/Models/IdentifierUriConfiguration.cs +++ b/src/Microsoft.Graph/Generated/Models/IdentifierUriConfiguration.cs @@ -52,6 +52,22 @@ public string OdataType get { return BackingStore?.Get("@odata.type"); } set { BackingStore?.Set("@odata.type", value); } } +#endif + /// Block new identifier URIs for applications, unless they contain a unique tenant identifier like the tenant ID, appId (client ID), or verified domain. For example, api://{tenatId}/string, api://{appId}/string, {scheme}://string/{tenantId}, {scheme}://string/{appId}, https://{verified-domain.com}/path, {scheme}://{subdomain}.{verified-domain.com}/path. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.IdentifierUriRestriction? UriAdditionWithoutUniqueTenantIdentifier + { + get { return BackingStore?.Get("uriAdditionWithoutUniqueTenantIdentifier"); } + set { BackingStore?.Set("uriAdditionWithoutUniqueTenantIdentifier", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.IdentifierUriRestriction UriAdditionWithoutUniqueTenantIdentifier + { + get { return BackingStore?.Get("uriAdditionWithoutUniqueTenantIdentifier"); } + set { BackingStore?.Set("uriAdditionWithoutUniqueTenantIdentifier", value); } + } #endif /// /// Instantiates a new and sets the default values. @@ -81,6 +97,7 @@ public virtual IDictionary> GetFieldDeserializers() { { "nonDefaultUriAddition", n => { NonDefaultUriAddition = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.IdentifierUriRestriction.CreateFromDiscriminatorValue); } }, { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "uriAdditionWithoutUniqueTenantIdentifier", n => { UriAdditionWithoutUniqueTenantIdentifier = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.IdentifierUriRestriction.CreateFromDiscriminatorValue); } }, }; } /// @@ -92,6 +109,7 @@ public virtual void Serialize(ISerializationWriter writer) _ = writer ?? throw new ArgumentNullException(nameof(writer)); writer.WriteObjectValue("nonDefaultUriAddition", NonDefaultUriAddition); writer.WriteStringValue("@odata.type", OdataType); + writer.WriteObjectValue("uriAdditionWithoutUniqueTenantIdentifier", UriAdditionWithoutUniqueTenantIdentifier); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Models/LabelActionBase.cs b/src/Microsoft.Graph/Generated/Models/LabelActionBase.cs index f41b56239060..15867af3806a 100644 --- a/src/Microsoft.Graph/Generated/Models/LabelActionBase.cs +++ b/src/Microsoft.Graph/Generated/Models/LabelActionBase.cs @@ -21,7 +21,7 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } - /// The name property + /// The name of the action (for example, 'Encrypt', 'AddHeader'). #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Name diff --git a/src/Microsoft.Graph/Generated/Models/LabelActionSource.cs b/src/Microsoft.Graph/Generated/Models/LabelActionSource.cs new file mode 100644 index 000000000000..18acacd06d20 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/LabelActionSource.cs @@ -0,0 +1,32 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum LabelActionSource + #pragma warning restore CS1591 + { + [EnumMember(Value = "manual")] + #pragma warning disable CS1591 + Manual, + #pragma warning restore CS1591 + [EnumMember(Value = "automatic")] + #pragma warning disable CS1591 + Automatic, + #pragma warning restore CS1591 + [EnumMember(Value = "recommended")] + #pragma warning disable CS1591 + Recommended, + #pragma warning restore CS1591 + [EnumMember(Value = "none")] + #pragma warning disable CS1591 + None, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/LabelContentRight.cs b/src/Microsoft.Graph/Generated/Models/LabelContentRight.cs new file mode 100644 index 000000000000..be5746189c64 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/LabelContentRight.cs @@ -0,0 +1,100 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class LabelContentRight : global::Microsoft.Graph.Beta.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The content identifier. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Cid + { + get { return BackingStore?.Get("cid"); } + set { BackingStore?.Set("cid", value); } + } +#nullable restore +#else + public string Cid + { + get { return BackingStore?.Get("cid"); } + set { BackingStore?.Set("cid", value); } + } +#endif + /// The content format. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Format + { + get { return BackingStore?.Get("format"); } + set { BackingStore?.Set("format", value); } + } +#nullable restore +#else + public string Format + { + get { return BackingStore?.Get("format"); } + set { BackingStore?.Set("format", value); } + } +#endif + /// The label property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.SensitivityLabel? Label + { + get { return BackingStore?.Get("label"); } + set { BackingStore?.Set("label", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.SensitivityLabel Label + { + get { return BackingStore?.Get("label"); } + set { BackingStore?.Set("label", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.LabelContentRight CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.LabelContentRight(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "cid", n => { Cid = n.GetStringValue(); } }, + { "format", n => { Format = n.GetStringValue(); } }, + { "label", n => { Label = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.SensitivityLabel.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteStringValue("cid", Cid); + writer.WriteStringValue("format", Format); + writer.WriteObjectValue("label", Label); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/LabelPolicy.cs b/src/Microsoft.Graph/Generated/Models/LabelPolicy.cs index 83e0bbfd638b..ed6d3686b630 100644 --- a/src/Microsoft.Graph/Generated/Models/LabelPolicy.cs +++ b/src/Microsoft.Graph/Generated/Models/LabelPolicy.cs @@ -21,7 +21,7 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } - /// The id property + /// The unique identifier of the label policy. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Id @@ -37,7 +37,7 @@ public string Id set { BackingStore?.Set("id", value); } } #endif - /// The name property + /// The display name of the label policy. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Name diff --git a/src/Microsoft.Graph/Generated/Models/MacOsLobAppAssignmentSettings.cs b/src/Microsoft.Graph/Generated/Models/MacOsLobAppAssignmentSettings.cs index 555d45a12a1c..dd567b05e3bf 100644 --- a/src/Microsoft.Graph/Generated/Models/MacOsLobAppAssignmentSettings.cs +++ b/src/Microsoft.Graph/Generated/Models/MacOsLobAppAssignmentSettings.cs @@ -13,7 +13,7 @@ namespace Microsoft.Graph.Beta.Models [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MacOsLobAppAssignmentSettings : global::Microsoft.Graph.Beta.Models.MobileAppAssignmentSettings, IParsable { - /// 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. + /// Whether or not to uninstall the app when device is removed from Intune. public bool? UninstallOnDeviceRemoval { get { return BackingStore?.Get("uninstallOnDeviceRemoval"); } diff --git a/src/Microsoft.Graph/Generated/Models/MobileApp.cs b/src/Microsoft.Graph/Generated/Models/MobileApp.cs index 282438621301..21b020d81d8f 100644 --- a/src/Microsoft.Graph/Generated/Models/MobileApp.cs +++ b/src/Microsoft.Graph/Generated/Models/MobileApp.cs @@ -45,13 +45,13 @@ public partial class MobileApp : global::Microsoft.Graph.Beta.Models.Entity, IPa set { BackingStore?.Set("categories", value); } } #endif - /// The date and time the app was created. + /// The date and time the app was created. This property is read-only. public DateTimeOffset? CreatedDateTime { get { return BackingStore?.Get("createdDateTime"); } set { BackingStore?.Set("createdDateTime", value); } } - /// The total number of dependencies the child app has. + /// The total number of dependencies the child app has. This property is read-only. public int? DependentAppCount { get { return BackingStore?.Get("dependentAppCount"); } @@ -121,7 +121,7 @@ public string InformationUrl set { BackingStore?.Set("informationUrl", value); } } #endif - /// The value indicating whether the app is assigned to at least one group. + /// The value indicating whether the app is assigned to at least one group. This property is read-only. public bool? IsAssigned { get { return BackingStore?.Get("isAssigned"); } @@ -149,7 +149,7 @@ public bool? IsFeatured set { BackingStore?.Set("largeIcon", value); } } #endif - /// The date and time the app was last modified. + /// The date and time the app was last modified. This property is read-only. public DateTimeOffset? LastModifiedDateTime { get { return BackingStore?.Get("lastModifiedDateTime"); } @@ -225,7 +225,7 @@ public string Publisher get { return BackingStore?.Get("publishingState"); } set { BackingStore?.Set("publishingState", value); } } - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? Relationships @@ -269,7 +269,7 @@ public int? SupersedingAppCount get { return BackingStore?.Get("supersedingAppCount"); } set { BackingStore?.Set("supersedingAppCount", value); } } - /// The upload state. + /// The upload state. Possible values are: 0 - Not Ready, 1 - Ready, 2 - Processing. This property is read-only. public int? UploadState { get { return BackingStore?.Get("uploadState"); } diff --git a/src/Microsoft.Graph/Generated/Models/MobileAppTroubleshootingEvent.cs b/src/Microsoft.Graph/Generated/Models/MobileAppTroubleshootingEvent.cs index 6c0cc82d5ea5..9011e830be59 100644 --- a/src/Microsoft.Graph/Generated/Models/MobileAppTroubleshootingEvent.cs +++ b/src/Microsoft.Graph/Generated/Models/MobileAppTroubleshootingEvent.cs @@ -29,7 +29,7 @@ public string ApplicationId set { BackingStore?.Set("applicationId", value); } } #endif - /// The collection property of AppLogUploadRequest. + /// Indicates collection of App Log Upload Request. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? AppLogCollectionRequests diff --git a/src/Microsoft.Graph/Generated/Models/OrganizationAllowedAudiences.cs b/src/Microsoft.Graph/Generated/Models/OrganizationAllowedAudiences.cs new file mode 100644 index 000000000000..2f2d58963f93 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/OrganizationAllowedAudiences.cs @@ -0,0 +1,32 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum OrganizationAllowedAudiences + #pragma warning restore CS1591 + { + [EnumMember(Value = "me")] + #pragma warning disable CS1591 + Me, + #pragma warning restore CS1591 + [EnumMember(Value = "organization")] + #pragma warning disable CS1591 + Organization, + #pragma warning restore CS1591 + [EnumMember(Value = "federatedOrganizations")] + #pragma warning disable CS1591 + FederatedOrganizations, + #pragma warning restore CS1591 + [EnumMember(Value = "everyone")] + #pragma warning disable CS1591 + Everyone, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/PeopleAdminSettings.cs b/src/Microsoft.Graph/Generated/Models/PeopleAdminSettings.cs index 443c3a1f85e4..c09c6173ea0e 100644 --- a/src/Microsoft.Graph/Generated/Models/PeopleAdminSettings.cs +++ b/src/Microsoft.Graph/Generated/Models/PeopleAdminSettings.cs @@ -59,6 +59,22 @@ public partial class PeopleAdminSettings : global::Microsoft.Graph.Beta.Models.E get { return BackingStore?.Get>("profileCardProperties"); } set { BackingStore?.Set("profileCardProperties", value); } } +#endif + /// A collection of profile property configuration settings defined by an administrator for an organization. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? ProfilePropertySettings + { + get { return BackingStore?.Get?>("profilePropertySettings"); } + set { BackingStore?.Set("profilePropertySettings", value); } + } +#nullable restore +#else + public List ProfilePropertySettings + { + get { return BackingStore?.Get>("profilePropertySettings"); } + set { BackingStore?.Set("profilePropertySettings", value); } + } #endif /// Administrator settings that manage the support of pronouns in an organization. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -97,6 +113,7 @@ public override IDictionary> GetFieldDeserializers() { "itemInsights", n => { ItemInsights = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.InsightsSettings.CreateFromDiscriminatorValue); } }, { "namePronunciation", n => { NamePronunciation = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.NamePronunciationSettings.CreateFromDiscriminatorValue); } }, { "profileCardProperties", n => { ProfileCardProperties = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ProfileCardProperty.CreateFromDiscriminatorValue)?.AsList(); } }, + { "profilePropertySettings", n => { ProfilePropertySettings = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ProfilePropertySetting.CreateFromDiscriminatorValue)?.AsList(); } }, { "pronouns", n => { Pronouns = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.PronounsSettings.CreateFromDiscriminatorValue); } }, }; } @@ -111,6 +128,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteObjectValue("itemInsights", ItemInsights); writer.WriteObjectValue("namePronunciation", NamePronunciation); writer.WriteCollectionOfObjectValues("profileCardProperties", ProfileCardProperties); + writer.WriteCollectionOfObjectValues("profilePropertySettings", ProfilePropertySettings); writer.WriteObjectValue("pronouns", Pronouns); } } diff --git a/src/Microsoft.Graph/Generated/Models/ProcessContentResponse.cs b/src/Microsoft.Graph/Generated/Models/ProcessContentResponse.cs index 08ba33252cf6..30bb32e5a47f 100644 --- a/src/Microsoft.Graph/Generated/Models/ProcessContentResponse.cs +++ b/src/Microsoft.Graph/Generated/Models/ProcessContentResponse.cs @@ -37,7 +37,7 @@ public string OdataType set { BackingStore?.Set("@odata.type", value); } } #endif - /// A collection of policy actions (like DLP actions) triggered by the processed content. + /// A collection of policy actions (like DLP actions) triggered by the processed content. NOTE: Currently, the only policyAction supported in processContentResponse is '_restrictAccess' #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? PolicyActions diff --git a/src/Microsoft.Graph/Generated/Models/ProfilePropertySetting.cs b/src/Microsoft.Graph/Generated/Models/ProfilePropertySetting.cs new file mode 100644 index 000000000000..df48cb682dd2 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ProfilePropertySetting.cs @@ -0,0 +1,98 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ProfilePropertySetting : global::Microsoft.Graph.Beta.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// A privacy setting that reflects the allowed audience for the configured property. The possible values are: me, organization, federatedOrganizations, everyone, unknownFutureValue. + public global::Microsoft.Graph.Beta.Models.OrganizationAllowedAudiences? AllowedAudiences + { + get { return BackingStore?.Get("allowedAudiences"); } + set { BackingStore?.Set("allowedAudiences", value); } + } + /// Defines whether a user is allowed to override the tenant admin privacy setting. + public bool? IsUserOverrideForAudienceEnabled + { + get { return BackingStore?.Get("isUserOverrideForAudienceEnabled"); } + set { BackingStore?.Set("isUserOverrideForAudienceEnabled", value); } + } + /// Name of the property-level setting. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Name + { + get { return BackingStore?.Get("name"); } + set { BackingStore?.Set("name", value); } + } +#nullable restore +#else + public string Name + { + get { return BackingStore?.Get("name"); } + set { BackingStore?.Set("name", value); } + } +#endif + /// A collection of prioritized profile source URLs ordered by data precedence within an organization. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? PrioritizedSourceUrls + { + get { return BackingStore?.Get?>("prioritizedSourceUrls"); } + set { BackingStore?.Set("prioritizedSourceUrls", value); } + } +#nullable restore +#else + public List PrioritizedSourceUrls + { + get { return BackingStore?.Get>("prioritizedSourceUrls"); } + set { BackingStore?.Set("prioritizedSourceUrls", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.ProfilePropertySetting CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.ProfilePropertySetting(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "allowedAudiences", n => { AllowedAudiences = n.GetEnumValue(); } }, + { "isUserOverrideForAudienceEnabled", n => { IsUserOverrideForAudienceEnabled = n.GetBoolValue(); } }, + { "name", n => { Name = n.GetStringValue(); } }, + { "prioritizedSourceUrls", n => { PrioritizedSourceUrls = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteEnumValue("allowedAudiences", AllowedAudiences); + writer.WriteBoolValue("isUserOverrideForAudienceEnabled", IsUserOverrideForAudienceEnabled); + writer.WriteStringValue("name", Name); + writer.WriteCollectionOfPrimitiveValues("prioritizedSourceUrls", PrioritizedSourceUrls); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ProfilePropertySettingCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/ProfilePropertySettingCollectionResponse.cs new file mode 100644 index 000000000000..d1f7371ffcab --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ProfilePropertySettingCollectionResponse.cs @@ -0,0 +1,64 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ProfilePropertySettingCollectionResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// 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 + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.ProfilePropertySettingCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.ProfilePropertySettingCollectionResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ProfilePropertySetting.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ProtectedContent.cs b/src/Microsoft.Graph/Generated/Models/ProtectedContent.cs new file mode 100644 index 000000000000..f0dbbf90e683 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ProtectedContent.cs @@ -0,0 +1,135 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ProtectedContent : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// 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") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The content id +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Cid + { + get { return BackingStore?.Get("cid"); } + set { BackingStore?.Set("cid", value); } + } +#nullable restore +#else + public string Cid + { + get { return BackingStore?.Get("cid"); } + set { BackingStore?.Set("cid", value); } + } +#endif + /// The content format. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Format + { + get { return BackingStore?.Get("format"); } + set { BackingStore?.Set("format", value); } + } +#nullable restore +#else + public string Format + { + get { return BackingStore?.Get("format"); } + set { BackingStore?.Set("format", value); } + } +#endif + /// The unique identifier for the sensitivity label applied to the content. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? LabelId + { + get { return BackingStore?.Get("labelId"); } + set { BackingStore?.Set("labelId", value); } + } +#nullable restore +#else + public string LabelId + { + get { return BackingStore?.Get("labelId"); } + set { BackingStore?.Set("labelId", value); } + } +#endif + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ProtectedContent() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.ProtectedContent CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.ProtectedContent(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "cid", n => { Cid = n.GetStringValue(); } }, + { "format", n => { Format = n.GetStringValue(); } }, + { "labelId", n => { LabelId = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("cid", Cid); + writer.WriteStringValue("format", Format); + writer.WriteStringValue("labelId", LabelId); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/SecureScoreControlProfile.cs b/src/Microsoft.Graph/Generated/Models/SecureScoreControlProfile.cs index 85be3b857c78..9c0e86f92a64 100644 --- a/src/Microsoft.Graph/Generated/Models/SecureScoreControlProfile.cs +++ b/src/Microsoft.Graph/Generated/Models/SecureScoreControlProfile.cs @@ -60,7 +60,7 @@ public string AzureTenantId set { BackingStore?.Set("azureTenantId", value); } } #endif - /// The collection of compliance information associated with secure score control + /// The collection of compliance information associated with secure score control. Not implemented. Currently returns null. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? ComplianceInformation diff --git a/src/Microsoft.Graph/Generated/Models/Security/SensitivityLabel.cs b/src/Microsoft.Graph/Generated/Models/Security/SensitivityLabel.cs index e2efa05a283a..7bdb3748e201 100644 --- a/src/Microsoft.Graph/Generated/Models/Security/SensitivityLabel.cs +++ b/src/Microsoft.Graph/Generated/Models/Security/SensitivityLabel.cs @@ -94,7 +94,7 @@ public string Name set { BackingStore?.Set("name", value); } } #endif - /// The parent label associated with a child label. Null if the label has no parent. + /// The parent property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Beta.Models.Security.SensitivityLabel? Parent diff --git a/src/Microsoft.Graph/Generated/Models/SensitivityLabel.cs b/src/Microsoft.Graph/Generated/Models/SensitivityLabel.cs index 0450e0994a9d..505f291a9ad5 100644 --- a/src/Microsoft.Graph/Generated/Models/SensitivityLabel.cs +++ b/src/Microsoft.Graph/Generated/Models/SensitivityLabel.cs @@ -12,6 +12,12 @@ namespace Microsoft.Graph.Beta.Models public partial class SensitivityLabel : global::Microsoft.Graph.Beta.Models.Entity, IParsable #pragma warning restore CS1591 { + /// The actionSource property + public global::Microsoft.Graph.Beta.Models.LabelActionSource? ActionSource + { + get { return BackingStore?.Get("actionSource"); } + set { BackingStore?.Set("actionSource", value); } + } /// The applicableTo property public global::Microsoft.Graph.Beta.Models.SensitivityLabelTarget? ApplicableTo { @@ -55,6 +61,22 @@ public partial class SensitivityLabel : global::Microsoft.Graph.Beta.Models.Enti get { return BackingStore?.Get("autoLabeling"); } set { BackingStore?.Set("autoLabeling", value); } } +#endif + /// The autoTooltip property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? AutoTooltip + { + get { return BackingStore?.Get("autoTooltip"); } + set { BackingStore?.Set("autoTooltip", value); } + } +#nullable restore +#else + public string AutoTooltip + { + get { return BackingStore?.Get("autoTooltip"); } + set { BackingStore?.Set("autoTooltip", value); } + } #endif /// The color property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -122,6 +144,12 @@ public bool? IsEndpointProtectionEnabled get { return BackingStore?.Get("isEndpointProtectionEnabled"); } set { BackingStore?.Set("isEndpointProtectionEnabled", value); } } + /// The isScopedToUser property + public bool? IsScopedToUser + { + get { return BackingStore?.Get("isScopedToUser"); } + set { BackingStore?.Set("isScopedToUser", value); } + } /// The labelActions property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -137,6 +165,22 @@ public bool? IsEndpointProtectionEnabled get { return BackingStore?.Get>("labelActions"); } set { BackingStore?.Set("labelActions", value); } } +#endif + /// The locale property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Locale + { + get { return BackingStore?.Get("locale"); } + set { BackingStore?.Set("locale", value); } + } +#nullable restore +#else + public string Locale + { + get { return BackingStore?.Get("locale"); } + set { BackingStore?.Set("locale", value); } + } #endif /// The name property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -160,6 +204,22 @@ public int? Priority get { return BackingStore?.Get("priority"); } set { BackingStore?.Set("priority", value); } } + /// The rights property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.UsageRightsIncluded? Rights + { + get { return BackingStore?.Get("rights"); } + set { BackingStore?.Set("rights", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.UsageRightsIncluded Rights + { + get { return BackingStore?.Get("rights"); } + set { BackingStore?.Set("rights", value); } + } +#endif /// The sublabels property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -210,19 +270,24 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { + { "actionSource", n => { ActionSource = n.GetEnumValue(); } }, { "applicableTo", n => { ApplicableTo = n.GetEnumValue(); } }, { "applicationMode", n => { ApplicationMode = n.GetEnumValue(); } }, { "assignedPolicies", n => { AssignedPolicies = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.LabelPolicy.CreateFromDiscriminatorValue)?.AsList(); } }, { "autoLabeling", n => { AutoLabeling = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.AutoLabeling.CreateFromDiscriminatorValue); } }, + { "autoTooltip", n => { AutoTooltip = n.GetStringValue(); } }, { "color", n => { Color = n.GetStringValue(); } }, { "description", n => { Description = n.GetStringValue(); } }, { "displayName", n => { DisplayName = n.GetStringValue(); } }, { "isDefault", n => { IsDefault = n.GetBoolValue(); } }, { "isEnabled", n => { IsEnabled = n.GetBoolValue(); } }, { "isEndpointProtectionEnabled", n => { IsEndpointProtectionEnabled = n.GetBoolValue(); } }, + { "isScopedToUser", n => { IsScopedToUser = n.GetBoolValue(); } }, { "labelActions", n => { LabelActions = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.LabelActionBase.CreateFromDiscriminatorValue)?.AsList(); } }, + { "locale", n => { Locale = n.GetStringValue(); } }, { "name", n => { Name = n.GetStringValue(); } }, { "priority", n => { Priority = n.GetIntValue(); } }, + { "rights", n => { Rights = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.UsageRightsIncluded.CreateFromDiscriminatorValue); } }, { "sublabels", n => { Sublabels = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.SensitivityLabel.CreateFromDiscriminatorValue)?.AsList(); } }, { "toolTip", n => { ToolTip = n.GetStringValue(); } }, }; @@ -235,19 +300,24 @@ public override void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); + writer.WriteEnumValue("actionSource", ActionSource); writer.WriteEnumValue("applicableTo", ApplicableTo); writer.WriteEnumValue("applicationMode", ApplicationMode); writer.WriteCollectionOfObjectValues("assignedPolicies", AssignedPolicies); writer.WriteObjectValue("autoLabeling", AutoLabeling); + writer.WriteStringValue("autoTooltip", AutoTooltip); writer.WriteStringValue("color", Color); writer.WriteStringValue("description", Description); writer.WriteStringValue("displayName", DisplayName); writer.WriteBoolValue("isDefault", IsDefault); writer.WriteBoolValue("isEnabled", IsEnabled); writer.WriteBoolValue("isEndpointProtectionEnabled", IsEndpointProtectionEnabled); + writer.WriteBoolValue("isScopedToUser", IsScopedToUser); writer.WriteCollectionOfObjectValues("labelActions", LabelActions); + writer.WriteStringValue("locale", Locale); writer.WriteStringValue("name", Name); writer.WriteIntValue("priority", Priority); + writer.WriteObjectValue("rights", Rights); writer.WriteCollectionOfObjectValues("sublabels", Sublabels); writer.WriteStringValue("toolTip", ToolTip); } diff --git a/src/Microsoft.Graph/Generated/Models/SignIn.cs b/src/Microsoft.Graph/Generated/Models/SignIn.cs index 1002d9db9832..2635bb02d593 100644 --- a/src/Microsoft.Graph/Generated/Models/SignIn.cs +++ b/src/Microsoft.Graph/Generated/Models/SignIn.cs @@ -13,7 +13,7 @@ namespace Microsoft.Graph.Beta.Models public partial class SignIn : global::Microsoft.Graph.Beta.Models.Entity, IParsable #pragma warning restore CS1591 { - /// The agent property + /// Represents details about the agentic sign-in. Includes the type of agent as well as parentAppID in some cases #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Beta.Models.Agentic.AgentSignIn? Agent diff --git a/src/Microsoft.Graph/Generated/Models/UsageRights.cs b/src/Microsoft.Graph/Generated/Models/UsageRights.cs new file mode 100644 index 000000000000..9dc71f71c626 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/UsageRights.cs @@ -0,0 +1,97 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + [Flags] + #pragma warning disable CS1591 + public enum UsageRights + #pragma warning restore CS1591 + { + [EnumMember(Value = "unknown")] + #pragma warning disable CS1591 + Unknown = 1, + #pragma warning restore CS1591 + [EnumMember(Value = "docEdit")] + #pragma warning disable CS1591 + DocEdit = 2, + #pragma warning restore CS1591 + [EnumMember(Value = "edit")] + #pragma warning disable CS1591 + Edit = 4, + #pragma warning restore CS1591 + [EnumMember(Value = "comment")] + #pragma warning disable CS1591 + Comment = 8, + #pragma warning restore CS1591 + [EnumMember(Value = "export")] + #pragma warning disable CS1591 + Export = 16, + #pragma warning restore CS1591 + [EnumMember(Value = "forward")] + #pragma warning disable CS1591 + Forward = 32, + #pragma warning restore CS1591 + [EnumMember(Value = "owner")] + #pragma warning disable CS1591 + Owner = 64, + #pragma warning restore CS1591 + [EnumMember(Value = "print")] + #pragma warning disable CS1591 + Print = 128, + #pragma warning restore CS1591 + [EnumMember(Value = "reply")] + #pragma warning disable CS1591 + Reply = 256, + #pragma warning restore CS1591 + [EnumMember(Value = "replyAll")] + #pragma warning disable CS1591 + ReplyAll = 512, + #pragma warning restore CS1591 + [EnumMember(Value = "view")] + #pragma warning disable CS1591 + View = 1024, + #pragma warning restore CS1591 + [EnumMember(Value = "extract")] + #pragma warning disable CS1591 + Extract = 2048, + #pragma warning restore CS1591 + [EnumMember(Value = "viewRightsData")] + #pragma warning disable CS1591 + ViewRightsData = 4096, + #pragma warning restore CS1591 + [EnumMember(Value = "editRightsData")] + #pragma warning disable CS1591 + EditRightsData = 8192, + #pragma warning restore CS1591 + [EnumMember(Value = "objModel")] + #pragma warning disable CS1591 + ObjModel = 16384, + #pragma warning restore CS1591 + [EnumMember(Value = "accessDenied")] + #pragma warning disable CS1591 + AccessDenied = 32768, + #pragma warning restore CS1591 + [EnumMember(Value = "userDefinedProtectionTypeNotSupportedException")] + #pragma warning disable CS1591 + UserDefinedProtectionTypeNotSupportedException = 65536, + #pragma warning restore CS1591 + [EnumMember(Value = "encryptedProtectionTypeNotSupportedException")] + #pragma warning disable CS1591 + EncryptedProtectionTypeNotSupportedException = 131072, + #pragma warning restore CS1591 + [EnumMember(Value = "purviewClaimsChallengeNotSupportedException")] + #pragma warning disable CS1591 + PurviewClaimsChallengeNotSupportedException = 262144, + #pragma warning restore CS1591 + [EnumMember(Value = "exception")] + #pragma warning disable CS1591 + Exception = 524288, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue = 1048576, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/UsageRightsIncluded.cs b/src/Microsoft.Graph/Generated/Models/UsageRightsIncluded.cs new file mode 100644 index 000000000000..7efc21137477 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/UsageRightsIncluded.cs @@ -0,0 +1,90 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class UsageRightsIncluded : global::Microsoft.Graph.Beta.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The email of owner label rights. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OwnerEmail + { + get { return BackingStore?.Get("ownerEmail"); } + set { BackingStore?.Set("ownerEmail", value); } + } +#nullable restore +#else + public string OwnerEmail + { + get { return BackingStore?.Get("ownerEmail"); } + set { BackingStore?.Set("ownerEmail", value); } + } +#endif + /// The email of user with label user rights. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? UserEmail + { + get { return BackingStore?.Get("userEmail"); } + set { BackingStore?.Set("userEmail", value); } + } +#nullable restore +#else + public string UserEmail + { + get { return BackingStore?.Get("userEmail"); } + set { BackingStore?.Set("userEmail", value); } + } +#endif + /// The value property + public global::Microsoft.Graph.Beta.Models.UsageRights? Value + { + get { return BackingStore?.Get("value"); } + set { BackingStore?.Set("value", value); } + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.UsageRightsIncluded CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.UsageRightsIncluded(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "ownerEmail", n => { OwnerEmail = n.GetStringValue(); } }, + { "userEmail", n => { UserEmail = n.GetStringValue(); } }, + { "value", n => { Value = n.GetEnumValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteStringValue("ownerEmail", OwnerEmail); + writer.WriteStringValue("userEmail", UserEmail); + writer.WriteEnumValue("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/WindowsDomainJoinConfiguration.cs b/src/Microsoft.Graph/Generated/Models/WindowsDomainJoinConfiguration.cs index 2c70cedc1465..553a99d50268 100644 --- a/src/Microsoft.Graph/Generated/Models/WindowsDomainJoinConfiguration.cs +++ b/src/Microsoft.Graph/Generated/Models/WindowsDomainJoinConfiguration.cs @@ -51,7 +51,7 @@ public int? ComputerNameSuffixRandomCharCount get { return BackingStore?.Get("computerNameSuffixRandomCharCount"); } set { BackingStore?.Set("computerNameSuffixRandomCharCount", value); } } - /// Reference to device configurations required for network connectivity. This collection can contain a maximum of 2 elements. + /// Reference to device configurations required for network connectivity #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? NetworkAccessConfigurations diff --git a/src/Microsoft.Graph/Generated/Models/WindowsUniversalAppXAppAssignmentSettings.cs b/src/Microsoft.Graph/Generated/Models/WindowsUniversalAppXAppAssignmentSettings.cs index 8cc1dab1237a..66edc6980bb4 100644 --- a/src/Microsoft.Graph/Generated/Models/WindowsUniversalAppXAppAssignmentSettings.cs +++ b/src/Microsoft.Graph/Generated/Models/WindowsUniversalAppXAppAssignmentSettings.cs @@ -13,7 +13,7 @@ namespace Microsoft.Graph.Beta.Models [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class WindowsUniversalAppXAppAssignmentSettings : global::Microsoft.Graph.Beta.Models.MobileAppAssignmentSettings, IParsable { - /// If true, uses device execution context for Windows Universal AppX mobile app. Device-context install is not allowed when this type of app is targeted with Available intent. Defaults to false. + /// Whether or not to use device execution context for Windows Universal AppX mobile app. public bool? UseDeviceContext { get { return BackingStore?.Get("useDeviceContext"); } diff --git a/src/Microsoft.Graph/Generated/Policies/CrossTenantAccessPolicy/Partners/Item/IdentitySynchronization/IdentitySynchronizationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/CrossTenantAccessPolicy/Partners/Item/IdentitySynchronization/IdentitySynchronizationRequestBuilder.cs index 3d5aa3b15096..299b66611b66 100644 --- a/src/Microsoft.Graph/Generated/Policies/CrossTenantAccessPolicy/Partners/Item/IdentitySynchronization/IdentitySynchronizationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/CrossTenantAccessPolicy/Partners/Item/IdentitySynchronization/IdentitySynchronizationRequestBuilder.cs @@ -82,8 +82,8 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.CrossTenantIdentitySyncPolicyPartner.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the user synchronization policy of a partner-specific configuration. - /// Find more info here + /// Create a cross-tenant user synchronization policy for a partner-specific configuration. + /// Find more info here /// /// A /// The request body @@ -145,7 +145,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the user synchronization policy of a partner-specific configuration. + /// Create a cross-tenant user synchronization policy for a partner-specific configuration. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Policies/FederatedTokenValidationPolicy/FederatedTokenValidationPolicyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/FederatedTokenValidationPolicy/FederatedTokenValidationPolicyRequestBuilder.cs index dd3e2744ef73..ef9a2b2268d3 100644 --- a/src/Microsoft.Graph/Generated/Policies/FederatedTokenValidationPolicy/FederatedTokenValidationPolicyRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/FederatedTokenValidationPolicy/FederatedTokenValidationPolicyRequestBuilder.cs @@ -57,8 +57,8 @@ public async Task DeleteAsync(Action - /// Read the properties and relationships of a federatedTokenValidationPolicy object. - /// Find more info here + /// Get a list of the federatedTokenValidationPolicy objects and their properties. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -125,7 +125,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read the properties and relationships of a federatedTokenValidationPolicy object. + /// Get a list of the federatedTokenValidationPolicy objects and their properties. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -183,7 +183,7 @@ public partial class FederatedTokenValidationPolicyRequestBuilderDeleteRequestCo { } /// - /// Read the properties and relationships of a federatedTokenValidationPolicy object. + /// Get a list of the federatedTokenValidationPolicy objects and their properties. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class FederatedTokenValidationPolicyRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/RoleManagement/DeviceManagement/RoleAssignments/RoleAssignmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/DeviceManagement/RoleAssignments/RoleAssignmentsRequestBuilder.cs index 66a97ef0ef91..623cd558c3c0 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/DeviceManagement/RoleAssignments/RoleAssignmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/DeviceManagement/RoleAssignments/RoleAssignmentsRequestBuilder.cs @@ -56,8 +56,8 @@ public RoleAssignmentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt { } /// - /// Get a list of unifiedRoleAssignmentMultiple objects for an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. - /// Find more info here + /// 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 Microsoft Entra ID), use unifiedRoleAssignment. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -108,7 +108,7 @@ public RoleAssignmentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.UnifiedRoleAssignmentMultiple.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get a list of unifiedRoleAssignmentMultiple objects for an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. + /// 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 Microsoft Entra ID), use unifiedRoleAssignment. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -161,7 +161,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.RoleManagement.DeviceManagement.RoleAssignments.RoleAssignmentsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Get a list of unifiedRoleAssignmentMultiple objects for an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. + /// 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 Microsoft Entra ID), use unifiedRoleAssignment. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RoleAssignmentsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.cs new file mode 100644 index 000000000000..3cbab6dd1c68 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.cs @@ -0,0 +1,105 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats +{ + /// + /// Provides operations to call the computeInheritance method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Usage: contentFormats={contentFormats} + /// Usage: labelIds={labelIds} + /// Usage: locale='{locale}' + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter, string contentFormats = "", string labelIds = "", string locale = "") : base(requestAdapter, "{+baseurl}/security/dataSecurityAndGovernance/sensitivityLabels/computeInheritance(labelIds={labelIds},locale='{locale}',contentFormats={contentFormats})", pathParameters) + { + if (!string.IsNullOrWhiteSpace(contentFormats)) PathParameters.Add("contentFormats", contentFormats); + if (!string.IsNullOrWhiteSpace(labelIds)) PathParameters.Add("labelIds", labelIds); + if (!string.IsNullOrWhiteSpace(locale)) PathParameters.Add("locale", locale); + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/dataSecurityAndGovernance/sensitivityLabels/computeInheritance(labelIds={labelIds},locale='{locale}',contentFormats={contentFormats})", rawUrl) + { + } + /// + /// Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#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> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.SensitivityLabel.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + /// + /// A + /// 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(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.cs b/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.cs new file mode 100644 index 000000000000..78c2cf1a7527 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.cs @@ -0,0 +1,136 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ComputeRightsAndInheritancePostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// 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") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The delegatedUserEmail property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DelegatedUserEmail + { + get { return BackingStore?.Get("delegatedUserEmail"); } + set { BackingStore?.Set("delegatedUserEmail", value); } + } +#nullable restore +#else + public string DelegatedUserEmail + { + get { return BackingStore?.Get("delegatedUserEmail"); } + set { BackingStore?.Set("delegatedUserEmail", value); } + } +#endif + /// The locale property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Locale + { + get { return BackingStore?.Get("locale"); } + set { BackingStore?.Set("locale", value); } + } +#nullable restore +#else + public string Locale + { + get { return BackingStore?.Get("locale"); } + set { BackingStore?.Set("locale", value); } + } +#endif + /// The protectedContents property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? ProtectedContents + { + get { return BackingStore?.Get?>("protectedContents"); } + set { BackingStore?.Set("protectedContents", value); } + } +#nullable restore +#else + public List ProtectedContents + { + get { return BackingStore?.Get>("protectedContents"); } + set { BackingStore?.Set("protectedContents", value); } + } +#endif + /// The supportedContentFormats property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? SupportedContentFormats + { + get { return BackingStore?.Get?>("supportedContentFormats"); } + set { BackingStore?.Set("supportedContentFormats", value); } + } +#nullable restore +#else + public List SupportedContentFormats + { + get { return BackingStore?.Get>("supportedContentFormats"); } + set { BackingStore?.Set("supportedContentFormats", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ComputeRightsAndInheritancePostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "delegatedUserEmail", n => { DelegatedUserEmail = n.GetStringValue(); } }, + { "locale", n => { Locale = n.GetStringValue(); } }, + { "protectedContents", n => { ProtectedContents = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ProtectedContent.CreateFromDiscriminatorValue)?.AsList(); } }, + { "supportedContentFormats", n => { SupportedContentFormats = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("delegatedUserEmail", DelegatedUserEmail); + writer.WriteStringValue("locale", Locale); + writer.WriteCollectionOfObjectValues("protectedContents", ProtectedContents); + writer.WriteCollectionOfPrimitiveValues("supportedContentFormats", SupportedContentFormats); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.cs new file mode 100644 index 000000000000..006b2c5083df --- /dev/null +++ b/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.cs @@ -0,0 +1,104 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance +{ + /// + /// Provides operations to call the computeRightsAndInheritance method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComputeRightsAndInheritanceRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ComputeRightsAndInheritanceRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/dataSecurityAndGovernance/sensitivityLabels/computeRightsAndInheritance", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ComputeRightsAndInheritanceRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/dataSecurityAndGovernance/sensitivityLabels/computeRightsAndInheritance", rawUrl) + { + } + /// + /// Computes the rights and inheritance for sensitivity labels based on the input content and labels. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ComputeRightsAndInheritanceResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Computes the rights and inheritance for sensitivity labels based on the input content and labels. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Rights/RightsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Rights/RightsRequestBuilder.cs new file mode 100644 index 000000000000..d3a15ee3870d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Rights/RightsRequestBuilder.cs @@ -0,0 +1,126 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Rights +{ + /// + /// Provides operations to manage the rights property of the microsoft.graph.sensitivityLabel entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RightsRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RightsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/dataSecurityAndGovernance/sensitivityLabels/{sensitivityLabel%2Did}/rights{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RightsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/dataSecurityAndGovernance/sensitivityLabels/{sensitivityLabel%2Did}/rights{?%24expand,%24select}", rawUrl) + { + } + /// + /// Get the usage rights granted to the calling user for a specific sensitivity label that has admin-defined permissions. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#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> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.UsageRightsIncluded.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the usage rights granted to the calling user for a specific sensitivity label that has admin-defined permissions. + /// + /// A + /// 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(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Rights.RightsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Rights.RightsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the usage rights granted to the calling user for a specific sensitivity label that has admin-defined permissions. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RightsRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RightsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/SensitivityLabelItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/SensitivityLabelItemRequestBuilder.cs index 8c9a48765a50..e9c95014afe4 100644 --- a/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/SensitivityLabelItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/SensitivityLabelItemRequestBuilder.cs @@ -2,6 +2,7 @@ #pragma warning disable CS0618 using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Rights; using Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; @@ -19,6 +20,11 @@ namespace Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLab [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class SensitivityLabelItemRequestBuilder : BaseRequestBuilder { + /// Provides operations to manage the rights property of the microsoft.graph.sensitivityLabel entity. + public global::Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Rights.RightsRequestBuilder Rights + { + get => new global::Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Rights.RightsRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the sublabels property of the microsoft.graph.sensitivityLabel entity. public global::Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.SublabelsRequestBuilder Sublabels { @@ -63,7 +69,8 @@ public async Task DeleteAsync(Action - /// Get sensitivityLabels from security + /// Get a sensitivity label available for the entire tenant. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -129,7 +136,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get sensitivityLabels from security + /// Get a sensitivity label available for the entire tenant. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -187,7 +194,7 @@ public partial class SensitivityLabelItemRequestBuilderDeleteRequestConfiguratio { } /// - /// Get sensitivityLabels from security + /// Get a sensitivity label available for the entire tenant. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class SensitivityLabelItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.cs new file mode 100644 index 000000000000..990b04d96f12 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.cs @@ -0,0 +1,105 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats +{ + /// + /// Provides operations to call the computeInheritance method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Usage: contentFormats={contentFormats} + /// Usage: labelIds={labelIds} + /// Usage: locale='{locale}' + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter, string contentFormats = "", string labelIds = "", string locale = "") : base(requestAdapter, "{+baseurl}/security/dataSecurityAndGovernance/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/computeInheritance(labelIds={labelIds},locale='{locale}',contentFormats={contentFormats})", pathParameters) + { + if (!string.IsNullOrWhiteSpace(contentFormats)) PathParameters.Add("contentFormats", contentFormats); + if (!string.IsNullOrWhiteSpace(labelIds)) PathParameters.Add("labelIds", labelIds); + if (!string.IsNullOrWhiteSpace(locale)) PathParameters.Add("locale", locale); + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/dataSecurityAndGovernance/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/computeInheritance(labelIds={labelIds},locale='{locale}',contentFormats={contentFormats})", rawUrl) + { + } + /// + /// Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#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> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.SensitivityLabel.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + /// + /// A + /// 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(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.cs b/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.cs new file mode 100644 index 000000000000..fcb9ca1ee5c1 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.cs @@ -0,0 +1,136 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ComputeRightsAndInheritancePostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// 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") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The delegatedUserEmail property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DelegatedUserEmail + { + get { return BackingStore?.Get("delegatedUserEmail"); } + set { BackingStore?.Set("delegatedUserEmail", value); } + } +#nullable restore +#else + public string DelegatedUserEmail + { + get { return BackingStore?.Get("delegatedUserEmail"); } + set { BackingStore?.Set("delegatedUserEmail", value); } + } +#endif + /// The locale property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Locale + { + get { return BackingStore?.Get("locale"); } + set { BackingStore?.Set("locale", value); } + } +#nullable restore +#else + public string Locale + { + get { return BackingStore?.Get("locale"); } + set { BackingStore?.Set("locale", value); } + } +#endif + /// The protectedContents property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? ProtectedContents + { + get { return BackingStore?.Get?>("protectedContents"); } + set { BackingStore?.Set("protectedContents", value); } + } +#nullable restore +#else + public List ProtectedContents + { + get { return BackingStore?.Get>("protectedContents"); } + set { BackingStore?.Set("protectedContents", value); } + } +#endif + /// The supportedContentFormats property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? SupportedContentFormats + { + get { return BackingStore?.Get?>("supportedContentFormats"); } + set { BackingStore?.Set("supportedContentFormats", value); } + } +#nullable restore +#else + public List SupportedContentFormats + { + get { return BackingStore?.Get>("supportedContentFormats"); } + set { BackingStore?.Set("supportedContentFormats", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ComputeRightsAndInheritancePostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "delegatedUserEmail", n => { DelegatedUserEmail = n.GetStringValue(); } }, + { "locale", n => { Locale = n.GetStringValue(); } }, + { "protectedContents", n => { ProtectedContents = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ProtectedContent.CreateFromDiscriminatorValue)?.AsList(); } }, + { "supportedContentFormats", n => { SupportedContentFormats = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("delegatedUserEmail", DelegatedUserEmail); + writer.WriteStringValue("locale", Locale); + writer.WriteCollectionOfObjectValues("protectedContents", ProtectedContents); + writer.WriteCollectionOfPrimitiveValues("supportedContentFormats", SupportedContentFormats); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.cs new file mode 100644 index 000000000000..2a0553ee902a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.cs @@ -0,0 +1,104 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance +{ + /// + /// Provides operations to call the computeRightsAndInheritance method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComputeRightsAndInheritanceRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ComputeRightsAndInheritanceRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/dataSecurityAndGovernance/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/computeRightsAndInheritance", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ComputeRightsAndInheritanceRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/dataSecurityAndGovernance/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/computeRightsAndInheritance", rawUrl) + { + } + /// + /// Computes the rights and inheritance for sensitivity labels based on the input content and labels. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ComputeRightsAndInheritanceResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Computes the rights and inheritance for sensitivity labels based on the input content and labels. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Item/Rights/RightsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Item/Rights/RightsRequestBuilder.cs new file mode 100644 index 000000000000..37bd8453bcd8 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Item/Rights/RightsRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.Rights +{ + /// + /// Provides operations to manage the rights property of the microsoft.graph.sensitivityLabel entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RightsRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RightsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/dataSecurityAndGovernance/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/{sensitivityLabel%2Did1}/rights{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RightsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/dataSecurityAndGovernance/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/{sensitivityLabel%2Did1}/rights{?%24expand,%24select}", rawUrl) + { + } + /// + /// Get rights from security + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#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> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.UsageRightsIncluded.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get rights from security + /// + /// A + /// 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(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.Rights.RightsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.Rights.RightsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get rights from security + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RightsRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RightsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Item/SensitivityLabelItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Item/SensitivityLabelItemRequestBuilder.cs index 2069be8cbe20..fe07941d6079 100644 --- a/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Item/SensitivityLabelItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Item/SensitivityLabelItemRequestBuilder.cs @@ -2,6 +2,7 @@ #pragma warning disable CS0618 using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.Rights; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; using Microsoft.Kiota.Abstractions; @@ -18,6 +19,11 @@ namespace Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLab [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class SensitivityLabelItemRequestBuilder : BaseRequestBuilder { + /// Provides operations to manage the rights property of the microsoft.graph.sensitivityLabel entity. + public global::Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.Rights.RightsRequestBuilder Rights + { + get => new global::Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.Rights.RightsRequestBuilder(PathParameters, RequestAdapter); + } /// /// Instantiates a new and sets the default values. /// diff --git a/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/SublabelsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/SublabelsRequestBuilder.cs index b739d3e03a4e..d19bdffe90e4 100644 --- a/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/SublabelsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/SublabelsRequestBuilder.cs @@ -2,6 +2,8 @@ #pragma warning disable CS0618 using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats; +using Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance; using Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Count; using Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Evaluate; using Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item; @@ -21,6 +23,11 @@ namespace Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLab [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class SublabelsRequestBuilder : BaseRequestBuilder { + /// Provides operations to call the computeRightsAndInheritance method. + public global::Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder ComputeRightsAndInheritance + { + get => new global::Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to count the resources in the collection. public global::Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Count.CountRequestBuilder Count { @@ -44,6 +51,20 @@ public partial class SublabelsRequestBuilder : BaseRequestBuilder } } /// + /// Provides operations to call the computeInheritance method. + /// + /// A + /// Usage: contentFormats={contentFormats} + /// Usage: labelIds={labelIds} + /// Usage: locale='{locale}' + public global::Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats(string contentFormats, string labelIds, string locale) + { + if(string.IsNullOrEmpty(contentFormats)) throw new ArgumentNullException(nameof(contentFormats)); + if(string.IsNullOrEmpty(labelIds)) throw new ArgumentNullException(nameof(labelIds)); + if(string.IsNullOrEmpty(locale)) throw new ArgumentNullException(nameof(locale)); + return new global::Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(PathParameters, RequestAdapter, contentFormats, labelIds, locale); + } + /// /// Instantiates a new and sets the default values. /// /// Path parameters for the request diff --git a/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/SensitivityLabelsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/SensitivityLabelsRequestBuilder.cs index fb8493ceca04..5410c03fa0b7 100644 --- a/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/SensitivityLabelsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/SensitivityLabelsRequestBuilder.cs @@ -2,6 +2,8 @@ #pragma warning disable CS0618 using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats; +using Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance; using Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Count; using Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Evaluate; using Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item; @@ -21,6 +23,11 @@ namespace Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLab [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class SensitivityLabelsRequestBuilder : BaseRequestBuilder { + /// Provides operations to call the computeRightsAndInheritance method. + public global::Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder ComputeRightsAndInheritance + { + get => new global::Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to count the resources in the collection. public global::Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Count.CountRequestBuilder Count { @@ -44,6 +51,20 @@ public partial class SensitivityLabelsRequestBuilder : BaseRequestBuilder } } /// + /// Provides operations to call the computeInheritance method. + /// + /// A + /// Usage: contentFormats={contentFormats} + /// Usage: labelIds={labelIds} + /// Usage: locale='{locale}' + public global::Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats(string contentFormats, string labelIds, string locale) + { + if(string.IsNullOrEmpty(contentFormats)) throw new ArgumentNullException(nameof(contentFormats)); + if(string.IsNullOrEmpty(labelIds)) throw new ArgumentNullException(nameof(labelIds)); + if(string.IsNullOrEmpty(locale)) throw new ArgumentNullException(nameof(locale)); + return new global::Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(PathParameters, RequestAdapter, contentFormats, labelIds, locale); + } + /// /// Instantiates a new and sets the default values. /// /// Path parameters for the request @@ -60,7 +81,8 @@ public SensitivityLabelsRequestBuilder(string rawUrl, IRequestAdapter requestAda { } /// - /// Get sensitivityLabels from security + /// List the sensitivity labels available to a specific user. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -108,7 +130,7 @@ public SensitivityLabelsRequestBuilder(string rawUrl, IRequestAdapter requestAda return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.SensitivityLabel.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get sensitivityLabels from security + /// List the sensitivity labels available to a specific user. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -158,7 +180,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.SensitivityLabelsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Get sensitivityLabels from security + /// List the sensitivity labels available to a specific user. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class SensitivityLabelsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Security/InformationProtection/SensitivityLabels/Item/Parent/ParentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/InformationProtection/SensitivityLabels/Item/Parent/ParentRequestBuilder.cs index 772d74637609..e729b9934a82 100644 --- a/src/Microsoft.Graph/Generated/Security/InformationProtection/SensitivityLabels/Item/Parent/ParentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/InformationProtection/SensitivityLabels/Item/Parent/ParentRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// The parent label associated with a child label. Null if the label has no parent. + /// Get parent from security /// /// A /// Cancellation token to use when cancelling requests @@ -123,7 +123,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// The parent label associated with a child label. Null if the label has no parent. + /// Get parent from security /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -181,7 +181,7 @@ public partial class ParentRequestBuilderDeleteRequestConfiguration : RequestCon { } /// - /// The parent label associated with a child label. Null if the label has no parent. + /// Get parent from security /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ParentRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/ClaimsPolicy/ClaimsPolicyRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/ClaimsPolicy/ClaimsPolicyRequestBuilder.cs index 5718782d0b17..2ac15b318344 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/ClaimsPolicy/ClaimsPolicyRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/ClaimsPolicy/ClaimsPolicyRequestBuilder.cs @@ -59,8 +59,8 @@ public ClaimsPolicyRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.CustomClaimsPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create a new customClaimsPolicy object if it doesn't exist, or replace an existing one. - /// Find more info here + /// Update a customClaimsPolicy object. + /// Find more info here /// /// A /// The request body @@ -85,8 +85,8 @@ public ClaimsPolicyRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.CustomClaimsPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create a new customClaimsPolicy object if it doesn't exist, or replace an existing one. - /// Find more info here + /// Update a customClaimsPolicy object. + /// Find more info here /// /// A /// The request body @@ -130,7 +130,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new customClaimsPolicy object if it doesn't exist, or replace an existing one. + /// Update a customClaimsPolicy object. /// /// A /// The request body @@ -152,7 +152,7 @@ public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta return requestInfo; } /// - /// Create a new customClaimsPolicy object if it doesn't exist, or replace an existing one. + /// Update a customClaimsPolicy object. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Sites/Item/InformationProtection/SensitivityLabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/InformationProtection/SensitivityLabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.cs new file mode 100644 index 000000000000..bea647bb3b77 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Sites/Item/InformationProtection/SensitivityLabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.cs @@ -0,0 +1,105 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats +{ + /// + /// Provides operations to call the computeInheritance method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Usage: contentFormats={contentFormats} + /// Usage: labelIds={labelIds} + /// Usage: locale='{locale}' + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter, string contentFormats = "", string labelIds = "", string locale = "") : base(requestAdapter, "{+baseurl}/sites/{site%2Did}/informationProtection/sensitivityLabels/computeInheritance(labelIds={labelIds},locale='{locale}',contentFormats={contentFormats})", pathParameters) + { + if (!string.IsNullOrWhiteSpace(contentFormats)) PathParameters.Add("contentFormats", contentFormats); + if (!string.IsNullOrWhiteSpace(labelIds)) PathParameters.Add("labelIds", labelIds); + if (!string.IsNullOrWhiteSpace(locale)) PathParameters.Add("locale", locale); + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/sites/{site%2Did}/informationProtection/sensitivityLabels/computeInheritance(labelIds={labelIds},locale='{locale}',contentFormats={contentFormats})", rawUrl) + { + } + /// + /// Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#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> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.SensitivityLabel.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + /// + /// A + /// 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(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Sites/Item/InformationProtection/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.cs b/src/Microsoft.Graph/Generated/Sites/Item/InformationProtection/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.cs new file mode 100644 index 000000000000..cac9cd49ebaf --- /dev/null +++ b/src/Microsoft.Graph/Generated/Sites/Item/InformationProtection/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.cs @@ -0,0 +1,136 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ComputeRightsAndInheritancePostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// 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") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The delegatedUserEmail property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DelegatedUserEmail + { + get { return BackingStore?.Get("delegatedUserEmail"); } + set { BackingStore?.Set("delegatedUserEmail", value); } + } +#nullable restore +#else + public string DelegatedUserEmail + { + get { return BackingStore?.Get("delegatedUserEmail"); } + set { BackingStore?.Set("delegatedUserEmail", value); } + } +#endif + /// The locale property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Locale + { + get { return BackingStore?.Get("locale"); } + set { BackingStore?.Set("locale", value); } + } +#nullable restore +#else + public string Locale + { + get { return BackingStore?.Get("locale"); } + set { BackingStore?.Set("locale", value); } + } +#endif + /// The protectedContents property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? ProtectedContents + { + get { return BackingStore?.Get?>("protectedContents"); } + set { BackingStore?.Set("protectedContents", value); } + } +#nullable restore +#else + public List ProtectedContents + { + get { return BackingStore?.Get>("protectedContents"); } + set { BackingStore?.Set("protectedContents", value); } + } +#endif + /// The supportedContentFormats property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? SupportedContentFormats + { + get { return BackingStore?.Get?>("supportedContentFormats"); } + set { BackingStore?.Set("supportedContentFormats", value); } + } +#nullable restore +#else + public List SupportedContentFormats + { + get { return BackingStore?.Get>("supportedContentFormats"); } + set { BackingStore?.Set("supportedContentFormats", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ComputeRightsAndInheritancePostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "delegatedUserEmail", n => { DelegatedUserEmail = n.GetStringValue(); } }, + { "locale", n => { Locale = n.GetStringValue(); } }, + { "protectedContents", n => { ProtectedContents = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ProtectedContent.CreateFromDiscriminatorValue)?.AsList(); } }, + { "supportedContentFormats", n => { SupportedContentFormats = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("delegatedUserEmail", DelegatedUserEmail); + writer.WriteStringValue("locale", Locale); + writer.WriteCollectionOfObjectValues("protectedContents", ProtectedContents); + writer.WriteCollectionOfPrimitiveValues("supportedContentFormats", SupportedContentFormats); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Sites/Item/InformationProtection/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/InformationProtection/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.cs new file mode 100644 index 000000000000..f7ae0da8444c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Sites/Item/InformationProtection/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.cs @@ -0,0 +1,104 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance +{ + /// + /// Provides operations to call the computeRightsAndInheritance method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComputeRightsAndInheritanceRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ComputeRightsAndInheritanceRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/sites/{site%2Did}/informationProtection/sensitivityLabels/computeRightsAndInheritance", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ComputeRightsAndInheritanceRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/sites/{site%2Did}/informationProtection/sensitivityLabels/computeRightsAndInheritance", rawUrl) + { + } + /// + /// Computes the rights and inheritance for sensitivity labels based on the input content and labels. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ComputeRightsAndInheritanceResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Computes the rights and inheritance for sensitivity labels based on the input content and labels. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Sites/Item/InformationProtection/SensitivityLabels/Item/Rights/RightsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/InformationProtection/SensitivityLabels/Item/Rights/RightsRequestBuilder.cs new file mode 100644 index 000000000000..eafd4101cf3a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Sites/Item/InformationProtection/SensitivityLabels/Item/Rights/RightsRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Rights +{ + /// + /// Provides operations to manage the rights property of the microsoft.graph.sensitivityLabel entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RightsRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RightsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/sites/{site%2Did}/informationProtection/sensitivityLabels/{sensitivityLabel%2Did}/rights{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RightsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/sites/{site%2Did}/informationProtection/sensitivityLabels/{sensitivityLabel%2Did}/rights{?%24expand,%24select}", rawUrl) + { + } + /// + /// Get rights from sites + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#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> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.UsageRightsIncluded.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get rights from sites + /// + /// A + /// 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(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Rights.RightsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Rights.RightsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get rights from sites + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RightsRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RightsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Sites/Item/InformationProtection/SensitivityLabels/Item/SensitivityLabelItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/InformationProtection/SensitivityLabels/Item/SensitivityLabelItemRequestBuilder.cs index 08bbd66a6919..cde0ae0b206a 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/InformationProtection/SensitivityLabels/Item/SensitivityLabelItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/InformationProtection/SensitivityLabels/Item/SensitivityLabelItemRequestBuilder.cs @@ -2,6 +2,7 @@ #pragma warning disable CS0618 using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Rights; using Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; @@ -19,6 +20,11 @@ namespace Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabel [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class SensitivityLabelItemRequestBuilder : BaseRequestBuilder { + /// Provides operations to manage the rights property of the microsoft.graph.sensitivityLabel entity. + public global::Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Rights.RightsRequestBuilder Rights + { + get => new global::Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Rights.RightsRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the sublabels property of the microsoft.graph.sensitivityLabel entity. public global::Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.SublabelsRequestBuilder Sublabels { diff --git a/src/Microsoft.Graph/Generated/Sites/Item/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.cs new file mode 100644 index 000000000000..1fa9618d7523 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Sites/Item/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.cs @@ -0,0 +1,105 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats +{ + /// + /// Provides operations to call the computeInheritance method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Usage: contentFormats={contentFormats} + /// Usage: labelIds={labelIds} + /// Usage: locale='{locale}' + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter, string contentFormats = "", string labelIds = "", string locale = "") : base(requestAdapter, "{+baseurl}/sites/{site%2Did}/informationProtection/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/computeInheritance(labelIds={labelIds},locale='{locale}',contentFormats={contentFormats})", pathParameters) + { + if (!string.IsNullOrWhiteSpace(contentFormats)) PathParameters.Add("contentFormats", contentFormats); + if (!string.IsNullOrWhiteSpace(labelIds)) PathParameters.Add("labelIds", labelIds); + if (!string.IsNullOrWhiteSpace(locale)) PathParameters.Add("locale", locale); + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/sites/{site%2Did}/informationProtection/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/computeInheritance(labelIds={labelIds},locale='{locale}',contentFormats={contentFormats})", rawUrl) + { + } + /// + /// Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#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> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.SensitivityLabel.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + /// + /// A + /// 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(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Sites/Item/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.cs b/src/Microsoft.Graph/Generated/Sites/Item/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.cs new file mode 100644 index 000000000000..13681bdfecdf --- /dev/null +++ b/src/Microsoft.Graph/Generated/Sites/Item/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.cs @@ -0,0 +1,136 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ComputeRightsAndInheritancePostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// 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") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The delegatedUserEmail property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DelegatedUserEmail + { + get { return BackingStore?.Get("delegatedUserEmail"); } + set { BackingStore?.Set("delegatedUserEmail", value); } + } +#nullable restore +#else + public string DelegatedUserEmail + { + get { return BackingStore?.Get("delegatedUserEmail"); } + set { BackingStore?.Set("delegatedUserEmail", value); } + } +#endif + /// The locale property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Locale + { + get { return BackingStore?.Get("locale"); } + set { BackingStore?.Set("locale", value); } + } +#nullable restore +#else + public string Locale + { + get { return BackingStore?.Get("locale"); } + set { BackingStore?.Set("locale", value); } + } +#endif + /// The protectedContents property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? ProtectedContents + { + get { return BackingStore?.Get?>("protectedContents"); } + set { BackingStore?.Set("protectedContents", value); } + } +#nullable restore +#else + public List ProtectedContents + { + get { return BackingStore?.Get>("protectedContents"); } + set { BackingStore?.Set("protectedContents", value); } + } +#endif + /// The supportedContentFormats property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? SupportedContentFormats + { + get { return BackingStore?.Get?>("supportedContentFormats"); } + set { BackingStore?.Set("supportedContentFormats", value); } + } +#nullable restore +#else + public List SupportedContentFormats + { + get { return BackingStore?.Get>("supportedContentFormats"); } + set { BackingStore?.Set("supportedContentFormats", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ComputeRightsAndInheritancePostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "delegatedUserEmail", n => { DelegatedUserEmail = n.GetStringValue(); } }, + { "locale", n => { Locale = n.GetStringValue(); } }, + { "protectedContents", n => { ProtectedContents = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ProtectedContent.CreateFromDiscriminatorValue)?.AsList(); } }, + { "supportedContentFormats", n => { SupportedContentFormats = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("delegatedUserEmail", DelegatedUserEmail); + writer.WriteStringValue("locale", Locale); + writer.WriteCollectionOfObjectValues("protectedContents", ProtectedContents); + writer.WriteCollectionOfPrimitiveValues("supportedContentFormats", SupportedContentFormats); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Sites/Item/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.cs new file mode 100644 index 000000000000..044347137208 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Sites/Item/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.cs @@ -0,0 +1,104 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance +{ + /// + /// Provides operations to call the computeRightsAndInheritance method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComputeRightsAndInheritanceRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ComputeRightsAndInheritanceRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/sites/{site%2Did}/informationProtection/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/computeRightsAndInheritance", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ComputeRightsAndInheritanceRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/sites/{site%2Did}/informationProtection/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/computeRightsAndInheritance", rawUrl) + { + } + /// + /// Computes the rights and inheritance for sensitivity labels based on the input content and labels. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ComputeRightsAndInheritanceResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Computes the rights and inheritance for sensitivity labels based on the input content and labels. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Sites/Item/InformationProtection/SensitivityLabels/Item/Sublabels/Item/Rights/RightsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/InformationProtection/SensitivityLabels/Item/Sublabels/Item/Rights/RightsRequestBuilder.cs new file mode 100644 index 000000000000..2d5fb6629576 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Sites/Item/InformationProtection/SensitivityLabels/Item/Sublabels/Item/Rights/RightsRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Item.Rights +{ + /// + /// Provides operations to manage the rights property of the microsoft.graph.sensitivityLabel entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RightsRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RightsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/sites/{site%2Did}/informationProtection/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/{sensitivityLabel%2Did1}/rights{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RightsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/sites/{site%2Did}/informationProtection/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/{sensitivityLabel%2Did1}/rights{?%24expand,%24select}", rawUrl) + { + } + /// + /// Get rights from sites + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#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> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.UsageRightsIncluded.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get rights from sites + /// + /// A + /// 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(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Item.Rights.RightsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Item.Rights.RightsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get rights from sites + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RightsRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RightsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Sites/Item/InformationProtection/SensitivityLabels/Item/Sublabels/Item/SensitivityLabelItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/InformationProtection/SensitivityLabels/Item/Sublabels/Item/SensitivityLabelItemRequestBuilder.cs index 5f9f1651345b..363262fe1a4c 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/InformationProtection/SensitivityLabels/Item/Sublabels/Item/SensitivityLabelItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/InformationProtection/SensitivityLabels/Item/Sublabels/Item/SensitivityLabelItemRequestBuilder.cs @@ -2,6 +2,7 @@ #pragma warning disable CS0618 using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Item.Rights; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; using Microsoft.Kiota.Abstractions; @@ -18,6 +19,11 @@ namespace Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabel [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class SensitivityLabelItemRequestBuilder : BaseRequestBuilder { + /// Provides operations to manage the rights property of the microsoft.graph.sensitivityLabel entity. + public global::Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Item.Rights.RightsRequestBuilder Rights + { + get => new global::Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Item.Rights.RightsRequestBuilder(PathParameters, RequestAdapter); + } /// /// Instantiates a new and sets the default values. /// diff --git a/src/Microsoft.Graph/Generated/Sites/Item/InformationProtection/SensitivityLabels/Item/Sublabels/SublabelsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/InformationProtection/SensitivityLabels/Item/Sublabels/SublabelsRequestBuilder.cs index eaa5556d170f..27185094df63 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/InformationProtection/SensitivityLabels/Item/Sublabels/SublabelsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/InformationProtection/SensitivityLabels/Item/Sublabels/SublabelsRequestBuilder.cs @@ -2,6 +2,8 @@ #pragma warning disable CS0618 using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats; +using Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance; using Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Count; using Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Evaluate; using Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Item; @@ -21,6 +23,11 @@ namespace Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabel [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class SublabelsRequestBuilder : BaseRequestBuilder { + /// Provides operations to call the computeRightsAndInheritance method. + public global::Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder ComputeRightsAndInheritance + { + get => new global::Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to count the resources in the collection. public global::Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Count.CountRequestBuilder Count { @@ -44,6 +51,20 @@ public partial class SublabelsRequestBuilder : BaseRequestBuilder } } /// + /// Provides operations to call the computeInheritance method. + /// + /// A + /// Usage: contentFormats={contentFormats} + /// Usage: labelIds={labelIds} + /// Usage: locale='{locale}' + public global::Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats(string contentFormats, string labelIds, string locale) + { + if(string.IsNullOrEmpty(contentFormats)) throw new ArgumentNullException(nameof(contentFormats)); + if(string.IsNullOrEmpty(labelIds)) throw new ArgumentNullException(nameof(labelIds)); + if(string.IsNullOrEmpty(locale)) throw new ArgumentNullException(nameof(locale)); + return new global::Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(PathParameters, RequestAdapter, contentFormats, labelIds, locale); + } + /// /// Instantiates a new and sets the default values. /// /// Path parameters for the request diff --git a/src/Microsoft.Graph/Generated/Sites/Item/InformationProtection/SensitivityLabels/SensitivityLabelsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/InformationProtection/SensitivityLabels/SensitivityLabelsRequestBuilder.cs index da17ae116294..03ed9decfecf 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/InformationProtection/SensitivityLabels/SensitivityLabelsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/InformationProtection/SensitivityLabels/SensitivityLabelsRequestBuilder.cs @@ -2,6 +2,8 @@ #pragma warning disable CS0618 using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats; +using Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance; using Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Count; using Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Evaluate; using Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item; @@ -21,6 +23,11 @@ namespace Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabel [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class SensitivityLabelsRequestBuilder : BaseRequestBuilder { + /// Provides operations to call the computeRightsAndInheritance method. + public global::Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder ComputeRightsAndInheritance + { + get => new global::Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to count the resources in the collection. public global::Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Count.CountRequestBuilder Count { @@ -44,6 +51,20 @@ public partial class SensitivityLabelsRequestBuilder : BaseRequestBuilder } } /// + /// Provides operations to call the computeInheritance method. + /// + /// A + /// Usage: contentFormats={contentFormats} + /// Usage: labelIds={labelIds} + /// Usage: locale='{locale}' + public global::Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats(string contentFormats, string labelIds, string locale) + { + if(string.IsNullOrEmpty(contentFormats)) throw new ArgumentNullException(nameof(contentFormats)); + if(string.IsNullOrEmpty(labelIds)) throw new ArgumentNullException(nameof(labelIds)); + if(string.IsNullOrEmpty(locale)) throw new ArgumentNullException(nameof(locale)); + return new global::Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(PathParameters, RequestAdapter, contentFormats, labelIds, locale); + } + /// /// Instantiates a new and sets the default values. /// /// Path parameters for the request 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 e5cd16dccf8a..025d02f908ed 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ListItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ListItemRequestBuilder.cs @@ -117,8 +117,8 @@ public async Task DeleteAsync(Action - /// Get the list of richLongRunningOperations associated with a list. - /// Find more info here + /// Return the metadata for a list. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -184,7 +184,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get the list of richLongRunningOperations associated with a list. + /// Return the metadata for a list. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -242,7 +242,7 @@ public partial class ListItemRequestBuilderDeleteRequestConfiguration : RequestC { } /// - /// Get the list of richLongRunningOperations associated with a list. + /// Return the metadata for a list. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ListItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Pages/PagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Pages/PagesRequestBuilder.cs index c6bb7aafd1f5..591f0697f310 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Pages/PagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Pages/PagesRequestBuilder.cs @@ -84,8 +84,8 @@ public PagesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.BaseSitePageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create a new newsLinkPage in the site pages list of a site. - /// Find more info here + /// Create a new sitePage in the site pages list in a site. + /// Find more info here /// /// A /// The request body @@ -129,7 +129,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new newsLinkPage in the site pages list of a site. + /// Create a new sitePage in the site pages list in a site. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Sites/Item/RecycleBin/Items/Delete/DeletePostRequestBody.cs b/src/Microsoft.Graph/Generated/Sites/Item/RecycleBin/Items/Delete/DeletePostRequestBody.cs new file mode 100644 index 000000000000..60d99805e5bf --- /dev/null +++ b/src/Microsoft.Graph/Generated/Sites/Item/RecycleBin/Items/Delete/DeletePostRequestBody.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.Delete +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class DeletePostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// 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") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The ids property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Ids + { + get { return BackingStore?.Get?>("ids"); } + set { BackingStore?.Set("ids", value); } + } +#nullable restore +#else + public List Ids + { + get { return BackingStore?.Get>("ids"); } + set { BackingStore?.Set("ids", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public DeletePostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.Delete.DeletePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.Delete.DeletePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "ids", n => { Ids = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfPrimitiveValues("ids", Ids); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Sites/Item/RecycleBin/Items/Delete/DeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/RecycleBin/Items/Delete/DeleteRequestBuilder.cs new file mode 100644 index 000000000000..4e27e81c7d97 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Sites/Item/RecycleBin/Items/Delete/DeleteRequestBuilder.cs @@ -0,0 +1,100 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.Delete +{ + /// + /// Provides operations to call the delete method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeleteRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public DeleteRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/sites/{site%2Did}/recycleBin/items/delete", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public DeleteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/sites/{site%2Did}/recycleBin/items/delete", rawUrl) + { + } + /// + /// Invoke action delete + /// + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.Delete.DeletePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.Delete.DeletePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action delete + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.Delete.DeletePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.Delete.DeletePostRequestBody body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.Delete.DeleteRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.Delete.DeleteRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeleteRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Sites/Item/RecycleBin/Items/ItemsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/RecycleBin/Items/ItemsRequestBuilder.cs index 1219b40288a4..e87c019d35b0 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/RecycleBin/Items/ItemsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/RecycleBin/Items/ItemsRequestBuilder.cs @@ -3,7 +3,9 @@ using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.Models; using Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.Count; +using Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.Delete; using Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.Item; +using Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.Restore; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; using Microsoft.Kiota.Abstractions; @@ -25,6 +27,16 @@ public partial class ItemsRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.Count.CountRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the delete method. + public global::Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.Delete.DeleteRequestBuilder DeletePath + { + get => new global::Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.Delete.DeleteRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the restore method. + public global::Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.Restore.RestoreRequestBuilder Restore + { + get => new global::Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.Restore.RestoreRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the items property of the microsoft.graph.recycleBin entity. /// The unique identifier of recycleBinItem /// A diff --git a/src/Microsoft.Graph/Generated/Sites/Item/RecycleBin/Items/Restore/RestorePostRequestBody.cs b/src/Microsoft.Graph/Generated/Sites/Item/RecycleBin/Items/Restore/RestorePostRequestBody.cs new file mode 100644 index 000000000000..dd8451bcadce --- /dev/null +++ b/src/Microsoft.Graph/Generated/Sites/Item/RecycleBin/Items/Restore/RestorePostRequestBody.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.Restore +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RestorePostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// 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") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The ids property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Ids + { + get { return BackingStore?.Get?>("ids"); } + set { BackingStore?.Set("ids", value); } + } +#nullable restore +#else + public List Ids + { + get { return BackingStore?.Get>("ids"); } + set { BackingStore?.Set("ids", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public RestorePostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.Restore.RestorePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.Restore.RestorePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "ids", n => { Ids = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfPrimitiveValues("ids", Ids); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Sites/Item/RecycleBin/Items/Restore/RestorePostResponse.cs b/src/Microsoft.Graph/Generated/Sites/Item/RecycleBin/Items/Restore/RestorePostResponse.cs new file mode 100644 index 000000000000..af983e8bc63e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Sites/Item/RecycleBin/Items/Restore/RestorePostResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.Restore +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RestorePostResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// 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 + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.Restore.RestorePostResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.Restore.RestorePostResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.RecycleBinItem.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Sites/Item/RecycleBin/Items/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/RecycleBin/Items/Restore/RestoreRequestBuilder.cs new file mode 100644 index 000000000000..25416318e052 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Sites/Item/RecycleBin/Items/Restore/RestoreRequestBuilder.cs @@ -0,0 +1,128 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.Restore +{ + /// + /// Provides operations to call the restore method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RestoreRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RestoreRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/sites/{site%2Did}/recycleBin/items/restore", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/sites/{site%2Did}/recycleBin/items/restore", rawUrl) + { + } + /// + /// Invoke action restore + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsRestorePostResponseAsync(global::Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.Restore.RestorePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsRestorePostResponseAsync(global::Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.Restore.RestorePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.Restore.RestorePostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action restore + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code + [Obsolete("This method is obsolete. Use PostAsRestorePostResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.Restore.RestorePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.Restore.RestorePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.Restore.RestoreResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action restore + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.Restore.RestorePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.Restore.RestorePostRequestBody body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.Restore.RestoreRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.Restore.RestoreRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RestoreRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Sites/Item/RecycleBin/Items/Restore/RestoreResponse.cs b/src/Microsoft.Graph/Generated/Sites/Item/RecycleBin/Items/Restore/RestoreResponse.cs new file mode 100644 index 000000000000..9637eaa48788 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Sites/Item/RecycleBin/Items/Restore/RestoreResponse.cs @@ -0,0 +1,28 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.Restore +{ + [Obsolete("This class is obsolete. Use RestorePostResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RestoreResponse : global::Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.Restore.RestorePostResponse, IParsable + #pragma warning restore CS1591 + { + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.Restore.RestoreResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.Restore.RestoreResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Sites/SitesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/SitesRequestBuilder.cs index d0e588dfc9d5..92dac91f6517 100644 --- a/src/Microsoft.Graph/Generated/Sites/SitesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/SitesRequestBuilder.cs @@ -78,8 +78,8 @@ public SitesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base { } /// - /// 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. - /// 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. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public SitesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.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. + /// 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. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -130,7 +130,7 @@ public RequestInformation ToGetRequestInformation(Action - /// 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. + /// 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. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class SitesRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/RecycleBin/Items/Delete/DeletePostRequestBody.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/RecycleBin/Items/Delete/DeletePostRequestBody.cs new file mode 100644 index 000000000000..32ccbfa4c4ab --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/RecycleBin/Items/Delete/DeletePostRequestBody.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.Delete +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class DeletePostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// 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") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The ids property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Ids + { + get { return BackingStore?.Get?>("ids"); } + set { BackingStore?.Set("ids", value); } + } +#nullable restore +#else + public List Ids + { + get { return BackingStore?.Get>("ids"); } + set { BackingStore?.Set("ids", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public DeletePostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.Delete.DeletePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.Delete.DeletePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "ids", n => { Ids = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfPrimitiveValues("ids", Ids); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/RecycleBin/Items/Delete/DeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/RecycleBin/Items/Delete/DeleteRequestBuilder.cs new file mode 100644 index 000000000000..b82c13c0ee88 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/RecycleBin/Items/Delete/DeleteRequestBuilder.cs @@ -0,0 +1,100 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.Delete +{ + /// + /// Provides operations to call the delete method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeleteRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public DeleteRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/recycleBin/items/delete", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public DeleteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/recycleBin/items/delete", rawUrl) + { + } + /// + /// Invoke action delete + /// + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.Delete.DeletePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.Delete.DeletePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action delete + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.Delete.DeletePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.Delete.DeletePostRequestBody body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.Delete.DeleteRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.Delete.DeleteRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeleteRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/RecycleBin/Items/ItemsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/RecycleBin/Items/ItemsRequestBuilder.cs index 197f54bd7a1a..d66a222e67e7 100644 --- a/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/RecycleBin/Items/ItemsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/RecycleBin/Items/ItemsRequestBuilder.cs @@ -3,7 +3,9 @@ using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.Models; using Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.Count; +using Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.Delete; using Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item; +using Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.Restore; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; using Microsoft.Kiota.Abstractions; @@ -25,6 +27,16 @@ public partial class ItemsRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.Count.CountRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the delete method. + public global::Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.Delete.DeleteRequestBuilder DeletePath + { + get => new global::Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.Delete.DeleteRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the restore method. + public global::Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.Restore.RestoreRequestBuilder Restore + { + get => new global::Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.Restore.RestoreRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the items property of the microsoft.graph.recycleBin entity. /// The unique identifier of recycleBinItem /// A diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/RecycleBin/Items/Restore/RestorePostRequestBody.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/RecycleBin/Items/Restore/RestorePostRequestBody.cs new file mode 100644 index 000000000000..5bbe27ab067b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/RecycleBin/Items/Restore/RestorePostRequestBody.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.Restore +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RestorePostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// 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") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The ids property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Ids + { + get { return BackingStore?.Get?>("ids"); } + set { BackingStore?.Set("ids", value); } + } +#nullable restore +#else + public List Ids + { + get { return BackingStore?.Get>("ids"); } + set { BackingStore?.Set("ids", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public RestorePostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.Restore.RestorePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.Restore.RestorePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "ids", n => { Ids = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfPrimitiveValues("ids", Ids); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/RecycleBin/Items/Restore/RestorePostResponse.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/RecycleBin/Items/Restore/RestorePostResponse.cs new file mode 100644 index 000000000000..051a5a34e182 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/RecycleBin/Items/Restore/RestorePostResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.Restore +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RestorePostResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// 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 + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.Restore.RestorePostResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.Restore.RestorePostResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.RecycleBinItem.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/RecycleBin/Items/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/RecycleBin/Items/Restore/RestoreRequestBuilder.cs new file mode 100644 index 000000000000..e29cfba9e054 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/RecycleBin/Items/Restore/RestoreRequestBuilder.cs @@ -0,0 +1,128 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.Restore +{ + /// + /// Provides operations to call the restore method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RestoreRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RestoreRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/recycleBin/items/restore", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/recycleBin/items/restore", rawUrl) + { + } + /// + /// Invoke action restore + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsRestorePostResponseAsync(global::Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.Restore.RestorePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsRestorePostResponseAsync(global::Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.Restore.RestorePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.Restore.RestorePostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action restore + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code + [Obsolete("This method is obsolete. Use PostAsRestorePostResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.Restore.RestorePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.Restore.RestorePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.Restore.RestoreResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action restore + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.Restore.RestorePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.Restore.RestorePostRequestBody body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.Restore.RestoreRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.Restore.RestoreRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RestoreRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/RecycleBin/Items/Restore/RestoreResponse.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/RecycleBin/Items/Restore/RestoreResponse.cs new file mode 100644 index 000000000000..b281c020bfa3 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/RecycleBin/Items/Restore/RestoreResponse.cs @@ -0,0 +1,28 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.Restore +{ + [Obsolete("This class is obsolete. Use RestorePostResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RestoreResponse : global::Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.Restore.RestorePostResponse, IParsable + #pragma warning restore CS1591 + { + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.Restore.RestoreResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.Restore.RestoreResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/Items/Delete/DeletePostRequestBody.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/Items/Delete/DeletePostRequestBody.cs new file mode 100644 index 000000000000..5820e0cdcad8 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/Items/Delete/DeletePostRequestBody.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Delete +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class DeletePostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// 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") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The ids property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Ids + { + get { return BackingStore?.Get?>("ids"); } + set { BackingStore?.Set("ids", value); } + } +#nullable restore +#else + public List Ids + { + get { return BackingStore?.Get>("ids"); } + set { BackingStore?.Set("ids", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public DeletePostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Delete.DeletePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Delete.DeletePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "ids", n => { Ids = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfPrimitiveValues("ids", Ids); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/Items/Delete/DeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/Items/Delete/DeleteRequestBuilder.cs new file mode 100644 index 000000000000..3f691ab30512 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/Items/Delete/DeleteRequestBuilder.cs @@ -0,0 +1,100 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Delete +{ + /// + /// Provides operations to call the delete method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeleteRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public DeleteRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/recycleBin/items/delete", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public DeleteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/recycleBin/items/delete", rawUrl) + { + } + /// + /// Invoke action delete + /// + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Delete.DeletePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Delete.DeletePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action delete + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Delete.DeletePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Delete.DeletePostRequestBody body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Delete.DeleteRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Delete.DeleteRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeleteRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/Items/ItemsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/Items/ItemsRequestBuilder.cs index 7de831da9493..d186dee91451 100644 --- a/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/Items/ItemsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/Items/ItemsRequestBuilder.cs @@ -3,7 +3,9 @@ using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.Models; using Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Count; +using Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Delete; using Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item; +using Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Restore; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; using Microsoft.Kiota.Abstractions; @@ -25,6 +27,16 @@ public partial class ItemsRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Count.CountRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the delete method. + public global::Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Delete.DeleteRequestBuilder DeletePath + { + get => new global::Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Delete.DeleteRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the restore method. + public global::Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Restore.RestoreRequestBuilder Restore + { + get => new global::Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Restore.RestoreRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the items property of the microsoft.graph.recycleBin entity. /// The unique identifier of recycleBinItem /// A diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/Items/Restore/RestorePostRequestBody.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/Items/Restore/RestorePostRequestBody.cs new file mode 100644 index 000000000000..6960dbcfba14 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/Items/Restore/RestorePostRequestBody.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Restore +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RestorePostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// 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") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The ids property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Ids + { + get { return BackingStore?.Get?>("ids"); } + set { BackingStore?.Set("ids", value); } + } +#nullable restore +#else + public List Ids + { + get { return BackingStore?.Get>("ids"); } + set { BackingStore?.Set("ids", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public RestorePostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Restore.RestorePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Restore.RestorePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "ids", n => { Ids = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfPrimitiveValues("ids", Ids); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/Items/Restore/RestorePostResponse.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/Items/Restore/RestorePostResponse.cs new file mode 100644 index 000000000000..ffced41f973f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/Items/Restore/RestorePostResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Restore +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RestorePostResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// 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 + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Restore.RestorePostResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Restore.RestorePostResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.RecycleBinItem.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/Items/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/Items/Restore/RestoreRequestBuilder.cs new file mode 100644 index 000000000000..9b34eb6a9482 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/Items/Restore/RestoreRequestBuilder.cs @@ -0,0 +1,128 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Restore +{ + /// + /// Provides operations to call the restore method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RestoreRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RestoreRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/recycleBin/items/restore", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/recycleBin/items/restore", rawUrl) + { + } + /// + /// Invoke action restore + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsRestorePostResponseAsync(global::Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Restore.RestorePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsRestorePostResponseAsync(global::Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Restore.RestorePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Restore.RestorePostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action restore + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code + [Obsolete("This method is obsolete. Use PostAsRestorePostResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Restore.RestorePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Restore.RestorePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Restore.RestoreResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action restore + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Restore.RestorePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Restore.RestorePostRequestBody body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Restore.RestoreRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Restore.RestoreRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RestoreRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/Items/Restore/RestoreResponse.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/Items/Restore/RestoreResponse.cs new file mode 100644 index 000000000000..a3f8b3d838d5 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/Items/Restore/RestoreResponse.cs @@ -0,0 +1,28 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Restore +{ + [Obsolete("This class is obsolete. Use RestorePostResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RestoreResponse : global::Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Restore.RestorePostResponse, IParsable + #pragma warning restore CS1591 + { + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Restore.RestoreResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Restore.RestoreResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/MessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/MessagesRequestBuilder.cs index 2930d516721c..19229ad70831 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/MessagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/MessagesRequestBuilder.cs @@ -96,8 +96,8 @@ public MessagesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Send a new chatMessage in the specified channel or a chat. - /// Find more info here + /// Send a new chatMessage in the specified channel. + /// Find more info here /// /// A /// The request body @@ -141,7 +141,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Send a new chatMessage in the specified channel or a chat. + /// Send a new chatMessage in the specified channel. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/TeamTemplatesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/TeamTemplatesRequestBuilder.cs index ec05f67e2122..e8691f5a364e 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/TeamTemplatesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/TeamTemplatesRequestBuilder.cs @@ -54,8 +54,8 @@ public TeamTemplatesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// Get the list of teamTemplate objects that are available for a tenant. - /// Find more info here + /// List the teamTemplateDefinition objects associated with a teamTemplate. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -103,7 +103,7 @@ public TeamTemplatesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.TeamTemplate.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get the list of teamTemplate objects that are available for a tenant. + /// List the teamTemplateDefinition objects associated with a teamTemplate. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -153,7 +153,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.TeamTemplatesRequestBuilder(rawUrl, RequestAdapter); } /// - /// Get the list of teamTemplate objects that are available for a tenant. + /// List the teamTemplateDefinition objects associated with a teamTemplate. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class TeamTemplatesRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/TenantRelationships/MultiTenantOrganization/MultiTenantOrganizationRequestBuilder.cs b/src/Microsoft.Graph/Generated/TenantRelationships/MultiTenantOrganization/MultiTenantOrganizationRequestBuilder.cs index 377f98a9d322..490d893b408f 100644 --- a/src/Microsoft.Graph/Generated/TenantRelationships/MultiTenantOrganization/MultiTenantOrganizationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/TenantRelationships/MultiTenantOrganization/MultiTenantOrganizationRequestBuilder.cs @@ -71,8 +71,8 @@ public MultiTenantOrganizationRequestBuilder(string rawUrl, IRequestAdapter requ return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MultiTenantOrganization.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// 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. - /// Find more info here + /// Update the properties of a multi-tenant organization. + /// Find more info here /// /// A /// The request body @@ -116,7 +116,7 @@ public RequestInformation ToGetRequestInformation(Action - /// 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. + /// Update the properties of a multi-tenant organization. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.cs new file mode 100644 index 000000000000..d618ec5f6a67 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.cs @@ -0,0 +1,105 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats +{ + /// + /// Provides operations to call the computeInheritance method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Usage: contentFormats={contentFormats} + /// Usage: labelIds={labelIds} + /// Usage: locale='{locale}' + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter, string contentFormats = "", string labelIds = "", string locale = "") : base(requestAdapter, "{+baseurl}/users/{user%2Did}/dataSecurityAndGovernance/sensitivityLabels/computeInheritance(labelIds={labelIds},locale='{locale}',contentFormats={contentFormats})", pathParameters) + { + if (!string.IsNullOrWhiteSpace(contentFormats)) PathParameters.Add("contentFormats", contentFormats); + if (!string.IsNullOrWhiteSpace(labelIds)) PathParameters.Add("labelIds", labelIds); + if (!string.IsNullOrWhiteSpace(locale)) PathParameters.Add("locale", locale); + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/dataSecurityAndGovernance/sensitivityLabels/computeInheritance(labelIds={labelIds},locale='{locale}',contentFormats={contentFormats})", rawUrl) + { + } + /// + /// Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#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> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.SensitivityLabel.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + /// + /// A + /// 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(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.cs new file mode 100644 index 000000000000..8de7447b3b43 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.cs @@ -0,0 +1,136 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ComputeRightsAndInheritancePostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// 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") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The delegatedUserEmail property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DelegatedUserEmail + { + get { return BackingStore?.Get("delegatedUserEmail"); } + set { BackingStore?.Set("delegatedUserEmail", value); } + } +#nullable restore +#else + public string DelegatedUserEmail + { + get { return BackingStore?.Get("delegatedUserEmail"); } + set { BackingStore?.Set("delegatedUserEmail", value); } + } +#endif + /// The locale property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Locale + { + get { return BackingStore?.Get("locale"); } + set { BackingStore?.Set("locale", value); } + } +#nullable restore +#else + public string Locale + { + get { return BackingStore?.Get("locale"); } + set { BackingStore?.Set("locale", value); } + } +#endif + /// The protectedContents property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? ProtectedContents + { + get { return BackingStore?.Get?>("protectedContents"); } + set { BackingStore?.Set("protectedContents", value); } + } +#nullable restore +#else + public List ProtectedContents + { + get { return BackingStore?.Get>("protectedContents"); } + set { BackingStore?.Set("protectedContents", value); } + } +#endif + /// The supportedContentFormats property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? SupportedContentFormats + { + get { return BackingStore?.Get?>("supportedContentFormats"); } + set { BackingStore?.Set("supportedContentFormats", value); } + } +#nullable restore +#else + public List SupportedContentFormats + { + get { return BackingStore?.Get>("supportedContentFormats"); } + set { BackingStore?.Set("supportedContentFormats", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ComputeRightsAndInheritancePostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "delegatedUserEmail", n => { DelegatedUserEmail = n.GetStringValue(); } }, + { "locale", n => { Locale = n.GetStringValue(); } }, + { "protectedContents", n => { ProtectedContents = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ProtectedContent.CreateFromDiscriminatorValue)?.AsList(); } }, + { "supportedContentFormats", n => { SupportedContentFormats = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("delegatedUserEmail", DelegatedUserEmail); + writer.WriteStringValue("locale", Locale); + writer.WriteCollectionOfObjectValues("protectedContents", ProtectedContents); + writer.WriteCollectionOfPrimitiveValues("supportedContentFormats", SupportedContentFormats); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.cs new file mode 100644 index 000000000000..355116dbd243 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.cs @@ -0,0 +1,104 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance +{ + /// + /// Provides operations to call the computeRightsAndInheritance method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComputeRightsAndInheritanceRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ComputeRightsAndInheritanceRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/dataSecurityAndGovernance/sensitivityLabels/computeRightsAndInheritance", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ComputeRightsAndInheritanceRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/dataSecurityAndGovernance/sensitivityLabels/computeRightsAndInheritance", rawUrl) + { + } + /// + /// Computes the rights and inheritance for sensitivity labels based on the input content and labels. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ComputeRightsAndInheritanceResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Computes the rights and inheritance for sensitivity labels based on the input content and labels. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/Rights/RightsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/Rights/RightsRequestBuilder.cs new file mode 100644 index 000000000000..6f2d6d760063 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/Rights/RightsRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Rights +{ + /// + /// Provides operations to manage the rights property of the microsoft.graph.sensitivityLabel entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RightsRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RightsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/dataSecurityAndGovernance/sensitivityLabels/{sensitivityLabel%2Did}/rights{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RightsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/dataSecurityAndGovernance/sensitivityLabels/{sensitivityLabel%2Did}/rights{?%24expand,%24select}", rawUrl) + { + } + /// + /// Get rights from users + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#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> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.UsageRightsIncluded.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get rights from users + /// + /// A + /// 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(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Rights.RightsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Rights.RightsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get rights from users + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RightsRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RightsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/SensitivityLabelItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/SensitivityLabelItemRequestBuilder.cs index c197d26321c2..254bc7525e00 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/SensitivityLabelItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/SensitivityLabelItemRequestBuilder.cs @@ -2,6 +2,7 @@ #pragma warning disable CS0618 using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Rights; using Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; @@ -19,6 +20,11 @@ namespace Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityL [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class SensitivityLabelItemRequestBuilder : BaseRequestBuilder { + /// Provides operations to manage the rights property of the microsoft.graph.sensitivityLabel entity. + public global::Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Rights.RightsRequestBuilder Rights + { + get => new global::Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Rights.RightsRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the sublabels property of the microsoft.graph.sensitivityLabel entity. public global::Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.SublabelsRequestBuilder Sublabels { diff --git a/src/Microsoft.Graph/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.cs new file mode 100644 index 000000000000..3823421c1908 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.cs @@ -0,0 +1,105 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats +{ + /// + /// Provides operations to call the computeInheritance method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Usage: contentFormats={contentFormats} + /// Usage: labelIds={labelIds} + /// Usage: locale='{locale}' + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter, string contentFormats = "", string labelIds = "", string locale = "") : base(requestAdapter, "{+baseurl}/users/{user%2Did}/dataSecurityAndGovernance/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/computeInheritance(labelIds={labelIds},locale='{locale}',contentFormats={contentFormats})", pathParameters) + { + if (!string.IsNullOrWhiteSpace(contentFormats)) PathParameters.Add("contentFormats", contentFormats); + if (!string.IsNullOrWhiteSpace(labelIds)) PathParameters.Add("labelIds", labelIds); + if (!string.IsNullOrWhiteSpace(locale)) PathParameters.Add("locale", locale); + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/dataSecurityAndGovernance/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/computeInheritance(labelIds={labelIds},locale='{locale}',contentFormats={contentFormats})", rawUrl) + { + } + /// + /// Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#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> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.SensitivityLabel.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + /// + /// A + /// 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(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.cs new file mode 100644 index 000000000000..e1e6e53fc8a2 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.cs @@ -0,0 +1,136 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ComputeRightsAndInheritancePostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// 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") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The delegatedUserEmail property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DelegatedUserEmail + { + get { return BackingStore?.Get("delegatedUserEmail"); } + set { BackingStore?.Set("delegatedUserEmail", value); } + } +#nullable restore +#else + public string DelegatedUserEmail + { + get { return BackingStore?.Get("delegatedUserEmail"); } + set { BackingStore?.Set("delegatedUserEmail", value); } + } +#endif + /// The locale property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Locale + { + get { return BackingStore?.Get("locale"); } + set { BackingStore?.Set("locale", value); } + } +#nullable restore +#else + public string Locale + { + get { return BackingStore?.Get("locale"); } + set { BackingStore?.Set("locale", value); } + } +#endif + /// The protectedContents property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? ProtectedContents + { + get { return BackingStore?.Get?>("protectedContents"); } + set { BackingStore?.Set("protectedContents", value); } + } +#nullable restore +#else + public List ProtectedContents + { + get { return BackingStore?.Get>("protectedContents"); } + set { BackingStore?.Set("protectedContents", value); } + } +#endif + /// The supportedContentFormats property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? SupportedContentFormats + { + get { return BackingStore?.Get?>("supportedContentFormats"); } + set { BackingStore?.Set("supportedContentFormats", value); } + } +#nullable restore +#else + public List SupportedContentFormats + { + get { return BackingStore?.Get>("supportedContentFormats"); } + set { BackingStore?.Set("supportedContentFormats", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ComputeRightsAndInheritancePostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "delegatedUserEmail", n => { DelegatedUserEmail = n.GetStringValue(); } }, + { "locale", n => { Locale = n.GetStringValue(); } }, + { "protectedContents", n => { ProtectedContents = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ProtectedContent.CreateFromDiscriminatorValue)?.AsList(); } }, + { "supportedContentFormats", n => { SupportedContentFormats = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("delegatedUserEmail", DelegatedUserEmail); + writer.WriteStringValue("locale", Locale); + writer.WriteCollectionOfObjectValues("protectedContents", ProtectedContents); + writer.WriteCollectionOfPrimitiveValues("supportedContentFormats", SupportedContentFormats); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.cs new file mode 100644 index 000000000000..c87b797997a8 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.cs @@ -0,0 +1,104 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance +{ + /// + /// Provides operations to call the computeRightsAndInheritance method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComputeRightsAndInheritanceRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ComputeRightsAndInheritanceRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/dataSecurityAndGovernance/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/computeRightsAndInheritance", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ComputeRightsAndInheritanceRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/dataSecurityAndGovernance/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/computeRightsAndInheritance", rawUrl) + { + } + /// + /// Computes the rights and inheritance for sensitivity labels based on the input content and labels. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ComputeRightsAndInheritanceResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Computes the rights and inheritance for sensitivity labels based on the input content and labels. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Item/Rights/RightsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Item/Rights/RightsRequestBuilder.cs new file mode 100644 index 000000000000..184cbfc0a342 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Item/Rights/RightsRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.Rights +{ + /// + /// Provides operations to manage the rights property of the microsoft.graph.sensitivityLabel entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RightsRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RightsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/dataSecurityAndGovernance/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/{sensitivityLabel%2Did1}/rights{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RightsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/dataSecurityAndGovernance/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/{sensitivityLabel%2Did1}/rights{?%24expand,%24select}", rawUrl) + { + } + /// + /// Get rights from users + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#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> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.UsageRightsIncluded.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get rights from users + /// + /// A + /// 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(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.Rights.RightsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.Rights.RightsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get rights from users + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RightsRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RightsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Item/SensitivityLabelItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Item/SensitivityLabelItemRequestBuilder.cs index bc7c2c187d3d..3c68d80495d3 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Item/SensitivityLabelItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Item/SensitivityLabelItemRequestBuilder.cs @@ -2,6 +2,7 @@ #pragma warning disable CS0618 using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.Rights; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; using Microsoft.Kiota.Abstractions; @@ -18,6 +19,11 @@ namespace Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityL [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class SensitivityLabelItemRequestBuilder : BaseRequestBuilder { + /// Provides operations to manage the rights property of the microsoft.graph.sensitivityLabel entity. + public global::Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.Rights.RightsRequestBuilder Rights + { + get => new global::Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.Rights.RightsRequestBuilder(PathParameters, RequestAdapter); + } /// /// Instantiates a new and sets the default values. /// diff --git a/src/Microsoft.Graph/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/SublabelsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/SublabelsRequestBuilder.cs index 539e8b1d4ffe..87843d7bef49 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/SublabelsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/SublabelsRequestBuilder.cs @@ -2,6 +2,8 @@ #pragma warning disable CS0618 using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats; +using Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance; using Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Count; using Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Evaluate; using Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item; @@ -21,6 +23,11 @@ namespace Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityL [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class SublabelsRequestBuilder : BaseRequestBuilder { + /// Provides operations to call the computeRightsAndInheritance method. + public global::Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder ComputeRightsAndInheritance + { + get => new global::Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to count the resources in the collection. public global::Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Count.CountRequestBuilder Count { @@ -44,6 +51,20 @@ public partial class SublabelsRequestBuilder : BaseRequestBuilder } } /// + /// Provides operations to call the computeInheritance method. + /// + /// A + /// Usage: contentFormats={contentFormats} + /// Usage: labelIds={labelIds} + /// Usage: locale='{locale}' + public global::Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats(string contentFormats, string labelIds, string locale) + { + if(string.IsNullOrEmpty(contentFormats)) throw new ArgumentNullException(nameof(contentFormats)); + if(string.IsNullOrEmpty(labelIds)) throw new ArgumentNullException(nameof(labelIds)); + if(string.IsNullOrEmpty(locale)) throw new ArgumentNullException(nameof(locale)); + return new global::Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(PathParameters, RequestAdapter, contentFormats, labelIds, locale); + } + /// /// Instantiates a new and sets the default values. /// /// Path parameters for the request diff --git a/src/Microsoft.Graph/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/SensitivityLabelsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/SensitivityLabelsRequestBuilder.cs index e4c7d4b111ef..a31cbf561e7c 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/SensitivityLabelsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/SensitivityLabelsRequestBuilder.cs @@ -2,6 +2,8 @@ #pragma warning disable CS0618 using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats; +using Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance; using Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Count; using Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Evaluate; using Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item; @@ -21,6 +23,11 @@ namespace Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityL [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class SensitivityLabelsRequestBuilder : BaseRequestBuilder { + /// Provides operations to call the computeRightsAndInheritance method. + public global::Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder ComputeRightsAndInheritance + { + get => new global::Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to count the resources in the collection. public global::Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Count.CountRequestBuilder Count { @@ -44,6 +51,20 @@ public partial class SensitivityLabelsRequestBuilder : BaseRequestBuilder } } /// + /// Provides operations to call the computeInheritance method. + /// + /// A + /// Usage: contentFormats={contentFormats} + /// Usage: labelIds={labelIds} + /// Usage: locale='{locale}' + public global::Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats(string contentFormats, string labelIds, string locale) + { + if(string.IsNullOrEmpty(contentFormats)) throw new ArgumentNullException(nameof(contentFormats)); + if(string.IsNullOrEmpty(labelIds)) throw new ArgumentNullException(nameof(labelIds)); + if(string.IsNullOrEmpty(locale)) throw new ArgumentNullException(nameof(locale)); + return new global::Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(PathParameters, RequestAdapter, contentFormats, labelIds, locale); + } + /// /// Instantiates a new and sets the default values. /// /// Path parameters for the request diff --git a/src/Microsoft.Graph/Generated/Users/Item/InformationProtection/SensitivityLabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/InformationProtection/SensitivityLabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.cs new file mode 100644 index 000000000000..ace75b48f23b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/InformationProtection/SensitivityLabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.cs @@ -0,0 +1,105 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats +{ + /// + /// Provides operations to call the computeInheritance method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Usage: contentFormats={contentFormats} + /// Usage: labelIds={labelIds} + /// Usage: locale='{locale}' + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter, string contentFormats = "", string labelIds = "", string locale = "") : base(requestAdapter, "{+baseurl}/users/{user%2Did}/informationProtection/sensitivityLabels/computeInheritance(labelIds={labelIds},locale='{locale}',contentFormats={contentFormats})", pathParameters) + { + if (!string.IsNullOrWhiteSpace(contentFormats)) PathParameters.Add("contentFormats", contentFormats); + if (!string.IsNullOrWhiteSpace(labelIds)) PathParameters.Add("labelIds", labelIds); + if (!string.IsNullOrWhiteSpace(locale)) PathParameters.Add("locale", locale); + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/informationProtection/sensitivityLabels/computeInheritance(labelIds={labelIds},locale='{locale}',contentFormats={contentFormats})", rawUrl) + { + } + /// + /// Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#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> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.SensitivityLabel.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + /// + /// A + /// 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(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/InformationProtection/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/InformationProtection/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.cs new file mode 100644 index 000000000000..8a42b6e8af13 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/InformationProtection/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.cs @@ -0,0 +1,136 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ComputeRightsAndInheritancePostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// 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") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The delegatedUserEmail property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DelegatedUserEmail + { + get { return BackingStore?.Get("delegatedUserEmail"); } + set { BackingStore?.Set("delegatedUserEmail", value); } + } +#nullable restore +#else + public string DelegatedUserEmail + { + get { return BackingStore?.Get("delegatedUserEmail"); } + set { BackingStore?.Set("delegatedUserEmail", value); } + } +#endif + /// The locale property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Locale + { + get { return BackingStore?.Get("locale"); } + set { BackingStore?.Set("locale", value); } + } +#nullable restore +#else + public string Locale + { + get { return BackingStore?.Get("locale"); } + set { BackingStore?.Set("locale", value); } + } +#endif + /// The protectedContents property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? ProtectedContents + { + get { return BackingStore?.Get?>("protectedContents"); } + set { BackingStore?.Set("protectedContents", value); } + } +#nullable restore +#else + public List ProtectedContents + { + get { return BackingStore?.Get>("protectedContents"); } + set { BackingStore?.Set("protectedContents", value); } + } +#endif + /// The supportedContentFormats property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? SupportedContentFormats + { + get { return BackingStore?.Get?>("supportedContentFormats"); } + set { BackingStore?.Set("supportedContentFormats", value); } + } +#nullable restore +#else + public List SupportedContentFormats + { + get { return BackingStore?.Get>("supportedContentFormats"); } + set { BackingStore?.Set("supportedContentFormats", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ComputeRightsAndInheritancePostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "delegatedUserEmail", n => { DelegatedUserEmail = n.GetStringValue(); } }, + { "locale", n => { Locale = n.GetStringValue(); } }, + { "protectedContents", n => { ProtectedContents = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ProtectedContent.CreateFromDiscriminatorValue)?.AsList(); } }, + { "supportedContentFormats", n => { SupportedContentFormats = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("delegatedUserEmail", DelegatedUserEmail); + writer.WriteStringValue("locale", Locale); + writer.WriteCollectionOfObjectValues("protectedContents", ProtectedContents); + writer.WriteCollectionOfPrimitiveValues("supportedContentFormats", SupportedContentFormats); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/InformationProtection/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/InformationProtection/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.cs new file mode 100644 index 000000000000..3a456a936d74 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/InformationProtection/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.cs @@ -0,0 +1,104 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance +{ + /// + /// Provides operations to call the computeRightsAndInheritance method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComputeRightsAndInheritanceRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ComputeRightsAndInheritanceRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/informationProtection/sensitivityLabels/computeRightsAndInheritance", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ComputeRightsAndInheritanceRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/informationProtection/sensitivityLabels/computeRightsAndInheritance", rawUrl) + { + } + /// + /// Computes the rights and inheritance for sensitivity labels based on the input content and labels. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ComputeRightsAndInheritanceResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Computes the rights and inheritance for sensitivity labels based on the input content and labels. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/InformationProtection/SensitivityLabels/Item/Rights/RightsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/InformationProtection/SensitivityLabels/Item/Rights/RightsRequestBuilder.cs new file mode 100644 index 000000000000..9b28e876665f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/InformationProtection/SensitivityLabels/Item/Rights/RightsRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Rights +{ + /// + /// Provides operations to manage the rights property of the microsoft.graph.sensitivityLabel entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RightsRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RightsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/informationProtection/sensitivityLabels/{sensitivityLabel%2Did}/rights{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RightsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/informationProtection/sensitivityLabels/{sensitivityLabel%2Did}/rights{?%24expand,%24select}", rawUrl) + { + } + /// + /// Get rights from users + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#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> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.UsageRightsIncluded.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get rights from users + /// + /// A + /// 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(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Rights.RightsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Rights.RightsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get rights from users + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RightsRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RightsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/InformationProtection/SensitivityLabels/Item/SensitivityLabelItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/InformationProtection/SensitivityLabels/Item/SensitivityLabelItemRequestBuilder.cs index 67792a390371..a154c8105a9c 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/InformationProtection/SensitivityLabels/Item/SensitivityLabelItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/InformationProtection/SensitivityLabels/Item/SensitivityLabelItemRequestBuilder.cs @@ -2,6 +2,7 @@ #pragma warning disable CS0618 using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Rights; using Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Sublabels; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; @@ -19,6 +20,11 @@ namespace Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabel [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class SensitivityLabelItemRequestBuilder : BaseRequestBuilder { + /// Provides operations to manage the rights property of the microsoft.graph.sensitivityLabel entity. + public global::Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Rights.RightsRequestBuilder Rights + { + get => new global::Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Rights.RightsRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the sublabels property of the microsoft.graph.sensitivityLabel entity. public global::Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Sublabels.SublabelsRequestBuilder Sublabels { diff --git a/src/Microsoft.Graph/Generated/Users/Item/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.cs new file mode 100644 index 000000000000..ee8e5a62677d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.cs @@ -0,0 +1,105 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats +{ + /// + /// Provides operations to call the computeInheritance method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Usage: contentFormats={contentFormats} + /// Usage: labelIds={labelIds} + /// Usage: locale='{locale}' + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter, string contentFormats = "", string labelIds = "", string locale = "") : base(requestAdapter, "{+baseurl}/users/{user%2Did}/informationProtection/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/computeInheritance(labelIds={labelIds},locale='{locale}',contentFormats={contentFormats})", pathParameters) + { + if (!string.IsNullOrWhiteSpace(contentFormats)) PathParameters.Add("contentFormats", contentFormats); + if (!string.IsNullOrWhiteSpace(labelIds)) PathParameters.Add("labelIds", labelIds); + if (!string.IsNullOrWhiteSpace(locale)) PathParameters.Add("locale", locale); + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/informationProtection/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/computeInheritance(labelIds={labelIds},locale='{locale}',contentFormats={contentFormats})", rawUrl) + { + } + /// + /// Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#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> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.SensitivityLabel.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + /// + /// A + /// 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(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.cs new file mode 100644 index 000000000000..253270c8b8c4 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.cs @@ -0,0 +1,136 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ComputeRightsAndInheritancePostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// 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") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The delegatedUserEmail property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DelegatedUserEmail + { + get { return BackingStore?.Get("delegatedUserEmail"); } + set { BackingStore?.Set("delegatedUserEmail", value); } + } +#nullable restore +#else + public string DelegatedUserEmail + { + get { return BackingStore?.Get("delegatedUserEmail"); } + set { BackingStore?.Set("delegatedUserEmail", value); } + } +#endif + /// The locale property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Locale + { + get { return BackingStore?.Get("locale"); } + set { BackingStore?.Set("locale", value); } + } +#nullable restore +#else + public string Locale + { + get { return BackingStore?.Get("locale"); } + set { BackingStore?.Set("locale", value); } + } +#endif + /// The protectedContents property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? ProtectedContents + { + get { return BackingStore?.Get?>("protectedContents"); } + set { BackingStore?.Set("protectedContents", value); } + } +#nullable restore +#else + public List ProtectedContents + { + get { return BackingStore?.Get>("protectedContents"); } + set { BackingStore?.Set("protectedContents", value); } + } +#endif + /// The supportedContentFormats property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? SupportedContentFormats + { + get { return BackingStore?.Get?>("supportedContentFormats"); } + set { BackingStore?.Set("supportedContentFormats", value); } + } +#nullable restore +#else + public List SupportedContentFormats + { + get { return BackingStore?.Get>("supportedContentFormats"); } + set { BackingStore?.Set("supportedContentFormats", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ComputeRightsAndInheritancePostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "delegatedUserEmail", n => { DelegatedUserEmail = n.GetStringValue(); } }, + { "locale", n => { Locale = n.GetStringValue(); } }, + { "protectedContents", n => { ProtectedContents = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ProtectedContent.CreateFromDiscriminatorValue)?.AsList(); } }, + { "supportedContentFormats", n => { SupportedContentFormats = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("delegatedUserEmail", DelegatedUserEmail); + writer.WriteStringValue("locale", Locale); + writer.WriteCollectionOfObjectValues("protectedContents", ProtectedContents); + writer.WriteCollectionOfPrimitiveValues("supportedContentFormats", SupportedContentFormats); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.cs new file mode 100644 index 000000000000..ecbf3d73a12e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.cs @@ -0,0 +1,104 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance +{ + /// + /// Provides operations to call the computeRightsAndInheritance method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComputeRightsAndInheritanceRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ComputeRightsAndInheritanceRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/informationProtection/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/computeRightsAndInheritance", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ComputeRightsAndInheritanceRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/informationProtection/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/computeRightsAndInheritance", rawUrl) + { + } + /// + /// Computes the rights and inheritance for sensitivity labels based on the input content and labels. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ComputeRightsAndInheritanceResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Computes the rights and inheritance for sensitivity labels based on the input content and labels. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/InformationProtection/SensitivityLabels/Item/Sublabels/Item/Rights/RightsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/InformationProtection/SensitivityLabels/Item/Sublabels/Item/Rights/RightsRequestBuilder.cs new file mode 100644 index 000000000000..269cd6110457 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/InformationProtection/SensitivityLabels/Item/Sublabels/Item/Rights/RightsRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Item.Rights +{ + /// + /// Provides operations to manage the rights property of the microsoft.graph.sensitivityLabel entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RightsRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RightsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/informationProtection/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/{sensitivityLabel%2Did1}/rights{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RightsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/informationProtection/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/{sensitivityLabel%2Did1}/rights{?%24expand,%24select}", rawUrl) + { + } + /// + /// Get rights from users + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#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> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.UsageRightsIncluded.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get rights from users + /// + /// A + /// 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(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Item.Rights.RightsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Item.Rights.RightsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get rights from users + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RightsRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RightsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/InformationProtection/SensitivityLabels/Item/Sublabels/Item/SensitivityLabelItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/InformationProtection/SensitivityLabels/Item/Sublabels/Item/SensitivityLabelItemRequestBuilder.cs index fc73242f62c4..4e135549d7f3 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/InformationProtection/SensitivityLabels/Item/Sublabels/Item/SensitivityLabelItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/InformationProtection/SensitivityLabels/Item/Sublabels/Item/SensitivityLabelItemRequestBuilder.cs @@ -2,6 +2,7 @@ #pragma warning disable CS0618 using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Item.Rights; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; using Microsoft.Kiota.Abstractions; @@ -18,6 +19,11 @@ namespace Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabel [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class SensitivityLabelItemRequestBuilder : BaseRequestBuilder { + /// Provides operations to manage the rights property of the microsoft.graph.sensitivityLabel entity. + public global::Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Item.Rights.RightsRequestBuilder Rights + { + get => new global::Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Item.Rights.RightsRequestBuilder(PathParameters, RequestAdapter); + } /// /// Instantiates a new and sets the default values. /// diff --git a/src/Microsoft.Graph/Generated/Users/Item/InformationProtection/SensitivityLabels/Item/Sublabels/SublabelsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/InformationProtection/SensitivityLabels/Item/Sublabels/SublabelsRequestBuilder.cs index 1ab3f1e51e2c..98d71191d38c 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/InformationProtection/SensitivityLabels/Item/Sublabels/SublabelsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/InformationProtection/SensitivityLabels/Item/Sublabels/SublabelsRequestBuilder.cs @@ -2,6 +2,8 @@ #pragma warning disable CS0618 using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats; +using Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance; using Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Count; using Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Evaluate; using Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Item; @@ -21,6 +23,11 @@ namespace Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabel [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class SublabelsRequestBuilder : BaseRequestBuilder { + /// Provides operations to call the computeRightsAndInheritance method. + public global::Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder ComputeRightsAndInheritance + { + get => new global::Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to count the resources in the collection. public global::Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Count.CountRequestBuilder Count { @@ -44,6 +51,20 @@ public partial class SublabelsRequestBuilder : BaseRequestBuilder } } /// + /// Provides operations to call the computeInheritance method. + /// + /// A + /// Usage: contentFormats={contentFormats} + /// Usage: labelIds={labelIds} + /// Usage: locale='{locale}' + public global::Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats(string contentFormats, string labelIds, string locale) + { + if(string.IsNullOrEmpty(contentFormats)) throw new ArgumentNullException(nameof(contentFormats)); + if(string.IsNullOrEmpty(labelIds)) throw new ArgumentNullException(nameof(labelIds)); + if(string.IsNullOrEmpty(locale)) throw new ArgumentNullException(nameof(locale)); + return new global::Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(PathParameters, RequestAdapter, contentFormats, labelIds, locale); + } + /// /// Instantiates a new and sets the default values. /// /// Path parameters for the request diff --git a/src/Microsoft.Graph/Generated/Users/Item/InformationProtection/SensitivityLabels/SensitivityLabelsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/InformationProtection/SensitivityLabels/SensitivityLabelsRequestBuilder.cs index 04cc67832bb3..3e8fdaa4bd78 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/InformationProtection/SensitivityLabels/SensitivityLabelsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/InformationProtection/SensitivityLabels/SensitivityLabelsRequestBuilder.cs @@ -2,6 +2,8 @@ #pragma warning disable CS0618 using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats; +using Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance; using Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Count; using Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Evaluate; using Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item; @@ -21,6 +23,11 @@ namespace Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabel [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class SensitivityLabelsRequestBuilder : BaseRequestBuilder { + /// Provides operations to call the computeRightsAndInheritance method. + public global::Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder ComputeRightsAndInheritance + { + get => new global::Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to count the resources in the collection. public global::Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Count.CountRequestBuilder Count { @@ -44,6 +51,20 @@ public partial class SensitivityLabelsRequestBuilder : BaseRequestBuilder } } /// + /// Provides operations to call the computeInheritance method. + /// + /// A + /// Usage: contentFormats={contentFormats} + /// Usage: labelIds={labelIds} + /// Usage: locale='{locale}' + public global::Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats(string contentFormats, string labelIds, string locale) + { + if(string.IsNullOrEmpty(contentFormats)) throw new ArgumentNullException(nameof(contentFormats)); + if(string.IsNullOrEmpty(labelIds)) throw new ArgumentNullException(nameof(labelIds)); + if(string.IsNullOrEmpty(locale)) throw new ArgumentNullException(nameof(locale)); + return new global::Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder(PathParameters, RequestAdapter, contentFormats, labelIds, locale); + } + /// /// Instantiates a new and sets the default values. /// /// Path parameters for the request diff --git a/src/Microsoft.Graph/Generated/Users/Item/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/AppLogCollectionRequestsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/AppLogCollectionRequestsRequestBuilder.cs index fbfaf6ffb484..fafb540769c7 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/AppLogCollectionRequestsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/AppLogCollectionRequestsRequestBuilder.cs @@ -54,7 +54,7 @@ public AppLogCollectionRequestsRequestBuilder(string rawUrl, IRequestAdapter req { } /// - /// The collection property of AppLogUploadRequest. + /// Indicates collection of App Log Upload Request. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public AppLogCollectionRequestsRequestBuilder(string rawUrl, IRequestAdapter req return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.AppLogCollectionRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// The collection property of AppLogUploadRequest. + /// Indicates collection of App Log Upload Request. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.Users.Item.MobileAppTroubleshootingEvents.Item.AppLogCollectionRequests.AppLogCollectionRequestsRequestBuilder(rawUrl, RequestAdapter); } /// - /// The collection property of AppLogUploadRequest. + /// Indicates collection of App Log Upload Request. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class AppLogCollectionRequestsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Users/Item/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/Item/AppLogCollectionRequestItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/Item/AppLogCollectionRequestItemRequestBuilder.cs index 61dfd37f70b9..3676ccde5a5c 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/Item/AppLogCollectionRequestItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/Item/AppLogCollectionRequestItemRequestBuilder.cs @@ -63,7 +63,7 @@ public async Task DeleteAsync(Action - /// The collection property of AppLogUploadRequest. + /// Indicates collection of App Log Upload Request. /// /// A /// Cancellation token to use when cancelling requests @@ -129,7 +129,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// The collection property of AppLogUploadRequest. + /// Indicates collection of App Log Upload Request. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -187,7 +187,7 @@ public partial class AppLogCollectionRequestItemRequestBuilderDeleteRequestConfi { } /// - /// The collection property of AppLogUploadRequest. + /// Indicates collection of App Log Upload Request. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class AppLogCollectionRequestItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Users/Item/Presence/PresenceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Presence/PresenceRequestBuilder.cs index c02690b83a7d..fea6fb26a72a 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Presence/PresenceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Presence/PresenceRequestBuilder.cs @@ -87,8 +87,8 @@ public async Task DeleteAsync(Action - /// Set a presence status message for a user. An optional expiration date and time can be supplied. - /// Find more info here + /// Get a user's presence information. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -154,7 +154,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Set a presence status message for a user. An optional expiration date and time can be supplied. + /// Get a user's presence information. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -212,7 +212,7 @@ public partial class PresenceRequestBuilderDeleteRequestConfiguration : RequestC { } /// - /// Set a presence status message for a user. An optional expiration date and time can be supplied. + /// Get a user's presence information. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class PresenceRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Users/Item/Security/InformationProtection/SensitivityLabels/Item/Parent/ParentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Security/InformationProtection/SensitivityLabels/Item/Parent/ParentRequestBuilder.cs index 721d3d50643f..b67aed9329cf 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Security/InformationProtection/SensitivityLabels/Item/Parent/ParentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Security/InformationProtection/SensitivityLabels/Item/Parent/ParentRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// The parent label associated with a child label. Null if the label has no parent. + /// Get parent from users /// /// A /// Cancellation token to use when cancelling requests @@ -123,7 +123,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// The parent label associated with a child label. Null if the label has no parent. + /// Get parent from users /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -181,7 +181,7 @@ public partial class ParentRequestBuilderDeleteRequestConfiguration : RequestCon { } /// - /// The parent label associated with a child label. Null if the label has no parent. + /// Get parent from users /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ParentRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/kiota-dom-export.txt b/src/Microsoft.Graph/Generated/kiota-dom-export.txt index 11124a6655df..fb6e3da4a50e 100644 --- a/src/Microsoft.Graph/Generated/kiota-dom-export.txt +++ b/src/Microsoft.Graph/Generated/kiota-dom-export.txt @@ -1336,6 +1336,7 @@ Microsoft.Graph.Beta.Admin.People.peopleRequestBuilder::|public|itemInsights:glo Microsoft.Graph.Beta.Admin.People.peopleRequestBuilder::|public|namePronunciation:global.Microsoft.Graph.Beta.Admin.People.NamePronunciation.NamePronunciationRequestBuilder Microsoft.Graph.Beta.Admin.People.peopleRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.PeopleAdminSettings; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PeopleAdminSettings Microsoft.Graph.Beta.Admin.People.peopleRequestBuilder::|public|profileCardProperties:global.Microsoft.Graph.Beta.Admin.People.ProfileCardProperties.ProfileCardPropertiesRequestBuilder +Microsoft.Graph.Beta.Admin.People.peopleRequestBuilder::|public|profilePropertySettings:global.Microsoft.Graph.Beta.Admin.People.ProfilePropertySettings.ProfilePropertySettingsRequestBuilder Microsoft.Graph.Beta.Admin.People.peopleRequestBuilder::|public|pronouns:global.Microsoft.Graph.Beta.Admin.People.Pronouns.PronounsRequestBuilder Microsoft.Graph.Beta.Admin.People.peopleRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Admin.People.peopleRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation @@ -1385,6 +1386,50 @@ Microsoft.Graph.Beta.Admin.People.ProfileCardProperties.profileCardPropertiesReq Microsoft.Graph.Beta.Admin.People.ProfileCardProperties.profileCardPropertiesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Admin.People.ProfileCardProperties.profileCardPropertiesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.ProfileCardProperty; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Admin.People.ProfileCardProperties.profileCardPropertiesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.People.ProfileCardProperties.ProfileCardPropertiesRequestBuilder +Microsoft.Graph.Beta.Admin.People.ProfilePropertySettings.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Admin.People.ProfilePropertySettings.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Admin.People.ProfilePropertySettings.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Admin.People.ProfilePropertySettings.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.People.ProfilePropertySettings.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.People.ProfilePropertySettings.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.People.ProfilePropertySettings.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Admin.People.ProfilePropertySettings.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.People.ProfilePropertySettings.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.People.ProfilePropertySettings.Count.CountRequestBuilder +Microsoft.Graph.Beta.Admin.People.ProfilePropertySettings.Item.ProfilePropertySettingItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Admin.People.ProfilePropertySettings.Item.ProfilePropertySettingItemRequestBuilder.ProfilePropertySettingItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.People.ProfilePropertySettings.Item.ProfilePropertySettingItemRequestBuilder.ProfilePropertySettingItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Admin.People.ProfilePropertySettings.Item.ProfilePropertySettingItemRequestBuilder.ProfilePropertySettingItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Admin.People.ProfilePropertySettings.Item.ProfilePropertySettingItemRequestBuilder.ProfilePropertySettingItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.People.ProfilePropertySettings.Item.ProfilePropertySettingItemRequestBuilder.ProfilePropertySettingItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.People.ProfilePropertySettings.Item.ProfilePropertySettingItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.People.ProfilePropertySettings.Item.ProfilePropertySettingItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.People.ProfilePropertySettings.Item.ProfilePropertySettingItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Admin.People.ProfilePropertySettings.Item.ProfilePropertySettingItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ProfilePropertySetting +Microsoft.Graph.Beta.Admin.People.ProfilePropertySettings.Item.ProfilePropertySettingItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.ProfilePropertySetting; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ProfilePropertySetting +Microsoft.Graph.Beta.Admin.People.ProfilePropertySettings.Item.ProfilePropertySettingItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.People.ProfilePropertySettings.Item.ProfilePropertySettingItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.People.ProfilePropertySettings.Item.ProfilePropertySettingItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.ProfilePropertySetting; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.People.ProfilePropertySettings.Item.ProfilePropertySettingItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.People.ProfilePropertySettings.Item.ProfilePropertySettingItemRequestBuilder +Microsoft.Graph.Beta.Admin.People.ProfilePropertySettings.profilePropertySettingsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Admin.People.ProfilePropertySettings.profilePropertySettingsRequestBuilder.profilePropertySettingsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Admin.People.ProfilePropertySettings.profilePropertySettingsRequestBuilder.profilePropertySettingsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Admin.People.ProfilePropertySettings.profilePropertySettingsRequestBuilder.profilePropertySettingsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Admin.People.ProfilePropertySettings.profilePropertySettingsRequestBuilder.profilePropertySettingsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Admin.People.ProfilePropertySettings.profilePropertySettingsRequestBuilder.profilePropertySettingsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Admin.People.ProfilePropertySettings.profilePropertySettingsRequestBuilder.profilePropertySettingsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Admin.People.ProfilePropertySettings.profilePropertySettingsRequestBuilder.profilePropertySettingsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Admin.People.ProfilePropertySettings.profilePropertySettingsRequestBuilder.profilePropertySettingsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Admin.People.ProfilePropertySettings.profilePropertySettingsRequestBuilder.profilePropertySettingsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.People.ProfilePropertySettings.profilePropertySettingsRequestBuilder.profilePropertySettingsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Admin.People.ProfilePropertySettings.profilePropertySettingsRequestBuilder::[ProfilePropertySettingId:string]:global.Microsoft.Graph.Beta.Admin.People.ProfilePropertySettings.Item.ProfilePropertySettingItemRequestBuilder +Microsoft.Graph.Beta.Admin.People.ProfilePropertySettings.profilePropertySettingsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.People.ProfilePropertySettings.profilePropertySettingsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Admin.People.ProfilePropertySettings.profilePropertySettingsRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Admin.People.ProfilePropertySettings.Count.CountRequestBuilder +Microsoft.Graph.Beta.Admin.People.ProfilePropertySettings.profilePropertySettingsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ProfilePropertySettingCollectionResponse +Microsoft.Graph.Beta.Admin.People.ProfilePropertySettings.profilePropertySettingsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.ProfilePropertySetting; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ProfilePropertySetting +Microsoft.Graph.Beta.Admin.People.ProfilePropertySettings.profilePropertySettingsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.People.ProfilePropertySettings.profilePropertySettingsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.ProfilePropertySetting; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Admin.People.ProfilePropertySettings.profilePropertySettingsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Admin.People.ProfilePropertySettings.ProfilePropertySettingsRequestBuilder Microsoft.Graph.Beta.Admin.People.Pronouns.pronounsRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Admin.People.Pronouns.pronounsRequestBuilder.pronounsRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Admin.People.Pronouns.pronounsRequestBuilder.pronounsRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -16307,6 +16352,31 @@ Microsoft.Graph.Beta.DataClassification.SensitiveTypes.sensitiveTypesRequestBuil Microsoft.Graph.Beta.DataClassification.SensitiveTypes.sensitiveTypesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.DataClassification.SensitiveTypes.sensitiveTypesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.SensitiveType; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.DataClassification.SensitiveTypes.sensitiveTypesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.DataClassification.SensitiveTypes.SensitiveTypesRequestBuilder +Microsoft.Graph.Beta.DataClassification.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.DataClassification.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.DataClassification.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter; contentFormats?:string; labelIds?:string; locale?:string):void +Microsoft.Graph.Beta.DataClassification.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DataClassification.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.SensitivityLabel +Microsoft.Graph.Beta.DataClassification.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.DataClassification.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.DataClassification.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder +Microsoft.Graph.Beta.DataClassification.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.DataClassification.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.DataClassification.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.DataClassification.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|DelegatedUserEmail:string +Microsoft.Graph.Beta.DataClassification.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.DataClassification.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|Locale:string +Microsoft.Graph.Beta.DataClassification.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|ProtectedContents:List +Microsoft.Graph.Beta.DataClassification.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.DataClassification.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|SupportedContentFormats:List +Microsoft.Graph.Beta.DataClassification.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.DataClassification.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody +Microsoft.Graph.Beta.DataClassification.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.DataClassification.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.DataClassification.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder.computeRightsAndInheritanceRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.DataClassification.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DataClassification.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DataClassification.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.DataClassification.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ComputeRightsAndInheritanceResult +Microsoft.Graph.Beta.DataClassification.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.DataClassification.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.DataClassification.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.DataClassification.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -16332,6 +16402,15 @@ Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Evaluate.evaluateReque Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Evaluate.evaluateRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Evaluate.EvaluatePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.EvaluateLabelJobResponse Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Evaluate.evaluateRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Evaluate.EvaluatePostRequestBody; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Evaluate.evaluateRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Evaluate.EvaluateRequestBuilder +Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Rights.rightsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Rights.rightsRequestBuilder.rightsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Rights.rightsRequestBuilder.rightsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Rights.rightsRequestBuilder.rightsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Rights.rightsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Rights.rightsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Rights.rightsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.UsageRightsIncluded +Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Rights.rightsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Rights.rightsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Rights.RightsRequestBuilder Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder.SensitivityLabelItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder.SensitivityLabelItemRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -16343,11 +16422,37 @@ Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.SensitivityLabelI Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.SensitivityLabel Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.SensitivityLabel; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.SensitivityLabel +Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder::|public|rights:global.Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Rights.RightsRequestBuilder Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder::|public|sublabels:global.Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Sublabels.SublabelsRequestBuilder Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.SensitivityLabel; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder +Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter; contentFormats?:string; labelIds?:string; locale?:string):void +Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.SensitivityLabel +Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder +Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|DelegatedUserEmail:string +Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|Locale:string +Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|ProtectedContents:List +Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|SupportedContentFormats:List +Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody +Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder.computeRightsAndInheritanceRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ComputeRightsAndInheritanceResult +Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Sublabels.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Sublabels.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Sublabels.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -16373,6 +16478,15 @@ Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Sublabels.Evaluat Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Sublabels.Evaluate.evaluateRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Sublabels.Evaluate.EvaluatePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.EvaluateLabelJobResponse Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Sublabels.Evaluate.evaluateRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Sublabels.Evaluate.EvaluatePostRequestBody; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Sublabels.Evaluate.evaluateRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Sublabels.Evaluate.EvaluateRequestBuilder +Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Sublabels.Item.Rights.rightsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Sublabels.Item.Rights.rightsRequestBuilder.rightsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Sublabels.Item.Rights.rightsRequestBuilder.rightsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Sublabels.Item.Rights.rightsRequestBuilder.rightsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Sublabels.Item.Rights.rightsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Sublabels.Item.Rights.rightsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Sublabels.Item.Rights.rightsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.UsageRightsIncluded +Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Sublabels.Item.Rights.rightsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Sublabels.Item.Rights.rightsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Sublabels.Item.Rights.RightsRequestBuilder Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder.SensitivityLabelItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder.SensitivityLabelItemRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -16384,6 +16498,7 @@ Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Sublabels.Item.Se Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.SensitivityLabel Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.SensitivityLabel; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.SensitivityLabel +Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder::|public|rights:global.Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Sublabels.Item.Rights.RightsRequestBuilder Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.SensitivityLabel; requestConfiguration?:Action>):RequestInformation @@ -16400,6 +16515,8 @@ Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Sublabels.sublabe Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Sublabels.sublabelsRequestBuilder.sublabelsRequestBuilderGetRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Sublabels.sublabelsRequestBuilder.sublabelsRequestBuilderPostRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Sublabels.sublabelsRequestBuilder::[SensitivityLabelId1:string]:global.Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder +Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Sublabels.sublabelsRequestBuilder::|public|computeInheritanceWithLabelIdsWithLocaleWithContentFormats(contentFormats:string; labelIds:string; locale:string):global.Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder +Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Sublabels.sublabelsRequestBuilder::|public|computeRightsAndInheritance:global.Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Sublabels.sublabelsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Sublabels.sublabelsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Sublabels.sublabelsRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.Sublabels.Count.CountRequestBuilder @@ -16421,6 +16538,8 @@ Microsoft.Graph.Beta.DataClassification.SensitivityLabels.sensitivityLabelsReque Microsoft.Graph.Beta.DataClassification.SensitivityLabels.sensitivityLabelsRequestBuilder.sensitivityLabelsRequestBuilderGetRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.DataClassification.SensitivityLabels.sensitivityLabelsRequestBuilder.sensitivityLabelsRequestBuilderPostRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.DataClassification.SensitivityLabels.sensitivityLabelsRequestBuilder::[SensitivityLabelId:string]:global.Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder +Microsoft.Graph.Beta.DataClassification.SensitivityLabels.sensitivityLabelsRequestBuilder::|public|computeInheritanceWithLabelIdsWithLocaleWithContentFormats(contentFormats:string; labelIds:string; locale:string):global.Microsoft.Graph.Beta.DataClassification.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder +Microsoft.Graph.Beta.DataClassification.SensitivityLabels.sensitivityLabelsRequestBuilder::|public|computeRightsAndInheritance:global.Microsoft.Graph.Beta.DataClassification.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder Microsoft.Graph.Beta.DataClassification.SensitivityLabels.sensitivityLabelsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.DataClassification.SensitivityLabels.sensitivityLabelsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.DataClassification.SensitivityLabels.sensitivityLabelsRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.DataClassification.SensitivityLabels.Count.CountRequestBuilder @@ -46620,6 +46739,7 @@ Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Reports.reportsRequestBuil Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Reports.reportsRequestBuilder::|public|getTotalAggregatedRemoteConnectionReports:global.Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Reports.GetTotalAggregatedRemoteConnectionReports.GetTotalAggregatedRemoteConnectionReportsRequestBuilder Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Reports.reportsRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.CloudPcReports; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.CloudPcReports Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Reports.reportsRequestBuilder::|public|retrieveBulkActionStatusReport:global.Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Reports.RetrieveBulkActionStatusReport.RetrieveBulkActionStatusReportRequestBuilder +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Reports.reportsRequestBuilder::|public|retrieveCloudPcRecommendationReports:global.Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Reports.RetrieveCloudPcRecommendationReports.RetrieveCloudPcRecommendationReportsRequestBuilder Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Reports.reportsRequestBuilder::|public|retrieveCloudPcTenantMetricsReport:global.Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Reports.RetrieveCloudPcTenantMetricsReport.RetrieveCloudPcTenantMetricsReportRequestBuilder Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Reports.reportsRequestBuilder::|public|retrieveCloudPcTroubleshootReports:global.Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Reports.RetrieveCloudPcTroubleshootReports.RetrieveCloudPcTroubleshootReportsRequestBuilder Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Reports.reportsRequestBuilder::|public|retrieveConnectionQualityReports:global.Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Reports.RetrieveConnectionQualityReports.RetrieveConnectionQualityReportsRequestBuilder @@ -46650,6 +46770,28 @@ Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Reports.RetrieveBulkAction Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Reports.RetrieveBulkActionStatusReport.retrieveBulkActionStatusReportRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Reports.RetrieveBulkActionStatusReport.RetrieveBulkActionStatusReportPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Reports.RetrieveBulkActionStatusReport.retrieveBulkActionStatusReportRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Reports.RetrieveBulkActionStatusReport.RetrieveBulkActionStatusReportPostRequestBody; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Reports.RetrieveBulkActionStatusReport.retrieveBulkActionStatusReportRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Reports.RetrieveBulkActionStatusReport.RetrieveBulkActionStatusReportRequestBuilder +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Reports.RetrieveCloudPcRecommendationReports.retrieveCloudPcRecommendationReportsPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Reports.RetrieveCloudPcRecommendationReports.retrieveCloudPcRecommendationReportsPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Reports.RetrieveCloudPcRecommendationReports.retrieveCloudPcRecommendationReportsPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Reports.RetrieveCloudPcRecommendationReports.retrieveCloudPcRecommendationReportsPostRequestBody::|public|Filter:string +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Reports.RetrieveCloudPcRecommendationReports.retrieveCloudPcRecommendationReportsPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Reports.RetrieveCloudPcRecommendationReports.retrieveCloudPcRecommendationReportsPostRequestBody::|public|GroupBy:List +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Reports.RetrieveCloudPcRecommendationReports.retrieveCloudPcRecommendationReportsPostRequestBody::|public|OrderBy:List +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Reports.RetrieveCloudPcRecommendationReports.retrieveCloudPcRecommendationReportsPostRequestBody::|public|ReportName:global.Microsoft.Graph.Beta.Models.CloudPcRecommendationReportType? +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Reports.RetrieveCloudPcRecommendationReports.retrieveCloudPcRecommendationReportsPostRequestBody::|public|Search:string +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Reports.RetrieveCloudPcRecommendationReports.retrieveCloudPcRecommendationReportsPostRequestBody::|public|Select:List +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Reports.RetrieveCloudPcRecommendationReports.retrieveCloudPcRecommendationReportsPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Reports.RetrieveCloudPcRecommendationReports.retrieveCloudPcRecommendationReportsPostRequestBody::|public|Skip:int? +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Reports.RetrieveCloudPcRecommendationReports.retrieveCloudPcRecommendationReportsPostRequestBody::|public|Top:int? +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Reports.RetrieveCloudPcRecommendationReports.retrieveCloudPcRecommendationReportsPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Reports.RetrieveCloudPcRecommendationReports.RetrieveCloudPcRecommendationReportsPostRequestBody +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Reports.RetrieveCloudPcRecommendationReports.retrieveCloudPcRecommendationReportsPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Reports.RetrieveCloudPcRecommendationReports.retrieveCloudPcRecommendationReportsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Reports.RetrieveCloudPcRecommendationReports.retrieveCloudPcRecommendationReportsRequestBuilder.retrieveCloudPcRecommendationReportsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Reports.RetrieveCloudPcRecommendationReports.retrieveCloudPcRecommendationReportsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Reports.RetrieveCloudPcRecommendationReports.retrieveCloudPcRecommendationReportsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Reports.RetrieveCloudPcRecommendationReports.retrieveCloudPcRecommendationReportsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Reports.RetrieveCloudPcRecommendationReports.RetrieveCloudPcRecommendationReportsPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):Stream +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Reports.RetrieveCloudPcRecommendationReports.retrieveCloudPcRecommendationReportsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Reports.RetrieveCloudPcRecommendationReports.RetrieveCloudPcRecommendationReportsPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Reports.RetrieveCloudPcRecommendationReports.retrieveCloudPcRecommendationReportsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Reports.RetrieveCloudPcRecommendationReports.RetrieveCloudPcRecommendationReportsRequestBuilder Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Reports.RetrieveCloudPcTenantMetricsReport.retrieveCloudPcTenantMetricsReportPostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Reports.RetrieveCloudPcTenantMetricsReport.retrieveCloudPcTenantMetricsReportPostRequestBody::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Reports.RetrieveCloudPcTenantMetricsReport.retrieveCloudPcTenantMetricsReportPostRequestBody::|public|constructor():void @@ -98079,6 +98221,31 @@ Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.Policy.policyR Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.Policy.policyRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.Policy.policyRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.InformationProtectionPolicy; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.Policy.policyRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.Policy.PolicyRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter; contentFormats?:string; labelIds?:string; locale?:string):void +Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.SensitivityLabel +Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|DelegatedUserEmail:string +Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|Locale:string +Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|ProtectedContents:List +Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|SupportedContentFormats:List +Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody +Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder.computeRightsAndInheritanceRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ComputeRightsAndInheritanceResult +Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -98104,6 +98271,15 @@ Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLab Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Evaluate.evaluateRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Evaluate.EvaluatePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.EvaluateLabelJobResponse Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Evaluate.evaluateRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Evaluate.EvaluatePostRequestBody; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Evaluate.evaluateRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Evaluate.EvaluateRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Rights.rightsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Rights.rightsRequestBuilder.rightsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Rights.rightsRequestBuilder.rightsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Rights.rightsRequestBuilder.rightsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Rights.rightsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Rights.rightsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Rights.rightsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.UsageRightsIncluded +Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Rights.rightsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Rights.rightsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Rights.RightsRequestBuilder Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder.SensitivityLabelItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder.SensitivityLabelItemRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -98115,11 +98291,37 @@ Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLab Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.SensitivityLabel Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.SensitivityLabel; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.SensitivityLabel +Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder::|public|rights:global.Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Rights.RightsRequestBuilder Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder::|public|sublabels:global.Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.SublabelsRequestBuilder Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.SensitivityLabel; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter; contentFormats?:string; labelIds?:string; locale?:string):void +Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.SensitivityLabel +Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|DelegatedUserEmail:string +Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|Locale:string +Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|ProtectedContents:List +Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|SupportedContentFormats:List +Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody +Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder.computeRightsAndInheritanceRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ComputeRightsAndInheritanceResult +Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -98145,6 +98347,15 @@ Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLab Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Evaluate.evaluateRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Evaluate.EvaluatePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.EvaluateLabelJobResponse Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Evaluate.evaluateRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Evaluate.EvaluatePostRequestBody; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Evaluate.evaluateRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Evaluate.EvaluateRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Item.Rights.rightsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Item.Rights.rightsRequestBuilder.rightsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Item.Rights.rightsRequestBuilder.rightsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Item.Rights.rightsRequestBuilder.rightsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Item.Rights.rightsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Item.Rights.rightsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Item.Rights.rightsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.UsageRightsIncluded +Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Item.Rights.rightsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Item.Rights.rightsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Item.Rights.RightsRequestBuilder Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder.SensitivityLabelItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder.SensitivityLabelItemRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -98156,6 +98367,7 @@ Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLab Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.SensitivityLabel Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.SensitivityLabel; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.SensitivityLabel +Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder::|public|rights:global.Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Item.Rights.RightsRequestBuilder Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.SensitivityLabel; requestConfiguration?:Action>):RequestInformation @@ -98172,6 +98384,8 @@ Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLab Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.sublabelsRequestBuilder.sublabelsRequestBuilderGetRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.sublabelsRequestBuilder.sublabelsRequestBuilderPostRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.sublabelsRequestBuilder::[SensitivityLabelId1:string]:global.Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.sublabelsRequestBuilder::|public|computeInheritanceWithLabelIdsWithLocaleWithContentFormats(contentFormats:string; labelIds:string; locale:string):global.Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.sublabelsRequestBuilder::|public|computeRightsAndInheritance:global.Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.sublabelsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.sublabelsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.sublabelsRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Count.CountRequestBuilder @@ -98193,6 +98407,8 @@ Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLab Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.sensitivityLabelsRequestBuilder.sensitivityLabelsRequestBuilderGetRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.sensitivityLabelsRequestBuilder.sensitivityLabelsRequestBuilderPostRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.sensitivityLabelsRequestBuilder::[SensitivityLabelId:string]:global.Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.sensitivityLabelsRequestBuilder::|public|computeInheritanceWithLabelIdsWithLocaleWithContentFormats(contentFormats:string; labelIds:string; locale:string):global.Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.sensitivityLabelsRequestBuilder::|public|computeRightsAndInheritance:global.Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.sensitivityLabelsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.sensitivityLabelsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.sensitivityLabelsRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Groups.Item.Sites.Item.InformationProtection.SensitivityLabels.Count.CountRequestBuilder @@ -102413,6 +102629,21 @@ Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.Count.CountRequestB Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.Count.CountRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.Delete.deletePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.Delete.deletePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.Delete.deletePostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.Delete.deletePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.Delete.deletePostRequestBody::|public|Ids:List +Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.Delete.deletePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.Delete.deletePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.Delete.DeletePostRequestBody +Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.Delete.deletePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.Delete.deleteRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.Delete.deleteRequestBuilder.deleteRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.Delete.deleteRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.Delete.deleteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.Delete.deleteRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.Delete.DeletePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.Delete.deleteRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.Delete.DeletePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.Delete.deleteRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.Delete.DeleteRequestBuilder Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.Item.CreatedByUser.createdByUserRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.Item.CreatedByUser.createdByUserRequestBuilder.createdByUserRequestBuilderGetQueryParameters::|public|Expand:string[] Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.Item.CreatedByUser.createdByUserRequestBuilder.createdByUserRequestBuilderGetQueryParameters::|public|Select:string[] @@ -102541,11 +102772,36 @@ Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.itemsRequestBuilder Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.itemsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.itemsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.itemsRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.Count.CountRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.itemsRequestBuilder::|public|deletePath:global.Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.Delete.DeleteRequestBuilder Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.itemsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.RecycleBinItemCollectionResponse Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.itemsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.RecycleBinItem; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.RecycleBinItem +Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.itemsRequestBuilder::|public|restore:global.Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.Restore.RestoreRequestBuilder Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.itemsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.itemsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.RecycleBinItem; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.itemsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.ItemsRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.Restore.restorePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.Restore.restorePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.Restore.restorePostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.Restore.restorePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.Restore.restorePostRequestBody::|public|Ids:List +Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.Restore.restorePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.Restore.restorePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.Restore.RestorePostRequestBody +Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.Restore.restorePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.Restore.restorePostResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.Restore.restorePostResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.Restore.restorePostResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.Restore.restorePostResponse::|public|Value:List +Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.Restore.restorePostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.Restore.RestorePostResponse +Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.Restore.restoreRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.Restore.restoreRequestBuilder.restoreRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.Restore.restoreRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.Restore.restoreRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.Restore.restoreRequestBuilder::|public|PostAsRestorePostResponseAsync(body:global.Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.Restore.RestorePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.Restore.RestorePostResponse +Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.Restore.restoreRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.Restore.RestorePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.Restore.RestoreResponse +Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.Restore.restoreRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.Restore.RestorePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.Restore.restoreRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.Restore.RestoreRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.Restore.restoreResponse-->global.Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.Restore.RestorePostResponse +Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.Restore.restoreResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.Items.Restore.RestoreResponse Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.LastModifiedByUser.lastModifiedByUserRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.LastModifiedByUser.lastModifiedByUserRequestBuilder.lastModifiedByUserRequestBuilderGetQueryParameters::|public|Expand:string[] Microsoft.Graph.Beta.Groups.Item.Sites.Item.RecycleBin.LastModifiedByUser.lastModifiedByUserRequestBuilder.lastModifiedByUserRequestBuilderGetQueryParameters::|public|Select:string[] @@ -126837,6 +127093,31 @@ Microsoft.Graph.Beta.InformationProtection.Policy.policyRequestBuilder::|public| Microsoft.Graph.Beta.InformationProtection.Policy.policyRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.InformationProtection.Policy.policyRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.InformationProtectionPolicy; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.InformationProtection.Policy.policyRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.InformationProtection.Policy.PolicyRequestBuilder +Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter; contentFormats?:string; labelIds?:string; locale?:string):void +Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.SensitivityLabel +Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder +Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|DelegatedUserEmail:string +Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|Locale:string +Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|ProtectedContents:List +Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|SupportedContentFormats:List +Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody +Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder.computeRightsAndInheritanceRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ComputeRightsAndInheritanceResult +Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -126862,6 +127143,15 @@ Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Evaluate.evaluateRe Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Evaluate.evaluateRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Evaluate.EvaluatePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.EvaluateLabelJobResponse Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Evaluate.evaluateRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Evaluate.EvaluatePostRequestBody; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Evaluate.evaluateRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Evaluate.EvaluateRequestBuilder +Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Rights.rightsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Rights.rightsRequestBuilder.rightsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Rights.rightsRequestBuilder.rightsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Rights.rightsRequestBuilder.rightsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Rights.rightsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Rights.rightsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Rights.rightsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.UsageRightsIncluded +Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Rights.rightsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Rights.rightsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Rights.RightsRequestBuilder Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder.SensitivityLabelItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder.SensitivityLabelItemRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -126873,11 +127163,37 @@ Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.SensitivityLab Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.SensitivityLabel Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.SensitivityLabel; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.SensitivityLabel +Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder::|public|rights:global.Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Rights.RightsRequestBuilder Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder::|public|sublabels:global.Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Sublabels.SublabelsRequestBuilder Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.SensitivityLabel; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder +Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter; contentFormats?:string; labelIds?:string; locale?:string):void +Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.SensitivityLabel +Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder +Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|DelegatedUserEmail:string +Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|Locale:string +Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|ProtectedContents:List +Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|SupportedContentFormats:List +Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody +Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder.computeRightsAndInheritanceRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ComputeRightsAndInheritanceResult +Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Sublabels.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Sublabels.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Sublabels.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -126903,6 +127219,15 @@ Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Sublabels.Eval Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Sublabels.Evaluate.evaluateRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Sublabels.Evaluate.EvaluatePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.EvaluateLabelJobResponse Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Sublabels.Evaluate.evaluateRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Sublabels.Evaluate.EvaluatePostRequestBody; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Sublabels.Evaluate.evaluateRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Sublabels.Evaluate.EvaluateRequestBuilder +Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Sublabels.Item.Rights.rightsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Sublabels.Item.Rights.rightsRequestBuilder.rightsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Sublabels.Item.Rights.rightsRequestBuilder.rightsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Sublabels.Item.Rights.rightsRequestBuilder.rightsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Sublabels.Item.Rights.rightsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Sublabels.Item.Rights.rightsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Sublabels.Item.Rights.rightsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.UsageRightsIncluded +Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Sublabels.Item.Rights.rightsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Sublabels.Item.Rights.rightsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Sublabels.Item.Rights.RightsRequestBuilder Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder.SensitivityLabelItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder.SensitivityLabelItemRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -126914,6 +127239,7 @@ Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Sublabels.Item Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.SensitivityLabel Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.SensitivityLabel; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.SensitivityLabel +Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder::|public|rights:global.Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Sublabels.Item.Rights.RightsRequestBuilder Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.SensitivityLabel; requestConfiguration?:Action>):RequestInformation @@ -126930,6 +127256,8 @@ Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Sublabels.subl Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Sublabels.sublabelsRequestBuilder.sublabelsRequestBuilderGetRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Sublabels.sublabelsRequestBuilder.sublabelsRequestBuilderPostRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Sublabels.sublabelsRequestBuilder::[SensitivityLabelId1:string]:global.Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder +Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Sublabels.sublabelsRequestBuilder::|public|computeInheritanceWithLabelIdsWithLocaleWithContentFormats(contentFormats:string; labelIds:string; locale:string):global.Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder +Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Sublabels.sublabelsRequestBuilder::|public|computeRightsAndInheritance:global.Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Sublabels.sublabelsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Sublabels.sublabelsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Sublabels.sublabelsRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.Sublabels.Count.CountRequestBuilder @@ -126951,6 +127279,8 @@ Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.sensitivityLabelsRe Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.sensitivityLabelsRequestBuilder.sensitivityLabelsRequestBuilderGetRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.sensitivityLabelsRequestBuilder.sensitivityLabelsRequestBuilderPostRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.sensitivityLabelsRequestBuilder::[SensitivityLabelId:string]:global.Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder +Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.sensitivityLabelsRequestBuilder::|public|computeInheritanceWithLabelIdsWithLocaleWithContentFormats(contentFormats:string; labelIds:string; locale:string):global.Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder +Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.sensitivityLabelsRequestBuilder::|public|computeRightsAndInheritance:global.Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.sensitivityLabelsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.sensitivityLabelsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.sensitivityLabelsRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.InformationProtection.SensitivityLabels.Count.CountRequestBuilder @@ -142108,6 +142438,31 @@ Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.ProtectionScopes.protectionSco Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.ProtectionScopes.protectionScopesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.ProtectionScopes.protectionScopesRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.UserProtectionScopeContainer; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.ProtectionScopes.protectionScopesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.ProtectionScopes.ProtectionScopesRequestBuilder +Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter; contentFormats?:string; labelIds?:string; locale?:string):void +Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.SensitivityLabel +Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder +Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|DelegatedUserEmail:string +Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|Locale:string +Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|ProtectedContents:List +Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|SupportedContentFormats:List +Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody +Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder.computeRightsAndInheritanceRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ComputeRightsAndInheritanceResult +Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -142133,6 +142488,15 @@ Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Evaluate.eva Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Evaluate.evaluateRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Evaluate.EvaluatePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.EvaluateLabelJobResponse Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Evaluate.evaluateRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Evaluate.EvaluatePostRequestBody; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Evaluate.evaluateRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Evaluate.EvaluateRequestBuilder +Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Rights.rightsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Rights.rightsRequestBuilder.rightsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Rights.rightsRequestBuilder.rightsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Rights.rightsRequestBuilder.rightsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Rights.rightsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Rights.rightsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Rights.rightsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.UsageRightsIncluded +Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Rights.rightsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Rights.rightsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Rights.RightsRequestBuilder Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder.SensitivityLabelItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder.SensitivityLabelItemRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -142144,11 +142508,37 @@ Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sensiti Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.SensitivityLabel Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.SensitivityLabel; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.SensitivityLabel +Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder::|public|rights:global.Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Rights.RightsRequestBuilder Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder::|public|sublabels:global.Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.SublabelsRequestBuilder Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.SensitivityLabel; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder +Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter; contentFormats?:string; labelIds?:string; locale?:string):void +Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.SensitivityLabel +Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder +Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|DelegatedUserEmail:string +Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|Locale:string +Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|ProtectedContents:List +Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|SupportedContentFormats:List +Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody +Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder.computeRightsAndInheritanceRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ComputeRightsAndInheritanceResult +Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -142174,6 +142564,15 @@ Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabe Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Evaluate.evaluateRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Evaluate.EvaluatePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.EvaluateLabelJobResponse Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Evaluate.evaluateRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Evaluate.EvaluatePostRequestBody; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Evaluate.evaluateRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Evaluate.EvaluateRequestBuilder +Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.Rights.rightsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.Rights.rightsRequestBuilder.rightsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.Rights.rightsRequestBuilder.rightsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.Rights.rightsRequestBuilder.rightsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.Rights.rightsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.Rights.rightsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.Rights.rightsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.UsageRightsIncluded +Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.Rights.rightsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.Rights.rightsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.Rights.RightsRequestBuilder Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder.SensitivityLabelItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder.SensitivityLabelItemRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -142185,6 +142584,7 @@ Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabe Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.SensitivityLabel Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.SensitivityLabel; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.SensitivityLabel +Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder::|public|rights:global.Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.Rights.RightsRequestBuilder Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.SensitivityLabel; requestConfiguration?:Action>):RequestInformation @@ -142201,6 +142601,8 @@ Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabe Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.sublabelsRequestBuilder.sublabelsRequestBuilderGetRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.sublabelsRequestBuilder.sublabelsRequestBuilderPostRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.sublabelsRequestBuilder::[SensitivityLabelId1:string]:global.Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder +Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.sublabelsRequestBuilder::|public|computeInheritanceWithLabelIdsWithLocaleWithContentFormats(contentFormats:string; labelIds:string; locale:string):global.Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder +Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.sublabelsRequestBuilder::|public|computeRightsAndInheritance:global.Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.sublabelsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.sublabelsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.sublabelsRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Count.CountRequestBuilder @@ -142222,6 +142624,8 @@ Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.sensitivityL Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.sensitivityLabelsRequestBuilder.sensitivityLabelsRequestBuilderGetRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.sensitivityLabelsRequestBuilder.sensitivityLabelsRequestBuilderPostRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.sensitivityLabelsRequestBuilder::[SensitivityLabelId:string]:global.Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder +Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.sensitivityLabelsRequestBuilder::|public|computeInheritanceWithLabelIdsWithLocaleWithContentFormats(contentFormats:string; labelIds:string; locale:string):global.Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder +Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.sensitivityLabelsRequestBuilder::|public|computeRightsAndInheritance:global.Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.sensitivityLabelsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.sensitivityLabelsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.sensitivityLabelsRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Me.DataSecurityAndGovernance.SensitivityLabels.Count.CountRequestBuilder @@ -145856,6 +146260,31 @@ Microsoft.Graph.Beta.Me.InformationProtection.Policy.policyRequestBuilder::|publ Microsoft.Graph.Beta.Me.InformationProtection.Policy.policyRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Me.InformationProtection.Policy.policyRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.InformationProtectionPolicy; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Me.InformationProtection.Policy.policyRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.InformationProtection.Policy.PolicyRequestBuilder +Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter; contentFormats?:string; labelIds?:string; locale?:string):void +Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.SensitivityLabel +Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder +Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|DelegatedUserEmail:string +Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|Locale:string +Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|ProtectedContents:List +Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|SupportedContentFormats:List +Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody +Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder.computeRightsAndInheritanceRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ComputeRightsAndInheritanceResult +Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -145881,6 +146310,15 @@ Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Evaluate.evaluat Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Evaluate.evaluateRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Evaluate.EvaluatePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.EvaluateLabelJobResponse Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Evaluate.evaluateRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Evaluate.EvaluatePostRequestBody; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Evaluate.evaluateRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Evaluate.EvaluateRequestBuilder +Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Rights.rightsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Rights.rightsRequestBuilder.rightsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Rights.rightsRequestBuilder.rightsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Rights.rightsRequestBuilder.rightsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Rights.rightsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Rights.rightsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Rights.rightsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.UsageRightsIncluded +Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Rights.rightsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Rights.rightsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Rights.RightsRequestBuilder Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder.SensitivityLabelItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder.SensitivityLabelItemRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -145892,11 +146330,37 @@ Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Sensitivity Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.SensitivityLabel Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.SensitivityLabel; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.SensitivityLabel +Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder::|public|rights:global.Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Rights.RightsRequestBuilder Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder::|public|sublabels:global.Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Sublabels.SublabelsRequestBuilder Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.SensitivityLabel; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder +Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter; contentFormats?:string; labelIds?:string; locale?:string):void +Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.SensitivityLabel +Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder +Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|DelegatedUserEmail:string +Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|Locale:string +Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|ProtectedContents:List +Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|SupportedContentFormats:List +Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody +Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder.computeRightsAndInheritanceRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ComputeRightsAndInheritanceResult +Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Sublabels.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Sublabels.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Sublabels.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -145922,6 +146386,15 @@ Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Sublabels.E Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Sublabels.Evaluate.evaluateRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Sublabels.Evaluate.EvaluatePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.EvaluateLabelJobResponse Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Sublabels.Evaluate.evaluateRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Sublabels.Evaluate.EvaluatePostRequestBody; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Sublabels.Evaluate.evaluateRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Sublabels.Evaluate.EvaluateRequestBuilder +Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Sublabels.Item.Rights.rightsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Sublabels.Item.Rights.rightsRequestBuilder.rightsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Sublabels.Item.Rights.rightsRequestBuilder.rightsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Sublabels.Item.Rights.rightsRequestBuilder.rightsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Sublabels.Item.Rights.rightsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Sublabels.Item.Rights.rightsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Sublabels.Item.Rights.rightsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.UsageRightsIncluded +Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Sublabels.Item.Rights.rightsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Sublabels.Item.Rights.rightsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Sublabels.Item.Rights.RightsRequestBuilder Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder.SensitivityLabelItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder.SensitivityLabelItemRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -145933,6 +146406,7 @@ Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Sublabels.I Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.SensitivityLabel Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.SensitivityLabel; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.SensitivityLabel +Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder::|public|rights:global.Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Sublabels.Item.Rights.RightsRequestBuilder Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.SensitivityLabel; requestConfiguration?:Action>):RequestInformation @@ -145949,6 +146423,8 @@ Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Sublabels.s Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Sublabels.sublabelsRequestBuilder.sublabelsRequestBuilderGetRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Sublabels.sublabelsRequestBuilder.sublabelsRequestBuilderPostRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Sublabels.sublabelsRequestBuilder::[SensitivityLabelId1:string]:global.Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder +Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Sublabels.sublabelsRequestBuilder::|public|computeInheritanceWithLabelIdsWithLocaleWithContentFormats(contentFormats:string; labelIds:string; locale:string):global.Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder +Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Sublabels.sublabelsRequestBuilder::|public|computeRightsAndInheritance:global.Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Sublabels.sublabelsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Sublabels.sublabelsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Sublabels.sublabelsRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.Sublabels.Count.CountRequestBuilder @@ -145970,6 +146446,8 @@ Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.sensitivityLabel Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.sensitivityLabelsRequestBuilder.sensitivityLabelsRequestBuilderGetRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.sensitivityLabelsRequestBuilder.sensitivityLabelsRequestBuilderPostRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.sensitivityLabelsRequestBuilder::[SensitivityLabelId:string]:global.Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder +Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.sensitivityLabelsRequestBuilder::|public|computeInheritanceWithLabelIdsWithLocaleWithContentFormats(contentFormats:string; labelIds:string; locale:string):global.Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder +Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.sensitivityLabelsRequestBuilder::|public|computeRightsAndInheritance:global.Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.sensitivityLabelsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.sensitivityLabelsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.sensitivityLabelsRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Me.InformationProtection.SensitivityLabels.Count.CountRequestBuilder @@ -169557,6 +170035,8 @@ Microsoft.Graph.Beta.Models.cloudPcProvisioningType::0001-shared Microsoft.Graph.Beta.Models.cloudPcProvisioningType::0002-unknownFutureValue Microsoft.Graph.Beta.Models.cloudPcProvisioningType::0003-sharedByUser Microsoft.Graph.Beta.Models.cloudPcProvisioningType::0004-sharedByEntraGroup +Microsoft.Graph.Beta.Models.cloudPcRecommendationReportType::0000-cloudPcUsageCategoryReports +Microsoft.Graph.Beta.Models.cloudPcRecommendationReportType::0001-unknownFutureValue Microsoft.Graph.Beta.Models.cloudPcRegionGroup::0000-default Microsoft.Graph.Beta.Models.cloudPcRegionGroup::0001-australia Microsoft.Graph.Beta.Models.cloudPcRegionGroup::0002-canada @@ -170482,6 +170962,17 @@ Microsoft.Graph.Beta.Models.complianceStatus::0005-error Microsoft.Graph.Beta.Models.complianceStatus::0006-conflict Microsoft.Graph.Beta.Models.complianceStatus::0007-notAssigned Microsoft.Graph.Beta.Models.compliance~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.computeRightsAndInheritanceResult::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.computeRightsAndInheritanceResult::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.computeRightsAndInheritanceResult::|public|constructor():void +Microsoft.Graph.Beta.Models.computeRightsAndInheritanceResult::|public|ContentRights:List +Microsoft.Graph.Beta.Models.computeRightsAndInheritanceResult::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.computeRightsAndInheritanceResult::|public|InheritedLabel:global.Microsoft.Graph.Beta.Models.SensitivityLabel +Microsoft.Graph.Beta.Models.computeRightsAndInheritanceResult::|public|OdataType:string +Microsoft.Graph.Beta.Models.computeRightsAndInheritanceResult::|public|SensitivityLabels:List +Microsoft.Graph.Beta.Models.computeRightsAndInheritanceResult::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.computeRightsAndInheritanceResult::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.ComputeRightsAndInheritanceResult +Microsoft.Graph.Beta.Models.computeRightsAndInheritanceResult~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.Models.conditionalAccessAllExternalTenants-->global.Microsoft.Graph.Beta.Models.ConditionalAccessExternalTenants Microsoft.Graph.Beta.Models.conditionalAccessAllExternalTenants::|public|constructor():void Microsoft.Graph.Beta.Models.conditionalAccessAllExternalTenants::|public|GetFieldDeserializers():IDictionary> @@ -183420,6 +183911,7 @@ Microsoft.Graph.Beta.Models.identifierUriConfiguration::|public|GetFieldDeserial Microsoft.Graph.Beta.Models.identifierUriConfiguration::|public|NonDefaultUriAddition:global.Microsoft.Graph.Beta.Models.IdentifierUriRestriction Microsoft.Graph.Beta.Models.identifierUriConfiguration::|public|OdataType:string Microsoft.Graph.Beta.Models.identifierUriConfiguration::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.identifierUriConfiguration::|public|UriAdditionWithoutUniqueTenantIdentifier:global.Microsoft.Graph.Beta.Models.IdentifierUriRestriction Microsoft.Graph.Beta.Models.identifierUriConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.IdentifierUriConfiguration Microsoft.Graph.Beta.Models.identifierUriConfiguration~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.Models.identifierUriRestriction::|public|AdditionalData:IDictionary @@ -187244,6 +187736,19 @@ Microsoft.Graph.Beta.Models.labelActionBase::|public|OdataType:string Microsoft.Graph.Beta.Models.labelActionBase::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.labelActionBase::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.LabelActionBase Microsoft.Graph.Beta.Models.labelActionBase~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.labelActionSource::0000-manual +Microsoft.Graph.Beta.Models.labelActionSource::0001-automatic +Microsoft.Graph.Beta.Models.labelActionSource::0002-recommended +Microsoft.Graph.Beta.Models.labelActionSource::0003-none +Microsoft.Graph.Beta.Models.labelActionSource::0004-unknownFutureValue +Microsoft.Graph.Beta.Models.labelContentRight-->global.Microsoft.Graph.Beta.Models.Entity +Microsoft.Graph.Beta.Models.labelContentRight::|public|Cid:string +Microsoft.Graph.Beta.Models.labelContentRight::|public|Format:string +Microsoft.Graph.Beta.Models.labelContentRight::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.labelContentRight::|public|Label:global.Microsoft.Graph.Beta.Models.SensitivityLabel +Microsoft.Graph.Beta.Models.labelContentRight::|public|OdataType:string +Microsoft.Graph.Beta.Models.labelContentRight::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.labelContentRight::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.LabelContentRight Microsoft.Graph.Beta.Models.labelDetails-->global.Microsoft.Graph.Beta.Models.ParentLabelDetails Microsoft.Graph.Beta.Models.labelDetails::|public|constructor():void Microsoft.Graph.Beta.Models.labelDetails::|public|GetFieldDeserializers():IDictionary> @@ -196290,6 +196795,11 @@ Microsoft.Graph.Beta.Models.organizationalBrandingProperties::|public|SquareLogo Microsoft.Graph.Beta.Models.organizationalBrandingProperties::|public|SquareLogoRelativeUrl:string Microsoft.Graph.Beta.Models.organizationalBrandingProperties::|public|UsernameHintText:string Microsoft.Graph.Beta.Models.organizationalBrandingProperties::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.OrganizationalBrandingProperties +Microsoft.Graph.Beta.Models.organizationAllowedAudiences::0000-me +Microsoft.Graph.Beta.Models.organizationAllowedAudiences::0001-organization +Microsoft.Graph.Beta.Models.organizationAllowedAudiences::0002-federatedOrganizations +Microsoft.Graph.Beta.Models.organizationAllowedAudiences::0003-everyone +Microsoft.Graph.Beta.Models.organizationAllowedAudiences::0004-unknownFutureValue Microsoft.Graph.Beta.Models.organizationalUnit-->global.Microsoft.Graph.Beta.Models.DirectoryObject Microsoft.Graph.Beta.Models.organizationalUnit::|public|Children:List Microsoft.Graph.Beta.Models.organizationalUnit::|public|constructor():void @@ -197436,6 +197946,7 @@ Microsoft.Graph.Beta.Models.peopleAdminSettings::|public|ItemInsights:global.Mic Microsoft.Graph.Beta.Models.peopleAdminSettings::|public|NamePronunciation:global.Microsoft.Graph.Beta.Models.NamePronunciationSettings Microsoft.Graph.Beta.Models.peopleAdminSettings::|public|OdataType:string Microsoft.Graph.Beta.Models.peopleAdminSettings::|public|ProfileCardProperties:List +Microsoft.Graph.Beta.Models.peopleAdminSettings::|public|ProfilePropertySettings:List Microsoft.Graph.Beta.Models.peopleAdminSettings::|public|Pronouns:global.Microsoft.Graph.Beta.Models.PronounsSettings Microsoft.Graph.Beta.Models.peopleAdminSettings::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.peopleAdminSettings::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.PeopleAdminSettings @@ -201331,6 +201842,20 @@ Microsoft.Graph.Beta.Models.profilePhotoCollectionResponse::|public|GetFieldDese Microsoft.Graph.Beta.Models.profilePhotoCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.profilePhotoCollectionResponse::|public|Value:List Microsoft.Graph.Beta.Models.profilePhotoCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.ProfilePhotoCollectionResponse +Microsoft.Graph.Beta.Models.profilePropertySetting-->global.Microsoft.Graph.Beta.Models.Entity +Microsoft.Graph.Beta.Models.profilePropertySetting::|public|AllowedAudiences:global.Microsoft.Graph.Beta.Models.OrganizationAllowedAudiences? +Microsoft.Graph.Beta.Models.profilePropertySetting::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.profilePropertySetting::|public|IsUserOverrideForAudienceEnabled:bool? +Microsoft.Graph.Beta.Models.profilePropertySetting::|public|Name:string +Microsoft.Graph.Beta.Models.profilePropertySetting::|public|OdataType:string +Microsoft.Graph.Beta.Models.profilePropertySetting::|public|PrioritizedSourceUrls:List +Microsoft.Graph.Beta.Models.profilePropertySetting::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.profilePropertySetting::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.ProfilePropertySetting +Microsoft.Graph.Beta.Models.profilePropertySettingCollectionResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Models.profilePropertySettingCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.profilePropertySettingCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.profilePropertySettingCollectionResponse::|public|Value:List +Microsoft.Graph.Beta.Models.profilePropertySettingCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.ProfilePropertySettingCollectionResponse Microsoft.Graph.Beta.Models.profileSource-->global.Microsoft.Graph.Beta.Models.Entity Microsoft.Graph.Beta.Models.profileSource::|public|DisplayName:string Microsoft.Graph.Beta.Models.profileSource::|public|GetFieldDeserializers():IDictionary> @@ -201508,6 +202033,17 @@ Microsoft.Graph.Beta.Models.protectedApplicationMetadata::|public|GetFieldDeseri Microsoft.Graph.Beta.Models.protectedApplicationMetadata::|public|OdataType:string Microsoft.Graph.Beta.Models.protectedApplicationMetadata::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.protectedApplicationMetadata::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.ProtectedApplicationMetadata +Microsoft.Graph.Beta.Models.protectedContent::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.protectedContent::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.protectedContent::|public|Cid:string +Microsoft.Graph.Beta.Models.protectedContent::|public|constructor():void +Microsoft.Graph.Beta.Models.protectedContent::|public|Format:string +Microsoft.Graph.Beta.Models.protectedContent::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.protectedContent::|public|LabelId:string +Microsoft.Graph.Beta.Models.protectedContent::|public|OdataType:string +Microsoft.Graph.Beta.Models.protectedContent::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.protectedContent::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.ProtectedContent +Microsoft.Graph.Beta.Models.protectedContent~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.Models.protectGroup-->global.Microsoft.Graph.Beta.Models.LabelActionBase Microsoft.Graph.Beta.Models.protectGroup::|public|AllowEmailFromGuestUsers:bool? Microsoft.Graph.Beta.Models.protectGroup::|public|AllowGuestUsers:bool? @@ -211659,10 +212195,12 @@ Microsoft.Graph.Beta.Models.sensitivity::0001-personal Microsoft.Graph.Beta.Models.sensitivity::0002-private Microsoft.Graph.Beta.Models.sensitivity::0003-confidential Microsoft.Graph.Beta.Models.sensitivityLabel-->global.Microsoft.Graph.Beta.Models.Entity +Microsoft.Graph.Beta.Models.sensitivityLabel::|public|ActionSource:global.Microsoft.Graph.Beta.Models.LabelActionSource? Microsoft.Graph.Beta.Models.sensitivityLabel::|public|ApplicableTo:global.Microsoft.Graph.Beta.Models.SensitivityLabelTarget? Microsoft.Graph.Beta.Models.sensitivityLabel::|public|ApplicationMode:global.Microsoft.Graph.Beta.Models.ApplicationMode? Microsoft.Graph.Beta.Models.sensitivityLabel::|public|AssignedPolicies:List Microsoft.Graph.Beta.Models.sensitivityLabel::|public|AutoLabeling:global.Microsoft.Graph.Beta.Models.AutoLabeling +Microsoft.Graph.Beta.Models.sensitivityLabel::|public|AutoTooltip:string Microsoft.Graph.Beta.Models.sensitivityLabel::|public|Color:string Microsoft.Graph.Beta.Models.sensitivityLabel::|public|Description:string Microsoft.Graph.Beta.Models.sensitivityLabel::|public|DisplayName:string @@ -211670,10 +212208,13 @@ Microsoft.Graph.Beta.Models.sensitivityLabel::|public|GetFieldDeserializers():ID Microsoft.Graph.Beta.Models.sensitivityLabel::|public|IsDefault:bool? Microsoft.Graph.Beta.Models.sensitivityLabel::|public|IsEnabled:bool? Microsoft.Graph.Beta.Models.sensitivityLabel::|public|IsEndpointProtectionEnabled:bool? +Microsoft.Graph.Beta.Models.sensitivityLabel::|public|IsScopedToUser:bool? Microsoft.Graph.Beta.Models.sensitivityLabel::|public|LabelActions:List +Microsoft.Graph.Beta.Models.sensitivityLabel::|public|Locale:string Microsoft.Graph.Beta.Models.sensitivityLabel::|public|Name:string Microsoft.Graph.Beta.Models.sensitivityLabel::|public|OdataType:string Microsoft.Graph.Beta.Models.sensitivityLabel::|public|Priority:int? +Microsoft.Graph.Beta.Models.sensitivityLabel::|public|Rights:global.Microsoft.Graph.Beta.Models.UsageRightsIncluded Microsoft.Graph.Beta.Models.sensitivityLabel::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.sensitivityLabel::|public|Sublabels:List Microsoft.Graph.Beta.Models.sensitivityLabel::|public|ToolTip:string @@ -217930,6 +218471,35 @@ Microsoft.Graph.Beta.Models.usageRightCollectionResponse::|public|GetFieldDeseri Microsoft.Graph.Beta.Models.usageRightCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.usageRightCollectionResponse::|public|Value:List Microsoft.Graph.Beta.Models.usageRightCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.UsageRightCollectionResponse +Microsoft.Graph.Beta.Models.usageRights::0000-unknown +Microsoft.Graph.Beta.Models.usageRights::0001-docEdit +Microsoft.Graph.Beta.Models.usageRights::0002-edit +Microsoft.Graph.Beta.Models.usageRights::0003-comment +Microsoft.Graph.Beta.Models.usageRights::0004-export +Microsoft.Graph.Beta.Models.usageRights::0005-forward +Microsoft.Graph.Beta.Models.usageRights::0006-owner +Microsoft.Graph.Beta.Models.usageRights::0007-print +Microsoft.Graph.Beta.Models.usageRights::0008-reply +Microsoft.Graph.Beta.Models.usageRights::0009-replyAll +Microsoft.Graph.Beta.Models.usageRights::0010-view +Microsoft.Graph.Beta.Models.usageRights::0011-extract +Microsoft.Graph.Beta.Models.usageRights::0012-viewRightsData +Microsoft.Graph.Beta.Models.usageRights::0013-editRightsData +Microsoft.Graph.Beta.Models.usageRights::0014-objModel +Microsoft.Graph.Beta.Models.usageRights::0015-accessDenied +Microsoft.Graph.Beta.Models.usageRights::0016-userDefinedProtectionTypeNotSupportedException +Microsoft.Graph.Beta.Models.usageRights::0017-encryptedProtectionTypeNotSupportedException +Microsoft.Graph.Beta.Models.usageRights::0018-purviewClaimsChallengeNotSupportedException +Microsoft.Graph.Beta.Models.usageRights::0019-exception +Microsoft.Graph.Beta.Models.usageRights::0020-unknownFutureValue +Microsoft.Graph.Beta.Models.usageRightsIncluded-->global.Microsoft.Graph.Beta.Models.Entity +Microsoft.Graph.Beta.Models.usageRightsIncluded::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.usageRightsIncluded::|public|OdataType:string +Microsoft.Graph.Beta.Models.usageRightsIncluded::|public|OwnerEmail:string +Microsoft.Graph.Beta.Models.usageRightsIncluded::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.usageRightsIncluded::|public|UserEmail:string +Microsoft.Graph.Beta.Models.usageRightsIncluded::|public|Value:global.Microsoft.Graph.Beta.Models.UsageRights? +Microsoft.Graph.Beta.Models.usageRightsIncluded::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.UsageRightsIncluded Microsoft.Graph.Beta.Models.usageRightState::0000-active Microsoft.Graph.Beta.Models.usageRightState::0001-inactive Microsoft.Graph.Beta.Models.usageRightState::0002-warning @@ -250091,6 +250661,31 @@ Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.ProtectionScopes.protect Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.ProtectionScopes.protectionScopesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.ProtectionScopes.protectionScopesRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.TenantProtectionScopeContainer; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.ProtectionScopes.protectionScopesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.ProtectionScopes.ProtectionScopesRequestBuilder +Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter; contentFormats?:string; labelIds?:string; locale?:string):void +Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.SensitivityLabel +Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder +Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|DelegatedUserEmail:string +Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|Locale:string +Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|ProtectedContents:List +Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|SupportedContentFormats:List +Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody +Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder.computeRightsAndInheritanceRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ComputeRightsAndInheritanceResult +Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -250116,6 +250711,15 @@ Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Evalua Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Evaluate.evaluateRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Evaluate.EvaluatePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.EvaluateLabelJobResponse Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Evaluate.evaluateRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Evaluate.EvaluatePostRequestBody; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Evaluate.evaluateRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Evaluate.EvaluateRequestBuilder +Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Rights.rightsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Rights.rightsRequestBuilder.rightsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Rights.rightsRequestBuilder.rightsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Rights.rightsRequestBuilder.rightsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Rights.rightsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Rights.rightsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Rights.rightsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.UsageRightsIncluded +Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Rights.rightsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Rights.rightsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Rights.RightsRequestBuilder Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder.SensitivityLabelItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder.SensitivityLabelItemRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -250127,11 +250731,37 @@ Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.S Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.SensitivityLabel Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.SensitivityLabel; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.SensitivityLabel +Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder::|public|rights:global.Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Rights.RightsRequestBuilder Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder::|public|sublabels:global.Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.SublabelsRequestBuilder Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.SensitivityLabel; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder +Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter; contentFormats?:string; labelIds?:string; locale?:string):void +Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.SensitivityLabel +Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder +Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|DelegatedUserEmail:string +Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|Locale:string +Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|ProtectedContents:List +Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|SupportedContentFormats:List +Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody +Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder.computeRightsAndInheritanceRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ComputeRightsAndInheritanceResult +Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -250157,6 +250787,15 @@ Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.S Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Evaluate.evaluateRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Evaluate.EvaluatePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.EvaluateLabelJobResponse Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Evaluate.evaluateRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Evaluate.EvaluatePostRequestBody; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Evaluate.evaluateRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Evaluate.EvaluateRequestBuilder +Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.Rights.rightsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.Rights.rightsRequestBuilder.rightsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.Rights.rightsRequestBuilder.rightsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.Rights.rightsRequestBuilder.rightsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.Rights.rightsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.Rights.rightsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.Rights.rightsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.UsageRightsIncluded +Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.Rights.rightsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.Rights.rightsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.Rights.RightsRequestBuilder Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder.SensitivityLabelItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder.SensitivityLabelItemRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -250168,6 +250807,7 @@ Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.S Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.SensitivityLabel Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.SensitivityLabel; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.SensitivityLabel +Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder::|public|rights:global.Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.Rights.RightsRequestBuilder Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.SensitivityLabel; requestConfiguration?:Action>):RequestInformation @@ -250184,6 +250824,8 @@ Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.S Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.sublabelsRequestBuilder.sublabelsRequestBuilderGetRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.sublabelsRequestBuilder.sublabelsRequestBuilderPostRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.sublabelsRequestBuilder::[SensitivityLabelId1:string]:global.Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder +Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.sublabelsRequestBuilder::|public|computeInheritanceWithLabelIdsWithLocaleWithContentFormats(contentFormats:string; labelIds:string; locale:string):global.Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder +Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.sublabelsRequestBuilder::|public|computeRightsAndInheritance:global.Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.sublabelsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.sublabelsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.sublabelsRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Count.CountRequestBuilder @@ -250205,6 +250847,8 @@ Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.sensit Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.sensitivityLabelsRequestBuilder.sensitivityLabelsRequestBuilderGetRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.sensitivityLabelsRequestBuilder.sensitivityLabelsRequestBuilderPostRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.sensitivityLabelsRequestBuilder::[SensitivityLabelId:string]:global.Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder +Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.sensitivityLabelsRequestBuilder::|public|computeInheritanceWithLabelIdsWithLocaleWithContentFormats(contentFormats:string; labelIds:string; locale:string):global.Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder +Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.sensitivityLabelsRequestBuilder::|public|computeRightsAndInheritance:global.Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.sensitivityLabelsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.sensitivityLabelsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.sensitivityLabelsRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Security.DataSecurityAndGovernance.SensitivityLabels.Count.CountRequestBuilder @@ -260030,6 +260674,31 @@ Microsoft.Graph.Beta.Sites.Item.InformationProtection.Policy.policyRequestBuilde Microsoft.Graph.Beta.Sites.Item.InformationProtection.Policy.policyRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Sites.Item.InformationProtection.Policy.policyRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.InformationProtectionPolicy; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Sites.Item.InformationProtection.Policy.policyRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Sites.Item.InformationProtection.Policy.PolicyRequestBuilder +Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter; contentFormats?:string; labelIds?:string; locale?:string):void +Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.SensitivityLabel +Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder +Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|DelegatedUserEmail:string +Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|Locale:string +Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|ProtectedContents:List +Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|SupportedContentFormats:List +Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody +Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder.computeRightsAndInheritanceRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ComputeRightsAndInheritanceResult +Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -260055,6 +260724,15 @@ Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Evaluate Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Evaluate.evaluateRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Evaluate.EvaluatePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.EvaluateLabelJobResponse Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Evaluate.evaluateRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Evaluate.EvaluatePostRequestBody; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Evaluate.evaluateRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Evaluate.EvaluateRequestBuilder +Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Rights.rightsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Rights.rightsRequestBuilder.rightsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Rights.rightsRequestBuilder.rightsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Rights.rightsRequestBuilder.rightsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Rights.rightsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Rights.rightsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Rights.rightsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.UsageRightsIncluded +Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Rights.rightsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Rights.rightsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Rights.RightsRequestBuilder Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder.SensitivityLabelItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder.SensitivityLabelItemRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -260066,11 +260744,37 @@ Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Sen Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.SensitivityLabel Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.SensitivityLabel; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.SensitivityLabel +Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder::|public|rights:global.Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Rights.RightsRequestBuilder Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder::|public|sublabels:global.Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.SublabelsRequestBuilder Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.SensitivityLabel; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder +Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter; contentFormats?:string; labelIds?:string; locale?:string):void +Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.SensitivityLabel +Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder +Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|DelegatedUserEmail:string +Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|Locale:string +Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|ProtectedContents:List +Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|SupportedContentFormats:List +Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody +Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder.computeRightsAndInheritanceRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ComputeRightsAndInheritanceResult +Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -260096,6 +260800,15 @@ Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Sub Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Evaluate.evaluateRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Evaluate.EvaluatePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.EvaluateLabelJobResponse Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Evaluate.evaluateRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Evaluate.EvaluatePostRequestBody; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Evaluate.evaluateRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Evaluate.EvaluateRequestBuilder +Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Item.Rights.rightsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Item.Rights.rightsRequestBuilder.rightsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Item.Rights.rightsRequestBuilder.rightsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Item.Rights.rightsRequestBuilder.rightsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Item.Rights.rightsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Item.Rights.rightsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Item.Rights.rightsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.UsageRightsIncluded +Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Item.Rights.rightsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Item.Rights.rightsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Item.Rights.RightsRequestBuilder Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder.SensitivityLabelItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder.SensitivityLabelItemRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -260107,6 +260820,7 @@ Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Sub Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.SensitivityLabel Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.SensitivityLabel; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.SensitivityLabel +Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder::|public|rights:global.Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Item.Rights.RightsRequestBuilder Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.SensitivityLabel; requestConfiguration?:Action>):RequestInformation @@ -260123,6 +260837,8 @@ Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Sub Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.sublabelsRequestBuilder.sublabelsRequestBuilderGetRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.sublabelsRequestBuilder.sublabelsRequestBuilderPostRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.sublabelsRequestBuilder::[SensitivityLabelId1:string]:global.Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder +Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.sublabelsRequestBuilder::|public|computeInheritanceWithLabelIdsWithLocaleWithContentFormats(contentFormats:string; labelIds:string; locale:string):global.Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder +Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.sublabelsRequestBuilder::|public|computeRightsAndInheritance:global.Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.sublabelsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.sublabelsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.sublabelsRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Count.CountRequestBuilder @@ -260144,6 +260860,8 @@ Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.sensitiv Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.sensitivityLabelsRequestBuilder.sensitivityLabelsRequestBuilderGetRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.sensitivityLabelsRequestBuilder.sensitivityLabelsRequestBuilderPostRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.sensitivityLabelsRequestBuilder::[SensitivityLabelId:string]:global.Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder +Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.sensitivityLabelsRequestBuilder::|public|computeInheritanceWithLabelIdsWithLocaleWithContentFormats(contentFormats:string; labelIds:string; locale:string):global.Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder +Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.sensitivityLabelsRequestBuilder::|public|computeRightsAndInheritance:global.Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.sensitivityLabelsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.sensitivityLabelsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.sensitivityLabelsRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Sites.Item.InformationProtection.SensitivityLabels.Count.CountRequestBuilder @@ -264334,6 +265052,21 @@ Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.Count.CountRequestBuilder::|pub Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.Count.CountRequestBuilder +Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.Delete.deletePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.Delete.deletePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.Delete.deletePostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.Delete.deletePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.Delete.deletePostRequestBody::|public|Ids:List +Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.Delete.deletePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.Delete.deletePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.Delete.DeletePostRequestBody +Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.Delete.deletePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.Delete.deleteRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.Delete.deleteRequestBuilder.deleteRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.Delete.deleteRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.Delete.deleteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.Delete.deleteRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.Delete.DeletePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.Delete.deleteRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.Delete.DeletePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.Delete.deleteRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.Delete.DeleteRequestBuilder Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.Item.CreatedByUser.createdByUserRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.Item.CreatedByUser.createdByUserRequestBuilder.createdByUserRequestBuilderGetQueryParameters::|public|Expand:string[] Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.Item.CreatedByUser.createdByUserRequestBuilder.createdByUserRequestBuilderGetQueryParameters::|public|Select:string[] @@ -264462,11 +265195,36 @@ Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.itemsRequestBuilder::[RecycleBi Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.itemsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.itemsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.itemsRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.Count.CountRequestBuilder +Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.itemsRequestBuilder::|public|deletePath:global.Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.Delete.DeleteRequestBuilder Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.itemsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.RecycleBinItemCollectionResponse Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.itemsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.RecycleBinItem; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.RecycleBinItem +Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.itemsRequestBuilder::|public|restore:global.Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.Restore.RestoreRequestBuilder Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.itemsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.itemsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.RecycleBinItem; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.itemsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.ItemsRequestBuilder +Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.Restore.restorePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.Restore.restorePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.Restore.restorePostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.Restore.restorePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.Restore.restorePostRequestBody::|public|Ids:List +Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.Restore.restorePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.Restore.restorePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.Restore.RestorePostRequestBody +Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.Restore.restorePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.Restore.restorePostResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.Restore.restorePostResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.Restore.restorePostResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.Restore.restorePostResponse::|public|Value:List +Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.Restore.restorePostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.Restore.RestorePostResponse +Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.Restore.restoreRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.Restore.restoreRequestBuilder.restoreRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.Restore.restoreRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.Restore.restoreRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.Restore.restoreRequestBuilder::|public|PostAsRestorePostResponseAsync(body:global.Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.Restore.RestorePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.Restore.RestorePostResponse +Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.Restore.restoreRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.Restore.RestorePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.Restore.RestoreResponse +Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.Restore.restoreRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.Restore.RestorePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.Restore.restoreRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.Restore.RestoreRequestBuilder +Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.Restore.restoreResponse-->global.Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.Restore.RestorePostResponse +Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.Restore.restoreResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Sites.Item.RecycleBin.Items.Restore.RestoreResponse Microsoft.Graph.Beta.Sites.Item.RecycleBin.LastModifiedByUser.lastModifiedByUserRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Sites.Item.RecycleBin.LastModifiedByUser.lastModifiedByUserRequestBuilder.lastModifiedByUserRequestBuilderGetQueryParameters::|public|Expand:string[] Microsoft.Graph.Beta.Sites.Item.RecycleBin.LastModifiedByUser.lastModifiedByUserRequestBuilder.lastModifiedByUserRequestBuilderGetQueryParameters::|public|Select:string[] @@ -271175,6 +271933,21 @@ Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.Count. Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.Count.CountRequestBuilder +Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.Delete.deletePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.Delete.deletePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.Delete.deletePostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.Delete.deletePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.Delete.deletePostRequestBody::|public|Ids:List +Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.Delete.deletePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.Delete.deletePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.Delete.DeletePostRequestBody +Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.Delete.deletePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.Delete.deleteRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.Delete.deleteRequestBuilder.deleteRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.Delete.deleteRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.Delete.deleteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.Delete.deleteRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.Delete.DeletePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.Delete.deleteRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.Delete.DeletePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.Delete.deleteRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.Delete.DeleteRequestBuilder Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.CreatedByUser.createdByUserRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.CreatedByUser.createdByUserRequestBuilder.createdByUserRequestBuilderGetQueryParameters::|public|Expand:string[] Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.Item.CreatedByUser.createdByUserRequestBuilder.createdByUserRequestBuilderGetQueryParameters::|public|Select:string[] @@ -271303,11 +272076,36 @@ Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.itemsR Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.itemsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.itemsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.itemsRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.Count.CountRequestBuilder +Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.itemsRequestBuilder::|public|deletePath:global.Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.Delete.DeleteRequestBuilder Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.itemsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.RecycleBinItemCollectionResponse Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.itemsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.RecycleBinItem; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.RecycleBinItem +Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.itemsRequestBuilder::|public|restore:global.Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.Restore.RestoreRequestBuilder Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.itemsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.itemsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.RecycleBinItem; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.itemsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.ItemsRequestBuilder +Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.Restore.restorePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.Restore.restorePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.Restore.restorePostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.Restore.restorePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.Restore.restorePostRequestBody::|public|Ids:List +Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.Restore.restorePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.Restore.restorePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.Restore.RestorePostRequestBody +Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.Restore.restorePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.Restore.restorePostResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.Restore.restorePostResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.Restore.restorePostResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.Restore.restorePostResponse::|public|Value:List +Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.Restore.restorePostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.Restore.RestorePostResponse +Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.Restore.restoreRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.Restore.restoreRequestBuilder.restoreRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.Restore.restoreRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.Restore.restoreRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.Restore.restoreRequestBuilder::|public|PostAsRestorePostResponseAsync(body:global.Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.Restore.RestorePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.Restore.RestorePostResponse +Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.Restore.restoreRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.Restore.RestorePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.Restore.RestoreResponse +Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.Restore.restoreRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.Restore.RestorePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.Restore.restoreRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.Restore.RestoreRequestBuilder +Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.Restore.restoreResponse-->global.Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.Restore.RestorePostResponse +Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.Restore.restoreResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.Items.Restore.RestoreResponse Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.LastModifiedByUser.lastModifiedByUserRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.LastModifiedByUser.lastModifiedByUserRequestBuilder.lastModifiedByUserRequestBuilderGetQueryParameters::|public|Expand:string[] Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin.LastModifiedByUser.lastModifiedByUserRequestBuilder.lastModifiedByUserRequestBuilderGetQueryParameters::|public|Select:string[] @@ -271765,6 +272563,21 @@ Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Count.CountRequestBuilder +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Delete.deletePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Delete.deletePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Delete.deletePostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Delete.deletePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Delete.deletePostRequestBody::|public|Ids:List +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Delete.deletePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Delete.deletePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Delete.DeletePostRequestBody +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Delete.deletePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Delete.deleteRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Delete.deleteRequestBuilder.deleteRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Delete.deleteRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Delete.deleteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Delete.deleteRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Delete.DeletePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Delete.deleteRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Delete.DeletePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Delete.deleteRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Delete.DeleteRequestBuilder Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.CreatedByUser.createdByUserRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.CreatedByUser.createdByUserRequestBuilder.createdByUserRequestBuilderGetQueryParameters::|public|Expand:string[] Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Item.CreatedByUser.createdByUserRequestBuilder.createdByUserRequestBuilderGetQueryParameters::|public|Select:string[] @@ -271893,11 +272706,36 @@ Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.itemsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.itemsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.itemsRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Count.CountRequestBuilder +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.itemsRequestBuilder::|public|deletePath:global.Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Delete.DeleteRequestBuilder Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.itemsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.RecycleBinItemCollectionResponse Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.itemsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.RecycleBinItem; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.RecycleBinItem +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.itemsRequestBuilder::|public|restore:global.Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Restore.RestoreRequestBuilder Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.itemsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.itemsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.RecycleBinItem; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.itemsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.ItemsRequestBuilder +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Restore.restorePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Restore.restorePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Restore.restorePostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Restore.restorePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Restore.restorePostRequestBody::|public|Ids:List +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Restore.restorePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Restore.restorePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Restore.RestorePostRequestBody +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Restore.restorePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Restore.restorePostResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Restore.restorePostResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Restore.restorePostResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Restore.restorePostResponse::|public|Value:List +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Restore.restorePostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Restore.RestorePostResponse +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Restore.restoreRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Restore.restoreRequestBuilder.restoreRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Restore.restoreRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Restore.restoreRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Restore.restoreRequestBuilder::|public|PostAsRestorePostResponseAsync(body:global.Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Restore.RestorePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Restore.RestorePostResponse +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Restore.restoreRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Restore.RestorePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Restore.RestoreResponse +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Restore.restoreRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Restore.RestorePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Restore.restoreRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Restore.RestoreRequestBuilder +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Restore.restoreResponse-->global.Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Restore.RestorePostResponse +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Restore.restoreResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.Items.Restore.RestoreResponse Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.LastModifiedByUser.lastModifiedByUserRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.LastModifiedByUser.lastModifiedByUserRequestBuilder.lastModifiedByUserRequestBuilderGetQueryParameters::|public|Expand:string[] Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin.LastModifiedByUser.lastModifiedByUserRequestBuilder.lastModifiedByUserRequestBuilderGetQueryParameters::|public|Select:string[] @@ -307295,6 +308133,31 @@ Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.ProtectionScopes.prote Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.ProtectionScopes.protectionScopesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.ProtectionScopes.protectionScopesRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.UserProtectionScopeContainer; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.ProtectionScopes.protectionScopesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.ProtectionScopes.ProtectionScopesRequestBuilder +Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter; contentFormats?:string; labelIds?:string; locale?:string):void +Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.SensitivityLabel +Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder +Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|DelegatedUserEmail:string +Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|Locale:string +Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|ProtectedContents:List +Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|SupportedContentFormats:List +Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody +Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder.computeRightsAndInheritanceRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ComputeRightsAndInheritanceResult +Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -307320,6 +308183,15 @@ Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Eval Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Evaluate.evaluateRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Evaluate.EvaluatePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.EvaluateLabelJobResponse Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Evaluate.evaluateRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Evaluate.EvaluatePostRequestBody; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Evaluate.evaluateRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Evaluate.EvaluateRequestBuilder +Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Rights.rightsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Rights.rightsRequestBuilder.rightsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Rights.rightsRequestBuilder.rightsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Rights.rightsRequestBuilder.rightsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Rights.rightsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Rights.rightsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Rights.rightsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.UsageRightsIncluded +Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Rights.rightsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Rights.rightsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Rights.RightsRequestBuilder Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder.SensitivityLabelItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder.SensitivityLabelItemRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -307331,11 +308203,37 @@ Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.SensitivityLabel Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.SensitivityLabel; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.SensitivityLabel +Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder::|public|rights:global.Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Rights.RightsRequestBuilder Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder::|public|sublabels:global.Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.SublabelsRequestBuilder Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.SensitivityLabel; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder +Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter; contentFormats?:string; labelIds?:string; locale?:string):void +Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.SensitivityLabel +Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder +Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|DelegatedUserEmail:string +Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|Locale:string +Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|ProtectedContents:List +Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|SupportedContentFormats:List +Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody +Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder.computeRightsAndInheritanceRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ComputeRightsAndInheritanceResult +Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -307361,6 +308259,15 @@ Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Evaluate.evaluateRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Evaluate.EvaluatePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.EvaluateLabelJobResponse Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Evaluate.evaluateRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Evaluate.EvaluatePostRequestBody; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Evaluate.evaluateRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Evaluate.EvaluateRequestBuilder +Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.Rights.rightsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.Rights.rightsRequestBuilder.rightsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.Rights.rightsRequestBuilder.rightsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.Rights.rightsRequestBuilder.rightsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.Rights.rightsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.Rights.rightsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.Rights.rightsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.UsageRightsIncluded +Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.Rights.rightsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.Rights.rightsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.Rights.RightsRequestBuilder Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder.SensitivityLabelItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder.SensitivityLabelItemRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -307372,6 +308279,7 @@ Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.SensitivityLabel Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.SensitivityLabel; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.SensitivityLabel +Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder::|public|rights:global.Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.Rights.RightsRequestBuilder Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.SensitivityLabel; requestConfiguration?:Action>):RequestInformation @@ -307388,6 +308296,8 @@ Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.sublabelsRequestBuilder.sublabelsRequestBuilderGetRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.sublabelsRequestBuilder.sublabelsRequestBuilderPostRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.sublabelsRequestBuilder::[SensitivityLabelId1:string]:global.Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder +Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.sublabelsRequestBuilder::|public|computeInheritanceWithLabelIdsWithLocaleWithContentFormats(contentFormats:string; labelIds:string; locale:string):global.Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder +Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.sublabelsRequestBuilder::|public|computeRightsAndInheritance:global.Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.sublabelsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.sublabelsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.sublabelsRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.Sublabels.Count.CountRequestBuilder @@ -307409,6 +308319,8 @@ Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.sens Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.sensitivityLabelsRequestBuilder.sensitivityLabelsRequestBuilderGetRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.sensitivityLabelsRequestBuilder.sensitivityLabelsRequestBuilderPostRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.sensitivityLabelsRequestBuilder::[SensitivityLabelId:string]:global.Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder +Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.sensitivityLabelsRequestBuilder::|public|computeInheritanceWithLabelIdsWithLocaleWithContentFormats(contentFormats:string; labelIds:string; locale:string):global.Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder +Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.sensitivityLabelsRequestBuilder::|public|computeRightsAndInheritance:global.Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.sensitivityLabelsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.sensitivityLabelsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.sensitivityLabelsRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Users.Item.DataSecurityAndGovernance.SensitivityLabels.Count.CountRequestBuilder @@ -311041,6 +311953,31 @@ Microsoft.Graph.Beta.Users.Item.InformationProtection.Policy.policyRequestBuilde Microsoft.Graph.Beta.Users.Item.InformationProtection.Policy.policyRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Users.Item.InformationProtection.Policy.policyRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.InformationProtectionPolicy; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Users.Item.InformationProtection.Policy.policyRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.InformationProtection.Policy.PolicyRequestBuilder +Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter; contentFormats?:string; labelIds?:string; locale?:string):void +Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.SensitivityLabel +Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder +Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|DelegatedUserEmail:string +Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|Locale:string +Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|ProtectedContents:List +Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|SupportedContentFormats:List +Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody +Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder.computeRightsAndInheritanceRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ComputeRightsAndInheritanceResult +Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -311066,6 +312003,15 @@ Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Evaluate Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Evaluate.evaluateRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Evaluate.EvaluatePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.EvaluateLabelJobResponse Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Evaluate.evaluateRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Evaluate.EvaluatePostRequestBody; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Evaluate.evaluateRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Evaluate.EvaluateRequestBuilder +Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Rights.rightsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Rights.rightsRequestBuilder.rightsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Rights.rightsRequestBuilder.rightsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Rights.rightsRequestBuilder.rightsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Rights.rightsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Rights.rightsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Rights.rightsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.UsageRightsIncluded +Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Rights.rightsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Rights.rightsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Rights.RightsRequestBuilder Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder.SensitivityLabelItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder.SensitivityLabelItemRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -311077,11 +312023,37 @@ Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Sen Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.SensitivityLabel Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.SensitivityLabel; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.SensitivityLabel +Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder::|public|rights:global.Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Rights.RightsRequestBuilder Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder::|public|sublabels:global.Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Sublabels.SublabelsRequestBuilder Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.SensitivityLabel; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder +Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter; contentFormats?:string; labelIds?:string; locale?:string):void +Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.SensitivityLabel +Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder +Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|DelegatedUserEmail:string +Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|Locale:string +Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|ProtectedContents:List +Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|SupportedContentFormats:List +Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody +Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritancePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder.computeRightsAndInheritanceRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ComputeRightsAndInheritanceResult +Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritancePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.computeRightsAndInheritanceRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -311107,6 +312079,15 @@ Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Sub Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Evaluate.evaluateRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Evaluate.EvaluatePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.EvaluateLabelJobResponse Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Evaluate.evaluateRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Evaluate.EvaluatePostRequestBody; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Evaluate.evaluateRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Evaluate.EvaluateRequestBuilder +Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Item.Rights.rightsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Item.Rights.rightsRequestBuilder.rightsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Item.Rights.rightsRequestBuilder.rightsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Item.Rights.rightsRequestBuilder.rightsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Item.Rights.rightsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Item.Rights.rightsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Item.Rights.rightsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.UsageRightsIncluded +Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Item.Rights.rightsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Item.Rights.rightsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Item.Rights.RightsRequestBuilder Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder.SensitivityLabelItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder.SensitivityLabelItemRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -311118,6 +312099,7 @@ Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Sub Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.SensitivityLabel Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.SensitivityLabel; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.SensitivityLabel +Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder::|public|rights:global.Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Item.Rights.RightsRequestBuilder Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.SensitivityLabel; requestConfiguration?:Action>):RequestInformation @@ -311134,6 +312116,8 @@ Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Sub Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Sublabels.sublabelsRequestBuilder.sublabelsRequestBuilderGetRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Sublabels.sublabelsRequestBuilder.sublabelsRequestBuilderPostRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Sublabels.sublabelsRequestBuilder::[SensitivityLabelId1:string]:global.Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Item.SensitivityLabelItemRequestBuilder +Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Sublabels.sublabelsRequestBuilder::|public|computeInheritanceWithLabelIdsWithLocaleWithContentFormats(contentFormats:string; labelIds:string; locale:string):global.Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder +Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Sublabels.sublabelsRequestBuilder::|public|computeRightsAndInheritance:global.Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Sublabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Sublabels.sublabelsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Sublabels.sublabelsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Sublabels.sublabelsRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.Sublabels.Count.CountRequestBuilder @@ -311155,6 +312139,8 @@ Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.sensitiv Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.sensitivityLabelsRequestBuilder.sensitivityLabelsRequestBuilderGetRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.sensitivityLabelsRequestBuilder.sensitivityLabelsRequestBuilderPostRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.sensitivityLabelsRequestBuilder::[SensitivityLabelId:string]:global.Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Item.SensitivityLabelItemRequestBuilder +Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.sensitivityLabelsRequestBuilder::|public|computeInheritanceWithLabelIdsWithLocaleWithContentFormats(contentFormats:string; labelIds:string; locale:string):global.Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats.ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder +Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.sensitivityLabelsRequestBuilder::|public|computeRightsAndInheritance:global.Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.ComputeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.sensitivityLabelsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.sensitivityLabelsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.sensitivityLabelsRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Users.Item.InformationProtection.SensitivityLabels.Count.CountRequestBuilder diff --git a/src/Microsoft.Graph/Generated/kiota-lock.json b/src/Microsoft.Graph/Generated/kiota-lock.json index 1499cd64920e..e0f4c1ee3cab 100644 --- a/src/Microsoft.Graph/Generated/kiota-lock.json +++ b/src/Microsoft.Graph/Generated/kiota-lock.json @@ -1,5 +1,5 @@ { - "descriptionHash": "38CD35F7DB9C155543C4776544BA9E683B896CE9D93EAFAC4032565ECDB55C59E4E4F767AEC01B3358C22F6440FA53FAEDE630577926A3F742C6F7C6CF4D8098", + "descriptionHash": "FEF89BF48F124FE416878DA170A3D71C29A6293C5C344106B60D0C3E704CA4C4D69EEE323E8909BF9D4EE529317D010590DDD21F2D7272C2A0ED07E2C8609C75", "descriptionLocation": "../../msgraph-metadata/clean_beta_openapi/openapi.yaml", "lockFileVersion": "1.0.0", "kiotaVersion": "1.27.0",